1 2019-08-19 Carlos O'Donell <carlos@redhat.com>
3 * nscd/nscd.conf: Add warning and comment about shared option.
5 2019-08-19 Carlos O'Donell <carlos@redhat.com>
7 * nss/nsswitch.conf: Expand comments, and simplify defaults.
8 * manual/nss.texi (NSS Basics): List all known databases.
9 (Services in the NSS configuration): Mention automount.
11 2019-08-19 Florian Weimer <fweimer@redhat.com>
13 Do not print backtraces on fatal errors.
14 * debug/fortify_fail.c (__libc_argv): Remove declaration.
15 (__fortify_fail_abort): Remove definition.
16 (__fortify_fail): Call __libc_message directly.
17 * debug/stack_chk_fail.c (__libc_argv): Remove declaration.
18 (__stack_chk_fail): Call __fortify_fail instead of
20 * include/stdio.h (__fortify_fail_abort): Remove declaration.
21 * sysdeps/posix/libc_fatal.c (BEFORE_ABORT, before_abort): Remove
23 (__libc_message): Do not handle do_backtrace. Do not call
25 (__libc_fatal): Do not pass do_backtrace to __libc_message.
26 * sysdeps/unix/sysv/linux/libc_fatal.c (BEFORE_ABORT)
27 (before_abort): Remove definitions.
29 2019-08-16 Florian Weimer <fweimer@redhat.com>
31 nptl: Move pthread_attr_getdetachstate implementation into libc.
32 * nptl/Makefile (routines): Add pthread_attr_getdetachstate.
33 (libpthread-routines): Remove pthread_attr_getdetachstate.
34 * nptl/Versions (libpthread GLIBC_2.0): Remove
35 pthread_attr_getdetachstate.
36 * nptl/forward.c (pthread_attr_getdetachstate): Remove definition.
37 * nptl/nptl-init.c (pthread_functions): Remove initializer for
38 ptr_pthread_attr_getdetachstate.
39 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
40 Remove ptr_pthread_attr_getdetachstate member.
41 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
42 Remove pthread_attr_getdetachstate.
43 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
45 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
47 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
49 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
51 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
53 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
55 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
56 (GLIBC_2.4): Likewise.
57 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
58 (GLIBC_2.0): Likewise.
59 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
60 (GLIBC_2.18): Likewise.
61 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
62 (GLIBC_2.0): Likewise.
63 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
64 (GLIBC_2.0): Likewise.
65 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
67 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
68 (GLIBC_2.0): Likewise.
69 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
70 (GLIBC_2.3): Likewise.
71 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
72 (GLIBC_2.17): Likewise.
73 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
74 (GLIBC_2.27): Likewise.
75 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
76 (GLIBC_2.0): Likewise.
77 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
78 (GLIBC_2.2): Likewise.
79 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
81 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
82 (GLIBC_2.0): Likewise.
83 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
84 (GLIBC_2.2): Likewise.
85 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
86 (GLIBC_2.2.5): Likewise.
87 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
88 (GLIBC_2.16): Likewise.
90 2019-08-16 Joseph Myers <joseph@codesourcery.com>
92 * math/libm-test-compat_totalorder.inc (do_test)
93 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Change condition to
94 [TEST_COMPAT (libm, COMPAT_VER, GLIBC_2_31)].
95 * math/libm-test-compat_totalordermag.inc (do_test)
96 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Likewise.
98 2019-08-15 Florian Weimer <fweimer@redhat.com>
100 nptl: Move pthread_attr_init implementation into libc.
101 * nptl/Makefile (routines): Add pthread_attr_init.
102 (libpthread-routines): Remove pthread_attr_init.
103 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_attr_init.
104 (libpthread GLIBC_2.0): Likewise.
105 * nptl/pthread_attr_init.c: Check for libc compat version instead
106 of libpthread compat version.
107 * nptl/forward.c (__pthread_attr_init_2_0)
108 (__pthread_attr_init_2_1): Remove definitions.
109 * nptl/nptl-init.c (pthread_functions): Remove initializers for
110 ptr___pthread_attr_init_2_0, ptr___pthread_attr_init_2_1.
111 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
112 Remove members ptr___pthread_attr_init_2_0,
113 ptr___pthread_attr_init_2_1.
114 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
115 Remove pthread_attr_init.
116 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
118 (GLIBC_2.1): Likewise.
119 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
121 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
123 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
125 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
127 (GLIBC_2.1): Likewise.
128 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
130 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
131 (GLIBC_2.4): Likewise.
132 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
133 (GLIBC_2.0): Likewise.
134 (GLIBC_2.1): Likewise.
135 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
136 (GLIBC_2.18): Likewise.
137 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
138 (GLIBC_2.0): Likewise.
139 (GLIBC_2.1): Likewise.
140 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
141 (GLIBC_2.0): Likewise.
142 (GLIBC_2.1): Likewise.
143 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
146 (GLIBC_2.0): Likewise.
147 (GLIBC_2.1): Likewise.
148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
149 (GLIBC_2.3): Likewise.
150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
151 (GLIBC_2.17): Likewise.
152 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
153 (GLIBC_2.27): Likewise.
154 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
155 (GLIBC_2.0): Likewise.
156 (GLIBC_2.1): Likewise.
157 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
158 (GLIBC_2.2): Likewise.
159 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
161 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
162 (GLIBC_2.0): Likewise.
163 (GLIBC_2.1): Likewise.
164 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
165 (GLIBC_2.2): Likewise.
166 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
167 (GLIBC_2.2.5): Likewise.
168 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
169 (GLIBC_2.16): Likewise.
171 2019-08-15 Florian Weimer <fweimer@redhat.com>
174 * elf/dl-object.c (_dl_new_object): Do not store pathnames in the
175 new object in __RTLD_OPENEXEC mode (except for the origin).
176 * elf/tst-dlopen-aout.c (check_dlopen_failure): New function with
177 check for the error message.
178 (do_test): Call it. Add check using relative path.
179 * elf/Makefile (tests-container): Add tst-dlopen-aout-container.
180 (tst-dlopen-aout-container): Link with libpthread.
181 (LDFLAGS-tst-dlopen-aout-container): Set RPATH to $ORIGIN.
183 2019-08-15 Joseph Myers <joseph@codesourcery.com>
185 * math/bits/mathcalls.h
186 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
187 (totalorder): Take pointer arguments.
188 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
189 (totalordermag): Likewise.
190 * manual/arith.texi (totalorder): Likewise.
191 (totalorderf): Likewise.
192 (totalorderl): Likewise.
193 (totalorderfN): Likewise.
194 (totalorderfNx): Likewise.
195 (totalordermag): Likewise.
196 (totalordermagf): Likewise.
197 (totalordermagl): Likewise.
198 (totalordermagfN): Likewise.
199 (totalordermagfNx): Likewise.
200 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): Remove macro.
201 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder): Likewise.
202 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag): Likewise.
203 * math/Versions (GLIBC_2.31): Add totalorder, totalorderf,
204 totalorderl, totalordermag, totalordermagf, totalordermagl,
205 totalorderf32, totalorderf64, totalorderf32x, totalordermagf32,
206 totalordermagf64, totalordermagf32x, totalorderf64x,
207 totalordermagf64x, totalorderf128 and totalordermagf128.
208 * math/Makefile (libm-test-funcs-noauto): Add compat_totalorder
209 and compat_totalordermag.
210 (libm-test-funcs-compat): New variable.
211 (libm-tests-compat): Likewise.
212 (tests): Do not include compat tests.
213 (tests-internal): Add compat tests.
214 ($(foreach t,$(libm-tests-base),
215 $(objpfx)$(t)-compat_totalorder.o)): Depend
216 on $(objpfx)libm-test-totalorder.c.
217 ($(foreach t,$(libm-tests-base),
218 $(objpfx)$(t)-compat_totalordermag.o): Depend on
219 $(objpfx)libm-test-totalordermag.c.
220 (tgmath3-macros): Remove totalorder and totalordermag.
221 * math/libm-test-compat_totalorder.inc: New file.
222 * math/libm-test-compat_totalordermag.inc: Likewise.
223 * math/libm-test-driver.c (struct test_ff_i_data): Update comment.
224 (RUN_TEST_fpfp_b): New macro.
225 (RUN_TEST_LOOP_fpfp_b): Likewise.
226 * math/libm-test-totalorder.inc (totalorder_test_data): Use
228 (totalorder_test): Condition on [!COMPAT_TEST].
230 * math/libm-test-totalordermag.inc (totalordermag_test_data): Use
232 (totalordermag_test): Condition on [!COMPAT_TEST].
234 * math/gen-tgmath-tests.py (Tests.add_all_tests): Remove
235 totalorder and totalordermag.
236 * math/test-tgmath.c (NCALLS): Change to 132.
237 (F(compile_test)): Do not call totalorder or totalordermag.
238 (F(totalorder)): Remove.
239 (F(totalordermag)): Likewise.
240 * include/float.h (__STDC_WANT_IEC_60559_TYPES_EXT__): Do not
241 define if [__STDC_WANT_IEC_60559_TYPES_EXT__].
242 * include/setjmp.h [!_ISOMAC] (STR_HELPER): Rename to
244 [!_ISOMAC] (STR): Rename to SJSTR. Update call to STR_HELPER.
245 [!_ISOMAC] (TEST_SIZE): Update call to STR.
246 [!_ISOMAC] (TEST_ALIGN): Likewise.
247 [!_ISOMAC] (TEST_OFFSET): Likewise.
248 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include <shlib-compat.h>
249 and <first-versions.h>.
250 (__totalorder): Take pointer arguments. Add symbol versions and
252 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
253 <shlib-compat.h> and <first-versions.h>.
254 (__totalordermag): Take pointer arguments. Add symbol versions
256 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
257 <shlib-compat.h> and <first-versions.h>.
258 (__totalorder): Take pointer arguments. Add symbol versions and
260 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
261 <shlib-compat.h> and <first-versions.h>.
262 (__totalordermag): Take pointer arguments. Add symbol versions
264 * sysdeps/ieee754/float128/float128_private.h
265 (__totalorder_compatl): New macro.
266 (__totalordermag_compatl): Likewise.
267 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include <shlib-compat.h>
268 and <first-versions.h>.
269 (__totalorderf): Take pointer arguments. Add symbol versions and
271 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
272 <shlib-compat.h> and <first-versions.h>.
273 (__totalordermagf): Take pointer arguments. Add symbol versions
275 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
276 <shlib-compat.h> and <first-versions.h>.
277 (__totalorderl): Take pointer arguments. Add symbol versions and
279 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
280 <shlib-compat.h> and <first-versions.h>.
281 (__totalordermagl): Take pointer arguments. Add symbol versions
283 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
285 (__totalorderl): Take pointer arguments. Add symbol versions and
287 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
289 (__totalordermagl): Take pointer arguments. Add symbol versions
291 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
292 <shlib-compat.h> and <first-versions.h>.
293 (__totalorderl): Take pointer arguments. Add symbol versions and
295 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
296 <shlib-compat.h> and <first-versions.h>.
297 (__totalordermagl): Take pointer arguments. Add symbol versions
299 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c (totalorderl): Take
301 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c (totalordermagl):
303 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
304 (do_test): Update calls to totalorderl and totalordermagl.
305 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
306 Update calls to totalorderl and totalordermagl.
307 * sysdeps/mach/hurd/i386/libm.abilist: Update.
308 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
309 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
310 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
311 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
312 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
313 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
314 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
315 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
316 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
317 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
318 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
319 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
320 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libm.abilist:
327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libm.abilist:
329 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
330 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
331 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
332 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
333 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
334 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
335 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
336 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
338 2019-08-15 Florian Weimer <fweimer@redhat.com>
341 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Add
342 __attribute_nonstring__ to ut_line, ut_id, ut_user, ut_host.
343 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmpx):
345 * sysdeps/gnu/bits/utmp.h (struct utmp): Add
346 __attribute_nonstring__ to ut_id.
347 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmp):
350 2019-08-15 Florian Weimer <fweimer@redhat.com>
353 * login/utmp_file.c (file_locking_failed): Use struct flock64.
354 (file_locking_unlock): Likewise.
356 2019-08-15 Florian Weimer <fweimer@redhat.com>
359 login: Disarm timer after utmp lock acquisition.
360 * login/utmp_file.c (struct file_locking): Remove.
361 (try_file_lock): Adjust.
362 (file_lock_restore): Remove function.
363 (__libc_getutent_r): .
364 (internal_getut_r): Likewise.
365 (__libc_getutline_r): Likewise.
366 (__libc_pututline): Likewise.
367 (__libc_updwtmp): Likewise.
369 2019-08-15 Florian Weimer <fweimer@redhat.com>
371 nptl: Remove pthread_self compatibility symbol from libpthread.
372 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_self,
374 * nptl/Makefile (libpthread-routines): Remove compat-pthread_self.
375 * nptl/compat-pthread_self.c: Remove file.
376 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
378 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
380 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
382 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
384 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
386 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
388 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
389 (GLIBC_2.4): Likewise.
390 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
391 (GLIBC_2.0): Likewise.
392 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
393 (GLIBC_2.18): Likewise.
394 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
395 (GLIBC_2.0): Likewise.
396 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
397 (GLIBC_2.0): Likewise.
398 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
401 (GLIBC_2.0): Likewise.
402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
403 (GLIBC_2.3): Likewise.
404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
405 (GLIBC_2.17): Likewise.
406 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
407 (GLIBC_2.0): Likewise.
408 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
409 (GLIBC_2.2): Likewise.
410 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
412 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
413 (GLIBC_2.0): Likewise.
414 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
415 (GLIBC_2.2): Likewise.
416 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
417 (GLIBC_2.2.5): Likewise.
418 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
419 (GLIBC_2.16): Likewise.
421 2019-08-15 Florian Weimer <fweimer@redhat.com>
423 nptl: Move pthread_attr_destroy implementation into libc.
424 * nptl/Makefile (routines): Add pthread_attr_destroy.
425 (libpthread-routines): Remove pthread_attr_destroy.
426 * nptl/Versions (libpthread GLIBC_2.0): Remove
427 pthread_attr_destroy.
428 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Check for
429 libc compat version instead of libpthread compat version.
430 * nptl/forward.c (pthread_attr_destroy): Remove definition.
431 * nptl/nptl-init.c (pthread_functions): Remove initializer for
432 ptr_pthread_attr_destroy.
433 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
434 Remove ptr_pthread_attr_destroy member.
435 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
436 Remove pthread_attr_destroy.
437 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
439 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
441 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
443 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
445 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
447 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
449 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
450 (GLIBC_2.4): Likewise.
451 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
452 (GLIBC_2.0): Likewise.
453 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
454 (GLIBC_2.18): Likewise.
455 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
456 (GLIBC_2.0): Likewise.
457 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
458 (GLIBC_2.0): Likewise.
459 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
462 (GLIBC_2.0): Likewise.
463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
464 (GLIBC_2.3): Likewise.
465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
466 (GLIBC_2.17): Likewise.
467 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
468 (GLIBC_2.27): Likewise.
469 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
470 (GLIBC_2.0): Likewise.
471 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
472 (GLIBC_2.2): Likewise.
473 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
475 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
476 (GLIBC_2.0): Likewise.
477 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
478 (GLIBC_2.2): Likewise.
479 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
480 (GLIBC_2.2.5): Likewise.
481 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
482 (GLIBC_2.16): Likewise.
484 2019-08-15 Andreas Schwab <schwab@suse.de>
486 * sysdeps/i386/fpu/libm-test-ulps: Update.
488 2019-08-15 Florian Weimer <fweimer@redhat.com>
490 * malloc/Makefile (tests): Only add tst-mxfast for
492 * malloc/tst-mxfast.c: Fix copyright year.
493 (do_test): Fix GNU style issues. Use TEST_COMPARE instead of
496 2019-08-15 Florian Weimer <fweimer@redhat.com>
498 * login/utmp_file.c (__libc_updwtmp): Unlock the right file
500 * login/Makefile (tests): Add tst-updwtmpx.
501 * login/tst-updwtmpx.c: New file.
503 2019-08-15 Florian Weimer <fweimer@redhat.com>
505 nptl: Move pthread_equal implementation into libc.
506 * nptl/Makefile (routines): Add pthread_equal.
507 * nptl/forward.c (pthread_equal): Remove definition.
508 * nptl/nptl-init.c (pthread_functions): Remove initializer for
510 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
511 Remove ptr_pthread_equal member.
512 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
513 Remove pthread_equal.
514 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
516 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
518 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
520 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
522 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
524 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
526 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
527 (GLIBC_2.4): Likewise.
528 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
529 (GLIBC_2.0): Likewise.
530 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
531 (GLIBC_2.18): Likewise.
532 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
533 (GLIBC_2.0): Likewise.
534 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
535 (GLIBC_2.0): Likewise.
536 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
539 (GLIBC_2.0): Likewise.
540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
541 (GLIBC_2.3): Likewise.
542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
543 (GLIBC_2.17): Likewise.
544 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
545 (GLIBC_2.27): Likewise.
546 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
547 (GLIBC_2.0): Likewise.
548 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
549 (GLIBC_2.2): Likewise.
550 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
552 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
553 (GLIBC_2.0): Likewise.
554 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
555 (GLIBC_2.2): Likewise.
556 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
557 (GLIBC_2.2.5): Likewise.
558 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
559 (GLIBC_2.16): Likewise.
561 2019-08-14 Florian Weimer <fweimer@redhat.com>
563 * support/support_descriptors.c: Include <support/descriptors.h>.
565 2019-08-14 Feng Xue <fxue@os.amperecomputing.com>
567 * sysdeps/aarch64/multiarch/memset_base64.S (DC_ZVA_THRESHOLD):
568 Disable DC ZVA code if this macro is defined as zero.
569 * sysdeps/aarch64/multiarch/memset_emag.S (DC_ZVA_THRESHOLD):
570 Change to zero to disable using DC ZVA.
572 2019-08-13 Joseph Myers <joseph@codesourcery.com>
574 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT):
576 (__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X): New macro.
577 * bits/math-finite.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]: Change
578 to [__GLIBC_USE (IEC_60559_FUNCS_EXT_C2X)].
579 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]:
582 2019-08-13 Florian Weimer <fweimer@redhat.com>
584 * login/utmp_file.c (LOCK_FILE, LOCKING_FAILED, UNLOCK_FILE):
586 (struct file_locking): New.
587 (try_file_lock, file_unlock, file_lock_restore): New functions.
588 (__libc_getutent_r): Use the new functions.
589 (internal_getut_r): Likewise.
590 (__libc_getutline_r): Likewise.
591 (__libc_pututline): Likewise.
592 (__libc_updwtmp): Likewise.
594 2019-08-13 Joseph Myers <joseph@codesourcery.com>
596 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): Update
598 (__GLIBC_USE_IEC_60559_BFP_EXT_C2X): New macro.
599 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Change to
600 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)].
601 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
602 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
603 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
604 * stdlib/bits/stdlib-ldbl.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
606 * stdlib/stdint.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
607 * stdlib/stdlib.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
608 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
610 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
612 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
614 * sysdeps/csky/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
616 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
618 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
620 * sysdeps/m68k/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
622 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE
623 (IEC_60559_BFP_EXT)]: Likewise.
624 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
626 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
628 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
630 * sysdeps/riscv/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
632 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
634 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
636 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
638 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
640 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
641 Likewise, except for totalorder, totalordermag, getpayload,
642 setpayload and setpayloadsig.
643 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise,
644 except for totalorder and totalordermag.
646 * string/string.h (memccpy): Also declare if [__GLIBC_USE (ISOC2X)].
650 * include/features.h (_ISOC2X_SOURCE): New feature test macro.
651 Undefine and define to 1 if [_GNU_SOURCE].
652 (__GLIBC_USE_ISOC2X): New macro. Undefine and redefine depending
653 on [_ISOC2X_SOURCE] and [__STDC_VERSION__ > 201710L].
654 (__USE_ISOC11): Also define to 1 if [_ISOC2X_SOURCE].
655 (__USE_ISOC99): Likewise.
656 (__USE_ISOC95): Likewise.
657 * manual/creature.texi (_ISOC2X_SOURCE): Document.
659 2019-08-13 Florian Weimer <fweimer@redhat.com>
661 * login/getutid_r.c (__getutid_r): _HAVE_UT_ID and _HAVE_UT_TYPE
663 * login/getutmp.c (getutmp): _HAVE_UT_TYPE, _HAVE_UT_PID,
664 _HAVE_UT_ID, _HAVE_UT_HOST, _HAVE_UT_TV are always true.
665 * login/getutmpx.c (getutmpx): Likewise.
666 * login/login.c (login): _HAVE_UT_TYPE, _HAVE_UT_PID are always
668 * login/logout.c (logout): _HAVE_UT_TYPE, _HAVE_UT_HOST,
669 _HAVE_UT_TV are always true.
670 * login/logwtmp.c (logwtmp): _HAVE_UT_PID, _HAVE_UT_TYPE,
671 _HAVE_UT_HOST, _HAVE_UT_TV are always true.
672 * login/tst-utmp.c: _HAVE_UT_TYPE, _HAVE_UT_TV are always true.
673 * login/utmp_file.c (__libc_setutent): _HAVE_UT_TYPE, _HAVE_UT_ID
675 (internal_getut_r): _HAVE_UT_TYPE is always true.
676 (__libc_pututline): Likewise.
677 * login/programs/utmpdump.c (print_entry): Assume that
678 _HAVE_UT_TYPE, _HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST,
679 _HAVE_UT_TV are always true.
680 * sysdeps/generic/utmp-equal.h (__utmp_equal): _HAVE_UT_TYPE,
681 _HAVE_UT_ID are always true.
682 * sysdeps/gnu/bits/utmp.h: Move to ...
683 * bits/utmp.h: ... here, replacing the old file.
685 2019-08-12 Florian Weimer <fweimer@redhat.com>
687 * elf/Makefile (tests): Unconditionally add tst-dlopen-aout.
688 [$(build-hardcoded-path-in-tests)] (tst-dlopen-aout-no-pie): Do
690 * elf/tst-dlopen-aout.c: Do not included <assert.h>.
691 (do_test): Open the executable using an absolute path. Print
692 error message to standard output.
694 2019-08-09 DJ Delorie <dj@redhat.com>
696 * elf/dl-tunables.list: Add glibc.malloc.mxfast.
697 * manual/tunables.texi: Document it.
698 * malloc/malloc.c (do_set_mxfast): New.
699 (__libc_mallopt): Call it.
700 * malloc/arena.c: Add mxfast tunable.
701 * malloc/tst-mxfast.c: New.
702 * malloc/Makefile: Add it.
704 2019-08-08 Niklas Hambüchen <mail@nh2.me>
705 Carlos O'Donell <carlos@redhat.com>
708 * malloc/malloc.c (__malloc_info): Account for top chunk.
710 2019-08-07 Joseph Myers <joseph@codesourcery.com>
712 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
713 (SYNC_FILE_RANGE_WRITE_AND_WAIT): New macro.
715 2019-08-06 Joseph Myers <joseph@codesourcery.com>
717 * io/fcntl.h [__USE_GNU] (AT_RECURSIVE): New macro.
719 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
721 * sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define.
723 2019-08-05 Joseph Myers <joseph@codesourcery.com>
725 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU] (CLONE_PIDFD):
728 2019-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
731 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (ALWAYS_USE_VSYSCALL):
733 * sysdeps/unix/sysv/linux/arm/sysdep.h (ALWAYS_USE_VSYSCALL):
735 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
737 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (ALWAYS_USE_VSYSCALL):
739 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
740 (ALWAYS_USE_VSYSCALL): Likewise.
741 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
742 (ALWAYS_USE_VSYSCALL): Likewise.
743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
744 (ALWAYS_USE_VSYSCALL): Likewise.
745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
746 (ALWAYS_USE_VSYSCALL): Likewise.
747 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
749 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
750 (ALWAYS_USE_VSYSCALL): Likewise.
751 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
752 (ALWAYS_USE_VSYSCALL): Likewise.
753 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
755 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
757 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Remove #if USE_VSYSCALL.
758 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Likewise.
759 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL,
760 USE_VSYSCALL): Remove defitions.
763 * sysdeps/unix/sysv/linux/sparc/init-first.c: Remove #ifdef SHARED.
764 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
765 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
769 * sysdeps/unix/sysv/linux/s390/init-first.c: Remove #ifdef SHARED.
770 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
771 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
772 (ALWAYS_USE_VSYSCALL): Define.
773 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
774 (ALWAYS_USE_VSYSCALL): Likewise.
777 * sysdeps/unix/sysv/linux/riscv/init-first.c: Remove #ifdef SHARED.
778 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
779 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
782 * sysdeps/sh/libm-test-ulps: Update.
784 2019-08-05 Florian Weimer <fweimer@redhat.com>
787 * login/uptmp-private.h (struct ufuncs): Remove definition.
788 (__libc_utmp_file_functions, __libc_utmp_unknown_functions)
789 (__libc_utmp_jump_table): Remove declarations.
790 (__libc_setutent, __libc_getutent_r, __libc_getutid_r)
791 (__libc_getutline_r, __libc_pututline, __libc_endutent)
792 (__libc_updwtmp): Declare.
793 * login/getutent_r.c (__libc_utmp_unknown_functions)
794 (__libc_utmp_jump_table, setutent_unknown, getutent_r_unknown)
795 (getutid_r_unknown, getutline_r_unknown, pututline_unknown)
796 (endutent_unknown): Remove definitions.
797 (__setutent): Call __libc_setutent.
798 (__getutent_r): Call __libc_getutent_r.
799 (__pututline): Call __libc_pututline.
800 (__endutent): Call __libc_endutent.
801 * login/getutid_r.c (__getutid_r): Call __libc_getutid_r.
802 * login/getutline_r.c (__getutline_r): Call __libc_getutline_r.
803 * login/updwtmp.c (__updwtmp): Call __libc_updwtmp.
804 * login/utmp_file.c (__libc_utmp_file_functions): Remove definition
805 (__libc_setutent): Rename from stetutent_file. Drop static.
806 (maybe_setutent): New function.
807 (__libc_getutent_r): Rename from getutent_r_file. Drop static.
808 Check for initialization.
809 (__libc_getutid_r): Rename from getutid_r_file. Drop static.
810 Check for initialization.
811 (__libc_getutline_r): Rename from getutline_r_file. Drop static.
812 Check for initialization.
813 (__libc_pututline): Rename from pututline_file. Drop static.
814 Check for initialization.
815 (__libc_endutent): Rename from endutent_file. Drop static. Check
817 (__libc_updwtmp): Rename from updwtmp_file. Drop static.
818 * login/utmpname.c (__utmpname): Call __libc_endutent.
819 * sysdeps/unix/getlogin_r (__getlogin_r): Call __libc_setutent,
820 __libc_getutlien_r, __libc_endutent.
821 * manual/users.texi (Who Logged In, Manipulating the Database):
824 2019-08-05 Alexandra Hajkova <ahajkova@redhat.com>
826 * elf/tst-ldconfig-bad-aux-cache.c: Use support_capture_subprocess.
828 2019-08-02 Joseph Myers <joseph@codesourcery.com>
830 * sysdeps/unix/sysv/linux/syscall-names.list: Update comment.
832 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
833 kernel version number to 5.2.
835 2019-08-01 Raoni Fassina Firmino <raoni@linux.ibm.com>
837 * sysdeps/powerpc/powerpc64/power8/memchr.S: Update power8
838 mnemonics and set .machine power8.
839 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
840 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Likewise.
841 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
842 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
843 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
844 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
845 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
846 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
847 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
848 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
850 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
852 * sysdeps/hppa/fpu/libm-test-ulps: Update.
854 2019-08-01 Florian Weimer <fweimer@redhat.com>
857 * malloc/malloc.c (__malloc_info): Remove unwanted leading
860 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
863 sysdeps/posix/tempname.c (__gen_tempname): get entropy on each
866 2019-08-01 Carlos O'Donell <carlos@redhat.com>
868 * version.h (RELEASE): Set to "stable".
869 (VERSION): Set to "2.30".
870 * include/features.h (__GLIBC_MINOR__): Set to 2.30.
872 * manual/install.texi: Update component versions.
873 * INSTALL: Regenerate.
876 2019-07-31 Carlos O'Donell <carlos@redhat.com>
878 * po/be.po: Update translations.
879 * po/bg.po: Likewise.
880 * po/ca.po: Likewise.
881 * po/cs.po: Likewise.
882 * po/da.po: Likewise.
883 * po/de.po: Likewise.
884 * po/el.po: Likewise.
885 * po/eo.po: Likewise.
886 * po/es.po: Likewise.
887 * po/fi.po: Likewise.
888 * po/fr.po: Likewise.
889 * po/gl.po: Likewise.
890 * po/hr.po: Likewise.
891 * po/hu.po: Likewise.
892 * po/ia.po: Likewise.
893 * po/id.po: Likewise.
894 * po/it.po: Likewise.
895 * po/ja.po: Likewise.
896 * po/ko.po: Likewise.
897 * po/lt.po: Likewise.
898 * po/nb.po: Likewise.
899 * po/nl.po: Likewise.
900 * po/pl.po: Likewise.
901 * po/pt_BR.po: Likewise.
902 * po/ru.po: Likewise.
903 * po/rw.po: Likewise.
904 * po/sk.po: Likewise.
905 * po/sl.po: Likewise.
906 * po/sv.po: Likewise.
907 * po/tr.po: Likewise.
908 * po/uk.po: Likewise.
909 * po/vi.po: Likewise.
910 * po/zh_CN.po: Likewise.
911 * po/zh_TW.po: Likewise.
913 2019-07-31 Florian Weimer <fweimer@redhat.com>
917 iconv, libio: Revert reference counting changes.
918 * iconv/gconv_cache.c (__gconv_release_cache): Unconditionally
919 free the steps array.
920 * libio/Makefile (tests): Remove tst-wfile-gconv.
921 (tests-container): Do not add tst-wfile-ascii.
922 (tst-wfile-gconv-ENV): Do not set.
923 (generated): Do not add tst-wfile-gconv.mtrace,
924 tst-wfile-gconv.check.
925 [($run-built-tests)] (tests-special): Do not add
926 tst-wfile-gconv-mem.out.
927 (tst-wfile-gconv.out, tst-wfile-gconv-mem.out): Remove targets.
928 * libio/iofclose.c (_IO_new_fclose): Call __gconv_release_step
929 instead of __wcsmbs_clone_conv.
930 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Remove definition.
931 * wcsmbs/wcsmbsload.h (__wcsmbs_clone_conv): Remove declaration.
933 2019-07-30 Joseph Myers <joseph@codesourcery.com>
935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
936 (__CONTEXT_FUNC_NAME): Restore setting of r31.
938 2019-07-30 Florian Weimer <fweimer@redhat.com>
940 * nptl/tst-pthread-getattr.c (allocate_and_test): Change return
941 type to uintptr_t. Update comment.
942 (check_stack_top): Adjust.
944 2019-07-29 Florian Weimer <fweimer@redhat.com>
946 Linux: Move declaration of getdents64 to <dirent.h>.
947 * bits/dirent_ext.h: New file.
948 * dirent/Makefile (headers): Add bits/dirent_ext.h.
949 * dirent/dirent.h: Include <bits/dirent_ext.h>.
950 * sysdeps/unix/sysv/linux/bits/dirent_ext.h: New file.
951 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Remove
953 * manual/filesys.texi (Low-level Directory Access): Update header
956 2019-07-29 DJ Delorie <dj@redhat.com>
957 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
960 * Makeconfig (all-subdirs): Improved source comments.
961 * Makefile (testroot.pristine/install.stamp): Pass
962 subdirs='$(sorted-subdirs)' to make install.
964 2019-07-25 Florian Weimer <fweimer@redhat.com>
967 * iconv/gconv_cache.c (__gconv_release_cache): Check reference
968 counter before freeing array.
970 2019-07-24 H.J. Lu <hongjiu.lu@intel.com>
973 * sysdeps/x86_64/configure.ac: Check if -mprefer-vector-width=128
975 * sysdeps/x86_64/configure: Regenerated.
976 * sysdeps/x86_64/fpu/Makefile (CFLAGS-branred.c): New. Set
977 to -mprefer-vector-width=128 if supported.
979 2019-07-24 Florian Weimer <fweimer@redhat.com>
981 * scripts/build-many-glibcs.py (Context.checkout): Default to
984 2019-07-24 Florian Weimer <fweimer@redhat.com>
987 Linux: Use in-tree copy of SO_ constants for !__USE_MISC.
988 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == socket]
989 (sysdep_headers): Add bits/socket-constants.h.
990 (tests-special): Add tst-socket-consts.out.
991 (tst-socket-consts.out): New target.
992 * sysdeps/unix/sysv/linux/bits/socket.h: Remove macro tracking
993 around <asm/unistd.h>.
994 [__USE_MISC]: Include <bits/types/time_t.h> before <asm/socket.h>.
995 [!__USE_MISC]: Include <sys/socket-constants.h> instead of
997 * sysdeps/unix/sysv/linux/bits/tst-socket-consts.py: New file.
998 * sysdeps/unix/sysv/linux/bits/socket-constants.h: Likewise.
999 * sysdeps/unix/sysv/linux/alpha/bits/socket-constants.h: Likewise.
1000 * sysdeps/unix/sysv/linux/hppa/bits/socket-constants.h: Likewise.
1001 * sysdeps/unix/sysv/linux/mips/bits/socket-constants.h: Likewise.
1002 * sysdeps/unix/sysv/linux/powerpc/bits/socket-constants.h:
1004 * sysdeps/unix/sysv/linux/sparc/bits/socket-constants.h: Likewise.
1006 2019-07-23 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1009 * Makefile (testroot.pristine/install.stamp): Pass
1010 subdirs='$(all-subdirs)' to make install.
1012 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
1013 the same arguments used in all tests.
1015 2019-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
1017 * NEWS: Mention the AArch64 IFUNC resolver ABI change.
1019 2019-07-20 Egor Kobylkin <egor@kobylkin.com>
1022 * locale/C-translit.h.in: Add Cyrillic transliteration.
1024 2019-07-19 Florian Weimer <fweimer@redhat.com>
1026 * sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
1028 (fsconfig): Add system call name.
1029 (fsmount): Likewise.
1032 (move_mount): Likewise.
1033 (open_tree): Likewise.
1035 2019-07-18 Carlos O'Donell <carlos@redhat.com>
1037 * po/libc.pot: Regenerate.
1039 2019-07-18 Mike Crowe <mac@mcrowe.com>
1041 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
1042 functions recently added to sysdeps/nptl/pthread.h:
1043 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
1044 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
1046 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
1047 pthread_cond_clockwait forwarding functions. There are no internal
1048 users, so it is unnecessary to expose these functions in libc.so.
1049 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
1050 unnecessary ptr___pthread_cond_clockwait member.
1051 * nptl/nptl-init.c (pthread_functions): Remove assignment of
1054 2019-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
1057 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
1058 begin with an uppercase letter now.
1060 (mon): Update from CLDR, reword February from "Kudo" to
1061 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
1062 and August from "Liiqen" to "Leqeeni".
1063 * localedata/locales/aa_ER (mon): Update from CLDR, reword
1064 April from "Agda Baxisso" to "Agda Baxis" and August from
1065 "Leqeeni" to "Liiqen".
1066 * localedata/locales/aa_ER@saaho (mon): Likewise.
1067 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
1068 abbreviated February from "Kud" to "Nah".
1069 (mon): Update from CLDR, reword February from "Kudo" to
1070 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
1072 2019-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
1075 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
1077 2019-07-17 PanderMusubi <pander@users.sourceforge.net>
1080 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
1081 name_mrs, name_miss, and name_ms.
1082 * localedata/locales/nl_NL (LC_NAME): Likewise.
1084 2019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
1087 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
1088 * localedata/locales/en_IE (first_weekday): Likewise.
1090 2019-07-12 Mike Crowe <mac@mcrowe.com>
1092 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
1093 that is only useful if futex_supports_exact_relative_timeouts ()
1095 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
1097 * sysdeps/nptl/futex-internal.h: Remove comment about relative
1098 timeouts potentially being imprecise since it's no longer true.
1099 Remove declaration of futex_supports_exact_relative_timeouts.
1100 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
1101 of futex_supports_exact_relative_timeouts.
1103 * NEWS: Mention recently-added pthread_cond_clockwait,
1104 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
1105 sem_clockwait functions.
1107 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
1108 works like pthread_mutex_timedlock but takes a clockid parameter to
1109 measure the abstime parameter against.
1110 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
1111 * nptl/DESIGN-systemtap-probes.txt: Likewise.
1112 * nptl/pthread_mutex_timedlock.c
1113 (__pthread_mutex_clocklock_common): Rename from
1114 __pthread_mutex_timedlock and add clockid parameter. Pass this
1115 parameter to lll_clocklock and lll_clocklock_elision in place of
1116 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
1117 LIBC_PROBE and validate clockid parameter before calling
1118 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
1119 implementation to add LIBC_PROBE and calls
1120 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
1122 * nptl/Makefile: Add tst-mutex11.c.
1123 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
1124 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
1125 clockid parameters to pthread_mutex_clocklock.
1126 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
1127 clockid parameter to indicate which clock to be used. Call
1128 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
1129 (do_test): Call do_test_clock to separately test
1130 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
1131 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
1132 * nptl/tst-mutex9.c: Likewise.
1133 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
1134 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
1136 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
1138 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
1140 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
1142 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
1144 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
1146 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
1148 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1149 (GLIBC_2.30): Likewise.
1150 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1151 (GLIBC_2.30): Likewise.
1152 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1153 (GLIBC_2.30): Likewise.
1154 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1155 (GLIBC_2.30): Likewise.
1156 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1157 (GLIBC_2.30): Likewise.
1158 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
1160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1161 (GLIBC_2.30): Likewise.
1162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1163 (GLIBC_2.30): Likewise.
1164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1165 (GLIBC_2.30): Likewise.
1166 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1167 (GLIBC_2.30): Likewise.
1168 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1169 (GLIBC_2.30): Likewise.
1170 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1171 (GLIBC_2.30): Likewise.
1172 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
1174 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1175 (GLIBC_2.30): Likewise.
1176 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1177 (GLIBC_2.30): Likewise.
1178 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1179 (GLIBC_2.30): Likewise.
1180 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1181 (GLIBC_2.30): Likewise.
1183 nptl: Rename lll_timedlock to lll_clocklock and add clockid
1184 parameter to indicate the clock that the abstime parameter should
1185 be measured against in preparation for adding
1186 pthread_mutex_clocklock.
1187 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
1188 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
1189 from __lll_timedlock and add clockid parameter.
1190 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
1192 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
1193 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
1194 rather than __gettimeofday so that clockid can be used. This means
1195 that conversion from struct timeval is no longer required.
1196 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
1198 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
1199 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
1200 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
1201 from lll_timedlock_elision, add clockid parameter and use
1202 meaningful names for other parameters. (__pthread_mutex_timedlock):
1203 Pass CLOCK_REALTIME where necessary to lll_clocklock and
1204 lll_clocklock_elision.
1205 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
1206 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
1207 clockid parameter. (__lll_clocklock_elision): Rename from
1208 __lll_timedlock_elision and add clockid parameter.
1209 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1210 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
1211 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
1212 (__lll_lock_elision): Call __lll_clocklock_elision rather than
1213 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
1214 (LLL_LOCK): Likewise.
1215 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1216 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
1218 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
1219 pthread_rwlock_clockwrlock which behave like
1220 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
1221 respectively, except they always measure abstime against the
1222 supplied clockid. The functions currently support CLOCK_REALTIME
1223 and CLOCK_MONOTONIC and return EINVAL if any other clock is
1225 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
1226 pthread_wrlock_clockwrlock.
1227 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
1228 pthread_rwlock_clockwrlock.c.
1229 * nptl/pthread_rwlock_clockrdlock.c: Implement
1230 pthread_rwlock_clockrdlock.
1231 * nptl/pthread_rwlock_clockwrlock.c: Implement
1232 pthread_rwlock_clockwrlock.
1233 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
1234 clockid parameter and verify that it indicates a supported clock on
1235 entry so that we fail even if it doesn't end up being used. Pass
1236 that clock on to futex_abstimed_wait when necessary.
1237 (__pthread_rwlock_wrlock_full): Likewise.
1238 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
1239 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
1240 be used because there's no timeout.
1241 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
1242 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
1243 be used because there is no timeout.
1244 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1245 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
1247 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1248 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
1250 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
1251 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
1252 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
1253 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
1254 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
1255 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
1256 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
1257 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1258 (GLIBC_2.30): Likewise.
1259 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1260 (GLIBC_2.30): Likewise.
1261 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1262 (GLIBC_2.30): Likewise.
1263 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1264 (GLIBC_2.30): Likewise.
1265 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1266 (GLIBC_2.30): Likewise.
1267 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
1268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1269 (GLIBC_2.30): Likewise.
1270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1271 (GLIBC_2.30): Likewise.
1272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1273 (GLIBC_2.30): Likewise.
1274 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1275 (GLIBC_2.30): Likewise.
1276 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1277 (GLIBC_2.30): Likewise.
1278 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1279 (GLIBC_2.30): Likewise.
1280 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
1281 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1282 (GLIBC_2.30): Likewise.
1283 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1284 (GLIBC_2.30): Likewise.
1285 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1286 (GLIBC_2.30): Likewise.
1287 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1288 (GLIBC_2.30): Likewise.
1289 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
1290 pthread_rwlock_clockwrlock timeout tests to match the existing
1291 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
1292 * nptl/tst-rwlock14.c (do_test): Likewise.
1293 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
1294 ancillary output throughout. (tf): Accept thread_args structure so
1295 that rwlock, a clockid and function name can be passed to the
1296 thread. (do_test_clock): Rename from do_test. Accept clockid
1297 parameter to specify test clock. Use the magic clockid value of
1298 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
1299 pthread_rwlock_timedwrlock should be tested, otherwise pass the
1300 specified clockid to pthread_rwlock_clockrdlock and
1301 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
1302 (do_test): Call do_test_clock to test each clockid in turn.
1303 * nptl/tst-rwlock7.c: Likewise.
1304 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
1305 thread_args structure so that the (now int) thread number, the
1306 clockid and the function name can be passed to the thread.
1307 (do_test_clock): Renamed from do_test. Pass the necessary
1308 thread_args when creating the reader and writer threads. Use
1309 xpthread_create and xpthread_join.
1310 (do_test): Call do_test_clock to test each clockid in turn.
1311 * manual/threads.texi: Add documentation for
1312 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
1314 nptl: pthread_rwlock: Move timeout validation into _full functions
1315 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
1316 Check validity of abstime parameter.
1317 (__pthread_rwlock_rwlock_full): Likewise.
1318 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1319 Remove check for validity of abstime parameter.
1320 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1323 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
1324 like pthread_cond_timedwait except it always measures abstime
1325 against the supplied clockid.
1326 * nptl/Makefile: Add tst-cond26 and tst-cond27
1327 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
1328 * sysdeps/nptl/pthread.h: Likewise
1329 * nptl/forward.c: Add __pthread_cond_clockwait
1330 * nptl/forward.c: Likewise
1331 * nptl/pthreadP.h: Likewise
1332 * sysdeps/nptl/pthread-functions.h: Likewise
1333 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
1334 clockid parameter and comment describing why we don't need to check
1335 its value. Use that value when calling
1336 futex_abstimed_wait_cancelable rather than reading the clock from
1337 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
1338 (__pthread_cond_timedwait): Read clock from flags and pass it to
1339 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
1340 function with weak alias from pthread_cond_clockwait.
1341 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
1342 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
1343 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
1344 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
1345 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
1346 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
1347 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
1348 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1349 (GLIBC_2.30): Likewise.
1350 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1351 (GLIBC_2.30): Likewise.
1352 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1353 (GLIBC_2.30): Likewise.
1354 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1355 (GLIBC_2.30): Likewise.
1356 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1357 (GLIBC_2.30): Likewise.
1358 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
1359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1360 (GLIBC_2.30): Likewise.
1361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1362 (GLIBC_2.30): Likewise.
1363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1364 (GLIBC_2.30): Likewise.
1365 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1366 (GLIBC_2.30): Likewise.
1367 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1368 (GLIBC_2.30): Likewise.
1369 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1370 (GLIBC_2.30): Likewise.
1371 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
1372 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1373 (GLIBC_2.30): Likewise.
1374 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1375 (GLIBC_2.30): Likewise.
1376 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1377 (GLIBC_2.30): Likewise.
1378 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1379 (GLIBC_2.30): Likewise.
1380 * nptl/tst-cond11.c (run_test): Support testing
1381 pthread_cond_clockwait too by using a special magic
1382 CLOCK_USE_ATTR_CLOCK value to determine whether to call
1383 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
1384 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
1385 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
1386 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
1387 clocks to pthread_cond_clockwait.
1388 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
1389 struct timespec and pthread_cond_clockwait.
1390 * manual/threads.texi: Document pthread_cond_clockwait.
1392 nptl: Add POSIX-proposed sem_clockwait which behaves just like
1393 sem_timedwait, but measures abstime against the specified clock.
1394 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
1395 clockid parameters to indicate the clock which abstime should be
1397 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
1398 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
1399 __new_sem_wait_slow.
1400 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
1402 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
1403 sem_clockwait.c to match those used for sem_timedwait.c.
1404 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
1405 * nptl/Versions (GLIBC_2.30): Likewise.
1406 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
1407 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
1408 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
1409 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
1410 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
1411 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
1412 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
1413 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1414 (GLIBC_2.30): Likewise.
1415 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1416 (GLIBC_2.30): Likewise.
1417 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1418 (GLIBC_2.30): Likewise.
1419 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1420 (GLIBC_2.30): Likewise.
1421 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1422 (GLIBC_2.30): Likewise.
1423 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
1424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1425 (GLIBC_2.30): Likewise.
1426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1427 (GLIBC_2.30): Likewise.
1428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1429 (GLIBC_2.30): Likewise.
1430 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1431 (GLIBC_2.30): Likewise.
1432 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1433 (GLIBC_2.30): Likewise.
1434 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1435 (GLIBC_2.30): Likewise.
1436 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
1437 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1438 (GLIBC_2.30): Likewise.
1439 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1440 (GLIBC_2.30): Likewise.
1441 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1442 (GLIBC_2.30): Likewise.
1443 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1444 (GLIBC_2.30): Likewise.
1445 * nptl/tst-sem17.c: Add new test for passing invalid clock to
1447 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
1448 tests to also test sem_clockwait.
1449 * manual/threads.texi: Document sem_clockwait.
1451 nptl: Add clockid parameter to futex timed wait calls
1452 * sysdeps/nptl/lowlevellock-futex.h,
1453 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
1454 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
1455 takes a clockid rather than a special clockbit.
1456 * sysdeps/nptl/lowlevellock-futex.h: Add
1457 lll_futex_supported_clockid so that client functions can check
1458 whether their clockid parameter is valid even if they don't
1459 ultimately end up calling lll_futex_clock_wait_bitset.
1460 * sysdeps/nptl/futex-internal.h,
1461 sysdeps/unix/sysv/linux/futex-internal.h
1462 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
1463 clockid_t parameter to indicate which clock the absolute time
1464 passed should be measured against. Pass that clockid onto
1465 lll_futex_clock_wait_bitset. Add invalid clock as reason for
1467 * sysdeps/nptl/futex-internal.h,
1468 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
1469 futex_abstimed_supported_clockid so that client functions can check
1470 whether their clockid parameter is valid even if they don't
1471 ultimately end up calling futex_abstimed_wait.
1472 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
1473 code to calculate relative timeout for
1474 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
1475 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
1476 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
1477 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
1478 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
1479 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
1480 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
1482 2019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1485 * posix/tst-mmap-offset.c: Mention BZ #24699.
1486 (do_test_bz21270): Rename to do_test_large_offset and use
1487 mmap64_maximum_offset to check for maximum expected offset value.
1488 * sysdeps/generic/mmap_info.h: New file.
1489 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
1490 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
1493 2019-07-10 DJ Delorie <dj@redhat.com>
1494 Sergei Trofimovich <slyfox@inbox.ru>
1498 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
1500 * nss/tst-nss-db-endgrent.c: New.
1501 * nss/tst-nss-db-endgrent.root: New.
1502 * nss/tst-nss-db-endpwent.c: New.
1503 * nss/tst-nss-db-endpwent.root: New.
1504 * nss/Makefile: Add new tests.
1505 * support/links-dso-program-c.c: Add selinux dependency.
1506 * support/links-dso-program.cc: Add selinux dependency.
1507 * support/Makefile: Build those with -lselinux if enabled.
1509 2019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
1511 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
1512 DT_AARCH64_VARIANT_PCS check.
1513 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
1514 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
1517 2019-07-10 Andreas Schwab <schwab@suse.de>
1520 * malloc/malloc.h (__malloc_check_init): Don't declare.
1521 * include/malloc.h (__malloc_check_init): Likewise.
1522 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
1523 * manual/memory.texi (__malloc_check_init): Don't mention it.
1525 2019-07-10 Mao Han <han_mao@c-sky.com>
1527 * locale/Makefile: Fix tst-locale-locpath arguments passing.
1529 2019-07-09 Paul A. Clarke <pc@us.ibm.com>
1531 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
1532 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
1534 2019-07-08 DJ Delorie <dj@redhat.com>
1537 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
1538 * io/tst-ftw-lnk.c: New test.
1539 * io/Makefile: Run it.
1541 2019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1543 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
1544 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
1545 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
1546 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
1547 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
1548 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
1549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
1550 Adjust implementation path.
1551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
1552 Adjust implementation path.
1553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
1554 Adjust implementation path.
1555 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1556 (libm-sysdep_routines): Add s_log* objects.
1557 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
1558 CFLAGS-s_logb-power7.c): New fule.
1559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
1561 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
1563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
1565 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
1567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
1568 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
1569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
1571 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
1573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
1575 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
1577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
1578 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
1579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
1581 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
1583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
1585 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
1587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
1588 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
1589 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
1590 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
1591 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1592 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1594 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
1595 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
1596 powerpc32 integer 0 converting to -0.
1598 * benchtests/Makefile (bench-math): Add logb.
1599 * benchtests/logb-inputs: New file.
1600 * benchtests/logbf-inputs: New file.
1602 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
1603 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
1604 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
1605 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
1606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1610 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
1611 sysdep_routines): Add s_modf* objects.
1612 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
1613 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
1614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
1616 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
1618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
1620 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
1622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
1623 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
1624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
1626 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
1628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
1629 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
1631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
1632 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
1634 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
1635 twoM500, twoM600, two60factor, pdnum): Remove.
1636 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
1637 (__ieee754_hypot): Replace static variables with inline definition,
1638 remove ununsed branches.
1639 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1640 (libm-sysdep_routines): Remove e_hypot-* objects.
1641 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
1642 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
1644 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
1645 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
1646 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
1647 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
1648 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
1650 * benchtests/Makefile (bench-math): Add hypot.
1651 * benchtests/hypot-inputs: New file.
1653 2019-07-08 Vincent Chen <vincentc@andestech.com>
1655 * sysdeps/unix/sysv/linux/dl-vdso.h
1656 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
1658 2019-07-04 Andreas Schwab <schwab@suse.de>
1661 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
1663 2019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1665 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
1666 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
1667 * sysdeps/aarch64/sys/ifunc.h: New file.
1668 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
1669 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
1671 2019-07-01 Florian Weimer <fweimer@redhat.com>
1674 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
1675 Replace __vfork with __libpthread_version_placeholder for
1677 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
1678 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
1680 * nptl/pt-vfork.c: Remove file.
1681 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
1682 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
1683 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
1684 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
1685 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
1686 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
1687 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
1688 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
1689 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
1690 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
1691 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
1692 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
1693 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
1694 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1695 Remove vfork, __vfork.
1696 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1698 (GLIBC_2.1.2): Replace __vfork with
1699 __libpthread_version_placeholder.
1700 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1701 Remove vfork, __vfork.
1702 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1704 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1706 (GLIBC_2.1.2): Replace __vfork with
1707 __libpthread_version_placeholder.
1708 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1710 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1711 (GLIBC_2.4): Remove vfork, __vfork.
1712 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1713 (GLIBC_2.0): Remove vfork.
1714 (GLIBC_2.1.2): Replace __vfork with
1715 __libpthread_version_placeholder.
1716 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1717 (GLIBC_2.18): Remove vfork, __vfork.
1718 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1719 (GLIBC_2.0): Remove vfork.
1720 (GLIBC_2.2): Remove __vfork.
1721 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
1722 (GLIBC_2.2): Remove vfork, __vfork.
1723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
1724 (GLIBC_2.0): Remove vfork.
1725 (GLIBC_2.1.2): Replace __vfork with
1726 __libpthread_version_placeholder.
1727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1728 (GLIBC_2.3): Remove vfork, __vfork.
1729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1730 (GLIBC_2.17): Likewise.
1731 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1732 (GLIBC_2.0): Remove vfork.
1733 (GLIBC_2.1.2): Replace __vfork with
1734 __libpthread_version_placeholder.
1735 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1736 (GLIBC_2.2): Remove vfork, __vfork.
1737 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1739 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1740 (GLIBC_2.0): Remove vfork.
1741 (GLIBC_2.1.2): Replace __vfork with
1742 __libpthread_version_placeholder.
1743 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1744 (GLIBC_2.2): Remove vfork, __vfork.
1745 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1746 (GLIBC_2.2.5): Likewise.
1747 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1748 (GLIBC_2.16): Likewise.
1749 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
1750 Remove __errno_location.
1752 2019-07-02 Florian Weimer <fweimer@redhat.com>
1755 * malloc/Depend: Add nptl and htl, due to potential indirect
1756 libpthread dependency of memusagestat.
1758 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
1760 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
1763 2019-07-01 Florian Weimer <fweimer@redhat.com>
1765 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
1766 variant for arm-linux-gnueabi.
1768 2019-07-01 H.J. Lu <hongjiu.lu@intel.com>
1771 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
1773 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
1774 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
1775 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
1776 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
1777 and tst-cet-legacy-mod-6c.
1778 (CFLAGS-tst-cet-legacy-5a.c): New.
1779 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
1780 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
1781 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
1782 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
1783 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
1784 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
1785 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
1786 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
1787 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
1788 ($(objpfx)tst-cet-legacy-5a): Likewise.
1789 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
1790 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
1791 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
1792 ($(objpfx)tst-cet-legacy-5b): Likewise.
1793 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
1794 (tst-cet-legacy-5b-ENV): Likewise.
1795 ($(objpfx)tst-cet-legacy-6a): Likewise.
1796 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
1797 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
1798 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
1799 ($(objpfx)tst-cet-legacy-6b): Likewise.
1800 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
1801 (tst-cet-legacy-6b-ENV): Likewise.
1802 * sysdeps/x86/tst-cet-legacy-5.c: New file.
1803 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
1804 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
1805 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
1806 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
1807 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
1808 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
1809 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
1810 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
1811 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
1812 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
1813 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
1814 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
1815 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
1817 2019-06-30 Paul A. Clarke <pc@us.ibm.com>
1819 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
1820 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
1821 (__fegetround_ISA300) New.
1822 (__fegetround_ISA2) New.
1823 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
1824 (_FPU_MFFS): Move implementation...
1826 (_FPU_MFFSL): Move implementation....
1827 (_FPU_GET_RC_ISA300): Here. New.
1828 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
1829 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
1830 (fegetenv_status): New.
1831 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
1832 instead of fegetenv_register().
1833 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
1835 2019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
1837 * benchtests/bench-math-inlines.c: Increase iterations.
1838 * benchtests/bench-memcmp.c: Likewise.
1839 * benchtests/bench-rawmemchr.c: Likewise.
1840 * benchtests/bench-strcmp.c: Likewise.
1841 * benchtests/bench-strcpy_chk.c: Likewise.
1842 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
1843 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
1844 (INNER_LOOP_ITERS_SMALL): Likewise.
1845 * benchtests/bench-strncat.c: Increase iterations.
1846 * benchtests/bench-strncmp.c: Increase iterations.
1847 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
1848 * benchtests/bench-strrchr.c: Increase iterations.
1849 * benchtests/bench-strstr.c: Keep iterations unchanged.
1850 * benchtests/bench-strtod.c: Increase iterations.
1852 2019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
1854 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
1855 with INNER_LOOP_ITERS_LARGE.
1856 * benchtests/bench-memchr.c: Likewise.
1857 * benchtests/bench-rawmemchr.c: Likewise.
1858 * benchtests/bench-strcat.c: Likewise.
1859 * benchtests/bench-strchr.c: Likewise.
1860 * benchtests/bench-string.h: Likewise.
1861 * benchtests/bench-strlen.c: Likewise.
1862 * benchtests/bench-strncpy.c: Likewise.
1863 * benchtests/bench-strnlen.c: Likewise.
1865 2019-06-28 Florian Weimer <fweimer@redhat.com>
1867 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
1868 Use mmap instead of malloc. malloc with M_PERTURB writes to the
1869 entire allocated memory range.
1871 2019-06-28 Tobias Klauser <tklauser@distanz.ch>
1873 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
1874 (prepare_version_base): New helper inline function.
1875 (prepare_version): New macro replacing PREPARE_VERSION.
1876 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
1878 2019-06-28 Florian Weimer <fweimer@redhat.com>
1881 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
1882 mismatch in a versioned symbol reference.
1883 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
1884 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
1885 tst-sonamemove-dlopen.
1886 (module-names): Add tst-sonamemove-linkmod1,
1887 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
1888 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
1889 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
1890 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
1891 (tst-sonamemove-runmod1.so): Link against
1892 tst-sonamemove-runmod2.so.
1893 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
1894 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
1895 tst-sonamemove-runmod2.so.
1896 (tst-sonamemove-dlopen): Link with -ldl.
1897 (tst-sonamemove-dlopen.out): Likewise.
1898 * elf/tst-sonamemove-link.c: New file.
1899 * elf/tst-sonamemove-dlopen.c: Likewise.
1900 * elf/tst-sonamemove-linkmod1.c: Likewise.
1901 * elf/tst-sonamemove-linkmod1.map: Likewise.
1902 * elf/tst-sonamemove-runmod1.c: Likewise.
1903 * elf/tst-sonamemove-runmod1.map: Likewise.
1904 * elf/tst-sonamemove-runmod2.c: Likewise.
1905 * elf/tst-sonamemove-runmod2.map: Likewise.
1907 2019-06-28 Florian Weimer <fweimer@redhat.com>
1909 * support/xdlfcn.h (xdlvsym): Declare function.
1910 * support/xdlfcn.c (xdlvsym): Define funciton.
1912 2019-06-28 Florian Weimer <fweimer@redhat.com>
1915 io: Remove the copy_file_range emulation.
1916 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
1917 not define and call copy_file_range_compat.
1918 * io/Makefile (tests-static, tests-internal): Do not add
1919 tst-copy_file_range-compat.
1920 * io/copy_file_range-compat.c: Remove file.
1921 * io/copy_file_range.c (copy_file_range): Define as stub.
1922 * io/tst-copy_file_range-compat.c: Remove file.
1923 * io/tst-copy_file_range.c (xdevfile): Remove variable.
1924 (typical_sizes): Update comment. Remove 16K sizes.
1925 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
1927 (find_maximum_offset, pipe_as_source, pipe_as_destination)
1928 (delayed_write_failure_beginning, delayed_write_failure_end)
1929 (cross_device_failure, enospc_failure_1, enospc_failure)
1930 (oappend_failure): Remove functions.
1931 (tests): Adjust test case list.
1932 (do_test): Remove file system search code. Check for ENOSYS from
1933 copy_file_range. Do not free xdevfile.
1934 * manual/llio.texi (Copying File Data): Document ENOSYS error from
1935 copy_file_range. Do not document the EXDEV error, which future
1936 kernels may not report. Update the wording to reflect that
1937 further errors are possible.
1938 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1939 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
1941 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1942 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
1944 * sysdeps/unix/sysv/linux/kernel-features.h
1945 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
1947 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1948 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
1950 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1951 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
1954 2019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
1956 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
1957 used as a mask for the mode argument of __vfprintf_internal.
1958 * stdio-common/printf-parse.h (printf_arg): New union member:
1960 * stdio-common/vfprintf-internal.c
1961 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
1962 (PARSE_FLOAT_VA_ARG): Likewise.
1963 (SETUP_FLOAT128_INFO): Likewise.
1964 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
1965 SETUP_FLOAT128_INFO.
1966 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
1967 floating-point value to the new union member, pa_float128.
1968 (printf_positional): Zero-initialize args_value[cnt] with memset.
1970 2019-06-27 Florian Weimer <fweimer@redhat.com>
1973 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
1974 buffer size if necessary.
1975 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
1977 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
1979 (large_buffer_checks): Likewise.
1980 (do_test): Call large_buffer_checks.
1982 2019-06-26 H.J. Lu <hongjiu.lu@intel.com>
1984 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
1985 * sysdeps/x86/dl-lookupcfg.h: Here.
1986 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
1988 2019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1990 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1991 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
1992 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
1994 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
1995 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
1996 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
1997 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
1998 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
2000 * sysdeps/powerpc/powerpc32/fpu/Makefile
2001 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
2002 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
2003 and fctidz optimization.
2004 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
2005 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
2006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2007 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
2008 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
2009 CFLAGS-s_lround-power5+.c): New rule.
2010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
2012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
2014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
2016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
2018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
2020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2030 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2031 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
2032 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2033 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
2034 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2035 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2036 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
2038 2019-06-26 Vincent Chen <vincentc@andestech.com>
2040 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
2041 specific system calls, fp_udfiex_crtl and udftrap.
2043 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
2045 * nptl/tst-eintr1.c (tf1): Add return statement.
2046 (do_test): Remove unused th variable.
2048 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
2050 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
2051 Return error if get_character fails.
2053 2019-06-25 Stefan Liebler <stli@linux.ibm.com>
2055 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2057 2019-06-24 Rafal Luzynski <digitalfreak@lingonborough.com>
2060 * localedata/locales/szl_PL (day): Use the correct Unicode
2061 sequences instead of non-ASCII characters.
2063 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
2066 * localedata/locales/szl_PL (abday): Spelling corrections.
2070 (alt_mon): This, then apply spelling corrections.
2071 (mon): New entry, month names in the genitive case.
2073 2019-06-21 Rafal Luzynski <digitalfreak@lingonborough.com>
2076 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
2077 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
2078 (thousands_sep): Likewise.
2079 (grouping): Set to 3;3.
2081 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
2083 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
2084 PREPARE_VERSION_KNOWN.
2085 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
2086 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
2088 (VDSO_HASH_LINUX_2_6_39): Likewise.
2089 (VDSO_NAME_LINUX_4_9): Likewise.
2090 (VDSO_HASH_LINUX_4_9): Likewise.
2091 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
2092 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2093 (_libc_vdso_platform_setup): Likewise.
2094 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
2095 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
2097 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
2100 2019-06-20 Mike Crowe <mac@mcrowe.com>
2102 * nptl/eintr.c: Use libsupport.
2103 * nptl/tst-eintr1.c: Likewise.
2104 * nptl/tst-eintr2.c: Likewise.
2105 * nptl/tst-eintr3.c: Likewise.
2106 * nptl/tst-eintr4.c: Likewise.
2107 * nptl/tst-eintr5.c: Likewise.
2108 * nptl/tst-mutex-errorcheck.c: Likewise.
2109 * nptl/tst-mutex5.c: Likewise.
2111 * support/test-driver.h: Add verbose_printf macro.
2113 * support/xtime.h: Add xclock_now() helper function.
2115 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
2116 Florian Weimer <fweimer@redhat.com>
2119 * libio/genops.c (_IO_unbuffer_all)
2120 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
2121 buffers and access _IO_FILE_complete members of legacy libio streams.
2122 * libio/tst-bz24228.c: New file.
2123 * libio/tst-bz24228.map: Likewise.
2124 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
2125 [build-shared] (generated): Add tst-bz24228.mtrace and
2127 [run-built-tests && build-shared] (tests-special): Add
2128 $(objpfx)tst-bz24228-mem.out.
2129 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
2130 ($(objpfx)tst-bz24228-mem.out): New rule.
2132 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
2134 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
2135 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
2136 (__FPU_MFFSL): Likewise.
2137 (_FPU_SETCW): Likewise.
2139 2019-06-19 Stan Shebs <stanshebs@google.com>
2140 Raoni Fassina Firmino <raoni@linux.ibm.com>
2143 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
2144 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
2145 static-linking version.
2146 * sysdeps/unix/sysv/linux/powerpc/Makefile
2147 (tests-static): Add test-gettimebasefreq-static.
2149 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
2152 2019-06-19 Rafal Luzynski <digitalfreak@lingonborough.com>
2155 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
2156 between the currency symbol and the minus sign).
2157 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
2159 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
2162 * string/test-strcasestr.c (check_result): Add NULL check.
2163 * nss/tst-field.c (check_rewrite): Likewise.
2164 * benchtests/bench-strstr.c (do_one_test): Likewise.
2165 * string/test-strstr.c (check_result): Likewise.
2166 * argp/argp-test.c (popt): Increase size of buf to 12.
2167 * benchtests/bench-malloc-simple.c (bench):
2168 Do not initialize tests array out of bounds.
2170 2019-06-19 Florian Weimer <fweimer@redhat.com>
2173 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
2176 2019-06-18 Florian Weimer <fweimer@redhat.com>
2179 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
2180 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
2181 fail when called from dlopen.
2182 * elf/Makefile [have-fpie && build-shared] (tests): Add
2184 (tst-dlopen-pie): Link with -ldl.
2185 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
2186 * elf/tst-dlopen-pie.c (do_test): New file.
2188 2019-06-17 Rafal Luzynski <digitalfreak@lingonborough.com>
2191 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
2192 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
2193 between the currency symbol and the minus sign).
2194 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
2195 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
2197 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2199 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
2200 sysdep-rtld-routines): Remove rules.
2201 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
2202 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
2203 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
2204 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
2205 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
2206 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
2207 vDSO path for SHARED.
2208 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
2209 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
2210 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2211 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
2212 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
2213 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
2215 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2216 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
2217 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
2218 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
2219 CFLAGS-s_llround-power5+.c): New rule.
2220 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
2222 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
2224 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
2226 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
2228 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
2230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
2231 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
2232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
2233 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
2234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
2235 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
2236 * sysdeps/powerpc/powerpc64/fpu/Makefile
2237 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
2238 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2239 (libm-sysdep_routines): Remove s_llround-* objects.
2240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
2242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
2244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
2246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
2248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
2250 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2251 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2252 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
2253 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
2254 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
2255 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
2256 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
2257 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
2258 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2259 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
2260 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2261 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
2262 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2263 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
2265 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
2266 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
2267 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
2268 * sysdeps/powerpc/powerpc32/fpu/Makefile
2269 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
2270 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
2272 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
2273 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
2274 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
2275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2276 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
2277 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
2278 CFLAGS-s_lrint-ppc32.c): New rule.
2279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2289 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2290 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2291 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2292 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
2295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
2297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
2299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
2301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
2304 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2305 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
2307 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
2308 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
2310 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
2312 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
2314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
2315 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
2316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
2317 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
2318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
2319 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
2320 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
2321 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
2322 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2323 (libm-sysdep_routines): Remove s_llrint-* objects.
2324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
2326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
2328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
2329 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
2330 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
2331 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
2332 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
2333 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
2334 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2335 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
2336 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2337 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2339 2019-06-14 Florian Weimer <fweimer@redhat.com>
2341 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
2342 argument to __glibc_has_include to inhibit macro expansion.
2344 2019-06-14 Florian Weimer <fweimer@redhat.com>
2346 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
2347 function-like macro, so that __has_include can inhibit expansion
2350 2019-06-13 Joseph Myers <joseph@codesourcery.com>
2352 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
2355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2356 Allow memset in libc.so.
2358 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2360 * sysdeps/aarch64/dl-dtprocnum.h: New file.
2361 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
2362 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
2363 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
2364 symbols at load time.
2365 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
2367 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2369 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
2370 (DT_AARCH64_VARIANT_PCS): Define.
2372 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2375 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
2377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
2381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
2382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
2385 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2386 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
2387 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
2388 Remove s_finite* objects.
2389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
2390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
2391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
2392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
2394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
2395 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2396 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
2397 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2398 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
2400 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
2401 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
2403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2404 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
2406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
2408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
2410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
2411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
2414 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2415 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
2416 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
2417 Remove s_isinf* and s_isinf* objects.
2418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
2419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
2420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
2421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
2423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
2424 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2425 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
2426 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2427 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
2429 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
2430 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
2432 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
2433 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
2434 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2436 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
2438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
2440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
2442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
2444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
2446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
2447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
2449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
2452 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2453 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
2454 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2455 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
2456 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2457 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
2458 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
2459 Remove s_isnan-* and s_isnanf-* objects.
2460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
2461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
2462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
2464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
2465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
2466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
2467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
2469 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2470 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2471 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2472 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2473 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2474 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
2475 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2476 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
2478 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
2479 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
2481 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
2482 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
2483 CFLAGS-bench-isfinite.c): New rule.
2484 * benchtests/isnan-input: New file.
2485 * benchtests/isinf-input: New file.
2486 * benchtests/isfinite-input: New file.
2488 * sysdeps/powerpc/fpu/s_copysign.c: New file.
2489 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
2490 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
2491 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
2492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2493 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
2495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
2503 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2504 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
2505 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
2506 Remove s_copysign-power6 s_copysign-ppc64.
2507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
2509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
2511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
2513 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2514 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
2515 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2516 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
2518 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
2519 round_to_integer_float, round_mode): Add RINT handling.
2520 (reset_fenv_mode): New symbol.
2521 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
2522 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
2523 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
2524 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2525 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2526 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2528 2019-06-12 Florian Weimer <fweimer@redhat.com>
2531 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
2532 * libio/freopen.c (freopen): Use it.
2534 2019-06-12 Florian Weimer <fweimer@redhat.com>
2536 Linux: Deprecate sysctl.
2537 * include/sysctl.h (__sysctl): Remove declaration.
2538 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
2540 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
2541 (sysctl): Add deprecation attribute.
2542 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
2543 directly, to avoid the deprecation warning. Do not include
2545 (__sysctl): Remove hidden alias.
2547 2019-06-12 Florian Weimer <fweimer@redhat.com>
2549 Linux: Use kernel headers for statx definitions if available.
2550 * include/bits/statx-generic.h: New file.
2551 * include/bits/types/struct_statx.h: Likewise.
2552 * include/bits/types/struct_statx_timestamp.h: Likewise.
2553 * io/Makefile (headers): Add bits/statx-generic.h.
2554 * io/bits/statx-generic.h: New file. Partly copied from
2556 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
2557 define original_statx.
2558 * io/bits/types/struct_statx.h: Likewise.
2559 * io/bits/types/struct_statx_timestamp.h: Likewise.
2560 (statx_generic): Use original_statx.
2561 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
2562 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
2564 2019-06-12 Florian Weimer <fweimer@redhat.com>
2566 * misc/sys/cdefs.h (__glibc_has_include): Define.
2568 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2570 * string/memmem.c (__memmem): Rewrite to improve performance.
2572 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2574 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
2576 (two_way_long_needle): Block inlining.
2577 * string/strstr.c (strstr2): Add new function.
2578 (strstr3): Likewise.
2579 (STRSTR): Completely rewrite strstr to improve performance.
2581 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
2583 * benchtests/bench-strstr.c (test_hard_needle): New function.
2585 2019-06-10 Joseph Myers <joseph@codesourcery.com>
2587 * malloc/tst-calloc.c: Include <libc-diag.h>.
2588 (null_test): Ignore -Wunused-result around calls to calloc.
2589 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
2590 (do_test): Ignore -Wunused-result around call to malloc.
2592 2019-06-07 Florian Weimer <fweimer@redhat.com>
2594 Linux: Add getdents64 system call.
2595 * include/dirnent.h (getdents): Add comment and change buffer
2596 argument type to void *.
2597 (getdents64): Likewise. Add hidden prototype.
2598 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
2600 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
2602 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
2603 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
2604 argument type to void *.
2605 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
2606 Add hidden definition and getdents64 alias.
2607 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
2609 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
2610 * manual/filesys.texi (Accessing Directories): Add Low-level
2611 Directory Access node reference.
2612 (Opening a Directory): Cross-reference it.
2613 (Low-level Directory Access): New node.
2614 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
2616 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2618 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2619 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
2621 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
2623 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
2625 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
2627 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2629 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2631 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2633 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2634 (GLIBC_2.30): Likewise.
2635 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2636 (GLIBC_2.30): Likewise.
2637 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2638 (GLIBC_2.30): Likewise.
2639 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2640 (GLIBC_2.30): Likewise.
2641 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2644 (GLIBC_2.30): Likewise.
2645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2646 (GLIBC_2.30): Likewise.
2647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2648 (GLIBC_2.30): Likewise.
2649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2650 (GLIBC_2.30): Likewise.
2651 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2653 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2655 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2657 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2658 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2660 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2662 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2664 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2667 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
2669 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
2673 (_FPU_GETCW): Use __FPU_MFFS().
2674 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
2676 2019-06-06 Florian Weimer <fweimer@redhat.com>
2678 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
2679 internal GCC preprocessor identifier __has_include__.
2681 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
2683 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
2684 with call to equivalent function.
2686 2019-06-04 Florian Weimer <fweimer@redhat.com>
2688 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
2689 (do_release_shlib): Adjust for __twalk_r.
2690 (__gconv_release_shlib): Call __twalk_r.
2692 2019-06-04 Andreas Schwab <schwab@suse.de>
2695 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
2696 no irreversible characters occurred.
2697 * iconv/gconv_simple.c (internal_ucs4_loop)
2698 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
2699 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
2700 (ucs4_internal_loop_single, internal_ucs4le_loop)
2701 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
2702 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
2703 (ucs4le_internal_loop_single): Add const to outend.
2704 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
2705 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
2706 * iconv/Makefile (tests): Add tst-iconv7.
2707 * iconv/tst-iconv7.c: New file.
2709 2019-06-03 Joseph Myers <joseph@codesourcery.com>
2711 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
2713 2019-06-01 Florian Weimer <fweimer@redhat.com>
2715 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
2716 * sysdeps/unix/sysv/linux/arm/Makefile
2717 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
2718 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
2719 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
2720 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
2721 compatibility symbols.
2723 2019-05-31 Florian Weimer <fweimer@redhat.com>
2725 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
2726 system calls for the arm architecture: breakpoint, get_tls,
2727 set_tls, usr26, usr32.
2729 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
2731 * sysdeps/powerpc/Makefile
2732 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
2733 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
2734 Declare '.machine power7' to get support for ldbrx.
2735 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
2736 directive based on the directory of the file.
2737 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2738 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2739 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
2740 '.machine' directive.
2741 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
2742 (VADDUQM_V7_V8): Remove.
2743 (__STRCASECMP): Replace macros with actual instructions.
2744 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
2745 '.machine' directive.
2746 (VCLZD_V8_v7): Remove.
2747 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
2749 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2751 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
2753 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
2755 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2757 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
2759 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
2760 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
2761 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
2762 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
2763 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
2764 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2766 2019-05-28 mansayk <6688000@gmail.com>
2769 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
2771 2019-05-28 mansayk <6688000@gmail.com>
2774 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
2775 (abmon): Likewise, but remove the trailing dots.
2777 2019-05-28 Joseph Myers <joseph@codesourcery.com>
2779 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
2781 2019-05-27 Florian Weimer <fweimer@redhat.com>
2783 * nptl/nptl-init.c: Add comment.
2785 2019-05-24 Florian Weimer <fweimer@redhat.com>
2787 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
2788 struct in_addr/struct in6_addr alignment.
2790 2019-05-23 Joseph Myers <joseph@codesourcery.com>
2792 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2793 (F_SEAL_FUTURE_WRITE): New macro.
2795 2019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
2797 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
2798 * elf/tst-ldconfig-bad-aux-cache.c: New file.
2799 * elf/tst-ldconfig_aux-cache.root: New directory.
2800 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
2801 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
2802 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
2804 2019-05-22 Zack Weinberg <zackw@panix.com>
2806 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
2808 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
2809 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
2811 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
2812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
2813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
2816 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
2817 Issue an #error if used with a compiler in SPE-float mode.
2818 * sysdeps/powerpc/powerpc32/__longjmp_common.S
2819 * sysdeps/powerpc/powerpc32/setjmp_common.S
2820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
2821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
2822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
2823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
2824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
2825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2826 Remove code to preserve SPE register state.
2828 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2829 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
2830 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
2831 Remove __SPE__ ifndefs.
2833 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
2835 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
2836 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
2837 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
2838 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
2839 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
2840 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
2841 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
2842 (INNER_LOOP_ITERS_MEDIUM): New define.
2843 (INNER_LOOP_ITERS_SMALL): New define.
2844 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
2845 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
2846 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
2847 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
2848 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
2850 2019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
2852 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
2854 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
2855 (SEMTIMEDOP_IPC_ARGS): Likewise.
2857 2019-05-21 Florian Weimer <fweimer@redhat.com>
2860 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
2861 before updating __counter field and release it afterwards. Add
2863 * iconv/gconv.h (struct __gconv_step): Mention synchronization
2864 requirement for __counter member.
2866 2019-05-21 Florian Weimer <fweimer@redhat.com>
2869 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
2870 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
2871 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
2872 instead of __gconv_release_step.
2873 * libio/Makefile (tests): Add tst-wfile-gconv.
2874 (tests-container): Add tst-wfile-ascii.
2875 (tst-wfile-gconv-ENV): Enable mtrace.
2876 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
2877 (tests-special): Add tst-wfile-gconv-mem.out.
2878 (tst-wfile-gconv.out): Depend on locales.
2879 (tst-wfile-gconv-mem.out): Add mtrace rule.
2880 * libio/tst-wfile-ascii.c: New file.
2881 * libio/tst-wfile-gconv.c: Likewise.
2883 2019-05-20 Florian Weimer <fweimer@redhat.com>
2886 libio: Remove codecvt vtable.
2887 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
2889 * libio/iofgetpos.c (_IO_new_fgetpos): Call
2890 __libio_codecvt_encoding.
2891 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
2892 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
2893 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
2894 * libio/iofwide.c (__libio_codecvt): Remove variable.
2895 (_IO_fwide): Do not copy __libio_codecvt.
2896 (__libio_codecvt_out): Rename from do_out and export.
2897 (do_unshift): Remove function.
2898 (__libio_codecvt_in): Rename from do_in and export.
2899 (__libio_codecvt_encoding): Rename from do_encoding and export.
2900 (do_always_noconv): Remove function.
2901 (__libio_codecvt_length): Rename from do_length and export.
2902 (do_max_length): Remove function.
2903 * libio/libio.h (enum __codecvt_result): Remove definition; moved
2905 (struct _IO_codecvt): Remove fields __codecvt_destr,
2906 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
2907 __codecvt_do_encoding, __codecvt_do_always_noconv,
2908 __codecvt_do_length, __codecvt_do_max_length.
2909 * libio/libioP.h (enum __codecvt_result): Define; moved from
2911 (__libio_codecvt_out, __libio_codecvt_in)
2912 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
2914 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
2915 (_IO_wfile_underflow): Call __libio_codecvt_in.
2916 (_IO_wfile_underflow): Likewise.
2917 (_IO_wfile_underflow_mmap): Likewise.
2918 (_IO_wfile_sync): Call __libio_codecvt_encoding,
2919 __libio_codecvt_length.
2920 (adjust_wide_data): Call __libio_codecvt_encoding,
2922 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
2923 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
2924 __libio_codecvt_length.
2926 2019-05-20 Florian Weimer <fweimer@redhat.com>
2928 * support/support.h (support_sbindir_prefix): Declare.
2929 (support_install_rootsbindir): Update comment.
2930 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
2931 * support/support_paths.c (support_sbindir_prefix): Define.
2933 2019-05-20 Mike Crowe <mac@mcrowe.com>
2935 * support/timespec.c: Add backslash to correct newline in failure
2938 * support/timespec.h: Correct confusing comment.
2940 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2942 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
2944 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
2945 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
2946 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
2947 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
2950 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
2953 2019-05-20 Joseph Myers <joseph@codesourcery.com>
2955 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
2956 (NT_ARM_PACG_KEYS): Likewise.
2958 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
2960 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
2961 (tcache_put): Remove redundant assert.
2962 (tcache_get): Remove redundant asserts.
2963 (__libc_malloc): Check tcache count is not zero.
2964 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
2966 2019-05-17 Florian Weimer <fweimer@redhat.com>
2968 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
2970 2019-05-16 Joseph Myers <joseph@codesourcery.com>
2972 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2973 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
2975 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
2977 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2978 (__ASSUME_STATX): Likewise.
2980 2019-05-16 Florian Weimer <fweimer@redhat.com>
2982 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
2984 (LINE_PARSER): Do not map IPv4 addresses.
2985 (internal_nis_gethostent_r): Remove flags argument. Adjust call
2987 (_nss_nis_gethostent_r): Always pass AF_INET to
2988 internal_nis_gethostent_r.
2989 (internal_gethostbyname2_r): Remove flags argument. Adjust call
2991 (_nss_nis_gethostbyname2_r): Adjust call to
2992 internal_nis_gethostent_r.
2993 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
2994 call to internal_nis_gethostent_r.
2995 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
2997 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
2998 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
2999 Remove flags argument. Do not map IPv4 addresses.
3000 (internal_nisplus_gethostent_r): Adjust call to
3001 _nss_nisplus_parse_hostent.
3002 (internal_gethostbyname2_r): Remove flags argument. Adjust call
3003 to _nss_nisplus_parse_hostent.
3004 (_nss_nisplus_gethostbyname2_r): Adjust call to
3005 internal_gethostbyname2_r.
3006 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
3007 Adjust call to internal_gethostbyname2_r.
3008 (_nss_nisplus_gethostbyaddr_r): Adjust call to
3009 _nss_nisplus_parse_hostent.
3010 (_nss_nisplus_gethostbyname4_r): Adjust call to
3011 internal_gethostbyname2_r.
3013 2019-05-16 Florian Weimer <fweimer@redhat.com>
3015 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
3017 (LINE_PARSER): Remove address mapping.
3018 (EXTRA_ARGS_VALUE): Remove flags argument.
3019 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
3020 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
3021 gethostbyname3_multi.
3022 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
3023 _nss_files_gethostbyname3_r.
3024 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
3026 2019-05-16 Florian Weimer <fweimer@redhat.com>
3028 * support/support_test_compare_blob.c (report_blob): Report
3029 incorrect NULL blobs.
3031 2019-05-15 Mark Wielaard <mark@klomp.org>
3034 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
3035 __libc_once_get (once) and static_buf == NULL.
3036 (__dlerror): Check we have a valid key, set result to static_buf
3039 2019-05-15 Andreas Schwab <schwab@suse.de>
3042 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
3043 __codecvt_do_length.
3044 * libio/Makefile (tests): Add tst-wfile-sync.
3045 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
3046 * libio/tst-wfile-sync.c: New file.
3047 * libio/tst-wfile-sync.input: New file.
3049 2019-05-15 Florian Weimer <fweimer@redhat.com>
3051 nss: Turn __nss_database_lookup into a compatibility symbol.
3052 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
3053 __nss_database_lookup.
3054 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
3055 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
3056 __nss_database_lookup.
3057 (__nss_next): Move to …
3058 * nss/compat-lookup.c (nss_next): … here. Change it to fail
3060 (__nss_database_lookup): New function.
3061 * nss/Versions (GLIBC_2.0): Update comment.
3062 (GLIBC_PRIVATE): Export __nss_database_lookup2.
3063 * grp/initgroups.c (internal_getgrouplist): Call
3064 __nss_database_lookup2 instead of __nss_database_lookup.
3065 * nscd/aicache.c (addhstaiX): Likewise.
3066 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3067 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3068 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
3069 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
3070 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
3072 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
3073 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
3074 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3076 2019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
3078 * support/support.h (support_install_rootsbindir): New variable.
3079 * support/support_paths.c: Likewise.
3080 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
3082 2019-05-15 Florian Weimer <fweimer@redhat.com>
3084 * iconv/gconv.h (__gconv_transliterate): Move declaration …
3085 * iconv/gconv_int.h (__gconv_transliterate): … here.
3086 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
3087 * iconv/skeleton.c: Likewise.
3089 2019-05-14 Florian Weimer <fweimer@redhat.com>
3091 Linux: Add the tgkill function.
3092 * bits/signal_ext.h: New file.
3093 * manual/signal.texi (Signaling Another Process): Document tgkill.
3094 * signal/Makefile (headers): Add bits/signal_ext.h.
3095 * signal/signal.h: Include <bits/signal_ext.h>.
3096 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
3097 (tst-tgkill): Link with libpthread.
3098 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
3099 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
3100 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
3101 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
3103 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3104 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3105 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
3106 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3107 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3108 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3109 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3110 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3111 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3112 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3113 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
3115 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3116 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3117 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
3124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
3126 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
3127 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3128 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3129 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3130 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3131 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3132 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3133 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3135 2019-05-14 Carlos O'Donell <carlos@redhat.com>
3137 * manual/search.texi (Tree Search Function): Adjust twalk_r
3140 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3143 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
3146 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
3147 * support/support.h (support_bindir_prefix): New variable.
3148 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
3150 * config.make.in (bindir): New variable.
3152 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
3153 (lll_trylock): Call __lll_trylock.
3154 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
3155 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
3156 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
3157 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3158 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
3159 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
3160 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3161 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3162 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
3163 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
3164 lowlevellock-futex.h.
3166 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
3167 initialization for LLL_LOCK_INITIALIZER different than 0.
3168 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
3169 Assume LLL_LOCK_INITIALIZER being 0.
3170 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
3171 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
3173 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
3174 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
3176 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
3177 Optimize futex call and add systemtap probe.
3179 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
3180 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
3181 __libc_disable_asynccancel, __librt_enable_asynccancel,
3182 __libc_disable_asynccancel, __librt_enable_asynccancel,
3183 __librt_disable_asynccancel): Move to ...
3184 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
3185 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
3186 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
3187 * sysdeps/generic/single-thread.h: New file.
3188 * sysdeps/unix/sysdep.h: Include single-thread.h.
3189 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
3190 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3192 2019-05-08 Mike FABIAN <mfabian@redhat.com>
3195 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
3196 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
3198 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
3199 * localedata/unicode-gen/PropList.txt: Likewise.
3200 * localedata/unicode-gen/UnicodeData.txt: Likewise.
3201 * localedata/charmaps/UTF-8: Regenerate.
3202 * localedata/locales/i18n_ctype: Likewise.
3203 * localedata/locales/tr_TR: Likewise.
3204 * localedata/locales/translit_circle: Likewise.
3205 * localedata/locales/translit_cjk_compat: Likewise.
3206 * localedata/locales/translit_combining: Likewise.
3207 * localedata/locales/translit_compat: Likewise.
3208 * localedata/locales/translit_font: Likewise.
3209 * localedata/locales/translit_fraction: Likewise.
3211 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
3214 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
3215 (do_set_tcache_count): Only update if count is small enough.
3216 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
3218 2019-05-10 Florian Weimer <fweimer@redhat.com>
3220 * nptl/sem_close.c (struct walk_closure): Define.
3221 (walker): Adjust for __twalk_r.
3222 (sem_close): Call __twalk_r.
3224 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3226 * support/timespec.c (test_timespec_before_impl,
3227 test_timespec_equal_or_after_impl): print timespec member as intmax_t
3230 2019-05-09 Mike Crowe <mac@mcrowe.com>
3232 * nptl/tst-abstime.c: Use libsupport.
3234 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
3235 small bug where only tv.tv_usec was checked which could cause an
3236 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
3239 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
3242 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
3243 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
3245 * nptl/tst-cond11.c: Use libsupport.
3247 * support/timespec.h: New file. Provide timespec helper functions
3248 along with macros in the style of those in check.h.
3249 * support/timespec.c: New file. Implement check functions declared
3250 in support/timespec.h.
3251 * support/timespec-add.c: New file from gnulib containing
3252 timespec_add implementation that handles overflow.
3253 * support/timespec-sub.c: New file from gnulib containing
3254 timespec_sub implementation that handles overflow.
3255 * support/README: Mention timespec.h.
3257 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3260 * nptl/Makefile: Move tst-eintr1 to xtests.
3262 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3264 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
3266 (round_mode): Add definition for TRUNC.
3267 * sysdeps/powerpc/fpu/s_trunc.c: New file.
3268 * sysdeps/powerpc/fpu/s_truncf.c: New file.
3269 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
3270 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3271 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
3273 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
3275 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
3277 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
3279 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
3281 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
3283 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
3285 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
3287 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
3288 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
3289 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
3290 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
3291 s_truncf-power5+, and s_truncf-ppc64.
3292 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
3293 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
3295 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
3296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
3297 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
3298 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
3300 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
3302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
3303 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
3304 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3305 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
3306 s_truncf-power5+, and s_truncf-ppc64.
3307 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
3309 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
3310 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
3312 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
3313 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3314 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3315 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
3316 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
3318 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
3320 (round_mode): Add definition for ROUND.
3321 (round_to_integer_float): Likewise.
3322 * sysdeps/powerpc/fpu/s_round.c: New file.
3323 * sysdeps/powerpc/fpu/s_roundf.c: New file.
3324 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
3325 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3326 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
3328 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
3330 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
3332 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
3334 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
3336 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
3338 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
3340 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
3342 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
3343 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
3344 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
3345 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
3346 s_roundf-power5+, and s_roundf-ppc64.
3347 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
3348 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
3350 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
3351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
3352 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
3353 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
3355 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
3357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
3358 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
3359 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3360 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
3361 s_roundf-power5+, and s_roundf-ppc64.
3362 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
3364 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
3365 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
3367 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
3368 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3369 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3370 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
3371 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
3373 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
3375 (round_mode): Add definition for FLOOR.
3376 * sysdeps/powerpc/fpu/s_floor.c: New file.
3377 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
3378 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
3379 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
3382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
3384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
3386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
3388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
3390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
3392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
3394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
3396 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
3397 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
3398 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3399 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
3400 s_floorf-power5+, and s_floorf-ppc64.
3401 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
3402 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
3404 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
3405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
3406 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
3407 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
3409 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
3411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
3412 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
3413 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3414 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
3415 s_floorf-power5+, and s_floorf-ppc64.
3416 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
3418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
3420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
3422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
3424 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3425 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3426 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
3427 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
3429 2019-05-08 Mike Crowe <mac@mcrowe.com>
3431 * support/xclock_gettime.c (xclock_gettime): New file. Provide
3432 clock_gettime wrapper for use in tests that fails the test rather
3433 than returning failure.
3435 * support/xtime.h: New file to declare xclock_gettime.
3437 * support/Makefile: Add xclock_gettime.c.
3439 * support/README: Mention xtime.h.
3441 2019-05-08 Florian Weimer <fweimer@redhat.com>
3443 malloc/tst-mallocfork2: Use process-shared barriers.
3444 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
3445 (signal_count, sigusr1_sender_pid): Remove.
3446 (iterations): Define constant.
3447 (shared): New variable.
3448 (sigusr1_received): Update comment.
3449 (sigusr1_handler): Do not send SIGSTOP to the sender process.
3450 (signal_sender): Optional use barriers to avoid sending signals
3451 during irrelevant times.
3452 (do_it): Initialize variable shared. Use xfork for error
3453 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
3454 the iteration count, independent of signal delivery. Check for
3455 deadlocks in fork. Introduce barriers for reducing signal
3456 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
3457 replaced by the barriers. Count signals during fork/free/malloc
3459 * malloc/Makefile (tst-mallocfork): Link with libpthread.
3461 2019-05-07 Joseph Myers <joseph@codesourcery.com>
3463 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3465 (clock_adjtime64) New syscall.
3466 (clock_getres_time64) Likewise.
3467 (clock_gettime64) Likewise.
3468 (clock_nanosleep_time64) Likewise.
3469 (clock_settime64) Likewise.
3470 (futex_time64) Likewise.
3471 (io_pgetevents_time64) Likewise.
3472 (io_uring_enter) Likewise.
3473 (io_uring_register) Likewise.
3474 (io_uring_setup) Likewise.
3475 (mq_timedreceive_time64) Likewise.
3476 (mq_timedsend_time64) Likewise.
3477 (pidfd_send_signal) Likewise.
3478 (ppoll_time64) Likewise.
3479 (pselect6_time64) Likewise.
3480 (recvmmsg_time64) Likewise.
3481 (rt_sigtimedwait_time64) Likewise.
3482 (sched_rr_get_interval_time64) Likewise.
3483 (semtimedop_time64) Likewise.
3484 (timer_gettime64) Likewise.
3485 (timer_settime64) Likewise.
3486 (timerfd_gettime64) Likewise.
3487 (timerfd_settime64) Likewise.
3488 (utimensat_time64) Likewise.
3490 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
3491 version to 9 branch.
3493 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
3495 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
3496 __memmove_thunderx2 to the list of implementations
3497 * sysdeps/aarch64/multiarch/memmove.c: Likewise
3498 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
3499 (__memmove_thunderx2): Rewritten using SIMD ld/st
3500 (__memcpy_thunderx2): Fixed handling overlapping cases.
3501 Used ldp/stp instead of ldr/str if possible. Made loops
3504 2019-05-03 Florian Weimer <fweimer@redhat.com>
3506 * misc/tst-tsearch.c (walk_tree): Add more error checking.
3508 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3511 * elf/tst-pldd.c (in_str_list): New function.
3512 (do_test): Add default names for ld and libc as one option.
3514 2019-05-02 Florian Weimer <fweimer@redhat.com>
3516 misc: Add twalk_r function.
3517 * include/search.h (__twalk_r): Declare.
3518 * manual/examples/twalk.c: New file.
3519 * manual/search.texi (Tree Search Function): Document twalk_r.
3520 * misc/Versions (2.30): Export twalk_r.
3521 (GLIBC_PRIVATE): Export __twalk_r.
3522 * misc/search.h [__USE_GNU] (twalk_r): Declare.
3523 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
3524 (twalk_r): Add weak alias.
3525 * misc/tst-tsearch.c (struct walk_trace_element): Define.
3526 (walk_trace): New variable.
3527 (struct twalk_with_twalk_r_closure): Define.
3528 (twalk_with_twalk_r_action): New function.
3529 (twalk_with_twalk_r): Likewise.
3530 (walk_action): Call walk_trace_add.
3531 (walk_tree_with): Rename from walk_tree. Add walk argument.
3532 (walk_tree): New function.
3533 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
3534 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
3536 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3538 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3539 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
3540 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
3541 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
3542 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
3543 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3545 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3547 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3549 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3550 (GLIBC_2.30): Likewise.
3551 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3552 (GLIBC_2.30): Likewise.
3553 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3554 (GLIBC_2.30): Likewise.
3555 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3556 (GLIBC_2.30): Likewise.
3557 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3560 (GLIBC_2.30): Likewise.
3561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3562 (GLIBC_2.30): Likewise.
3563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3564 (GLIBC_2.30): Likewise.
3565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3566 (GLIBC_2.30): Likewise.
3567 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3569 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3571 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3573 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3574 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3576 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3578 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3580 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3583 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
3585 Make mktime etc. compatible with __time64_t
3586 Keep these functions compatible with Gnulib while adding
3587 __time64_t support. The basic idea is to move private API
3588 declarations from include/time.h to time/mktime-internal.h, since
3589 the former file cannot easily be shared with Gnulib whereas the
3591 Also, do some other minor cleanup while in the neighborhood.
3592 * include/time.h: Include stdbool.h, time/mktime-internal.h.
3593 (__mktime_internal): Move this prototype to time/mktime-internal.h,
3594 since Gnulib needs it.
3595 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
3596 Move these macros to time/mktime-internal.h, since Gnulib needs them.
3597 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
3598 (in_time_t_range): New static function.
3599 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
3600 so that glibc users are not tempted to use __time64_t.
3601 * time/mktime-internal.h: Rewrite so that it does both glibc
3602 and Gnulib work. Include time.h if not _LIBC.
3603 (mktime_offset_t) [!_LIBC]: Define for gnulib.
3604 (__time64_t): New type or macro, moved here from
3606 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
3607 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
3608 from include/time.h.
3609 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
3610 New macros, taken from GNulib.
3611 (__mktime_internal): New prototype, moved here from include/time.h.
3612 * time/mktime.c (mktime_min, mktime_max, convert_time)
3613 (ranged_convert, __mktime_internal, __mktime64):
3614 * time/timegm.c (__timegm64):
3615 Use __time64_t, not time_t.
3616 * time/mktime.c: Stop worrying about whether time_t is floating-point.
3617 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
3619 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
3620 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
3621 for libc_hidden_def.
3623 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
3625 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
3627 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
3630 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
3631 from `-Wmaybe-uninitialized'.
3632 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
3634 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3636 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
3638 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
3639 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
3640 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
3641 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
3642 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
3643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3644 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
3645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
3647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
3649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
3651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
3653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
3655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
3657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
3659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
3661 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
3662 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
3663 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
3664 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
3666 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
3668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
3669 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
3670 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
3672 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
3674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
3675 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
3677 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3678 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
3679 s_ceilf-power5+, and s_ceilf-ppc64.
3680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
3682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
3683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
3684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
3685 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
3686 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
3687 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
3688 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
3690 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
3691 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
3692 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
3694 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
3696 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
3697 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
3698 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
3699 (sem_getvalue): Likewise.
3701 2019-04-26 Florian Weimer <fweimer@redhat.com>
3703 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
3704 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
3706 2019-04-26 Florian Weimer <fweimer@redhat.com>
3708 Makeconfig: Move -Wl,-rpath-link options before library references.
3709 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
3710 (link-libc): Remove $(link-libc-rpath-link).
3712 2019-04-25 Florian Weimer <fweimer@redhat.com>
3714 * Makeconfig (+link-pie-before-libc): Remove $(CC).
3715 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
3716 (+link-static-before-libc): Remove $(CC).
3717 (+link-static, +link-static-tests): Add $(CC).
3718 (+link-before-libc): Remove $(CC).
3719 (+link, +link-pie, +link-pie-printers): Add $(CC).
3721 2019-04-26 Florian Weimer <fweimer@redhat.com>
3723 * Makeconfig (+link-pie-before-libc): Remove $(CC).
3724 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
3725 (+link-static-before-libc): Remove $(CC).
3726 (+link-static, +link-static-tests): Add $(CC).
3727 (+link-before-libc): Remove $(CC).
3728 (+link, +link-pie, +link-pie-printers): Add $(CC).
3730 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
3733 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
3735 2019-04-25 Florian Weimer <fweimer@redhat.com>
3737 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
3738 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
3739 (bench-link-targets): New variable.
3740 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
3742 2019-04-25 Florian Weimer <fweimer@redhat.com>
3744 Also enable BIND_NOW for programs if --enable-bind-now.
3745 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
3746 (+link-pie): Use $(link-extra-flags).
3747 (+link-static): Likewise.
3748 [! $(build-pie-default)] (+link): Likewise.
3749 * manual/install.texi (Configuring and compiling): Update
3750 --enable-bind-now description.
3751 * INSTALL: Regenerated.
3753 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
3755 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
3756 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
3758 2019-04-24 Mike Frysinger <vapier@gentoo.org>
3761 * malloc/Makefile (others): Add memusagestat.
3762 ($(objpfx)memusagestat): Delete rule.
3763 (LDLIBS-memusagestat): New variable.
3765 2019-04-24 Florian Weimer <fweimer@redhat.com>
3767 * locale/Makefile (tests-special): Guard setting by
3768 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
3769 to run while cross-compiling.
3771 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3774 * elf/Makefile (tests-container): Add tst-pldd.
3775 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
3776 (E(find_maps)): Avoid use alloca, use default read file operations
3777 instead of explicit LFS names, and fix infinite loop.
3778 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
3779 (get_process_info): Use _Static_assert instead of assert, use default
3780 directory operations instead of explicit LFS names, and free some
3782 * elf/tst-pldd.c: New file.
3784 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
3786 * malloc/arena.c (do_set_mallopt_check): Removed.
3788 2019-04-23 Florian Weimer <fweimer@redhat.com>
3790 locale: Add LOCPATH diagnostics to the locale program.
3791 * locale/programs/locale.c (setlocale_failed): New variable.
3792 (try_setlocale): New function.
3793 (quote_string): Likewise.
3794 (setlocale_diagnostics): Likewise.
3795 (main): Call try_setlocale instead of setlocale. Call
3796 setlocale_diagnostics.
3797 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
3798 (tst-locale-locpath.out): New target.
3799 * locale/tst-locale-locpath.sh: New file.
3801 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3803 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
3806 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3809 * malloc/hooks.c (malloc_check, realloc_check): Use
3810 __builtin_add_overflow on overflow check and adapt to
3811 checked_request2size change.
3812 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
3813 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
3814 allocation size to PTRDIFF_MAX.
3815 (REQUEST_OUT_OF_RANGE): Remove macro.
3816 (checked_request2size): Change to inline function and limit maximum
3817 requested size to PTRDIFF_MAX.
3818 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
3819 maximum allocation size to PTRDIFF_MAX.
3820 (_mid_memalign): Use _int_memalign call for overflow check.
3821 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
3822 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
3823 limit maximum requested size to PTRDIFF_MAX.
3824 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
3825 valloc, pvalloc): Add __attribute_alloc_size__.
3826 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
3827 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
3828 larger than PTRDIFF_MAX.
3829 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
3830 around tests of malloc with negative sizes.
3831 * malloc/tst-posix_memalign.c (do_test): Likewise.
3832 * malloc/tst-pvalloc.c (do_test): Likewise.
3833 * malloc/tst-valloc.c (do_test): Likewise.
3834 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
3835 with resulting size allocation larger than PTRDIFF_MAX with
3836 reallocarray_nowarn.
3837 (reallocarray_nowarn): New function.
3838 * NEWS: Mention the malloc function semantic change.
3840 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3842 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
3843 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
3845 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
3846 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
3847 * sysdeps/powerpc/fpu/s_fma.c: New file.
3848 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
3850 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
3851 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
3853 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
3854 the magic flag store.
3855 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
3857 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
3859 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
3860 Remove rt_sigreturn call.
3862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3863 Remove rt_sigreturn call.
3864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
3867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
3869 * support/Makefile (libsupport-routines): Add support_subprocess,
3870 xposix_spawn, xposix_spawn_file_actions_addclose, and
3871 xposix_spawn_file_actions_adddup2.
3872 (tst-support_capture_subprocess-ARGS): New rule.
3873 * support/capture_subprocess.h (support_capture_subprogram): New
3875 * support/support_capture_subprocess.c (support_capture_subprocess):
3876 Refactor to use support_subprocess and support_capture_poll.
3877 (support_capture_subprogram): New function.
3878 * support/tst-support_capture_subprocess.c (write_mode_to_str,
3879 str_to_write_mode, test_common, parse_int, handle_restart,
3880 do_subprocess, do_subprogram, do_multiple_tests): New functions.
3881 (do_test): Add support_capture_subprogram tests.
3882 * support/subprocess.h: New file.
3883 * support/support_subprocess.c: Likewise.
3884 * support/xposix_spawn.c: Likewise.
3885 * support/xposix_spawn_file_actions_addclose.c: Likewise.
3886 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
3887 * support/xspawn.h: Likewise.
3889 2019-04-17 Mike Gerow <gerow@google.com>
3891 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
3894 2019-04-11 Florian Weimer <fweimer@redhat.com>
3896 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
3897 domain with empty string.
3898 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3900 2019-04-11 Florian Weimer <fweimer@redhat.com>
3902 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
3904 (alloc_buffer_next): Change return type to non-const. Update
3907 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
3909 * manual/time.texi (Formatting Calendar Time): Add missing percent
3910 sign to conversion specifier.
3912 2019-04-09 Carlos O'Donell <carlos@redhat.com>
3913 Kwok Cheung Yeung <kcy@codesourcery.com>
3916 * malloc/mtrace.c: Define prototypes for all hooks.
3917 (set_default_hooks): New function.
3918 (set_trace_hooks): Likewise.
3919 (save_default_hooks): Likewise.
3920 (tr_freehook): Use new s*_hooks functions.
3921 (tr_mallochook): Likewise.
3922 (tr_reallochook): Likewise.
3923 (tr_memalignhook): Likewise.
3925 (muntrace): Likewise.
3927 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
3929 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
3930 (generic_stpcpy): New function.
3931 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
3932 (generic_stpncpy): New function.
3933 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
3934 (generic_strcat): New function.
3935 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
3936 (generic_strcpy): New function.
3937 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
3938 (STUPID_STRNCAT): Remove function.
3939 (generic_strncat): New function.
3940 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
3941 (STUPID_STRNCPY): Remove function.
3942 (generic_strncpy): New function.
3943 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
3944 (generic_strnlen): New function.
3945 (memchr_strnlen): New function.
3946 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
3947 (memchr_strlen): Likewise.
3949 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
3951 * benchtests/bench-strstr.c (input): Add realistic input text.
3952 (stupid_strstr): Remove function.
3953 (basic_strstr): Add function.
3954 (twoway_strstr): Add function.
3955 (do_one_test): Add result checking.
3956 (do_test): Use new input text. Remove accidental early matches.
3957 (test_main): Improve range of tests, reduce unaligned cases.
3959 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
3961 * benchtests/bench-memmem.c (simple_memmem): Remove function.
3962 (basic_memmem): Add function.
3963 (twoway_memmem): Add function.
3965 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
3967 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
3968 * benchtests/bench-malloc-thread.c: Likewise.
3969 * benchtests/bench-skeleton.c: Likewise.
3970 * benchtests/bench-strtod.c: Likewise.
3971 * benchtests/bench-timing.h: Likewise.
3973 2019-04-08 Florian Weimer <fweimer@redhat.com>
3975 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
3977 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
3978 RES_INSECURE2 security checks.
3979 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
3980 RES_INSECURE2 handling.
3982 2019-04-08 Florian Weimer <fweimer@redhat.com>
3984 resolv: Remove support for RES_USE_INET6 and the inet6 option.
3985 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
3986 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
3988 * resolv/Makefile (tests): Remove tst-res_use_inet6.
3989 (tests-internal): Update justification for tst-resolv-res_init,
3990 tst-resolv-res_init-thread.
3991 (tst-res_use_inet6): Remove target.
3992 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
3993 * resolv/res_debug.c (p_option): Remove "inet6" support.
3994 * resolv/res_init.c (res_setoptions): Likewise.
3995 * resolv/res_use_inet6.h: Remove file.
3996 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
3998 (res_use_inet6): Always return false.
3999 * resolv/resolv.h (RES_USE_INET6): Remove definition.
4000 * resolv/resolv_context.h: Adjust file comment.
4001 (struct resolv_context): Update comment on __next field.
4002 (__resolv_context_put): Update comment.
4003 * resolv/tst-res_use_inet6.c: Remove file.
4004 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
4006 (test_cases): Adjust test case.
4007 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
4008 (thread_byname2_af_inet6): Use old byname_inet6 code.
4009 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
4010 (gai): Remove do_inet6 argument.
4011 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
4012 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
4013 (thread_gai_unspec_inet6): Remove functions.
4014 (do_test): Adjust thread_funcs.
4015 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
4017 (gaih_inet): Do not disable RES_USE_INET6 flag.
4019 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4021 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
4022 and remove redundant code.
4024 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4026 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
4028 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
4029 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
4031 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
4033 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
4035 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4036 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
4037 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
4038 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
4039 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4040 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
4041 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4042 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
4044 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
4045 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4046 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4047 Remove wcsrchr optimizations.
4048 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4050 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
4053 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
4055 * sysdeps/powerpc/power6/wcschr.c: Remove file.
4056 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
4058 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
4060 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
4062 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4063 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
4064 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
4065 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
4066 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4067 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
4068 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4069 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
4071 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
4072 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4073 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4074 Remove wcschr optimizations.
4075 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4077 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
4080 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
4082 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
4083 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
4085 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
4087 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
4089 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4090 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
4091 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
4092 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
4093 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4094 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
4095 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4096 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
4098 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
4099 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4100 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4101 Remove wcscpy optimizations.
4102 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4104 * include/loop_unroll.h: New file.
4105 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
4106 besides generic implementation.
4108 2019-04-03 DJ Delorie <dj@redhat.com>
4110 * time/tst-strftime3.c (tm_to_printed): Disable warning about
4111 snprintf truncating output.
4113 2019-04-02 DJ Delorie <dj@redhat.com>
4115 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
4118 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
4121 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
4123 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
4124 (mkreftable): Add rules for the new Japanese era and the new dates.
4126 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
4127 Rafal Luzynski <digitalfreak@lingonborough.com>
4129 * time/tst-strftime2.c (date_t): Explicitly define the type.
4130 (dates): Use natural month and year numbers to express a date.
4131 (is_before): New function to compare dates.
4132 (mkreftable): Minor improvements to simplify maintenance.
4133 (do_test): Reflect the changes in dates array.
4136 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
4137 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
4138 * time/tst-strftime2.c (locales): Likewise.
4139 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
4140 2010-04-01, and 2011-04-01.
4141 (mkreftable): Add rules for the new locales and the new dates.
4143 2019-04-01 Carlos O'Donell <carlos@redhat.com>
4145 * localedata/locales/ja_JP: Add comments to era entries.
4147 2019-04-01 DJ Delorie <dj@redhat.com>
4150 * time/strptime_l.c (%Ey): Fix fencepost error.
4151 * time/tst-strftime3.c: New.
4152 * time/Makefile (tests): Add tst-strftime3.
4154 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
4156 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
4157 conditional branch to DIVBYZERO. Fix unwind info.
4158 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
4159 excb after conditional branch to $powerof2. Add missing unop
4160 instructions and .align directives and reorder instructions to
4163 2019-04-01 Richard Henderson <rth@twiddle.net>
4165 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
4167 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
4170 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
4172 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
4173 $libc_cv_riscv_float_abi in `test' invocation.
4174 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
4176 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
4178 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
4180 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
4182 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4183 (_GET_SI_FPSCR): Likewise.
4184 (_SET_SI_FPSCR): Likewise.
4186 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4188 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
4190 (signbit): Use builtin for clang 3.3.
4191 (isinf): Use builtin for clang 3.7.
4193 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4195 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
4197 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
4199 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
4202 2019-03-25 Mike Crowe <mac@mcrowe.com>
4204 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
4205 pthread_rwlock_timedrdlock with calls to
4206 pthread_rwlock_timedwrlock to ensure that the latter is tested
4207 too. Use new function name in diagnostic messages too.
4209 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
4210 (do_test) Use libsupport test macros rather than hand-coded
4211 conditionals and error messages. Ensure that sem_init returns zero
4212 rather than not -1. Use <support/test-driver.c> rather than
4215 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
4216 test macros rather than hand-coded conditionals and error messages.
4217 Use <support/test-driver.c> rather than test-skeleton.c.
4219 2019-03-25 Joseph Myers <joseph@codesourcery.com>
4221 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
4223 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
4224 (NT_MIPS_MSA): Likewise.
4226 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4228 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
4229 * benchtests/README: Update description.
4230 * benchtests/bench-timing.h: Default to hp-timing.
4231 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
4232 HP_TIMING_PRINT): Remove.
4233 (HP_TIMING_NOW): Add generic implementation.
4234 (hp_timing_t): Change to uint64_t.
4236 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
4238 * nptl/descr.h: Likewise.
4239 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
4240 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
4241 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
4242 Abstract hp-timing usage with RTLD_* macros.
4243 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
4244 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
4245 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
4246 HP_TIMING_NONAVAIL): Likewise.
4247 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
4249 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
4250 HP_SMALL_TIMING_AVAIL): Likewise.
4251 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
4252 HP_SMALL_TIMING_AVAIL): Likewise.
4253 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
4254 HP_SMALL_TIMING_AVAIL): Likewise.
4255 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
4256 HP_SMALL_TIMING_AVAIL): Likewise.
4257 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
4259 * sysdeps/generic/hp-timing-common.h: Update comment with
4260 HP_TIMING_AVAIL removal.
4262 * include/random-bits.h: New file.
4263 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
4264 (__res_context_mkquery): Remove usage hp-timing usage and replace with
4266 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
4267 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
4270 * include/libc-internal.h (__get_clockfreq): Remove prototype.
4271 * rt/Makefile (clock-routines): Remove get_clockfreq.
4272 * rt/get_clockfreq.c: Remove file.
4273 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
4274 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
4275 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
4276 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
4277 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
4279 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
4280 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
4281 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
4282 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
4283 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
4285 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
4286 pthread_clock_settime.
4287 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
4288 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
4289 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
4290 * elf/rtld.c (_dl_start_final): Likewise.
4291 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
4292 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
4294 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
4295 (_dl_cpuclock_offset): Remove.
4296 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
4297 cpuclock_offset_ununsed.
4298 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
4299 cpuclock_offset set.
4300 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
4301 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4302 * nptl/pthread_clock_gettime.c: Remove file.
4303 * nptl/pthread_clock_settime.c: Likewise.
4304 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
4305 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
4306 and CLOCK_PROCESS_CPUTIME_ID support.
4307 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
4308 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
4309 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
4310 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
4311 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
4313 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
4315 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4317 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
4318 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
4319 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
4321 * sysdeps/s390/memmem-arch13.S: New file.
4322 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
4323 if it is only used as fallback.
4324 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
4325 * sysdeps/s390/multiarch/ifunc-impl-list.c
4326 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
4328 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4330 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
4331 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
4332 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
4334 * sysdeps/s390/multiarch/ifunc-impl-list.c
4335 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
4336 * sysdeps/s390/strstr-arch13.S: New file.
4337 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
4338 if it is only used as fallback.
4339 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
4341 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4343 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
4344 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
4345 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
4346 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
4348 * sysdeps/s390/multiarch/ifunc-impl-list.c
4349 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
4350 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
4351 S390_IS_ARCH13_MIE3): New defines.
4353 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4355 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
4356 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
4357 * sysdeps/s390/configure.ac: Add checks for arch13 support.
4358 * sysdeps/s390/configure: Regenerated.
4360 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4362 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
4363 Add vxe2, vxp, dflt, sort flags.
4364 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
4365 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
4367 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
4368 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
4369 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
4370 HWCAP_S390_DFLT): Define.
4372 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4375 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
4376 of compiler warning.
4377 * locale/programs/ld-collate.c (collate_output): Likewise.
4379 2019-03-21 DJ Delorie <dj@redhat.com>
4382 * iconv/iconvconfig.c (write_output): Replace floating point math
4383 with integer math to avoid imprecise results.
4384 * locale/programs/ld-collate.c (collate_output): Likewise.
4386 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
4388 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
4389 Add HWCAP_S390_VX and HWCAP_S390_VXE.
4391 2019-03-20 mansayk <6688000@gmail.com>
4394 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
4395 (abday): Likewise, but remove the trailing dots.
4397 2019-03-19 Joseph Myers <joseph@codesourcery.com>
4399 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
4401 (HWCAP_PACA): Likewise.
4402 (HWCAP_PACG): Likewise.
4403 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
4405 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
4407 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4409 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
4412 2019-03-15 Joseph Myers <joseph@codesourcery.com>
4414 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4416 (old_getpagesize): New syscall.
4418 2019-03-15 Felix Yan <felixonmars@archlinux.org>
4421 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
4422 * localedata/locales/cmn_TW (era): Likewise.
4423 * localedata/locales/hak_TW (era): Likewise.
4424 * localedata/locales/lzh_TW (era): Likewise.
4425 * localedata/locales/nan_TW (era): Likewise.
4427 2019-03-14 Adam Maris <amaris@redhat.com>
4429 * malloc/malloc.c (_int_malloc): Check for large bin list
4430 corruption when inserting unsorted chunk.
4432 2019-03-14 Florian Weimer <fweimer@redhat.com>
4434 Remove obsolete, never-implemented XSI STREAMS declarations.
4435 * manual/terminal.texi (Allocation): Remove portability note and
4437 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
4439 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
4440 * sysdeps/unix/inet/Subdirs (streams): Remove.
4441 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
4442 (conformtest-headers-UNIX98): Likewise.
4443 (conformtest-headers-XOPEN2K): Likewise.
4444 (conformtest-headers-POSIX2008): Likewise.
4445 * posix/compat-streams.c: New file.
4446 * posix/Makefile (routines): Add it.
4447 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
4448 getpmsg, isastream, putmsg, putpmsg.
4449 (GLIBC_2.30): New section.
4450 * bits/stropts.h: Remove file.
4451 * bits/xtitypes.h: Likewise.
4452 * conform/data/stropts.h-data: Likewise.
4453 * include/stropts.h: Likewise.
4454 * include/sys/stropts.h: Likewise.
4455 * include/xtitypes.h: Likewise.
4456 * streams/Makefile: Likewise.
4457 * streams/fattach.c: Likewise.
4458 * streams/fdetach.c: Likewise.
4459 * streams/getmsg.c: Likewise.
4460 * streams/getpmsg.c: Likewise.
4461 * streams/isastream.c: Likewise.
4462 * streams/putmsg.c: Likewise.
4463 * streams/putpmsg.c: Likewise.
4464 * streams/stropts.h: Likewise.
4465 * streams/sys/stropts.h: Likewise.
4466 * sysdeps/ia64/bits/xtitypes.h: Likewise.
4467 * sysdeps/s390/bits/xtitypes.h: Likewise.
4468 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
4469 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
4470 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
4471 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
4472 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
4473 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
4474 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
4475 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
4476 * sysdeps/x86/bits/xtitypes.h: Likewise.
4478 2019-03-14 Florian Weimer <fweimer@redhat.com>
4480 * nss/tst-nss-files-alias-truncated.c (do_test): Load
4482 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
4483 but not with libnss_files.
4484 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
4486 2019-03-14 Zack Weinberg <zackw@panix.com>
4488 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
4489 Specify encoding="utf-8" when opening headers to check.
4491 2019-03-13 Joseph Myers <joseph@codesourcery.com>
4493 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4495 (Context.checkout_tar): Handle variable major version for Linux
4498 2019-03-13 Florian Weimer <fweimer@redhat.com>
4501 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
4503 2019-03-13 Zack Weinberg <zackw@panix.com>
4505 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
4507 * include/inttypes.h: Adjust to match.
4508 * include/stdint.h: New wrapper.
4510 2019-03-13 Zack Weinberg <zackw@panix.com>
4512 * scripts/check-obsolete-constructs.py: New test script.
4513 * scripts/check-installed-headers.sh: Remove tests for
4514 obsolete typedefs, superseded by check-obsolete-constructs.py.
4515 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
4516 as a special test. Update commentary.
4517 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
4518 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
4520 * posix/sys/types.h (__u_intN_t): Remove.
4521 (u_int8_t): Typedef using __uint8_t.
4522 (u_int16_t): Typedef using __uint16_t.
4523 (u_int32_t): Typedef using __uint32_t.
4524 (u_int64_t): Typedef using __uint64_t.
4526 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
4528 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
4530 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
4531 Ignore types other than AT_HWCAP.
4532 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
4533 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
4535 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
4536 in the case of falling back to generic output mechanism.
4537 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
4540 2019-03-12 Florian Weimer <fweimer@redhat.com>
4542 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
4544 2019-03-12 Florian Weimer <fweimer@redhat.com>
4547 resolv: Enable full ICMP errors for UDP DNS sockets
4548 * resolv/res_enable_icmp.c: New file.
4549 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
4550 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
4551 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
4554 2019-03-11 Mao Han <han_mao@c-sky.com>
4556 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
4557 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
4559 2019-03-11 Mao Han <han_mao@c-sky.com>
4561 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
4562 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
4563 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
4565 2019-03-11 Mao Han <han_mao@c-sky.com>
4567 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
4569 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
4572 2019-03-11 Mao Han <han_mao@c-sky.com>
4574 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
4575 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
4578 2019-03-08 Mike FABIAN <mfabian@redhat.com>
4581 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
4582 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
4584 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
4585 * localedata/unicode-gen/PropList.txt: Likewise.
4586 * localedata/unicode-gen/UnicodeData.txt: Likewise.
4587 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
4588 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
4589 * localedata/charmaps/UTF-8: Regenerate.
4590 * localedata/locales/i18n_ctype: Likewise.
4591 * localedata/locales/tr_TR: Likewise.
4592 * localedata/locales/translit_circle: Likewise.
4593 * localedata/locales/translit_cjk_compat: Likewise.
4594 * localedata/locales/translit_combining: Likewise.
4595 * localedata/locales/translit_compat: Likewise.
4596 * localedata/locales/translit_font: Likewise.
4597 * localedata/locales/translit_fraction: Likewise.
4599 2019-03-07 Joseph Myers <joseph@codesourcery.com>
4601 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
4602 than after operators.
4603 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
4604 (setitimer_locked): Likewise.
4605 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
4606 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
4607 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
4608 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
4609 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
4610 (PPC_CPU_SUPPORTED): Likewise.
4611 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
4612 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
4613 (stat_overflow): Likewise.
4614 (statfs_overflow): Likewise.
4615 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
4616 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
4617 (eq_ttyname_r): Likewise.
4618 (run_chroot_tests): Likewise.
4620 2019-03-07 Florian Weimer <fweimer@redhat.com>
4622 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
4625 2019-03-07 Martin Liska <mliska@suse.cz>
4627 * math/Makefile: Change location where math-vector-fortran.h is
4629 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
4630 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
4631 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
4632 * scripts/check-installed-headers.sh: Skip Fortran header files.
4633 * scripts/check-wrapper-headers.py: Likewise.
4635 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4637 * nptl/nptl-init.c (__have_futex_clock_realtime,
4638 __have_futex_clock_realtime): Remove definition.
4639 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
4640 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
4641 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
4642 __ASSUME_FUTEX_CLOCK_REALTIME support.
4643 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
4644 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4645 * sysdeps/unix/sysv/linux/kernel-features.h
4646 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
4647 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
4650 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4652 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
4653 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
4654 __GI___wcscpy and wcscpy.
4656 2019-03-04 Florian Weimer <fweimer@redhat.com>
4658 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
4660 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
4663 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
4665 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
4666 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4668 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
4671 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
4672 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
4674 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4676 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
4678 (do_test): Likewise.
4679 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
4680 (do_test_call_varg): Likewise.
4681 (do_test_call_rarg): Likewise.
4682 * sysdeps/ieee754/ldbl-opt/Makefile
4683 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
4685 ($(objpfx)tst-nldbl-warn.c): New rule.
4686 ($(objpfx)tst-nldbl-error.c): Likewise.
4687 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
4690 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4693 * include/bits/error-ldbl.h: New file.
4694 * include/error.h: Include stdarg.h. Declare internal functions
4695 __error_internal and __error_at_line_internal.
4696 * misc/Makefile (headers): Add bits/error-ldbl.h.
4697 * misc/bits/error-ldbl.h: New file.
4698 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
4699 avoid the inclusion of bits/error.h.
4700 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
4701 and __nldbl_error_at_line.
4702 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
4703 (__nldbl_error, __ndlbl_error_at_line): New functions.
4704 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
4705 Redirect error and error_at_line.
4706 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
4707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4715 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4716 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4717 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4719 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4722 * include/bits/err-ldbl.h: New file.
4723 * include/err.h: Add prototypes for the internal functions:
4724 __vwarnx_internal and __vwarn_internal.
4725 * misc/Makefile (headers): Add bits/err-ldbl.h.
4726 * misc/bits/err-ldbl.h: New file.
4727 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
4728 defined, i.e.: when -mlong-double-64 is in use.
4729 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
4730 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
4731 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
4732 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
4733 (VA_CALL): New macro.
4734 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
4735 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
4737 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
4738 declare prototypes for the new functions.
4739 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
4740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4748 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4749 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4750 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4752 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4754 * sysdeps/ieee754/ldbl-opt/Makefile
4755 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
4756 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
4757 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
4759 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4762 * argp/Makefile (headers): Add bits/argp-ldbl.h.
4763 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
4764 * argp/bits/argp-ldbl.h: New file.
4765 * include/argp.h: Include stdarg.h. Add prototypes for internal
4766 functions: __argp_error_internal and __argp_failure_internal.
4767 * include/bits/argp-ldbl.h: New file.
4768 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
4769 __nldbl_argp_error and __nldbl_argp_failure.
4770 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
4771 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
4772 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
4773 Redirect argp_error and argp_failure calls.
4774 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
4775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4783 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4784 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4785 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4787 2019-03-01 Florian Weimer <fweimer@redhat.com>
4790 * elf/tst-big-note-lib.S: Create a syntactically valid note.
4791 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
4792 code, to avoid creating an ABI tag note.
4793 (modules-names-nobuild): Add tst-big-note-lib.
4795 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
4797 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
4798 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
4800 2019-03-01 Florian Weimer <fweimer@redhat.com>
4803 * sysdeps/unix/sysv/linux/netlink_assert_response.c
4804 (__netlink_assert_response): Add additional missing newlines.
4806 2019-02-28 Joseph Myers <joseph@codesourcery.com>
4808 * sysdeps/powerpc/powerpc32/dl-machine.c
4809 (__elf_machine_fixup_plt): Use space before '('.
4810 (__process_machine_rela): Likewise.
4811 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
4813 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
4815 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
4817 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
4818 (pattern): Likewise.
4820 (check_result): Likewise.
4821 (check_excepts): Likewise.
4822 (check_op): Likewise.
4823 (fail_xr): Likewise.
4824 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
4825 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
4827 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
4830 (__makecontext): Likewise.
4831 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
4834 2019-02-28 Florian Weimer <fweimer@redhat.com>
4837 elf: Add test with a local IFUNC resolver.
4838 * elf/ifuncmain9.c: New file.
4839 * elf/ifuncmain9pic.c: Likewise.
4840 * elf/ifuncmain9picstatic.c: Likewise.
4841 * elf/ifuncmain9pie.c: Likewise.
4842 * elf/ifuncmain9static.c: Likewise.
4843 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
4844 ifuncmain9static, ifuncmain9picstatic.
4845 * elf/Makefile [multi-arch && build-shared] (tests-internal):
4846 Add ifuncmain9, ifuncmain9pic.
4847 * elf/Makefile [multi-arch && build-shared && have-fpie]
4848 (ifunc-pie-tests): Add ifuncmain9pie.
4849 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
4850 (CFLAGS-ifuncmain9picstatic.c): Likewise.
4851 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
4853 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
4855 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
4856 * configure: Regenerated.
4857 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
4859 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4861 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
4862 symbol as __wcspcy instead of wcscpy.
4864 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4866 * include/stdio.h (__renameat2): New hidden prototype.
4867 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
4868 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
4869 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
4870 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
4872 2019-02-27 Joseph Myers <joseph@codesourcery.com>
4874 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
4877 * benchtests/bench-strcpy.c (do_test): Use space before '('.
4878 * benchtests/bench-string.h (cmdline_process_function): Likewise.
4879 * benchtests/bench-strlen.c (do_test): Likewise.
4880 (test_main): Likewise.
4881 * catgets/gencat.c (read_old): Likewise.
4882 * elf/cache.c (load_aux_cache): Likewise.
4883 * iconvdata/bug-iconv8.c (do_test): Likewise.
4884 * math/test-tgmath-ret.c (do_test): Likewise.
4885 * nis/nis_call.c (rec_dirsearch): Likewise.
4886 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4887 * nptl/tst-audit-threads.c (do_test): Likewise.
4888 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
4889 * nss/nss_test1.c (init): Likewise.
4890 * nss/test-netdb.c (test_hosts): Likewise.
4891 * posix/execvpe.c (maybe_script_execute): Likewise.
4892 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
4893 * stdio-common/tst-printf.c (do_test): Likewise.
4894 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
4895 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
4896 * stdlib/qsort.c (STACK_SIZE): Likewise.
4897 * stdlib/test-canon.c (do_test): Likewise.
4898 * stdlib/tst-swapcontext1.c (do_test): Likewise.
4899 * string/memcmp.c (OPSIZ): Likewise.
4900 * string/test-strcpy.c (do_test): Likewise.
4901 (do_random_tests): Likewise.
4902 * string/test-strlen.c (do_test): Likewise.
4903 (test_main): Likewise.
4904 * string/test-strrchr.c (do_test): Likewise.
4905 (do_random_tests): Likewise.
4906 * string/tester.c (test_memrchr): Likewise.
4907 (test_memchr): Likewise.
4908 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
4909 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
4910 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
4911 (read_encoded_value_with_base): Likewise.
4912 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
4913 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
4914 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
4915 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
4916 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
4917 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
4919 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
4921 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
4922 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
4923 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
4925 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
4927 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
4929 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
4931 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
4932 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
4933 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4934 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
4935 * time/test_time.c (main): Likewise.
4937 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4939 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
4941 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
4944 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
4947 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
4949 * include/wchar.h (__wcscpy): New prototype.
4950 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
4951 (__wcscpy): Route internal symbol to generic implementation.
4952 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
4953 Add internal __wcscpy alias.
4954 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
4955 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
4956 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
4957 * wcsmbs/wcscpy.c (wcscpy): Add
4958 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
4959 use generic implementation.
4960 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
4962 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
4965 * sysdeps/m68k/wcpcpy.c: Remove file.
4966 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
4968 2019-02-26 Joseph Myers <joseph@codesourcery.com>
4970 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
4971 than after operators.
4972 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
4973 * sysdeps/mach/hurd/getcwd.c
4974 (__hurd_canonicalize_directory_name_internal): Likewise.
4975 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
4976 (pthread_mutex_consistent): Likewise.
4977 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
4979 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
4980 (__pthread_mutex_transfer_np): Likewise.
4981 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
4982 (__pthread_mutex_unlock): Likewise.
4983 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
4984 (mtx_owned_p): Likewise.
4985 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
4986 (pthread_mutexattr_getrobust): Likewise.
4987 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
4988 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
4990 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4991 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
4992 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
4993 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
4994 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
4995 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4996 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
4998 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
5000 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
5001 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
5002 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
5003 (____longjmp_chk): Likewise.
5004 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
5006 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5007 (INTERNAL_SYSCALL): Likewise.
5008 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5009 (INTERNAL_SYSCALL): Likewise.
5010 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5011 (__get_clockfreq_via_cpuinfo): Likewise.
5013 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
5015 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
5016 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
5017 (WORD_COPY_BWD): Likewise.
5018 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5019 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5021 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
5022 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
5024 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
5026 2019-02-25 Joseph Myers <joseph@codesourcery.com>
5028 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
5029 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
5030 rather than after operators.
5031 * elf/cache.c (print_cache): Likewise.
5032 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
5033 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
5034 * hurd/hurdinit.c (_hurd_setproc): Likewise.
5035 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
5036 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
5037 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
5038 (reauth_proc): Likewise.
5039 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
5040 (__file_name_split_at): Likewise.
5041 (__directory_name_split_at): Likewise.
5042 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
5043 * hurd/port2fd.c (_hurd_port2fd): Likewise.
5044 * iconv/gconv_dl.c (do_print): Likewise.
5045 * inet/netinet/in.h (struct sockaddr_in): Likewise.
5046 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
5047 * locale/setlocale.c (new_composite_name): Likewise.
5048 * malloc/memusagestat.c (main): Likewise.
5049 * misc/fstab.c (fstab_convert): Likewise.
5050 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
5052 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
5053 (getgrent_next_file): Likewise.
5054 (internal_getgrnam_r): Likewise.
5055 (internal_getgrgid_r): Likewise.
5056 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
5058 (internal_getgrent_r): Likewise.
5059 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
5060 (getpwent_next_nss): Likewise.
5061 (getpwent_next_file): Likewise.
5062 (internal_getpwnam_r): Likewise.
5063 (internal_getpwuid_r): Likewise.
5064 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
5066 (getspent_next_nss): Likewise.
5067 (internal_getspnam_r): Likewise.
5068 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
5069 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
5070 * string/strchr.c (STRCHR): Likewise.
5071 * string/strchrnul.c (STRCHRNUL): Likewise.
5072 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
5073 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5074 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
5075 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
5076 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
5078 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
5079 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
5080 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
5081 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
5082 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
5083 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
5084 (open_file): Likewise.
5085 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
5086 (pthread_mutexattr_setprotocol): Likewise.
5087 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5088 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
5089 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
5090 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
5091 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
5093 (elf_machine_rela): Likewise.
5094 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5095 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5096 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
5097 * sysdeps/posix/rename.c (rename): Likewise.
5098 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
5099 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
5100 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
5101 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
5102 * sysdeps/unix/grantpt.c (grantpt): Likewise.
5103 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
5104 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
5106 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
5108 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
5109 * time/tzfile.c (__tzfile_compute): Likewise.
5111 2019-02-22 Joseph Myers <joseph@codesourcery.com>
5113 * benchtests/bench-memmem.c (simple_memmem): Break lines before
5114 rather than after operators.
5115 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
5116 * crypt/md5.c (md5_finish_ctx): Likewise.
5117 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
5118 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
5119 * elf/cache.c (load_aux_cache): Likewise.
5120 * elf/dl-load.c (open_verify): Likewise.
5121 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
5122 * elf/readelflib.c (process_elf_file): Likewise.
5123 * elf/rtld.c (dl_main): Likewise.
5124 * elf/sprof.c (generate_call_graph): Likewise.
5125 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
5126 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
5127 * hurd/dtable.c (reauth_dtable): Likewise.
5128 * hurd/getdport.c (__getdport): Likewise.
5129 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
5130 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
5131 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
5133 * hurd/hurdioctl.c (fioctl): Likewise.
5134 * hurd/hurdselect.c (_hurd_select): Likewise.
5135 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
5136 (STOPSIGS): Likewise.
5137 * hurd/hurdstartup.c (_hurd_startup): Likewise.
5138 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
5139 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
5140 * hurd/msgportdemux.c (msgport_server): Likewise.
5141 * hurd/setauth.c (_hurd_setauth): Likewise.
5142 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
5143 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
5144 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
5145 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
5146 * login/tst-utmp.c (do_check): Likewise.
5147 (simulate_login): Likewise.
5148 * mach/lowlevellock.h (lll_lock): Likewise.
5149 (lll_trylock): Likewise.
5150 * math/test-fenv.c (ALL_EXC): Likewise.
5151 * math/test-fenvinline.c (ALL_EXC): Likewise.
5152 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
5153 * nis/nis_call.c (__do_niscall3): Likewise.
5154 * nis/nis_callback.c (cb_prog_1): Likewise.
5155 * nis/nis_defaults.c (searchaccess): Likewise.
5156 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5157 * nis/nis_ismember.c (internal_ismember): Likewise.
5158 * nis/nis_local_names.c (nis_local_principal): Likewise.
5159 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
5160 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
5162 * nis/ypclnt.c (yp_match): Likewise.
5163 (yp_first): Likewise.
5164 (yp_next): Likewise.
5165 (yp_master): Likewise.
5166 (yp_order): Likewise.
5167 * nscd/hstcache.c (cache_addhst): Likewise.
5168 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5169 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
5170 (internal_getpwuid_r): Likewise.
5171 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
5172 * posix/glob.h (__GLOB_FLAGS): Likewise.
5173 * posix/regcomp.c (peek_token): Likewise.
5174 (peek_token_bracket): Likewise.
5175 (parse_expression): Likewise.
5176 * posix/regexec.c (sift_states_iter_mb): Likewise.
5177 (check_node_accept_bytes): Likewise.
5178 * posix/tst-spawn3.c (do_test): Likewise.
5179 * posix/wordexp-test.c (testit): Likewise.
5180 * posix/wordexp.c (parse_tilde): Likewise.
5181 (exec_comm): Likewise.
5182 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
5183 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
5184 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
5185 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
5186 * stdio-common/tst-fileno.c (do_test): Likewise.
5187 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
5188 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
5189 * stdlib/strtod_l.c (round_and_return): Likewise.
5190 (____STRTOF_INTERNAL): Likewise.
5191 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
5192 * string/strcspn.c (STRCSPN): Likewise.
5193 * string/test-memmem.c (simple_memmem): Likewise.
5194 * termios/tcsetattr.c (tcsetattr): Likewise.
5195 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
5196 * time/asctime.c (asctime_internal): Likewise.
5197 * time/strptime_l.c (__strptime_internal): Likewise.
5198 * time/sys/time.h (timercmp): Likewise.
5199 * time/tzfile.c (__tzfile_compute): Likewise.
5201 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
5204 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
5206 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5208 * argp/argp-help.c (__argp_error_internal): New function,
5209 renamed from __argp_error, but that takes a 'mode_flags'
5210 parameter to control the format of long double parameters.
5211 (__argp_error): Converted into a call __argp_error_internal.
5212 (__argp_failure_internal): New function, renamed from
5213 __argp_failure, but that takes a 'mode_flags' parameter.
5214 (__argp_failure): Converted into a call __argp_failure_internal.
5215 * misc/err.c (__vwarnx_internal): New function, renamed from
5216 vwarnx, but that takes a 'mode_flags' parameter.
5217 (vwarnx): Converted into a call to __vwarnx_internal.
5218 (__vwarn_internal): New function, renamed from vwarn, but that
5219 takes a 'mode_flags' parameter.
5220 (vwarn): Converted into a call to __vwarn_internal.
5221 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
5222 call to __vfxprintf with 'mode_flags'.
5223 (__error_internal): New function, renamed from error, but that
5224 takes a 'mode_flags' parameter.
5225 (error): Converted into a call to __error_internal.
5226 (__error_at_line_internal): New function, renamed from
5227 error_at_line, but that takes a 'mode_flags' parameter.
5228 (error_at_line): Converted into a call to
5229 __error_at_line_internal.
5230 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
5231 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
5234 2019-02-20 Martin Liska <mliska@suse.cz>
5236 * math/Makefile: Install math-vector-fortran.h.
5237 * bits/math-vector-fortran.h: New file.
5238 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
5240 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5242 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
5243 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
5245 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
5247 * nptl/pthread_mutex_trylock.c: Fix comment.
5249 2019-02-19 Carlos O'Donell <carlos@redhat.com>
5251 * nptl/pthread_tryjoin.c: Fix comment.
5253 2019-02-18 Joseph Myers <joseph@codesourcery.com>
5256 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
5257 after R_SPARC_H34 case.
5259 2019-02-18 Florian Weimer <fweimer@redhat.com>
5261 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
5262 (getanswer): Do not call Dprintf.
5263 (res_gethostbyname2_context): Likewise.
5264 (res_gethostbyaddr_context): Likewise.
5266 2019-02-18 Florian Weimer <fweimer@redhat.com>
5268 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
5270 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
5272 * libio/stdfiles.c: Update comment.
5273 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
5274 set _IO_stdin, _IO_stdout, _IO_stderr.
5275 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
5276 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
5278 (_IO_deallocate_file): New inline function.
5279 * libio/iolibio.h (_IO_vprintf): Remove definition.
5280 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
5281 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
5282 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
5284 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
5285 __builtin_expect. Use _IO_legacy_file.
5287 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
5289 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
5290 Initialize ctid with a known value and remove update of ctid
5292 (wait_tid): Adjust arguments and call futex_wait with ctid_val
5293 as assumed current value of ctid_ptr.
5295 2019-02-16 Florian Weimer <fweimer@redhat.com>
5297 Check that non-sysdeps headers have wrapper headers.
5298 * scripts/check-wrapper-headers.py: New file.
5299 * Makefile (tests-special): Add check-wrapper-headers.out.
5300 (check-wrapper-headers.out): New target.
5301 * Rules (tests-special): Add check-wrapper-headers.out.
5302 (check-wrapper-headers.out): New target.
5304 2019-02-16 Florian Weimer <fweimer@redhat.com>
5306 Add missing header wrappers under include/.
5307 * include/ar.h: New file.
5308 * include/bits/mqueue2.h: Likewise.
5309 * include/bits/stdio.h: Likewise.
5310 * include/bits/stdio2.h: Likewise.
5311 * include/fstab.h: Likewise.
5312 * include/fts.h: Likewise.
5313 * include/lastlog.h: Likewise.
5314 * include/netinet/icmp6.h: Likewise.
5315 * include/netinet/igmp.h: Likewise.
5316 * include/netinet/ip6.h: Likewise.
5317 * include/re_comp.h: Likewise.
5318 * include/regexp.h: Likewise.
5319 * include/rpcsvc/bootparam.h: Likewise.
5320 * include/rpcsvc/yp_prot.h: Likewise.
5321 * include/sys/random.h: Likewise.
5322 * include/sys/stropts.h: Likewise.
5323 * include/sys/ttychars.h: Likewise.
5324 * include/sys/vfs.h: Likewise.
5325 * include/wait.h: Likewise.
5327 2019-02-16 Florian Weimer <fweimer@redhat.com>
5329 * nptl_db/proc_service.h: Move to ...
5330 * sysdeps/nptl/proc_service.h: ... here.
5331 * nptl_db/thread_db.h: Move to ...
5332 * sysdeps/nptl/thread_db.h: ... here.
5333 * nptl/descr.h: Include <thread_db.h>.
5335 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5337 * io/Makefile (tests): Add tst-lockf.
5338 * io/lockf.c (lockf): Use __fcntl and only define for
5339 !__OFF_T_MATCHES_OFF64_T.
5340 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
5341 __OFF_T_MATCHES_OFF64_T case.
5342 * io/tst-lockf.c: New file.
5343 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
5344 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
5345 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
5346 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
5347 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
5348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
5349 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
5350 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
5351 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
5353 2019-02-15 Florian Weimer <fweimer@redhat.com>
5356 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
5357 pd->result after the thread descriptor has been freed.
5359 2019-02-15 Joseph Myers <joseph@codesourcery.com>
5361 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
5362 from function return type.
5364 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
5366 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5368 * scripts/test_printers_common.py: Set TERM to a known harmless
5371 2019-02-14 Joseph Myers <joseph@codesourcery.com>
5373 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
5374 (xdr_u_int): Likewise.
5375 (xdr_enum): Likewise.
5376 (xdr_bytes): Reword fall-through comment.
5377 (xdr_string): Likewise.
5379 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5382 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
5383 (tests): Add tst-join8 tst-join9.
5384 * nptl/lll_timedwait_tid.c: Remove file.
5385 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
5386 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
5387 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
5388 * nptl/pthread_join_common.c (timedwait_tid): New function.
5389 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
5391 * nptl/tst-join5.c (thread_join): New function.
5392 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
5394 * nptl/tst-join8.c: New file.
5395 * nptl/tst-join9.c: Likewise.
5396 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
5397 lll_futex_timed_wait_cancel): Add generic macros.
5398 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
5400 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5401 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5402 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5403 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
5405 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
5407 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5408 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
5409 (lll_futex_timed_wait_cancel): New macro.
5411 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
5413 * benchtests/Makefile: Add malloc-simple benchmark.
5414 * benchtests/bench-malloc-simple.c: New benchmark.
5416 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
5418 * benchtests/bench-memmove.c (do_one_test): Remove unused
5421 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
5425 2019-01-13 Jim Wilson <jimw@sifive.com>
5428 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
5429 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
5431 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
5433 * nptl/Makefile (tests): Add tst-unwind-thread.
5434 (CFLAGS-tst-unwind-thread.c): Define.
5435 * nptl/tst-unwind-thread.c: New file.
5436 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
5439 2019-02-13 Joseph Myers <joseph@codesourcery.com>
5441 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
5443 * nis/nis_call.c (__do_niscall3): Likewise.
5445 * catgets/gencat.c (normalize_line): Use braces around empty
5447 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
5448 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
5449 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
5450 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
5451 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
5452 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
5453 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
5456 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
5459 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
5461 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
5462 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
5463 * benchtests/bench-strchr.c (stupid_strchr): Remove.
5464 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
5465 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
5466 * benchtests/bench-strlen.c (builtin_strlen): Remove.
5467 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
5468 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
5469 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
5470 * benchtests/bench-strspn.c (stupid_strspn): Remove.
5471 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
5472 * benchtests/bench-bcopy.c: Delete file.
5473 * benchtests/bench-bzero.c: Likewise.
5474 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
5475 (simple_memccpy): Remove.
5476 (generic_memccpy): Add function.
5477 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
5478 * benchtests/bench-memmove.c (simple_bcopy): Remove.
5479 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
5480 (generic_mempcpy): Add new function.
5481 * benchtests/bench-memset.c (simple_bzero): Remove.
5482 (builtin_bzero): Remove.
5483 (builtin_memset): Remove.
5484 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
5485 (generic_rawmemchr): Add new function.
5487 2019-02-12 Florian Weimer <fweimer@redhat.com>
5489 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
5491 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5494 * elf/Makefile (tests): Add tst-audit13.
5495 (modules-names): Add tst-audit13mod1.
5496 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
5498 * elf/tst-audit13.c: New file.
5499 * elf/tst-audit13mod1.c: Likewise.
5501 2019-02-12 Florian Weimer <fweimer@redhat.com>
5504 * elf/rtld.c (unload_audit_module): New function.
5505 (report_audit_module_load_error): Likewise.
5506 (load_audit_module): Likewise. Extracted from dl_main. Call
5507 _dl_close if the laversion symbol cannot be found. Use early
5508 returns for error handling. Add malloc error check. Check for a
5509 zero return value from la_version. Remove spurious comment about
5510 static TLS initialization. Remove useless casts.
5511 (notify_audit_modules_of_loaded_object): New function. Extracted
5513 (load_audit_module): Likewise.
5514 (dl_main): Call load_audit_modules.
5516 2019-02-12 Joseph Myers <joseph@codesourcery.com>
5518 * elf/dl-exception.c (_dl_exception_create_format): Add
5519 fall-through comments.
5520 * elf/ldconfig.c (parse_conf_include): Likewise.
5521 * elf/rtld.c (print_statistics): Likewise.
5522 * locale/programs/charmap.c (parse_charmap): Likewise.
5523 * misc/mntent_r.c (__getmntent_r): Likewise.
5524 * posix/wordexp.c (parse_arith): Likewise.
5525 (parse_backtick): Likewise.
5526 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
5527 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
5528 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5530 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
5532 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
5533 Use float instead of double.
5535 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
5537 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
5539 2019-02-08 Joseph Myers <joseph@codesourcery.com>
5541 * sysdeps/powerpc/bits/mathinline.h: Remove.
5543 2019-02-08 Florian Weimer <fweimer@redhat.com>
5545 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
5546 * math/bits/math-finite.h: Move to ...
5547 * bits/math-finite.h: ... here.
5549 2019-02-08 Florian Weimer <fweimer@redhat.com>
5551 * sysdeps/generic/bits/unistd_ext.h: Move to ...
5552 * bits/unistd_ext.h: here.
5554 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
5557 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
5558 * nss/tst-nss-files-hosts-long.c: New file.
5559 * nss/tst-nss-files-hosts-long.root: New directory.
5560 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
5561 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
5563 2019-02-08 Florian Weimer <fweimer@redhat.com>
5565 * include/bits/unistd_ext.h: Remove file.
5566 * posix/bits/unistd_ext.h: Move to ...
5567 * sysdeps/generic/bits/unistd_ext.h: ... here.
5569 2019-02-08 Florian Weimer <fweimer@redhat.com>
5571 * include/bits/unistd_ext.h: New file.
5573 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
5575 * time/tst-strftime2.c: Use array_length macros instead of magic
5578 2019-02-08 Florian Weimer <fweimer@redhat.com>
5581 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
5583 * nptl/register-atfork.c (__run_fork_handlers): Only perform
5584 locking if the new do_locking argument is true.
5585 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
5586 __run_fork_handlers.
5588 2019-02-08 Florian Weimer <fweimer@redhat.com>
5591 Linux: Add gettid system call wrapper.
5592 * posix/Makefile (headers): Add bits/unistd_ext.h.
5593 * posix/bits/unistd_ext.h: New file.
5594 * posix/unistd.h: Include it.
5595 * manual/process.texi (Process Identification): Document gettid.
5596 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
5597 tst-gettid, tst-gettid-kill.
5598 (tst-gettid): Link with $(shared-thread-library).
5599 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
5600 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
5601 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
5602 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
5603 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
5604 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
5606 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
5608 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
5609 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
5611 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
5613 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
5615 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
5617 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
5619 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
5621 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
5623 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5624 (GLIBC_2.30): Likewise.
5625 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5626 (GLIBC_2.30): Likewise.
5627 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5628 (GLIBC_2.30): Likewise.
5629 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5630 (GLIBC_2.30): Likewise.
5631 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
5633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5634 (GLIBC_2.30): Likewise.
5635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5636 (GLIBC_2.30): Likewise.
5637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
5638 (GLIBC_2.30): Likewise.
5639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
5640 (GLIBC_2.30): Likewise.
5641 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
5643 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
5645 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
5647 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
5648 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
5650 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
5652 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
5654 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
5656 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
5658 2019-02-08 Florian Weimer <fweimer@redhat.com>
5660 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
5661 compatibility symbols.
5663 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
5666 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5667 Add compiler barriers and comments.
5669 2019-02-07 Florian Weimer <fweimer@redhat.com>
5671 * include/array_length.h (array_length): Do not use a statement
5672 expression and _Static_assert, so that array_length can be used at
5673 file scope and as a constant expression.
5675 2019-02-07 Florian Weimer <fweimer@redhat.com>
5677 * support/xdlfcn.h (xdlmopen): Declare.
5678 * support/xdlmopen.c: New file.
5679 * support/Makefile (libsupport-routines): Add xdlmopen.
5681 2019-02-06 Joseph Myers <joseph@codesourcery.com>
5683 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
5684 before return type, without separate inline.
5685 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
5686 * elf/dl-tunables.h (tunable_is_name): Likewise.
5687 * malloc/malloc.c (do_set_trim_threshold): Likewise.
5688 (do_set_top_pad): Likewise.
5689 (do_set_mmap_threshold): Likewise.
5690 (do_set_mmaps_max): Likewise.
5691 (do_set_mallopt_check): Likewise.
5692 (do_set_perturb_byte): Likewise.
5693 (do_set_arena_test): Likewise.
5694 (do_set_arena_max): Likewise.
5695 (do_set_tcache_max): Likewise.
5696 (do_set_tcache_count): Likewise.
5697 (do_set_tcache_unsorted_limit): Likewise.
5698 * nis/nis_subr.c (count_dots): Likewise.
5699 * nptl/allocatestack.c (advise_stack_range): Likewise.
5700 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
5702 (reduce_sincos): Likewise.
5703 (do_sincos): Likewise.
5704 * sysdeps/unix/sysv/linux/x86/elision-conf.c
5705 (do_set_elision_enable): Likewise.
5706 (TUNABLE_CALLBACK_FNDECL): Likewise.
5708 2019-02-06 Florian Weimer <fweimer@redhat.com>
5710 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
5711 (xdlsym): Use dlerror to detect a NULL symbol.
5713 2019-02-06 Florian Weimer <fweimer@redhat.com>
5715 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
5717 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5719 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
5721 * libio/tst-bz24153.c (wide): Use wide char format specifier.
5723 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
5725 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
5726 __wmemcmp and weak alias to wmemcmp.
5728 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
5731 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
5732 TLS_TCB_AT_TP tls variant.
5733 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
5734 Add alignment checks.
5735 * support/Makefile (libsupport-routines): Add xposix_memalign and
5737 * support/support.h: Add xposix_memalign.
5738 * support/xthread.h: Add xpthread_attr_setstack.
5739 * support/xposix_memalign.c: New File.
5740 * support/xpthread_attr_setstack.c: Likewise.
5742 2019-02-05 Florian Weimer <fweimer@redhat.com>
5745 arm: Use "nr" constraint for Systemtap probes, to avoid the
5746 compiler using memory operands for constants, due to the "o"
5747 alternative in the default "nor" constraint.
5748 * include/stap-probe.h [USE_STAP_PROBE]: Include
5749 <stap-probe-machine.h>
5750 * sysdeps/generic/stap-probe-machine.h: New file.
5751 * sysdeps/arm/stap-probe-machine.h: Likewise.
5753 2019-02-04 Joseph Myers <joseph@codesourcery.com>
5755 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
5756 with 0, not tcache->entries[tc_idx].
5758 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
5761 2019-02-04 Andreas Schwab <schwab@suse.de>
5765 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
5766 looking up collating elements match against (wide) character
5767 sequence instead of name. Correct alignment adjustment.
5768 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
5769 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
5770 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
5771 (LOCALES): Add cs_CZ.ISO-8859-2.
5772 * posix/tst-fnmatch4.c: New file.
5773 * posix/tst-fnmatch5.c: New file.
5774 * include/wchar.h (__wmemcmp): Declare.
5775 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
5776 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
5777 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
5778 * sysdeps/s390/wmemcmp.c: Likewise.
5780 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
5784 * NEWS: Updated for CVE-2019-7309.
5785 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
5786 upper 32 bits of RDX register for x32. Use unsigned Jcc
5787 instructions, instead of signed.
5788 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
5789 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
5791 2019-02-04 Florian Weimer <fweimer@redhat.com>
5793 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
5794 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
5795 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
5797 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
5798 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
5799 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
5800 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
5802 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
5804 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
5806 (posix_spawn_file_actions_addopen): Likewise.
5807 (posix_spawn_file_actions_addclose): Likewise.
5808 (posix_spawn_file_actions_adddup2): Likewise.
5809 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
5811 (posix_spawn_file_actions_addfchdir_np): Likewise.
5813 2019-02-04 David Newall <glibc@davidnewall.com>
5815 elf: Implement --preload option for the dynamic linker.
5816 * elf/rtld.c (preloadarg): New variable.
5817 (handle_preload_list): Pass through “where” argument to
5819 (dl_main): Handle "--preload" and add second call to
5820 handle_preload_list.
5821 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
5822 (tst-rtld-preload-OBJS): Set variable.
5823 (tst-rtld-preload.out): New target.
5824 * elf/tst-rtld-preload.sh: New file.
5826 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
5828 * Makefile (testrun.sh): Exit in case of incorrect argument.
5830 2019-02-04 Florian Weimer <fweimer@redhat.com>
5832 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
5835 2019-02-03 Florian Weimer <fweimer@redhat.com>
5837 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
5838 implicit overflow checks.
5840 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
5842 * stdlib/isomac.c: Include <unistd.h>.
5844 2019-02-03 Florian Weimer <fweimer@redhat.com>
5846 * include/time.h (__tzfile_default): Use int, not long int, for
5848 * time/tzfile.c (struct ttinfo): Change type of the offset member
5850 (__tzfile_read): Remove useless cast.
5851 (__tzfile_default): Adjust prototype.
5852 * time/tzset.c (tz_rule): Change type of the offset member to int.
5853 (parse_offset): Change the type of the sign variable to int.
5855 2019-02-03 Florian Weimer <fweimer@redhat.com>
5858 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
5859 * libio/getchar.c (getchar): Likewise.
5860 * libio/getchar_u.c (getchar_unlocked): Likewise.
5861 * libio/getwchar.c (getwchar): Likewise.
5862 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
5863 * libio/iogets.c (_IO_gets): Likewise.
5864 * libio/vscanf.c (_IO_vscanf): Likewise.
5865 * libio/vwscanf.c (__vwscanf): Likewise.
5866 * libio/tst-bz24153.c: New file.
5867 * libio/Makefile (tests): Add it.
5869 2019-02-02 Florian Weimer <fweimer@redhat.com>
5872 * manual/resource.texi (Basic Scheduling Functions): Add
5873 portability note. Change process to task throughout the section.
5874 Remove incorrect comment about sched_yield as it affects
5875 tasks/threads, not entire processes.
5876 * sysdeps/unix/sysv/linux/bits/posix_opt.h
5877 (_POSIX_PRIORITY_SCHEDULING): Update comment.
5879 2019-02-01 Joseph Myers <joseph@codesourcery.com>
5881 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
5882 * configure: Regenerated.
5883 * manual/install.texi (Tools for Compilation): Update minimum GCC
5885 * INSTALL: Regenerated.
5887 2019-02-01 Florian Weimer <fweimer@redhat.com>
5889 * support/support_test_compare_string.c
5890 (support_test_compare_string): Use "string" in error message.
5891 * support/tst-test_compare_string.c (do_test): Adjust.
5893 2019-02-01 Florian Weimer <fweimer@redhat.com>
5895 * support/support_format_address_family.c
5896 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
5898 2019-02-01 Florian Weimer <fweimer@redhat.com>
5900 * manual/socket.texi (Internet Address Formats): Clarify the byte
5901 order of struct sockaddr_in, struct sockaddr_in6. Document
5902 sin6_flowinfo and sin6_scope_id.
5904 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
5906 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
5907 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
5908 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
5909 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
5910 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
5911 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
5913 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
5915 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
5916 [!MEMCHR](MEMCHR): Set to __memchr.
5917 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
5918 Add memchr_generic and memchr_nosimd.
5919 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
5920 (__libc_ifunc_impl_list): Add memchr ifuncs.
5921 * sysdeps/aarch64/multiarch/memchr.c: New file.
5922 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
5923 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
5925 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
5927 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
5929 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
5930 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
5931 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
5932 Add IS_EMAG check for ifunc dispatch.
5933 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
5934 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
5936 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
5938 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
5939 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
5941 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
5944 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
5946 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
5948 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
5950 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
5951 syscall-template file.
5953 2019-01-31 Carlos O'Donell <carlos@redhat.com>
5954 Torvald Riegel <triegel@redhat.com>
5955 Rik Prohaska <prohaska7@gmail.com>
5958 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
5959 tst-rwlock-trywrlock-stall.
5960 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
5961 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
5962 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
5963 Set __wrphase_fute to 1 only if we started the write phase.
5964 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
5965 * nptl/tst-rwlock-trywrlock-stall.c: New file.
5966 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
5967 * support/xpthread_rwlock_destroy.c: New file.
5968 * support/xthread.h: Declare xpthread_rwlock_destroy.
5970 2019-02-01 Joseph Myers <joseph@codesourcery.com>
5972 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
5975 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5978 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
5979 * libio/fileops.c (_IO_new_file_underflow): Likewise
5980 * libio/wfileops.c (_IO_wfile_underflow): Likewise
5981 * libio/putchar.c (putchar): Likewise.
5982 * libio/putchar_u.c (putchar_unlocked): Likewise.
5983 * libio/putwchar.c (putchar): Likewise.
5984 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
5985 * libio/tst-bz24051.c: New test.
5986 * libio/Makefile (tests): Add tst-bz24051
5988 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
5991 regex: fix read overrun [BZ #24114]
5992 Problem found by AddressSanitizer, reported by Hongxu Chen in:
5993 https://debbugs.gnu.org/34140
5994 * posix/regexec.c (proceed_next_node):
5995 Do not read past end of input buffer.
5997 2019-01-31 Florian Weimer <fweimer@redhat.com>
6000 * nss/nss_files/files-alias.c (get_next_alias): Handle
6001 continuation line without newline at the end.
6002 * nss/tst-nss-files-alias-truncated.c: New file.
6003 * nss/Makefile [$(build-shared)] (tests): Add
6004 tst-nss-files-alias-truncated.
6005 (tst-nss-files-alias-truncated): Link with libnss_files.so.
6006 * support/namespace.h (struct support_chroot_configuration): Add
6008 (struct support_chroot): Add path_aliases member.
6009 * support/support_chroot.c (support_chroot_create): Handle
6011 (support_chroot_free): Free path_aliases.
6013 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
6015 * version.h (RELEASE): Set to "development".
6016 (VERSION): Set to "2.29.9000".
6017 * NEWS: Add section for 2.30.
6019 * version.h (RELEASE): Set to "stable".
6020 (VERSION): Set to "2.29".
6021 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
6023 * NEWS: Add the list of bugs fixed in 2.29.
6024 * manual/contrib.texi: Update contributors list with some more
6026 * manual/install.texi: Update latest versions of packages
6028 * INSTALL: Regenerated.
6030 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
6032 * po/be.po: Update translations.
6033 * po/bg.po: Likewise.
6034 * po/ca.po: Likewise.
6035 * po/cs.po: Likewise.
6036 * po/da.po: Likewise.
6037 * po/de.po: Likewise.
6038 * po/el.po: Likewise.
6039 * po/eo.po: Likewise.
6040 * po/es.po: Likewise.
6041 * po/fi.po: Likewise.
6042 * po/fr.po: Likewise.
6043 * po/gl.po: Likewise.
6044 * po/hr.po: Likewise.
6045 * po/hu.po: Likewise.
6046 * po/ia.po: Likewise.
6047 * po/id.po: Likewise.
6048 * po/it.po: Likewise.
6049 * po/ja.po: Likewise.
6050 * po/ko.po: Likewise.
6051 * po/lt.po: Likewise.
6052 * po/nb.po: Likewise.
6053 * po/nl.po: Likewise.
6054 * po/pl.po: Likewise.
6055 * po/pt_BR.po: Likewise.
6056 * po/ru.po: Likewise.
6057 * po/rw.po: Likewise.
6058 * po/sk.po: Likewise.
6059 * po/sl.po: Likewise.
6060 * po/sv.po: Likewise.
6061 * po/tr.po: Likewise.
6062 * po/uk.po: Likewise.
6063 * po/vi.po: Likewise.
6064 * po/zh_CN.po: Likewise.
6065 * po/zh_TW.po: Likewise.
6067 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
6070 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
6071 of $f3 register on $y_is_neg path.
6073 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
6076 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
6077 sigaltstack.ss_flags.
6079 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
6082 * manual/time.texi (strftime): Document "%Ey".
6083 * time/strftime_l.c (__strftime_internal): Set the default width
6084 padding with zero of "%Ey" to 2.
6087 * manual/time.texi (strftime): Document "%EC" and "%EY".
6088 * time/Makefile (tests): Add tst-strftime2.
6089 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
6090 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
6091 override padding for "%Ey".
6092 If an optional flag ('_' or '-') is specified to "%EY", interpret the
6093 "%Ey" in the subformat as if decorated with that flag.
6094 * time/tst-strftime2.c: New file.
6096 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6098 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
6102 * elf/Makefile (tests): Add tst-audit13.
6103 (modules-names): Add tst-audit13mod1.
6104 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
6106 * elf/rtld.c (dl_main): Handle invalid audit module version.
6107 * elf/tst-audit13.c: New file.
6108 * elf/tst-audit13mod1.c: Likewise.
6110 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
6112 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
6113 returned by __hurd_at_flags.
6114 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
6115 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
6116 directly instead of __hurd_file_name_lookup.
6118 2019-01-21 Joseph Myers <joseph@codesourcery.com>
6120 * scripts/build-many-glibcs.py (Context.checkout): Default
6121 binutils version to 2.32 branch.
6123 2019-01-21 Florian Weimer <fweimer@redhat.com>
6127 resolv: Reject trailing characters in host names
6128 * include/arpa/inet.h (__inet_aton_exact): Declare.
6129 (inet_aton): Remove hidden prototype. No longer used internally.
6130 * nscd/gai.c (__inet_aton): Do not define.
6131 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
6132 * nss/digits_dots.c (__inet_aton): Likewise.
6133 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
6134 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
6135 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
6136 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
6137 (tst-resolv-trailing): Likewise.
6138 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
6140 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
6141 Make static. Add endp parameter.
6142 (__inet_aton_exact): New function.
6143 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
6144 (__inet_addr): Call inet_aton_end.
6145 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
6146 not just IPv6. Call __inet_aton_exact.
6147 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
6148 (tests): Make const. Add additional test cases with trailing
6150 (do_test): Use array_length.
6151 * resolv/tst-inet_aton_exact.c: New file.
6152 * resolv/tst-resolv-trailing.c: Likewise.
6153 * resolv/tst-resolv-nondecimal.c: Likewise.
6154 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
6156 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6160 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
6161 Clear the upper 32 bits of RSI register.
6162 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
6163 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
6164 and tst-size_t-wcsnlen.
6165 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
6166 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
6168 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6172 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
6173 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6174 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6175 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
6176 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
6178 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6182 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
6183 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6184 * sysdeps/x86_64/strcmp.S: Likewise.
6185 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
6186 tst-size_t-strncmp and tst-size_t-wcsncmp.
6187 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
6188 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
6189 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
6191 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6195 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
6196 RDX_LP for length. Clear the upper 32 bits of RDX register.
6197 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
6198 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
6199 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
6200 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
6202 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6206 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
6207 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
6208 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
6209 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
6211 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6215 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
6216 length. Clear the upper 32 bits of RDX register.
6217 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6218 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
6220 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6222 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
6224 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
6226 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6230 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
6231 length. Clear the upper 32 bits of RDX register.
6232 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6233 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6234 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
6236 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
6237 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
6239 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6243 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
6244 upper 32 bits of RDX register.
6245 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
6246 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
6248 * sysdeps/x86_64/x32/test-size_t.h: New file.
6249 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
6250 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
6252 2019-01-18 Florian Weimer <fweimer@redhat.com>
6255 resolv: Do not send queries for non-host-names in nss_dns.
6256 * resolv/nss_dns/dns-host.c (check_name): New function.
6257 (_nss_dns_gethostbyname2_r): Use it.
6258 (_nss_dns_gethostbyname_r): Likewise.
6259 (_nss_dns_gethostbyname4_r): Likewise.
6261 2019-01-21 Florian Weimer <fweimer@redhat.com>
6263 * resolv/inet_addr.c: Reformat to GNU style.
6264 (__inet_addr, __inet_aton): Update comment.
6266 2019-01-18 Florian Weimer <fweimer@redhat.com>
6268 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
6269 ("malloc: Use current (C11-style) atomics for fastbin access").
6270 This commit introduces a substantial performance regression on
6272 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
6273 (REMOVE_FB): Define.
6274 (_int_malloc): Use it and reindent.
6275 (_int_free): Use CAS loop with
6276 catomic_compare_and_exchange_val_rel.
6277 (malloc_consolidate): Use atomic_exchange_acq.
6280 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
6282 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
6284 (LDFLAGS-tst-minsigstksz-2): Likewise.
6285 (LDFLAGS-tst-minsigstksz-3): Likewise.
6286 (LDFLAGS-tst-minsigstksz-3a): Likewise.
6287 (LDFLAGS-tst-minsigstksz-4): Likewise.
6289 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
6291 * manual/time.texi (strftime): Fix the wording to "alternative" rather
6294 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
6296 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
6298 2019-01-16 Zack Weinberg <zackw@panix.com>
6300 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
6301 (xget_sigstack_location): New test support functions.
6302 * support/xsigstack.c: New file, implementing them.
6303 * support/tst-xsigstack.c: New test for them.
6304 * support/Makefile: Update.
6306 * signal/tst-minsigstksz-1.c
6307 * signal/tst-minsigstksz-2.c
6308 * signal/tst-minsigstksz-3.c
6309 * signal/tst-minsigstksz-3a.c
6310 * signal/tst-minsigstksz-4.c: New tests.
6311 * signal/Makefile: Run them.
6313 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
6315 * po/libc.pot: Regenerate.
6317 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6319 * math/libm-test-fma.inc (fma_test_data): Set
6320 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
6322 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
6324 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
6325 (do_test): Changed __vector __int128_t to __vector unsigned int.
6327 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6329 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6330 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
6331 stpcpy-avx2 and stpncpy-avx2.
6332 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
6333 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
6334 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
6336 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
6337 ifunc-strcpy.h}: rename header for a more generic name.
6338 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
6339 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
6340 AVX unaligned load is fast and vzeroupper is preferred.
6341 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
6342 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
6343 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
6344 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
6345 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
6346 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
6348 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
6350 * argp/argp-help.c: Fix typo in comment.
6351 * misc/sys/cdefs.h: Likewise.
6352 * posix/regexec.c (sift_states_iter_mb): Likewise.
6353 * socket/sockatmark.c: Likewise.
6354 * socket/sys/socket.h: Likewise.
6355 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
6356 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
6357 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
6358 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6359 * sysdeps/unix/sockatmark.c: Likewise.
6360 * time/strptime_l.c: Likewise.
6362 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
6364 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
6365 missing space after the cast of "_NL_CURRENT".
6367 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
6369 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
6370 ifdef to fix read of VSCR.
6371 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
6372 tst-ucontext-ppc64-vscr.c to test list.
6373 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
6375 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
6377 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
6380 2019-01-09 Jim Wilson <jimw@sifive.com>
6382 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
6384 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
6386 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
6387 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
6388 __memcpy_falkor for ares.
6389 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
6391 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6394 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
6397 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
6398 4_FP_W_TYPEs are used for IEEE quad precision.
6399 * soft-fp/extendhftf2.c: Likewise.
6400 * soft-fp/extendsftf2.c: Likewise.
6401 * soft-fp/extendxftf2.c: Likewise.
6402 * soft-fp/trunctfdf2.c: Likewise.
6403 * soft-fp/trunctfhf2.c: Likewise.
6404 * soft-fp/trunctfsf2.c: Likewise.
6405 * soft-fp/trunctfxf2.c: Likewise.
6406 * sysdeps/alpha/ots_cvttx.c: Likewise.
6407 * sysdeps/alpha/ots_cvtxt.c: Likewise.
6408 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
6409 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
6410 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
6411 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
6412 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
6413 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
6414 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
6415 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
6416 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
6417 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
6418 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
6419 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
6420 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
6421 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
6422 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
6423 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
6425 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
6428 * Makeconfig: Build libm with -fno-math-errno but build the remaining
6429 code with -fmath-errno.
6430 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
6431 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
6432 * string/test-strerror-errno.c: New file.
6434 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
6437 * localedata/locales/en_US (date_fmt): Add, set to
6438 "%a %d %b %Y %r %Z".
6440 2019-01-07 Florian Weimer <fweimer@redhat.com>
6443 * manual/arith.texi (Math Error Reporting): Use @code{errno}
6444 instead of @var{errno}.
6445 (Parsing of Integers): Likewise.
6446 (Parsing of Floats): Likewise.
6447 * manual/filesys.texi (Working with Directory Trees): Likewise.
6448 (Temporary Files): Likewise.
6449 * manual/job.texi (Terminal Access Functions): Likewise.
6450 * manual/llio.texi (Synchronizing I/O): Likewise.
6451 * manual/math.texi (SVID Random): Likewise.
6452 * manual/message.texi (The catgets Functions): Likewise.
6453 (Translation with gettext): Likewise.
6454 (Locating gettext catalog): Likewise.
6455 (Charset conversion in gettext): Likewise.
6456 * manual/nss.texi (NSS Module Function Internals): Likewise.
6457 * manual/search.texi (Hash Search Function): Likewise.
6458 * manual/setjmp.texi (System V contexts): Likewise.
6459 * manual/time.texi (Sleeping): Likewise.
6460 * manual/users.texi (Lookup User): Likewise.
6461 (Lookup Group): Likewise.
6463 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6465 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
6468 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
6471 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
6472 __builtin_unreachable for default case in switch.
6473 (__ieee754_yn): Likewise.
6474 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6475 (__ieee754_ynl): Likewise.
6476 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6477 (__ieee754_ynl): Likewise.
6478 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6479 (__ieee754_ynl): Likewise.
6481 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
6483 * manual/maint.texi: Use @{ and @}.
6485 2019-01-04 Florian Weimer <fweimer@redhat.com>
6487 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
6489 (do_in_chroot_1): Call it.
6491 Improve error reporting in case it is not possible to create a
6492 collision for the PTY name required by the test.
6494 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6496 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
6497 lll_wait_tid with timeout.
6498 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
6499 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
6500 futex_reltimed_wait_cancelable for cancelabla mode.
6501 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
6502 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
6504 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
6505 * sysdeps/posix/waitid.c (__sigwait): Likewise.
6506 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
6507 SYSCALL_CANCEL_NCS): New macro.
6508 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
6509 (lll_timedwait_tid): Remove macro.
6510 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
6512 (lll_timedwait_tid): Likewise.
6513 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
6515 (lll_timedwait_tid): Likewise.
6516 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
6518 (lll_timedwait_tid): Likewise.
6519 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
6520 Use INTERNAL_SYSCALL_CANCEL.
6521 * sysdeps/unix/sysv/linux/futex-internal.h
6522 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
6523 instead of __pthread_{enable,disable}_asynccancel.
6524 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
6525 (lll_futex_wait_cancel): New macro.
6527 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
6528 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
6530 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
6531 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
6533 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
6534 in backtrace analysis.
6535 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
6537 (tf_send): Likewise.
6539 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
6540 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
6541 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
6542 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
6543 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
6544 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
6545 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
6546 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
6547 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
6548 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
6549 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
6550 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
6552 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
6553 tst-cancel-wrappers.sh.
6554 (generated): Remove tst-cancel-wrappers.out.
6555 (tst-cancel-wrappers.out): Remove rule.
6556 * nptl/tst-cancel-wrappers.sh: Remove file.
6558 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6560 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
6561 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
6564 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6567 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
6568 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
6569 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
6570 close-on-exec reset for adddup2 file action.
6571 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
6573 2019-01-03 Zack Weinberg <zackw@panix.com>
6575 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
6576 parameter. Only use deprecated scanf when __USE_GNU is defined
6577 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
6578 than 201103L, whichever is relevant for the language being compiled.
6580 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
6581 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
6582 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
6583 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
6584 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
6588 * libio/iovswscanf.c
6593 * stdio-common/fscanf.c
6594 * stdio-common/scanf.c
6595 * stdio-common/vfscanf.c
6596 * stdio-common/vfwscanf.c
6597 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6598 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
6599 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
6600 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
6601 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
6602 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
6603 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
6604 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
6605 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
6606 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
6607 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
6608 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
6609 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
6610 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
6611 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
6613 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
6614 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
6615 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
6617 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
6618 with a preprocessor macro.
6620 * stdio-common/bug21.c, stdio-common/scanf14.c:
6621 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
6622 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
6623 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
6624 to xscanf, xfscanf, xsscanf.
6626 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
6627 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
6628 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
6629 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
6631 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
6632 override feature selection macros or provide definitions of u_char etc.
6633 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
6634 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
6635 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
6638 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6640 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6641 bits/termios-misc.h.
6642 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
6643 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6644 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6645 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6646 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
6647 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
6649 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
6650 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
6651 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
6652 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
6653 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
6654 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
6656 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
6657 (sysdep_headers): Add termios-misc.h.
6659 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
6660 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6661 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6663 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6665 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
6666 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
6667 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
6668 TCSAFLUSH): Move to termios-tcflow.h.
6669 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6670 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6671 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6672 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6674 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6676 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
6677 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
6678 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
6679 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
6680 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
6681 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
6682 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
6683 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
6685 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6686 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6687 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6688 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6690 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6692 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
6693 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
6694 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
6695 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
6696 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
6698 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6699 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6700 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6701 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6704 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6706 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
6707 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
6708 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
6709 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
6710 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
6711 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
6712 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
6713 __MAX_BAUD): Move to termios-baud.h.
6714 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
6715 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
6716 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6717 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6718 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6720 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
6722 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
6723 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
6724 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
6725 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
6726 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
6727 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
6729 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
6730 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
6732 [USE_MISC] (XTABS): Likewise.
6733 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6734 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6735 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6736 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
6738 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
6740 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
6741 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
6742 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
6743 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
6744 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
6745 IUTF8): Move to termios-c_iflag.h.
6746 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6747 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6748 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6749 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6751 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
6753 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
6754 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
6755 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
6756 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
6757 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
6758 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
6759 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
6760 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
6761 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6762 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6763 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6764 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6766 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
6767 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
6768 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
6769 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
6770 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6772 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
6774 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
6776 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
6778 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
6780 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
6782 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
6783 _HAVE_C_OSPEED): Define.
6784 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
6785 _HAVE_C_OSPEED): Likewise.
6786 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
6787 _HAVE_C_OSPEED): Likewise.
6788 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
6789 (cfsetospeed): Check for define value instead of existence.
6790 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
6791 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
6792 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
6793 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
6794 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
6797 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
6799 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
6800 (TIOCSER_TEMT): Likewise.
6801 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
6802 (TEOCSER_TEMT): Likewise.
6804 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
6807 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
6809 2019-01-02 Joseph Myers <joseph@codesourcery.com>
6811 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
6813 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
6815 * sysdeps/htl/pt-barrierattr-setpshared.c
6816 (pthread_barrierattr_setpshared): Add stub warning.
6817 * sysdeps/htl/pt-condattr-setpshared.c
6818 (pthread_condattr_setpshared): Likewise.
6819 * sysdeps/htl/pt-mutexattr-setpshared.c
6820 (pthread_mutexattr_setpshared): Likewise.
6821 * sysdeps/htl/pt-rwlockattr-setpshared.c
6822 (pthread_rwlockattr_setpshared): Likewise.
6823 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
6824 (pthread_mutexattr_setpshared): Likewise.
6826 2019-01-02 Joseph Myers <joseph@codesourcery.com>
6828 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
6829 constants to match with Linux 4.20.
6831 * sysdeps/mips/mips32/libm-test-ulps: Update.
6832 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6834 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
6837 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
6838 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
6839 than __typeof (...) for the a_ptr variable.
6841 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6843 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
6844 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
6845 * libio/Makefile (tests): Add tst-sprintf-ub and
6847 (CFLAGS-tst-sprintf-ub.c): New variable.
6848 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
6849 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
6850 destination buffer and check for overflows in fortified mode.
6851 * libio/libioP.h (PRINTF_CHK): New macro.
6852 * libio/tst-sprintf-chk-ub.c: New file.
6853 * libio/tst-sprintf-ub.c: Likewise.
6855 2019-01-02 Florian Weimer <fweimer@redhat.com>
6858 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
6861 2019-01-02 Florian Weimer <fweimer@redhat.com>
6863 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
6865 2019-01-01 Joseph Myers <joseph@codesourcery.com>
6867 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
6870 * sysdeps/unix/sysv/linux/netpacket/packet.h
6871 (PACKET_IGNORE_OUTGOING): New macro.
6873 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
6876 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6878 (riscv_flush_icache): New syscall.
6880 * manual/texinfo.tex: Update to version 2018-12-28.17 with
6881 trailing whitespace removed.
6882 * scripts/config.guess: Update to version 2019-01-01.
6883 * scripts/config.sub: Update to version 2019-01-01.
6884 * scripts/move-if-change: Update from gnulib.
6886 * NEWS: Update copyright dates.
6887 * catgets/gencat.c (print_version): Likewise.
6888 * csu/version.c (banner): Likewise.
6889 * debug/catchsegv.sh: Likewise.
6890 * debug/pcprofiledump.c (print_version): Likewise.
6891 * debug/xtrace.sh (do_version): Likewise.
6892 * elf/ldconfig.c (print_version): Likewise.
6893 * elf/ldd.bash.in: Likewise.
6894 * elf/pldd.c (print_version): Likewise.
6895 * elf/sotruss.sh: Likewise.
6896 * elf/sprof.c (print_version): Likewise.
6897 * iconv/iconv_prog.c (print_version): Likewise.
6898 * iconv/iconvconfig.c (print_version): Likewise.
6899 * locale/programs/locale.c (print_version): Likewise.
6900 * locale/programs/localedef.c (print_version): Likewise.
6901 * login/programs/pt_chown.c (print_version): Likewise.
6902 * malloc/memusage.sh (do_version): Likewise.
6903 * malloc/memusagestat.c (print_version): Likewise.
6904 * malloc/mtrace.pl: Likewise.
6905 * manual/libc.texinfo: Likewise.
6906 * nptl/version.c (banner): Likewise.
6907 * nscd/nscd.c (print_version): Likewise.
6908 * nss/getent.c (print_version): Likewise.
6909 * nss/makedb.c (print_version): Likewise.
6910 * posix/getconf.c (main): Likewise.
6911 * scripts/test-installation.pl: Likewise.
6912 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6914 * All files with FSF copyright notices: Update copyright dates
6915 using scripts/update-copyrights.
6916 * locale/programs/charmap-kw.h: Regenerated.
6917 * locale/programs/locfile-kw.h: Likewise.
6919 2018-12-31 Joseph Myers <joseph@codesourcery.com>
6921 * timezone/zdump.c: Update from tzcode 2018i.
6922 * timezone/zic.c: Likewise.
6924 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
6926 regex: improve Gnulib port to AIX
6927 From the glibc point of view, this removes duplicate macro
6928 definitions and is obviously safe.
6929 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
6930 * posix/regex_internal.h:
6931 (__attribute__, __attribute_warn_unused_result__):
6932 Remove; already defined elsewhere.
6934 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
6937 * malloc/malloc.c (_int_realloc): Always call memcpy for the
6938 copying operation. (ncopies had the wrong type, resulting in an
6939 integer wraparound and too few elements being copied.)
6941 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
6944 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
6945 <asm/syscalls.h> exists with __has_include__ before including it.
6947 2018-12-31 Joseph Myers <joseph@codesourcery.com>
6949 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6952 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
6954 * hurd/lookup-retry: Include <unistd.h>.
6955 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
6956 Release it on return. Handle "pid" magical lookup retry.
6958 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
6961 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
6962 (t_fmt_ampm): Likewise.
6963 * localedata/locales/aa_ER (t_fmt): Likewise.
6964 (t_fmt_ampm): Likewise.
6965 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
6966 (t_fmt_ampm): Likewise.
6967 * localedata/locales/aa_ET (t_fmt): Likewise.
6968 (t_fmt_ampm): Likewise.
6969 * localedata/locales/am_ET (t_fmt): Likewise.
6970 (t_fmt_ampm): Likewise.
6971 * localedata/locales/byn_ER (t_fmt): Likewise.
6972 (t_fmt_ampm): Likewise.
6973 * localedata/locales/om_ET (t_fmt): Likewise.
6974 (t_fmt_ampm): Likewise.
6975 * localedata/locales/sid_ET (t_fmt): Likewise.
6976 (t_fmt_ampm): Likewise.
6977 * localedata/locales/so_DJ (t_fmt): Likewise.
6978 (t_fmt_ampm): Likewise.
6979 * localedata/locales/so_ET (t_fmt): Likewise.
6980 (t_fmt_ampm): Likewise.
6981 * localedata/locales/so_SO (t_fmt): Likewise.
6982 (t_fmt_ampm): Likewise.
6983 * localedata/locales/ti_ER (t_fmt): Likewise.
6984 (t_fmt_ampm): Likewise.
6985 * localedata/locales/ti_ET (t_fmt): Likewise.
6986 (t_fmt_ampm): Likewise.
6987 * localedata/locales/tig_ER (t_fmt): Likewise.
6988 (t_fmt_ampm): Likewise.
6989 * localedata/locales/wal_ET (t_fmt): Likewise.
6990 (t_fmt_ampm): Likewise.
6992 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
6993 * localedata/locales/ar_IN (t_fmt): Likewise.
6994 * localedata/locales/bhb_IN (t_fmt): Likewise.
6995 * localedata/locales/bho_IN (t_fmt): Likewise.
6996 * localedata/locales/bi_VU (t_fmt): Likewise.
6997 * localedata/locales/bn_BD (t_fmt): Likewise.
6998 * localedata/locales/bn_IN (t_fmt): Likewise.
6999 * localedata/locales/brx_IN (t_fmt): Likewise.
7000 * localedata/locales/doi_IN (t_fmt): Likewise.
7001 * localedata/locales/en_HK (t_fmt): Likewise.
7002 (t_fmt_ampm): Likewise.
7003 * localedata/locales/en_IN (t_fmt): Likewise.
7004 * localedata/locales/en_PH (t_fmt): Likewise.
7005 * localedata/locales/gu_IN (t_fmt): Likewise.
7006 * localedata/locales/hi_IN (t_fmt): Likewise.
7007 * localedata/locales/hif_FJ (t_fmt): Likewise.
7008 * localedata/locales/hne_IN (t_fmt): Likewise.
7009 * localedata/locales/kn_IN (t_fmt): Likewise.
7010 * localedata/locales/kok_IN (t_fmt): Likewise.
7011 * localedata/locales/ks_IN (t_fmt): Likewise.
7012 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
7013 * localedata/locales/mag_IN (t_fmt): Likewise.
7014 * localedata/locales/mai_IN (t_fmt): Likewise.
7015 * localedata/locales/mjw_IN (t_fmt): Likewise.
7016 * localedata/locales/ml_IN (t_fmt): Likewise.
7017 * localedata/locales/mni_IN (t_fmt): Likewise.
7018 * localedata/locales/mr_IN (t_fmt): Likewise.
7019 * localedata/locales/ms_MY (t_fmt): Likewise.
7020 * localedata/locales/pa_IN (t_fmt): Likewise.
7021 * localedata/locales/raj_IN (t_fmt): Likewise.
7022 * localedata/locales/sa_IN (t_fmt): Likewise.
7023 * localedata/locales/sat_IN (t_fmt): Likewise.
7024 * localedata/locales/sd_IN (t_fmt): Likewise.
7025 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
7026 * localedata/locales/tcy_IN (t_fmt): Likewise.
7027 * localedata/locales/the_NP (t_fmt): Likewise.
7028 * localedata/locales/to_TO (t_fmt): Likewise.
7029 * localedata/locales/ur_IN (t_fmt): Likewise.
7031 * localedata/locales/hif_FJ (d_t_fmt): Set to
7032 "%A %d %b %Y %I:%M:%S %p".
7033 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
7035 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
7036 * localedata/locales/ar_BH (t_fmt): Likewise.
7037 * localedata/locales/ar_DZ (t_fmt): Likewise.
7038 * localedata/locales/ar_EG (t_fmt): Likewise.
7039 * localedata/locales/ar_IQ (t_fmt): Likewise.
7040 * localedata/locales/ar_JO (t_fmt): Likewise.
7041 * localedata/locales/ar_KW (t_fmt): Likewise.
7042 * localedata/locales/ar_LB (t_fmt): Likewise.
7043 * localedata/locales/ar_LY (t_fmt): Likewise.
7044 * localedata/locales/ar_OM (t_fmt): Likewise.
7045 * localedata/locales/ar_QA (t_fmt): Likewise.
7046 * localedata/locales/ar_SD (t_fmt): Likewise.
7047 * localedata/locales/ar_SS (t_fmt): Likewise.
7048 * localedata/locales/ar_SY (t_fmt): Likewise.
7049 * localedata/locales/ar_TN (t_fmt): Likewise.
7050 * localedata/locales/ar_YE (t_fmt): Likewise.
7052 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
7053 (t_fmt_ampm): Likewise.
7054 * localedata/locales/gez_ET (t_fmt): Likewise.
7055 (t_fmt_ampm): Likewise.
7057 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
7058 (t_fmt_ampm): Likewise.
7059 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
7061 * localedata/locales/zh_HK (t_fmt):
7062 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
7064 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
7065 because this locale does not use the 12-hour clock.
7066 (t_fmt): Set to "%Z %H:%M:%S".
7067 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
7069 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
7070 because this locale does not use the 12-hour clock.
7071 (t_fmt): Set to "%H:%M:%S %Z".
7072 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
7074 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
7075 because this locale does not use the 12-hour clock.
7076 (t_fmt): Set to "%T".
7077 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
7078 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
7080 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
7081 because this locale does not use the 12-hour clock.
7082 (t_fmt): Set to "%H:%M:%S %Z".
7083 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
7085 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
7086 because this locale does not use the 12-hour clock.
7087 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
7088 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
7090 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
7094 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
7095 (t_fmt_ampm): Likewise.
7096 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
7097 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
7098 (d_fmt): Set to "%-d.%-m.%y".
7100 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7102 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
7103 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
7104 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
7106 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
7107 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
7108 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
7110 * support/blob_repeat.c (check_mul_overflow_size_t,
7111 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
7113 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
7115 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
7117 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
7119 regex: simplify Gnulib port
7120 This simplifies the code, by removing stuff intended for porting
7121 to Gnulib but no longer needed there.
7122 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
7123 uses of libc_hidden_def, weak_alias.
7124 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
7125 _Restrict_ except for public-facing headers.
7126 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
7127 Remove; already defined elsewhere.
7128 * posix/regex.c, posix/regex_internal.h:
7129 Use __GNUC_PREREQ instead of rolling our own.
7130 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
7132 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
7134 * benchtests/bench-strlen.c (generic_strlen): New function.
7135 (memchr_strlen): New function.
7137 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
7139 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
7140 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
7141 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
7143 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
7145 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7147 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
7149 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
7150 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
7151 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
7152 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
7153 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
7154 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
7155 <sysdeps/ieee754/flt-32/s_sincosf.c>.
7157 2018-12-21 Joseph Myers <joseph@codesourcery.com>
7160 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
7161 PLT reference in libc.so.
7162 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
7163 _Q_lltoq and _Q_qtod PLT references in libc.so.
7165 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
7167 * benchtests/bench-memchr.c: Cleanup defines.
7168 * benchtests/bench-memcmp.c: Likewise.
7169 * benchtests/bench-memset.c: Likewise.
7170 * benchtests/bench-memset-large.c: Likewise.
7171 * benchtests/bench-memset-walk.c: Likewise.
7172 * benchtests/bench-stpcpy.c: Likewise.
7173 * benchtests/bench-stpncpy.c: Likewise.
7174 * benchtests/bench-strcat.c: Likewise.
7175 * benchtests/bench-strchr.c: Likewise.
7176 * benchtests/bench-strcmp.c: Likewise.
7177 * benchtests/bench-strcpy.c: Likewise.
7178 * benchtests/bench-strcspn.c: Likewise.
7179 * benchtests/bench-string.h: Likewise.
7180 * benchtests/bench-strlen.c: Likewise.
7181 * benchtests/bench-strncat.c: Likewise.
7182 * benchtests/bench-strncmp.c: Likewise.
7183 * benchtests/bench-strncpy.c: Likewise.
7184 * benchtests/bench-strnlen.c: Likewise.
7185 * benchtests/bench-strpbrk.c: Likewise.
7186 * benchtests/bench-strrchr.c: Likewise.
7187 * benchtests/bench-strspn.c: Likewise.
7189 2018-12-21 Joseph Myers <joseph@codesourcery.com>
7191 * stdlib/longlong.h: Update from GCC.
7194 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
7195 * configure: Regenerated.
7196 * manual/install.texi (Tools for Compilation): Update minimum GCC
7198 * INSTALL: Regenerated.
7200 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
7202 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
7204 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
7206 * malloc/malloc.c (mremap_chunk): Additional checks.
7208 2018-12-21 Mao Han <han_mao@c-sky.com>
7210 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
7211 * scripts/build-many-glibcs.py: Add C-SKY targets.
7212 * sysdeps/csky/Implies: New file.
7213 * sysdeps/csky/Makefile: Likewise.
7214 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
7215 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
7216 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
7217 * sysdeps/csky/abiv2/memcmp.S: Likewise.
7218 * sysdeps/csky/abiv2/memcpy.S: Likewise.
7219 * sysdeps/csky/abiv2/memmove.S: Likewise.
7220 * sysdeps/csky/abiv2/memset.S: Likewise.
7221 * sysdeps/csky/abiv2/setjmp.S: Likewise.
7222 * sysdeps/csky/abiv2/start.S: Likewise.
7223 * sysdeps/csky/abiv2/strcmp.S: Likewise.
7224 * sysdeps/csky/abiv2/strcpy.S: Likewise.
7225 * sysdeps/csky/abiv2/strlen.S: Likewise.
7226 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
7227 * sysdeps/csky/abort-instr.h: Likewise.
7228 * sysdeps/csky/atomic-machine.h: Likewise.
7229 * sysdeps/csky/bits/endian.h: Likewise.
7230 * sysdeps/csky/bits/fenv.h: Likewise.
7231 * sysdeps/csky/bits/link.h: Likewise.
7232 * sysdeps/csky/bits/setjmp.h: Likewise.
7233 * sysdeps/csky/bsd-_setjmp.S: Likewise.
7234 * sysdeps/csky/bsd-setjmp.S: Likewise.
7235 * sysdeps/csky/configure: Likewise.
7236 * sysdeps/csky/configure.ac: Likewise.
7237 * sysdeps/csky/dl-machine.h: Likewise.
7238 * sysdeps/csky/dl-procinfo.c: Likewise.
7239 * sysdeps/csky/dl-procinfo.h: Likewise.
7240 * sysdeps/csky/dl-sysdep.h: Likewise.
7241 * sysdeps/csky/dl-tls.h: Likewise.
7242 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
7243 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
7244 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
7245 * sysdeps/csky/fpu/fegetenv.c: Likewise.
7246 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
7247 * sysdeps/csky/fpu/fegetmode.c: Likewise.
7248 * sysdeps/csky/fpu/fegetround.c: Likewise.
7249 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
7250 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
7251 * sysdeps/csky/fpu/fenv_private.h: Likewise.
7252 * sysdeps/csky/fpu/fesetenv.c: Likewise.
7253 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
7254 * sysdeps/csky/fpu/fesetmode.c: Likewise.
7255 * sysdeps/csky/fpu/fesetround.c: Likewise.
7256 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
7257 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
7258 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
7259 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
7260 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
7261 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
7262 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
7263 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
7264 * sysdeps/csky/fpu_control.h: Likewise.
7265 * sysdeps/csky/gccframe.h: Likewise.
7266 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
7267 * sysdeps/csky/ldsodefs.h: Likewise.
7268 * sysdeps/csky/libc-tls.c: Likewise.
7269 * sysdeps/csky/linkmap.h: Likewise.
7270 * sysdeps/csky/machine-gmon.h: Likewise.
7271 * sysdeps/csky/memusage.h: Likewise.
7272 * sysdeps/csky/nofpu/Implies: Likewise.
7273 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
7274 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
7275 * sysdeps/csky/nptl/Makefile: Likewise.
7276 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
7277 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
7278 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
7279 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
7280 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
7281 * sysdeps/csky/nptl/tls.h: Likewise.
7282 * sysdeps/csky/preconfigure: Likewise.
7283 * sysdeps/csky/sfp-machine.h: Likewise.
7284 * sysdeps/csky/sotruss-lib.c: Likewise.
7285 * sysdeps/csky/stackinfo.h: Likewise.
7286 * sysdeps/csky/sysdep.h: Likewise.
7287 * sysdeps/csky/tininess.h: Likewise.
7288 * sysdeps/csky/tst-audit.h: Likewise.
7289 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
7290 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
7291 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
7292 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
7293 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
7294 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
7295 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
7296 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
7297 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
7298 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
7299 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
7300 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
7301 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
7302 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
7303 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
7304 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
7305 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
7306 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
7307 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
7308 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
7309 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
7310 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
7311 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
7312 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
7313 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
7314 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
7315 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
7316 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
7317 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
7318 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
7319 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
7320 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
7321 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
7322 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
7323 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
7324 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
7325 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
7326 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
7327 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
7328 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
7329 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
7330 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
7331 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
7332 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
7334 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
7336 * include/time.h (__difftime64): Add.
7337 * time/difftime.c (subtract): convert to 64-bit time.
7338 * time/difftime.c (__difftime64): Add.
7339 * time/difftime.c (__difftime): Wrap around __difftime64.
7341 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
7343 * manual/examples/add.c: Remove redundant "if not".
7344 * manual/examples/argp-ex1.c: Likewise.
7345 * manual/examples/argp-ex2.c: Likewise.
7346 * manual/examples/argp-ex3.c: Likewise.
7347 * manual/examples/argp-ex4.c: Likewise.
7348 * manual/examples/atexit.c: Likewise.
7349 * manual/examples/db.c: Likewise.
7350 * manual/examples/dir.c: Likewise.
7351 * manual/examples/dir2.c: Likewise.
7352 * manual/examples/execinfo.c: Likewise.
7353 * manual/examples/filecli.c: Likewise.
7354 * manual/examples/filesrv.c: Likewise.
7355 * manual/examples/fmtmsgexpl.c: Likewise.
7356 * manual/examples/genpass.c: Likewise.
7357 * manual/examples/inetcli.c: Likewise.
7358 * manual/examples/inetsrv.c: Likewise.
7359 * manual/examples/isockad.c: Likewise.
7360 * manual/examples/longopt.c: Likewise.
7361 * manual/examples/memopen.c: Likewise.
7362 * manual/examples/memstrm.c: Likewise.
7363 * manual/examples/mkdirent.c: Likewise.
7364 * manual/examples/mkfsock.c: Likewise.
7365 * manual/examples/mkisock.c: Likewise.
7366 * manual/examples/mygetpass.c: Likewise.
7367 * manual/examples/pipe.c: Likewise.
7368 * manual/examples/popen.c: Likewise.
7369 * manual/examples/rprintf.c: Likewise.
7370 * manual/examples/search.c: Likewise.
7371 * manual/examples/select.c: Likewise.
7372 * manual/examples/setjmp.c: Likewise.
7373 * manual/examples/sigh1.c: Likewise.
7374 * manual/examples/sigusr.c: Likewise.
7375 * manual/examples/stpcpy.c: Likewise.
7376 * manual/examples/strdupa.c: Likewise.
7377 * manual/examples/strftim.c: Likewise.
7378 * manual/examples/subopt.c: Likewise.
7379 * manual/examples/swapcontext.c: Likewise.
7380 * manual/examples/termios.c: Likewise.
7381 * manual/examples/testopt.c: Likewise.
7382 * manual/examples/testpass.c: Likewise.
7383 * manual/examples/timeval_subtract.c: Likewise.
7385 2018-12-19 Joseph Myers <joseph@codesourcery.com>
7387 * sysdeps/x86/fpu/math_private.h: New file.
7388 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
7390 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
7395 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7397 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
7398 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
7399 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
7400 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
7402 (_dl_show_auxv): Give a special treatment to
7403 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
7404 and AT_L3_CACHEGEOMETRY.
7405 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
7406 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
7407 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
7408 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
7410 2018-12-19 Andreas Schwab <schwab@suse.de>
7412 * nscd/connections.c (check_use): Don't abort on invalid len.
7414 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
7416 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
7417 values in the 64bit value cases.
7419 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
7425 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
7431 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
7434 (__gmtime64_r): Add.
7436 (__gmtime64_r): Add.
7437 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
7443 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
7446 (__localtime64_r): Add.
7448 (__localtime64_r): Add.
7449 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
7451 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7453 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
7454 kernel_sigction definition.
7456 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
7458 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
7460 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
7461 __syscall_rt_sigaction.
7462 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
7463 (kernel_sigaction): Use Linux generic defintion.
7465 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
7466 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
7467 (__syscall_rt_sigaction): Remove implementation.
7468 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
7470 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
7471 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
7472 INTERNAL_SYSCALL): Remove definitions.
7473 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
7474 action and signal set size.
7475 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
7476 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
7478 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7479 James Clarke <jrtc27@jrtc27.com>
7482 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
7483 Define if SA_RESTORER is defined.
7484 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
7485 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
7487 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
7488 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
7490 (HAS_SA_RESTORER): Define.
7491 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
7492 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
7493 (HAS_SA_RESTORER): Define.
7494 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
7495 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
7496 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
7497 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
7498 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7500 2018-12-18 Joseph Myers <joseph@codesourcery.com>
7502 * sysdeps/unix/sysv/linux/kernel-features.h
7503 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
7504 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7505 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
7506 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7507 (__ASSUME_ST_INO_64_BIT): Likewise.
7508 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7509 <kernel-features.h>.
7510 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
7511 Remove conditional code.
7512 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7513 <kernel-features.h>.
7514 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
7515 Remove conditional code.
7516 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
7517 <kernel-features.h>.
7518 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
7519 Remove conditional code.
7520 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
7521 <kernel-features.h>.
7522 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
7523 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
7525 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7527 * sysdeps/s390/multiarch/ifunc-resolve.h
7528 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
7529 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
7530 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
7531 Delete macro definition.
7532 (s390_libc_ifunc_init): Rename to
7533 s390_libc_ifunc_expr_stfle_init.
7534 * sysdeps/s390/bzero: Use
7535 s390_libc_ifunc_expr_stfle_init instead of
7536 s390_libc_ifunc_init.
7537 * sysdeps/s390/memcmp.c: Likewise.
7538 * sysdeps/s390/memcpy.c: Likewise.
7539 * sysdeps/s390/mempcpy.c: Likewise.
7540 * sysdeps/s390/memset.c: Likewise.
7542 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7544 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
7545 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
7547 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7549 * sysdeps/s390/multiarch/Makefile
7550 (sysdep_routines): Remove wmemcmp variants.
7551 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
7552 * sysdeps/s390/multiarch/ifunc-impl-list.c
7553 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
7554 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
7555 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
7556 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
7557 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
7558 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
7559 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
7560 * sysdeps/s390/ifunc-wmemcmp.h: New file.
7562 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7564 * sysdeps/s390/multiarch/Makefile
7565 (sysdep_routines): Remove wmemset variants.
7566 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
7567 * sysdeps/s390/multiarch/ifunc-impl-list.c
7568 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
7569 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
7570 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
7571 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
7572 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
7573 * sysdeps/s390/multiarch/wmemset.c: Move to ...
7574 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
7575 * sysdeps/s390/ifunc-wmemset.h: New file.
7577 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7579 * sysdeps/s390/multiarch/Makefile
7580 (sysdep_routines): Remove wmemchr variants.
7581 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
7582 * sysdeps/s390/multiarch/ifunc-impl-list.c
7583 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
7584 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
7585 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
7586 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
7587 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
7588 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
7589 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
7590 * sysdeps/s390/ifunc-wmemchr.h: New file.
7592 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7594 * sysdeps/s390/multiarch/Makefile
7595 (sysdep_routines): Remove wcscspn variants.
7596 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
7597 * sysdeps/s390/multiarch/ifunc-impl-list.c
7598 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
7599 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
7600 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
7601 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
7602 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
7603 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
7604 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
7605 * sysdeps/s390/ifunc-wcscspn.h: New file.
7607 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7609 * sysdeps/s390/multiarch/Makefile
7610 (sysdep_routines): Remove wcspbrk variants.
7611 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
7612 * sysdeps/s390/multiarch/ifunc-impl-list.c
7613 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
7614 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
7615 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
7616 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
7617 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
7618 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
7619 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
7620 * sysdeps/s390/ifunc-wcspbrk.h: New file.
7622 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7624 * sysdeps/s390/multiarch/Makefile
7625 (sysdep_routines): Remove wcsspn variants.
7626 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
7627 * sysdeps/s390/multiarch/ifunc-impl-list.c
7628 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
7629 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
7630 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
7631 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
7632 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
7633 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
7634 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
7635 * sysdeps/s390/ifunc-wcsspn.h: New file.
7637 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7639 * sysdeps/s390/multiarch/Makefile
7640 (sysdep_routines): Remove wcsrchr variants.
7641 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
7642 * sysdeps/s390/multiarch/ifunc-impl-list.c
7643 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
7644 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
7645 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
7646 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
7647 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
7648 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
7649 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
7650 * sysdeps/s390/ifunc-wcsrchr.h: New file.
7652 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7654 * sysdeps/s390/multiarch/Makefile
7655 (sysdep_routines): Remove wcschrnul variants.
7656 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
7657 * sysdeps/s390/multiarch/ifunc-impl-list.c
7658 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
7659 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
7660 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
7661 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
7662 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
7663 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
7664 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
7665 * sysdeps/s390/ifunc-wcschrnul.h: New file.
7667 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7669 * sysdeps/s390/multiarch/Makefile
7670 (sysdep_routines): Remove wcschr variants.
7671 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
7672 * sysdeps/s390/multiarch/ifunc-impl-list.c
7673 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
7674 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
7675 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
7676 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
7677 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
7678 * sysdeps/s390/multiarch/wcschr.c: Move to ...
7679 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
7680 * sysdeps/s390/ifunc-wcschr.h: New file.
7682 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7684 * sysdeps/s390/multiarch/Makefile
7685 (sysdep_routines): Remove wcsncmp variants.
7686 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
7687 * sysdeps/s390/multiarch/ifunc-impl-list.c
7688 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
7689 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
7690 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
7691 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
7692 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
7693 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
7694 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
7695 * sysdeps/s390/ifunc-wcsncmp.h: New file.
7697 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7699 * sysdeps/s390/multiarch/Makefile
7700 (sysdep_routines): Remove wcscmp variants.
7701 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
7702 * sysdeps/s390/multiarch/ifunc-impl-list.c
7703 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
7704 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
7705 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
7706 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
7707 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
7708 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
7709 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
7710 * sysdeps/s390/ifunc-wcscmp.h: New file.
7712 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7714 * sysdeps/s390/multiarch/Makefile
7715 (sysdep_routines): Remove wcsncat variants.
7716 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
7717 * sysdeps/s390/multiarch/ifunc-impl-list.c
7718 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
7719 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
7720 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
7721 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
7722 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
7723 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
7724 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
7725 * sysdeps/s390/ifunc-wcsncat.h: New file.
7727 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7729 * sysdeps/s390/multiarch/Makefile
7730 (sysdep_routines): Remove wcscat variants.
7731 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
7732 * sysdeps/s390/multiarch/ifunc-impl-list.c
7733 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
7734 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
7735 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
7736 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
7737 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
7738 * sysdeps/s390/multiarch/wcscat.c: Move to ...
7739 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
7740 * sysdeps/s390/ifunc-wcscat.h: New file.
7742 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7744 * sysdeps/s390/multiarch/Makefile
7745 (sysdep_routines): Remove wcpncpy variants.
7746 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
7747 * sysdeps/s390/multiarch/ifunc-impl-list.c
7748 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
7749 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
7750 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
7751 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
7752 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
7753 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
7754 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
7755 * sysdeps/s390/ifunc-wcpncpy.h: New file.
7757 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7759 * sysdeps/s390/multiarch/Makefile
7760 (sysdep_routines): Remove wcsncpy variants.
7761 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
7762 * sysdeps/s390/multiarch/ifunc-impl-list.c
7763 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
7764 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
7765 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
7766 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
7767 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
7768 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
7769 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
7770 * sysdeps/s390/ifunc-wcsncpy.h: New file.
7772 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7774 * sysdeps/s390/multiarch/Makefile
7775 (sysdep_routines): Remove wcpcpy variants.
7776 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
7777 * sysdeps/s390/multiarch/ifunc-impl-list.c
7778 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
7779 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
7780 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
7781 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
7782 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
7783 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
7784 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
7785 * sysdeps/s390/ifunc-wcpcpy.h: New file.
7787 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7789 * sysdeps/s390/multiarch/Makefile
7790 (sysdep_routines): Remove wcscpy variants.
7791 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
7792 * sysdeps/s390/multiarch/ifunc-impl-list.c
7793 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
7794 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
7795 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
7796 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
7797 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
7798 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
7799 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
7800 * sysdeps/s390/ifunc-wcscpy.h: New file.
7802 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7804 * sysdeps/s390/multiarch/Makefile
7805 (sysdep_routines): Remove wcsnlen variants.
7806 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
7807 * sysdeps/s390/multiarch/ifunc-impl-list.c
7808 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
7809 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
7810 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
7811 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
7812 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
7813 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
7814 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
7815 * sysdeps/s390/ifunc-wcsnlen.h: New file.
7817 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7819 * sysdeps/s390/multiarch/Makefile
7820 (sysdep_routines): Remove wcslen variants.
7821 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
7822 * sysdeps/s390/multiarch/ifunc-impl-list.c
7823 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
7824 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
7825 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
7826 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
7827 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
7828 * sysdeps/s390/multiarch/wcslen.c: Move to ...
7829 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
7830 * sysdeps/s390/ifunc-wcslen.h: New file.
7832 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7834 * sysdeps/s390/multiarch/Makefile
7835 (sysdep_routines): Remove memrchr variants.
7836 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
7837 * sysdeps/s390/multiarch/ifunc-impl-list.c
7838 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
7839 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
7840 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
7841 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
7842 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
7843 * sysdeps/s390/multiarch/memrchr.c: Move to ...
7844 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
7845 * sysdeps/s390/ifunc-memrchr.h: New file.
7847 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7849 * sysdeps/s390/multiarch/Makefile
7850 (sysdep_routines): Remove memccpy variants.
7851 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
7852 * sysdeps/s390/multiarch/ifunc-impl-list.c
7853 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
7854 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
7855 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
7856 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
7857 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
7858 * sysdeps/s390/multiarch/memccpy.c: Move to ...
7859 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
7860 * sysdeps/s390/ifunc-memccpy.h: New file.
7862 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7864 * sysdeps/s390/multiarch/Makefile
7865 (sysdep_routines): Remove rawmemchr variants.
7866 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
7867 * sysdeps/s390/multiarch/ifunc-impl-list.c
7868 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
7869 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
7870 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
7871 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
7872 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
7873 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
7874 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
7875 * sysdeps/s390/ifunc-rawmemchr.h: New file.
7877 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7879 * sysdeps/s390/multiarch/Makefile
7880 (sysdep_routines): Remove memchr variants.
7881 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
7882 * sysdeps/s390/multiarch/ifunc-impl-list.c
7883 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
7884 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
7885 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
7886 * sysdeps/s390/multiarch/memchr.c: Move to ...
7887 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
7888 * sysdeps/s390/ifunc-memchr.h: New file.
7889 * sysdeps/s390/s390-64/memchr.S: Move to ...
7890 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
7891 for 31/64bit and ifunc handling.
7892 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
7893 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
7894 * sysdeps/s390/s390-32/memchr.S: Likewise.
7896 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7898 * sysdeps/s390/multiarch/Makefile
7899 (sysdep_routines): Remove strcspn variants.
7900 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
7901 * sysdeps/s390/multiarch/ifunc-impl-list.c
7902 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
7903 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
7904 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
7905 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
7906 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
7907 * sysdeps/s390/multiarch/strcspn.c: Move to ...
7908 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
7909 * sysdeps/s390/ifunc-strcspn.h: New file.
7911 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7913 * sysdeps/s390/multiarch/Makefile
7914 (sysdep_routines): Remove strpbrk variants.
7915 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
7916 * sysdeps/s390/multiarch/ifunc-impl-list.c
7917 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
7918 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
7919 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
7920 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
7921 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
7922 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
7923 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
7924 * sysdeps/s390/ifunc-strpbrk.h: New file.
7926 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7928 * sysdeps/s390/multiarch/Makefile
7929 (sysdep_routines): Remove strspn variants.
7930 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
7931 * sysdeps/s390/multiarch/ifunc-impl-list.c
7932 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
7933 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
7934 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
7935 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
7936 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
7937 * sysdeps/s390/multiarch/strspn.c: Move to ...
7938 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
7939 * sysdeps/s390/ifunc-strspn.h: New file.
7941 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7943 * sysdeps/s390/multiarch/Makefile
7944 (sysdep_routines): Remove strrchr variants.
7945 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
7946 * sysdeps/s390/multiarch/ifunc-impl-list.c
7947 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
7948 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
7949 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
7950 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
7951 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
7952 * sysdeps/s390/multiarch/strrchr.c: Move to ...
7953 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
7954 * sysdeps/s390/ifunc-strrchr.h: New file.
7956 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7958 * sysdeps/s390/multiarch/Makefile
7959 (sysdep_routines): Remove strchrnul variants.
7960 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
7961 * sysdeps/s390/multiarch/ifunc-impl-list.c
7962 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
7963 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
7964 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
7965 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
7966 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
7967 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
7968 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
7969 * sysdeps/s390/ifunc-strchrnul.h: New file.
7971 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7973 * sysdeps/s390/multiarch/Makefile
7974 (sysdep_routines): Remove strchr variants.
7975 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
7976 * sysdeps/s390/multiarch/ifunc-impl-list.c
7977 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
7978 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
7979 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
7980 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
7981 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
7982 * sysdeps/s390/multiarch/strchr.c: Move to ...
7983 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
7984 * sysdeps/s390/ifunc-strchr.h: New file.
7986 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7988 * sysdeps/s390/multiarch/Makefile
7989 (sysdep_routines): Remove strncmp variants.
7990 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
7991 * sysdeps/s390/multiarch/ifunc-impl-list.c
7992 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
7993 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
7994 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
7995 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
7996 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
7997 * sysdeps/s390/multiarch/strncmp.c: Move to ...
7998 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
7999 * sysdeps/s390/ifunc-strncmp.h: New file.
8001 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8003 * sysdeps/s390/multiarch/Makefile
8004 (sysdep_routines): Remove strcmp variants.
8005 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
8006 * sysdeps/s390/multiarch/ifunc-impl-list.c
8007 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
8008 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
8009 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
8010 * sysdeps/s390/multiarch/strcmp.c: Move to ...
8011 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
8012 * sysdeps/s390/ifunc-strcmp.h: New file.
8013 * sysdeps/s390/s390-64/strcmp.S: Move to ...
8014 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
8015 for 31/64bit and ifunc handling.
8016 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
8017 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
8018 * sysdeps/s390/s390-32/strcmp.S: Likewise.
8020 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8022 * sysdeps/s390/multiarch/Makefile
8023 (sysdep_routines): Remove strncat variants.
8024 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
8025 * sysdeps/s390/multiarch/ifunc-impl-list.c
8026 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
8027 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
8028 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
8029 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
8030 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
8031 * sysdeps/s390/multiarch/strncat.c: Move to ...
8032 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
8033 * sysdeps/s390/ifunc-strncat.h: New file.
8035 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8037 * sysdeps/s390/multiarch/Makefile
8038 (sysdep_routines): Remove strcat variants.
8039 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
8040 * sysdeps/s390/multiarch/ifunc-impl-list.c
8041 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
8042 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
8043 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
8044 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
8045 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
8046 * sysdeps/s390/multiarch/strcat.c: Move to ...
8047 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
8048 * sysdeps/s390/ifunc-strcat.h: New file.
8050 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8052 * sysdeps/s390/multiarch/Makefile
8053 (sysdep_routines): Remove stpncpy variants.
8054 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
8055 * sysdeps/s390/multiarch/ifunc-impl-list.c
8056 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
8057 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
8058 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
8059 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
8060 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
8061 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
8062 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
8063 * sysdeps/s390/ifunc-stpncpy.h: New file.
8065 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8067 * sysdeps/s390/multiarch/Makefile
8068 (sysdep_routines): Remove strncpy variants.
8069 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
8070 * sysdeps/s390/multiarch/ifunc-impl-list.c
8071 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
8072 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
8073 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
8074 * sysdeps/s390/multiarch/strncpy.c: Move to ...
8075 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
8076 * sysdeps/s390/ifunc-strncpy.h: New file.
8077 * sysdeps/s390/s390-64/strncpy.S: Move to ...
8078 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
8079 and adjust ifunc handling.
8080 * sysdeps/s390/s390-32/strncpy.S: Move to ...
8081 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
8082 and adjust ifunc handling.
8083 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
8084 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
8086 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8088 * sysdeps/s390/multiarch/Makefile
8089 (sysdep_routines): Remove stpcpy variants.
8090 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
8091 * sysdeps/s390/multiarch/ifunc-impl-list.c
8092 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
8093 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
8094 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
8095 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
8096 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
8097 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
8098 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
8099 * sysdeps/s390/ifunc-stpcpy.h: New file.
8101 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8103 * sysdeps/s390/multiarch/Makefile
8104 (sysdep_routines): Remove strcpy variants.
8105 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
8106 * sysdeps/s390/multiarch/ifunc-impl-list.c
8107 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
8108 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
8109 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
8110 * sysdeps/s390/multiarch/strcpy.c: Move to ...
8111 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
8112 * sysdeps/s390/ifunc-strcpy.h: New file.
8113 * sysdeps/s390/s390-64/strcpy.S: Move to ...
8114 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
8115 for 31/64bit and ifunc handling.
8116 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
8117 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
8118 * sysdeps/s390/s390-32/strcpy.S: Likewise.
8120 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8122 * sysdeps/s390/multiarch/Makefile
8123 (sysdep_routines): Remove strnlen variants.
8124 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
8125 * sysdeps/s390/multiarch/ifunc-impl-list.c
8126 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
8127 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
8128 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
8129 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
8130 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
8131 * sysdeps/s390/multiarch/strnlen.c: Move to ...
8132 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
8133 * sysdeps/s390/ifunc-strnlen.h: New file.
8135 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8137 * sysdeps/s390/multiarch/Makefile
8138 (sysdep_routines): Remove strlen variants.
8139 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
8140 * sysdeps/s390/multiarch/ifunc-impl-list.c
8141 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
8142 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
8143 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
8144 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
8145 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
8146 * sysdeps/s390/multiarch/strlen.c: Move to ...
8147 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
8148 * sysdeps/s390/ifunc-strlen.h: New file.
8150 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8152 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
8153 * sysdeps/s390/multiarch/ifunc-impl-list.c
8154 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
8155 * sysdeps/s390/ifunc-memmem.h: New file.
8156 * sysdeps/s390/memmem.c: Likewise.
8157 * sysdeps/s390/memmem-c.c: Likewise.
8158 * sysdeps/s390/memmem-vx.c: Likewise.
8160 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8162 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
8163 * sysdeps/s390/multiarch/ifunc-impl-list.c
8164 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
8165 * sysdeps/s390/ifunc-strstr.h: New file.
8166 * sysdeps/s390/strstr.c: Likewise.
8167 * sysdeps/s390/strstr-c.c: Likewise.
8168 * sysdeps/s390/strstr-vx.c: Likewise.
8170 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8172 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
8173 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
8174 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
8175 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
8177 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
8178 * sysdeps/s390/memmove-c.c: New file.
8179 * sysdeps/s390/memmove.c: Likewise.
8180 * sysdeps/s390/multiarch/ifunc-impl-list.c
8181 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
8183 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8185 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
8186 * sysdeps/s390/configure.ac: Add check for z13 support.
8187 * sysdeps/s390/configure: Regenerated.
8189 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8191 * sysdeps/s390/memcopy.h: New file.
8193 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8195 * sysdeps/s390/s390-32/bcopy.S: Remove.
8196 * sysdeps/s390/s390-64/bcopy.S: Likewise.
8198 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8200 * sysdeps/s390/ifunc-memcpy.h: New File.
8201 * sysdeps/s390/memcpy.S: Move to ...
8202 * sysdeps/s390/memcpy-z900.S ... here.
8203 Move implementations from memcpy-s390x.s to here.
8204 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
8205 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
8206 Remove memcpy/mempcpy variants.
8207 * sysdeps/s390/Makefile (sysdep_routines):
8208 Add memcpy/mempcpy variants.
8209 * sysdeps/s390/multiarch/ifunc-impl-list.c
8210 (__libc_ifunc_impl_list): Adjust ifunc variants for
8212 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
8214 * sysdeps/s390/memcpy.c: ... here.
8215 Adjust ifunc variants for memcpy.
8216 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
8217 * sysdeps/s390/mempcpy.c: ... here.
8218 Adjust ifunc variants for mempcpy.
8219 * sysdeps/s390/mempcpy.S: Delete file.
8221 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8223 * sysdeps/s390/s390-64/memcpy.S: Move to ...
8224 * sysdeps/s390/memcpy.S: ... here.
8225 Adjust to be usable for 31/64bit.
8226 * sysdeps/s390/s390-32/memcpy.S: Delete File.
8227 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
8228 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
8229 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
8230 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
8231 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
8232 Adjust to be usable for 31/64bit.
8233 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
8234 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
8235 * sysdeps/s390/multiarch/memcpy.c: ... here.
8236 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
8238 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8240 * sysdeps/s390/ifunc-memcmp.h: New File.
8241 * sysdeps/s390/memcmp.S: Move to ...
8242 * sysdeps/s390/memcmp-z900.S ... here.
8243 Move implementations from memcmp-s390x.s to here.
8244 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
8245 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
8246 Remove memcmp variants.
8247 * sysdeps/s390/Makefile (sysdep_routines):
8248 Add memcmp variants.
8249 * sysdeps/s390/multiarch/ifunc-impl-list.c
8250 (__libc_ifunc_impl_list): Adjust ifunc variants for
8252 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
8254 * sysdeps/s390/memcmp.c: ... here.
8255 Adjust ifunc variants for memcmp.
8257 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8259 * sysdeps/s390/s390-64/memcmp.S: Move to ...
8260 * sysdeps/s390/memcmp.S: ... here.
8261 Adjust to be usable for 31/64bit.
8262 * sysdeps/s390/s390-32/memcmp.S: Delete File.
8263 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
8264 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
8266 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
8267 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
8268 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
8269 Adjust to be usable for 31/64bit.
8270 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
8271 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
8272 * sysdeps/s390/multiarch/memcmp.c: ... here.
8273 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
8275 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8277 * sysdeps/s390/s390-32/bzero.S: Delete file.
8278 * sysdeps/s390/s390-64/bzero.S: Likewise.
8279 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
8280 * sysdeps/s390/bzero.c: New file.
8281 * sysdeps/s390/memset-z900.S: Add bzero entry points.
8282 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
8283 * sysdeps/s390/multiarch/ifunc-impl-list.c
8284 (__libc_ifunc_impl_list): Add bzero ifunc variants.
8286 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8288 * sysdeps/s390/ifunc-memset.h: New File.
8289 * sysdeps/s390/memset.S: Move to ...
8290 * sysdeps/s390/memset-z900.S ... here.
8291 Move implementations from memset-s390x.s to here.
8292 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
8293 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
8294 Remove memset variants.
8295 * sysdeps/s390/Makefile (sysdep_routines):
8296 Add memset variants.
8297 * sysdeps/s390/multiarch/ifunc-impl-list.c
8298 (__libc_ifunc_impl_list): Adjust ifunc variants for
8300 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
8302 * sysdeps/s390/memset.c: ... here.
8303 Adjust ifunc variants for memset.
8305 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8307 * sysdeps/s390/s390-64/memset.S: Move to ...
8308 * sysdeps/s390/memset.S: ... here.
8309 Adjust to be usable for 31/64bit.
8310 * sysdeps/s390/s390-32/memset.S: Delete File.
8311 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
8312 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
8314 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
8315 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
8316 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
8317 Adjust to be usable for 31/64bit.
8318 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
8319 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
8320 * sysdeps/s390/multiarch/memset.c: ... here.
8321 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
8323 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8325 * sysdeps/s390/multiarch/ifunc-resolve.h
8326 (s390_libc_ifunc_init, s390_libc_ifunc,
8327 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
8329 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8331 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
8332 * sysdeps/s390/configure.ac: Add check for z10 support.
8333 * sysdeps/s390/configure: Regenerated.
8335 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
8337 * sysdeps/i386/atomic-machine.h: Merged with ...
8338 * sysdeps/x86_64/atomic-machine.h: To ...
8339 * sysdeps/x86/atomic-machine.h: This. New file.
8341 2018-12-18 Florian Weimer <fweimer@redhat.com>
8343 Rewrite locale/gen-translit.pl in Python.
8344 * locale/Makefile (generated): Add C-translit.h.
8345 (before-compile): Add $(objpfx)C-translit.h.
8346 (C-translit.h): Move to $(objpfx). Create target directory.
8347 Build using Python script.
8348 * locale/gen-translit.py: New file.
8349 * locale/gen-translit.pl: Remove file.
8350 * locale/C-translit.h.in: Change comment character to '#' for
8351 easier parsing without a C preprocessor.
8352 * locale/C-translit.h: Remove generated file.
8353 * manual/install.texi (Tools for Compilation): Do not mention
8355 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
8356 Remove locale/C-translit.h.
8357 * scripts/update-copyrights: Likewise.
8358 * INSTALL: Regenerate.
8360 2018-12-18 Florian Weimer <fweimer@redhat.com>
8363 * localedata/locales/bi_VU: Remove executable bit from file.
8365 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
8368 (__localtime64): Add.
8369 * manual/maint.texi: Document Y2038 symbol handling.
8371 (__localtime64): Add.
8372 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
8374 2018-12-17 Joseph Myers <joseph@codesourcery.com>
8376 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
8379 * scripts/glibcextract.py (compare_macro_consts): Take parameters
8380 to allow extra macros from first or second sources.
8381 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
8382 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8383 (tests-special): Add $(objpfx)tst-mman-consts.out.
8384 ($(objpfx)tst-mman-consts.out): New makefile target.
8386 2018-12-17 Mao Han <han_mao@c-sky.com>
8388 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
8389 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
8390 without stat64 system call support.
8391 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
8392 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
8393 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8394 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
8395 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
8396 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
8397 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
8398 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
8399 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
8400 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
8401 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
8403 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
8405 regex: fix storage-exhaustion error
8407 * posix/regexec.c (get_subexp):
8408 Do not continue if storage is exhausted.
8410 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
8412 regex: fix heap-use-after-free error
8414 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
8415 https://debbugs.gnu.org/32592
8416 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
8417 call extend_buffers which reallocates the re_string_t internal buffer.
8418 Local variable 'buf' was not updated in such case, resulting in
8420 * posix/regexec.c (get_subexp): Update 'buf' after call to
8423 2018-12-15 Florian Weimer <fweimer@redhat.com>
8425 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
8426 (minimum_stride_size): Use it.
8427 (support_blob_repeat_allocate): Likewise.
8429 2018-12-14 Joseph Myers <joseph@codesourcery.com>
8431 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
8436 2018-12-14 Florian Weimer <fweimer@redhat.com>
8438 * manual/process.texi (Process Creation Concepts): Remove
8439 documentation of process (ID) lifetime. List more process
8440 creation functions. Reference Process Identification section.
8441 (Process Identification): Add information about process ID
8442 lifetime. Describe Linux thread/task IDs.
8443 * manual/signal.texi (Signaling Another Process): Mention that the
8444 signal is always sent to the process.
8446 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8448 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
8449 and tst-ldbl-efgcvt.
8450 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
8451 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
8452 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
8453 (fcvt_tests, output_error, output_r_error, do_test): Use the
8454 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
8455 select the type of floating-point variables and arguments; to
8456 produce extra tests for double and conversion specifiers for
8457 printf; and to set the names of called functions.
8458 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
8459 in tst-efgcvt-template.c.
8460 * misc/tst-ldbl-efgcvt.c: Likewise.
8462 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
8464 * nss/Makefile (tst-nss-test3.out): New rule.
8466 2018-12-13 Joseph Myers <joseph@codesourcery.com>
8468 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
8471 2018-12-13 fanjinke <fanjinke@hygon.cn>
8473 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
8476 2018-12-13 Andreas Schwab <schwab@suse.de>
8479 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
8480 (__pthread_rwlock_rdlock_full): Update expected value for
8481 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
8482 * nptl/tst-rwlock-pwn.c: New file.
8483 * nptl/Makefile (tests): Add tst-rwlock-pwn.
8485 2018-12-12 Joseph Myers <joseph@codesourcery.com>
8487 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
8490 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8492 * benchtests/scripts/compare_bench.py (do_compare): write to
8493 stderr in casestat is not present.
8494 * benchtests/scripts/compare_bench.py (plot_graphs): write to
8495 stderr in case timings field is not present. Also string showing
8496 the output filename goes into the stderr.
8498 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8500 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
8501 and ZeroDivisorError exceptions.
8502 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
8503 argument to loop through user provided statistics.
8504 * benchtests/scripts/compare_bench.py (main): Include the --stats
8507 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8509 * benchtests/scripts/compare_bench.py (compare_runs): Continue
8512 2018-12-12 Florian Weimer <fweimer@redhat.com>
8514 * sysdeps/posix/timespec_get.c: Add missing “any later version”
8515 clause to copyright header.
8517 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8520 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
8521 registers saved in the stack frame.
8522 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
8523 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
8525 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8527 * include/bits/monetary-ldbl.h: New file.
8528 * include/bits/printf-ldbl.h: Likewise.
8529 * include/bits/stdio-ldbl.h: Likewise.
8530 * include/bits/stdlib-ldbl.h: Likewise.
8531 * include/bits/syslog-ldbl.h: Likewise.
8532 * include/bits/wchar-ldbl.h: Likewise.
8534 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8536 * libio/libio.h: Remove redirection for _IO_vfprintf.
8538 2018-12-11 Andreas Schwab <schwab@suse.de>
8540 * Makerules: Remove all references to abilist-pattern.
8541 (update-all-abi): Simplify find expression.
8543 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
8546 * math/auto-libm-test-in: Add new test case.
8547 * math/auto-libm-test-out-pow: Regenerated.
8548 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
8550 2018-12-10 DJ Delorie <dj@redhat.com>
8553 * support/test-container.c: Move postclean step to before we
8556 2018-12-10 Joseph Myers <joseph@codesourcery.com>
8558 * scripts/gen-as-const.py (main): Handle --python option.
8559 * scripts/gen-py-const.awk: Remove.
8560 * Makerules (py-const-script): Use gen-as-const.py.
8561 ($(py-const)): Likewise.
8562 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
8563 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
8564 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
8565 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
8566 ~PTHREAD_MUTEX_NO_ELISION_NP.
8567 * manual/README.pretty-printers: Update reference to
8570 * scripts/glibcextract.py: New file.
8571 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
8572 or tempfile. Import glibcexctract.
8573 (compute_c_consts): Remove. Moved to glibcextract.py.
8574 (gen_test): Update reference to compute_c_consts.
8576 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
8577 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
8578 * sysdeps/unix/sysv/linux/Makefile
8579 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
8580 Redirect stderr as well as stdout.
8582 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
8585 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
8586 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
8587 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
8588 ALWAYS_USE_VSYSCALL.
8589 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
8590 ALWAYS_USE_VSYSCALL.
8591 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
8592 ALWAYS_USE_VSYSCALL.
8594 2018-12-10 Florian Weimer <fweimer@redhat.com>
8597 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
8598 offset instead of count for clarity. Fix typo in comment.
8599 (__old_getdents64): Keep track of previous offset. Use it to call
8601 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
8602 that d_off is never zero.
8604 2018-12-10 Andreas Schwab <schwab@suse.de>
8606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
8607 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
8608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
8609 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
8610 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
8612 2018-12-10 Joseph Myers <joseph@codesourcery.com>
8614 * timezone/private.h: Update from tzcode 2018g.
8615 * timezone/tzfile.h: Likewise.
8616 * timezone/tzselect.ksh: Likewise.
8617 * timezone/zdump.c: Likewise.
8618 * timezone/zic.c: Likewise.
8620 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8623 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
8624 (do_test): Adjust buffer size and fix format.
8626 2018-12-07 DJ Delorie <dj@redhat.com>
8629 * malloc/tst-tcfree3.c: New.
8630 * malloc/Makefile: Add it.
8632 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
8634 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
8636 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8638 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
8639 used as a mask for the mode argument of __vfscanf_internal and
8640 __vfwscanf_internal.
8641 * stdio-common/vfscanf-internal.c
8642 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
8643 (__strtof128_internal): Define to __wcstof128_internal.
8644 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
8645 __strtof128_internal or __wcstof128_internal when the format of
8646 long double is the same as _Float128.
8648 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
8650 * include/unistd.h (__confstr): Add prototype and hidden prototype.
8651 * posix/confstr.c (confstr): Rename to __confstr.
8652 (__confstr): Add hidden def.
8653 (confstr): Add weak alias for __confstr.
8654 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
8657 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
8659 * NEWS: Mention getcpu.
8660 * include/sched.h (__getcpu): New libc_hidden_proto.
8661 * manual/resource.texi: Document getcpu.
8662 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
8663 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
8664 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
8665 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8666 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8667 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8668 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8669 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8670 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8671 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8672 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8673 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8674 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
8676 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8677 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8678 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
8685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
8687 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
8688 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8689 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8690 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8691 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8692 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8693 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8694 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8695 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
8696 * sysdeps/unix/sysv/linux/getcpu.c: New file.
8697 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
8700 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
8702 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
8704 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
8706 2018-12-07 Florian Weimer <fweimer@redhat.com>
8709 * posix/Makefile (routines): Add spawn_faction_addfchdir.
8710 * posix/Versions (GLIBC_2.29): Export
8711 posix_spawn_file_actions_addfchdir_np.
8712 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
8713 * posix/spawn_faction_destroy.c
8714 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
8715 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
8716 and the field action.fchdir_action.
8717 * posix/tst-spawn-chdir.c (add_chdir): New function.
8718 (do_test): Add do_fchdir loop. Call add_chdir.
8719 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
8720 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
8721 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
8722 posix_spawn_file_actions_addfchdir_np.
8723 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
8725 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
8727 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
8728 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
8730 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
8732 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
8734 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
8736 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
8738 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
8740 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8741 (GLIBC_2.29): Likewise.
8742 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8743 (GLIBC_2.29): Likewise.
8744 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8745 (GLIBC_2.29): Likewise.
8746 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8747 (GLIBC_2.29): Likewise.
8748 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
8750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8751 (GLIBC_2.29): Likewise.
8752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8753 (GLIBC_2.29): Likewise.
8754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8755 (GLIBC_2.29): Likewise.
8756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8757 (GLIBC_2.29): Likewise.
8758 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
8760 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
8762 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
8764 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
8765 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
8767 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
8769 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
8771 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
8774 2018-12-06 Joseph Myers <joseph@codesourcery.com>
8776 * manual/texinfo.tex: Update to version 2018-09-21.20 with
8777 trailing whitespace removed.
8778 * scripts/config.guess: Update to version 2018-11-28.
8779 * scripts/config.sub: Update to version 2018-11-28.
8780 * scripts/install-sh: Update to version 2018-03-11.20.
8781 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
8782 * scripts/move-if-change: Update to version 2018-03-07 03:47.
8784 2018-12-07 Florian Weimer <fweimer@redhat.com>
8788 * inet/tst-if_index-long.c: New file.
8789 * inet/Makefile (tests): Add tst-if_index-long.
8791 2018-12-07 Florian Weimer <fweimer@redhat.com>
8793 * support/check.h (support_record_failure_is_failed): Declare.
8794 * support/descriptors.h: New file.
8795 * support/support_descriptors.c: Likewise.
8796 * support/tst-support_descriptors.c: Likewise.
8797 * support/support_record_failure.c
8798 (support_record_failure_is_failed): New function.
8799 * support/Makefile (libsupport-routines): Add support_descriptors.
8800 (tests): Add tst-support_descriptors.
8802 2018-12-05 Zack Weinberg <zackw@panix.com>
8803 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8805 * stdio-common/vfprintf-internal.c
8806 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
8807 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
8808 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
8809 and __no_long_double.
8810 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
8811 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
8812 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
8813 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
8814 and __nldbl_*syslog* functions.
8815 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
8816 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
8817 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
8818 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
8819 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
8820 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
8821 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
8822 (__nldbl_vwprintf, __nldbl_wprintf):
8823 Directly call the appropriate __v*printf_internal routine, passing
8824 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
8826 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
8827 (__nldbl___printf_chk, __nldbl___snprintf_chk)
8828 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
8829 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
8830 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
8831 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
8832 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
8833 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
8834 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
8835 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
8836 Likewise, and also pass PRINTF_FORTIFY when appropriate.
8837 (__nldbl_syslog, __nldbl_vsyslog):
8838 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
8839 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
8841 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
8844 2018-12-05 Zack Weinberg <zackw@panix.com>
8845 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8848 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
8849 Moved here from debug/vsprintf_chk.c.
8850 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
8851 and completion logic for the strfile to match exactly what
8852 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
8853 _IO_str_init_static_internal instead of maxlen-1.
8854 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
8855 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
8856 __vsprintf_internal.
8858 * debug/vsprintf_chk.c (__vsprintf_chk)
8859 * debug/sprintf_chk.c (__sprintf_chk):
8860 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
8861 'flags' argument is positive, and slen as maxlen. No need to lock
8862 the FILE and/or construct a temporary FILE. Minimize and normalize
8863 header inclusions and variable names. Do not libc_hidden_def anything.
8865 * debug/asprintf_chk.c (__asprintf_chk)
8866 * debug/dprintf_chk.c (__dprintf_chk)
8867 * debug/fprintf_chk.c (__fprintf_chk)
8868 * debug/fwprintf_chk.c (__fwprintf_chk)
8869 * debug/printf_chk.c (__printf_chk)
8870 * debug/snprintf_chk.c (__snprintf_chk)
8871 * debug/swprintf_chk.c (__swprintf_chk)
8872 * debug/vasprintf_chk.c (__vasprintf_chk)
8873 * debug/vdprintf_chk.c (__vdprintf_chk)
8874 * debug/vfprintf_chk.c (__vfprintf_chk)
8875 * debug/vfwprintf_chk.c (__vfwprintf_chk)
8876 * debug/vprintf_chk.c (__vprintf_chk)
8877 * debug/vsnprintf_chk.c (__vsnprintf_chk)
8878 * debug/vswprintf_chk.c (__vswprintf_chk)
8879 * debug/vwprintf_chk.c (__vwprintf_chk)
8880 * debug/wprintf_chk.c (__wprintf_chk):
8881 Directly call the corresponding vxxprintf_internal function, passing
8882 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
8883 the FILE and/or construct a temporary FILE. Minimize and normalize
8884 header inclusions and variable names. Do not libc_hidden_def anything.
8886 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
8887 __obstack_vprintf_internal.
8888 (__obstack_vprintf_chk): Convert into a wrapper that calls
8889 __obstack_vprintf_internal (these two functions already had the
8890 same code) and move to new file...
8891 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
8893 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
8894 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
8895 * debug/Makefile (routines): Add vobprintf_chk.
8897 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
8898 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
8899 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
8900 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
8901 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
8902 (__nldbl___obstack_vfprintf_chk):
8903 Directly call the corresponding vxxprintf_internal function,
8904 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
8905 duplicate comparison of slen with 0 or maxlen from the corresponding
8906 non-__nldbl function.
8908 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
8909 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
8910 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
8911 Remove libc_hidden_proto.
8913 * stdio-common/vfprintf-internal.c
8914 (__vfprintf_internal, __vfwprintf_internal):
8915 Do not check _IO_FLAGS2_FORTIFY.
8916 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
8917 * libio/libioP.h: Update prototype of __vsprintf_internal and add
8918 a comment explaining why it has the maxlen argument.
8919 (_IO_acquire_lock_clear_flags2_fct): Remove.
8920 (_IO_acquire_lock_clear_flags2): Remove.
8921 (_IO_release_lock): Remove conditional statement which will
8923 (_IO_acquire_lock): Remove variable which is now unused.
8924 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
8925 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
8927 * stdio-common/Makefile (tests): Add tst-bz11319 and
8928 tst-bz11319-fortify2.
8929 (CFLAGS-tst-bz11319-fortify2.c): New macro.
8930 * stdio-common/tst-bz11319-fortify2.c: New file.
8931 * stdio-common/tst-bz11319.c: Likewise.
8933 2018-12-05 Zack Weinberg <zackw@panix.com>
8934 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8936 * misc/syslog.c: Include libioP.h, not iolibio.h.
8937 (__vsyslog_internal): New function with the former body of
8938 __vsyslog_chk; takes mode_flags argument same as
8939 __v*printf_internal. Call __vfprintf_internal directly.
8941 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
8942 Remove libc_hidden_def.
8943 (__syslog, __syslog_chk): Use __vsyslog_internal.
8944 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
8946 * include/sys/syslog.h: Add multiple inclusion guard.
8947 Add prototype for __vsyslog_internal.
8948 Remove declaration and libc_hidden_proto for __vsyslog_chk.
8950 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
8951 Use __vsyslog_internal.
8953 2018-12-05 Zack Weinberg <zackw@panix.com>
8954 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8956 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
8957 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
8958 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
8960 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
8961 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
8963 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
8964 Include wctype.h here if COMPILE_WPRINTF is defined.
8965 Define __vfprintf_internal or __vfwprintf_internal, depending
8967 Temporarily, on entry to this function, update mode_flags
8968 according to the environmental settings corresponding to
8969 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
8970 Throughout, check mode_flags instead of __ldbl_is_dbl and
8971 _IO_FLAGS2_FORTIFY on the destination FILE.
8972 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
8973 Include vfprintf-internal.c. Don't include wctype.h.
8974 * stdio-common/vfprintf.c: New file. Just define __vfprintf
8975 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
8977 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
8978 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
8980 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
8982 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
8983 and add mode_flags argument; use __vfprintf_internal.
8984 (__vdprintf): New function. Alias vdprintf to this.
8985 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
8986 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
8987 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
8988 (__obstack_printf): Use __obstack_printf_internal.
8989 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
8990 public aliases __vsnprintf and vsnprintf.
8991 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
8993 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
8994 public aliases _IO_vsprintf and vsprintf.
8995 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
8996 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
8997 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
8998 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
8999 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
9001 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
9002 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
9003 * stdio-common/fprintf.c, stdio-common/fxprintf.c
9004 * stdio-common/printf.c: Use __vfprintf_internal.
9006 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
9007 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
9008 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
9010 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
9011 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
9012 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
9013 __vfwprintf_internal.
9015 * libio/libio.h: Remove libc_hidden_proto and declaration for
9017 Remove declaration of _IO_vfwprintf.
9018 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
9020 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
9022 * include/stdio.h: Add prototype for __vasprintf.
9023 (__vsnprintf): Remove declaration, because there are no more
9025 * include/wchar.h (__vfwprintf, __vswprintf): Remove
9026 declaration, because there are no more internal calls.
9028 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
9029 __vsnprintf_internal, instead of _IO_vsnprintf.
9030 * argp/argp-help.c (__argp_error, __argp_failure): Use
9031 __vasprintf_internal, instead of _IO_vasprintf.
9032 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
9033 redefine, because there are no more internal calls.
9035 2018-12-05 Zack Weinberg <zackw@panix.com>
9036 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9038 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
9039 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
9040 Include libio/strfile.h instead of libioP.h.
9041 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
9042 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
9043 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
9044 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
9045 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
9046 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
9047 necessary. Do not set __no_long_double. Normalize variable names.
9048 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
9049 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
9050 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
9051 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
9052 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
9053 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
9054 Call __vfscanf_internal / __vfwscanf_internal directly, passing
9055 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
9056 Do not set __no_long_double. Normalize variable names.
9058 2018-12-05 Zack Weinberg <zackw@panix.com>
9059 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9061 * stdio-common/isoc99_scanf.c
9062 * stdio-common/isoc99_fscanf.c
9063 * stdio-common/isoc99_sscanf.c
9064 * stdio-common/isoc99_vscanf.c
9065 * stdio-common/isoc99_vfscanf.c
9066 * stdio-common/isoc99_vsscanf.c
9067 * wcsmbs/isoc99_wscanf.c
9068 * wcsmbs/isoc99_fwscanf.c
9069 * wcsmbs/isoc99_swscanf.c
9070 * wcsmbs/isoc99_vwscanf.c
9071 * wcsmbs/isoc99_vfwscanf.c
9072 * wcsmbs/isoc99_vswscanf.c:
9073 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
9074 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
9075 No need to lock and unlock the FILE passed to that function.
9077 * stdio-common/vfscanf-internal.c
9078 (__vfscanf_internal, __vfwscanf_internal):
9079 Don't look at _IO_FLAGS2_SCANF_STD.
9080 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
9081 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
9082 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
9084 2018-12-05 Zack Weinberg <zackw@panix.com>
9085 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9087 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
9088 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
9089 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
9090 * libio/strfile.h: Add multiple inclusion guard.
9091 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
9093 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
9094 consistency with the other version of this file.
9095 (ldbl_compat_symbol): New macro.
9096 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
9099 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
9100 Define __vfscanf_internal or __vfwscanf_internal, depending on
9101 COMPILE_WSCANF; don't define any other public symbols.
9102 Remove errval and code to set errp.
9103 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
9104 as the mode_flags argument.
9105 (encode_error, conv_error, input_error): Don't set errval.
9106 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
9107 Include vfscanf-internal.c.
9108 * stdio-common/vfscanf.c: New file defining the public entry
9109 point vfscanf, which calls __vfscanf_internal.
9110 * stdio-common/vfwscanf.c: New file defining the public entry
9111 point vfwscanf, which calls __vfwscanf_internal.
9113 * stdio-common/iovfscanf.c: New file.
9114 * stdio-common/iovfwscanf.c: Likewise.
9116 * stdio-common/Makefile (routines): Add vfscanf-internal,
9117 vfwscanf-internal, iovfscanf, iovfwscanf.
9118 * stdio-common/Versions: Mention GLIBC_2.29, so that
9119 it can be used in SHLIB_COMPAT expressions.
9120 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
9121 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
9122 Call __vfscanf_internal, instead of _IO_vfscanf.
9123 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
9125 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
9128 * libio/iovsscanf.c: Clean up includes, when possible. Use
9129 _IO_strfile_read or _IO_strfile_readw, when needed. Call
9130 __vfscanf_internal or __vfwscanf_internal directly.
9131 * libio/iovswscanf.c: Likewise.
9132 * libio/swscanf.c: Likewise.
9133 * libio/vscanf.c: Likewise.
9134 * libio/vwscanf.c: Likewise.
9135 * libio/wscanf.c: Likewise.
9136 * stdio-common/isoc99_fscanf.c: Likewise.
9137 * stdio-common/isoc99_scanf.c: Likewise.
9138 * stdio-common/isoc99_sscanf.c: Likewise.
9139 * stdio-common/isoc99_vfscanf.c: Likewise.
9140 * stdio-common/isoc99_vscanf.c: Likewise.
9141 * stdio-common/isoc99_vsscanf.c: Likewise.
9142 * stdio-common/scanf.c: Likewise.
9143 * stdio-common/sscanf.c: Likewise.
9144 * wcsmbs/isoc99_fwscanf.c: Likewise.
9145 * wcsmbs/isoc99_swscanf.c: Likewise.
9146 * wcsmbs/isoc99_vfwscanf.c: Likewise.
9147 * wcsmbs/isoc99_vswscanf.c: Likewise.
9148 * wcsmbs/isoc99_vwscanf.c: Likewise.
9149 * wcsmbs/isoc99_wscanf.c: Likewise.
9151 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
9154 (__tz_compute): Replace time_t with __time64_t.
9155 (__tz_convert): Replace time_t* with __time64_t.
9156 (__offtime): Replace time_t* with __time64_t.
9158 (__gmtime_r): Adjust call to __tz_convert.
9161 (__localtime_r): Likewise.
9162 (localtime): Likewise.
9163 * time/offtime.c: Replace time_t with __time64_t.
9164 * time/tzset.c: Likewise.
9166 2018-12-04 Joseph Myers <joseph@codesourcery.com>
9168 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
9169 dynamic linker unless [$(run-built-tests) = yes].
9171 2018-12-03 DJ Delorie <dj@delorie.com>
9173 * support/test-container.c (check_for_unshare_hints): New.
9174 (main): Call it if unshare fails. Add support for "su" scriptlet
9177 2018-12-03 Joseph Myers <joseph@codesourcery.com>
9179 * scripts/gen-as-const.py (compute_c_consts): Take an argument
9180 'START' to indicate that start text should be output.
9181 (gen_test): Likewise.
9182 (main): Generate 'START' for first symbol or '--' line, or at end
9183 of input if not previously generated.
9185 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
9188 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
9189 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
9190 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
9191 ALWAYS_USE_VSYSCALL.
9193 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9196 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
9199 2018-12-03 Carlos O'Donell <carlos@redhat.com>
9202 * locale/programs/localedef.c: Declare boolean hard_links default true.
9203 (options): Add --no-hard-links option.
9204 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
9205 * locale/programs/localedef.h: Declare prototype for hard_links.
9206 * locale/programs/locfile.c (write_locale_data): Don't use hard
9207 links if hard_links is false.
9209 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
9211 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
9213 (__cache_sysconf): Likewise.
9214 (init_cacheinfo): Likewise.
9215 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
9216 populate COMMON_CPUID_INDEX_80000007 and
9217 COMMON_CPUID_INDEX_80000008.
9218 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
9219 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
9220 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
9221 (init_cpu_features): Use _Static_assert on
9222 index_arch_Fast_Unaligned_Load.
9223 __get_cpuid_registers and __get_arch_feature. Updated for
9224 cpu_features_basic. Set stepping in cpu_features.
9225 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
9226 (FEATURE_INDEX_2): New.
9227 (FEATURE_INDEX_MAX): Changed to enum.
9228 (COMMON_CPUID_INDEX_D_ECX_1): New.
9229 (COMMON_CPUID_INDEX_80000007): Likewise.
9230 (COMMON_CPUID_INDEX_80000008): Likewise.
9231 (cpuid_registers): Likewise.
9232 (cpu_features_basic): Likewise.
9233 (CPU_FEATURE_USABLE): Likewise.
9234 (bit_arch_XXX_Usable): Likewise.
9235 (cpu_features): Use cpuid_registers and cpu_features_basic.
9236 (bit_arch_XXX): Reweritten.
9237 (bit_cpu_XXX): Likewise.
9238 (index_cpu_XXX): Likewise.
9239 (reg_XXX): Likewise.
9240 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
9242 (CHECK_CPU_FEATURE): New.
9243 (CHECK_CPU_FEATURE_USABLE): Likewise.
9244 (cpu_kinds): Likewise.
9245 (do_test): Print vendor, family, model and stepping. Check
9246 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
9247 (TEST_FUNCTION): Removed.
9248 Include <support/test-driver.c> instead of
9249 "../../test-skeleton.c".
9250 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
9251 Check POPCNT instead of POPCOUNT.
9252 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
9254 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
9256 * scripts/gen-as-const.py (main): Avoid emitting empty line when
9257 there is no element in `consts'.
9259 2018-12-01 Florian Weimer <fweimer@redhat.com>
9261 * support/support_capture_subprocess.c
9262 (support_capture_subprocess): Check that pipe descriptors have
9263 expected values. Close original pipe descriptors in subprocess.
9265 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
9268 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
9269 attr with __pthread_default_barrierattr.
9270 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
9271 attr with __pthread_default_condattr.
9272 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
9273 attr with __pthread_default_mutexattr.
9274 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
9275 attr with __pthread_default_rwlockattr.
9277 2018-12-01 Kemi Wang <kemi.wang@intel.com>
9279 * manual/tunables.texi (POSIX Thread Tunables): New node.
9280 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
9281 * nptl/nptl-init.c: Include pthread_mutex_conf.h
9282 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
9283 __pthread_tunables_init.
9284 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
9285 (max_adaptive_count): Define.
9286 * nptl/pthread_mutex_conf.c: New file.
9287 * nptl/pthread_mutex_conf.h: New file.
9288 * sysdeps/generic/adaptive_spin_count.h: New file.
9289 * sysdeps/nptl/dl-tunables.list: New file.
9290 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
9291 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
9292 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
9295 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
9298 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
9299 * stdlib/on_exit.c (__on_exit): Likewise.
9300 * stdlib/Makefile (tests): Add tst-bz20544.
9301 * stdlib/tst-bz20544.c: New test.
9303 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
9306 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
9307 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
9310 2018-11-30 Florian Weimer <fweimer@redhat.com>
9312 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
9313 Extend error logging.
9314 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
9317 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9319 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
9320 __sigismember instead of sigismember.
9321 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
9322 cancel_handler): New definitions.
9323 (do_system): Use posix_spawn instead of fork and execl and remove
9325 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
9326 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
9327 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
9328 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9329 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9330 * sysdeps/unix/sysv/linux/system.c: Likewise.
9334 * NEWS: Add new semantic for atfork with popen and system.
9335 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
9338 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9341 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
9342 modification order when accessing reloc_result->addr.
9343 * include/link.h (reloc_result): Add field init.
9344 * nptl/Makefile (tests): Add tst-audit-threads.
9345 (modules-names): Add tst-audit-threads-mod1 and
9346 tst-audit-threads-mod2.
9347 Add rules to build tst-audit-threads.
9348 * nptl/tst-audit-threads-mod1.c: New file.
9349 * nptl/tst-audit-threads-mod2.c: Likewise.
9350 * nptl/tst-audit-threads.c: Likewise.
9351 * nptl/tst-audit-threads.h: Likewise.
9353 2018-11-30 Joseph Myers <joseph@codesourcery.com>
9355 * scripts/gen-as-const.py: New file.
9356 * scripts/gen-as-const.awk: Remove.
9357 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
9359 ($(objpfx)test-as-const-%.c): Likewise.
9361 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
9363 * elf/dl-exception.c: Include <_itoa.h>.
9365 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9367 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
9368 returned by __f_setlk.
9370 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
9371 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9373 * elf/Makefile (tests-internal): Add tst-create_format1.
9374 * elf/dl-exception.c (_dl_exception_create_format): Support
9376 * elf/tst-create_format1.c: New file.
9378 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
9380 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
9381 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
9383 * argp/argp-help.c (__argp_failure): Likewise.
9385 2018-11-29 Mao Han <han_mao@c-sky.com>
9387 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
9388 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
9389 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
9390 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
9391 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
9392 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
9393 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
9394 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
9395 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
9396 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
9397 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
9398 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
9399 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
9400 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
9401 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
9402 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
9403 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
9404 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
9405 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
9406 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
9407 (R_CKCORE_TLS_TPOFF32): New defines.
9409 2018-11-29 Florian Weimer <fweimer@redhat.com>
9411 * posix/Makefile (before-compile): Remove testcases.h and
9413 (generated): Add testcases.h and ptestcases.h.
9414 (testcases.h, ptestcases.h): Move to $(objpfx).
9415 (runtests.o): Add dependency on testcases.h.
9416 (runptests.o): Add dependency on ptestcases.h.
9417 * posix/testcases.h, posix/ptestcases.h: Remove files.
9418 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
9419 not touch posix/testcases.h and posix/ptestcases.h.
9421 2018-11-28 Florian Weimer <fweimer@redhat.com>
9423 support: Add signal support to support_capture_subprocess_check.
9424 * support/capture_subprocess.h (support_capture_subprocess_check):
9425 Adjust comment and rename parameter.
9426 * support/support_capture_subprocess_check.c
9427 (print_actual_status): New function.
9428 (support_capture_subprocess_check): Support negative
9429 status_or_signal. Call print_actual_status.
9430 * support/tst-support_capture_subprocess.c (do_test): Call
9431 support_capture_subprocess_check.
9432 * libio/tst-vtables-common.c (termination_status)
9433 (init_termination_status): Remove.
9434 (check_for_termination): Adjust support_capture_subprocess_check
9436 (do_test): Remove call to init_termination_status.
9438 2018-11-28 Joseph Myers <joseph@codesourcery.com>
9440 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
9441 source directory instead of a copy.
9442 (CommandList.create_copy_dir): Remove.
9444 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
9446 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9448 2018-11-28 Florian Weimer <fweimer@redhat.com>
9450 * support/support.h (support_quote_string): Do not use str
9453 2018-11-27 Joseph Myers <joseph@codesourcery.com>
9455 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
9456 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
9458 2018-11-27 Florian Weimer <fweimer@redhat.com>
9460 * support/support.h (support_quote_string): Declare.
9461 * support/support_quote_string.c: New file.
9462 * support/tst-support_quote_string.c: Likewise.
9463 * support/Makefile (libsupport-routines): Add
9464 support_quote_string.
9465 (tests): Add tst-support_quote_string.
9467 2018-11-27 Florian Weimer <fweimer@redhat.com>
9471 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
9472 descriptor leak in case of ENODEV error.
9474 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
9477 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
9478 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
9479 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
9481 2018-11-26 Carlos O'Donell <carlos@redhat.com>
9483 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
9484 Error for unknown lines.
9486 2018-11-26 Joseph Myers <joseph@codesourcery.com>
9488 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
9489 Touch additional files.
9491 2018-11-26 Florian Weimer <fweimer@redhat.com>
9494 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
9497 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
9500 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
9501 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
9502 SHARED. Include sysdep.h.
9503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
9504 ALWAYS_USE_VSYSCALL.
9505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
9506 ALWAYS_USE_VSYSCALL.
9508 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
9511 * nptl/Makefile (tests-static): Add tst-cond11-static.
9513 * nptl/tst-cond11-static.c: New File.
9514 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
9515 tst-affinity-static.
9517 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
9519 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
9520 (USE_VSYSCALL): Likewise.
9521 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
9522 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
9524 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
9526 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
9529 2018-11-23 Joseph Myers <joseph@codesourcery.com>
9532 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9533 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
9536 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
9538 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
9539 (tst-cet-legacy-1a-ARGS): New.
9540 ($(objpfx)tst-cet-legacy-1a): New target.
9541 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
9543 2018-11-22 Joseph Myers <joseph@codesourcery.com>
9545 * conform/conformtest.py (CompileSubTest.__init__): Set
9546 self.run_early to False.
9547 (ExecuteSubTest.__init__): Likewise.
9548 (HeaderTests.run): Try running all non-optional, non-XFAILed
9549 compilation tests in a single execution of the compiler.
9551 * conform/conformtest.py (CompileSubTest): New class.
9552 (ExecuteSubTest): Likewise.
9553 (ElementTest.run): Rename to gen_subtests. Append tests to
9554 self.subtests instead of running them.
9555 (ConstantTest.run): Likewise.
9556 (SymbolTest.run): Likewise.
9557 (TypeTest.run): Likewise.
9558 (TagTest.run): Likewise.
9559 (FunctionTest.run): Likewise.
9560 (VariableTest.run): Likewise.
9561 (MacroFunctionTest.run): Likewise.
9562 (MacroStrTest.run): Likewise.
9563 (HeaderTests.handle_test_line): Generate subtests for tests.
9564 (HeaderTests.run): Run subtests for tests.
9566 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
9568 * math/Versions (GLIBC_2.29): Add pow.
9569 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
9571 * math/w_pow.c: New file.
9572 * sysdeps/i386/fpu/w_pow.c: New file.
9573 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
9574 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
9575 and add necessary aliases.
9576 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
9577 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
9578 * sysdeps/mach/hurd/i386/libm.abilist: Update.
9579 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9580 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
9581 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
9582 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
9583 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9584 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
9585 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
9586 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
9587 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
9588 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
9589 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
9590 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
9591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
9592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
9593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
9594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
9595 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
9596 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
9597 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
9598 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
9599 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
9600 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
9601 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
9602 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
9604 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
9605 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
9606 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
9608 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
9610 * math/Versions (GLIBC_2.29): Add log2.
9611 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
9613 * math/w_log2.c: New file.
9614 * sysdeps/i386/fpu/w_log2.c: New file.
9615 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
9616 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
9617 and add necessary aliases.
9618 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
9619 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
9620 * sysdeps/mach/hurd/i386/libm.abilist: Update.
9621 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9622 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
9623 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
9624 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
9625 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9626 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
9627 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
9628 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
9629 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
9630 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
9631 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
9632 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
9633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
9634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
9635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
9636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
9637 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
9638 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
9639 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
9640 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
9641 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
9642 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
9643 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
9645 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
9647 * math/Versions (GLIBC_2.29): Add log.
9648 * math/w_log_compat.c (__log_compat): Change to versioned compat
9650 * math/w_log.c: New file.
9651 * sysdeps/i386/fpu/w_log.c: New file.
9652 * sysdeps/ia64/fpu/e_log.S: Update.
9653 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
9654 and add necessary aliases.
9655 * sysdeps/ieee754/dbl-64/w_log.c: New file.
9656 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
9657 * sysdeps/mach/hurd/i386/libm.abilist: Update.
9658 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9659 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
9660 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
9661 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
9662 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9663 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
9664 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
9665 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
9666 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
9667 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
9668 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
9669 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
9670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
9671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
9672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
9673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
9674 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
9675 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
9676 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
9677 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
9678 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
9679 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
9680 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
9681 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
9683 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
9684 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
9685 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
9686 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
9688 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
9690 * math/Versions (GLIBC_2.29): Add exp and exp2.
9691 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
9692 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
9693 * math/w_exp_compat.c (__exp_compat): Likewise.
9694 * math/w_exp.c: New file.
9695 * math/w_exp2.c: New file.
9696 * sysdeps/i386/fpu/w_exp.c: New file.
9697 * sysdeps/i386/fpu/w_exp2.c: New file.
9698 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
9699 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
9700 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
9701 and add necessary aliases.
9702 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
9703 and add necessary aliases.
9704 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
9705 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
9706 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
9707 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
9708 * sysdeps/mach/hurd/i386/libm.abilist: Update.
9709 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9710 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
9711 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
9712 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
9713 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9714 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
9715 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
9716 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
9717 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
9718 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
9719 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
9720 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
9721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
9722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
9723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
9724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
9725 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
9726 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
9727 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
9728 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
9729 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
9730 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
9731 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
9732 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
9733 (__ieee754_exp): Rename to __exp.
9734 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
9735 (__ieee754_exp): Rename to __exp.
9736 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
9737 (__ieee754_exp): Rename to __exp.
9738 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
9740 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
9742 2018-11-20 DJ Delorie <dj@redhat.com>
9744 * malloc/malloc.c (tcache_entry): Add key field.
9745 (tcache_put): Set it.
9746 (tcache_get): Likewise.
9747 (_int_free): Check for double free in tcache.
9748 * malloc/tst-tcfree1.c: New.
9749 * malloc/tst-tcfree2.c: New.
9750 * malloc/Makefile: Run the new tests.
9751 * manual/probes.texi: Document memory_tcache_double_free probe.
9753 * dlfcn/dlerror.c (check_free): Prevent double frees.
9755 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
9757 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
9759 2018-11-20 Joseph Myers <joseph@codesourcery.com>
9761 * conform/conformtest.py (ElementTest.run): Use unique identifiers
9762 in tests. Use names for format arguments.
9763 (ConstantTest.run): Likewise.
9764 (SymbolTest.run): Likewise.
9765 (TypeTest.run): Likewise.
9766 (TagTest.run): Likewise.
9767 (FunctionTest.run): Likewise.
9768 (VariableTest.run): Likewise.
9769 (MacroFunctionTest.run): Likewise.
9770 (MacroStrTest.run): Likewise.
9771 (HeaderTests.__init__): Set self.num_tests.
9772 (HeaderTests.handle_test_line): Set test.num. Increment
9775 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
9777 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
9778 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
9781 2018-11-19 Mao Han <han_mao@c-sky.com>
9783 * scripts/config.guess: Update to version 2018-08-29.
9784 * scripts/config.sub: Update to version 2018-08-29.
9786 2018-11-19 Florian Weimer <fweimer@redhat.com>
9788 support: Print timestamps in timeout handler.
9789 * support/support_test_main.c (print_timestamp): New function.
9790 (signal_handler): Use it to print the termination time and the
9791 time of the last write to standard output.
9793 2018-11-16 Zack Weinberg <zackw@panix.com>
9794 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9796 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
9797 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
9799 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
9800 and add flags argument. Check flags instead of __ldbl_is_dbl when
9801 deciding whether to set is_long_double.
9802 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
9803 passing zero for flags argument.
9804 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
9806 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
9807 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
9808 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
9809 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
9810 variable names. Remove libc_hidden_def/libc_hidden_proto from
9811 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
9812 longer called from within the library.
9813 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
9814 for __nldbl___vstrfmon_l, declare it explicitly.
9816 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
9818 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
9820 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
9822 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
9823 F_SETLK64, F_SETLKW64, respectively.
9824 * sysdeps/mach/hurd/f_setlk.c: New file.
9825 * sysdeps/mach/hurd/f_setlk.h: New file.
9826 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
9828 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
9829 (__libc_fcntl): Move non-flock operations to...
9830 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
9831 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
9833 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
9835 mktime: DEBUG_MKTIME cleanup
9836 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
9837 And it’s no longer needed now that glibc and Gnulib both have
9838 their own testing mechanisms for mktime.
9839 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
9841 mktime: fix non-EOVERFLOW errno handling
9843 mktime was not properly reporting failures when the underlying
9844 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
9845 them like EOVERFLOW failures, and set errno to EOVERFLOW.
9846 The problem could happen on non-glibc platforms, with Gnulib.
9847 * time/mktime.c (guess_time_tm): Remove, replacing with ...
9848 (tm_diff): ... this simpler function, which does not change errno.
9849 All callers changed to deal with errno themselves.
9850 (ranged_convert, __mktime_internal): Return failure immediately if
9851 the underlying function reports any failure other than EOVERFLOW.
9852 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
9855 mktime: fix bug with Y2038 DST transition
9857 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
9858 mishandle a DST transition that jumps over the Y2038 boundary.
9859 No such DST transitions are known so this is only a theoretical
9860 bug, but we might as well do things right.
9862 mktime: make more room for overflow
9864 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
9865 This is so that we can add tm_diff results to a previous guess,
9866 which will be useful in a later patch.
9868 mktime: simplify offset guess
9870 * time/mktime.c (__mktime_internal): Omit excess precision.
9872 mktime: new test for mktime failure
9874 Based on a test suggested by Albert Aribaud in:
9875 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
9876 * time/Makefile (tests): Add bug-mktime4.
9877 * time/bug-mktime4.c: New file.
9879 mktime: fix EOVERFLOW bug
9881 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
9882 Include libc-config.h, not config.h, for __set_errno.
9883 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
9885 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
9887 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
9888 __attribute_copy__ to copy attributes from name. Drop static qualifier
9889 to avoid warnings about leaf attribute not having effect on static
9892 2018-11-13 Florian Weimer <fweimer@redhat.com>
9894 * malloc/malloc.c (fastbin_push_entry): New function.
9895 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
9896 (REMOVE_FB): Remove macro.
9897 (_int_malloc): Use fastbin_pop_entry and reindent.
9898 (_int_free): Use fastbin_push_entry.
9899 (malloc_consolidate): Use atomic_exchange_acquire.
9901 2018-11-13 Joseph Myers <joseph@codesourcery.com>
9903 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
9904 alias attribute, not with strong_alias.
9906 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
9907 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
9908 with additional parameter thread.
9909 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
9910 in terms of __hidden_ver2.
9911 (hidden_tls_def): New macro.
9912 (libc_hidden_tls_def): Likewise.
9913 (rtld_hidden_tls_def): Likewise.
9914 (libm_hidden_tls_def): Likewise.
9915 (libmvec_hidden_tls_def): Likewise.
9916 (libresolv_hidden_tls_def): Likewise.
9917 (librt_hidden_tls_def): Likewise.
9918 (libdl_hidden_tls_def): Likewise.
9919 (libnss_files_hidden_tls_def): Likewise.
9920 (libnsl_hidden_tls_def): Likewise.
9921 (libnss_nisplus_hidden_tls_def): Likewise.
9922 (libutil_hidden_tls_def): Likewise.
9923 (libutil_hidden_tls_def): Likweise.
9924 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
9925 libc_hidden_tls_def.
9926 (__sim_disabled_exceptions_thread): Likewise.
9927 (__sim_round_mode_thread): Likewise.
9929 * sysdeps/sparc/sparc-ifunc.h [SHARED]
9930 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
9931 copy attributes from name.
9933 2018-11-12 Joseph Myers <joseph@codesourcery.com>
9935 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
9936 Use __attribute_copy__ to copy attributes from name.
9938 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
9939 with __hidden_ver1 call.
9940 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
9941 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
9942 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
9943 (__cosf): Do not declare here.
9944 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
9945 (__sincosf): Do not declare here.
9946 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
9947 (__sinf): Do not declare here.
9949 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
9950 (__BIG_ENDIAN): Likewise.
9951 (__BYTE_ORDER): Likewise.
9952 (strong_alias): Likewise.
9953 (_strong_alias): Likewise.
9955 2018-11-12 Florian Weimer <fweimer@redhat.com>
9957 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
9958 function. Move after the definition of in_smallbin_range. Do not
9959 use __builtin_expect for paths that lead to a noreturn function.
9960 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
9961 because it is unclear whether this is in fact an unlikely
9963 (_int_malloc, _int_free): Adjust.
9964 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
9966 * malloc/arena.c (heap_trim): Likewise.
9968 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9970 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
9971 it, free it if needed.
9972 (reauthenticate): Test and use ccwdir.
9973 (child_init_port): In non-resetids case, test and use ccwdir.
9974 (child_chdir): New nested function to set ccwdir.
9975 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
9976 * hurd/hurd/port.h (_hurd_port_move): New function.
9977 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
9978 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
9979 * hurd/Versions (_hurd_port_move): Export function.
9980 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
9982 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
9983 of dtablesize for allocating dtable_cloexec.
9985 2018-11-09 Martin Sebor <msebor@redhat.com>
9987 * include/libc-symbols.h (__attribute_copy__): Define macro unless
9988 it's already defined.
9989 (_strong_alias): Use __attribute_copy__.
9990 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
9991 * misc/sys/cdefs.h (__attribute_copy__): New macro.
9992 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
9993 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
9994 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
9995 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
9996 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
9997 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
9998 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
9999 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
10000 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
10001 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
10002 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
10003 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
10004 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
10005 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
10006 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
10007 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
10008 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
10010 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10012 * misc/tst-efgcvt.c: Include support/check.h and
10013 support/test-driver.c. Do not include test-skeleton.c.
10014 (error_count): Remove.
10015 (output_error): Replace increments to error_count with calls to
10016 support_record_failure.
10017 (output_r_error): Likewise.
10018 (special): Likewise.
10019 (do_test): Unconditionally return zero.
10020 (TEST_FUNCTION): Remove.
10022 2018-11-09 Joseph Myers <joseph@codesourcery.com>
10024 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
10026 ($(linknamespace-header-tests)): Likewise.
10028 * conform/conformtest.py: New file.
10029 * conform/conformtest.pl: Remove.
10030 * conform/GlibcConform.pm: Likewise.
10031 * conform/glibcconform.py (KEYWORDS_C90): New constant.
10032 (KEYWORDS_C99): Likewise.
10033 (KEYWORDS): Likewise.
10034 * conform/Makefile ($(conformtest-header-tests)): Use
10035 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
10036 option. Use --header instead of --headers.
10037 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
10039 * conform/data/spawn.h-data: Likewise.
10040 * conform/data/fcntl.h-data (openat): Add space after function
10042 * conform/data/wchar.h-data (wcscasecmp): Likewise.
10043 (wcscasecmp_l): Likewise.
10044 * conform/data/termios.h-data (c_cc): Add space after element
10047 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10049 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
10050 instead of manually comparing and reporting mismatching strings.
10051 * misc/tst-ldbl-error.c (do_one_test): Likewise.
10052 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
10054 2018-11-08 Joseph Myers <joseph@codesourcery.com>
10056 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
10057 __ASSUME_SOCKETCALL.
10058 * sysdeps/unix/sysv/linux/i386/kernel-features.h
10059 (__ASSUME_SOCKETCALL): Remove.
10060 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10061 (__ASSUME_SOCKETCALL): Likewise.
10062 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10063 (__ASSUME_SOCKETCALL): Likewise.
10064 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10065 (__ASSUME_SOCKETCALL): Likewise.
10066 * sysdeps/unix/sysv/linux/s390/kernel-features.h
10067 (__ASSUME_SOCKETCALL): Likewise.
10068 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10069 (__ASSUME_SOCKETCALL): Likewise.
10070 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10071 (__ASSUME_SOCKETCALL): Likewise.
10073 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
10076 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
10077 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
10078 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
10079 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
10080 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
10083 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
10086 * resolv/tst-resolv-network.c: Add test for getnetbyname.
10088 2018-11-07 Joseph Myers <joseph@codesourcery.com>
10091 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10092 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
10093 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10094 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
10096 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10098 * support/support_test_compare_string.c
10099 (support_test_compare_string): Fix printf format.
10101 2018-11-07 Florian Weimer <fweimer@redhat.com>
10103 Implement TEST_COMPARE_STRING.
10104 * support/check.h (TEST_COMPARE_STRING): Define.
10105 (support_test_compare_string): Declare.
10106 * support/Makefile (libsupport-routines): Add
10107 support_test_compare_string.
10108 (tests): Add tst-test_compare_string.
10109 * support/support_test_compare_string.c: New file.
10110 * support/tst-test_compare_string.c: Likewise.
10112 2018-11-07 Andreas Schwab <schwab@suse.de>
10115 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
10116 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
10119 2018-11-06 Joseph Myers <joseph@codesourcery.com>
10122 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10123 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
10124 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
10125 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
10128 2018-11-06 Florian Weimer <fweimer@redhat.com>
10131 * posix/Makefile (routines): Add spawn_faction_addchdir.
10132 (tests): Add tst-spawn-chdir.
10133 * posix/Versions (GLIBC_2.29): Add
10134 posix_spawn_file_actions_addchdir_np.
10135 * posix/spawn_faction_addchdir.c: New file.
10136 * posix/spawn_faction_destroy.c
10137 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
10138 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
10139 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
10141 * posix/tst-spawn-chdir.c: New file.
10142 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
10143 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
10144 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
10145 posix_spawn_file_actions_addchdir_np.
10146 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
10148 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
10150 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
10151 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
10153 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
10155 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
10157 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
10159 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
10161 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
10163 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10164 (GLIBC_2.29): Likewise.
10165 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10166 (GLIBC_2.29): Likewise.
10167 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10168 (GLIBC_2.29): Likewise.
10169 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10170 (GLIBC_2.29): Likewise.
10171 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
10173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10174 (GLIBC_2.29): Likewise.
10175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10176 (GLIBC_2.29): Likewise.
10177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10178 (GLIBC_2.29): Likewise.
10179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10180 (GLIBC_2.29): Likewise.
10181 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
10183 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
10185 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
10187 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
10188 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
10190 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
10192 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
10194 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
10197 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10199 * misc/Makefile (tests): Add tst-ldbl-error.
10200 * misc/tst-ldbl-error.c: New file.
10202 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10204 * misc/Makefile (tests): Add tst-ldbl-warn.
10205 * misc/tst-ldbl-warn.c: New file.
10207 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10209 * argp/Makefile (tests): Add tst-ldbl-argp.
10210 * argp/tst-ldbl-argp.c: New file.
10212 2018-11-05 Arjun Shankar <arjun@redhat.com>
10214 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
10215 __gconv_path_elem and call __gconv_get_path unconditionally.
10217 2018-11-05 Andreas Schwab <schwab@suse.de>
10220 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
10221 creating the first helper thread failed.
10223 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10225 * sysdeps/mach/hurd/msync.c: New file.
10227 2018-11-02 Florian Weimer <fweimer@redhat.com>
10229 * support/shell-container.c (copy_func): Call
10230 support_copy_file_range instead of copy_file_range to support
10231 cross-device copies.
10233 2018-11-02 Florian Weimer <fweimer@redhat.com>
10235 * support/test-container.c: Include <libc-pointer-arith.h> for
10238 2018-11-01 Zong Li <zong@andestech.com>
10240 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
10241 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
10242 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
10243 (__FP_FRAC_SET_8): Add implementation for RV32 use.
10245 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
10246 variable to avoid overlap arguments.
10248 2018-11-01 Joseph Myers <joseph@codesourcery.com>
10250 * posix/bug-regex22.c (main): Use puts with distinct error
10251 messages for unexpected success of re_compile_pattern, not printf
10252 with NULL argument to %s.
10254 * stdio-common/bug22.c: Include <libc-diag.h>.
10255 (do_test): Disable -Wformat-overflow= warnings around fprintf
10256 calls outputting more than INT_MAX characters.
10257 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
10258 around printf call with NULL %s argument.
10261 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
10262 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
10264 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10265 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10266 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10267 (__ASSUME_SENDTO_SYSCALL): Likewise.
10268 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10269 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
10271 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10272 (__ASSUME_CONNECT_SYSCALL): Likewise.
10273 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10274 (__ASSUME_RECVFROM_SYSCALL): Likewise.
10275 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
10277 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
10279 [__LINUX_KERNEL_VERSION >= 0x040400]
10280 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10281 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
10283 (listen): Likewise.
10284 (setsockopt): Likewise.
10286 2018-11-01 Fredrik Noring <noring@nocrew.org>
10288 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
10289 with the ISA override.
10291 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
10293 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
10296 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10298 * manual/errno.texi (EIEIO): Document how translators should
10299 translate the error message.
10300 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
10301 printing trailing whitespaces refused by git.
10302 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
10303 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10304 * hurd/Makefile (user-interfaces): Add pci.
10306 2018-10-30 Joseph Myers <joseph@codesourcery.com>
10308 * conform/linknamespace.py: New file.
10309 * conform/linknamespace.pl: Remove file.
10310 * conform/Makefile ($(linknamespace-header-tests)): Use
10311 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
10314 2018-10-30 Florian Weimer <fweimer@redhat.com>
10316 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
10319 2018-10-30 Florian Weimer <fweimer@redhat.com>
10321 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
10323 2018-10-30 Florian Weimer <fweimer@redhat.com>
10325 * stdlib/tst-strtod-overflow.c (do_test): Switch to
10326 support_blob_repeat.
10328 2018-10-30 Florian Weimer <fweimer@redhat.com>
10330 Avoid spurious test failures in stdlib/test-bz22786.
10331 * support/Makefile (libsupport-routines): Add blob_repeat.
10332 (tests): Add tst-support_blob_repeat.
10333 * support/blob_repeat.h: New file.
10334 * support/blob_repeat.c: Likewise.
10335 * support/tst-support_blob_repeat.c: Likewise.
10336 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
10337 support_blob_repeat_allocate.
10339 2018-10-30 Andreas Schwab <schwab@suse.de>
10342 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
10343 Don't use tail call.
10344 * elf/tst-unwind-main.c: New file.
10345 * elf/Makefile (tests): Add tst-unwind-main.
10346 (CFLAGS-tst-unwind-main.c): Define.
10348 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
10351 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
10352 n_cs_precedes to 0.
10353 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
10355 2018-10-29 Joseph Myers <joseph@codesourcery.com>
10357 * conform/glibcconform.py: Do not import shutil.
10358 (list_exported_functions): Use tempfile.TemporaryDirectory instead
10361 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
10362 critic_missing for versions before 3.4.
10363 * configure: Regenerated.
10364 * manual/install.texi (Tools for Compilation): Document
10365 requirement for Python to build glibc.
10366 * INSTALL: Regenerated.
10367 * Rules [PYTHON]: Make code unconditional.
10368 * benchtests/Makefile [PYTHON]: Likewise.
10369 * conform/Makefile [PYTHON]: Likewise.
10370 * manual/Makefile [PYTHON]: Likewise.
10371 * math/Makefile [PYTHON]: Likewise.
10373 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10375 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
10376 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
10377 answer to interrupt_operation, return EIEIO instead of EINTR.
10378 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
10379 _hurd_intr_rpc_msg_about_to global point to start of controlled
10380 assembly snippet. Make it check canceled flag.
10381 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
10382 the _hurd_intr_rpc_msg_about_to point.
10383 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
10384 issue, remove cancel flag check.
10386 2018-10-26 Joseph Myers <joseph@codesourcery.com>
10388 * scripts/build-many-glibcs.py: Remove compatibility for missing
10389 os.cpu_count and re.fullmatch.
10391 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
10394 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
10395 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
10396 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
10398 2018-10-25 Joseph Myers <joseph@codesourcery.com>
10400 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
10403 2018-10-25 Florian Weimer <fweimer@redhat.com>
10407 XFAIL siginfo_t si_band conform test on sparc64.
10408 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
10409 (__SI_BAND_TYPE): Only override long int default type on sparc64.
10410 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10411 (conformtest-xfail-conds): Add sparc64-linux.
10412 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
10414 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
10416 2018-10-25 Joseph Myers <joseph@codesourcery.com>
10418 * elf/elf.h (NT_MIPS_DSP): New macro.
10419 (NT_MIPS_FP_MODE): Likewise.
10421 2018-10-25 Zong Li <zong@andestech.com>
10423 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
10424 name by adding the file extension (.so).
10426 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
10428 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
10429 (test-xfail-ISO11/threads.h/linknamespace,
10430 test-xfail-ISO11/threads.h/conform): Add.
10432 2018-10-24 Joseph Myers <joseph@codesourcery.com>
10434 * math/gen-libm-test.py: Import os.
10435 (ALL_FLOATS_MANUAL): New constant.
10436 (ALL_FLOATS_SUFFIX): Likewise.
10437 (Ulps.all_functions): New function.
10438 (real_all_ulps): Likewise.
10439 (generate_err_table_sub): Likewise.
10440 (generate_err_table): Likewise.
10441 (main): Handle -s and -m options.
10442 * manual/libm-err-tab.pl: Remove.
10443 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
10444 instead of libm-err-tab.pl.
10445 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
10447 * manual/install.texi (Tools for Compilation): Document
10448 requirement for Python to build manual.
10449 * INSTALL: Regenerated.
10451 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
10453 * bits/time64.h: New file.
10454 * include/time.h: Replace internal_time_t with __time64_t.
10455 * posix/bits/types (__time64_t): Add.
10456 * stdlib/Makefile: Add bits/time64.h to includes.
10457 * time/tzfile.c: Replace internal_time_t with __time64_t.
10459 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10461 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
10462 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
10463 __posix_spawn_file_actions_init, __posix_spawnattr_init,
10464 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
10465 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
10467 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
10468 * posix/spawn_faction_addclose.c
10469 (__posix_spawn_file_actions_addclose): Add hidden definition.
10470 * posix/spawn_faction_adddup2.c
10471 (__posix_spawn_file_actions_adddup2): Likewise.
10472 * posix/spawn_faction_destroy.c
10473 (__posix_spawn_file_actions_destroy): Likewise.
10474 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
10476 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
10477 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
10478 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
10480 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
10481 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
10484 2018-10-24 Andreas Schwab <schwab@suse.de>
10487 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
10489 * elf/cache.c (print_cache): Likewise.
10491 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
10493 * bits/timesize.h: New file.
10494 * stdlib/Makefile (headers): Add bits/timesize.h.
10495 * sysdeps/unix/sysv/linux/bits/msq-pad.h
10496 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
10497 * sysdeps/unix/sysv/linux/bits/sem-pad.h
10498 (__SEM_PAD_AFTER_TIME): Likewise.
10499 * sysdeps/unix/sysv/linux/bits/shm-pad.h
10500 (__SHM_PAD_AFTER_TIME): Likewise.
10501 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
10502 (__MSQ_PAD_BEFORE_TIME): Likewise.
10503 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
10504 (__SEM_PAD_BEFORE_TIME): Likewise.
10505 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
10506 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
10507 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
10508 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
10509 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
10510 (__MSQ_PAD_BEFORE_TIME): Likewise.
10511 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
10512 (__SEM_PAD_BEFORE_TIME): Likewise.
10513 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
10514 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
10515 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
10516 (__MSQ_PAD_BEFORE_TIME): Likewise.
10517 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
10518 (__SEM_PAD_BEFORE_TIME): Likewise.
10519 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
10520 (__SHM_PAD_BEFORE_TIME): Likewise.
10521 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
10522 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
10523 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
10525 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
10527 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
10528 USE_RDTSCP is defined.
10529 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
10530 USE_RDTSCP is defined.
10532 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10534 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
10538 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
10539 independently of other flags.
10541 2018-10-23 Florian Weimer <fweimer@redhat.com>
10543 * time/tst-mktime2.c (N_STRINGS): Remove.
10544 (set_timezone): New function.
10545 (spring_forward_gap): Call it. Use FAIL_EXIT1.
10546 (mktime_test1): Report localtime failure and check errno value.
10548 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
10549 (do_test): Remove alarm call. Use set_timezone and array_length.
10551 2018-10-23 Andreas Schwab <schwab@suse.de>
10553 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
10554 (__start_context): Use END instead of PSEUDO_END.
10556 2018-10-22 Joseph Myers <joseph@codesourcery.com>
10558 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10561 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10565 * wcsmbs/c32rtomb.c: New file.
10566 * wcsmbs/mbrtoc32.c: Likewise.
10567 * wcsmbs/tst-c32-state.c: Likewise.
10568 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
10569 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
10570 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
10571 (tests): Add tst-c32-state.
10572 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
10575 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
10577 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
10578 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
10580 2018-10-19 Joseph Myers <joseph@codesourcery.com>
10583 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
10584 pair and return 0 in that case, and use saved character to
10585 interpret following character.
10586 * wcsmbs/tst-c16-surrogate.c: New file.
10587 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
10588 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
10589 Depend on $(gen-locales)
10591 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
10594 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
10595 (struct siginfo_t): Use correct type for si_band.
10597 2018-10-19 Florian Weimer <fweimer@redhat.com>
10600 * resource/bits/types/struct_rusage.h (struct rusage): Update
10601 comment on struct. Remove extraneous field comment.
10603 2018-10-18 David S. Miller <davem@davemloft.net>
10605 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
10606 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
10607 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
10608 sysdep_routines in subdir elf.
10609 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
10610 version for __vdso_clock_gettime.
10611 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
10613 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
10614 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
10616 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
10618 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
10620 * sysdeps/i386/init-arch.h: Removed.
10621 * sysdeps/i386/i586/init-arch.h: Likewise.
10622 * sysdeps/i386/i686/init-arch.h: Likewise.
10623 * sysdeps/i386/i686/hp-timing.h: Likewise.
10624 * sysdeps/x86_64/hp-timing.h: Likewise.
10625 * sysdeps/i386/isa.h: New file.
10626 * sysdeps/i386/i586/isa.h: Likewise.
10627 * sysdeps/i386/i686/isa.h: Likewise.
10628 * sysdeps/x86_64/isa.h: Likewise.
10629 * sysdeps/x86/hp-timing.h: New file.
10630 * sysdeps/x86/init-arch.h: Include <isa.h>.
10632 2018-10-17 Joseph Myers <joseph@codesourcery.com>
10634 * math/libm-test-pow.inc (pow_test_data): Do not allow
10635 divide-by-zero exception for pow(+/- 0, -Inf).
10637 2018-10-17 Zack Weinberg <zackw@panix.com>
10639 * manual/job.texi (Job Control is Optional): Remove node, as
10640 job control has not been optional in quite some time.
10641 (Job Control): Mention briefly that systems older than
10642 POSIX.1-2001 might not support job control.
10643 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
10644 defined on systems conforming to POSIX.1-2001.
10646 2018-10-17 Arjun Shankar <arjun@redhat.com>
10649 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
10651 * (__gconv_read_conf): Mark function static.
10652 * (once): New static variable.
10653 * (__gconv_load_conf): New function.
10654 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
10655 * iconv/gconv_db.c (once): Remove static variable.
10656 * (__gconv_compare_alias): Use __gconv_load_conf instead of
10658 * (__gconv_find_transform): Likewise.
10659 * iconv/tst-iconv-mt.c: New test.
10660 * iconv/Makefile: Add tst-iconv_mt.
10662 2018-10-17 Joseph Myers <joseph@codesourcery.com>
10664 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10666 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
10667 (shmatt_t): Define as __syscall_ulong_t.
10668 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
10669 and [__SHM_PAD_AFTER_TIME].
10670 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
10671 Define shm_segsz and associated padding based on
10672 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
10673 Use __syscall_ulong_t instead of unsigned long int.
10674 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
10676 [__USE_MISC] (struct shm_info): Likewise.
10677 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
10678 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
10679 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
10680 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
10681 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
10682 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
10683 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
10684 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
10685 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10686 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10687 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10689 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10691 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
10692 (SHMLBA): Remove macro.
10693 (__getpagesize): Remove function declaration.
10694 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
10696 (SHMLBA): Remove macro.
10697 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
10699 (SHMLBA): Remove macro.
10700 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
10702 (SHMLBA): Remove macro.
10703 (__getpagesize): Remove function declaration.
10704 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
10706 (SHMLBA): Remove macro.
10707 (__getshmlba): Remove function declaration.
10708 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
10709 (SHMLBA): Remove macro.
10710 (__getpagesize): Remove function declaration.
10711 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
10712 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
10713 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10714 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
10715 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
10716 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
10717 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
10718 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
10719 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
10720 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
10722 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
10725 * nptl/tst-mutex10.c: New File.
10726 * nptl/Makefile (tests): Add tst-mutex10.
10727 (tst-mutex10-ENV): New variable.
10728 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
10729 Ensure that elision path is used if elision is available.
10730 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
10732 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
10734 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
10735 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
10736 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
10737 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
10739 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
10740 (__pthread_mutex_cond_lock_adjust): Likewise.
10741 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
10743 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
10744 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
10745 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10746 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
10748 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
10749 Use atomic_load_relaxed and atomic_store_relaxed.
10750 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
10751 Use atomic_store_relaxed.
10753 2018-10-17 Andreas Schwab <schwab@suse.de>
10755 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
10756 * crypt/badsalttest.c (TIMEOUT): Likewise.
10757 * crypt/sha256c-test.c (TIMEOUT): Likewise.
10758 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
10759 * io/test-lfs.c (TIMEOUT): Likewise.
10760 * libio/tst-atime.c (TIMEOUT): Likewise.
10761 * localedata/tst-leaks.c (TIMEOUT): Likewise.
10762 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
10763 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
10764 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
10765 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
10766 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
10767 * nptl/tst-cond11.c (TIMEOUT): Likewise.
10768 * nptl/tst-cond14.c (TIMEOUT): Likewise.
10769 * nptl/tst-cond15.c (TIMEOUT): Likewise.
10770 * nptl/tst-cond24.c (TIMEOUT): Likewise.
10771 * nptl/tst-cond25.c (TIMEOUT): Likewise.
10772 * nptl/tst-kill2.c (TIMEOUT): Likewise.
10773 * nptl/tst-kill3.c (TIMEOUT): Likewise.
10774 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
10775 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
10776 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
10777 * nptl/tst-once2.c (TIMEOUT): Likewise.
10778 * nptl/tst-once3.c (TIMEOUT): Likewise.
10779 * nptl/tst-once4.c (TIMEOUT): Likewise.
10780 * nptl/tst-robust8.c (TIMEOUT): Likewise.
10781 * nptl/tst-robust9.c (TIMEOUT): Likewise.
10782 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
10783 * nptl/tst-sem14.c (TIMEOUT): Likewise.
10784 * nptl/tst-sem6.c (TIMEOUT): Likewise.
10785 * nptl/tst-signal3.c (TIMEOUT): Likewise.
10786 * nptl/tst-spin4.c (TIMEOUT): Likewise.
10787 * nptl/tst-tls3.c (TIMEOUT): Likewise.
10788 * nptl/tst-tls4.c (TIMEOUT): Likewise.
10789 * posix/tst-chmod.c (TIMEOUT): Likewise.
10790 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
10791 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
10792 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
10793 * posix/tst-regex2.c (TIMEOUT): Likewise.
10794 * posix/tst-waitid.c (TIMEOUT): Likewise.
10795 * rt/tst-aio.c (TIMEOUT): Likewise.
10796 * rt/tst-aio10.c (TIMEOUT): Likewise.
10797 * rt/tst-aio4.c (TIMEOUT): Likewise.
10798 * rt/tst-aio5.c (TIMEOUT): Likewise.
10799 * rt/tst-aio6.c (TIMEOUT): Likewise.
10800 * rt/tst-aio64.c (TIMEOUT): Likewise.
10801 * rt/tst-aio7.c (TIMEOUT): Likewise.
10802 * rt/tst-aio9.c (TIMEOUT): Likewise.
10803 * rt/tst-clock.c (TIMEOUT): Likewise.
10804 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
10805 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
10806 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
10807 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
10808 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
10809 * rt/tst-timer4.c (TIMEOUT): Likewise.
10810 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
10811 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
10812 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
10813 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
10814 * time/tst-ftime.c (TIMEOUT): Likewise.
10815 * timezone/tst-tzset.c (TIMEOUT): Likewise.
10817 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
10819 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
10820 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
10823 2018-10-15 Joseph Myers <joseph@codesourcery.com>
10825 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10827 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
10828 instead of <bits/wordsize.h>.
10829 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
10830 and [__SEM_PAD_AFTER_TIME].
10831 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
10832 __syscall_ulong_t instead of unsigned long int.
10833 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
10834 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
10835 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
10836 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
10837 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
10838 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
10839 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
10840 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
10841 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10842 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10843 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10845 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
10847 regex: simplify by using intprops.h
10849 * posix/regex_internal.h [_LIBC]: Include intprops.h.
10850 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
10851 intprops.h defines them.
10853 regex: __builtin_expect → __glibc_unlikely
10855 This refactoring was prompted by a problem when the regex code is
10856 used as part of Gnulib and when the builder’s compiler does not grok
10857 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
10858 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
10859 Although this refactoring does not fix the problem directly,
10860 we might as well have Gawk use the now-preferred glibc style for when
10861 __builtin_expect is unavailable.
10862 * posix/regex_internal.h (BE): Remove.
10863 All uses replaced by __glibc_unlikely or __glibc_likely.
10865 2018-10-11 Joseph Myers <joseph@codesourcery.com>
10867 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10869 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
10870 instead of <bits/wordsize.h>.
10871 (msgqnum_t): Define as __syscall_ulong_t.
10872 (msglen_t): Likewise.
10873 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
10874 and [__MSQ_PAD_AFTER_TIME].
10875 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
10876 __syscall_ulong_t instead of unsigned long int.
10877 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
10878 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
10879 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
10880 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
10881 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
10882 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
10883 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
10884 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
10885 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10886 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10887 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10889 2018-10-10 Joseph Myers <joseph@codesourcery.com>
10891 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
10892 (struct shmid_ds): Condition padding after time fields on
10893 [__WORDSIZE == 32].
10894 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
10895 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
10896 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10898 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
10899 (struct semid_ds): Condition padding after time fields on
10900 [__WORDSIZE == 32].
10901 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
10902 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
10903 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
10904 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10906 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
10907 (struct msqid_ds): Condition padding after time fields on
10908 [__WORDSIZE == 32].
10909 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
10910 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
10911 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
10912 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10914 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
10916 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
10918 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
10920 * libio/tst-readline.c (TIMEOUT): Define.
10922 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
10924 mktime fix for Gnulib + coreutils
10926 This fix affects only Gnulib. Problem discovered when
10927 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
10929 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
10930 Do not define since it is not used. Defining an unused static
10931 function prompts a warning from GCC when Coreutils is configured
10932 with --enable-gcc-warnings.
10934 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10936 * benchtests/scripts/compare_bench.py (main): set float type on
10937 threshold argument.
10939 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
10942 * localedata/locales/kl_GL (mon): Update, the relative case.
10943 (alt_mon): Add, fill with month names in the nominative case.
10944 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
10945 (d_fmt): Set to "%b %d %Y".
10947 2018-10-04 Joseph Myers <joseph@codesourcery.com>
10949 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
10950 <bits/mman-linux.h>.
10951 (PROT_READ): Don't define here.
10952 (PROT_WRITE): Likewise.
10953 (PROT_EXEC): Likewise.
10954 (PROT_NONE): Likewise.
10955 (PROT_GROWSDOWN): Likewise.
10956 (PROT_GROWSUP): Likewise.
10957 (MAP_SHARED): Likewise.
10958 (MAP_PRIVATE): Likewise.
10959 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
10960 [__USE_MISC] (MAP_FILE): Likewise.
10961 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
10962 [__USE_MISC] (MAP_ANON): Likewise.
10963 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
10964 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
10965 (MCL_CURRENT): Likewise.
10966 (MCL_FUTURE): Likewise.
10967 (MCL_ONFAULT): Likewise.
10968 [__USE_MISC] (MADV_NORMAL): Likewise.
10969 [__USE_MISC] (MADV_RANDOM): Likewise.
10970 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
10971 [__USE_MISC] (MADV_WILLNEED): Likewise.
10972 [__USE_MISC] (MADV_DONTNEED): Likewise.
10973 [__USE_MISC] (MADV_FREE): Likewise.
10974 [__USE_MISC] (MADV_REMOVE): Likewise.
10975 [__USE_MISC] (MADV_DONTFORK): Likewise.
10976 [__USE_MISC] (MADV_DOFORK): Likewise.
10977 [__USE_MISC] (MADV_HWPOISON): Likewise.
10978 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
10979 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
10980 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
10981 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
10982 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
10983 (__MAP_ANONYMOUS): New macro.
10984 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
10985 <bits/mman-linux.h> inclusion.
10986 (MAP_FIXED): Likewise.
10987 (MS_SYNC): Likewise.
10988 (MS_ASYNC): Likewise.
10989 (MS_INVALIDATE): Likewise.
10990 [__USE_MISC] (MADV_MERGEABLE): Likewise.
10991 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
10992 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
10993 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
10994 [__USE_MISC] (MADV_DONTDUMP): Likewise.
10995 [__USE_MISC] (MADV_DODUMP): Likewise.
10996 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
10997 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
11000 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
11002 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
11003 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
11004 Add test-nldbl-redirect.
11005 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
11006 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
11007 $(objpfx)libnldbl_nonshared.a.
11009 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
11011 * support/support.h (support_objdir_elf_ldso): New variable.
11012 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
11013 * support/Makefile (CFLAGS-support_paths.c): Add definition
11014 for OBJDIR_ELF_LDSO_PATH.
11015 * support/test-container.c (main): Search for the ld.so
11016 which is also used by the testsuite.
11018 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
11021 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
11022 should be "sap" rather than "sab".
11023 (day): Fix spelling of Sunday, should be "sapaat" rather than
11026 2018-10-02 Joseph Myers <joseph@codesourcery.com>
11028 * math/libm-test-fma.inc (fma_test_data): Add more tests.
11030 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
11033 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
11034 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
11035 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
11037 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11039 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
11041 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
11043 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
11045 (CFLAGS-elision-unlock.c): Likewise.
11046 (CFLAGS-elision-timed.c): Likewise.
11047 (CFLAGS-elision-trylock.c): Likewise.
11048 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
11050 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11053 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
11054 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
11055 new fd_to_filename interface.
11056 * libio/freopen64.c (freopen64): Likewise.
11057 * libio/tst-memstream.h: New file.
11058 * libio/tst-memstream4.c: Likewise.
11059 * libio/tst-wmemstream4.c: Likewise.
11060 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
11061 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
11062 and remove internal dynamic allocation.
11064 2018-10-01 Joseph Myers <joseph@codesourcery.com>
11066 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
11067 (MREMAP_MAYMOVE): Do not define here.
11068 [__USE_GNU] (MREMAP_FIXED): Likewise.
11069 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
11070 (MREMAP_MAYMOVE): Define here instead.
11071 [__USE_GNU] (MREMAP_FIXED): Likewise.
11072 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
11073 (MREMAP_MAYMOVE): Remove.
11074 [__USE_GNU] (MREMAP_FIXED): Likewise.
11076 2018-09-28 Joseph Myers <joseph@codesourcery.com>
11078 * math/fromfp.h: Do not include <math_private.h>.
11079 * math/s_cacosh_template.c: Likewise.
11080 * math/s_casin_template.c: Likewise.
11081 * math/s_casinh_template.c: Likewise.
11082 * math/s_ccos_template.c: Likewise.
11083 * math/s_cproj_template.c: Likewise.
11084 * math/s_fdim_template.c: Likewise.
11085 * math/s_fmaxmag_template.c: Likewise.
11086 * math/s_fminmag_template.c: Likewise.
11087 * math/s_iseqsig_template.c: Likewise.
11088 * math/s_ldexp_template.c: Likewise.
11089 * math/s_nextdown_template.c: Likewise.
11090 * math/w_log1p_template.c: Likewise.
11091 * math/w_scalbln_template.c: Likewise.
11092 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
11093 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
11094 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
11095 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
11096 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
11097 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
11098 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
11099 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
11100 * sysdeps/i386/fpu/s_atanl.c: Likewise.
11101 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
11102 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
11103 * sysdeps/i386/fpu/s_fdim.c: Likewise.
11104 * sysdeps/i386/fpu/s_logbl.c: Likewise.
11105 * sysdeps/i386/fpu/s_rintl.c: Likewise.
11106 * sysdeps/i386/fpu/s_significandl.c: Likewise.
11107 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
11108 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
11109 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11110 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11111 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11112 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11113 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11114 * sysdeps/ieee754/k_standardf.c: Likewise.
11115 * sysdeps/ieee754/k_standardl.c: Likewise.
11116 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11117 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
11118 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
11119 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
11120 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
11121 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
11122 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11123 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11124 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11125 * sysdeps/ieee754/s_signgam.c: Likewise.
11126 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
11127 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
11128 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
11129 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
11130 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
11131 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
11132 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
11133 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
11134 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
11135 * sysdeps/riscv/rvd/s_finite.c: Likewise.
11136 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
11137 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
11138 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
11139 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
11140 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
11141 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
11142 * sysdeps/riscv/rvf/fegetround.c: Likewise.
11143 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
11144 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
11145 * sysdeps/riscv/rvf/fesetround.c: Likewise.
11146 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
11147 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
11148 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
11149 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
11150 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
11151 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
11152 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
11153 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
11154 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
11155 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
11156 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
11157 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
11158 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
11159 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
11160 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
11161 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
11162 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
11164 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
11166 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
11169 * sysdeps/i386/dl-cet.c: Removed.
11170 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
11172 (_dl_runtime_profile_shstk): Likewise.
11173 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
11174 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
11176 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11179 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
11180 do_test_with_invalid_iov): New tests.
11181 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
11182 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
11183 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
11185 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
11186 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
11187 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
11189 2018-09-27 Joseph Myers <joseph@codesourcery.com>
11191 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11192 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
11193 (MATH_REDIRECT_BINARY_ARGS): New macro.
11194 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11195 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
11196 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
11198 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
11199 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11200 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
11201 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11202 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11203 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11204 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
11207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
11209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
11210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
11211 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
11212 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
11213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
11215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
11217 * sysdeps/generic/math_private_calls.h
11218 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
11219 Do not declare and define as an inline function.
11220 * math/divtc3.c (__divtc3): Use copysign functions instead of
11221 __copysign variants.
11222 * math/multc3.c (__multc3): Likewise.
11223 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
11224 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
11225 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11226 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
11228 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11229 (__ieee754_yn): Likewise.
11230 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11231 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
11232 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11233 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11234 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
11236 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
11237 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
11239 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11241 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11243 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11244 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11246 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11247 (__ieee754_ynf): Likewise.
11248 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
11249 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11250 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
11251 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11253 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11254 (__ieee754_ynl): Likewise.
11255 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11256 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11257 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11259 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11260 (__ieee754_ynl): Likewise.
11261 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
11262 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11263 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11264 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11266 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11268 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
11269 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11270 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
11271 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
11272 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11274 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11275 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
11276 using MATH_REDIRECT.
11277 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
11279 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
11280 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11281 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11282 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
11283 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11284 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11285 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
11287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
11288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
11289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
11290 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
11291 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
11292 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11293 (round): Redirect to __round.
11294 (__roundl): Call round instead of __round.
11295 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
11297 [_ARCH_PWR5X] (__roundf): Likewise.
11298 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
11299 functions instead of __round variants.
11300 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11301 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
11303 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
11305 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
11307 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
11308 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
11310 (__ieee754_expl): Call roundl instead of __roundl.
11312 2018-09-27 Andreas Schwab <schwab@suse.de>
11315 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
11316 (do_test): Make st1 static.
11318 2018-09-26 Andreas Schwab <schwab@suse.de>
11321 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
11322 * elf/Makefile (tests): Add tst-unwind-ctor.
11323 (modules-names): Add tst-unwind-ctor-lib.
11324 ($(objpfx)tst-unwind-ctor): Depend on
11325 $(objpfx)tst-unwind-ctor-lib.so.
11327 2018-09-26 Joseph Myers <joseph@codesourcery.com>
11329 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
11330 file. Most contents moved from ....
11331 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
11332 and include <bits/mman-map-flags-generic.h>.
11333 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11334 (sysdep_headers): Add bits/mman-map-flags-generic.h.
11335 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
11336 <bits/mman-map-flags-generic.h>.
11337 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
11338 macros defined in <bits/mman-map-flags-generic.h>.
11339 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
11340 <bits/mman-map-flags-generic.h>.
11341 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
11342 defined in <bits/mman-map-flags-generic.h>.
11344 2018-09-26 Andreas Schwab <schwab@suse.de>
11346 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
11349 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
11350 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11351 Fangrui Song <maskray@google.com>
11354 * config.make.in (have-textrel_ifunc): New define.
11355 * configure.ac: Add check if linker supports textrel relocation with
11357 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
11359 (CFLAGS-tst-ifunc-textrel.c): New rule.
11360 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
11361 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
11362 * elf/tst-ifunc-textrel.c: New file.
11364 2018-09-25 Joseph Myers <joseph@codesourcery.com>
11366 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
11367 <bits/procfs-prregset.h>.
11368 (prgregset_t): Define using __prgregset_t.
11369 (prfpregset_t): Define using __prfpregset_t.
11370 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11371 (sysdep_headers): Add bits/procfs-prregset.h.
11372 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
11373 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
11374 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
11375 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
11377 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
11378 <bits/procfs-id.h> and <bits/procfs-extra.h>.
11379 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
11381 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11382 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
11383 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
11384 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
11385 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
11386 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
11387 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
11388 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
11389 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
11390 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
11391 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
11392 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
11393 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
11394 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
11395 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
11396 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
11397 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
11398 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
11399 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
11400 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
11401 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
11402 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
11403 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11404 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
11406 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
11407 AArch64 version. Include <bits/procfs.h>.
11408 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11409 (sysdep_headers): Add bits/procfs.h.
11410 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
11411 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
11412 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
11413 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
11414 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
11415 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
11416 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
11417 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
11418 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
11419 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
11420 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
11421 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
11422 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
11423 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
11424 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
11425 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11426 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
11428 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11430 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
11433 2018-09-25 Arjun Shankar <arjun@redhat.com>
11435 * iconv/gconv_int.h (__gconv_path_elem): Remove.
11436 (__gconv_max_path_elem_len): Likewise.
11437 (__gconv_nmodules): Likewise.
11438 (__gconv_get_path): Likewise.
11439 (path_elem): Move to ...
11440 * iconv/gconv_conf.c: ... here.
11441 (__gconv_get_path): Mark function static.
11442 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
11443 * iconv/gconv_open.c: ... here.
11445 2018-09-24 Andreas Schwab <schwab@suse.de>
11447 * scripts/haveversions.awk: New file.
11448 * Makerules ($(common-objpfx)Versions.def)
11449 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
11450 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
11452 * Makeconfig ($(common-objpfx)Versions.def)
11453 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
11454 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
11456 ($(common-objpfx)Versions.mk): New rule. Include it.
11457 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
11458 Emit error if build-obsolete-nsl = yes.
11459 * manual/install.texi (Configuring and compiling): Describe
11460 --enable-obsolete-nsl as unavaiable after version 2.28.
11461 * INSTALL: Regenerate.
11463 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11465 * NEWS: Add note about new TLE support on powerpc64le.
11466 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
11467 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
11469 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
11470 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
11471 * sysdeps/powerpc/powerpc32/sysdep.h,
11472 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
11473 ABORT_TRANSACTION): Remove macros.
11474 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
11475 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
11476 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
11477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
11478 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11479 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
11481 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
11483 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
11486 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
11487 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
11488 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
11489 which is the same as in it_IT.
11490 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
11491 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
11493 2018-09-20 Joseph Myers <joseph@codesourcery.com>
11495 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11496 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
11497 using MATH_REDIRECT.
11498 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
11500 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
11501 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11502 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
11503 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
11504 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11505 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
11507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
11508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
11509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
11510 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
11511 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
11512 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
11513 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
11514 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
11515 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
11516 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
11517 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11518 (ceil): Redirect to __ceil.
11519 (floor): Redirect to __floor.
11520 (trunc): Redirect to __trunc.
11521 (__truncl): Call trunc instead of __trunc.
11522 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
11524 [_ARCH_PWR5X] (__truncf): Likewise.
11525 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
11526 trunc functions instead of __trunc variants.
11527 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11529 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11531 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11533 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11536 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
11537 [__i586__ || __pentium__].
11538 [__i486__]: Handle explicitly.
11539 (HAS_CPUID): Define to 1 if above macros are undefined.
11540 (HAS_I586): Likewise.
11541 (HAS_I686): Likewise.
11543 2018-09-20 Florian Weimer <fweimer@redhat.com>
11545 * misc/tst-gethostid.c: New file.
11546 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
11547 (tst-gethostid): Link with -ldl.
11549 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
11551 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
11552 value from gethostbyname_r.
11554 2018-09-19 Carlos O'Donell <carlos@redhat.com>
11556 * stdlib/tst-setcontext9.c (f1): Rename to...
11558 (f1b): New function implementing lower half of f1 in alternate stack.
11560 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
11562 Fix mktime localtime offset confusion
11564 * include/time.h (__mktime_internal): The localtime offset is now
11565 of type long int instead of time_t. This is the longstanding type
11566 in glibc, and it is more than enough to represent difference
11567 between localtime and gmtime even if it is 32 bits and time_t is
11568 64. Changing it now will let us avoid an unnecessary change when
11569 time_t is widened to 64 bits on 32-bit platforms.
11570 * time/mktime-internal.h (mktime_offset_t): Now long int.
11572 Merge mktime, timegm from upstream Gnulib
11573 [BZ #23603][BZ #16346]
11574 This fixes some obscure problems with integer overflow.
11575 Although it looks scary, it is almost all a byte-for-byte copy
11576 from Gnulib, and the Gnulib code has been tested reasonably well.
11577 * include/intprops.h: New file, copied from Gnulib.
11578 * include/verify.h, time/mktime-internal.h:
11579 New tiny files, simplified from Gnulib.
11580 * time/mktime.c: Copy from Gnulib. This has the following changes:
11581 Do not include config.h if DEBUG_MKTIME is nonzero.
11582 Include stdbool.h, intprops.h, verify.h.
11583 Include string.h only if needed.
11584 Include stdlib.h on MS-Windows.
11585 Include mktime-internal.h.
11586 (DEBUG_MKTIME): Default to 0, and simplify later uses.
11587 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
11588 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
11589 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
11590 simplify later conditionals; default the others to zero. Use
11591 these conditionals to express only the code needed on the current
11592 platform. In uses of these conditionals, explicitly spell out how
11593 _LIBC affects things, so it’s easier to review from a glibc
11595 (WRAPV): Remove; no longer needed now that we have
11596 systematic overflow checking.
11597 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
11598 compartmentalize tzset issues. Move system-dependent tzsettish
11599 code here from mktime.
11600 (verify): Remove; now done by verify.h. All uses changed.
11601 (long_int): Use a more-conservative definition, to avoid
11603 (SHR): Remove, replacing with ...
11604 (shr): New function, which means we needn’t worry about side
11605 effects in args, and conversion analysis is simpler.
11606 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
11607 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
11608 (time_t_avg, time_t_add_ok): Remove.
11609 (mktime_min, mktime_max): New constants.
11610 (leapyear, isdst_differ): Use bool for booleans.
11611 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
11612 Use long_int, not time_t, for mktime differences.
11613 (long_int_avg): New function, replacing time_t_avg.
11614 INT_ADD_WRAPV replaces time_t_add_ok.
11615 (guess_time_tm): 6th arg is now long_int, not time_t const *.
11617 (convert_time): New function.
11618 (ranged_convert): Use it.
11619 (__mktime_internal): Last arg now points to mktime_offset_t, not
11620 time_t. All uses changed. This is a no-op on glibc, where
11621 mktime_offset_t is always time_t. Use int, not time_t, for UTC
11622 offset guess. Directly check for integer overflow instead of
11623 using a heuristic that works only 99.9...% of the time.
11624 Access *OFFSET only once, to avoid an unlikely race if the
11625 compiler delays a load and if this cascades into a signed integer
11627 (mktime): Move tzsettish code to my_tzset, and move
11628 localtime_offset to within mktime so that it doesn’t
11629 need a separate ifdef.
11630 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
11631 instead of localtime.
11632 * time/timegm.c: Copy from Gnulib. This has the following changes:
11633 Include mktime-internal.h.
11634 [!_LIBC]: Include config.h and time.h. Do not include
11635 timegm.h or time_r.h. Make __mktime_internal a macro,
11636 and include mktime-internal.h to get its declaration.
11637 (timegm): Temporary is now mktime_offset_t, not time_t.
11638 This affects only Gnulib.
11640 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
11643 * string/test-strstr.c (pr23637): New function.
11644 (test_main): Add tests with longer needles.
11645 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
11646 * string/strstr.c (AVAILABLE): Likewise.
11648 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
11650 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
11652 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
11654 * NEWS: Mention pow improvements.
11655 * math/Makefile (type-double-routines): Add e_pow_log_data.
11656 * sysdeps/generic/math_private.h (__exp1): Remove.
11657 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
11658 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
11659 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
11661 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
11662 (exp_inline): Remove.
11663 (__ieee754_exp): Only single double input is handled.
11664 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
11665 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
11666 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
11667 (__pow_log_data): Define.
11668 * sysdeps/ieee754/dbl-64/upow.h: Remove.
11669 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
11670 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
11671 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
11673 (CFLAGS-e_pow-fma4.c): Likewise.
11675 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
11677 Simplify tzfile fstat failure code
11679 * time/tzfile.c (__tzfile_read): Simplify slightly.
11681 Fix tzfile low-memory assertion failure
11683 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
11684 when registering time zone abbreviations.
11686 2018-09-18 Joseph Myers <joseph@codesourcery.com>
11688 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
11689 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
11690 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
11691 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
11692 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
11693 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
11694 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
11695 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11696 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11698 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
11700 (__ceill): Call ceil instead of __ceil.
11701 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
11703 (__floorl): Call floor instead of __floor.
11705 2018-09-17 Joseph Myers <joseph@codesourcery.com>
11707 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11708 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
11709 using MATH_REDIRECT.
11710 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
11712 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
11713 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11714 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11715 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
11716 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11717 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11718 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11719 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
11720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
11721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
11722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
11723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
11724 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
11725 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
11726 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
11727 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
11728 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
11729 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
11730 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
11732 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
11733 functions instead of __ceil variants.
11734 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11735 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
11737 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
11739 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
11740 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
11742 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
11743 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11746 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
11748 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
11749 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
11750 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
11751 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
11752 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
11753 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
11754 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
11755 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
11756 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
11757 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
11758 (ILL_BADIADDR): Remove constant.
11759 (TRAP_BRANCH): Likewise.
11760 (TRAP_HWBKPT): Likewise.
11762 2018-09-14 Joseph Myers <joseph@codesourcery.com>
11765 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
11766 Remove [_MIPS_SIM = _ABIN32] conditional case.
11767 (struct elf_prpsinfo): Likewise.
11770 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
11771 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
11772 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
11774 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
11775 elf_prpsinfo): Likewise.
11776 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
11777 elf_prpsinfo): Likewise.
11778 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
11781 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11782 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
11783 using MATH_REDIRECT.
11784 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
11786 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
11787 * sysdeps/alpha/fpu/s_rint.c: Likewise.
11788 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
11789 * sysdeps/i386/fpu/s_rintl.c: Likewise.
11790 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11791 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11792 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
11793 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11794 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11795 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11796 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
11797 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
11798 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
11799 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
11800 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
11801 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11802 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11803 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
11804 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
11805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
11806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
11807 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
11808 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
11809 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
11810 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
11811 * sysdeps/x86_64/fpu/math_private.h: Remove file.
11812 * math/e_scalb.c (invalid_fn): Use rint functions instead of
11814 * math/e_scalbf.c (invalid_fn): Likewise.
11815 * math/e_scalbl.c (invalid_fn): Likewise.
11816 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
11818 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11820 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
11821 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
11822 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11824 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11826 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11828 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
11829 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
11831 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11832 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
11834 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11835 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
11836 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11837 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
11838 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11839 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
11840 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11841 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
11842 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11843 && !NO_MATH_REDIRECT] (floor): Likewise.
11844 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
11846 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
11847 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11848 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11849 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
11850 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11851 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11852 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11853 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
11854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
11855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
11856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
11857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
11858 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
11859 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
11860 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
11861 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
11862 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
11863 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
11864 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
11866 [_ARCH_PWR5X] (__floorf): Likewise.
11867 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
11869 [__SSE4_1__] (__floorf): Likewise.
11870 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
11871 instead of __floor variants.
11872 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
11873 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
11874 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
11875 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
11876 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
11877 * math/w_tgamma_compat.c (__tgamma): Likewise.
11878 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
11879 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
11880 * math/w_tgammal_compat.c (__tgammal): Likewise.
11881 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
11882 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
11884 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
11885 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
11886 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
11887 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11889 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11890 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
11892 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
11893 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
11895 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11896 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
11898 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11899 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
11900 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
11901 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
11902 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
11903 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11905 2018-09-12 Joseph Myers <joseph@codesourcery.com>
11907 * elf/Makefile (modules-names-tests): New variable.
11909 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
11911 * NEWS: Mention log2 improvements.
11912 * math/Makefile (type-double-routines): Add e_log2_data.
11913 * sysdeps/i386/fpu/e_log2_data.c: New file.
11914 * sysdeps/ia64/fpu/e_log2_data.c: New file.
11915 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
11916 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
11917 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
11918 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
11919 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
11921 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
11923 * NEWS: Mention log improvement.
11924 * math/Makefile (type-double-routines): Add e_log_data.
11925 * sysdeps/i386/fpu/e_log_data.c: New file.
11926 * sysdeps/ia64/fpu/e_log_data.c: New file.
11927 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
11928 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
11929 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
11930 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
11931 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
11932 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
11934 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
11935 Xuepeng Guo <xuepeng.guo@intel.com>
11938 * sysdeps/i386/start.S: Include <sysdep.h>
11939 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
11940 enabled. Add cfi_undefined (eip).
11942 2018-09-11 Joseph Myers <joseph@codesourcery.com>
11944 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
11946 (EXTRACT_WORDS64): Likewise.
11947 (INSERT_WORDS64): Likewise.
11948 (GET_FLOAT_WORD): Likewise.
11949 (SET_FLOAT_WORD): Likewise.
11951 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
11953 (Config.build_gcc): Use --disable-libsanitizer for first GCC
11954 build, but not for second build if --full-gcc. Use
11955 --enable-languages=all for second build if --full-gcc.
11956 (get_parser): Add --full-gcc option.
11957 (main): Update call to Context.
11959 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
11962 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
11963 Single Quotation Mark).
11964 (thousands_sep): Likewise.
11965 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
11966 * localedata/locales/it_IT (thousands_sep): Use ".".
11967 (grouping): Use "3;3".
11969 2018-09-10 Joseph Myers <joseph@codesourcery.com>
11971 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
11972 x86_64 and i686 configs using --enable-obsolete-rpc
11973 --enable-obsolete-nsl.
11975 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
11977 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11979 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
11981 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
11982 Increment size of new_argv by one.
11984 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
11987 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
11988 * localedata/locales/ar_IN (d_fmt): Likewise.
11989 * localedata/locales/bhb_IN (d_fmt): Likewise.
11990 * localedata/locales/bho_IN (d_fmt): Likewise.
11991 * localedata/locales/bn_BD (d_fmt): Likewise.
11992 * localedata/locales/bn_IN (d_fmt): Likewise.
11993 * localedata/locales/doi_IN (d_fmt): Likewise.
11994 * localedata/locales/gu_IN (d_fmt): Likewise.
11995 * localedata/locales/hi_IN (d_fmt): Likewise.
11996 * localedata/locales/hne_IN (d_fmt): Likewise.
11997 * localedata/locales/kn_IN (d_fmt): Likewise.
11998 * localedata/locales/mag_IN (d_fmt): Likewise.
11999 * localedata/locales/mai_IN (d_fmt): Likewise.
12000 * localedata/locales/mjw_IN (d_fmt): Likewise.
12001 * localedata/locales/ml_IN (d_fmt): Likewise.
12002 * localedata/locales/mni_IN (d_fmt): Likewise.
12003 * localedata/locales/mr_IN (d_fmt): Likewise.
12004 * localedata/locales/pa_IN (d_fmt): Likewise.
12005 * localedata/locales/raj_IN (d_fmt): Likewise.
12006 * localedata/locales/sat_IN (d_fmt): Likewise.
12007 * localedata/locales/sd_IN (d_fmt): Likewise.
12008 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
12009 * localedata/locales/ta_IN (d_fmt): Likewise.
12010 * localedata/locales/ta_LK (d_fmt): Likewise.
12011 * localedata/locales/tcy_IN (d_fmt): Likewise.
12012 * localedata/locales/ur_IN (d_fmt): Likewise.
12014 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
12015 * localedata/locales/ks_IN (d_fmt): Likewise.
12016 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
12018 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
12019 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
12020 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
12021 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
12023 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
12025 * NEWS: Mention exp and exp2 improvements.
12026 * math/Makefile (libm-support): Remove t_exp.
12027 (type-double-routines): Add math_err and e_exp_data.
12028 * sysdeps/aarch64/libm-test-ulps: Update.
12029 * sysdeps/arm/libm-test-ulps: Update.
12030 * sysdeps/i386/fpu/e_exp_data.c: New file.
12031 * sysdeps/i386/fpu/math_err.c: New file.
12032 * sysdeps/i386/fpu/t_exp.c: Remove.
12033 * sysdeps/ia64/fpu/e_exp_data.c: New file.
12034 * sysdeps/ia64/fpu/math_err.c: New file.
12035 * sysdeps/ia64/fpu/t_exp.c: Remove.
12036 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
12037 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
12038 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
12039 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
12040 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
12041 * sysdeps/ieee754/dbl-64/math_config.h: New file.
12042 * sysdeps/ieee754/dbl-64/math_err.c: New file.
12043 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
12044 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
12045 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
12046 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
12047 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
12048 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
12049 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
12050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12051 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12053 2018-09-05 Joseph Myers <joseph@codesourcery.com>
12055 * sysdeps/alpha/fpu/math_private.h: Remove.
12057 * sysdeps/generic/math_private.h
12058 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
12059 Move this inline function ....
12060 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
12061 * include/math.h [!_ISOMAC]: To here....
12063 2018-09-04 Joseph Myers <joseph@codesourcery.com>
12065 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
12067 [!FE_HAVE_ROUNDING_MODES]: And this code ....
12068 * include/fenv.h [!_ISOMAC]: ... to here.
12069 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
12070 (feraiseexcept): Likewise.
12071 * math/fromfp.h: Do not include <fenv_private.h>.
12072 * math/s_cexp_template.c: Likewise.
12073 * math/s_csin_template.c: Likewise.
12074 * math/s_csinh_template.c: Likewise.
12075 * math/s_ctan_template.c: Likewise.
12076 * math/s_ctanh_template.c: Likewise.
12077 * math/s_iseqsig_template.c: Likewise.
12078 * math/w_acos_compat.c: Likewise.
12079 * math/w_acosf_compat.c: Likewise.
12080 * math/w_acosl_compat.c: Likewise.
12081 * math/w_asin_compat.c: Likewise.
12082 * math/w_asinf_compat.c: Likewise.
12083 * math/w_asinl_compat.c: Likewise.
12084 * math/w_j0_compat.c: Likewise.
12085 * math/w_j0f_compat.c: Likewise.
12086 * math/w_j0l_compat.c: Likewise.
12087 * math/w_j1_compat.c: Likewise.
12088 * math/w_j1f_compat.c: Likewise.
12089 * math/w_j1l_compat.c: Likewise.
12090 * math/w_jn_compat.c: Likewise.
12091 * math/w_jnf_compat.c: Likewise.
12092 * math/w_log10_compat.c: Likewise.
12093 * math/w_log10f_compat.c: Likewise.
12094 * math/w_log10l_compat.c: Likewise.
12095 * math/w_log2_compat.c: Likewise.
12096 * math/w_log2f_compat.c: Likewise.
12097 * math/w_log2l_compat.c: Likewise.
12098 * math/w_log_compat.c: Likewise.
12099 * math/w_logf_compat.c: Likewise.
12100 * math/w_logl_compat.c: Likewise.
12101 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12102 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12103 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12104 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12105 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12106 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12107 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12108 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12109 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12110 * sysdeps/ieee754/k_standardl.c: Likewise.
12111 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12112 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12113 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12114 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12115 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12116 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12117 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12118 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12119 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12120 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12121 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12122 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12123 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12124 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12125 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12126 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12127 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12128 * math/w_ilogb_template.c: Include <fenv.h> instead of
12130 * math/w_llogb_template.c: Likewise.
12131 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12132 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12134 2018-09-03 Joseph Myers <joseph@codesourcery.com>
12136 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
12137 * math/fromfp.h: Include <fenv_private.h>.
12138 * math/math-narrow.h: Likewise.
12139 * math/s_cexp_template.c: Likewise.
12140 * math/s_csin_template.c: Likewise.
12141 * math/s_csinh_template.c: Likewise.
12142 * math/s_ctan_template.c: Likewise.
12143 * math/s_ctanh_template.c: Likewise.
12144 * math/s_iseqsig_template.c: Likewise.
12145 * math/w_acos_compat.c: Likewise.
12146 * math/w_acosf_compat.c: Likewise.
12147 * math/w_acosl_compat.c: Likewise.
12148 * math/w_asin_compat.c: Likewise.
12149 * math/w_asinf_compat.c: Likewise.
12150 * math/w_asinl_compat.c: Likewise.
12151 * math/w_ilogb_template.c: Likewise.
12152 * math/w_j0_compat.c: Likewise.
12153 * math/w_j0f_compat.c: Likewise.
12154 * math/w_j0l_compat.c: Likewise.
12155 * math/w_j1_compat.c: Likewise.
12156 * math/w_j1f_compat.c: Likewise.
12157 * math/w_j1l_compat.c: Likewise.
12158 * math/w_jn_compat.c: Likewise.
12159 * math/w_jnf_compat.c: Likewise.
12160 * math/w_llogb_template.c: Likewise.
12161 * math/w_log10_compat.c: Likewise.
12162 * math/w_log10f_compat.c: Likewise.
12163 * math/w_log10l_compat.c: Likewise.
12164 * math/w_log2_compat.c: Likewise.
12165 * math/w_log2f_compat.c: Likewise.
12166 * math/w_log2l_compat.c: Likewise.
12167 * math/w_log_compat.c: Likewise.
12168 * math/w_logf_compat.c: Likewise.
12169 * math/w_logl_compat.c: Likewise.
12170 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
12171 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
12172 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
12173 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
12174 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12175 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12176 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12177 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12178 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12179 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12180 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12181 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12182 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
12183 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
12184 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12185 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12186 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12187 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12188 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12189 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12190 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12191 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12192 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12193 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12194 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12195 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12196 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12197 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
12198 * sysdeps/ieee754/float128/float128_private.h: Likewise.
12199 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12200 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12201 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12202 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12203 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12204 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12205 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12206 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12207 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12208 * sysdeps/ieee754/k_standardl.c: Likewise.
12209 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12210 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12211 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12212 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12213 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
12214 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12215 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12216 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12217 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12218 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12219 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12220 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12221 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12222 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12223 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12224 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12225 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12226 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
12227 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12228 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12229 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12230 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12231 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12232 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12233 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12234 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12235 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12236 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
12237 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
12238 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12239 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12240 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12241 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12242 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12243 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12244 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12245 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12246 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12247 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12248 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12249 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
12250 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12251 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
12252 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12253 * sysdeps/riscv/rvd/s_finite.c: Likewise.
12254 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
12255 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
12256 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
12257 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
12258 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
12259 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
12260 * sysdeps/riscv/rvf/fegetround.c: Likewise.
12261 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
12262 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
12263 * sysdeps/riscv/rvf/fesetround.c: Likewise.
12264 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
12265 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
12266 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
12267 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12268 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
12269 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12270 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
12271 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
12272 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
12273 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
12274 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
12275 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
12276 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
12277 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
12278 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12279 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12281 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12284 * include/stdio.h (__libc_fatal): Mention newline in comment.
12285 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
12286 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
12287 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12288 * nss/nsswitch.c (__nss_next2): Likewise.
12289 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
12290 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
12291 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
12292 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
12293 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
12294 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
12295 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
12296 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
12297 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
12298 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
12299 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
12300 * sysdeps/unix/sysv/linux/netlink_assert_response.c
12301 (__netlink_assert_response): Likewise.
12303 2018-08-31 Joseph Myers <joseph@codesourcery.com>
12305 * conform/glibcconform.py: New file.
12306 * conform/list-header-symbols.py: Likewise.
12307 * conform/list-header-symbols.pl: Remove.
12308 * conform/Makefile (tests-special): Only add linknamespace tests
12310 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
12312 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
12315 * support/Makefile (libsupport-routines): Add
12316 support_copy_file_range and xcopy_file_range.
12317 * support/support.h: Include <sys/types.h>.
12318 (support_copy_file_range): New prototype.
12319 * support/support_copy_file_range.c: New file. Copied and
12320 modified from io/copy_file_range-compat.c.
12321 * support/test-container.c (copy_one_file): Call xcopy_file_rang
12322 instead of copy_file_range.
12323 * support/xcopy_file_range.c: New file.
12324 * support/xunistd.h (xcopy_file_range): New prototype.
12326 2018-08-30 Carlos O'Donell <carlos@redhat.com>
12328 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
12329 xpthread_create and xpthread_join.
12331 2018-08-30 Florian Weimer <fweimer@redhat.com>
12333 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
12335 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
12337 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
12340 2018-08-29 Joseph Myers <joseph@codesourcery.com>
12342 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
12343 and minus_oflow as non-finite.
12345 2018-08-28 Joseph Myers <joseph@codesourcery.com>
12347 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
12348 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
12349 moved to fenv_private.h except for ...
12350 (TOINT_INTRINSICS): Kept in math_private.h.
12351 (roundtoint): Likewise.
12352 (converttoint): Likewise.
12353 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
12354 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
12355 * sysdeps/arm/math_private.h: Remove.
12356 * sysdeps/generic/fenv_private.h: New file. Contents moved from
12358 * sysdeps/generic/math_private.h: ... this file. Include
12359 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
12360 Include <fenv_private.h>. Remove functions and macros moved to
12362 * sysdeps/i386/fpu/math_private.h: Remove.
12363 * sysdeps/mips/math_private.h: Move to ....
12364 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
12365 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
12366 [__mips_hard_float] conditional. Include next <fenv_private.h>.
12367 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
12368 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
12369 * sysdeps/powerpc/fpu/math_private.h: Do not include
12371 * sysdeps/riscv/rvf/math_private.h: Move to ....
12372 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
12373 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
12375 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
12376 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
12377 * sysdeps/sparc/fpu/math_private.h: Remove.
12378 * sysdeps/i386/fpu/fenv_private.h: Move to ....
12379 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
12380 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
12382 * sysdeps/x86_64/fpu/math_private.h: Do not include
12383 <sysdeps/i386/fpu/fenv_private.h>.
12385 2018-08-28 Florian Weimer <fweimer@redhat.com>
12388 * posix/tst-regcomp-truncated.c: New file.
12389 * posix/Makefile (tests): Add it.
12390 (tst-regcomp-truncated.out): Depend on generated locales.
12392 2018-08-28 Florian Weimer <fweimer@redhat.com>
12394 * support/test-container.c (main): Treat unshare failure with
12395 EPERM as an unsupported test.
12397 2018-08-28 Florian Weimer <fweimer@redhat.com>
12400 nscd: Fix use-after-free in addgetnetgrentX and its callers.
12401 * nscd/netgroupcache.c
12402 (addgetnetgrentX): Add tofreep parameter. Do not free
12403 heap-allocated buffer.
12404 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
12405 (addgetnetgrentX_ignore): New function.
12406 (addgetnetgrent): Call it.
12407 (readdgetnetgrent): Likewise.
12409 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12411 * string/memmem.c: Use memcmp for first match.
12413 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
12416 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
12418 2018-08-27 DJ Delorie <dj@redhat.com>
12420 * support/Makefile (others): Don't list programs explicitly as a
12421 dependency of "others".
12423 2018-08-27 Joseph Myers <joseph@codesourcery.com>
12425 * sysdeps/generic/math-tests-trap-force.h: New file.
12426 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
12427 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
12428 * sysdeps/powerpc/math-tests.h: Remove file.
12429 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
12431 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
12432 Torvald Riegel <triegel@redhat.com>
12435 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
12436 Update r to include the set wake-request flag if waiters are
12437 remaining after spinning.
12439 2018-08-27 Joseph Myers <joseph@codesourcery.com>
12441 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
12443 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
12446 regex: fix uninitialized memory access
12447 I introduced this bug into gnulib in commit
12448 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
12449 eventually it was merged into glibc. The bug was found by
12450 project-repo <bugs@feusi.co> and reported here:
12451 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
12452 Diagnosis and draft fix reported by Assaf Gordon here:
12453 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
12454 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
12455 * posix/regex_internal.c (build_wcs_upper_buffer):
12456 Fix bug when mbrtowc returns 0.
12458 2018-08-24 Carlos O'Donell <carlos@redhat.com>
12460 * po/be.po: Update translation.
12462 2018-08-24 DJ Delorie <dj@delorie.com>
12464 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
12467 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
12470 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
12471 create temporary files in source tree.
12473 2018-08-24 Joseph Myers <joseph@codesourcery.com>
12475 * sysdeps/generic/math-tests-trap.h: New file.
12476 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
12477 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
12478 * sysdeps/aarch64/math-tests.h: Remove file.
12479 * sysdeps/arm/math-tests.h: Likewise.
12480 * sysdeps/riscv/math-tests.h: Likewise.
12481 * sysdeps/aarch64/math-tests-trap.h: New file.
12482 * sysdeps/arm/math-tests-trap.h: Likewise.
12483 * sysdeps/riscv/math-tests-trap.h: Likewise.
12485 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
12487 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
12488 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
12489 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
12490 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
12491 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
12492 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
12493 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12494 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
12495 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
12496 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12497 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12498 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12499 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12500 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
12501 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
12502 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
12503 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
12504 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
12506 2018-08-23 Joseph Myers <joseph@codesourcery.com>
12508 * sysdeps/generic/math-tests-exceptions.h: New file.
12509 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
12510 (EXCEPTION_TESTS_float): Do not define here.
12511 (EXCEPTION_TESTS_double): Likewise.
12512 (EXCEPTION_TESTS_long_double): Likewise.
12513 (EXCEPTION_TESTS_float128): Likewise.
12514 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
12516 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
12517 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
12518 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
12519 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
12520 * sysdeps/mips/math-tests.h: Likewise.
12521 * sysdeps/nios2/math-tests.h: Likewise.
12522 * sysdeps/riscv/math-tests.h [!__riscv_flen]
12523 (EXCEPTION_TESTS_float): Do not define here.
12524 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
12525 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
12526 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
12528 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
12530 * NEWS: Move optimized sinf entry to 2.29.
12532 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
12534 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
12536 2018-08-22 DJ Delorie <dj@redhat.com>
12538 * Makefile (testroot.pristine): New rules to initialize the
12539 test-in-container "testroot".
12540 * Makerules (all-testsuite): Add tests-container.
12541 * Rules (tests-expected): Add tests-container.
12542 (binaries-all-tests): Likewise.
12543 (tests-container): New, run these tests in the testroot container.
12544 * support/Makefile (others): Add *-container, support_paths.c,
12545 xmkdirp, and links-dso-program.
12546 * support/links-dso-program-c.c: New.
12547 * support/links-dso-program.cc: New.
12548 * support/test-container.c: New.
12549 * support/shell-container.c: New.
12550 * support/echo-container.c: New.
12551 * support/true-container.c: New.
12552 * support/xmkdirp.c: New.
12553 * support/xsymlink.c: New.
12554 * support/support_paths.c: New.
12555 * support/support.h: Add support paths prototypes.
12556 * support/xunistd.h: Add xmkdirp () and xsymlink ().
12558 * nss/tst-nss-test3.c: Convert to test-in-container.
12559 * nss/tst-nss-test3.root/: New.
12561 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
12563 regex: port Gnulib code to z/OS POSIX environment
12564 Problem reported by Arnold Robbins in:
12565 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
12566 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
12569 2018-08-22 Joseph Myers <joseph@codesourcery.com>
12571 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
12572 (ROUNDING_TESTS_double): Remove.
12573 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
12574 (ROUNDING_TESTS_double): Remove.
12575 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
12576 (ROUNDING_TESTS_double): Remove.
12577 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
12578 (ROUNDING_TESTS_float): Remove.
12579 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
12580 (ROUNDING_TESTS_float): Remove.
12581 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
12582 (ROUNDING_TESTS_float): Remove.
12583 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
12584 !TEST_MATHVEC here.
12585 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12586 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12588 * sysdeps/generic/math-tests-rounding.h: New file.
12589 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
12590 (ROUNDING_TESTS_float): Do not define here.
12591 (ROUNDING_TESTS_double): Likewise.
12592 (ROUNDING_TESTS_long_double): Likewise.
12593 (ROUNDING_TESTS_float128): Likewise.
12594 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
12595 (ROUNDING_TESTS_double): Undefine before defining.
12596 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
12597 (ROUNDING_TESTS_double): Undefine before defining.
12598 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
12599 (ROUNDING_TESTS_double): Undefine before defining.
12600 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
12601 (ROUNDING_TESTS_float): Undefine before defining.
12602 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
12603 (ROUNDING_TESTS_float): Undefine before defining.
12604 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
12605 (ROUNDING_TESTS_float): Undefine before defining.
12606 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
12607 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
12609 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
12610 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
12611 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
12612 * sysdeps/riscv/math-tests.h [!__riscv_flen]
12613 (ROUNDING_TESTS_float): Do not define here.
12614 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
12615 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
12616 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
12617 (ROUNDING_TESTS_float): Likewise.
12618 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
12619 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
12620 * sysdeps/mips/math-tests.h [__mips_soft_float]
12621 (ROUNDING_TESTS_float): Likewise.
12622 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
12623 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
12624 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
12625 (ROUNDING_TESTS_double): Likewise.
12626 (ROUNDING_TESTS_long_double): Likewise.
12628 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
12630 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
12631 (PF_XDP): New macro.
12632 (AF_XDP): New macro.
12633 (SOL_XDP): New macro.
12635 2018-08-21 Joseph Myers <joseph@codesourcery.com>
12637 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
12638 (TCP_INQ): Likewise.
12639 (TCP_CM_INQ): Likewise.
12640 (TCP_REPAIR_ON): Likewise.
12641 (TCP_REPAIR_OFF): Likewise.
12642 (TCP_REPAIR_OFF_NO_WP): Likewise.
12643 (struct tcp_zerocopy_receive): New type.
12645 2018-08-21 Florian Weimer <fweimer@redhat.com>
12647 * support/support.h (support_descriptor_supports_holes): Declare.
12648 * support/Makefile (libsupport-routines): Add
12649 support_descriptor_supports_holes.
12650 * support/support_descriptor_supports_holes.c: New file.
12651 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
12652 and stop testing if holes are not supported.
12653 * io/test-lfs.c (do_prepare): Likewise.
12654 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
12656 * timezone/tst-tzset.c (create_tz_file): Likewise.
12657 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
12659 (do_prepare): Set it.
12660 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
12662 2018-08-21 Florian Weimer <fweimer@redhat.com>
12665 * Makeconfig (+cflags): Do not sort (and deduplicate).
12667 2018-08-21 Florian Weimer <fweimer@redhat.com>
12669 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
12670 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
12672 2018-08-20 Florian Weimer <fweimer@redhat.com>
12674 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
12675 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
12677 2018-08-20 Joseph Myers <joseph@codesourcery.com>
12679 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
12680 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
12681 and ssi_arch members.
12683 * elf/elf.c (NT_VMCOREDD): New macro.
12684 (AT_MINSIGSTKSZ): Likewise.
12686 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12688 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
12689 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
12690 s_cosf-ppc64 and s_cosf-power8.
12691 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
12692 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
12693 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12694 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
12695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
12696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
12697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
12698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
12699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
12700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
12701 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
12702 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
12704 2018-08-17 Florian Weimer <fweimer@redhat.com>
12706 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12708 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
12710 * malloc/malloc.c (_int_malloc): Additional binning code checks.
12712 2018-08-16 Florian Weimer <fweimer@redhat.com>
12714 * configure.ac: Add --with-nonshared-cflags option.
12715 * config.make.in (extra-nonshared-cflags): Set variable.
12716 * Makeconfig (CFLAGS-.oS): Use it.
12717 * manual/install.texi (Configuring and compiling): Document
12718 --with-nonshared-cflags.
12719 * configure: Regenerate.
12720 * INSTALL: Likewise.
12722 2018-08-16 Florian Weimer <fweimer@redhat.com>
12724 * Makeconfig (ASFLAGS): Always append required assembler flags.
12726 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
12728 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
12729 (malloc_consolidate): Likewise.
12731 2018-08-16 Pochang Chen <johnchen902@gmail.com>
12733 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
12735 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
12737 * benchtests/bench-strlen.c (do_test): Allocate buffers before
12740 * benchtests/bench-strlen.c: Print performance numbers in json.
12742 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12744 * sysdeps/powerpc/powerpc64/multiarch/Makefile
12745 (sysdep_routines): Build strcmp-power9 and strncmp-power9
12746 only for little endian.
12747 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12748 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
12749 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
12750 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
12751 Add check for little endian.
12752 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
12753 (__strcmp_power9): Add check for little endian.
12754 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
12755 Add check for little endian.
12756 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
12757 (__strncmp_power9): Add check for little endian.
12758 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
12759 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
12760 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
12761 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
12762 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
12764 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
12766 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
12767 [!STRLEN](STRLEN): Set to __strlen.
12768 * sysdeps/aarch64/multiarch/strlen.c: New file.
12769 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
12770 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
12771 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
12772 (__libc_ifunc_impl_list): Add strlen.
12773 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
12774 strlen_generic and strlen_asimd.
12776 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
12778 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
12779 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
12780 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
12782 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
12784 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
12786 2018-08-14 Florian Weimer <fweimer@redhat.com>
12789 * include/stdio.h (__vfxprintf): Declare.
12790 * stdio-common/fxprintf.c (__vfxprintf): New function.
12791 (__fxprintf): Call it.
12792 * misc/err.c (convert_and_print): Remove function.
12793 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
12794 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
12795 * misc/Makefile (tests): Add tst-warn-wide.
12796 * misc/tst-warn-wide.c: New file.
12798 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
12799 Szabolcs Nagy <szabolcs.nagy@arm.com>
12801 * NEWS: Mention sinf, cosf, sincosf.
12802 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
12803 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
12804 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
12805 constants rather than including generic sincosf.h.
12806 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
12807 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
12808 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
12809 (reduced_cos): Remove.
12810 (sinf_poly): New function.
12811 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
12813 2018-08-14 Florian Weimer <fweimer@redhat.com>
12817 * nss/nss_files/files-alias.c (get_next_alias): During :include:
12818 processing, bail out if no room, and close the stream before
12820 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
12821 (tst-nss-files-alias-leak): Link with libdl.
12822 (tst-nss-files-alias-leak.out): Depend on nss_files.
12824 * nss/tst-nss-files-alias-leak.c: New file.
12826 2018-08-14 Florian Weimer <fweimer@redhat.com>
12828 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
12829 server_user, stat_user.
12831 2018-08-13 Joseph Myers <joseph@codesourcery.com>
12833 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12835 (io_pgetevents): New syscall.
12838 * manual/install.texi (Configuring and compiling): Do not list
12839 tools used for testing pretty printers here.
12840 (Tools for Compilation): List Python, PExpect and GDB here.
12841 Update descriptions of uses of Perl and Python.
12842 * INSTALL: Regenerate.
12844 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12847 2018-08-13 Florian Weimer <fweimer@redhat.com>
12849 * misc/error.c (error): Add missing va_end call.
12850 (error_at_line): Likewise.
12852 2018-08-13 Florian Weimer <fweimer@redhat.com>
12854 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
12856 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
12858 * benchtests/scripts/benchout.schema.json (properties): Add
12861 * benchtests/bench-skeleton.c (main): Add duration and
12862 iterations attributes.
12864 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
12866 regex: Gnulib unibyte RRI uses bytes not chars
12867 Adjust the non-glibc code to agree with what Gawk needs for
12868 rational range interpretation (RRI) for regular expression ranges.
12869 In unibyte locales, Gawk wants ranges to use the underlying byte
12870 rather than the character code point. This change does not affect
12872 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
12873 In unibyte locales, use the byte value rather than
12874 running it through btowc.
12876 2018-08-10 Joseph Myers <joseph@codesourcery.com>
12878 * sysdeps/generic/math-tests-snan.h: New file.
12879 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
12880 (SNAN_TESTS_float): Do not define here.
12881 (SNAN_TESTS_double): Likewise.
12882 (SNAN_TESTS_long_double): Likewise.
12883 (SNAN_TESTS_float128): Likewise.
12884 * sysdeps/i386/fpu/math-tests-snan.h: New file.
12885 * sysdeps/i386/fpu/math-tests.h: Remove file.
12886 * sysdeps/ia64/math-tests-snan.h: New file.
12887 * sysdeps/ia64/math-tests.h: Remove file.
12888 * sysdeps/x86/math-tests.h: Likewise.
12889 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
12891 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
12892 Szabolcs Nagy <szabolcs.nagy@arm.com>
12894 * math/Makefile: Add s_sincosf_data.c.
12895 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
12896 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
12897 (sincosf_poly): Likewise.
12898 (reduce_small): Likewise.
12899 (reduce_large): Likewise.
12900 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
12901 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
12902 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
12903 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
12905 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
12906 Szabolcs Nagy <szabolcs.nagy@arm.com>
12908 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
12909 (converttoint): Use lround.
12910 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
12911 document the semantics when TOINT_INTRINSICS is set.
12912 (converttoint): Likewise.
12913 (TOINT_RINT): Remove.
12914 (TOINT_SHIFT): Remove.
12915 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
12918 2018-08-10 Florian Weimer <fweimer@redhat.com>
12921 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
12923 (__old_getdents64): Use getdents64. Convert entries without
12925 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
12926 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
12927 tst-readdir64-compat.
12929 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12931 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
12934 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12936 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
12937 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
12938 code to s390x-mcount.h and #include it.
12939 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
12940 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
12943 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12945 * stdlib/Versions: Remove __fentry__.
12946 * sysdeps/i386/Versions: Add __fentry__.
12947 * sysdeps/x86_64/Versions: Add __fentry__.
12949 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12951 * sysdeps/s390/Makefile: Register the new tests.
12952 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
12953 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
12954 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
12955 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
12956 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
12957 * sysdeps/s390/tst-dl-runtime.c: New file.
12959 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12961 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
12964 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12966 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
12969 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12971 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
12974 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12976 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
12979 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12981 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
12982 Use symbolic offsets for stack variables.
12984 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12986 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
12987 Use symbolic offsets for stack variables.
12989 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12991 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
12992 Use symbolic offsets for stack variables.
12994 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12996 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
12997 Use symbolic offsets for stack variables.
12999 2018-08-09 Joseph Myers <joseph@codesourcery.com>
13001 * math/gen-libm-test.py: New file.
13002 * math/gen-libm-test.pl: Remove.
13003 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
13004 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
13006 ($(libm-test-c-noauto-obj)): Likewise.
13007 ($(libm-test-c-auto-obj)): Likewise.
13008 ($(libm-test-c-narrow-obj)): Likewise.
13009 (regen-ulps): Likewise.
13010 * math/README.libm-test: Update references to gen-libm-test.pl.
13011 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
13012 referencing gen-libm-test.pl.
13013 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
13014 * math/libm-test-support.c: Likewise.
13015 * math/libm-test-support.h: Likewise.
13016 * sysdeps/generic/libm-test-ulps: Likewise.
13018 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
13020 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
13023 2018-08-08 Joseph Myers <joseph@codesourcery.com>
13025 * math/libm-test-nextdown.inc (do_test): Move comment to ....
13026 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
13028 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
13030 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
13032 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
13033 __pthread_setspecific): Add hidden proto.
13034 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
13035 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
13037 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
13039 * benchtests/bench-string.h (buf1_size, buf2_size): New
13041 (init_sizes): New function.
13042 (test_init): Use it.
13043 (alloc_buf, exit_error): New functions.
13044 (alloc_bufs): Use ALLOC_BUF.
13045 (realloc_bufs): Remove.
13046 * benchtests/bench-memcmp.c (do_test): Adjust.
13047 * benchtests/bench-memset-large.c (do_test): Likewise.
13048 * benchtests/bench-memset-walk.c (do_test): Likewise.
13049 * benchtests/bench-memset.c (do_test): Likewise.
13050 * benchtests/bench-strncmp.c (do_test): Likewise.
13052 2018-08-06 Andreas Schwab <schwab@suse.de>
13054 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
13055 of CONST_THREAD_AREA.
13057 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
13059 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
13060 (STATE_SAVE_MASK): Likewise.
13061 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
13062 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
13063 (STATE_SAVE_MASK): Likewise.
13064 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
13065 instead of <cpu-features.h>.
13067 2018-08-03 DJ Delorie <dj@redhat.com>
13069 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
13070 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
13072 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
13074 2018-08-03 Joseph Myers <joseph@codesourcery.com>
13076 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
13077 after TEST_* calls.
13078 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
13079 * math/libm-test-logb.inc (logb_test_data): Likewise.
13081 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
13083 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
13084 * string/strstr.c (AVAILABLE): Likewise.
13086 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
13088 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
13090 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
13091 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
13092 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
13094 2018-08-03 Carlos O'Donell <carlos@redhat.com>
13096 * po/be.po: Update translation.
13098 * po/be.po: Update translation.
13100 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
13102 * sysdeps/x86/cpu-features-offsets.sym
13103 (rtld_global_ro_offsetof): Removed.
13104 (CPU_FEATURES_SIZE): Likewise.
13105 (CPUID_OFFSET): Likewise.
13106 (CPUID_SIZE): Likewise.
13107 (CPUID_EAX_OFFSET): Likewise.
13108 (CPUID_EBX_OFFSET): Likewise.
13109 (CPUID_ECX_OFFSET): Likewise.
13110 (CPUID_EDX_OFFSET): Likewise.
13111 (FAMILY_OFFSET): Likewise.
13112 (MODEL_OFFSET): Likewise.
13113 (FEATURE_OFFSET): Likewise.
13114 (FEATURE_SIZ): Likewise.
13115 (COMMON_CPUID_INDEX_1): Likewise.
13116 (COMMON_CPUID_INDEX_7): Likewise.
13117 (FEATURE_INDEX_1): Likewise.
13118 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
13120 2018-08-02 Carlos O'Donell <carlos@redhat.com>
13122 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
13123 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
13124 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
13125 (install-locales): Depend on install-locale-archive.
13126 (install-locale-archive): Define.
13127 (install-locale-files): Define.
13128 (build-one-locale): Define macro.
13129 * manual/install.texi (Running make install): Document.
13130 * manual/INSTALL: Regenerate.
13132 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
13134 * benchtests/scripts/compare_strings.py: Import traceback.
13135 (parse_file): Pretty-print error.
13137 * NEWS: Mention the change.
13138 * elf/dl-tunables.list: Rename tune namespace to cpu.
13139 * sysdeps/powerpc/dl-tunables.list: Likewise.
13140 * sysdeps/x86/dl-tunables.list: Likewise.
13141 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
13143 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
13144 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
13145 * manual/README.tunables: Likewise.
13146 * manual/tunables.texi: Likewise.
13147 * sysdeps/powerpc/cpu-features.c: Likewise.
13148 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
13149 (init_cpu_features): Likewise.
13150 * sysdeps/x86/cpu-features.c: Likewise.
13151 * sysdeps/x86/cpu-features.h: Likewise.
13152 * sysdeps/x86/cpu-tunables.c: Likewise.
13153 * sysdeps/x86_64/Makefile: Likewise.
13154 * sysdeps/x86/dl-cet.c: Likewise.
13156 2018-08-02 Joseph Myers <joseph@codesourcery.com>
13159 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
13160 [__mips_hard_float].
13161 (FE_UNDERFLOW): Likewise.
13162 (FE_OVERFLOW): Likewise.
13163 (FE_DIVBYZERO): Likewise.
13164 (FE_INVALID): Likewise.
13165 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
13166 (FE_TOWARDZERO): Define only if [__mips_hard_float].
13167 (FE_UPWARD): Likewise.
13168 (FE_DOWNWARD): Likewise.
13169 (__FE_UNDEFINED): Define if [!__mips_hard_float]
13170 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
13171 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
13172 [__mips_hard_float].
13173 (FP_ROUNDMODE): Likewise.
13174 (FP_RND_NEAREST): Likewise.
13175 (FP_RND_ZERO): Likewise.
13176 (FP_RND_PINF): Likewise.
13177 (FP_RND_MINF): Likewise.
13178 (FP_EX_INVALID): Likewise.
13179 (FP_EX_OVERFLOW): Likewise.
13180 (FP_EX_UNDERFLOW): Likewise.
13181 (FP_EX_DIVZERO): Likewise.
13182 (FP_EX_INEXACT): Likewise.
13183 (FP_INIT_ROUNDMODE): Likewise.
13184 * sysdeps/mips/nofpu/fesetenv.c: New file.
13185 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
13187 2018-08-01 Joseph Myers <joseph@codesourcery.com>
13189 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
13190 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
13191 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
13192 conditional on [FE_UPWARD].
13194 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
13196 regex: fix memory leak in Gnulib
13197 Problem and fix reported by Assaf Gordon in:
13198 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
13199 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
13200 range_ends members too, as they are defined in 'struct
13201 re_charset_t' even if not _LIBC. This affects only Gnulib.
13203 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
13205 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
13207 (get_common_indices): This.
13208 (init_cpu_features): Updated.
13210 2018-08-01 Joseph Myers <joseph@codesourcery.com>
13212 * sysdeps/generic/math-tests-snan-payload.h: New file.
13213 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
13214 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
13215 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
13216 * sysdeps/generic/math-tests.h: Include
13217 <math-tests-snan-payload.h>.
13218 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
13219 * sysdeps/hppa/math-tests.h: Remove file.
13220 * sysdeps/mips/math-tests.h [!__mips_nan2008]
13221 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
13222 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
13225 * sysdeps/generic/math-tests-snan-cast.h: New file.
13226 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
13227 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
13228 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
13229 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
13231 2018-08-01 Carlos O'Donel <carlos@redhat.com>
13233 * version.h (RELEASE): Set to "development".
13234 (VERSION): Set to "2.28.9000".
13235 * NEWS (2.29): New section.
13237 * version.h (RELEASE): Set to "stable".
13238 (VERSION): Set to "2.28".
13239 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
13240 * NEWS: Add the list of bugs fixed in 2.28.
13242 * po/ca.po: Update to latest version.
13243 * po/cs.po: Likewise
13244 * po/da.po: Likewise
13245 * po/el.po: Likewise
13246 * po/eo.po: Likewise
13247 * po/es.po: Likewise
13248 * po/fi.po: Likewise
13249 * po/fr.po: Likewise
13250 * po/gl.po: Likewise
13251 * po/hu.po: Likewise
13252 * po/ia.po: Likewise
13253 * po/id.po: Likewise
13254 * po/it.po: Likewise
13255 * po/ja.po: Likewise
13256 * po/ko.po: Likewise
13257 * po/lt.po: Likewise
13258 * po/nb.po: Likewise
13259 * po/nl.po: Likewise
13260 * po/pt_BR.po: Likewise
13261 * po/ru.po: Likewise
13262 * po/rw.po: Likewise
13263 * po/sk.po: Likewise
13264 * po/sl.po: Likewise
13265 * po/tr.po: Likewise
13266 * po/zh_CN.po: Likewise
13267 * po/zh_TW.po: Likewise
13269 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13271 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
13273 (init): ... before initializing libpthread.
13275 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
13276 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
13277 (__mach_setup_tls): ... new function.
13278 (mach_setup_tls): New alias.
13279 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
13280 __mach_setup_thread.
13281 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
13282 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
13283 * mach/Versions [libc] (mach_setup_tls): Add symbol.
13284 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
13286 2018-07-31 Carlos O'Donell <carlos@redhat.com>
13288 * manual/install.texi: Update versions.
13289 * INSTALL: Regenerate.
13291 * manual/contrib.texi (Contributors): Update contributions.
13293 2018-07-31 Carlos O'Donell <carlos@redhat.com>
13295 * po/be.po: Update translations.
13297 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13299 * sysdeps/sh/libm-test-ulps: Update.
13301 2018-07-30 Carlos O'Donell <carlos@redhat.com>
13303 * po/bg.po: Update translations.
13304 * po/de.po: Likewise.
13305 * po/hr.po: Likewise.
13306 * po/pt_BR.po: Likewise.
13307 * po/sv.po: Likewise.
13308 * po/vi.po: Likewise.
13310 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
13313 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
13314 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
13315 (CFLAGS-tst-cet-property-1.o): New.
13316 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
13317 ($(objpfx)tst-cet-property-2): Likewise.
13318 ($(objpfx)tst-cet-property-2.out): Likewise.
13319 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
13320 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
13321 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
13322 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
13323 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
13325 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
13328 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
13330 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
13332 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
13333 __sbrk): Do not set attribute_hidden.
13334 * sysdeps/mach/hurd/not-errno.h: New file.
13335 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
13336 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
13338 2018-07-27 Carlos O'Donell <carlos@redhat.com>
13340 * po/uk.po: Update translations.
13341 * po/cs.po: Likewise.
13342 * po/pl.po: Likewise.
13344 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
13346 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
13347 parse beyond the note end.
13349 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13351 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
13352 kernel does not support OFD locks.
13353 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
13355 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13357 * sysdeps/mach/hurd/Versions (libc): Make __access and
13358 __access_noerrno external so they can override the ld symbols.
13359 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
13360 __writev, __open64, __access_noerrno extern so they can be overrided.
13361 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
13362 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
13364 2018-07-26 Carlos O'Donell <carlos@redhat.com>
13366 * po/libc.pot: Regenerate.
13368 2018-07-26 Joseph Myers <joseph@codesourcery.com>
13370 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
13372 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
13375 * sysdeps/x86/cpu-features.c (get_extended_indices): New
13377 (init_cpu_features): Call get_extended_indices for both Intel
13379 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
13380 Remove "for AMD" comment.
13382 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
13385 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
13386 COMMON_CPUID_INDEX_80000001.
13388 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
13390 * string/tst-xbzero-opt.c (use_test_buffer): New function.
13391 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
13393 2018-07-26 Florian Weimer <fweimer@redhat.com>
13395 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
13396 aliases for symbols not in the implementation namespace.
13398 2018-07-25 Carlos O'Donell <carlos@redhat.com>
13401 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
13402 lowercase in LATIN script.
13403 * localedata/Makefile (test-input): Add en_US.UTF-8.
13404 * localedata/en_US.UTF-8.in: New file.
13405 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
13406 and restore old tests.
13407 * posix/tst-regexloc.c (do_test): Add back range expression test.
13409 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13411 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
13413 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13415 * nptl/threads.h: Move to ...
13416 * sysdeps/nptl/threads.h: ... here.
13417 * sysdeps/hurd/stdc-predef.h: New file.
13419 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13421 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
13422 tst-cet-setcontext-1 if CET is enabled.
13423 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
13424 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
13426 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13428 * include/threads.h: Move to ...
13429 * sysdeps/nptl/threads.h: ... here.
13430 * sysdeps/htl/threads.h: New file.
13431 * conform/Makefile (linknamespace-libs-ISO11): Use
13432 static-thread-library instead of linking libpthread.
13433 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
13435 2018-07-25 Florian Weimer <fweimer@redhat.com>
13437 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
13438 nanoseconds into seconds.
13439 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
13440 (do_test): Likewise.
13441 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
13442 (do_test): Likewise. Avoid nanosecond overflow and spurious
13443 timeouts due to system load.
13444 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
13445 (child_wait): Increment it.
13446 (do_test): Wait as long as necessary until all expected threads
13449 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
13450 H.J. Lu <hongjiu.lu@intel.com>
13452 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
13454 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
13455 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
13456 (__push___start_context): New.
13457 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
13459 (__getcontext): Record the current shadow stack base. Save the
13460 caller's shadow stack pointer and base.
13461 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
13462 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
13463 (__push___start_context): New prototype.
13464 (__makecontext): Call __push___start_context to allocate a new
13465 shadow stack, push __start_context onto the new stack as well
13466 as the new shadow stack.
13467 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
13469 (__setcontext): Restore the target shadow stack.
13470 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
13472 (__swapcontext): Record the current shadow stack base. Save
13473 the caller's shadow stack pointer and base. Restore the target
13475 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
13476 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
13477 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
13479 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13481 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
13482 tst-setcontext8 and tst-setcontext9.
13483 * stdlib/tst-setcontext6.c: New file.
13484 * stdlib/tst-setcontext7.c: Likewise.
13485 * stdlib/tst-setcontext8.c: Likewise.
13486 * stdlib/tst-setcontext9.c: Likewise.
13488 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13490 * stdlib/Makefile ((tests): Add tst-setcontext5.
13491 * stdlib/tst-setcontext5.c: New file.
13493 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13495 * stdlib/Makefile (tests): Add tst-setcontext4.
13496 * stdlib/tst-setcontext4.c: New file.
13498 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13500 * stdlib/Makefile (tests): Add tst-swapcontext1.
13501 * stdlib/tst-swapcontext1.c: New test.
13503 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13505 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
13506 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
13507 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
13508 and tst-cet-legacy-4c.
13509 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
13510 and tst-cet-legacy-mod-4.
13511 (CFLAGS-tst-cet-legacy-2.c): New.
13512 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
13513 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
13514 (CFLAGS-tst-cet-legacy-3.c): Likewise.
13515 (CFLAGS-tst-cet-legacy-4.c): Likewise.
13516 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
13517 ($(objpfx)tst-cet-legacy-1): Likewise.
13518 ($(objpfx)tst-cet-legacy-2): Likewise.
13519 ($(objpfx)tst-cet-legacy-2.out): Likewise.
13520 ($(objpfx)tst-cet-legacy-2a): Likewise.
13521 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
13522 ($(objpfx)tst-cet-legacy-4): Likewise.
13523 ($(objpfx)tst-cet-legacy-4.out): Likewise.
13524 ($(objpfx)tst-cet-legacy-4a): Likewise.
13525 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
13526 (tst-cet-legacy-4a-ENV): Likewise.
13527 ($(objpfx)tst-cet-legacy-4b): Likewise.
13528 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
13529 (tst-cet-legacy-4b-ENV): Likewise.
13530 ($(objpfx)tst-cet-legacy-4c): Likewise.
13531 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
13532 (tst-cet-legacy-4c-ENV): Likewise.
13533 * sysdeps/x86/tst-cet-legacy-1.c: New file.
13534 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
13535 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
13536 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
13537 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
13538 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
13539 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
13540 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
13541 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
13542 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
13543 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
13545 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13547 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
13548 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
13550 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
13551 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
13554 2018-07-25 Andreas Schwab <schwab@suse.de>
13557 * locale/weightwc.h (findidx): Handle the case where usrc is a
13558 prefix of cp but one character too short.
13560 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13562 * NEWS: Add ISO C threads addition.
13564 2018-07-24 Florian Weimer <fweimer@redhat.com>
13566 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13567 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
13568 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
13571 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
13573 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
13574 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
13575 <sys/prctl.h> and <asm/prctl.h>.
13576 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
13577 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
13579 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
13580 ARCH_CET_LEGACY_BITMAP.
13581 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
13582 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
13583 * sysdeps/x86/libc-start.c: Include <startup.h>.
13585 2018-07-24 Florian Weimer <fweimer@redhat.com>
13587 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
13588 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
13590 2018-07-24 Rical Jasan <rj@2c3t.io>
13591 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13592 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
13595 * manual/debug.texi: Update adjacent chapter name.
13596 * manual/probes.texi: Likewise.
13597 * manual/threads.texi (ISO C Threads): New section.
13598 (POSIX Threads): Convert to a section.
13600 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13601 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
13604 * nptl/Makefile (tests): Add new test files.
13605 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
13606 * nptl/tst-cnd-basic.c: Likewise.
13607 * nptl/tst-cnd-broadcast.c: Likewise.
13608 * nptl/tst-cnd-timedwait.c: Likewise.
13609 * nptl/tst-mtx-basic.c: Likewise.
13610 * nptl/tst-mtx-recursive.c: Likewise.
13611 * nptl/tst-mtx-timedlock.c: Likewise.
13612 * nptl/tst-mtx-trylock.c: Likewise.
13613 * nptl/tst-thrd-basic.c: Likewise.
13614 * nptl/tst-thrd-detach.c: Likewise.
13615 * nptl/tst-thrd-sleep.c: Likewise.
13616 * nptl/tst-tss-basic.c: Likewise.
13618 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13621 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
13622 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
13624 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13625 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13626 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13627 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13628 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13629 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13630 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13631 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13632 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13633 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13634 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13635 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
13642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13643 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13644 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13645 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13646 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13647 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13648 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13649 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13650 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13651 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
13652 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
13653 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
13654 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
13655 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
13657 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
13658 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
13659 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
13660 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
13661 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
13662 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
13663 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
13664 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
13665 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
13666 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
13667 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
13668 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
13670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
13671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13675 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
13676 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
13677 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
13678 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
13679 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
13680 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
13681 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
13682 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
13685 * conform/data/threads.h-data (thread_local): New macro.
13686 (TSS_DTOR_ITERATIONS): Likewise.
13688 (tss_dtor_t): Likewise.
13689 (tss_create): New function.
13690 (tss_get): Likewise.
13691 (tss_set): Likewise.
13692 (tss_delete): Likewise.
13693 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
13694 tss_get, and tss_set objects.
13695 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
13696 * nptl/tss_create.c: New file.
13697 * nptl/tss_delete.c: Likewise.
13698 * nptl/tss_get.c: Likewise.
13699 * nptl/tss_set.c: Likewise.
13700 * sysdeps/nptl/threads.h (thread_local): New define.
13701 (TSS_DTOR_ITERATIONS): Likewise.
13702 (tss_t): New typedef.
13703 (tss_dtor_t): Likewise.
13704 (tss_create): New prototype.
13705 (tss_get): Likewise.
13706 (tss_set): Likewise.
13707 (tss_delete): Likewise.
13710 * conform/data/threads.h-data (cnd_t): New type.
13711 (cnd_init): New function.
13712 (cnd_signal): Likewise.
13713 (cnd_broadcast): Likewise.
13714 (cnd_wait): Likewise.
13715 (cnd_timedwait): Likewise.
13716 (cnd_destroy): Likewise.
13717 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
13718 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
13720 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
13721 * nptl/cnd_broadcast.c: New file.
13722 * nptl/cnd_destroy.c: Likewise.
13723 * nptl/cnd_init.c: Likewise.
13724 * nptl/cnd_signal.c: Likewise.
13725 * nptl/cnd_timedwait.c: Likewise.
13726 * nptl/cnd_wait.c: Likewise.
13727 * sysdeps/nptl/threads.h (cnd_t): New type.
13728 (cnd_init): New prototype.
13729 (cnd_signa): Likewise.
13730 (cnd_broadcast): Likewise.
13731 (cnd_wait): Likewise.
13732 (cnd_timedwait): Likewise.
13733 (cnd_destroy): Likewise.
13736 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
13737 (once_flag): New type.
13738 (call_once): New function.
13739 * nptl/Makefile (libpthread-routines): Add call_once object.
13740 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
13741 * nptl/call_once.c: New file.
13742 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
13743 (once_flag): New type.
13744 (call_once): New prototype.
13747 * conform/data/threads.h-data (mtx_plain): New constant.
13748 (mtx_recursive): Likewise.
13749 (mtx_timed): Likewise.
13751 (mtx_init): New function.
13752 (mtx_lock): Likewise.
13753 (mtx_timedlock): Likewise.
13754 (mtx_trylock): Likewise.
13755 (mtx_unlock): Likewise.
13756 (mtx_destroy): Likewise.
13757 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
13758 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
13759 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
13760 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
13761 * nptl/mtx_destroy.c: New file.
13762 * nptl/mtx_init.c: Likewise.
13763 * nptl/mtx_lock.c: Likewise.
13764 * nptl/mtx_timedlock.c: Likewise.
13765 * nptl/mtx_trylock.c: Likewise.
13766 * nptl/mtx_unlock.c: Likewise.
13767 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
13768 (mtx_recursive): Likewise.
13769 (mtx_timed): Likewise.
13771 (mtx_init): New prototype.
13772 (mtx_lock): Likewise.
13773 (mtx_timedlock): Likewise.
13774 (mtx_trylock): Likewise.
13775 (mtx_unlock): Likewise.
13776 (mtx_destroy): Likewise.
13779 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
13780 (linknamespace-libs-ISO11): Add libpthread.a.
13781 * conform/data/threads.h-data: New file: add C11 thrd_* types and
13783 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
13784 * nptl/Makefile (headers): Add threads.h.
13785 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
13786 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
13788 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
13789 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
13790 thrd_join, thrd_sleep, and thrd_yield symbols.
13791 * nptl/descr.h (struct pthread): Add c11 field.
13792 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
13793 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
13794 routine with expected function prototype.
13795 (__pthread_create_2_1): Add C11 threads check based on attribute
13797 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
13798 * nptl/thrd_create.c: New file.
13799 * nptl/thrd_current.c: Likewise.
13800 * nptl/thrd_detach.c: Likewise.
13801 * nptl/thrd_equal.c: Likewise.
13802 * nptl/thrd_exit.c: Likewise.
13803 * nptl/thrd_join.c: Likewise.
13804 * nptl/thrd_priv.h: Likewise.
13805 * nptl/thrd_sleep.c: Likewise.
13806 * nptl/thrd_yield.c: Likewise.
13807 * include/threads.h: Likewise.
13809 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
13811 * bits/indirect-return.h: New file.
13812 * misc/sys/cdefs.h (__glibc_has_attribute): New.
13813 * sysdeps/x86/bits/indirect-return.h: Likewise.
13814 * stdlib/Makefile (headers): Add bits/indirect-return.h.
13815 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
13816 (swapcontext): Add __INDIRECT_RETURN.
13817 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
13818 (prepare_test_buffer): Use it.
13820 2018-07-24 Andreas Schwab <schwab@suse.de>
13823 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
13824 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
13826 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
13828 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
13829 Redefine if shadow stack is enabled.
13830 (SYSCALL_ERROR_LABEL): Likewise.
13831 (__vfork): Pop shadow stack and jump back to to caller directly
13832 when shadow stack is in use.
13833 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
13834 Redefine if shadow stack is enabled.
13835 (SYSCALL_ERROR_LABEL): Likewise.
13836 (__vfork): Pop shadow stack and jump back to to caller directly
13837 when shadow stack is in use.
13839 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
13841 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
13844 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
13847 2018-07-20 Joseph Myers <joseph@codesourcery.com>
13849 * scripts/build-many-glibcs.py (Context.checkout): Default
13850 binutils version to 2.31 branch.
13852 2018-07-20 Zong Li <zong@andestech.com>
13854 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
13855 URL of gcc's tarball.
13857 2018-07-20 Florian Weimer <fweimer@redhat.com>
13860 * posix/regcomp.c (build_equiv_class): When comparing weights, do
13861 not compare an extra byte after the end of the weights.
13863 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
13865 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
13867 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
13869 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
13870 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
13871 * scripts/check-execstack.awk: Consider `xfail' variable containing a
13872 list of libraries whose stack executability is expected.
13873 * elf/Makefile ($(objpfx)check-execstack.out): Pass
13874 $(check-execstack-xfail) to check-execstack.awk through `xfail'
13876 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
13877 libc.so libpthread.so.
13879 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
13881 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
13883 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
13885 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
13887 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
13889 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13891 * benchtests/scripts/compare_bench.py (__main__): use the argparse
13892 library to improve command line parsing.
13893 (__main__): make schema file as optional parameter (--schema),
13894 defaulting to benchtests/scripts/benchout.schema.json.
13895 (main): move out of the parsing stuff to __main_ and leave it
13896 only as caller of main comparison functions.
13898 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
13900 * NEWS: Add a note for Intel CET status.
13901 * manual/install.texi: Likewise.
13902 * INSTALL: Regenerated.
13904 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
13907 * localedata/locales/oc_FR (mon): Rename to...
13908 (alt_mon): This, then update October (typo fix).
13909 (mon): New content (genitive case, month names preceded by
13913 * localedata/locales/oc_FR (abday): Update all items.
13914 (day): Update Wednesday and Saturday (typo fixes).
13915 (abmon): Update all items, except May.
13916 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
13917 (LC_IDENTIFICATION): Bump the revision number and date.
13918 Keep the "category" entries in alphabetic order.
13919 (LC_ADDRESS): Remove no longer needed comment.
13920 (LC_COLLATE): Use “copy "ca_ES"”.
13921 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
13924 2018-07-18 Joseph Myers <joseph@codesourcery.com>
13926 * grp/tst_fgetgrent.c: Include <unistd.h>.
13927 (main): Use mkstemp instead of tmpnam.
13928 * io/test-utime.c (main): Likewise.
13929 * posix/annexc.c (macrofile): Change to modifiable array.
13930 (main): Remove macrofile here.
13931 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
13933 (check_header): Do not remove macrofile here.
13934 * posix/bug-getopt1.c: Include <stdlib.h>.
13935 (do_test): Use mkstemp instead of tmpnam.
13936 * posix/bug-getopt2.c: Include <stdlib.h>.
13937 (do_test): Use mkstemp instead of tmpnam.
13938 * posix/bug-getopt3.c: Include <stdlib.h>.
13939 (do_test): Use mkstemp instead of tmpnam.
13940 * posix/bug-getopt4.c: Include <stdlib.h>.
13941 (do_test): Use mkstemp instead of tmpnam.
13942 * posix/bug-getopt5.c: Include <stdlib.h>.
13943 (do_test): Use mkstemp instead of tmpnam.
13944 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
13945 (main): Use mkstemp instead of tmpnam.
13946 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
13947 (main): Use mkstemp instead of tmpnam.
13948 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
13949 (main): use mkstemp instead of tmpnam.
13950 * stdlib/isomac.c (macrofile): Change to modifiable array.
13951 (main): Remove macrofile here.
13952 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
13954 (check_header): Do not remove macrofile here.
13956 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13958 * manual/tunables.texi: Document glibc.tune.x86_ibt and
13959 glibc.tune.x86_shstk.
13961 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13963 * NEWS: Mention --enable-cet.
13964 * manual/install.texi: Document --enable-cet.
13965 * INSTALL: Regenerated.
13967 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13969 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
13970 Add _CET_NOTRACK before indirect jump to jump table.
13972 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13974 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
13975 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13978 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13980 * sysdeps/i386/i686/multiarch/strcat-sse2.S
13981 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13984 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13986 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
13987 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13990 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13992 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
13993 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13996 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13998 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
13999 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14001 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
14003 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14005 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
14006 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14009 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14011 * sysdeps/i386/i686/multiarch/memset-sse2.S
14012 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14015 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14017 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
14018 indirect jump to jump table.
14020 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14022 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
14023 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14025 (MEMCPY): Likewise.
14027 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14029 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
14030 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14032 (MEMCPY): Likewise.
14034 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14036 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
14037 _CET_NOTRACK before indirect jump to jump table.
14039 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14041 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
14042 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14045 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14047 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
14048 indirect jump to jump table.
14050 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
14053 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
14054 (LOCALES): Likewise.
14055 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
14056 * localedata/locales/sah_RU: New file.
14057 * localedata/sah_RU.UTF-8.in: New file.
14059 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14061 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
14063 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
14064 _CET_ENDBR to indirect jump targets and adjust jump destination
14066 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
14068 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
14069 _CET_ENDBR to indirect jump targets and adjust jump destination
14071 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
14073 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
14074 _CET_ENDBR to indirect jump targets and adjust jump destination
14077 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14079 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
14082 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14084 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
14086 (_dl_tlsdesc_undefweak): Likewise.
14087 (_dl_tlsdesc_dynamic): Likewise.
14088 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
14089 (_dl_tlsdesc_resolve_rel): Likewise.
14090 (_dl_tlsdesc_resolve_rela): Likewise.
14091 (_dl_tlsdesc_resolve_hold): Likewise.
14092 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
14093 (_dl_tlsdesc_undefweak): Likewise.
14094 (_dl_tlsdesc_dynamic): Likewise.
14095 (_dl_tlsdesc_resolve_rela): Likewise.
14096 (_dl_tlsdesc_resolve_hold): Likewise.
14098 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14100 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
14102 * sysdeps/x86_64/crti.S (_init): Likewise.
14105 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
14108 * localedata/locales/os_RU (mon): Rename to...
14110 (mon): Import from CLDR (genitive case).
14112 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14114 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
14115 cet-tunables.h> when CET is enabled.
14117 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
14120 * configure.ac: Add --enable-cet.
14121 * configure: Regenerated.
14122 * elf/Makefille (all-built-dso): Add a comment.
14123 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
14124 Include <dl-prop.h>.
14125 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
14127 * elf/dl-open.c: Include <dl-prop.h>.
14128 (dl_open_worker): Call _dl_open_check.
14129 * elf/rtld.c: Include <dl-prop.h>.
14130 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
14132 * sysdeps/generic/dl-prop.h: New file.
14133 * sysdeps/i386/dl-cet.c: Likewise.
14134 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
14135 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
14136 * sysdeps/x86/cet-tunables.h: Likewise.
14137 * sysdeps/x86/check-cet.awk: Likewise.
14138 * sysdeps/x86/configure: Likewise.
14139 * sysdeps/x86/configure.ac: Likewise.
14140 * sysdeps/x86/dl-cet.c: Likewise.
14141 * sysdeps/x86/dl-procruntime.c: Likewise.
14142 * sysdeps/x86/dl-prop.h: Likewise.
14143 * sysdeps/x86/libc-start.h: Likewise.
14144 * sysdeps/x86/link_map.h: Likewise.
14145 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
14147 (_dl_runtime_profile): Likewise.
14148 (_dl_runtime_resolve_shstk): New.
14149 (_dl_runtime_profile_shstk): Likewise.
14150 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
14152 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
14153 (CFLAGS-.os): Likewise.
14154 (CFLAGS-.op): Likewise.
14155 (CFLAGS-.oS): Likewise.
14156 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
14158 (tests-special): Add $(objpfx)check-cet.out.
14159 (cet-built-dso): New.
14160 (+$(cet-built-dso:=.note)): Likewise.
14161 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
14162 ($(objpfx)check-cet.out): New.
14163 (generated): Add check-cet.out.
14164 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
14166 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
14167 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
14168 (init_cpu_features): Call get_cet_status to check CET status
14169 and update dl_x86_feature_1 with CET status. Call
14170 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
14171 (set_x86_shstk). Disable and lock CET in libc.a.
14172 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
14173 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
14174 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
14175 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
14176 (_CET_ENDBR): Define if not defined.
14177 (ENTRY): Add _CET_ENDBR.
14178 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
14180 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
14182 (_dl_runtime_profile): Likewise.
14184 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
14187 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
14188 restore r2 on longjmp.
14189 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
14191 Added rules to build test tst-setjmp-bug21895-static.
14192 Added module setjmp-bug21895 and rules to build a shared object from it.
14193 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
14194 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
14196 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
14198 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
14199 * benchtests/bench-strstr.c: Likewise.
14200 * string/memmem.c (FASTSEARCH): Define.
14201 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
14202 Add support for FASTSEARCH.
14203 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
14204 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
14205 (FASTSEARCH): Define.
14206 * string/test-strcasestr.c: Rename __strnlen to strnlen.
14207 * string/test-strstr.c: Likewise.
14209 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
14211 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
14212 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
14214 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
14215 H.J. Lu <hongjiu.lu@intel.com>
14217 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
14218 (__longjmp): Restore shadow stack pointer if shadow stack is
14219 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
14220 isn't defined for __longjmp_cancel.
14221 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
14222 (_setjmp): Save shadow stack pointer if shadow stack is enabled
14223 and SHADOW_STACK_POINTER_OFFSET is defined.
14224 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
14225 (setjmp): Save shadow stack pointer if shadow stack is enabled
14226 and SHADOW_STACK_POINTER_OFFSET is defined.
14227 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
14228 (__sigsetjmp): Save shadow stack pointer if shadow stack is
14229 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14230 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
14232 (____longjmp_chk): Restore shadow stack pointer if shadow stack
14233 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14234 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
14235 Remove jmp_buf-ssp.sym.
14236 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14238 (____longjmp_chk): Restore shadow stack pointer if shadow stack
14239 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14240 * sysdeps/x86/Makefile (gen-as-const-headers): Add
14242 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
14243 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
14244 (__longjmp): Restore shadow stack pointer if shadow stack is
14245 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
14246 isn't defined for __longjmp_cancel.
14247 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
14248 (__sigsetjmp): Save shadow stack pointer if shadow stack is
14249 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14251 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
14254 * nptl/pthread_create.c: Include <tls-setup.h>.
14255 (__pthread_create_2_1): Call tls_setup_tcbhead.
14256 * sysdeps/generic/tls-setup.h: New file.
14257 * sysdeps/x86/nptl/tls-setup.h: Likewise.
14258 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
14259 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
14261 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
14263 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
14264 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
14265 (X86_FEATURE_1_SHSTK): Likewise.
14266 (CET_ENABLED): Likewise.
14267 (IBT_ENABLED): Likewise.
14268 (SHSTK_ENABLED): Likewise.
14270 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
14273 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
14274 (LOCALES): Likewise.
14275 * localedata/dsb_DE.UTF-8.in: New file.
14276 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
14278 2018-07-12 Florian Weimer <fweimer@redhat.com>
14280 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
14281 __mprotect, not mprotect.
14283 2018-07-11 Florian Weimer <fweimer@redhat.com>
14285 * io/Makefile (headers): Add bits/statx.h.
14287 2018-07-10 Mike FABIAN <mfabian@redhat.com>
14289 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
14290 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
14292 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
14293 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
14296 2018-07-10 Florian Weimer <fweimer@redhat.com>
14298 * io/Makefile (routines): Add statx.
14299 (tests-internal): Add tst-statx.
14300 * io/Versions (GLIBC_2.28): Export statx.
14301 * io/bits/statx.h: New file.
14302 * io/sys/stat.h [__USE_GNU]: Include it.
14303 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
14304 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
14306 * io/statx.c: New file.
14307 * io/statx_generic.: Likewise.
14308 * io/tst-statx.: Likewise.
14309 * include/bits/statx.h: Likewise.
14310 * sysdeps/unix/sysv/linux/kernel-features.h
14311 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
14312 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14313 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
14314 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
14316 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14317 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
14318 * sysdeps/unix/sysv/linux/statx.c: New file.
14319 * manual/filesys.texi: Note that statx is undocumented.
14320 * sysdeps/**/libc*.abilist: Update.
14322 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14324 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
14325 a kernel issue which lead to test failure in some cases.
14327 2018-07-10 Florian Weimer <fweimer@redhat.com>
14330 * posix/regexec.c (check_node_accept_bytes): When comparing
14331 weights, do not compare an extra byte after the end of the
14334 2018-07-10 Florian Weimer <fweimer@redhat.com>
14336 * libio/readline.c: Fix copyright year.
14337 * libio/tst-readline.c Likewise.
14338 * nss/tst-nss-files-hosts-getent.c: Likewise.
14340 2018-07-06 Florian Weimer <fweimer@redhat.com>
14343 * nss/nss_files/files-XXX.c (internal_getent): Use
14344 __libc_readline_unlocked. Seek back to the start of the line if
14345 parsing failes with ERANGE.
14346 (get_contents_ret, get_contents): Remove.
14347 * nss/tst-nss-files-hosts-getent.c: New file.
14348 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
14349 (tst-nss-files-hosts-getent): Link with -ldl.
14351 2018-07-06 Florian Weimer <fweimer@redhat.com>
14353 * include/stdio.h (__libc_readline_unlocked): Declare.
14354 (__ftello64, __fseeko64): Declare aliases.
14355 * libio/readline.c: New file.
14356 * libio/tst-readline.c: Likewise.
14357 (routines): Add readline.
14358 (tests-internal): Add tst-readlime.
14359 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
14360 __libc_readline_unlocked.
14361 * libio/fseeko.c (__fseeko): Rename from fseeko.
14362 (fseeko): Add alias.
14363 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
14364 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
14365 (fseeko64): Add alias.
14366 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
14367 * libio/ftello64.c (__ftello64): Rename from ftello64.
14368 (ftello64): Add alias.
14370 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
14372 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
14375 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
14377 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
14378 Use dl_hwcap without masking.
14379 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
14380 Remove HWCAP_CPUID.
14382 2018-07-06 Florian Weimer <fweimer@redhat.com>
14384 * conform/conformtest.pl (checknamespace): Escape literal braces
14385 in regular expressions.
14387 2018-07-06 Amit Pawar <amit.pawar@amd.com>
14389 * sysdeps/x86/cpu-features.c (get_common_indeces):
14390 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
14391 * sysdeps/x86/cpu-features.c (init_cpu_features):
14392 AVX_Fast_Unaligned_Load is disabled for Excavator core.
14394 2018-07-05 Florian Weimer <fweimer@redhat.com>
14396 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
14398 (CFLAGS-elf-init.oS): Likewise.
14400 2018-07-05 Florian Weimer <fweimer@redhat.com>
14401 Carlos O'Donell <carlos@redhat.com>
14403 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
14404 $(no-stack-protector). stack_chk_fail_local.c can be compiled
14405 with stack protector enabled because there is no risk of infinite
14408 2018-07-05 Maciej W. Rozycki <macro@mips.com>
14412 * libc-abis (ABSOLUTE): New ABI.
14413 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
14414 * NEWS: Mention the new ABI.
14416 2018-07-05 Florian Weimer <fweimer@redhat.com>
14419 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
14420 (RENAME_WHITEOUT): Define.
14421 [__USE_GNU] (renameat2): Declare.
14422 * stdio-common/Makefile (routines): Add renameat2.
14423 (tests): Add tst-renameat2.
14424 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
14425 * stdio-common/renameat2.c: New file.
14426 * stdio-common/tst-renameat2.c: Likewise.
14427 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
14428 * manual/filesys.texi (Temporary Files): Note that renameat2 is
14430 * sysdeps/unix/sysv/linux/kernel-features.h
14431 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
14432 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14433 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
14434 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14435 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
14436 * sysdeps/unix/sysv/linux/sh/kernel-features.h
14437 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
14438 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14439 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
14440 * include/stdio.h (__renameat): Add alias for renameat.
14441 * stdio-common/renameat.c (__renameat): Rename from renameat.
14442 Add hidden definition and alias.
14443 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
14444 * sysdeps/mach/hurd/renameat.c: Likewise.
14445 * sysdeps/**/libc*.abilist: Add renameat2.
14447 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14449 * posix/bug-regex33.c: Fix build after regex sync.
14451 2018-07-04 Carlos O'Donell <carlos@redhat.com>
14454 * localedata/tst-langinfo-setlocale.c: New file.
14455 * localedata/tst-langinfo-setlocale-static.c: New file.
14456 * localedata/tst-langinfo-newlocale.c: New file.
14457 * localedata/tst-langinfo-newlocale-static.c: New file.
14458 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
14459 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
14460 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
14461 (tests-static): Remove tst-langinfo-static. Add
14462 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
14463 (tests-special): Remove $(objpfx)tst-langinfo.out,
14464 $(objpfx)tst-langinfo-static.out. Add
14465 $(objpfx)tst-langinfo-setlocale.out,
14466 $(objpfx)tst-langinfo-newlocale.out,
14467 $(objpfx)tst-langinfo-setlocale-static.out,
14468 $(objpfx)tst-langinfo-newlocale-static.out.
14469 ($(objpfx)tst-langinfo.out): Remove.
14470 ($(objpfx)tst-langinfo-static.out): Remove.
14471 ($(objpfx)tst-langinfo-newlocale.out): New target.
14472 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
14473 (test-xfail-tst-langinfo-newlocale-static): Add.
14474 ($(objpfx)tst-langinfo-setlocale.out): New target.
14475 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
14476 * localedata/tst-langinfo.c: Call test_locale.
14477 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
14480 2018-07-04 Florian Weimer <fweimer@redhat.com>
14482 testrun.sh: Implement --tool=strace, --tool=valgrind
14483 * Makefile (testrun-script): Define variable.
14484 (testrun.sh): Use variable.
14485 * manual/install.texi (Tools for Compilation): make 4.0 or later
14487 * configure.ac: Check for make 4.0 or later.
14488 * INSTALL: Regenerate.
14489 * configure: Likewise.
14491 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14497 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
14498 * posix/PCRE.tests: Remove invalid test.
14499 * posix/bug-regex28.c: Fix expected values for used syntax.
14500 * posix/bug-regex37.c: New file.
14501 * posix/bug-regex38.c: Likewise.
14502 * posix/regcomp.c: Sync with gnulib.
14503 * posix/regex.c: Likewise.
14504 * posix/regex.h: Likewise.
14505 * posix/regex_internal.c: Likewise.
14506 * posix/regex_internal.h: Likewise.
14507 * posix/regexec.c: Likewise.
14509 2018-06-26 Mike FABIAN <mfabian@redhat.com>
14512 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
14513 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
14514 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
14515 * localedata/unicode-gen/PropList.txt: likewise.
14516 * localedata/unicode-gen/UnicodeData.txt: likewise.
14517 * localedata/charmaps/UTF-8: Regenerate.
14518 * localedata/locales/i18n_ctype: likewise.
14519 * localedata/locales/tr_TR: likewise.
14520 * localedata/locales/translit_circle: likewise.
14521 * localedata/locales/translit_cjk_compat: likewise.
14522 * localedata/locales/translit_combining: likewise.
14523 * localedata/locales/translit_compat: likewise.
14524 * localedata/locales/translit_font: likewise.
14525 * localedata/locales/translit_fraction: likewise.
14527 2018-07-03 Florian Weimer <fweimer@redhat.com>
14530 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
14531 * stdio-common/tst-printf.sh: Adjust expected output.
14532 * LICENSES: Update.
14534 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14536 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
14539 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14541 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
14542 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
14543 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
14544 * stdio-common/tst-printfsz-islongdouble.c: New file.
14545 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
14546 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
14547 [subdir == stdio-common] (routines): Add ieee128-printf_size.
14548 [subdir == stdio-common] (tests-internal): Add
14549 test-printf-size-ieee128, and test-printf-size-ibm128.
14550 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
14551 (CFLAGS-test-printf-size-ibm128.c): New variables.
14552 [subdir == stdio-common] (tests-special): Add
14553 $(objpfx)test-printf-size-ieee128.out and
14554 $(objpfx)test-printf-size-ibm128.out.
14555 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
14556 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
14557 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
14558 __printf_sizeieee128.
14559 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
14561 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
14563 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
14566 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
14568 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
14569 (exp2f_inline): Likewise.
14570 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
14571 (__math_uflowf): Likewise.
14572 (__math_may_uflowf): Likewise.
14573 (__math_divzerof): Likewise.
14574 (__math_invalidf): Likewise.
14575 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
14576 (__math_oflowf): Likewise.
14577 (__math_uflowf): Likewise.
14578 (__math_may_uflowf): Likewise.
14579 (__math_divzerof): Likewise.
14580 (__math_invalidf): Likewise.
14582 2018-06-29 DJ Delorie <dj@redhat.com>
14583 Carlos O'Donell <carlos@redhat.com>
14586 * include/libc-symbols.h: Comment the freeres framework.
14587 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
14588 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
14589 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
14590 * dlfcn/dlerror.c: Include libc-symbols.h
14591 (__dlerror_main_freeres): New function.
14592 * dlfcn/dlfreeres.c: New file.
14593 * dlfcn/sdlfreeres.c: New file.
14594 * include/dlfcn.h: Declare __dlerror_main_freeres.
14595 * malloc/set-freeres.c: Declare __libdl_freeres, and
14596 __libpthread_freeres.
14597 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
14598 the releavant libraries are loaded.
14599 * malloc/thread-freeres.c: Add comments.
14600 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
14601 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
14602 * nptl/allocatestack.c (__nptl_free_stacks): New function.
14603 (__free_stacks): Rename to...
14604 (free_stacks): ...this. Mark static.
14605 (queue_stack): Call free_stacks.
14606 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
14607 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
14608 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
14609 ptr_freeres element from struct.
14610 (pthread_functions): Remove .ptr_freeres from struct initializer.
14611 [SHARED] (nptl_freeres): Remove.
14612 * nptl/nptlfreeres.c: New file.
14614 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
14615 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
14617 (__free_stacks): Rename to...
14618 (__nptl_stacks_freeres): ...this.
14619 (__shm_directory_freeres): Declare.
14620 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
14621 (__nptl_unwind_freeres): ...this.
14622 * resolv/res-close.c: Add comment.
14623 * resolv/resolv_conf.c: Include libc-symbols.h.
14624 * string/strerror_l.c: Include libc-symbols.h.
14625 * sunrpc/rpc_thread.c: Include libc-symbols.h.
14626 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
14627 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
14628 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
14630 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14632 * stdlib/tst-strfmon_l.c: Add tests for long double.
14634 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
14637 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
14638 * localedata/locales/dsb_DE: New file.
14640 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
14643 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
14645 (alt_mon): New entry, import from CLDR (nominative case).
14647 2018-06-29 Sylvain Lesage <severo@rednegra.net>
14650 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
14652 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
14654 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
14655 Use vector registers.
14657 * sysdeps/aarch64/multiarch/memmove_falkor.S
14658 (__memcpy_falkor): Use vector registers.
14660 2018-06-29 Martin Sebor <msebor@redhat.com>
14662 * manual/stdio.texi (Customizing Printf): Mention interaction
14663 with GCC built-ins.
14665 2018-06-29 Maciej W. Rozycki <macro@mips.com>
14668 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
14669 `st_value' is 0 if `st_shndx' is SHN_ABS.
14670 * elf/tst-absolute-zero.c: New file.
14671 * elf/tst-absolute-zero-lib.c: New file.
14672 * elf/tst-absolute-zero-lib.lds: New file.
14673 * elf/Makefile (tests): Add `tst-absolute-zero'.
14674 (modules-names): Add `tst-absolute-zero-lib'.
14675 (LDLIBS-tst-absolute-zero-lib.so): New variable.
14676 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
14677 ($(objpfx)tst-absolute-zero: New dependency.
14679 2018-06-29 Zack Weinberg <zackw@panix.com>
14681 * configure.ac: New command-line option --disable-crypt.
14682 Force --disable-nss-crypt when --disable-crypt is given, with a
14683 warning if it was explicitly enabled.
14684 * configure: Regenerate.
14685 * config.make.in: New boolean substitution variable $(build-crypt).
14686 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
14687 when $(build-crypt).
14688 * manual/install.texi: Document --disable-crypt.
14689 * INSTALL: Regenerate.
14691 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
14692 which is never set.
14693 * conform/Makefile: Only include libcrypt.a in
14694 linknamespace-libs-xsi and linknamespace-libs-XPG4
14695 when $(build-crypt).
14696 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
14697 USE_CRYPT to 1 when $(build-crypt).
14698 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
14699 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
14700 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
14702 2018-06-29 Zack Weinberg <zackw@panix.com>
14704 * crypt/crypt.h, posix/unistd.h: Update comments and
14705 prototypes for crypt and crypt_r.
14707 * manual/crypt.texi (Cryptographic Functions): New initial
14709 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
14710 (Unpredictable Bytes): Improve initial exposition. Clarify error
14711 behavior of getentropy and getrandom.
14712 * manual/examples/genpass.c: Generate a salt using getentropy
14713 instead of the current time. Use hash $5$ (SHA-2-256).
14714 * manual/examples/testpass.c: Demonstrate validation against
14715 hashes generated with three different one-way functions.
14717 * manual/intro.texi: crypt.texi does not need an overview
14720 * manual/nss.texi, manual/memory.texi, manual/socket.texi
14721 * manual/terminal.texi: Consistently refer to "passphrases"
14722 * instead of "passwords", and to the "user database" instead
14723 * of the "password database".
14724 * manual/users.texi: Similarly. Add notes about how actual
14725 passphrase hashes are now stored in the shadow database.
14726 Remove 20-year-old junk todo note.
14728 2018-06-29 Zack Weinberg <zackw@panix.com>
14730 * manual/crypt.texi: Use a normal top-level @node declaration.
14731 Move most of the introductory text to the 'crypt' section.
14732 Move the example programs below the @deftypefun for 'crypt_r'.
14733 Move the 'getpass' section...
14734 * manual/terminal.texi: ...here.
14736 2018-06-29 Zack Weinberg <zackw@panix.com>
14737 Florian Weimer <fweimer@redhat.com>
14739 * posix/unistd.h: Do not declare encrypt.
14740 (_XOPEN_CRYPT): Remove macro definition.
14741 (crypt): Declare only for _USE_MISC.
14742 * stdlib/stdlib.h: Do not declare setkey.
14743 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
14744 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
14746 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
14747 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
14748 into compat symbols. Don't define initial_perm if it's not
14750 * crypt/cert.c: Link explicitly with the expected versions for
14751 setkey and encrypt. If they are not available at all, mark
14752 the test as unsupported.
14754 * sunrpc/des_crypt.c: Unconditionally block linkage with
14755 cbc_crypt and ecb_crypt for new binaries.
14756 * sunrpc/des_soft.c: Unconditionally block linkage with
14757 des_setparity for new binaries.
14759 * manual/crypt.texi: Remove the entire "DES Encryption"
14760 section. Also remove the paragraph talking about FIPS 140-2
14761 from the introduction.
14762 * manual/string.texi (strfry, memfrob): Revise. Recommend use
14763 of libgcrypt for "real" encryption, not DES.
14764 * manual/conf.texi (Constants for Sysconf): Mention that
14765 _XOPEN_CRYPT is no longer impelemented.
14767 * conform/data/unistd.h-data: Remove crypt function declaration.
14769 2018-06-29 Florian Weimer <fweimer@redhat.com>
14772 * malloc/hooks.c: Update comments on restoring of dumped heaps.
14773 (disallow_malloc_check): Remove variable.
14774 (__malloc_check_init): Adjust.
14775 (malloc_set_state): Update comment.
14776 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
14779 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
14782 * localedata/locales/ast_ES (mon): Rename to...
14784 (mon): Import from CLDR (genitive case).
14786 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
14787 Jakub Sitnicki <jkbs@redhat.com>
14790 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
14791 on NLM_F_DUMP_INTR.
14793 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
14795 * manual/llio.texi: Remove spurious space.
14797 2018-06-28 Florian Weimer <fweimer@redhat.com>
14800 * time/bits/types/struct_timespec.h: Change header inclusion guard to
14803 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14805 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
14806 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
14807 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
14808 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
14809 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
14810 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
14811 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
14813 2018-06-27 Maciej W. Rozycki <macro@mips.com>
14816 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
14817 Copy and null-terminate entries that are not terminated, in
14818 addition to empty ones.
14820 2018-06-27 Florian Weimer <fweimer@redhat.com>
14823 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
14824 (extend_alloca_account): Remove.
14825 * manual/stdio.texi (Variable Arguments Output): Update comment.
14827 2018-06-27 Joseph Myers <joseph@codesourcery.com>
14829 * nptl/sockperf.c: Remove file.
14831 2018-06-27 Florian Weimer <fweimer@redhat.com>
14834 * elf/dl-deps.c (_dl_map_object_deps): Use struct
14835 scratch_buffer instead of extend_alloca.
14837 2018-06-27 Florian Weimer <fweimer@redhat.com>
14840 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
14841 scratch_buffer instead of extend_alloca. Update comments.
14843 2018-06-27 Florian Weimer <fweimer@redhat.com>
14846 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
14847 instead of extend_alloca.
14849 2018-06-26 Joseph Myers <joseph@codesourcery.com>
14852 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
14853 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
14855 * scripts/test-installation.pl: Put temporary files in build
14856 directory, not /tmp.
14857 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
14858 (CFLAGS-bug4.c): Likewise.
14859 (CFLAGS-bug5.c): Likewise.
14860 (CFLAGS-test-fseek.c): Likewise.
14861 (CFLAGS-test-popen.c): Likewise.
14862 (CFLAGS-test_rdwr.c): Likewise.
14863 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
14865 * stdio-common/bug4.c (main): Likewise.
14866 * stdio-common/bug5.c (main): Likewise.
14867 * stdio-common/test-fseek.c (TESTFILE): Likewise.
14868 * stdio-common/test-popen.c (do_test): Likewise.
14869 * stdio-common/test_rdwr.c (main): Likewise.
14871 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
14873 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
14874 (sem_open): Set sem.newsem.pad to zero for valgrind.
14876 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14879 * NEWS: Mention fcntl64 addition.
14880 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
14881 * login/utmp_file.c: Likewise.
14882 * sysdeps/posix/fdopendir.c: Likewise.
14883 * sysdeps/posix/opendir.c: Likewise.
14884 * sysdeps/unix/pt-fcntl.c: Likewise.
14885 * include/fcntl.h (__libc_fcntl64, __fcntl64,
14886 __fcntl64_nocancel_adjusted): New prototype.
14887 (__fcntl_nocancel_adjusted): Remove prototype.
14888 * io/Makefile (routines): Add fcntl64.
14889 (CFLAGS-fcntl64.c): New rule.
14890 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
14891 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
14892 * io/fcntl.h (fcntl64): Add prototype and redirect if
14893 __USE_FILE_OFFSET64 is defined.
14894 * io/fcntl64.c: New file.
14895 * manual/llio.text: Add a note for which commands fcntl acts a
14896 cancellation point.
14897 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
14898 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
14899 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
14901 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
14902 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
14904 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
14905 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
14906 to __fcntl64_nocancel.
14907 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
14908 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
14909 to __fcntl64_nocancel.
14910 * sysdeps/generic/not-cancel.h: Likewise.
14911 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
14912 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
14913 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
14914 (fcntl64): New symbol.
14915 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14916 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14917 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14920 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14921 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14922 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14923 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14924 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14925 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
14926 fcntl64): Likewise.
14927 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14928 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
14929 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14930 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14931 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14932 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14933 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14934 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14935 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14940 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14941 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14942 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14944 2018-06-26 Florian Weimer <fweimer@redhat.com>
14946 Run thread shutdown functions in an explicit order.
14947 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
14949 (__libc_thread_freeres): Call thread shutdown functions
14951 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
14952 * include/string.h (__strerror_thread_freeres): Declare.
14953 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
14954 arena_thread_freeres. No longer static. Remove thread shutdown
14956 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
14958 * resolv/res-close.c (__res_thread_freeres): Renamed from
14959 res_thread_freeres. No longer static. Remove thread shutdown
14961 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
14962 * resolv/resolv_conf.c (freeres): Remove incorrect section
14963 attribute and use libc_freeres_fn.
14964 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
14965 strerror_thread_freeres. No longer static. Remove thread
14966 shutdown hook registration.
14967 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
14968 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
14969 shutdown hook registration.
14970 * Makerules (shlib.lds): Do not provide section boundary symbols
14971 for __libc_thread_subfreeres.
14972 * manual/memory.texi (Basic Allocation): Update comment.
14974 2018-06-26 Florian Weimer <fweimer@redhat.com>
14976 Remove always-defined _RPC_THREAD_SAFE_ macro.
14977 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
14978 Do not define _RPC_THREAD_SAFE_.
14979 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
14981 * sunrpc/clnt_perr.c: Likewise.
14982 * sunrpc/clnt_raw.c: Likewise.
14983 * sunrpc/clnt_simp.c: Likewise.
14984 * sunrpc/key_call.c: Likewise.
14985 * sunrpc/rpc_common.c: Likewise.
14986 * sunrpc/rpc_main.c: Likewise.
14987 * sunrpc/rpc_thread.c: Likewise.
14988 * sunrpc/svc.c: Likewise.
14989 * sunrpc/svc_raw.c: Likewise.
14990 * sunrpc/svc_simple.c: Likewise.
14991 * sumrpc/svcauth_des.c: Likewise.
14993 2018-06-26 Florian Weimer <fweimer@redhat.com>
14995 * libio/Makefile (tests-internal): Add tst-vtables,
14996 tst-vtables-interposed.
14997 * libio/tst-vtables.c: New file.
14998 * libio/tst-vtables-common.c: Likewise.
14999 * libio/tst-vtables-interposed.c: Likewise.
15001 2018-06-26 Florian Weimer <fweimer@redhat.com>
15003 * support/support_test_main.c (support_test_main): Only call
15004 setvbuf if not disables.
15005 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
15006 * support/test-driver.h (struct test_config): Add no_setvbuf member.
15008 2018-06-26 Florian Weimer <fweimer@redhat.com>
15011 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
15013 2018-06-25 Florian Weimer <fweimer@redhat.com>
15016 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15017 Use struct scratch_buffer instead of extend_alloca.
15019 2018-06-25 Florian Weimer <fweimer@redhat.com>
15022 * nss/getent.c (initgroups_keys): Use dynarray instead of
15025 2018-06-25 Florian Weimer <fweimer@redhat.com>
15028 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
15029 Use struct scratch_buffer instead of extend_alloca.
15031 2018-06-25 Florian Weimer <fweimer@redhat.com>
15034 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
15035 back to malloc directly, without stack allocations.
15037 2018-06-25 Florian Weimer <fweimer@redhat.com>
15040 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
15043 2018-06-25 Florian Weimer <fweimer@redhat.com>
15046 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
15048 * nscd/hstcache.c (addhstbyX): Likewise.
15049 * nscd/pwdcache.c (addpwbyX): Likewise.
15050 * nscd/servicescache.c (addservbyX): Likewise.
15052 2018-06-25 Florian Weimer <fweimer@redhat.com>
15055 * nscd/connections.c (read_cmdline): New function.
15056 (restart): Use it. Update comment.
15058 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
15061 * localedata/locales/csb_PL (mon): Rename to...
15063 (abmon): Rename to...
15064 (ab_alt_mon): This.
15065 (mon): Add with proper genitive forms, copy from Wikipedia.
15068 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
15071 * localedata/locales/csb_PL (mon): Fix typos:
15072 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
15073 (yesstr): Add, value is "jo".
15074 (nostr): Add, value is "nié".
15076 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15078 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
15079 all log1p and significand functions on m680x0.
15080 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
15081 of s_significand.c..
15082 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
15083 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
15084 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
15085 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
15086 s_log1p.c and include it..
15088 2018-06-21 Vincent Chen <vincentc@andestech.com>
15090 * elf/elf.h (R_NDS32_NONE): New define.
15091 (R_NDS32_32_RELA): Likewise.
15092 (R_NDS32_COPY): Likewise.
15093 (R_NDS32_GLOB_DAT): Likewise.
15094 (R_NDS32_JUMP_SLOT): Likewise.
15095 (R_NDS32_RELATIVE): Likewise.
15096 (R_NDS32_TLS_TPOFF): Likewise.
15097 (R_NDS32_TLS_DESC): Likewise.
15099 2018-06-21 Mark Wielaard <mark@klomp.org>
15101 * elf/elf.h (R_BPF_MAP_FD): Removed.
15102 (R_BPF_64_64, R_BPF_64_32): New.
15104 2018-06-21 Florian Weimer <fweimer@redhat.com>
15107 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
15108 Renamed from libc_feholdsetround_ctx.
15109 (default_libc_feresetround_ctx): Renamed from
15110 libc_feresetround_ctx.
15111 (default_libc_feholdsetround_noex_ctx): Renamed from
15112 libc_feholdsetround_noex_ctx.
15113 (default_libc_feresetround_noex_ctx): Renamed from
15114 libc_feresetround_noex_ctx.
15115 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
15116 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
15117 forwardning to the old implementations under the new names.
15118 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
15119 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
15120 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
15121 (libc_feresetround_ctx): Forward to default implements for i386
15122 and MATH_SET_BOTH_ROUNDING_MODES.
15123 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
15124 Add -DMATH_SET_BOTH_ROUNDING_MODES.
15126 2018-06-20 Joseph Myers <joseph@codesourcery.com>
15128 * string/tst-cmp.c: Include <libc-diag.h>.
15129 (strncmp_max): Disable -Wstringop-overflow= around call to
15131 (strncasecmp_max): Disable -Wstringop-overflow= around call to
15134 * string/bug-strpbrk1.c: Include <libc-diag.h>.
15135 (main): Disable -Wunused-value around call to strpbrk.
15136 * string/bug-strspn1.c: Include <libc-diag.h>.
15137 (main): Disable -Wunused-value around call to strspn.
15139 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15140 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15142 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
15143 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
15145 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15147 * math/Makefile (libm-calls): Move s_significandF to...
15148 (gen-libm-calls): ... here.
15149 * math/s_significand_template.c: New file.
15150 * math/s_significand.c: Removed.
15151 * math/s_significandf.c: Removed.
15152 * math/s_significandl.c: Removed.
15153 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
15154 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
15156 * math/e_exp2_template.c (declare_mgen_finite_alias,
15157 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
15158 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
15159 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
15161 2018-06-20 Florian Weimer <fweimer@redhat.com>
15163 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
15165 2018-06-19 Joseph Myers <joseph@codesourcery.com>
15168 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
15169 floating-point number to strtod functions rather than possibly
15170 negating result of those functions.
15171 * stdio-common/tst-scanf-round.c: New file.
15172 * stdio-common/Makefile (tests): Add tst-scanf-round.
15173 ($(objpfx)tst-scanf-round): Depend on $(libm).
15175 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15177 * sysdeps/mach/hurd/localplt.data: Move to...
15178 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
15179 R_386_GLOB_DAT like on Linux i386.
15181 2018-06-18 Joseph Myers <joseph@codesourcery.com>
15183 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
15184 (SHM_STAT_ANY): New macro.
15185 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
15186 (SHM_STAT_ANY): Likewise.
15187 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
15188 (SHM_STAT_ANY): Likewise.
15189 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
15190 (SHM_STAT_ANY): Likewise.
15191 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
15192 (SHM_STAT_ANY): Likewise.
15193 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
15194 (SHM_STAT_ANY): Likewise.
15195 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
15196 (SHM_STAT_ANY): Likewise.
15197 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
15198 (SHM_STAT_ANY): Likewise.
15199 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
15200 (SHM_STAT_ANY): Likewise.
15201 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
15202 (SHM_STAT_ANY): Likewise.
15203 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
15204 (SHM_STAT_ANY): Likewise.
15205 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
15206 (SHM_STAT_ANY): Likewise.
15208 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
15209 (SEM_STAT_ANY): New macro.
15210 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
15211 (SEM_STAT_ANY): Likewise.
15212 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
15213 (SEM_STAT_ANY): Likewise.
15214 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
15215 (SEM_STAT_ANY): Likewise.
15216 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
15217 (SEM_STAT_ANY): Likewise.
15218 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
15219 (SEM_STAT_ANY): Likewise.
15220 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
15221 (SEM_STAT_ANY): Likewise.
15222 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
15223 (SEM_STAT_ANY): Likewise.
15224 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
15225 (SEM_STAT_ANY): Likewise.
15226 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
15227 (SEM_STAT_ANY): Likewise.
15229 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
15230 (MSG_STAT_ANY): New macro.
15231 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
15232 (MSG_STAT_ANY): Likewise.
15233 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
15234 (MSG_STAT_ANY): Likewise.
15235 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
15236 (MSG_STAT_ANY): Likewise.
15237 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
15238 (MSG_STAT_ANY): Likewise.
15239 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
15240 (MSG_STAT_ANY): Likewise.
15241 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
15242 (MSG_STAT_ANY): Likewise.
15243 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
15244 (MSG_STAT_ANY): Likewise.
15245 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
15246 (MSG_STAT_ANY): Likewise.
15247 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
15248 (MSG_STAT_ANY): Likewise.
15250 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15251 (MAP_TYPE): Change value to 0x2b.
15253 2018-06-18 Florian Weimer <fweimer@redhat.com>
15256 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
15257 socket with SOCK_CLOEXEC.
15259 2018-06-18 Joseph Myers <joseph@codesourcery.com>
15262 * sysdeps/powerpc/powerpc64/le/Makefile
15263 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
15264 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
15265 (gnulib-tests): Also add $(f128-loader-link) for
15266 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
15268 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
15270 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
15271 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
15273 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
15274 (sendfile64): New strong alias.
15275 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
15276 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
15277 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
15278 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
15280 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
15281 ___pthread_get_cleanup_stack.
15282 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
15283 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
15284 * mach/shortcut.awk: Make syscall stubs include
15285 <mach-shortcuts-hidden.h> and add hidden definition.
15286 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
15287 (__mach_msg): Add hidden prototype.
15288 * mach/msg.c: Include <mach.h>.
15289 (__mach_msg): Add hidden definition.
15290 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
15291 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
15292 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
15293 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
15294 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
15295 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
15296 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
15297 prototype and definition.
15298 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
15299 hidden target for _hurd_self_sigstate.
15301 2018-06-15 Joseph Myers <joseph@codesourcery.com>
15304 * stdlib/tst-strtod-nan-sign-main.c: New file.
15305 * stdlib/tst-strtod-nan-sign.c: Likewise.
15306 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
15307 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
15308 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
15309 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
15310 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
15312 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
15315 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
15318 2018-06-14 Florian Weimer <fweimer@redhat.com>
15321 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
15322 that the result stays within the ISO-8859-1 range.
15323 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
15324 characters are defined in IBM273.
15326 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
15328 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
15329 __mach_task_self): Remove attribute_hidden.
15331 2018-06-14 Joseph Myers <joseph@codesourcery.com>
15333 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
15334 ignore -Wrestrict for one test.
15336 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
15337 Szabolcs Nagy <szabolcs.nagy@arm.com>
15339 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
15341 2018-06-14 Florian Weimer <fweimer@redhat.com>
15343 * scripts/update-abilist.sh: Accept empty list of files to patch.
15345 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
15347 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
15348 test-xfail-check-abi-libmachuser): Add.
15349 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
15350 __libc_read and __libc_write to __read and __write.
15351 * sysdeps/hurd/include/hurd/port.h: New file.
15352 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
15353 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
15354 __thread_switch, __evc_wait): Move declarations to...
15355 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
15357 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
15358 use PLT to call _hurd_self_sigstate.
15360 2018-06-13 Joseph Myers <joseph@codesourcery.com>
15363 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
15364 MAX_EXP as overflowing.
15365 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
15367 (round_str): Output also whether result overflows in each rounding
15369 * stdlib/tst-strtod-round-data: Add more tests.
15370 * stdlib/tst-strtod-round-data.h: Regenerated.
15371 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
15372 (TEST): Handle extra arguments for overflow flags.
15373 (struct test_overflow): New type.
15374 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
15375 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
15376 (test_in_one_mode): Take argument with overflow information.
15377 (do_test): Update calls to test_in_one_mode.
15379 2018-06-12 Carlos O'Donell <carlos@redhat.com>
15381 * elf/dl-load (_dl_dst_substitute): Correct comment.
15382 (_dl_dst_count): Likewise.
15384 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
15385 lll_futex_timed_wait.
15387 2018-06-12 Joseph Myers <joseph@codesourcery.com>
15390 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
15392 * math/test-nan-const.c: New file.
15393 * math/Makefile (tests): Add test-nan-const.
15394 (CFLAGS-test-nan-const.c): New variable.
15396 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
15398 * benchtests/scripts/compare_strings.py (process_results): Add
15399 funcs argument. Compare only functions which are selected.
15400 (main): Check if base function is among selected functions.
15401 Pass selected functions to process_results.
15402 (__main__): Add -f/--functions argument.
15404 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
15405 Hongbo Zhang <hongbo.zhang@linaro.org>
15407 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
15408 __memcpy_falkor for phecda core.
15409 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
15410 __memmove_falkor for phecda core.
15411 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
15412 __memset_falkor for phecda core.
15413 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
15415 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
15416 macro to identify phecda core.
15418 2018-06-12 Carlos O'Donell <carlos@redhat.com>
15419 Andreas Schwab <schwab@suse.de>
15420 Dmitry V. Levin <ldv@altlinux.org>
15421 Florian Weimer <fweimer@redhat.com>
15428 * elf/dl-dst.h: Remove DL_DST_COUNT.
15429 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
15430 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
15431 (is_dst): Comment. Support ELF gABI.
15432 (_dl_dst_count): Comment. Simplify and count DSTs.
15433 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
15434 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
15437 2018-06-12 Zack Weinberg <zackw@panix.com>
15439 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
15440 * sysdeps/unix/sysv/linux/dl-sysdep.c
15441 Include not-cancel.h. Use __close_nocancel instead of __close,
15442 __open64_nocancel instead of __open, __read_nocancel instead of
15443 __libc_read, and __write_nocancel instead of __libc_write.
15445 * csu/check_fds.c (check_one_fd)
15446 * sysdeps/posix/fdopendir.c (__fdopendir)
15447 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
15448 instead of __fcntl and/or __libc_fcntl.
15450 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
15451 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
15452 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
15453 Use __open64_nocancel instead of __open_nocancel.
15455 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
15456 hidden_proto declarations to the end and issue them if either
15457 IS_IN(libc) or IS_IN(rtld).
15458 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
15459 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
15460 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
15461 read_nocancel, waitpid_nocancel, write_nocancel.
15463 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
15464 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
15465 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
15467 * nptl/pt-fcntl.c: New file.
15468 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
15469 (libpthread-routines): Add pt-fcntl.
15470 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
15471 (__libc_fcntl): Remove attribute_hidden.
15472 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
15473 __fcntl_nocancel_adjusted, not fcntl_common.
15474 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
15475 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
15476 to fcntl_nocancel.c.
15477 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
15478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
15479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15480 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
15482 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
15483 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
15484 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
15485 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
15486 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
15487 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
15488 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
15489 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
15490 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
15491 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
15492 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
15493 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
15494 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
15495 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
15496 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
15497 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
15498 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
15499 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
15500 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
15501 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
15503 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
15504 libpthread-routines.
15505 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
15508 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
15509 __libc_read, and __write instead of __libc_write. Define
15510 __open64 in addition to __open.
15512 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
15516 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
15517 to _private_tm[3] and add __glibc_reserved2.
15518 Add _Static_assert of offset of __private_ss == 0x30.
15519 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
15520 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
15522 2018-06-12 Florian Weimer <fweimer@redhat.com>
15524 x86: Make strncmp usable from rtld.
15525 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
15526 __strncmp_ia32 if in libc (and not in rtld).
15527 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
15528 strncmp if not in libc (and not to __strncmp_sse2).
15530 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
15533 * localedata/locales/gd_GB (mon): Rename to...
15535 (mon): Import from CLDR (genitive case).
15536 * localedata/locales/hsb_DE (mon): Rename to...
15538 (mon): Import from CLDR (genitive case).
15539 * localedata/locales/wa_BE (mon): Rename to...
15541 (mon): Add, fill with the proper genitive forms, but CLDR data
15542 is incomplete; completed according to the comments in this file.
15543 (d_t_fmt): Do not use "di" before the month name, no longer needed.
15545 * localedata/locales/wa_BE (country_name): Reword
15546 "Beljike" -> "Beldjike".
15548 2018-06-11 Joseph Myers <joseph@codesourcery.com>
15551 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
15552 cases of non-finite arguments.
15553 * math/libm-test-fma.inc (fma_test_data): Add more tests.
15555 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
15558 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
15560 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15563 * include/unistd.h (__execvpex): New prototype.
15564 * posix/Makefile (tests): Add tst-spawn4.
15565 (tests-internal): Add tst-spawn4-compat.
15566 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
15567 * posix/tst-spawn4-compat.c: New file.
15568 * posix/tst-spawn4.c: Likewise.
15569 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
15570 binaries as shell scripts.
15571 * sysdeps/posix/spawni.c (__spawni): Likewise.
15573 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
15576 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
15577 ($(all-built-dso:=.dynsym): New target.
15578 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
15579 ($(objpfx)check-initfini.out): New target.
15580 (generated): Add check-initfini.out.
15581 * scripts/check-initfini.awk: New file.
15582 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
15584 * sysdeps/alpha/crti.S (_init): Mark as hidden.
15586 * sysdeps/arm/crti.S (_init): Mark as hidden.
15588 * sysdeps/hppa/crti.S (_init): Mark as hidden.
15590 * sysdeps/i386/crti.S (_init): Mark as hidden.
15592 * sysdeps/ia64/crti.S (_init): Mark as hidden.
15594 * sysdeps/m68k/crti.S (_init): Mark as hidden.
15596 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
15598 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
15600 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
15602 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
15604 * sysdeps/nios2/crti.S (_init): Mark as hidden.
15606 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
15608 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
15610 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
15612 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
15614 * sysdeps/sh/crti.S (_init): Mark as hidden.
15616 * sysdeps/sparc/crti.S (_init): Mark as hidden.
15618 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
15621 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15623 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
15624 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
15625 and TF redirection to KFtype and KF only when the default
15626 long double type is not the IEEE 128-bit floating point type.
15628 2018-06-05 Joseph Myers <joseph@codesourcery.com>
15630 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
15632 (HWCAP_USCAT): Likewise.
15633 (HWCAP_ILRCPC): Likewise.
15634 (HWCAP_FLAGM): Likewise.
15635 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
15637 (_dl_aarch64_cap_flags): Add new flag names.
15639 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
15640 (MAP_FIXED_NOREPLACE): New macro.
15641 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
15642 (MAP_FIXED_NOREPLACE): Likewise.
15643 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
15644 (MAP_FIXED_NOREPLACE): Likewise.
15645 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15646 (MAP_FIXED_NOREPLACE): Likewise.
15647 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
15648 (MAP_FIXED_NOREPLACE): Likewise.
15649 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
15650 (MAP_FIXED_NOREPLACE): Likewise.
15651 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
15652 (MAP_FIXED_NOREPLACE): Likewise.
15653 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
15654 (MAP_FIXED_NOREPLACE): Likewise.
15655 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
15656 (MAP_FIXED_NOREPLACE): Likewise.
15657 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
15658 (MAP_FIXED_NOREPLACE): Likewise.
15659 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
15660 (MAP_FIXED_NOREPLACE): Likewise.
15661 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
15662 (MAP_FIXED_NOREPLACE): Likewise.
15663 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
15664 (MAP_FIXED_NOREPLACE): Likewise.
15665 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
15666 (MAP_FIXED_NOREPLACE): Likewise.
15667 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
15668 (MAP_FIXED_NOREPLACE): Likewise.
15670 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15673 2018-06-04 Joseph Myers <joseph@codesourcery.com>
15675 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
15678 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15680 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
15682 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
15684 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15686 * benchtests/scripts/compare_string.py: (process_results) Catch
15687 exception in non-existent base_func and catch exception in
15688 non-existent attribute.
15689 (parse_file) Catch exception if input file does not exist.
15691 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15693 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
15694 options to avoid diff calculation and omit header, respectively.
15695 (main): process --no-diff and --no-header
15697 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15698 H.J. Lu <hongjiu.lu@intel.com>
15700 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15701 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
15703 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15704 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
15705 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
15706 and __wcsncmp_sse2.
15707 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
15708 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
15709 AVX unaligned load is fast and vzeroupper is preferred.
15710 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
15711 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
15712 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
15713 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
15714 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
15715 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
15716 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
15717 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
15718 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
15719 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
15722 2018-06-01 Florian Weimer <fweimer@redhat.com>
15724 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
15725 configuring with --disable-multi-arch, building with
15726 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
15729 2018-06-01 Florian Weimer <fweimer@redhat.com>
15731 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
15732 results from building with “-march=x86-64 -mtune=generic
15733 -mfpmath=sse” and running on a Haswell-era CPU.
15735 2018-06-01 Joseph Myers <joseph@codesourcery.com>
15738 * soft-fp/sqrttf2.c: Remove file.
15739 * soft-fp/sqrtdf2.c: Move to ....
15740 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
15742 (__sqrtdf2): Make conditional on
15743 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
15745 * soft-fp/sqrtsf2.c: Move to ....
15746 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
15748 (__sqrtsf2): Make conditional on
15749 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
15751 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
15752 (gcc-double-routines): Remove sqrtdf2.
15753 (gcc-quad-routines): Remove sqrttf2.
15754 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
15755 Do not filter out sqrtsf2 and sqrtdf2.
15756 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
15757 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
15759 2018-06-01 Florian Weimer <fweimer@redhat.com>
15761 * sysdeps/generic/libcidn.abilist: Remove file.
15763 2018-06-01 Florian Weimer <fweimer@redhat.com>
15766 * libio/strfile.h (struct _IO_str_fields): Rename members to
15767 discourage their use and add comment.
15768 (_IO_STR_DYNAMIC): Remove unused macro.
15769 * libio/strops.c (_IO_str_init_static_internal): Do not use
15770 callback pointers. Call malloc and free.
15771 (_IO_str_overflow): Do not use callback pointers. Call malloc
15773 (enlarge_userbuf): Likewise.
15774 (_IO_str_finish): Call free.
15775 * libio/wstrops.c (_IO_wstr_init_static): Initialize
15776 _allocate_buffer_unused.
15777 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
15779 (enlarge_userbuf): Likewise.
15780 (_IO_wstr_finish): Call free.
15781 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
15782 _allocate_buffer_unused, _free_buffer_unused.
15783 * libio/memstream.c (__open_memstream): Likewise.
15784 * libio/vasprintf.c (_IO_vasprintf): Likewise.
15785 * libio/wmemstream.c (open_wmemstream): Likewise.
15787 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
15789 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
15792 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15794 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
15795 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
15796 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
15798 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
15800 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
15802 2018-05-29 Florian Weimer <fweimer@redhat.com>
15804 * support/Makefile (libsupport-routines): Add
15805 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
15806 xpthread_barrierattr_setpshared.
15807 * support/xpthread_barrierattr_destroy.c: New file.
15808 * support/xpthread_barrierattr_init.c: Likewise.
15809 * support/xpthread_barrierattr_setpshared.c: Likewise.
15811 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
15814 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
15815 _r_debug and update DT_DEBUG for debugger.
15817 2018-05-29 Florian Weimer <fweimer@redhat.com>
15819 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
15820 (tst-strtod5i.out): Likewise.
15822 2018-05-25 Joseph Myers <joseph@codesourcery.com>
15824 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
15825 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
15826 (sparc64-quad-routines): New variable. Moved from ....
15827 [$(subdir) = soft-fp] (sysdep_routines): Add
15828 $(sparc64-quad-routines). Moved from ....
15829 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
15830 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
15831 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
15833 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
15834 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
15835 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
15836 * sysdeps/sparc/sparc64/qp_add.c: ... here.
15837 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
15838 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
15839 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
15840 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
15841 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
15842 * sysdeps/sparc/sparc64/qp_div.c: ... here.
15843 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
15844 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
15845 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
15846 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
15847 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
15848 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
15849 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
15850 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
15851 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
15852 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
15853 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
15854 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
15855 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
15856 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
15857 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
15858 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
15859 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
15860 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
15861 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
15862 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
15863 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
15864 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
15865 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
15866 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
15867 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
15868 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
15869 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
15870 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
15871 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
15872 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
15873 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
15874 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
15875 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
15876 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
15877 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
15878 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
15879 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
15880 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
15881 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
15882 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
15883 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
15884 * sysdeps/sparc/sparc64/qp_util.c: ... here.
15885 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
15886 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
15887 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
15888 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
15889 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
15890 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
15892 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
15893 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
15894 (sparc32-quad-routines): New variable. Moved from ....
15895 [$(subdir) = soft-fp] (sysdep_routines): Add
15896 $(sparc32-quad-routines). Moved from ....
15897 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
15898 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
15900 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
15901 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
15902 * sysdeps/sparc/sparc32/q_add.c: ... here.
15903 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
15904 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
15905 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
15906 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
15907 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
15908 * sysdeps/sparc/sparc32/q_div.c: ... here.
15909 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
15910 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
15911 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
15912 * sysdeps/sparc/sparc32/q_feq.c: ... here.
15913 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
15914 * sysdeps/sparc/sparc32/q_fge.c: ... here.
15915 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
15916 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
15917 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
15918 * sysdeps/sparc/sparc32/q_fle.c: ... here.
15919 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
15920 * sysdeps/sparc/sparc32/q_flt.c: ... here.
15921 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
15922 * sysdeps/sparc/sparc32/q_fne.c: ... here.
15923 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
15924 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
15925 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
15926 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
15927 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
15928 * sysdeps/sparc/sparc32/q_mul.c: ... here.
15929 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
15930 * sysdeps/sparc/sparc32/q_neg.c: ... here.
15931 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
15932 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
15933 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
15934 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
15935 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
15936 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
15937 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
15938 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
15939 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
15940 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
15941 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
15942 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
15943 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
15944 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
15945 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
15946 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
15947 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
15948 * sysdeps/sparc/sparc32/q_sub.c: ... here.
15949 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
15950 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
15951 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
15952 * sysdeps/sparc/sparc32/q_util.c: ... here.
15953 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
15954 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
15955 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
15956 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
15958 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15959 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15961 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
15962 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
15963 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
15964 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
15966 2018-05-24 Joseph Myers <joseph@codesourcery.com>
15968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
15970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15972 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
15973 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
15975 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15978 * math/math.h [C++] (iseqsig): Fix parameter type for the long
15981 2018-05-23 Joseph Myers <joseph@codesourcery.com>
15983 * sysdeps/sh/Implies: Remove sh/soft-fp.
15984 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
15985 * sysdeps/sh/sfp-machine.h: ... here.
15987 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
15989 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15990 (__mempcpy_erms): Skip zero length.
15991 (__memmove_erms): Likewise.
15992 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15993 (__memset_erms): Likewise.
15995 2018-05-23 Joseph Myers <joseph@codesourcery.com>
15997 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
15998 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
15999 Add functions moved from ....
16000 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
16001 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
16002 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
16004 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
16005 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
16006 * sysdeps/alpha/e_sqrtl.c: ... here.
16007 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
16008 * sysdeps/alpha/local-soft-fp.h: ... here.
16009 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
16010 * sysdeps/alpha/ots_add.c: ... here.
16011 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
16012 * sysdeps/alpha/ots_cmp.c: ... here.
16013 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
16014 * sysdeps/alpha/ots_cmpe.c: ... here.
16015 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
16016 * sysdeps/alpha/ots_cvtqux.c: ... here.
16017 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
16018 * sysdeps/alpha/ots_cvtqx.c: ... here.
16019 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
16020 * sysdeps/alpha/ots_cvttx.c: ... here.
16021 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
16022 * sysdeps/alpha/ots_cvtxq.c: ... here.
16023 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
16024 * sysdeps/alpha/ots_cvtxt.c: ... here.
16025 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
16026 * sysdeps/alpha/ots_div.c: ... here.
16027 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
16028 * sysdeps/alpha/ots_mul.c: ... here.
16029 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
16030 * sysdeps/alpha/ots_nintxq.c: ... here.
16031 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
16032 * sysdeps/alpha/ots_sub.c: ... here.
16033 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
16034 * sysdeps/alpha/sfp-machine.h: ... here.
16036 2018-05-23 Florian Weimer <fweimer@redhat.com>
16044 Switch to extern IDNA implementation (libidn2).
16045 * libidn: Remove subdirectory.
16046 * LICENSES: Do not mention licensing conditions for the removed
16048 * config.h.in (HAVE_LIBIDN): Remove.
16049 * include/dlfcn.h (__libc_dlopen): Update comment.
16050 * include/idna.h: Remove file.
16051 * inet/Makefile (routines): Add idna.
16052 (tests-static, tests-internal): Add tst-idna_name_classify.
16053 (LOCALES): Generate locales for tests.
16054 (tst-idna_name_classify.out): Depend on generated locales.
16055 * inet/idna_name_classify.c: New file.
16056 * inet/tst-idna_name_classify.c: Likewise.
16057 * inet/net-internal.h (__idna_to_dns_encoding)
16058 (__idna_from_dns_encoding): Declare.
16059 * inet/net-internal.h (enum idna_name_classification): Define.
16060 (__idna_name_classify): Declare.
16061 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
16062 __idna_from_dns_encoding.
16063 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
16064 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
16065 name as a fallback in case of encoding errors.
16066 (getnameinfo): Use DEPRECATED_NI_IDN.
16067 * inet/idna.c: New file.
16068 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
16069 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
16070 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
16071 (modules-names): Add tst-no-libidn2.
16072 (extra-test-objs): Add tst-no-libidn2.os.
16073 (LDFLAGS-tst-no-libidn2.so): Set soname.
16074 (LOCALES): Set, and generate locales.
16075 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
16076 (tst-resolv-ai_idn-latin1): Likewise.
16077 (tst-resolv-ai_idn-nolibidn2): Likewise.
16078 (tst-resolv-ai_idn.out): Depend on locales.
16079 (tst-resolv-ai_idn-latin1.out): Depend on locales.
16080 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
16082 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
16083 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
16084 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
16085 * resolv/tst-resolv-ai_idn.c: New file.
16086 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
16087 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
16088 * resolv/tst-no-libidn2.c: Likewise.
16089 * support/support_format_addrinfo.c (format_ai_flags): Do not
16090 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
16091 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
16092 (gaih_inet): Call __idna_to_dns_encoding and
16093 __idna_from_dns_encoding, and use the original (punycode) name if
16094 __idna_from_dns_encoding fails due to an encoding error.
16095 (getaddrinfo): Use DEPRECATED_AI_IDN.
16096 * sysdeps/unix/inet/Subdirs (libidn): Remove.
16097 * sysdeps/unix/inet/configure: Remove file.
16098 * sysdeps/unix/inet/configure.ac: Likewise.
16100 2018-05-23 Florian Weimer <fweimer@redhat.com>
16102 Implement allocate_once.
16103 * include/allocate_once.h: New file.
16104 * misc/allocate_once.c: Likewise.
16105 * misc/tst-allocate_once.c: Likewise.
16106 * misc/Makefile (routines): Add allocate_once.
16107 (tests-internal): Add tst-allocate_once.
16108 (generated): Add tst-allocate_once.mtrace,
16109 tst-allocate_once-mem.out.
16110 (tests-special): Add tst-allocate_once-mem.out.
16111 (tst-allocate_once-ENV): Set MALLOC_TRACE.
16112 (tst-allocate_once-mem.out): Call mtrace.
16113 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
16115 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
16118 * string/test-memcpy.c (do_test1): New function.
16119 (test_main): Call it.
16121 2018-05-23 Andreas Schwab <schwab@suse.de>
16125 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
16126 (L(preloop_large)): Save initial destination pointer in %r11 and
16127 use it instead of %rax after the loop.
16128 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
16130 2018-05-22 Joseph Myers <joseph@codesourcery.com>
16132 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
16133 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
16134 -I../soft-fp. Moved from ....
16135 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
16136 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
16137 * sysdeps/aarch64/e_sqrtl.c: ... here.
16138 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
16139 * sysdeps/aarch64/sfp-machine.h: ... here.
16141 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
16142 -Wmaybe-uninitialized around access to fq[0].
16143 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16147 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
16148 aliases for non-libc case of versioned symbols.
16149 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
16150 (llseek): Define as compat symbol if
16151 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
16153 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
16154 Make into a compat symbol, disabled for minimum symbol version
16155 GLIBC_2.28 and later.
16156 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
16158 2018-05-22 Florian Weimer <fweimer@redhat.com>
16160 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
16161 not add -mpreferred-stack-boundary=4.
16162 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
16163 (stack-align-test-flags): Likewise.
16164 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
16166 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
16167 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
16168 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
16169 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
16170 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
16171 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
16172 (CFLAGS-tst-align2.c): Likewise.
16174 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
16176 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
16177 (index_arch_Prefer_FSRM): Likewise.
16178 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
16179 Also check Prefer_FSRM.
16180 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
16181 Also return OPTIMIZE (erms) for Prefer_FSRM.
16183 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
16185 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
16186 (index_cpu_FSRM): Likewise.
16187 (reg_FSRM): Likewise.
16189 2018-05-18 Joseph Myers <joseph@codesourcery.com>
16191 * math/gen-tgmath-tests.py: Import sys.
16192 (Tests.__init__): Initialize macros_seen.
16193 (Tests.add_tests): Add macro to macros_seen. Only generate tests
16194 if requested to do so for this macro.
16195 (Tests.add_all_tests): Take argument for macro for which to
16197 (Tests.check_macro_list): New function.
16198 (main): Handle check-list argument and argument specifying macro
16199 for which to generate tests.
16200 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
16201 [PYTHON] (tgmath3-macro-tests): Likewise.
16202 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
16203 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
16204 not test-tgmath3.c.
16205 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
16206 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
16208 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
16209 [PYTHON] ($(foreach
16210 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
16212 [PYTHON] (tests-special): Add
16213 $(objpfx)test-tgmath3-macro-list.out.
16214 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
16216 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
16217 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
16221 * time/tzset.c (SECSPERDAY): Cast to time_t.
16222 * time/tst-y2039.c: New file.
16223 * time/Makefile (tests): Add tst-y2039.
16225 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16227 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16228 (PREFETCH_ONE_SET): Remove duplicate line.
16230 2018-05-17 Florian Weimer <fweimer@redhat.com>
16232 * sysdeps/generic/math-type-macros-double.h: Include
16233 <math-nan-payload-double.h> after <libm-alias-double.h>.
16234 * sysdeps/generic/math-type-macros-float.h: Include
16235 <math-nan-payload-float.h> after <libm-alias-float.h>.
16236 * sysdeps/generic/math-type-macros-float128.h: Include
16237 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
16238 * sysdeps/generic/math-type-macros-ldouble.h: Include
16239 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
16241 2018-05-17 Andreas Schwab <schwab@suse.de>
16243 * resolv/res_send.c (__res_context_send): Don't set errno when
16244 returing error after malloc failure.
16246 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
16248 * nptl/allocatestack.c (allocate_stack): Remove the
16249 !__ASSUME_PRIVATE_FUTEX paths.
16250 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
16251 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
16253 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
16254 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
16255 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
16256 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
16257 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
16258 !__ASSUME_PRIVATE_FUTEX path.
16259 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
16260 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
16261 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
16262 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
16263 !__ASSUME_PRIVATE_FUTEX macros.
16264 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
16265 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
16266 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
16267 * sysdeps/unix/sysv/linux/kernel-features.h
16268 (__ASSUME_PRIVATE_FUTEX): Removed.
16270 2018-05-17 Joseph Myers <joseph@codesourcery.com>
16272 * math/Makefile (libm-narrow-fns): Add div.
16273 (libm-test-funcs-narrow): Likewise.
16274 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
16275 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
16276 * math/gen-auto-libm-tests.c (test_functions): Add div.
16277 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
16278 (NARROW_DIV_ROUND_TO_ODD): Likewise.
16279 (NARROW_DIV_TRIVIAL): Likewise.
16280 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
16282 (__ddivl): Likewise.
16283 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
16285 (CFLAGS-nldbl-ddiv.c): New variable.
16286 (CFLAGS-nldbl-fdiv.c): Likewise.
16287 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16289 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
16291 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
16292 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
16293 * math/auto-libm-test-in: Add tests of div.
16294 * math/auto-libm-test-out-narrow-div: New generated file.
16295 * math/libm-test-narrow-div.inc: New file.
16296 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
16297 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
16298 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
16299 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
16300 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
16301 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
16302 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
16303 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
16304 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
16305 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
16306 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
16307 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
16308 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
16309 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
16310 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
16311 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
16312 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
16313 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
16314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16315 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16316 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16317 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16318 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16319 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16320 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16321 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16322 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16323 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16324 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16325 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16326 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16327 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16332 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16333 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16334 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16335 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16336 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16337 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16338 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16339 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16341 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16344 * nscd/nscd-client.h (sendfileall): Remove prototype.
16345 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
16346 (handle_request): Use writeall instead of sendfileall.
16347 * nscd/aicache.c (addhstaiX): Likewise.
16348 * nscd/grpcache.c (cache_addgr): Likewise.
16349 * nscd/hstcache.c (cache_addhst): Likewise.
16350 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16351 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
16352 * nscd/pwdcache.c (cache_addpw): Likewise.
16353 * nscd/servicescache.c (cache_addserv): Likewise.
16354 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
16355 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
16356 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
16359 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
16361 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
16362 Include <string/strncat.c>.
16363 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
16365 (__GI___strncat): New hidden alias.
16367 2018-05-16 Joseph Myers <joseph@codesourcery.com>
16369 * sysdeps/mips/mips32/libm-test-ulps: Update.
16370 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16372 2018-05-16 Florian Weimer <fweimer@redhat.com>
16374 * support/Makefile (libsupport-routines): Add support_quote_blob,
16375 support_test_compare_blob.
16376 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
16377 * support/check.h (TEST_COMPARE_BLOB): Define.
16378 (support_test_compare_blob): Declare.
16379 * support/support.h (support_quote_blob): Declare.
16380 * support/support_quote_blob.c: New file.
16381 * support/support_test_compare_blob.c: Likewise.
16382 * support/tst-support_quote_blob.c: Likewise.
16383 * support/tst-test_compare_blob.c: Likewise.
16385 2018-05-16 Florian Weimer <fweimer@redhat.com>
16387 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
16388 of <strtod_nan_double.h>.
16389 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
16390 instead of SET_MANTISSA.
16391 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
16392 of include <strtod_nan_float.h>.
16393 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
16394 instead of <strtod_nan_ldouble.h>.
16395 * stdlib/strtod_nan_double.h: Move to ...
16396 * sysdeps/generic/math-nan-payload-double.h: ... here.
16397 (FLOAT): Remove definition.
16398 (SET_MANTISSA): Rename to ...
16399 (SET_NAN_PAYLOAD): ... this.
16400 * stdlib/strtod_nan_float.h: Move to ...
16401 * sysdeps/generic/math-nan-payload-float.h: ... here.
16402 (FLOAT): Remove definition.
16403 (SET_MANTISSA): Rename to ...
16404 (SET_NAN_PAYLOAD): ... this.
16405 * sysdeps/generic/math-type-macros-double.h: Include
16406 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
16407 instead of <math-svid-compat.h>.
16408 * sysdeps/generic/math-type-macros-float.h: Include
16409 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
16410 instead of <math-svid-compat.h>.
16411 * sysdeps/generic/math-type-macros-float128.h: Include
16412 <math-nan-payload-float128.h>.
16413 * sysdeps/generic/math-type-macros-ldouble.h: Include
16414 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
16415 instead of <math-svid-compat.h>.
16416 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
16417 check for definition.
16418 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
16419 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
16420 Include <ieee754_float128.h>.
16421 (FLOAT): Remove definition.
16422 (SET_MANTISSA): Rename to ...
16423 (SET_NAN_PAYLOAD): ... this.
16424 * sysdeps/ieee754/float128/strtof128_nan.c: Include
16425 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
16426 Do not include <float128_private.h>.
16427 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
16428 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
16429 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
16430 (FLOAT): Remove definition.
16431 (SET_MANTISSA): Rename to ...
16432 (SET_NAN_PAYLOAD): ... this.
16433 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
16434 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
16435 (FLOAT): Remove definition.
16436 (SET_MANTISSA): Rename to ...
16437 (SET_NAN_PAYLOAD): ... this.
16438 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
16439 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
16440 (FLOAT): Remove definition.
16441 (SET_MANTISSA): Rename to ...
16442 (SET_NAN_PAYLOAD): ... this.
16443 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
16444 of "../stdlib/strtod_nan_double.h".
16445 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
16446 of "../stdlib/strtod_nan_float.h".
16447 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
16448 instead of "../stdlib/strtod_nan_ldouble.h".
16449 * manual/arith.texi (Parsing of Floats): Adjust comment.
16451 2018-05-16 Joseph Myers <joseph@codesourcery.com>
16453 * math/Makefile (libm-narrow-fns): Add mul.
16454 (libm-test-funcs-narrow): Likewise.
16455 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
16456 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
16457 * math/gen-auto-libm-tests.c (test_functions): Add mul.
16458 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
16459 (NARROW_MUL_ROUND_TO_ODD): Likewise.
16460 (NARROW_MUL_TRIVIAL): Likewise.
16461 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
16462 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
16464 (__dmull): Likewise.
16465 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
16467 (CFLAGS-nldbl-dmul.c): New variable.
16468 (CFLAGS-nldbl-fmul.c): Likewise.
16469 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16471 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
16473 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
16474 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
16475 * math/auto-libm-test-in: Add tests of mul.
16476 * math/auto-libm-test-out-narrow-mul: New generated file.
16477 * math/libm-test-narrow-mul.inc: New file.
16478 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
16479 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
16480 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
16481 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
16482 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
16483 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
16484 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
16485 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
16486 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
16487 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
16488 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
16489 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
16490 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
16491 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
16492 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
16493 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
16494 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
16495 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
16496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16497 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16498 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16499 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16500 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16501 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16502 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16503 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16504 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16505 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16506 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16507 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16508 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16509 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16514 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16515 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16516 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16517 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16518 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16519 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16520 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16521 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16523 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
16525 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
16526 with *%eax in call.
16528 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
16530 * sysdeps/i386/ldsodefs.h: Removed.
16531 * sysdeps/x86_64/ldsodefs.h: Moved to ...
16532 * sysdeps/x86/ldsodefs.h: This.
16533 (La_i86_regs): New.
16534 (La_i86_retval): Likewise.
16535 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
16536 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
16538 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
16540 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
16543 2018-05-13 Alan Modra <amodra@gmail.com>
16545 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
16546 R_PARISC_TLS_DTPOFF32 reloc addend.
16548 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16550 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
16551 * math/math.h: Restrict the prototype definition for the functions
16552 issignaling(_Float128) and iszero(_Float128); and template
16553 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
16554 __HAVE_FLOAT128_UNLIKE_LDBL.
16555 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
16556 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
16557 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
16558 __f128() constants; define the type _Float128 as long double;
16559 and reuse long double in __CFLOAT128.
16561 2018-05-11 Joseph Myers <joseph@codesourcery.com>
16563 * sysdeps/generic/math_private.h: Do not include
16565 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
16567 * math/fromfp.h: Include <math-barriers.h>.
16568 * math/math-narrow.h: Likewise.
16569 * math/s_nextafter.c: Likewise.
16570 * math/s_nexttowardf.c: Likewise.
16571 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
16572 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
16573 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
16574 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
16575 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16576 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16577 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16578 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16579 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16580 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16581 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16582 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16583 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16584 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16585 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
16586 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
16587 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16588 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16589 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16590 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16591 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16592 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16593 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16594 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16595 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16596 * sysdeps/ieee754/k_standardl.c: Likewise.
16597 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16598 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16599 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16600 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
16601 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16602 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16603 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16604 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16605 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16606 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
16607 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16608 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16609 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16610 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16611 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16612 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16613 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
16614 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
16615 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16616 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16617 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
16618 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
16620 2018-05-11 Florian Weimer <fweimer@redhat.com>
16622 Use 64-bit epoch values in the time zone file parser.
16623 * include/time.h (internal_time_t): Define.
16624 (__tzfile_compute): Use it.
16625 * time/tzfile.c (struct leap): Use internal_time_t for epoch
16627 (transitions): Switch to internal_time_t.
16628 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
16630 (__tzfile_compute): Use internal_time_t for timer argument. Check
16631 for truncation before calling __offtime.
16633 2018-05-11 Florian Weimer <fweimer@redhat.com>
16636 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
16637 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
16639 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
16640 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
16641 export without --enable-obsolete-rpc.
16642 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
16643 symbol. This should not have been exported, ever.
16645 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
16648 * localedata/locales/gd_GB (abmon): Fix typo in May:
16649 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
16651 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
16653 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
16654 Use multiple registers to copy data in loop tail.
16656 * sysdeps/aarch64/multiarch/memmove_falkor.S
16657 (__memmove_falkor): Use multiple registers to move data in
16660 2018-05-10 Joseph Myers <joseph@codesourcery.com>
16662 * math/math-underflow.h: New file.
16663 * sysdeps/generic/math_private.h: Do not include <float.h>.
16664 (fabs_tg): Remove macro. Moved to math-underflow.h.
16665 (min_of_type_f): Likewise.
16666 (min_of_type_): Likewise.
16667 (min_of_type_l): Likewise.
16668 (min_of_type_f128): Likewise.
16669 (min_of_type): Likewise.
16670 (math_check_force_underflow): Likewise.
16671 (math_check_force_underflow_nonneg): Likewise.
16672 (math_check_force_underflow_complex): Likewise.
16673 * math/e_exp2_template.c: Include <math-underflow.h>.
16674 * math/k_casinh_template.c: Likewise.
16675 * math/s_catan_template.c: Likewise.
16676 * math/s_catanh_template.c: Likewise.
16677 * math/s_ccosh_template.c: Likewise.
16678 * math/s_cexp_template.c: Likewise.
16679 * math/s_clog10_template.c: Likewise.
16680 * math/s_clog_template.c: Likewise.
16681 * math/s_csin_template.c: Likewise.
16682 * math/s_csinh_template.c: Likewise.
16683 * math/s_csqrt_template.c: Likewise.
16684 * math/s_ctan_template.c: Likewise.
16685 * math/s_ctanh_template.c: Likewise.
16686 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16687 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16688 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16689 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16690 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16691 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16692 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16693 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16694 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16695 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16696 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16697 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16698 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16699 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16700 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16701 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16702 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16703 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16704 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16705 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16706 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
16707 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16708 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16709 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16710 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16711 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16712 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16713 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16714 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16715 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16716 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16717 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16718 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16719 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16720 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16721 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16722 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16723 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16724 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16725 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16726 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16727 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16728 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16729 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16730 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16731 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16732 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16733 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16734 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16735 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16736 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16737 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
16738 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16739 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
16740 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16741 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16742 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16743 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16744 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16745 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16746 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16747 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16748 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16749 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
16750 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16751 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16752 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16753 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
16754 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16755 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16756 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16757 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16758 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16759 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
16760 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16761 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16762 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16763 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16764 * sysdeps/x86/fpu/powl_helper.c: Likewise.
16765 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
16766 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
16767 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
16768 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
16769 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
16771 2018-05-09 Joseph Myers <joseph@codesourcery.com>
16773 * sysdeps/generic/math-barriers.h: New file.
16774 * sysdeps/generic/math_private.h [!math_opt_barrier]
16775 (math_opt_barrier): Move to math-barriers.h.
16776 [!math_opt_barrier] (math_force_eval): Likewise.
16777 * sysdeps/aarch64/fpu/math-barriers.h: New file.
16778 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
16780 (math_force_eval): Likewise.
16781 * sysdeps/alpha/fpu/math-barriers.h: New file.
16782 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
16784 (math_force_eval): Likewise.
16785 * sysdeps/x86/fpu/math-barriers.h: New file.
16786 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
16788 (math_force_eval): Likewise.
16789 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
16790 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
16791 multiple-include guard for rename.
16792 * sysdeps/powerpc/fpu/math-barriers.h: New file.
16793 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
16795 (math_force_eval): Likewise.
16797 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
16801 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
16803 * stdlib/Makefile (test-bz22786): New test.
16804 * stdlib/test-bz22786.c: New test.
16806 2018-05-09 Joseph Myers <joseph@codesourcery.com>
16808 * include/math-narrow-eval.h: New file. Contents moved from ....
16809 * sysdeps/generic/math_private.h: ... here.
16810 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
16811 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
16812 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
16813 * stdlib/strtod_l.c: Likewise.
16814 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
16815 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
16816 * sysdeps/i386/fpu/s_fdim.c: Likewise.
16817 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16818 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16819 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16820 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16821 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16822 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16823 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16824 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16825 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
16826 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16827 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
16828 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16829 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16830 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16831 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16832 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
16833 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16834 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16835 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16836 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16837 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16838 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
16839 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16840 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16841 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16842 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16844 2018-05-08 Andreas Schwab <schwab@suse.de>
16846 * sysdeps/nptl/internaltypes.h: Fix comment.
16848 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
16850 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16851 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
16854 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
16856 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
16857 of I into loop header.
16858 * benchtests/bench-memmove-walk.c
16859 (test_main): Likewise.
16861 2018-05-07 Alexandre Oliva <oliva@gnu.org>
16864 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
16865 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
16867 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16870 * elf/dl-load.c (open_verify): Fix stack overflow.
16871 * elf/Makefile (tst-big-note): New test.
16872 * elf/tst-big-note-lib.S: New.
16873 * elf/tst-big-note.c: New.
16875 2018-05-04 Joseph Myers <joseph@codesourcery.com>
16877 * scripts/abilist.awk: Ignore absolute symbols.
16878 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
16879 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
16880 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
16881 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
16882 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
16883 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
16884 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16885 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
16886 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
16887 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
16888 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
16889 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
16890 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
16891 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
16892 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
16893 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
16894 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
16895 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
16896 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16897 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
16898 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
16899 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
16900 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
16901 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
16902 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
16903 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
16904 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
16905 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
16906 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16907 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
16908 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
16909 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16910 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
16911 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
16912 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
16913 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
16914 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
16915 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
16916 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
16917 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
16918 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
16919 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
16920 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
16921 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
16922 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16923 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
16924 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
16925 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
16926 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
16927 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
16928 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
16929 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
16930 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
16931 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
16932 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16933 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
16934 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
16935 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16936 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
16937 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
16938 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
16939 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
16940 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
16941 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
16942 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
16943 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
16944 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
16945 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
16946 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
16947 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
16948 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16949 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
16950 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
16951 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
16952 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
16953 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
16954 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
16955 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
16956 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
16957 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
16958 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16959 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
16960 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
16961 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16962 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
16963 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
16964 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
16965 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
16966 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
16967 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
16968 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
16969 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
16971 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
16972 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16973 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
16974 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
16975 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16976 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
16977 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
16978 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
16979 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
16980 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
16981 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
16982 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
16983 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
16985 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
16986 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16987 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
16988 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
16989 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16990 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
16991 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
16992 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
16993 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
16994 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
16995 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
16996 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
16997 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
16998 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
16999 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17000 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
17001 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
17002 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17003 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
17004 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
17005 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
17006 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
17007 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
17008 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
17009 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17010 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
17011 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
17013 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
17014 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
17015 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
17016 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
17017 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17018 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
17019 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
17020 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
17021 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
17022 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
17023 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
17024 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
17025 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
17026 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
17027 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
17028 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
17029 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
17030 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
17031 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
17032 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
17034 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
17035 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
17036 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
17037 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17038 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
17039 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
17040 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
17041 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
17042 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
17043 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
17044 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17045 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
17046 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
17047 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17048 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
17049 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
17050 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
17051 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
17052 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17053 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
17054 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
17055 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17056 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
17057 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
17058 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
17059 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
17060 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
17061 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
17062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
17063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
17065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
17067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
17068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
17069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
17070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
17071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
17073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
17075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
17076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
17078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
17079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
17084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
17085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
17087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
17089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
17091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
17092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
17093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
17096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
17097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
17098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
17099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
17103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
17104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
17106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
17108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
17110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
17112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
17113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
17114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
17116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
17118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
17120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
17121 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
17122 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
17124 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
17125 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
17126 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
17127 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
17128 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17129 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
17130 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
17131 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
17132 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
17133 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
17134 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
17135 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
17136 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
17137 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
17139 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17140 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
17141 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
17142 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17143 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
17144 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
17145 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
17146 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
17147 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
17148 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
17149 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
17150 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
17152 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17153 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
17154 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
17155 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17156 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
17157 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
17158 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
17159 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
17160 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
17161 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
17162 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
17163 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
17164 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
17165 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17166 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
17167 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
17168 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17169 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
17170 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
17171 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
17172 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
17173 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
17174 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
17175 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
17176 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
17178 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
17179 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17180 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
17181 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
17182 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17183 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
17184 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
17185 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
17186 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
17187 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
17188 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
17189 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
17190 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
17192 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
17193 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17194 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
17195 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
17196 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17197 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
17198 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
17199 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
17200 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
17201 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
17202 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
17203 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
17204 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
17205 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
17206 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17207 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
17208 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
17209 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17210 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
17211 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
17212 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
17213 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
17214 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
17215 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
17216 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
17217 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
17218 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
17219 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
17220 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17221 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
17222 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
17223 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17224 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
17225 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
17226 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
17227 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
17228 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
17229 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
17231 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
17234 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
17235 Use atomic_load_acquire to load __tid.
17237 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
17239 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
17240 Restore the pointer into %rdx, after syscall and use %rdx,
17241 instead of %rsi, to restore context.
17243 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
17245 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
17246 Pop the pointer into %rdx after syscall and use %rdx, instead
17247 of %rsi, to restore context.
17249 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
17251 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
17252 handlers after setjmp.
17253 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
17255 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
17256 <libc-pointer-arith.h>.
17257 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
17258 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
17259 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
17260 _JUMP_BUF_SIGSET_BITS_PER_WORD.
17261 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
17262 * sysdeps/x86/__longjmp_cancel.S: New file.
17263 * sysdeps/x86/longjmp.c: Likewise.
17264 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
17266 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17268 * NEWS: Add ustat.h deprecation entry.
17269 * bits/ustat.h: Remove file.
17270 * misc/sys/ustat.h: Likewise.
17271 * misc/ustat.h: Likewise.
17272 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
17273 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
17274 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
17275 compatibility mode.
17276 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
17277 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
17278 generic Linux implementation.
17280 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17282 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
17283 * math/w_expl_compat.c: Likewise.
17284 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
17286 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
17288 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
17290 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17292 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
17293 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
17294 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
17296 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
17297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17298 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17299 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
17300 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
17303 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17305 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
17307 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
17308 * math/w_asin_template.c: Likewise.
17309 * math/w_atanh_template.c: Likewise.
17311 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17313 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
17314 to powerpc/powerpc64/be for big-endian.
17315 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
17318 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
17319 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
17320 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
17321 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
17322 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17323 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
17324 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
17325 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
17326 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
17327 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
17328 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
17329 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
17330 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
17331 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
17332 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
17333 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
17334 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
17335 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
17336 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
17337 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
17338 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
17339 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
17340 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
17341 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
17342 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
17343 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
17344 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
17345 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
17346 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
17347 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
17348 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
17349 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
17351 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
17352 adjusted to imply powerpc64 and older processors on powerpc64/be.
17353 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
17354 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
17355 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
17356 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
17357 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
17358 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
17359 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
17360 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
17361 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
17362 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
17363 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
17364 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
17365 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
17366 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
17367 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
17368 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
17369 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
17370 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
17371 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
17372 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
17373 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
17374 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
17375 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
17376 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
17377 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
17378 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
17379 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
17380 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
17381 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
17382 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
17383 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
17385 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
17386 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
17387 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
17388 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
17390 * sysdeps/powerpc/powerpc64/be/Implies: New file.
17391 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
17392 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
17393 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
17395 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
17396 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
17397 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
17398 * sysdeps/powerpc/powerpc64le/configure: Likewise.
17399 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
17400 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
17401 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
17402 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
17403 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
17404 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
17405 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
17407 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
17408 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
17409 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
17410 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
17411 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
17412 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
17413 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
17414 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
17415 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
17416 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
17417 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
17419 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
17420 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
17421 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
17422 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
17423 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
17424 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
17425 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
17426 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
17427 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
17428 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
17429 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
17430 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
17432 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
17433 and adjusted to imply olders processors.
17434 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
17435 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
17436 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
17437 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
17438 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
17439 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
17440 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
17441 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
17442 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
17443 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
17444 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
17446 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
17448 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
17449 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
17451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
17453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
17454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
17456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
17458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
17460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
17462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
17463 powerpc64 and adjusted.
17464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
17465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
17466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
17469 2018-04-27 Joseph Myers <joseph@codesourcery.com>
17471 * sysdeps/tile: Remove.
17472 * sysdeps/unix/sysv/linux/tile: Likewise.
17473 * README (tilegx-*-linux-gnu): Remove from list of supported
17475 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
17476 contribution of support for generic Linux kernel syscall
17478 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
17479 tilegx configurations.
17480 (Config.install_linux_headers): Do not handle tile.
17481 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
17483 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
17484 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
17485 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
17486 conditional undefine and redefine.
17487 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
17489 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
17490 conditional undefine and redefine.
17492 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
17494 * signal/tst-sigaction.c: New file to test BZ #23069.
17495 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
17497 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17500 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
17501 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
17502 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
17503 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
17505 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17507 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
17508 _DIRENT_MATCHES_DIRENT64 is not defined.
17509 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
17510 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
17512 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
17513 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
17515 2018-04-25 Joseph Myers <joseph@codesourcery.com>
17517 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
17518 version to GCC 8 branch.
17520 2018-04-24 Joseph Myers <joseph@codesourcery.com>
17522 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
17523 (check_no_hidden): Use type of original function when declaring
17526 * sysdeps/unix/sysv/linux/sys/ptrace.h
17527 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
17528 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
17529 (struct __ptrace_seccomp_metadata): New type.
17530 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
17531 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17532 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
17533 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17534 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
17535 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17536 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
17537 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17538 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
17539 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17540 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
17541 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17542 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
17543 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17544 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
17545 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17547 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17549 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
17551 * dirent/versionsort.c (versionsort): Likewise.
17552 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
17553 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
17554 * dirent/versionsort64.c (versionsort64): Likewise.
17555 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
17556 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
17557 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
17558 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
17559 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
17560 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
17561 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
17562 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
17563 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
17564 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
17565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
17566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
17567 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
17568 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
17570 2018-04-23 Joseph Myers <joseph@codesourcery.com>
17572 * elf/elf.h (NT_PPC_PKEY): New macro.
17574 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
17577 * localedata/locales/hr_HR: fix thousands_sep and
17580 2018-04-20 Joseph Myers <joseph@codesourcery.com>
17582 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
17583 (XTABS): Define to TAB3.
17585 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17587 * sysdeps/hppa/fpu/libm-test-ulps: Update.
17589 * dirent/scandir-tail-common.c: New file.
17590 * dirent/scandir-tail.c: Use scandir-tail-common.c.
17591 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
17592 * dirent/scandir.c: Use scandir-tail-common.c.
17593 * dirent/scandirat.c: Likewise.
17594 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
17595 * dirent/scandir64.c (scandir64): Always build and alias to scandir
17596 if _DIRENT_MATCHES_DIRENT64 is defined.
17597 * dirent/scandirat64.c (scandirat64): Likewise.
17598 * include/dirent.h (__scandir_tail): Only define iff
17599 _DIRENT_MATCHES_DIRENT64 is not defined.
17600 (__scandir64_tail): Define regardless.
17601 (__scandirat, scandirat64): Remove libc_hidden_proto.
17602 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
17603 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
17604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
17605 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
17606 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
17607 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
17608 * sysdeps/unix/sysv/linux/scandir64.c: New file.
17610 2018-04-20 Joseph Myers <joseph@codesourcery.com>
17612 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
17614 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
17616 (_dl_aarch64_cap_flags): Add asimdfhm.
17618 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
17620 * sysdeps/nios2/libm-test-ulps: Update.
17622 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17624 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
17625 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
17627 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
17629 (_DIRENT_MATCHES_DIRENT64): Undef
17630 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
17631 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
17632 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
17633 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
17634 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
17635 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
17636 use getdents64 syscalls as base.
17637 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
17638 symbol if required.
17639 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
17640 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
17641 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
17642 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
17643 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
17644 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
17645 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
17646 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
17647 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17648 (__get_clockfreq_via_proc_openprom): Use __getdents64.
17649 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
17651 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
17653 * scripts/test_printers_common.py (init_test): Disable lock elision.
17655 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
17657 * math/test-tgmath.c (count_double, count_float,
17658 count_ldouble, count_cdouble, count_cfloat,
17659 count_cldouble): Use volatile int.
17661 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
17663 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
17664 (conformtest-xfail-conds): Add i386-gnu.
17665 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
17667 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
17668 ipc_perm.cuid, ipc_perm.cgid): Likewise.
17669 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
17670 msqid_ds.msg_lrpid): Likewise.
17671 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
17673 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
17674 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
17675 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
17676 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
17678 (struct statvfs64): Likewise.
17679 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
17681 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
17682 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
17683 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
17684 instead of wait_queue.
17685 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
17686 instead of vm_area_struct.
17687 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
17688 struct sched_param definition to it.
17689 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
17690 * bits/types/struct_sched_param.h: New file.
17691 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
17692 <bits/types/struct_sched_param.h> instead of <sched.h>.
17693 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
17694 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
17695 generic version but include <bits/pthreadtypes.h> to make struct
17696 sigevent's sigev_notify_attributes field a pthread_attr_t*.
17697 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
17699 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
17700 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
17701 [__USE_XOPEN] (OFDEL): New macro.
17702 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
17703 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
17704 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
17706 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
17707 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
17708 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
17710 * sysdeps/i386/sys/ucontext.h: Likewise.
17711 * sysdeps/m68k/sys/ucontext.h: Likewise.
17712 * sysdeps/mips/sys/ucontext.h: Likewise.
17713 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
17714 * sysdeps/mach/hurd/i386/Makefile
17715 (test-xfail-POSIX/fcntl.h/conform): Add.
17716 (test-xfail-POSIX/signal.h/conform): Add.
17717 (test-xfail-POSIX/semaphore.h/conform): Add.
17718 (test-xfail-POSIX/regex.h/conform): Add.
17719 (test-xfail-POSIX/aio.h/conform): Add.
17720 (test-xfail-POSIX/mqueue.h/conform): Add.
17721 (test-xfail-POSIX/sys/types.h/conform): Add.
17722 (test-xfail-UNIX98/fcntl.h/conform): Add.
17723 (test-xfail-UNIX98/netdb.h/conform): Add.
17724 (test-xfail-UNIX98/signal.h/conform): Add.
17725 (test-xfail-UNIX98/semaphore.h/conform): Add.
17726 (test-xfail-UNIX98/regex.h/conform): Add.
17727 (test-xfail-UNIX98/aio.h/conform): Add.
17728 (test-xfail-UNIX98/ftw.h/conform): Add.
17729 (test-xfail-UNIX98/mqueue.h/conform): Add.
17730 (test-xfail-UNIX98/netinet/in.h/conform): Add.
17731 (test-xfail-UNIX98/sys/wait.h/conform): Add.
17732 (test-xfail-UNIX98/sys/sem.h/conform): Add.
17733 (test-xfail-UNIX98/sys/uio.h/conform): Add.
17734 (test-xfail-UNIX98/sys/socket.h/conform): Add.
17735 (test-xfail-UNIX98/sys/types.h/conform): Add.
17736 (test-xfail-UNIX98/stdlib.h/conform): Add.
17737 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
17738 (test-xfail-POSIX2008/fcntl.h/conform): Add.
17739 (test-xfail-POSIX2008/netdb.h/conform): Add.
17740 (test-xfail-POSIX2008/signal.h/conform): Add.
17741 (test-xfail-POSIX2008/semaphore.h/conform): Add.
17742 (test-xfail-POSIX2008/regex.h/conform): Add.
17743 (test-xfail-POSIX2008/aio.h/conform): Add.
17744 (test-xfail-POSIX2008/mqueue.h/conform): Add.
17745 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
17746 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
17747 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
17748 (test-xfail-POSIX2008/sys/types.h/conform): Add.
17749 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
17750 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
17751 (test-xfail-XOPEN2K/netdb.h/conform): Add.
17752 (test-xfail-XOPEN2K/signal.h/conform): Add.
17753 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
17754 (test-xfail-XOPEN2K/regex.h/conform): Add.
17755 (test-xfail-XOPEN2K/aio.h/conform): Add.
17756 (test-xfail-XOPEN2K/ftw.h/conform): Add.
17757 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
17758 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
17759 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
17760 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
17761 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
17762 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
17763 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
17764 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
17765 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
17766 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
17767 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
17768 (test-xfail-XOPEN2K8/signal.h/conform): Add.
17769 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
17770 (test-xfail-XOPEN2K8/regex.h/conform): Add.
17771 (test-xfail-XOPEN2K8/aio.h/conform): Add.
17772 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
17773 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
17774 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
17775 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
17776 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
17777 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
17778 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
17779 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
17780 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
17781 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
17782 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
17784 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
17785 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
17787 2018-04-18 Joseph Myers <joseph@codesourcery.com>
17789 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
17790 --enable-obsolete for powerpc-linux-gnuspe.
17792 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
17794 * conform/data/sys/un.h-data: Allow sun_ prefix.
17795 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
17797 * sysdeps/mach/include/mach.h: Likewise.
17798 * sysdeps/mach/include/mach/mig_support.h: Likewise.
17799 * sysdeps/mach/include/mach_error.h: Likewise.
17801 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17803 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
17804 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
17805 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
17806 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
17808 2018-04-16 Andreas Schwab <schwab@suse.de>
17811 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
17813 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17815 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
17816 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
17818 2018-04-12 DJ Delorie <dj@redhat.com>
17820 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
17823 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
17825 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
17826 (struct kernel_sigaction): Use the same definition on 31bit as is used
17829 2018-04-09 Florian Weimer <fweimer@redhat.com>
17832 * resolv/res_send.c (send_dg): Use designated initializers instead
17833 of assignment to zero-initialize other fields of struct mmsghdr.
17835 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17837 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
17838 __READDIR_ALIAS): Undefine after usage.
17839 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
17840 __READDIR_R_ALIAS): Likewise.
17841 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
17842 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
17843 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
17844 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
17845 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
17846 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
17847 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17848 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17849 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
17850 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
17851 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
17852 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
17853 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17854 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
17855 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
17856 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
17857 * sysdeps/unix/sysv/linux/readdir.c: New file.
17858 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
17859 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
17860 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
17862 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
17864 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
17866 * manual/charset.texi (Converting a Character): Fix typo.
17868 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17872 * sysdeps/arm/libm-test-ulps: Update.
17874 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
17875 as base implementation.
17876 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
17877 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
17878 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17879 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17880 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
17881 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
17882 remove unrequired definitions and update comments.
17883 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
17884 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
17885 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
17886 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
17887 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
17888 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
17889 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
17890 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
17891 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
17892 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
17893 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
17894 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
17895 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
17896 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
17897 and RESET_SA_RESTORER hooks.
17899 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
17901 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17903 2018-04-05 Florian Weimer <fweimer@redhat.com>
17905 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
17906 integer overflow, memory leak on error, and indeterminate errno
17907 value. Add a null wide character to terminate the result string.
17908 * manual/charset.texi (Converting a Character): Mention embedded
17909 null bytes in the mbrtowc input string. Explain what happens in
17910 the -2 result case. Do not claim that mbrtowc is simple or
17911 obvious to use. Adjust the description of the code example. Use
17912 @code, not @var, for concrete variables.
17914 2018-04-05 Florian Weimer <fweimer@redhat.com>
17916 * manual/examples/mbstouwcs.c: New file.
17917 * manual/charset.texi (Converting a Character): Include it.
17919 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17921 * include/dirent.h (dirfd): Add hidden proto.
17922 * dirent/dirfd.c (dirfd): Add hidden def.
17923 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
17924 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
17926 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17928 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
17929 sin, cos and sincos to 1 ULP.
17931 2018-04-04 Maciej W. Rozycki <macro@mips.com>
17934 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
17936 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
17937 * elf/tst-absolute-sym.c: New file.
17938 * elf/tst-absolute-sym-lib.c: New file.
17939 * elf/tst-absolute-sym-lib.lds: New file.
17940 * elf/Makefile (tests): Add `tst-absolute-sym'.
17941 (modules-names): Add `tst-absolute-sym-lib'.
17942 (LDLIBS-tst-absolute-sym-lib.so): New variable.
17943 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
17944 ($(objpfx)tst-absolute-sym): New dependency.
17947 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
17949 (SYMBOL_ADDRESS): New macro.
17950 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
17951 SYMBOL_ADDRESS for symbol address calculation.
17952 * elf/dl-runtime.c (_dl_fixup): Likewise.
17953 (_dl_profile_fixup): Likewise.
17954 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
17955 * elf/rtld.c (dl_main): Likewise.
17956 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
17957 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
17958 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
17959 (elf_machine_rela): Likewise.
17960 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
17961 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
17962 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17963 (elf_machine_rela): Likewise.
17964 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
17965 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
17966 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
17967 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
17969 (elf_machine_reloc): Likewise.
17970 (elf_machine_got_rel): Likewise.
17971 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
17972 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
17973 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
17975 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17977 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
17978 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17980 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17982 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17983 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17985 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17987 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
17988 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17990 2018-04-04 Zack Weinberg <zackw@panix.com>
17992 * sysdeps/generic/internal-signals.h: Include signal.h,
17993 sigsetops.h, and stdbool.h.
17994 (__libc_signal_block_all): Actually block all signals.
17995 (__libc_signal_block_app): Likewise.
17996 (__libc_signal_restore_set): Actually restore the signal mask.
17998 2018-04-04 Florian Weimer <fweimer@redhat.com>
18000 inet: Actually build and run tst-deadline.
18001 * inet/Makefile (tests-internal): Add tst-deadline and do not
18002 overwrite the variable.
18003 (tests-static-internal): Remove variable.
18005 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
18008 * bits/uio-ext.h (RWF_APPEND): New.
18009 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
18010 * manual/llio.texi: Document RWF_APPEND.
18011 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
18012 (RWF_SUPPORTED): Add RWF_APPEND.
18014 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18017 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
18018 check for internal nptl signals.
18019 * nptl/sigaction.c (__sigaction): Likewise.
18020 * signal/sigaddset.c (sigaddset): Likewise.
18021 * signal/sigdelset.c (sigdelset): Likewise.
18022 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
18023 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
18025 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
18026 to filter out internal nptl signals.
18027 * signal/tst-sigset.c (do_test): Check ech signal indidually and
18028 also check realtime signals using standard macros.
18029 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
18030 __is_internal_signal, __libc_signal_block_all,
18031 __libc_signal_block_app, __libc_signal_restore_set): New functions.
18032 * sysdeps/nptl/sigfillset.c: Remove file.
18033 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
18034 Change return to bool.
18035 (__clear_internal_signals): Remove SIGTIMER clean since it is
18036 equal to SIGCANEL on Linux.
18037 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
18038 signal set was constructed using standard functions.
18040 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18042 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
18043 ifname is too long.
18044 * hurd/hurdsig.c (interrupted_reply_port_location): Use
18045 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
18046 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
18048 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
18049 * signal/sigaddset.c: Include <sigsetopts.h>.
18050 * signal/sigdelset.c: Likewise.
18052 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18054 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
18056 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
18057 logic as sin and cos.
18059 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18061 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
18062 inputs. Return correct sign.
18063 (do_sincos): Remove small input check before do_sin, let do_sin set
18068 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18070 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
18071 (do_cos_slow): Likewise.
18072 (do_sin_slow): Likewise.
18073 (reduce_and_compute): Likewise.
18078 (sloww1): Likewise.
18079 (sloww2): Likewise.
18081 (bslow1): Likewise.
18082 (bslow2): Likewise.
18083 (cslow2): Likewise.
18085 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18087 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
18088 (do_cos): Remove corp parameter and calculations.
18089 (do_sin): Likewise.
18090 (do_sincos): Remove cor variable.
18091 (__sin): Use do_sincos for huge inputs.
18093 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
18094 (reduce_and_compute_sincos): Remove unused function.
18096 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18098 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
18099 reduce_sincos, improve accuracy to 136 bits.
18100 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
18101 (__sin): Use improved reduction and simplified do_sincos calculation.
18103 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
18105 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18107 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
18108 (do_sincos_2): Likewise.
18109 (__sin): Remove middle range reduction case.
18111 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
18114 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18116 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
18117 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
18120 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
18122 2018-04-03 Joseph Myers <joseph@codesourcery.com>
18124 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
18127 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18129 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
18130 Remove definitions.
18131 (opendir_oflags): Use O_DIRECTORY regardless.
18132 (__opendir, __opendirat): Remove need_isdir_precheck usage.
18133 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
18135 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18137 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
18138 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
18140 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
18141 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
18142 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
18143 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
18144 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
18145 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
18147 * htl/Makefile: Bump licence to LGPL 2.1+.
18148 * htl/alloca_cutoff.c: Likewise.
18149 * htl/cthreads-compat.c: Likewise.
18150 * htl/lockfile.c: Likewise.
18151 * htl/pt-alloc.c: Likewise.
18152 * htl/pt-cancel.c: Likewise.
18153 * htl/pt-cleanup.c: Likewise.
18154 * htl/pt-create.c: Likewise.
18155 * htl/pt-dealloc.c: Likewise.
18156 * htl/pt-detach.c: Likewise.
18157 * htl/pt-exit.c: Likewise.
18158 * htl/pt-getattr.c: Likewise.
18159 * htl/pt-initialize.c: Likewise.
18160 * htl/pt-internal.h: Likewise.
18161 * htl/pt-join.c: Likewise.
18162 * htl/pt-self.c: Likewise.
18163 * htl/pt-setcancelstate.c: Likewise.
18164 * htl/pt-setcanceltype.c: Likewise.
18165 * htl/pt-sigmask.c: Likewise.
18166 * htl/pt-spin-inlines.c: Likewise.
18167 * htl/pt-testcancel.c: Likewise.
18168 * htl/pt-yield.c: Likewise.
18169 * htl/tests/test-1.c: Likewise.
18170 * htl/tests/test-10.c: Likewise.
18171 * htl/tests/test-11.c: Likewise.
18172 * htl/tests/test-12.c: Likewise.
18173 * htl/tests/test-13.c: Likewise.
18174 * htl/tests/test-14.c: Likewise.
18175 * htl/tests/test-15.c: Likewise.
18176 * htl/tests/test-16.c: Likewise.
18177 * htl/tests/test-17.c: Likewise.
18178 * htl/tests/test-2.c: Likewise.
18179 * htl/tests/test-3.c: Likewise.
18180 * htl/tests/test-4.c: Likewise.
18181 * htl/tests/test-5.c: Likewise.
18182 * htl/tests/test-6.c: Likewise.
18183 * htl/tests/test-7.c: Likewise.
18184 * htl/tests/test-8.c: Likewise.
18185 * htl/tests/test-9.c: Likewise.
18186 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
18187 * sysdeps/htl/bits/cancelation.h: Likewise.
18188 * sysdeps/htl/bits/pthread-np.h: Likewise.
18189 * sysdeps/htl/bits/pthread.h: Likewise.
18190 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
18191 * sysdeps/htl/bits/semaphore.h: Likewise.
18192 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
18193 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
18194 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
18195 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
18196 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
18197 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
18198 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
18199 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
18200 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
18201 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
18202 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
18203 * sysdeps/htl/old_pt-atfork.c: Likewise.
18204 * sysdeps/htl/pt-atfork.c: Likewise.
18205 * sysdeps/htl/pt-attr-destroy.c: Likewise.
18206 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
18207 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
18208 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
18209 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
18210 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
18211 * sysdeps/htl/pt-attr-getscope.c: Likewise.
18212 * sysdeps/htl/pt-attr-getstack.c: Likewise.
18213 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
18214 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
18215 * sysdeps/htl/pt-attr-init.c: Likewise.
18216 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
18217 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
18218 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
18219 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
18220 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
18221 * sysdeps/htl/pt-attr-setscope.c: Likewise.
18222 * sysdeps/htl/pt-attr-setstack.c: Likewise.
18223 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
18224 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
18225 * sysdeps/htl/pt-attr.c: Likewise.
18226 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
18227 * sysdeps/htl/pt-barrier-init.c: Likewise.
18228 * sysdeps/htl/pt-barrier-wait.c: Likewise.
18229 * sysdeps/htl/pt-barrier.c: Likewise.
18230 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
18231 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
18232 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
18233 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
18234 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
18235 * sysdeps/htl/pt-cond-destroy.c: Likewise.
18236 * sysdeps/htl/pt-cond-init.c: Likewise.
18237 * sysdeps/htl/pt-cond-signal.c: Likewise.
18238 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
18239 * sysdeps/htl/pt-cond-wait.c: Likewise.
18240 * sysdeps/htl/pt-cond.c: Likewise.
18241 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
18242 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
18243 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
18244 * sysdeps/htl/pt-condattr-init.c: Likewise.
18245 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
18246 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
18247 * sysdeps/htl/pt-destroy-specific.c: Likewise.
18248 * sysdeps/htl/pt-equal.c: Likewise.
18249 * sysdeps/htl/pt-getconcurrency.c: Likewise.
18250 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
18251 * sysdeps/htl/pt-getschedparam.c: Likewise.
18252 * sysdeps/htl/pt-getspecific.c: Likewise.
18253 * sysdeps/htl/pt-init-specific.c: Likewise.
18254 * sysdeps/htl/pt-key-create.c: Likewise.
18255 * sysdeps/htl/pt-key-delete.c: Likewise.
18256 * sysdeps/htl/pt-key.h: Likewise.
18257 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
18258 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
18259 * sysdeps/htl/pt-mutex-init.c: Likewise.
18260 * sysdeps/htl/pt-mutex-lock.c: Likewise.
18261 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
18262 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
18263 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
18264 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
18265 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
18266 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
18267 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
18268 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
18269 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
18270 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
18271 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
18272 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
18273 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
18274 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
18275 * sysdeps/htl/pt-mutexattr.c: Likewise.
18276 * sysdeps/htl/pt-once.c: Likewise.
18277 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
18278 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
18279 * sysdeps/htl/pt-rwlock-init.c: Likewise.
18280 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
18281 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
18282 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
18283 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
18284 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
18285 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
18286 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
18287 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
18288 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
18289 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
18290 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
18291 * sysdeps/htl/pt-setconcurrency.c: Likewise.
18292 * sysdeps/htl/pt-setschedparam.c: Likewise.
18293 * sysdeps/htl/pt-setschedprio.c: Likewise.
18294 * sysdeps/htl/pt-setspecific.c: Likewise.
18295 * sysdeps/htl/pt-spin.c: Likewise.
18296 * sysdeps/htl/pt-startup.c: Likewise.
18297 * sysdeps/htl/pthread.h: Likewise.
18298 * sysdeps/htl/sem-close.c: Likewise.
18299 * sysdeps/htl/sem-destroy.c: Likewise.
18300 * sysdeps/htl/sem-getvalue.c: Likewise.
18301 * sysdeps/htl/sem-init.c: Likewise.
18302 * sysdeps/htl/sem-open.c: Likewise.
18303 * sysdeps/htl/sem-post.c: Likewise.
18304 * sysdeps/htl/sem-timedwait.c: Likewise.
18305 * sysdeps/htl/sem-trywait.c: Likewise.
18306 * sysdeps/htl/sem-unlink.c: Likewise.
18307 * sysdeps/htl/sem-wait.c: Likewise.
18308 * sysdeps/hurd/htl/pt-kill.c: Likewise.
18309 * sysdeps/i386/htl/pt-machdep.h: Likewise.
18310 * sysdeps/mach/htl/pt-block.c: Likewise.
18311 * sysdeps/mach/htl/pt-spin.c: Likewise.
18312 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
18313 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
18314 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
18315 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
18316 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
18317 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
18318 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
18319 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
18320 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
18321 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
18322 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
18323 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
18324 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
18325 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
18326 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
18327 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
18328 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
18329 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
18330 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
18331 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
18332 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
18333 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
18334 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
18335 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
18336 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
18337 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
18338 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
18339 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
18340 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
18341 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
18342 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
18343 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
18344 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
18345 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
18346 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
18347 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
18348 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
18349 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
18350 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
18351 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
18352 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
18353 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
18354 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
18356 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
18357 * README: Remove the mention of out-of-tree patches needed for
18360 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
18361 (UTIME_NOW, UTIME_OMIT): Define macros.
18363 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
18364 instead of pthread_detach.
18365 (__cthread_fork): Call __pthread_create instead of pthread_create.
18366 (__cthread_keycreate): Call __pthread_key_create instead of
18367 pthread_key_create.
18368 (__cthread_getspecific): Call __pthread_getspecific instead of
18369 pthread_getspecific.
18370 (__cthread_setspecific): Call __pthread_setspecific instead of
18371 pthread_setspecific.
18372 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
18373 __pthread_mutex_unlock instead of pthread_mutex_lock and
18374 pthread_mutex_unlock.
18375 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
18376 ___pthread_get_cleanup_stack.
18377 (__pthread_get_cleanup_stack): New strong alias.
18378 * htl/pt-create.c: Include <pthreadP.h>.
18379 (entry_point): Call __pthread_exit instead of pthread_exit.
18380 (pthread_create): Rename to __pthread_create.
18381 (pthread_create): New strong alias.
18382 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
18383 (pthread_detach): New strong alias.
18384 (__pthread_detach): Call __pthread_cond_broadcast instead of
18385 pthread_cond_broadcast.
18386 * htl/pt-exit.c: Include <pthreadP.h>.
18387 (__pthread_exit): Call __pthread_setcancelstate and
18388 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
18389 __pthread_get_cleanup_stack.
18390 * htl/pt-testcancel.c: Include <pthreadP.h>.
18391 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
18392 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
18393 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
18394 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
18395 pthread_attr_getstacksize.
18396 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
18397 Rename to __pthread_attr_getstackaddr.
18398 (pthread_attr_getstackaddr): New strong alias.
18399 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
18400 Rename to __pthread_attr_getstacksize.
18401 (pthread_attr_getstacksize): New strong alias.
18402 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
18403 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
18404 (pthread_attr_setstack): New strong alias.
18405 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
18406 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
18407 pthread_attr_getstacksize, pthread_attr_setstacksize and
18408 pthread_attr_setstackaddr.
18409 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
18410 Rename to __pthread_attr_setstackaddr.
18411 (pthread_attr_setstackaddr): New strong alias.
18412 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
18413 Rename to __pthread_attr_setstacksize.
18414 (pthread_attr_setstacksize): New strong alias.
18415 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
18416 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
18418 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
18419 (__pthread_key_create): New hidden def.
18420 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
18421 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
18422 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
18423 __pthread_exit, __pthread_key_create, __pthread_getspecific,
18424 __pthread_setspecific, __pthread_setcancelstate,
18425 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
18426 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
18427 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
18429 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
18430 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
18431 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
18432 (pthread_attr_setstackaddr): New strong alias.
18433 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
18434 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
18435 (pthread_attr_setstacksize): New strong alias.
18436 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
18437 (call_exit): Call __pthread_exit instead of pthread_exit.
18438 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
18439 (_pthread_mutex_init): New hidden definition.
18440 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
18441 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
18442 instead of pthread_attr_init and pthread_attr_setstack.
18444 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
18445 __vm_deallocate instead of vm_allocate and vm_deallocate.
18446 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
18448 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
18450 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
18452 * hurd/siginfo.c: Include <libioP.h>.
18453 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
18454 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
18456 * mach/devstream.c: Include <libioP.h>.
18457 (dealloc_ref): Call __mach_port_deallocate instead of
18458 mach_port_deallocate.
18459 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
18460 Call __mach_port_deallocate instead of mach_port_deallocate.
18461 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
18463 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
18465 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
18466 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
18467 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
18469 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
18471 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
18472 instead of sysconf.
18473 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
18474 __clock_gettime instead of clock_gettime.
18475 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
18476 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
18477 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
18478 * sysdeps/unix/bsd/stty.c (stty): Likewise.
18479 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
18481 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
18482 __clock_gettime and __nanosleep instead of clock_gettime and
18484 * hurd/catch-signal.c (hurd_catch_signal): Rename to
18485 __hurd_catch_signal.
18486 (hurd_catch_signal): New strong alias.
18487 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
18488 __hurd_catch_signal instead of hurd_catch_signal.
18489 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
18490 * hurd/hurdexec.c (_hurd_init): Add hidden def.
18491 * hurd/hurdinit.c (_hurd_init): Add hidden def.
18492 * hurd/hurdsig.c: Include <mach/mig_support.h>.
18493 (_hurd_thread_sigstate): Add hidden def.
18494 (_hurd_internal_post_signal): Use __mutex_unlock instead of
18496 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
18497 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
18498 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
18499 __hurd_file_name_path_lookup.
18500 (hurd_file_name_path_lookup): New strong alias.
18501 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
18502 hurd_file_name_path_lookup.
18503 * mach/errstring.c (mach_error_type): Add hidden def.
18504 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
18505 * mach/mutex-init.c (__mutex_init): Add hidden def.
18506 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
18507 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
18508 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
18509 * sysdeps/mach/hurd/getcwd.c
18510 (_hurd_canonicalize_directory_name_internal): Rename to
18511 __hurd_canonicalize_directory_name_internal.
18512 (_hurd_canonicalize_directory_name_internal): New strong alias.
18513 (__canonicalize_directory_name_internal, __getcwd): Call
18514 __hurd_canonicalize_directory_name_internal instead of
18515 _hurd_canonicalize_directory_name_internal.
18516 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
18517 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
18519 * sysdeps/hurd/include/hurd.h: New file.
18520 * sysdeps/hurd/include/hurd/fd.h: New file.
18521 * sysdeps/hurd/include/hurd/signal.h: New file.
18522 * sysdeps/mach/include/lock-intern.h: New file.
18523 * sysdeps/mach/include/mach.h: New file.
18524 * sysdeps/mach/include/mach/mig_support.h: New file.
18525 * sysdeps/mach/include/mach_error.h: New file.
18526 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
18528 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
18529 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
18530 _HEADER_H_HIDDEN_DEF macro.
18531 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
18532 _hurd_fd_error_signal): Add hidden prototype.
18533 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
18535 * libio/iolibio.h (_IO_puts): New hidden prototype.
18536 * libio/ioputs.c (_IO_puts): New hidden def.
18537 * sysdeps/mach/hurd/localplt.data: New file.
18539 2018-04-02 Agustina Arzille <avarzille@riseup.net>
18540 Amos Jeffries <squid3@treenet.co.nz>
18541 David Michael <fedora.dm0@gmail.com>
18542 Marco Gerards <marco@gnu.org>
18543 Marcus Brinkmann <marcus@gnu.org>
18544 Neal H. Walfield <neal@gnu.org>
18545 Pino Toscano <toscano.pino@tiscali.it>
18546 Richard Braun <rbraun@sceen.net>
18547 Roland McGrath <roland@gnu.org>
18548 Samuel Thibault <samuel.thibault@ens-lyon.org>
18549 Thomas DiModica <ricinwich@yahoo.com>
18550 Thomas Schwinge <tschwinge@gnu.org>
18552 * htl: New directory.
18553 * sysdeps/htl: New directory.
18554 * sysdeps/hurd/htl: New directory.
18555 * sysdeps/i386/htl: New directory.
18556 * sysdeps/mach/htl: New directory.
18557 * sysdeps/mach/hurd/htl: New directory.
18558 * sysdeps/mach/hurd/i386/htl: New directory.
18559 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
18560 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
18561 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
18563 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18565 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
18566 signals in thread created for runing timers.
18568 2018-04-01 Florian Weimer <fweimer@redhat.com>
18570 * support/support_format_addrinfo.c (support_format_addrinfo):
18571 Include unknown error number in formatted result.
18573 2018-03-29 Florian Weimer <fweimer@redhat.com>
18575 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
18578 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18580 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
18581 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
18582 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
18583 (__ASSUME_CLONE_BACKWARDS): Define.
18585 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
18588 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
18589 early when linux sentinel value is set.
18591 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18593 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
18595 2018-03-27 Andreas Schwab <schwab@suse.de>
18598 * resolv/res_send.c (__res_context_send): Return ENOMEM if
18599 allocation of private copy of nsaddr_list fails.
18601 2018-03-26 Joseph Myers <joseph@codesourcery.com>
18604 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
18605 * sysdeps/unix/sysv/linux/umount.c: ... here.
18606 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
18607 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
18608 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
18609 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
18610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
18611 * sysdeps/unix/sysv/linux/umount.S: Likewise.
18612 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
18614 2018-03-26 Andreas Schwab <schwab@suse.de>
18616 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
18617 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
18618 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
18619 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
18620 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
18621 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
18622 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
18623 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
18624 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
18625 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
18626 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
18627 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
18628 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
18629 (R_RISCV_NUM): Define.
18631 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
18633 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
18634 TLS declaration of errno.
18635 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
18637 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
18638 (ARCH_SETUP_TLS): Likewise.
18639 * sysdeps/mach/hurd/libc-start.h: New file copied from
18640 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
18641 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
18642 instead of __libc_setup_tls.
18643 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
18644 __libc_setup_tls before initializing libpthread and running _hurd_init
18645 which starts the signal thread.
18646 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
18648 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18650 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
18653 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
18654 after it is defined.
18656 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
18657 Max Horn <max@quendi.de>
18661 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
18663 * string/test-memmove.c (do_test2): New testcase.
18665 2018-03-22 Joseph Myers <joseph@codesourcery.com>
18667 * sysdeps/generic/frame.h: Remove file.
18668 * sysdeps/arm/frame.h: Likewise.
18669 * sysdeps/hppa/frame.h: Likewise.
18670 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
18672 (GET_FRAME): Likewise.
18673 (GET_STACK): Likewise.
18674 (CALL_SIGHANDLER): Likewise.
18675 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
18677 (GET_FRAME): Likewise.
18678 (GET_STACK): Likewise.
18679 (CALL_SIGHANDLER): Likewise.
18680 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
18681 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18682 (GET_FRAME): Likewise.
18683 (GET_STACK): Likewise.
18684 (CALL_SIGHANDLER): Likewise.
18685 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
18686 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18687 (GET_FRAME): Likewise.
18688 (GET_STACK): Likewise.
18689 (ADVANCE_STACK_FRAME): Likewise.
18690 (CALL_SIGHANDLER): Likewise.
18691 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
18692 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18693 (GET_FRAME): Likewise.
18694 (GET_STACK): Likewise.
18695 (CALL_SIGHANDLER): Likewise.
18696 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
18697 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18698 (GET_FRAME): Likewise.
18699 (GET_STACK): Likewise.
18700 (CALL_SIGHANDLER): Likewise.
18701 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
18702 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18703 (GET_FRAME): Likewise.
18704 (GET_STACK): Likewise.
18705 (CALL_SIGHANDLER): Likewise.
18706 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
18707 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18708 (GET_FRAME): Likewise.
18709 (GET_STACK): Likewise.
18710 (CALL_SIGHANDLER): Likewise.
18711 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
18712 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18713 (GET_FRAME): Likewise.
18714 (GET_STACK): Likewise.
18715 (CALL_SIGHANDLER): Likewise.
18716 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
18717 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18718 (GET_FRAME): Likewise.
18719 (GET_STACK): Likewise.
18720 (CALL_SIGHANDLER): Likewise.
18721 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
18722 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18723 (GET_FRAME): Likewise.
18724 (GET_STACK): Likewise.
18725 (CALL_SIGHANDLER): Likewise.
18726 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
18727 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18728 (GET_FRAME): Likewise.
18729 (GET_STACK): Likewise.
18730 (CALL_SIGHANDLER): Likewise.
18731 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
18732 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18733 (GET_FRAME): Likewise.
18734 (GET_STACK): Likewise.
18735 (CALL_SIGHANDLER): Likewise.
18736 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
18737 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18738 (FIRST_FRAME_POINTER): Likewise.
18739 (ADVANCE_STACK_FRAME): Likewise.
18740 (GET_STACK): Likewise.
18741 (GET_FRAME): Likewise.
18742 (CALL_SIGHANDLER): Likewise.
18743 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
18744 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18745 (ADVANCE_STACK_FRAME): Likewise.
18746 (GET_STACK): Likewise.
18747 (GET_FRAME): Likewise.
18748 (CALL_SIGHANDLER): Likewise.
18749 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
18750 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18751 (GET_FRAME): Likewise.
18752 (GET_STACK): Likewise.
18753 (CALL_SIGHANDLER): Likewise.
18754 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
18755 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18756 (GET_FRAME): Likewise.
18757 (GET_STACK): Likewise.
18758 (CALL_SIGHANDLER): Likewise.
18760 2018-03-21 Joseph Myers <joseph@codesourcery.com>
18762 * sysdeps/x86_64/backtrace.c: Move to ....
18763 * debug/backtrace.c: ... here.
18764 * sysdeps/aarch64/backtrace.c: Remove file.
18765 * sysdeps/alpha/backtrace.c: Likewise.
18766 * sysdeps/hppa/backtrace.c: Likewise.
18767 * sysdeps/ia64/backtrace.c: Likewise.
18768 * sysdeps/mips/backtrace.c: Likewise.
18769 * sysdeps/nios2/backtrace.c: Likewise.
18770 * sysdeps/riscv/backtrace.c: Likewise.
18771 * sysdeps/sh/backtrace.c: Likewise.
18772 * sysdeps/tile/backtrace.c: Likewise.
18774 2018-03-20 Joseph Myers <joseph@codesourcery.com>
18777 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
18780 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
18783 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
18784 possibly overflowing computations.
18786 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
18788 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
18789 values from Linux-specific section now that it is in the GNU section.
18790 * sysdeps/gnu/errlist.c: Regenerate.
18792 2018-03-20 Joseph Myers <joseph@codesourcery.com>
18794 * math/Makefile (libm-narrow-fns): Add sub.
18795 (libm-test-funcs-narrow): Likewise.
18796 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
18797 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
18798 * math/gen-auto-libm-tests.c (test_functions): Add sub.
18799 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
18800 (NARROW_SUB_ROUND_TO_ODD): Likewise.
18801 (NARROW_SUB_TRIVIAL): Likewise.
18802 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
18804 (__dsubl): Likewise.
18805 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
18807 (CFLAGS-nldbl-dsub.c): New variable.
18808 (CFLAGS-nldbl-fsub.c): Likewise.
18809 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
18811 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
18813 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
18814 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
18815 * math/auto-libm-test-in: Add tests of sub.
18816 * math/auto-libm-test-out-narrow-sub: New generated file.
18817 * math/libm-test-narrow-sub.inc: New file.
18818 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
18819 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
18820 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
18821 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
18822 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
18823 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
18824 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
18825 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
18826 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
18827 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
18828 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
18829 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
18830 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
18831 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
18832 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
18833 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
18834 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
18835 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
18836 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18837 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
18838 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18839 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18840 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18841 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18842 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18843 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18844 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18845 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18846 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18847 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18848 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18849 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
18852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18854 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18855 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18856 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18857 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18858 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18859 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18860 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
18861 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
18862 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18863 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18865 2018-03-19 Joseph Myers <joseph@codesourcery.com>
18868 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
18870 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
18872 * benchtests/bench-timing.h (attribute_hidden): Undefine.
18874 2018-03-18 Richard Braun <rbraun@sceen.net>
18876 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
18879 2018-03-18 Agustina Arzille <avarzille@riseup.net>
18881 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
18882 (__libc_cleanup_fct): Define function.
18883 (__libc_cleanup_region_start, __libc_cleanup_region_end,
18884 __libc_cleanup_end): Rewrite implementation using
18885 __attribute__ ((__cleanup__)).
18886 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
18887 * hurd/Makefile (routines): Add hurdlock.
18888 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
18890 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
18891 * hurd/hurdpid.c: Include <lowlevellock.h>
18892 (_S_msg_proc_newids): Use lll_wait to synchronize.
18893 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
18894 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
18895 * mach/Makefile (lock-headers): Remove machine-lock.h.
18896 * mach/lock-intern.h: Include <lowlevellock.h> instead of
18898 (__spin_lock_t): New type.
18899 (__SPIN_LOCK_INITIALIZER): New macro.
18900 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
18901 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
18902 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
18903 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
18904 (__mutex_init): Initialize with lll.
18905 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
18906 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
18908 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18909 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
18910 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
18911 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
18912 (__setpgid): Use lll for synchronization.
18913 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
18914 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
18915 instead of <cthreads.h>.
18916 (_IO_lock_inexpensive): New macro
18917 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
18918 (__libc_lock_self0): New declaration.
18919 (__libc_lock_owner_self): New macro.
18920 (__libc_key_t): Remove type.
18921 (_LIBC_LOCK_INITIALIZER): New macro.
18922 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
18923 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
18924 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
18925 __libc_lock_define_initialized_recursive,
18926 __rtld_lock_define_initialized_recursive,
18927 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
18928 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
18929 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
18930 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
18931 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
18932 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
18933 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
18935 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
18936 * hurd/hurdlock.c: New file.
18937 * hurd/hurdlock.h: New file.
18938 * mach/lowlevellock.h: New file
18940 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
18942 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
18943 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
18944 when opening a symlink with O_NOFOLLOW.
18945 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
18946 path when flags contains O_NOFOLLOW.
18947 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
18948 if flags contains O_DIRECTORY and the result is a directory.
18949 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
18950 oneself when the pointer given in D is nul (as set by ext2fs).
18951 * sysdeps/mach/hurd/mlockall.c: New file.
18952 * sysdeps/mach/hurd/munlockall.c: New file.
18954 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
18956 * hurd/hurdsig.c: Include <pthread.h>.
18957 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
18958 get the signal thread stack layout.
18959 * hurd/Makefile (headers): Remove threadvar.h.
18960 (inline-headers): Remove threadvar.h.
18961 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
18962 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
18963 __hurd_threadvar_max, __hurd_errno_location.
18964 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
18965 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
18966 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
18967 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
18968 unless TLS is not initialized yet, in which case we do not need a
18969 critical section yet anyway.
18970 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
18972 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
18974 (__hurd_threadvar_index): Remove enum.
18975 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
18976 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
18978 (__hurd_reply_port0): New variable declaration.
18979 (__hurd_local_reply_port): New macro.
18980 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
18981 (interrupted_reply_port_location): Add thread_t parameter. Use it
18982 with THREAD_TCB to access thread-local variables.
18983 (_hurdsig_abort_rpcs): Pass ss->thread to
18984 interrupted_reply_port_location.
18985 (_hurd_internal_post_signal): Likewise.
18986 (_hurdsig_init): Use presence of cthread_fork instead of
18987 __hurd_threadvar_stack_mask to start signal thread by hand.
18988 Remove signal thread threadvar initialization.
18989 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
18990 * hurd/sigunwind.c: Include <hurd/threadvar.h>
18991 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
18993 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
18995 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
18996 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
18997 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
18998 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
18999 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
19000 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
19001 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
19003 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
19004 <hurd/threadvar.h>.
19005 [IS_IN(rtld)] (rtld_errno): New variable.
19006 [IS_IN(rtld)] (__errno_location): New weak function.
19007 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
19008 * sysdeps/mach/hurd/errno.c: Remove file.
19009 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
19010 (__fork): Remove THREADVAR_SPACE macro and its use.
19011 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
19013 (init): Do not initialize threadvar.
19014 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
19016 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
19017 __hurd_local_reply_port instead of threadvar.
19018 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
19019 _hurd_sigstate fields.
19020 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
19021 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
19022 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
19023 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
19024 instead of threadvar.
19025 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
19026 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
19027 (use_threadvar, global_reply_port): Remove variables.
19028 (__hurd_reply_port0): New variable.
19029 (__mig_get_reply_port): Use __hurd_local_reply_port and
19030 __hurd_reply_port0 instead of threadvar.
19031 (__mig_dealloc_reply_port): Likewise.
19032 (__mig_init): Do not initialize threadvar.
19033 * sysdeps/mach/hurd/profil.c: Fix comment.
19034 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
19035 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
19036 cthread_keycreate, cthread_getspecific, cthread_setspecific to
19037 __cthread_fork, __cthread_detach, __pthread_getattr_np,
19038 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
19039 __cthread_setspecific.
19040 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
19041 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
19042 __cthread_t instead of cthread_fork, cthread_detach,
19043 pthread_getattr_np, pthread_attr_getstack.
19044 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
19045 __cthread_keycreate.
19046 (cthread_getspecific): Rename to __cthread_getspecific.
19047 (cthread_setspecific): Rename to __cthread_setspecific.
19048 (__libc_getspecific): Use __cthread_getspecific instead of
19049 cthread_getspecific.
19050 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
19051 __cthread_keycreate instead of cthread_keycreate.
19052 (__libc_setspecific): Use __cthread_setspecific instead of
19053 cthread_setspecific.
19054 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
19056 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
19057 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
19058 testing whether it is defined.
19060 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19062 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
19064 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
19065 * sysdeps/mach/i386/thread_state.h
19066 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
19068 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
19070 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
19072 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
19073 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
19075 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
19077 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
19078 descriptor instead of creating a new one.
19079 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
19081 * mach/setup-thread.c: Include <ldsodefs.h>.
19082 (__mach_setup_thread): Call _dl_allocate_tls, pass
19083 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
19084 MACHINE_THREAD_STATE_FLAVOR, before getting
19085 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
19086 MACHINE_THREAD_STATE_FLAVOR with the result.
19087 * hurd/hurdfault.c (_hurdsig_fault_init): Call
19088 MACHINE_THREAD_STATE_FIX_NEW.
19089 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
19090 too. Add original thread parameter.
19092 2018-03-16 Joseph Myers <joseph@codesourcery.com>
19094 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
19095 Remove inline function.
19097 * sysdeps/i386/fpu/libm-test-ulps: Update.
19098 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19100 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
19102 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
19105 2018-03-15 Joseph Myers <joseph@codesourcery.com>
19107 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
19108 (__sincos_code): Remove define and undefine.
19109 [__FAST_MATH__] (__sincos): Remove inline function.
19110 [__FAST_MATH__] (__sincosf): Remove inline function.
19111 [__FAST_MATH__] (__sincosl): Remove inline function.
19112 (__atan2l): Remove inline functions.
19113 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
19114 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
19116 (floor): Remove inline function.
19118 [__FAST_MATH__] (__ldexp_code): Remove macro.
19119 [__FAST_MATH__] (ldexp): Remove inline function.
19120 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
19121 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
19122 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
19123 [__USE_ISOC99] (__lrint_code): Remove macro.
19124 [__USE_ISOC99] (__llrint_code): Likewise.
19125 [__USE_ISOC99] (lrintf): Remove inline function.
19126 [__USE_ISOC99] (lrint): Likewise.
19127 [__USE_ISOC99] (lrintl): Likewise.
19128 [__USE_ISOC99] (llrint): Likewise.
19129 [__USE_ISOC99] (llrintf): Likewise.
19130 [__USE_ISOC99] (llrintl): Likewise.
19132 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19134 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
19135 (__ieee754_sqrtf): Remove.
19136 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
19137 (__ieee754_sqrtf): Remove.
19138 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
19139 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
19140 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
19141 (__ieee754_sqrtf): Remove.
19142 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
19143 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
19146 (__ieee754_sqrt): Remove.
19147 (__ieee754_sqrtf): Remove.
19148 (__ieee754_sqrtl): Remove.
19149 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
19150 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
19151 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
19152 (__ieee754_sqrtf): Remove.
19153 (__ieee754_sqrtl): Remove.
19155 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19157 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
19158 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
19159 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
19160 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
19161 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
19162 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19163 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19164 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19166 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
19167 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
19168 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
19169 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
19170 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
19171 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
19172 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
19173 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
19174 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
19175 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
19176 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
19177 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
19178 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
19179 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
19180 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
19181 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19182 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19183 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
19184 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
19185 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
19186 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19187 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19188 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
19189 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
19190 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
19191 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
19192 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19193 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19194 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
19195 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
19196 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
19197 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
19198 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
19199 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
19200 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19201 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19202 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
19203 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
19204 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
19205 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
19207 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19209 * include/math.h (sqrt): Declare with asm redirect.
19212 (sqrtf128): Likewise.
19213 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
19214 nonlib and libnldbl with -fmath-errno.
19215 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
19216 * math/w_sqrt_template.c: Likewise.
19217 * math/w_sqrtf_compat.c: Likewise.
19218 * math/w_sqrtl_compat.c: Likewise.
19219 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
19220 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
19221 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
19224 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19226 * benchtests/Makefile: Define _ISOMAC.
19227 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
19228 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
19229 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
19230 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
19231 * benchtests/bench-timing.h: Define attribute_hidden.
19233 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
19235 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
19238 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
19241 * localedata/locales/cs_CZ (mon): Rename to...
19243 (mon): Import from CLDR (genitive case).
19245 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
19248 * localedata/locales/el_CY (abmon): Rename to...
19249 (ab_alt_mon): This.
19250 (abmon): Import from CLDR (abbreviated genitive case).
19251 * localedata/locales/el_GR (abmon): Rename to...
19252 (ab_alt_mon): This.
19253 (abmon): Import from CLDR (abbreviated genitive case).
19255 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
19258 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
19260 2018-03-15 Robert Buj <robert.buj@gmail.com>
19263 * localedata/locales/ca_ES (abmon): Rename to...
19264 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
19265 (mon): Rename to...
19267 (abmon): Import from CLDR (genitive case, month names preceded by
19270 (abday): Synchronize with CLDR.
19271 (d_t_fmt): Likewise.
19275 (LC_TIME): Improve indentation.
19276 (LC_TELEPHONE): Likewise.
19277 (LC_NAME): Likewise.
19278 (LC_ADDRESS): Likewise.
19280 2018-03-14 Joseph Myers <joseph@codesourcery.com>
19282 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
19283 (lrintf): Remove definitions used only with old GCC.
19284 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
19285 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
19286 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
19287 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
19288 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
19289 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
19290 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
19291 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
19292 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
19293 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
19294 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
19295 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
19296 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
19297 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
19298 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
19299 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
19300 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
19301 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
19302 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
19303 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
19304 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
19305 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
19306 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
19307 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
19308 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
19309 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
19310 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
19311 [__FAST_MATH__] (__M_SQRT2): Remove macro.
19313 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
19315 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
19316 instruction to unbreak builds with binutils 2.26 and older.
19318 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
19320 * sysdeps/aarch64/strncmp.S (count): New macro.
19321 (strncmp): Store misaligned length in SRC1 in COUNT.
19322 (mutual_align): Adjust.
19323 (misaligned8): Load dword at a time when it is safe.
19325 2018-03-12 Zack Weinberg <zackw@panix.com>
19329 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
19330 if the _IO_EOF_SEEN bit is already set; update commentary.
19331 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
19332 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
19334 * support/support_openpty.c, support/tty.h: New files.
19335 * support/Makefile (libsupport-routines): Add support_openpty.
19337 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
19339 * libio/Makefile (tests): Add tst-fgetc-after-eof.
19340 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
19342 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
19344 * po/pt_BR.po: Update translations.
19346 2018-03-12 David Michael <fedora.dm0@gmail.com>
19348 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
19349 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
19350 get a port to the startup server.
19352 2018-03-11 Zack Weinberg <zackw@panix.com>
19354 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
19355 before nldbl-compat.h.
19357 2018-03-10 Zack Weinberg <zackw@panix.com>
19359 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
19360 math.h or math_private.h.
19362 * sysdeps/alpha/fpu/s_isnan.c
19363 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
19364 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
19365 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
19366 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
19367 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
19368 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
19369 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
19370 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
19371 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
19372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
19373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
19374 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
19375 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
19376 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
19377 Include math_private.h.
19379 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
19380 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
19381 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
19382 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
19383 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
19384 * sysdeps/powerpc/power7/fpu/s_logb.c:
19385 Include math.h and math_private.h.
19387 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
19388 uses of $at in .set noat / .set at.
19390 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
19392 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
19393 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
19394 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
19395 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
19398 2018-03-09 Florian Weimer <fweimer@redhat.com>
19400 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
19403 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
19406 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
19407 Add nop before __startcontext, add explaining comments.
19409 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19412 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
19414 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
19415 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
19416 Do not build hardware transactional code for __SPE__.
19417 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
19418 (__lll_trylock_elision): Likewise.
19419 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
19420 (__lll_unlock_elision): Likewise.
19422 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
19423 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
19424 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
19425 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
19426 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
19427 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
19428 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
19429 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
19430 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
19431 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
19432 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
19433 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
19434 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
19435 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
19436 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
19437 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
19438 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
19439 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
19440 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
19441 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
19442 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
19443 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19444 (__ASSUME_CLONE_BACKWARDS): Define.
19445 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
19446 __clone2 if __NR_clone2 is defined.
19447 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19448 (__ASSUME_CLONE_BACKWARDS): Likewise.
19449 * sysdeps/unix/sysv/linux/i386/kernel-features.h
19450 (__ASSUME_CLONE_BACKWARDS): Likewise.
19451 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19452 (__ASSUME_CLONE2): Likewise.
19453 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19454 (__ASSUME_CLONE_BACKWARDS3): Likewise.
19455 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
19456 variants and the define architecture can use.
19457 (__ASSUME_CLONE_DEFAULT): Define as default.
19458 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19459 (__ASSUME_CLONE_BACKWARDS): Likewise.
19460 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19461 (__ASSUME_CLONE_BACKWARDS): Likewise.
19462 * sysdeps/unix/sysv/linux/s390/kernel-features.h
19463 (__ASSUME_CLONE_BACKWARDS2): Likewise.
19465 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
19467 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
19469 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
19472 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
19473 (do_test_limit): Likewise.
19475 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
19476 for every implementation.
19477 (do_test): Likewise.
19479 * benchtests/bench-strncmp.c: Convert output to json.
19481 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19483 * io/futimens.c: Add missing start-of-file descriptive comment.
19484 * io/utime.c: Likewise.
19485 * misc/futimesat.c: Likewise.
19486 * misc/utimes.c: Likewise.
19487 * sysdeps/mach/hurd/futimesat.c: Likewise.
19488 * sysdeps/mach/hurd/utimes.c: Likewise.
19489 * sysdeps/posix/utime.c: Likewise.
19490 * sysdeps/posix/utimes.c: Likewise.
19491 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
19492 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
19493 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
19494 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
19496 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
19498 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
19500 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
19501 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
19502 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
19503 (__futimens): Move implementation to...
19504 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
19505 utime_tvalue_from_tspec): ... new helper functions.
19506 (hurd_futimens): New function.
19507 * sysdeps/mach/hurd/futimesat.c: New file.
19508 * sysdeps/mach/hurd/utimensat.c: New file.
19510 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
19512 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
19513 UTIME_OMIT): New macros.
19514 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
19515 before reverting to converting time spec to time value and calling
19517 * sysdeps/mach/hurd/utime-helper.c: New file.
19518 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
19519 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
19520 reverting to utime_tvalue_from_tval and __file_utimes.
19521 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
19522 (__lutimes): Just call hurd_futimens after lookup.
19523 * sysdeps/mach/hurd/utimes.c: Likewise.
19525 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
19527 * bits/sigaction.h: Add include guard.
19528 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
19529 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
19530 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
19531 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
19532 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
19533 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
19534 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
19535 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
19536 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
19538 2018-03-05 Joseph Myers <joseph@codesourcery.com>
19540 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
19541 -Wmaybe-uninitialized for -Os.
19542 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
19545 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19547 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
19548 __INO_T_MATCHES_INO64_T is defined.
19549 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
19550 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
19552 * dirent/alphasort64.c: Likewise.
19553 * dirent/scandir.c: Likewise.
19554 * dirent/scandir64-tail.c: Likewise.
19555 * dirent/scandir64.c: Likewise.
19556 * dirent/scandirat.c: Likewise.
19557 * dirent/scandirat64.c: Likewise.
19558 * dirent/versionsort.c: Likewise.
19559 * dirent/versionsort64.c: Likewise.
19560 * include/dirent.h: Likewise.
19562 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
19563 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
19564 for socketpair endpoint.
19565 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
19566 WRITE_BUFFER_SIZE as buffer size for sending socket.
19567 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
19568 issue on system where send is implemented with sendto syscall.
19569 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
19570 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
19571 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
19572 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
19575 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
19576 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
19577 sa_restorer for vDSO case.
19578 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
19580 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19582 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
19583 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
19584 * hurd/hurd/ioctl.h: Include <mach/port.h>
19585 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
19586 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
19587 <mach/mach_types.h> and <mach/message.h>.
19588 (headers): Move mach/param.h to bits/mach/param.h.
19589 * sysdeps/mach/i386/mach/param.h: Move file to ...
19590 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
19591 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
19593 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
19594 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
19595 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
19596 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
19597 trivial, for C++ conformity.
19598 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
19599 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
19600 Process mig output through $(migheadersed).
19601 * hurd/Makefile (migheadersed): Define variable.
19602 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
19603 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
19605 * hurd/hurd.h: Include <bits/types/sigset_t.h>
19606 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
19607 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
19608 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
19609 <bits/types/sigset_t.h>.
19610 [!defined __USE_GNU]: Do not #error out.
19611 (struct hurd_sigstate): Use _NSIG instead of NSIG.
19612 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
19613 Include <stddef.h> and <bits/types/sigset_t.h>
19614 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
19615 instead of sighandler_t.
19616 * stdlib/errno.h (error_t): Move definition to...
19617 * bits/types/error_t.h: ... new header.
19618 * stdlib/Makefile (headers): Add bits/types/error_t.h.
19619 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
19620 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
19621 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
19622 * hurd/hurd.h: Include <bits/types/error_t.h>
19623 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
19624 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
19625 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
19626 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
19627 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
19628 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
19629 * sysdeps/mach/hurd/futimens.c: New file.
19631 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
19634 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
19635 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
19636 * nscd/gai.c (__nss_hosts_database): Readd definition.
19637 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
19638 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
19639 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
19641 2018-03-02 Joseph Myers <joseph@codesourcery.com>
19643 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
19644 (ifunc_one): Likewise.
19646 2018-03-01 DJ Delorie <dj@delorie.com>
19649 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
19652 2018-03-01 Maciej W. Rozycki <macro@mips.com>
19654 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
19655 `match_pid' parameter.
19656 (td_ta_thr_iter): Update accordingly.
19658 2018-03-01 Florian Weimer <fweimer@redhat.com>
19660 * nptl/Makefile (install-lib-ldscripts): Remove.
19661 (install): Remove rule.
19662 ($(inst_libdir)/libpthread.so): Likewise.
19664 2018-03-01 Mike FABIAN <mfabian@redhat.com>
19667 * localedata/locales/an_ES: update month and day names,
19668 improve d_fmt, improve postal_fmt, add country_post,
19671 2018-03-01 Mike FABIAN <mfabian@redhat.com>
19673 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
19674 Ukrainian instead of Bulgarian.
19676 2018-03-01 Florian Weimer <fweimer@redhat.com>
19678 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
19681 2018-03-01 Florian Weimer <fweimer@redhat.com>
19683 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
19684 * nptl/Makefile (routines): Add pthread_atfork.
19685 (static-only-routines): Set to pthread_atfork.
19686 (libpthread-routines): Remove pthread_atfork.
19687 (libpthread-static-only-routines): Remove.
19688 (install): Update comment.
19689 (libpthread.so): Do not install libpthread_nonshared.a.
19690 (tests): Do not link with libpthread_nonshared.a.
19691 (generated): Remove libpthread_nonshared.a.
19692 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
19693 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
19694 with libpthread_nonshared.a.
19696 2018-02-28 Joseph Myers <joseph@codesourcery.com>
19699 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
19700 (libc_feholdexcept_setroundf128): New macro.
19701 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
19704 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
19706 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
19707 * include/inttypes.h: New file.
19709 2018-02-27 Joseph Myers <joseph@codesourcery.com>
19711 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
19712 -Os in two more places.
19714 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19716 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
19717 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
19718 be sorted correctly at the moment because of a bug.
19720 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19722 [BZ #22550] - es_ES locale (and other es_* locales): collation should
19723 treat ñ as a primary different character, sync the collation
19724 for Spanish with CLDR.
19725 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
19726 * localedata/Makefile: Add new test files.
19727 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
19728 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
19730 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
19731 * localedata/am_ET.UTF-8.in: New test file.
19732 * localedata/az_AZ.UTF-8.in: Likewise.
19733 * localedata/be_BY.UTF-8.in: Likewise.
19734 * localedata/ber_DZ.UTF-8.in: Likewise.
19735 * localedata/ber_MA.UTF-8.in: Likewise.
19736 * localedata/bg_BG.UTF-8.in: Likewise.
19737 * localedata/br_FR.UTF-8.in: Likewise.
19738 * localedata/cmn_TW.UTF-8.in: Likewise.
19739 * localedata/crh_UA.UTF-8.in: Likewise.
19740 * localedata/csb_PL.UTF-8.in: Likewise.
19741 * localedata/cv_RU.UTF-8.in: Likewise.
19742 * localedata/cy_GB.UTF-8.in: Likewise.
19743 * localedata/dz_BT.UTF-8.in: Likewise.
19744 * localedata/eo.UTF-8.in: Likewise.
19745 * localedata/es_ES.UTF-8.in: Likewise.
19746 * localedata/fa_IR.UTF-8.in: Likewise.
19747 * localedata/fi_FI.UTF-8.in: Likewise.
19748 * localedata/fil_PH.UTF-8.in: Likewise.
19749 * localedata/fur_IT.UTF-8.in: Likewise.
19750 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
19751 * localedata/ha_NG.UTF-8.in: Likewise.
19752 * localedata/ig_NG.UTF-8.in: Likewise.
19753 * localedata/ik_CA.UTF-8.in: Likewise.
19754 * localedata/kk_KZ.UTF-8.in: Likewise.
19755 * localedata/ku_TR.UTF-8.in: Likewise.
19756 * localedata/ky_KG.UTF-8.in: Likewise.
19757 * localedata/ln_CD.UTF-8.in: Likewise.
19758 * localedata/mi_NZ.UTF-8.in: Likewise.
19759 * localedata/ml_IN.UTF-8.in: Likewise.
19760 * localedata/mn_MN.UTF-8.in: Likewise.
19761 * localedata/mr_IN.UTF-8.in: Likewise.
19762 * localedata/mt_MT.UTF-8.in: Likewise.
19763 * localedata/nb_NO.UTF-8.in: Likewise.
19764 * localedata/om_KE.UTF-8.in: Likewise.
19765 * localedata/os_RU.UTF-8.in: Likewise.
19766 * localedata/ps_AF.UTF-8.in: Likewise.
19767 * localedata/ro_RO.UTF-8.in: Likewise.
19768 * localedata/ru_RU.UTF-8.in: Likewise.
19769 * localedata/sc_IT.UTF-8.in: Likewise.
19770 * localedata/se_NO.UTF-8.in: Likewise.
19771 * localedata/sq_AL.UTF-8.in: Likewise.
19772 * localedata/sv_SE.UTF-8.in: Likewise.
19773 * localedata/szl_PL.UTF-8.in: Likewise.
19774 * localedata/tg_TJ.UTF-8.in: Likewise.
19775 * localedata/tk_TM.UTF-8.in: Likewise.
19776 * localedata/tt_RU.UTF-8.in: Likewise.
19777 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
19778 * localedata/ug_CN.UTF-8.in: Likewise.
19779 * localedata/uz_UZ.UTF-8.in: Likewise.
19780 * localedata/vi_VN.UTF-8.in: Likewise.
19781 * localedata/yi_US.UTF-8.in: Likewise.
19782 * localedata/yo_NG.UTF-8.in: Likewise.
19783 * localedata/zh_CN.UTF-8.in: Likewise.
19784 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
19785 file and fix bugs in the collation.
19786 * localedata/locales/az_AZ: Likewise.
19787 * localedata/locales/be_BY: Likewise.
19788 * localedata/locales/ber_DZ: Likewise.
19789 * localedata/locales/ber_MA: Likewise.
19790 * localedata/locales/bg_BG: Likewise.
19791 * localedata/locales/br_FR: Likewise.
19792 * localedata/locales/br_FR@euro: Likewise.
19793 * localedata/locales/ca_ES: Likewise.
19794 * localedata/locales/cns11643_stroke: Likewise.
19795 * localedata/locales/crh_UA: Likewise.
19796 * localedata/locales/cs_CZ: Likewise.
19797 * localedata/locales/csb_PL: Likewise.
19798 * localedata/locales/cv_RU: Likewise.
19799 * localedata/locales/cy_GB: Likewise.
19800 * localedata/locales/da_DK: Likewise.
19801 * localedata/locales/dz_BT: Likewise.
19802 * localedata/locales/en_CA: Likewise.
19803 * localedata/locales/eo: Likewise.
19804 * localedata/locales/es_CU: Likewise.
19805 * localedata/locales/es_EC: Likewise.
19806 * localedata/locales/es_ES: Likewise.
19807 * localedata/locales/es_US: Likewise.
19808 * localedata/locales/et_EE: Likewise.
19809 * localedata/locales/fa_IR: Likewise.
19810 * localedata/locales/fi_FI: Likewise.
19811 * localedata/locales/fil_PH: Likewise.
19812 * localedata/locales/fur_IT: Likewise.
19813 * localedata/locales/gez_ER@abegede: Likewise.
19814 * localedata/locales/ha_NG: Likewise.
19815 * localedata/locales/hr_HR: Likewise.
19816 * localedata/locales/hsb_DE: Likewise.
19817 * localedata/locales/hu_HU: Likewise.
19818 * localedata/locales/ig_NG: Likewise.
19819 * localedata/locales/ik_CA: Likewise.
19820 * localedata/locales/is_IS: Likewise.
19821 * localedata/locales/iso14651_t1_pinyin: Likewise.
19822 * localedata/locales/kk_KZ: Likewise.
19823 * localedata/locales/ku_TR: Likewise.
19824 * localedata/locales/ky_KG: Likewise.
19825 * localedata/locales/ln_CD: Likewise.
19826 * localedata/locales/lt_LT: Likewise.
19827 * localedata/locales/lv_LV: Likewise.
19828 * localedata/locales/mi_NZ: Likewise.
19829 * localedata/locales/ml_IN: Likewise.
19830 * localedata/locales/mn_MN: Likewise.
19831 * localedata/locales/mr_IN: Likewise.
19832 * localedata/locales/mt_MT: Likewise.
19833 * localedata/locales/nb_NO: Likewise.
19834 * localedata/locales/om_KE: Likewise.
19835 * localedata/locales/os_RU: Likewise.
19836 * localedata/locales/pl_PL: Likewise.
19837 * localedata/locales/ps_AF: Likewise.
19838 * localedata/locales/ro_RO: Likewise.
19839 * localedata/locales/ru_RU: Likewise.
19840 * localedata/locales/ru_UA: Likewise.
19841 * localedata/locales/sc_IT: Likewise.
19842 * localedata/locales/se_NO: Likewise.
19843 * localedata/locales/si_LK: Likewise.
19844 * localedata/locales/sq_AL: Likewise.
19845 * localedata/locales/sv_FI: Likewise.
19846 * localedata/locales/sv_FI@euro: Likewise.
19847 * localedata/locales/sv_SE: Likewise.
19848 * localedata/locales/szl_PL: Likewise.
19849 * localedata/locales/tg_TJ: Likewise.
19850 * localedata/locales/ti_ER: Likewise.
19851 * localedata/locales/tk_TM: Likewise.
19852 * localedata/locales/tl_PH: Likewise.
19853 * localedata/locales/tr_TR: Likewise.
19854 * localedata/locales/tt_RU: Likewise.
19855 * localedata/locales/tt_RU@iqtelif: Likewise.
19856 * localedata/locales/ug_CN: Likewise.
19857 * localedata/locales/uk_UA: Likewise.
19858 * localedata/locales/uz_UZ: Likewise.
19859 * localedata/locales/uz_UZ@cyrillic: Likewise.
19860 * localedata/locales/vi_VN: Likewise.
19861 * localedata/locales/yi_US: Likewise.
19862 * localedata/locales/yo_NG: Likewise.
19864 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19866 * gen-locales.mk: Make test files which contain @ modifiers in their
19868 * localedata/gen-locale.sh: Likewise.
19870 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19872 * posix/tst-fnmatch.input: Fix results for range expressions
19874 * posix/tst-regexloc.c: Do not use a range expression for
19875 de_DE.ISO-8859-1 locale.
19877 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19879 * posix/bug-regex5.c: Fix test case because with the new
19880 iso14651_t1_common file, the da_DK locale now has 6 collating elements
19881 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
19884 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19886 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
19887 downloaded from ISO, the collation order of @-. and space has changed.
19888 Therefore, this test file needed to be adapted.
19889 * localedata/fr_CA.UTF-8.in: Likewise.
19890 * localedata/fr_FR.UTF-8.in: Likewise.
19891 * localedata/uk_UA.UTF-8.in: Likewise.
19893 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19895 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
19896 order of ȥ in the new iso14651_t1_common file.
19897 * localedata/pl_PL.UTF-8.in: Likewise.
19899 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19901 * localedata/locales/iso14651_t1_common: Add sections for various
19902 scripts to the iso14651_t1_common file.
19904 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19906 * localedata/locales/iso14651_t1_common: Use the code point of a
19907 character in the fourth collation level instead of IGNORE for all
19908 entries which have IGNORE on all 4 levels.
19910 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19912 * localedata/locales/iso14651_t1_common: Add some convenient collation
19913 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
19914 rules similar to those in CLDR.
19916 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19918 * localedata/locales/iso14651_t1_common: The new version of this
19919 file downloaded from ISO contained several syntax errors which
19920 are fixed by this patch.
19922 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19924 * localedata/locales/iso14651_t1_common: replace all <U.....>
19925 with <U000.....> because glibc understands only 4 digit or 8 digit
19927 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19929 * localedata/locales/iso14651_t1_common: Necessary changes
19930 to make the file downloaded from ISO usable by glibc.
19932 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19935 * localedata/locales/iso14651_t1_common: Update file to
19936 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
19938 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19940 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
19941 of <nptl/pthreadP.h>
19942 (thread_attr_compare): Move function to...
19943 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
19944 * sysdeps/nptl/timer_routines.h: ... new header.
19945 * sysdeps/mach/hurd/gai_misc.h: New file.
19947 2018-02-26 Joseph Myers <joseph@codesourcery.com>
19949 * string/strcoll_l.c: Include <libc-diag.h>.
19950 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
19951 declarations of seq1 and seq2.
19954 * stdlib/atoi.c (atoi): Use libc_hidden_def.
19955 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
19957 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
19961 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
19962 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
19963 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
19964 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
19965 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
19966 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
19968 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19970 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
19971 macros used in __ptrace_request.
19973 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
19976 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
19978 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
19979 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
19980 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
19983 2018-02-23 Joseph Myers <joseph@codesourcery.com>
19986 * ctype/ctype.c (tolower): Use libc_hidden_def.
19987 (toupper): Likewise.
19988 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
19989 [!_ISOMAC] (toupper): Likewise.
19991 2018-02-23 Mike FABIAN <mfabian@redhat.com>
19993 * localedata/Makefile: Remove --quiet argument when
19996 2018-02-23 Mike FABIAN <mfabian@redhat.com>
19999 * localedata/locales/pt_BR (LC_TIME): use / instead of -
20001 * localedata/locales/pt_PT (LC_TIME): likewise
20003 2018-02-23 Mike FABIAN <mfabian@redhat.com>
20006 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
20007 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
20008 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
20010 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20012 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20014 * nptl/Makefile (routines): Remove unregister-atfork.
20015 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
20016 (fork_handler_alloc): Remove function.
20017 (fork_handlers, fork_handler_init): New variables.
20018 (__fork_lock): Rename to atfork_lock.
20019 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
20020 to use a dynamic array to add/remove atfork handlers.
20021 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
20022 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
20023 Remove declaration.
20024 (fork_handler): Remove next, refcntr, and need_signal member.
20025 (__run_fork_handler_type): New enum.
20026 (__run_fork_handlers): New prototype.
20027 * nptl/register-atfork.c: Remove file.
20028 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
20030 * sysdeps/nptl/nptl-signals.h: Move to ...
20031 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
20033 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
20034 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
20035 unnecessary check for SIGTIMER.
20036 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
20037 remove unnecessary removal of SIGTIMER.
20038 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
20039 include-signals.h rename.
20040 * nptl/pthreadP.h: Likewise.
20041 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
20042 __is_internal_signal instead of __nptl_is_internal_signal.
20044 2018-02-22 Andrew Waterman <andrew@sifive.com>
20047 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
20048 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
20049 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
20050 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
20052 2018-02-22 DJ Delorie <dj@delorie.com>
20054 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
20056 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
20058 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
20059 do_misaligned, not misaligned8.
20061 2018-02-22 Steve Ellcey <sellcey@cavium.com>
20063 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
20064 Add memcpy_thunderx2.
20065 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
20067 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
20068 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
20069 and IS_THUNDERX2PA checks.
20070 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
20071 Use macro to set name appropriately.
20072 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
20073 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
20074 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
20076 (IS_THUNDERX2): New macro.
20078 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
20080 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20082 2018-02-21 Zack Weinberg <zackw@panix.com>
20084 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
20085 Define here, unconditionally.
20086 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
20087 * libio/libioP.h: Remove #if 0 blocks.
20088 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
20089 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
20090 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
20092 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
20093 Assume weak_alias is always defined.
20095 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
20096 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
20097 Remove #if 0 and #ifdef TODO blocks.
20098 Assume text_set_element is always defined.
20100 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
20101 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
20102 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
20104 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
20105 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
20106 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
20107 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
20108 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
20109 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
20110 Reformat bit flags for _flags field to make occupancy clearer.
20112 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
20113 Keep definitions consistent with those in libio/libio.h.
20115 * libio/libio.h (_IO_file_flags): Remove macro.
20116 All uses changed to _flags.
20118 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
20119 (__HAVE_COLUMN, _IO_BE): Don't define.
20120 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
20121 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
20122 * libio/libioP.h (EOF): Don't define.
20123 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
20124 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
20125 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
20126 testing _IO_UNIFIED_JUMPTABLES.
20128 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
20129 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
20130 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
20131 (_IO_size_t): Delete; all uses changed to size_t.
20132 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
20133 (_IO_off_t): Delete; all uses changed to off_t.
20134 (_IO_off64_t): Delete; all uses changed to off64_t.
20135 (_IO_pid_t): Delete; all uses changed to pid_t.
20136 (_IO_uid_t): Delete; all uses changed to uid_t.
20137 (_IO_wint_t): Delete; all uses changed to wint_t.
20138 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
20139 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
20140 (_IO_cookie_io_functions_t): Delete; all uses changed to
20141 cookie_io_functions_t.
20142 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
20143 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
20144 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
20145 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
20147 * libio/iofopncook.c: Remove unnecessary forward declarations.
20148 * libio/iolibio.h: Correct outdated commentary.
20149 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
20150 * stdio-common/fxprintf.c (__fxprintf_nocancel):
20151 Remove unnecessary casts.
20152 * stdio-common/getline.c: Use _IO_getdelim directly.
20153 Don't redefine ssize_t.
20154 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
20155 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
20156 Remove outdated comments.
20157 * stdio-common/vfscanf.c: Don't redefine va_list.
20159 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
20160 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
20161 Remove preprocessor conditionals on _LIBC and __USE_GNU,
20162 which are always true, and __cplusplus, which is always false.
20164 2018-02-21 Joseph Myers <joseph@codesourcery.com>
20168 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
20169 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
20170 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
20171 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
20173 [!_ISOMAC] (putc_unlocked): Likewise.
20174 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
20175 define inline if [__USE_EXTERN_INLINES].
20176 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
20181 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
20182 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
20183 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
20184 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
20185 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
20187 * time/tzfile.c (__tzfile_read): Likewise.
20189 2018-02-21 Mike FABIAN <mfabian@redhat.com>
20192 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
20194 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
20196 * io/fcntl.h: Fix a typo in a comment.
20198 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
20201 * include/features.h: Add _ISOC11_SOURCE to test for whether to
20202 define _DEFAULT_SOURCE.
20203 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
20205 2018-02-21 Florian Weimer <fweimer@redhat.com>
20208 * elf/cache.c (save_cache): Call fsync on temporary file before
20210 (save_aux_cache): Call fdatasync on temporary file before renaming
20213 2018-02-21 Florian Weimer <fweimer@redhat.com>
20216 * include/caller.h: Remove file.
20217 * elf/dl-caller.c: Likewise.
20218 * elf/Makefile (dl-routines): Remove dl-caller.
20219 (shared-only-routines): Do not add dl-caller.
20220 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
20222 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
20224 (dl_open_worker): Do not call __check_caller.
20225 (_dl_open): Do not set caller_dl_open member.
20226 * elf/rtld.c (_rtld_global_ro): Do not initialize
20227 _dl_check_caller member.
20228 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
20229 _dl_check_caller member.
20230 (_dl_check_caller): Remove declaration.
20231 * sysdeps/unix/sysv/linux/dl-execstack.c
20232 (_dl_make_stack_executable): Do not call __check_caller.
20234 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
20236 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
20237 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
20239 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
20241 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
20244 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
20247 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
20248 of 199606L, 200112L, and 200809L.
20249 (_XOPEN_SOURCE): Document special values of 600 and 700.
20250 (_ISOC11_SOURCE): Document macro.
20251 (_ATFILE_SOURCE): Likewise.
20252 (_FORTIFY_SOURCE): Likewise.
20254 2018-02-19 Joseph Myers <joseph@codesourcery.com>
20258 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
20259 and define as weak alias of __ferror_unlocked. Use
20261 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
20263 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
20264 function if [__USE_EXTERN_INLINES].
20265 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
20268 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
20271 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
20273 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
20276 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
20277 the GLIBC_2.1 version.
20279 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
20282 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
20283 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
20284 intl/tst-gettext-de.po from po/de.po by removing the
20285 POT-Creation-Date line.
20286 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
20288 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
20291 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
20293 * mach/Makefile (headers): Add mach/param.h.
20294 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
20295 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
20296 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
20297 (__ptsname_r): Move implementation to...
20298 (__ptsname_internal): ... new function. Add filling the STP
20301 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
20303 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
20306 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
20308 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
20311 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
20313 * nptl/Makefile (tst-mutex8-ENV): Delete.
20314 * nptl/tst-mutex8.c (check_type):
20315 Add runtime check if mutex will be elided.
20317 2018-02-15 Joseph Myers <joseph@codesourcery.com>
20321 * manual/install.texi (Configuring and compiling): Describe
20322 passing CC and CFLAGS on configure command line, not as
20323 environment variables. Use @code markup on those variables.
20324 Specify what options go in CC and what go in CFLAGS. Note the
20325 requirement to compile with optimization.
20326 * INSTALL: Regenerated.
20329 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
20330 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
20331 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
20332 __sigprocmask instead of sigprocmask.
20333 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
20335 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
20336 __sigsetjmp and sigprocmask.
20339 * include/argz.h (argz_next): Use libc_hidden_proto.
20340 (__argz_next): Likewise.
20341 * string-argz-next.c (__argz_next): Use libc_hidden_def.
20342 (argz_next): Use libc_hidden_weak.
20345 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
20347 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
20351 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
20353 * libio/iofputs.c (fputs): Use libc_hidden_weak.
20357 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
20358 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
20359 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
20360 (__feof_unlocked): New declaration, and inline function if
20361 [__USE_EXTERN_INLINES].
20362 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
20363 instead of feof_unlocked.
20364 * intl/localealias.c [_LIBC] (FEOF): Likewise.
20365 * nss/nsswitch.c (nss_parse_file): Likewise.
20366 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
20368 * time/getdate.c (__getdate_r): Likewise.
20369 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
20370 Define as macro to call __feof_unlocked.
20372 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
20374 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
20376 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
20378 * math/Makefile: Remove mpexp.c and mplog.c
20379 * sysdeps/i386/fpu/mpexp.c: Delete file.
20380 * sysdeps/i386/fpu/mplog.c: Likewise.
20381 * sysdeps/ia64/fpu/mpexp.c: Likewise.
20382 * sysdeps/ia64/fpu/mplog.c: Likewise.
20383 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
20384 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
20385 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
20386 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20387 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
20388 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
20389 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
20390 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
20391 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
20392 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20393 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
20394 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
20395 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20396 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
20397 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
20398 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20400 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
20402 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20404 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20406 * sysdeps/sh/libm-test-ulps: Update.
20408 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20410 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
20413 2018-02-12 Zack Weinberg <zackw@panix.com>
20416 * posix/sys/types.h: Don't include sys/sysmacros.h.
20417 * misc/sys/sysmacros.h: Remove the conditional deprecation
20418 warnings for the macros defined by this header.
20420 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20422 * manual/probes.texi: Remove slowexp probes.
20423 * math/Makefile: Remove slowexp.
20424 * sysdeps/generic/math_private.h (__slowexp): Remove.
20425 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
20426 document error bounds.
20427 * sysdeps/i386/fpu/slowexp.c: Remove.
20428 * sysdeps/ia64/fpu/slowexp.c: Remove.
20429 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
20430 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
20431 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
20432 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
20433 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
20434 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
20435 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
20436 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
20437 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
20438 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
20439 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
20441 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
20444 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
20445 * benchtests/pow-inputs: Update comment for slow path cases.
20446 * manual/probes.texi (slowpow_p10): Delete removed probe.
20447 (slowpow_p10): Likewise.
20448 * math/Makefile: Remove halfulp.c and slowpow.c.
20449 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
20450 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
20451 (__halfulp): Remove.
20452 (__slowpow): Remove.
20453 * sysdeps/i386/fpu/halfulp.c: Delete file.
20454 * sysdeps/i386/fpu/slowpow.c: Likewise.
20455 * sysdeps/ia64/fpu/halfulp.c: Likewise.
20456 * sysdeps/ia64/fpu/slowpow.c: Likewise.
20457 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
20458 improve comments and add error analysis.
20459 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
20460 (power1): Remove function:
20461 (log1): Remove error argument, add error analysis.
20462 (my_log2): Remove function.
20463 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
20464 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20465 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
20466 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
20467 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
20468 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
20469 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
20470 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
20471 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
20472 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
20473 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
20474 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20475 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
20476 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20478 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
20480 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
20481 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
20483 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
20486 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
20487 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
20488 and PTRACE_SETHBPREGS.
20490 2018-02-10 Zack Weinberg <zackw@panix.com>
20493 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
20495 * malloc/tst-malloc-stats-cancellation.c: New test case.
20496 * malloc/Makefile: Add new test case.
20498 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
20500 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
20502 2018-02-10 Joseph Myers <joseph@codesourcery.com>
20504 * math/Makefile (libm-narrow-fns): Add add.
20505 (libm-test-funcs-narrow): Likewise.
20506 * math/Versions (GLIBC_2.28): Add narrowing add functions.
20507 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
20508 * math/gen-auto-libm-tests.c (test_functions): Add add.
20509 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
20510 (NARROW_ADD_ROUND_TO_ODD): Likewise.
20511 (NARROW_ADD_TRIVIAL): Likewise.
20512 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
20514 (__daddl): Likewise.
20515 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
20517 (CFLAGS-nldbl-dadd.c): New variable.
20518 (CFLAGS-nldbl-fadd.c): Likewise.
20519 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
20521 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
20523 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
20524 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
20525 * math/auto-libm-test-in: Add tests of add.
20526 * math/auto-libm-test-out-narrow-add: New generated file.
20527 * math/libm-test-narrow-add.inc: New file.
20528 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
20529 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
20530 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
20531 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
20532 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
20533 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
20534 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
20535 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
20536 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
20537 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
20538 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
20539 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
20540 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
20541 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
20542 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
20543 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
20544 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
20545 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
20546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20547 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
20548 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20549 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20550 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20551 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20552 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20553 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20554 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20555 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20556 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20557 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20558 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20559 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
20561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
20562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
20563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
20564 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
20565 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20566 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20567 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20568 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20569 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20570 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
20571 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
20572 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20573 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20575 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
20576 (f128-pairs): New variable.
20577 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
20578 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
20580 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
20581 Also make tests add $(f128-loader-link) to gnulib-tests.
20583 2018-02-09 DJ Delorie <dj@redhat.com>
20586 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
20587 64-bit ELF type for 64-bit ELF objects.
20589 2018-02-09 Joseph Myers <joseph@codesourcery.com>
20591 * math/libm-test-driver.c (snan_tests_arg): New variable.
20592 * math/libm-test-support.h (snan_tests_arg): New declaration.
20593 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
20595 * math/Makefile (test-type-pairs): New variable.
20596 (test-type-pairs-f64xf128-yes): Likewise.
20597 (tests): Add test-narrow-macros.
20598 (libm-test-funcs-narrow): New variable.
20599 (libm-test-c-narrow): Likewise.
20600 (generated): Add $(libm-test-c-narrow).
20601 (libm-tests-base-narrow): New variable.
20602 (libm-tests-narrow): Likewise.
20603 (libm-tests): Add $(libm-tests-narrow).
20604 (libm-tests-for-type): Handle $(libm-tests-narrow).
20605 (libm-test-c-narrow-obj): New variable.
20606 ($(libm-test-c-narrow-obj)): New rule.
20607 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
20608 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
20609 $(o-iterator) to set dependencies and CFLAGS.
20610 * math/gen-auto-libm-tests.c: Document use for narrowing
20612 (output_for_one_input_case): Take argument NARROW.
20613 (generate_output): Likewise. Update call to
20614 output_for_one_input_case.
20615 (main): Take --narrow option. Update call to generate_output.
20616 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
20617 (apply_lit): Update call to _apply_lit.
20618 (apply_arglit): New function.
20619 (parse_args): Handle "a" arguments.
20620 (parse_auto_input): Handle format names using ":".
20621 * math/README.libm-test: Document "a" parameter type.
20622 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
20623 (ARG_TYPE_TRUE_MIN): Likewise.
20624 (ARG_TYPE_MAX): Likwise.
20625 (ARG_MIN_EXP): Likewise.
20626 (ARG_MAX_EXP): Likewise.
20627 (ARG_MANT_DIG): Likewise.
20628 (TEST_COND_arg_ibm128): Likewise.
20629 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
20630 (TEST_COND_arg_fmt): New macro.
20631 (init_max_error): Update prototype.
20632 * math/libm-test-support.c (test_ibm128): New variable.
20633 (init_max_error): Take argument testing_ibm128 and set test_ibm128
20634 instead of using [TEST_COND_ibm128] conditional.
20635 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
20636 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
20637 [TEST_NARROW] (TEST_MSG): New definition.
20638 (arg_plus_zero): New macro.
20639 (arg_minus_zero): Likewise.
20640 (arg_plus_infty): Likewise.
20641 (arg_minus_infty): Likewise.
20642 (arg_qnan_value_pl): Likewise.
20643 (arg_qnan_value): Likewise.
20644 (arg_snan_value_pl): Likewise.
20645 (arg_snan_value): Likewise.
20646 (arg_max_value): Likewise.
20647 (arg_min_value): Likewise.
20648 (arg_min_subnorm_value): Likewise.
20649 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
20650 (RUN_TEST_LOOP_aa_f): New macro.
20651 (TEST_SUFF): New macro.
20652 (TEST_SUFF_STR): Likewise.
20653 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
20654 (TEST_COND_any_ibm128): New macro.
20655 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
20656 this_func. Update call to init_max_error.
20657 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
20658 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
20659 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
20660 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
20661 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
20662 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
20663 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
20664 * math/test-math-scalar.h (TEST_NARROW): Likewise.
20665 * math/test-math-vector.h (TEST_NARROW): Likewise.
20666 * math/test-arg-double.h: New file.
20667 * math/test-arg-float128.h: Likewise.
20668 * math/test-arg-float32x.h: Likewise.
20669 * math/test-arg-float64.h: Likewise.
20670 * math/test-arg-float64x.h: Likewise.
20671 * math/test-arg-ldouble.h: Likewise.
20672 * math/test-math-narrow.h: Likewise.
20673 * math/test-narrow-macros.c: Likewise.
20674 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
20675 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
20676 test-narrow-macros-ldbl-64.
20677 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
20679 * math/bits/mathcalls-narrow.h: New file.
20680 * include/bits/mathcalls-narrow.h: Likewise.
20681 * math/math-narrow.h: Likewise.
20682 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
20683 (__MATHCALL_NARROW_ARGS_2): Likewise.
20684 (__MATHCALL_NARROW_ARGS_3): Likewise.
20685 (__MATHCALL_NARROW_NORMAL): Likewise.
20686 (__MATHCALL_NARROW_REDIR): Likewise.
20687 (__MATHCALL_NARROW): Likewise.
20688 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
20689 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
20691 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
20692 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
20693 (libm-narrow-fns): New variable.
20694 (libm-narrow-types-basic): Likewise.
20695 (libm-narrow-types-ldouble-yes): Likewise.
20696 (libm-narrow-types-float128-yes): Likewise.
20697 (libm-narrow-types-float128-alias-yes): Likewise.
20698 (libm-narrow-types): Likewise.
20699 (libm-routines): Add narrowing functions.
20700 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
20701 (libc_feholdexcept_setroundf128): New macro.
20702 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
20703 * sysdeps/ieee754/float128/float128_private.h: Include
20704 <math/math-narrow.h>.
20705 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
20706 Undefine and redefine.
20707 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
20708 (libm_alias_float_ldouble): Undefine and redefine.
20709 (libm_alias_double_ldouble): Likewise.
20711 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
20713 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
20715 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
20718 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
20720 * manual/creature.texi: Convert references to gcc.info to gcc.
20721 * manual/stdio.texi: Likewise.
20722 * manual/string.texi: Likewise.
20724 2018-02-07 Joseph Myers <joseph@codesourcery.com>
20727 * posix/bits/types.h (__int_least8_t): New typedef.
20728 (__uint_least8_t): Likewise.
20729 (__int_least16_t): Likewise.
20730 (__uint_least16_t): Likewise.
20731 (__int_least32_t): Likewise.
20732 (__uint_least32_t): Likewise.
20733 (__int_least64_t): Likewise.
20734 (__uint_least64_t): Likewise.
20735 * sysdeps/generic/stdint.h (int_least8_t): Define using
20737 (int_least16_t): Define using __int_least16_t.
20738 (int_least32_t): Define using __int_least32_t.
20739 (int_least64_t): Define using __int_least64_t.
20740 (uint_least8_t): Define using __uint_least8_t.
20741 (uint_least16_t): Define using __uint_least16_t.
20742 (uint_least32_t): Define using __uint_least32_t.
20743 (uint_least64_t): Define using __uint_least64_t.
20744 * wcsmbs/uchar.h: Include <bits/types.h>.
20745 (char16_t): Define using __uint_least16_t conditional only on
20747 (char32_t): Define using __uint_least32_t conditional only on
20749 * wcsmbs/test-char-types.c: New file.
20750 * wcsmbs/Makefile (tests): Add test-char-types.
20752 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
20755 2018-02-07 Zack Weinberg <zackw@panix.com>
20757 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
20758 Delete all contents except for definitions of _G_HAVE_MMAP and
20759 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
20760 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
20761 sysdeps/unix/sysv/linux/_G_config.h. Make same content
20764 * libio/libio.h: Don't include bits/_G_config.h here.
20765 Include stddef.h with __need_wchar_t defined. Include
20766 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
20767 Define _IO_iconv_t here, directly.
20768 Don't define _IO_HAVE_ST_BLKSIZE.
20769 * libio/libioP.h: Include _G_config.h here. Move include of
20770 shlib-compat.h up with rest of includes. Simplify conditionals
20771 controlling definition of _IO_JUMPS_OFFSET.
20773 * csu/init.c: Remove always-true #if around entire file.
20774 Don't include stdio.h. Set _IO_stdin_used to hardwired
20775 constant 0x20001, and update commentary.
20776 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
20777 Replace all uses of _G_va_list with __gnuc_va_list.
20778 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
20779 instead of #if _IO_HAVE_ST_BLKSIZE.
20780 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
20781 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
20784 * libio/bits/libio.h: Move back to libio/libio.h and adjust
20785 multiple-include guard to match.
20786 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
20788 Remove preprocessor conditionals that are always true and/or
20789 redundant to other preprocessor conditionals in the same nest.
20790 Include shlib-compat.h unconditionally.
20791 Error out if _LIBC is not defined, or if _ISOMAC is defined,
20792 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
20793 defined after including stdio.h.
20794 Use __BEGIN_DECLS/__END_DECLS.
20796 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
20797 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
20798 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
20800 2018-02-07 Zack Weinberg <zackw@panix.com>
20802 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
20803 New single-type headers split from _G_config.h.
20804 * libio/bits/types/cookie_io_functions_t.h
20805 * libio/bits/types/struct_FILE.h
20806 New single-type headers split from libio.h.
20808 * libio/Makefile: Install the above new headers. Don't install
20809 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
20811 * libio/_G_config.h, libio/libio.h: Delete file.
20813 * libio/bits/libio.h: Remove improper-inclusion guard.
20814 Include stdio.h and don't repeat anything that it does.
20815 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
20816 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
20817 __io_read_fn as cookie_read_function_t,
20818 __io_write_fn as cookie_write_function_t,
20819 __io_seek_fn as cookie_seek_function_t,
20820 __io_close_fn as cookie_close_function_t,
20821 and _IO_cookie_io_functions_t as cookie_io_functions_t.
20822 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
20823 here, in the "compatibility defines" section. Remove an #if 0
20824 block. Use the "body" macros from bits/types/struct_FILE.h to
20825 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
20826 and _IO_ferror_unlocked.
20827 Move prototypes of __uflow and __overflow...
20829 * libio/stdio.h: ...here. Don't include bits/libio.h.
20830 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
20831 directly from stdarg.h. Include bits/types/__fpos_t.h,
20832 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
20833 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
20834 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
20835 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
20836 cookie_io_functions_t, not _IO_cookie_io_functions_t;
20837 __ssize_t, not _IO_ssize_t. Unconditionally define
20838 BUFSIZ as 8192 and EOF as (-1).
20840 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
20841 macros from bits/types/struct_FILE.h instead of _IO_* macros
20842 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
20843 instead of _IO_ssize_t.
20844 * libio/bits/stdio2.h: Similarly.
20846 * libio/iolibio.h: Add multiple-include guard.
20847 Include bits/libio.h after stdio.h.
20848 * libio/libioP.h: Add multiple-include guard.
20849 Include stdio.h and bits/libio.h before iolibio.h.
20851 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
20852 * include/bits/types/cookie_io_functions_t.h
20853 * include/bits/types/struct_FILE.h: New wrappers.
20855 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
20856 Get definitions of _G_fpos_t and _G_fpos64_t from
20857 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
20858 respectively. Remove improper-inclusion guards.
20860 * conform/data/stdio.h-data: Update expectations of va_list.
20861 * scripts/check-installed-headers.sh: Remove special case for
20862 libio.h and _G_config.h.
20864 2018-02-07 Joseph Myers <joseph@codesourcery.com>
20868 * include/sys/sysmacros.h [!_ISOMAC]
20869 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
20870 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
20871 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
20872 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
20874 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
20875 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
20877 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
20878 Undefine and redefine to add use __gnu_dev_ prefix.
20879 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
20881 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
20882 and define as hidden inline function.
20883 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
20885 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
20887 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
20888 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
20889 (gnu_dev_minor): Likewise.
20890 (gnu_dev_makedev): Likewise.
20891 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
20893 * posix/wordexp.c (exec_comm_child): Likewise.
20894 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
20895 instead of minor and __gnu_dev_major instead of major.
20896 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
20897 __gnu_dev_major instead of major.
20898 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
20899 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
20900 instead of gnu_dev_minor.
20901 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
20902 (SLAVE_P): Likewise.
20903 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
20904 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
20908 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
20910 * locale/weightwc.h (findidx): Likewise.
20912 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
20914 * manual/probes.texi (slowlog): Delete documentation of removed probe.
20915 (slowlog_inexact): Likewise
20916 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
20917 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
20919 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
20922 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
20923 missing second underscore to parameter name.
20925 2018-02-06 Joseph Myers <joseph@codesourcery.com>
20931 * bits/byteswap.h: Update file comment. Do not include
20932 <bits/byteswap-16.h>.
20933 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
20935 (__bswap_16): Define as inline function.
20936 (__bswap_constant_32): Reformat definition.
20937 (__bswap_32): Always define as inline function, not macro, using
20938 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
20939 otherwise __bswap_constant_32.
20940 (__bswap_constant_64): Reformat definition. Do not use
20941 __extension__ here.
20942 (__bswap_64): Always define as inline function, not macro. Use
20943 __extension__ on function definition. Use __builtin_bswap64 if
20944 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
20945 * string/test-endian-file-scope.c: New file.
20946 * string/test-endian-sign-conversion.c: Likewise.
20947 * string/Makefile (headers): Remove bits/byteswap-16.h.
20948 (tests): Add test-endian-file-scope and
20949 test-endian-sign-conversion.
20950 (CFLAGS-test-endian-sign-conversion.c): New variable.
20951 * bits/byteswap-16.h: Remove file.
20952 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
20953 * sysdeps/ia64/bits/byteswap.h: Likewise.
20954 * sysdeps/m68k/bits/byteswap.h: Likewise.
20955 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20956 * sysdeps/s390/bits/byteswap.h: Likewise.
20957 * sysdeps/tile/bits/byteswap.h: Likewise.
20958 * sysdeps/x86/bits/byteswap-16.h: Likewise.
20959 * sysdeps/x86/bits/byteswap.h: Likewise.
20962 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
20963 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
20964 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
20965 199901L] (__restrict): Define to restrict.
20968 * string/testcopy.c: Include <support/support.h>. Do not include
20969 <malloc.h>. Use <support/test-driver.c>.
20970 (main): Rename to do_test. Make static. Use xmalloc instead of
20974 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
20975 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
20976 (SSIZE_MAX): Define to INT_MAX.
20977 * posix/test-ssize-max.c: New file.
20978 * posix/Makefile (tests): Add test-ssize-max.
20981 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
20982 <support/support.h>. Do not include <malloc.h>.
20983 (query_auxv): Use xmalloc instead of malloc.
20986 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
20987 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
20990 2018-02-06 Florian Weimer <fweimer@redhat.com>
20993 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20994 Use scratch_buffer instead of extend_alloca.
20996 2018-02-06 Zack Weinberg <zackw@panix.com>
20998 * libio/stdio.h: Don't define getc or putc as macros.
20999 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
21000 not _IO_getc and _IO_putc.
21002 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
21003 * stdio-common/tstgetln.c: Don't redefine ssize_t.
21005 2018-02-06 Joseph Myers <joseph@codesourcery.com>
21007 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
21008 (TCP_FASTOPEN_NO_COOKIE): Likewise.
21010 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
21013 * elf/elf.h (NT_PRFPREG): New macro.
21014 (NT_S390_VXRS_LOW): Likewise.
21015 (NT_S390_VXRS_HIGH): Likewise.
21016 (NT_S390_GS_CB): Likewise.
21017 (NT_S390_GS_BC): Likewise.
21018 (NT_S390_RI_CB): Likewise.
21020 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
21021 (MAP_SYNC): New macro.
21022 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
21024 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
21025 (MAP_SYNC): Likewise.
21026 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
21027 (MAP_SYNC): Likewise.
21028 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
21029 (MAP_SYNC): Likewise.
21030 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
21031 (MAP_SYNC): Likewise.
21032 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
21033 (MAP_SYNC): Likewise.
21034 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
21035 (MAP_SYNC): Likewise.
21036 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
21038 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
21041 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
21042 (MAP_SHARED_VALIDATE): New macro.
21043 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
21044 (MAP_SHARED_VALIDATE): Likewise.
21046 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21048 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
21049 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
21050 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
21052 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21054 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
21055 (DT_NUM): Updated to 35.
21057 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21059 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
21060 __builtin_expect with __glibc_likely and __glibc_unlikely.
21061 (elf_machine_rela): Likewise.
21062 (elf_machine_lazy_rel): Likewise.
21064 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21066 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
21067 __builtin_expect with __glibc_likely and __glibc_unlikely.
21068 (elf_machine_lazy_rel): Likewise.
21070 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21073 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
21075 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
21077 2018-02-05 Andreas Schwab <schwab@suse.de>
21080 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
21083 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21085 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
21086 not check against PTHREAD_STACK_MIN.
21088 2018-02-02 Sean McKean <smckean83@gmail.com>
21091 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
21093 2018-02-02 Florian Weimer <fweimer@redhat.com>
21096 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
21097 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
21098 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
21099 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
21100 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
21101 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
21102 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
21103 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
21104 * manual/llio.texi (Scatter-Gather): Mention offset -1.
21105 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
21106 * misc/tst-preadvwritev2.c (do_test): Call it.
21107 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
21109 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
21111 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
21113 * benchtests/bench-memcmp.c: Print json instead of plain text.
21115 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
21118 2018-02-01 Joseph Myers <joseph@codesourcery.com>
21120 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
21122 (s390_sthyi): New syscall.
21124 * sysdeps/generic/ldbl-classify-compat.h: New file.
21125 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
21126 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
21127 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
21128 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
21129 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
21130 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
21131 * sysdeps/ieee754/dbl-64/s_finite.c: Include
21132 <ldbl-classify-compat.h>.
21133 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21134 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
21135 <ldbl-classify-compat.h>.
21136 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21137 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
21138 <ldbl-classify-compat.h>.
21139 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21140 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
21141 <ldbl-classify-compat.h>.
21142 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21143 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
21144 <ldbl-classify-compat.h>.
21145 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21146 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
21147 <ldbl-classify-compat.h>.
21148 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21149 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
21150 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
21151 * sysdeps/m68k/coldfire/math_private.h: Remove file.
21152 * sysdeps/microblaze/math_private.h: Likewise.
21153 * sysdeps/nios2/math_private.h: Likewise.
21154 * sysdeps/sh/math_private.h: Likewise.
21156 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
21157 * sysdeps/m68k/coldfire/math_private.h: ... here.
21158 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
21159 * sysdeps/tile/math_private.h: Likewise.
21160 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
21162 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
21165 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
21167 (libc_fetestexcept): Likewise.
21168 (libc_feupdateenv_test): Likewise.
21169 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
21170 (libc_fetestexcept): Likewise.
21171 (libc_feupdateenv_test): Likewise.
21172 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
21173 (libc_fetestexcept): Likewise.
21174 (libc_feupdateenv_test): Likewise.
21175 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
21176 (libc_fetestexcept): Likewise.
21177 (libc_feupdateenv_test): Likewise.
21179 * sysdeps/generic/math_private.h
21180 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
21181 New inline function.
21182 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
21185 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
21186 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
21187 * sysdeps/generic/math_private.h
21188 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
21190 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
21192 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
21194 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
21196 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
21198 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
21200 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
21201 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
21202 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
21203 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
21204 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
21205 (__fegetenv): Likewise.
21206 (fesetenv): Likewise.
21207 (__fesetenv): Likewise.
21208 (feupdateenv): Likewise.
21209 (__feupdateenv): Likewise.
21210 (fegetround): Likewise.
21211 (__fegetround): Likewise.
21212 (fesetround): Likewise.
21213 (__fesetround): Likewise.
21215 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
21216 (feraiseexcept): New macro.
21217 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
21218 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
21220 (__feraiseexcept): Likewise.
21221 (feclearexcept): Likewise.
21222 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
21223 (__feraiseexcept): Likewise.
21224 (feclearexcept): Likewise.
21225 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
21226 (__feraiseexcept): Likewise.
21227 (feclearexcept): Likewise.
21228 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
21229 (__feraiseexcept): Likewise.
21230 (feclearexcept): Likewise.
21231 (fetestexcept): Likewise.
21233 * sysdeps/m68k/coldfire/math-tests.h: New file.
21235 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
21236 * sysdeps/m68k/bits/fenv.h: ... here.
21237 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
21239 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
21241 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
21243 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
21245 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
21247 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
21249 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
21250 (__FE_UNDEFINED): New enum constant.
21251 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
21253 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
21255 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
21257 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
21258 to match generic bits/fenv.h.
21259 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
21262 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
21264 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
21265 * soft-fp/half.h (union _FP_UNION_H): Likewise.
21266 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
21267 * soft-fp/single.h (union _FP_UNION_S): Likewise.
21269 2018-02-01 Carlos O'Donell <carlos@redhat.com>
21270 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
21271 Joseph Myers <joseph@codesourcery.com>
21274 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
21275 (__log1p): Disable -Wmaybe-uninitialized for -Os around
21276 computation using c.
21277 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
21278 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
21279 computation using c.
21281 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
21283 * version.h (RELEASE): Set to "development".
21284 (VERSION): Set to "2.27.9000".
21285 * NEWS (2.28): New section.
21287 * version.h (RELEASE): Set to "stable".
21288 (VERSION): Set to "2.27".
21289 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
21291 * NEWS: Add the list of bugs fixed in 2.27.
21293 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21295 * stdlib/test-atexit-race-common.c (do_test): Check stack size
21296 against PTHREAD_STACK_MIN.
21298 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
21300 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
21302 (Rafal Luzynski, Andreas Schwab): Update.
21304 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
21307 * NEWS: List the languages which actually use the alternative
21308 months feature in this release. Also explain that "alt_mon" and
21309 "ab_alt_mon" are optional.
21311 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
21314 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
21316 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
21318 * manual/install.texi (Tools for Compilation): Update the newest
21319 versions of gcc, binutils, texinfo, gawk, bison, and sed.
21320 * INSTALL: Regenerated.
21322 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21324 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
21325 instead of __builtin_expect.
21327 2018-01-30 Florian Weimer <fweimer@redhat.com>
21329 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
21331 * nss/tst-nss-getpwent.c (do_test): Likewise.
21333 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
21336 * localedata/locales/hr_HR (mon): Rename to...
21338 (mon): Import from CLDR (genitive case).
21339 (d_t_fmt): Update the comment.
21341 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
21343 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
21344 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
21345 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
21347 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
21349 * mach/Versions: Fix version when __mach_host_self_ was added.
21350 * hurd/Versions: Fix version when _hurd_exec_paths was added.
21351 * sysdeps/mach/hurd/i386/ld.abilist: New file.
21352 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
21353 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
21354 * sysdeps/mach/hurd/i386/libc.abilist: New file.
21355 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
21356 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
21357 * sysdeps/mach/hurd/i386/libm.abilist: New file.
21358 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
21359 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
21360 * sysdeps/mach/hurd/i386/librt.abilist: New file.
21361 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
21362 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
21363 || to respect codestyle.
21364 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
21365 (do_test_bz20181): Rename accordingly.
21366 * malloc/malloc.c: Include <assert.h>.
21367 (assert): Do not define.
21368 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
21369 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
21370 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
21371 * sysdeps/mach/hurd/hp-timing.h: New file.
21372 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
21374 2018-01-29 Darius Rad <darius@bluespec.com>
21376 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
21378 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
21380 * sysdeps/init_array/crti.S (.section .init_array): Add
21381 PREINIT_FUNCTION when defined.
21382 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
21383 * config.h.in: Regenerate.
21384 * manual/platform.texi: Add RISC-V documenation for
21385 __riscv_flush_icache.
21386 * sysdeps/riscv/__longjmp.S: New file.
21387 * sysdeps/riscv/backtrace.c: Likewise.
21388 * sysdeps/riscv/bits/endian.h: Likewise.
21389 * sysdeps/riscv/bits/setjmp.h: Likewise.
21390 * sysdeps/riscv/bits/wordsize.h: Likewise.
21391 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
21392 * sysdeps/riscv/bsd-setjmp.c: Likewise.
21393 * sysdeps/riscv/dl-trampoline.S: Likewise.
21394 * sysdeps/riscv/gccframe.h: Likewise.
21395 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
21396 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
21397 * sysdeps/riscv/machine-gmon.h: Likewise.
21398 * sysdeps/riscv/memusage.h: Likewise.
21399 * sysdeps/riscv/setjmp.S: Likewise.
21400 * sysdeps/riscv/sys/asm.h: Likewise.
21401 * sysdeps/riscv/tls-macros.h: Likewise.
21402 * sysdeps/riscv/dl-tls.h: New file.
21403 * sysdeps/riscv/libc-tls.c: Likewise.
21404 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
21405 * sysdeps/riscv/nptl/tls.h: Likewise.
21406 * sysdeps/riscv/stackinfo.h: Likewise.
21407 * sysdeps/riscv/bits/fenv.h: New file.
21408 * sysdeps/riscv/e_sqrtl.c: Likewise.
21409 * sysdeps/riscv/fpu_control.h: Likewise.
21410 * sysdeps/riscv/math-tests.h: Likewise.
21411 * sysdeps/riscv/nofpu/Implies: Likewise.
21412 * sysdeps/riscv/sfp-machine.h: Likewise.
21413 * sysdeps/riscv/tininess.h: Likewise.
21414 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
21415 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
21416 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
21417 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
21418 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
21419 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
21420 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
21421 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
21422 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
21423 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
21424 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
21425 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
21426 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
21427 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
21428 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
21429 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
21430 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
21431 * sysdeps/riscv/rvd/s_finite.c: Likewise.
21432 * sysdeps/riscv/rvd/s_fma.c: Likewise.
21433 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
21434 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
21435 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
21436 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
21437 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
21438 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
21439 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
21440 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
21441 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
21442 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
21443 * sysdeps/riscv/rvf/fegetround.c: Likewise.
21444 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
21445 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
21446 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
21447 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
21448 * sysdeps/riscv/rvf/fesetround.c: Likewise.
21449 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
21450 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
21451 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
21452 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
21453 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
21454 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
21455 * sysdeps/riscv/rvf/math_private.h: Likewise.
21456 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
21457 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
21458 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
21459 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
21460 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
21461 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
21462 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
21463 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
21464 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
21465 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
21466 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
21467 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
21468 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
21469 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
21470 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
21471 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
21472 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
21473 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
21474 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
21475 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
21476 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
21477 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
21478 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
21479 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
21480 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
21481 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
21482 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
21483 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
21484 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
21485 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
21486 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
21487 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
21488 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
21489 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
21490 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
21491 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
21492 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
21493 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
21494 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
21495 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
21496 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
21497 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
21498 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
21499 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
21500 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
21501 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
21502 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
21503 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
21504 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
21505 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
21506 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
21507 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
21508 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
21509 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
21510 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
21511 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
21512 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
21513 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
21514 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
21515 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
21516 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
21517 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
21518 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
21519 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
21520 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
21521 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
21522 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
21523 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
21524 * sysdeps/riscv/Implies: New file.
21525 * sysdeps/riscv/Makefile: Likewise.
21526 * sysdeps/riscv/configure: Likewise.
21527 * sysdeps/riscv/configure.ac: Likewise.
21528 * sysdeps/riscv/nptl/Makefile: Likewise.
21529 * sysdeps/riscv/preconfigure: Likewise.
21530 * sysdeps/riscv/rv64/Implies-after: Likewise.
21531 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
21532 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
21533 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
21534 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
21535 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
21536 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
21537 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
21538 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
21539 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
21540 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
21541 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
21542 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
21543 (Config): Likewise.
21545 2018-01-29 Florian Weimer <fweimer@redhat.com>
21548 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
21549 libnsl_hidden_proto.
21550 * include/rpcsvc/yp.h (yp_xdrall): Declare with
21551 libnsl_hidden_proto.
21552 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
21553 * nis/Makefile (libnsl-routines): Add nss-default only for
21554 build-obsolete-nsl.
21555 * nis/nis_defaults.c (__nis_default_ttl): Add
21556 libnsl_hidden_nolink_def.
21557 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
21559 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
21560 * nis/ypclnt.c (yp_maplist): Likewise.
21562 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
21564 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21565 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
21567 2018-01-29 Joseph Myers <joseph@codesourcery.com>
21569 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
21570 clean -dxfq for git updates when replacing sources.
21572 * scripts/build-many-glibcs.py (Config.build_gcc): Use
21573 --disable-libcilkrts unconditionally, not just for the final GCC
21576 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
21579 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
21582 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
21585 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
21588 * localedata/locales/be_BY (mon): Rename to...
21589 (alt_mon): This, then synchronize with CLDR (nominative case).
21590 (abmon): Rename to...
21591 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
21592 (mon): Import from CLDR (genitive case).
21594 * localedata/locales/be_BY@latin (mon): Rename to...
21596 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
21598 * localedata/locales/be_BY@latin (lang_name): Reworded to
21599 "biełaruskaja mova".
21601 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
21604 * localedata/locales/el_CY (mon): Renamed to...
21606 (mon): Import from CLDR (genitive case).
21607 * localedata/locales/el_GR: Likewise.
21609 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
21612 * localedata/locales/ru_RU (mon): Rename to...
21614 (abmon): Rename to...
21615 (ab_alt_mon): This.
21616 (mon): Import from CLDR (genitive case).
21617 (abmon): Copy from the old content except the 5th month which is
21618 now in the genitive case, even when abbreviated.
21619 * localedata/locales/ru_UA: Likewise.
21620 * time/tst-strptime.c (day_tests): Add an actual example of
21621 a difference between %b and %Ob in Russian.
21623 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
21625 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
21626 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
21628 * resolv/res-close.c: Include <stdlib.h>.
21629 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
21630 <sys/wait.h>, <time.h>, <sys/uio.h>.
21631 (NOT_CANCEL_H): Add inclusion guard.
21632 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
21633 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
21634 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
21636 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
21637 vm_address_t * to ElfW(Addr) * for dl_main parameter.
21638 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
21640 * sysdeps/pthread/timer_create.c (timer_create): Do not use
21641 timer_ptr2id to cast struct timer_node * to void *.
21642 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
21643 --disable-libcilkrts to gcc configure.
21644 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
21645 and make them the default for now.
21646 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
21647 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
21648 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
21649 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
21650 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
21652 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
21653 __task_terminate would ever return successfully.
21654 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
21656 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
21657 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
21658 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
21659 critical section to make code simpler and avoid warning.
21660 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
21661 critical section to make code simpler and avoid warning.
21662 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
21663 const char * instead of char *.
21664 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
21665 __hurd_file_name_split, hurd_file_name_split,
21666 __hurd_directory_name_split, hurd_directory_name_split,
21667 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
21668 hurd_file_name_path_lookup): Make lookup function parameter take a
21669 const char *name instead of char *name.
21670 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
21671 __hurd_directory_name_split): Likewise.
21672 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
21673 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
21674 * sysdeps/mach/hurd/check_native.c: New file.
21675 * sysdeps/mach/hurd/check_pf.c: New file.
21676 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
21677 (__freeifaddrs): Define macro to freeifaddrs.
21678 * sysdeps/mach/hurd/libhurduser.abilist: New file.
21679 * sysdeps/mach/libmachuser.abilist: New file.
21680 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
21681 (do_test_bz20181): Rename accordingly.
21682 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
21683 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
21685 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
21686 version only if __USE_EXTERN_INLINES is defined.
21687 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
21688 __hurd_sockfail): Likewise.
21689 (_hurd_fd_get): Always declare functions, and provide inline versions
21690 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
21691 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
21692 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
21693 _hurd_port_set): Always declare functions, and provide inline versions
21694 only if __USE_EXTERN_INLINES and _LIBC are defined and
21696 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
21697 _hurd_critical_section_unlock): Likewise.
21698 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
21699 * __hurd_threadvar_location): Likewise.
21700 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
21701 _hurd_userlink_clear): Likewise.
21702 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
21703 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
21704 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
21705 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
21706 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
21707 __spin_lock_locked): Likewise.
21708 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
21709 __spin_lock_locked): Likewise.
21710 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
21711 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
21712 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
21713 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
21714 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
21715 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
21716 _POSIX_NO_TRUNC): Define to 0.
21717 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
21718 check size against PTHREAD_STACK_MIN.
21719 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
21720 IS_IN(libpthread)]: Include <sigsetops.h>.
21721 * mach/Makefile (user-interfaces): Add mach/gnumach.
21722 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
21723 * sysdeps/mach/configure (mach_interface_list): Regenerate.
21724 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
21725 instead of invalid -1.
21726 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
21727 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
21728 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
21731 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
21733 * hurd/fcntl-internal.h: New file.
21735 2018-01-27 James Clarke <jrtc27@jrtc27.com>
21737 * sysdeps/hppa/fpu/libm-test-ulps: Update.
21739 * sysdeps/alpha/fpu/libm-test-ulps: Update.
21741 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
21744 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
21745 Build only shared objects.
21747 2018-01-26 Carlos O'Donell <carlos@redhat.com>
21749 * README: Update for hppa.
21751 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21753 * sysdeps/sparc/fpu/libm-test-ulps: Update
21754 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
21756 2018-01-26 Carlos O'Donell <carlos@redhat.com>
21760 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21763 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21764 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
21765 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21766 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
21769 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21772 * bits/types/__cancel_jmp_buf_tag.h: New file.
21773 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
21774 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
21775 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
21776 * nptl/Makefile (headers): Add
21777 bits/types/__cancel_jmp_buf_tag.h.
21778 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
21779 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
21780 * sysdeps/nptl/pthread.h: Include
21781 <bits/types/__cancel_jmp_buf_tag.h>.
21782 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
21784 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
21786 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
21789 * localedata/locales/uk_UA (mon): Renamed to...
21791 (alt_digits): "0" removed and then renamed to...
21793 (date_fmt): Definition changed not to use the alternative
21796 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
21798 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
21799 FLAG_RISCV_FLOAT_ABI_DOUBLE.
21800 * elf/elf.h (EF_RISCV_RVC): New define.
21801 (EF_RISCV_FLOAT_ABI): Likewise.
21802 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
21803 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
21804 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
21805 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
21806 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
21808 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
21810 2018-01-25 Andreas Schwab <schwab@suse.de>
21812 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
21814 * sysdeps/gnu/configure: Regenerate.
21815 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
21816 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
21818 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
21819 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
21820 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
21821 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
21822 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
21824 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
21826 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
21827 URL, and run autoconf, make it the default for now.
21829 2018-01-24 Joseph Myers <joseph@codesourcery.com>
21831 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21832 soft-float ColdFire configuration.
21834 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
21835 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
21836 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
21838 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
21841 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
21843 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
21845 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
21848 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
21849 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
21850 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
21853 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
21856 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
21857 Rename to __reserved and add comment.
21858 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
21859 Rename to __reserved.
21861 2018-01-24 Joseph Myers <joseph@codesourcery.com>
21863 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21864 i686-gnu configurations.
21865 (Context.run_builds): Include mig, gnumach and hurd in components
21867 (Context.checkout): Add mig, gnumach and hurd to components.
21868 (Context.checkout_tar): Add URL mappings for mig, gnumach and
21870 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
21871 (Config.build): Install gnumach headers, build mig and install
21872 hurd headers for 'gnu' OS.
21873 (Config.install_gnumach_headers): New function.
21874 (Config.install_hurd_headers): Likewise.
21875 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
21876 when building for 'gnu' OS.
21878 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
21880 * manual/tunables.texi (Hardware Capability Tunables): Fix
21883 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
21885 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
21886 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
21887 (ALTMON_11, ALTMON_12): Improve documentation.
21888 * manual/time.texi (strftime): Likewise.
21890 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
21893 * localedata/locales/pl_PL: Alternative month names added,
21894 primary month names are genitive now.
21895 * time/tst-strptime.c (day_tests): Actually use a genitive case
21896 of a month name in Polish language.
21898 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
21901 * manual/locale.texi: Document ALTMON_1..12 constants for
21902 nl_langinfo. Specify when to use ALTMON instead of MON.
21903 * manual/time.texi (strftime, strptime): Document GNU extension
21904 permitting O modifier with %B and %b. Specify when to use
21907 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
21910 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
21911 names, define them as the same as abbreviated month names explicitly.
21912 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
21913 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
21914 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
21915 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
21916 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
21917 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
21918 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
21919 _NL_WABALTMON_12): New enum constants.
21920 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
21921 wab_alt_mon, and ab_alt_mon_defined members.
21922 (time_output): Output ab_alt_mon and wab_alt_mon members.
21923 (time_read): Read them, initialize them as copies of abmon and wabmon
21924 respectively if they are missing, initialize ab_alt_mon_defined.
21925 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
21926 * locale/programs/locfile-kw.h: Regenerate.
21927 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
21928 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
21930 * time/strftime_l.c (a_altmonth, aam_len): New macros.
21931 [!COMPILE_WIDE] (ABALTMON_1): New macro.
21932 (__strftime_internal): Handle %Ob and %Oh formats.
21933 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
21934 (__strptime_internal): Handle %Ob and %Oh formats.
21935 * time/tst-strptime.c (day_tests): Add more tests to parse different
21936 forms of month names including the new %Ob format specifier.
21938 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
21941 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
21942 define them as the same as primary full month names explicitly.
21943 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
21944 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
21945 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
21946 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
21947 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
21948 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
21949 _NL_WALTMON_12): New enum constants.
21950 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
21951 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
21953 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
21954 walt_mon, and alt_mon_defined members.
21955 (time_output): Output alt_mon and walt_mon members.
21956 (time_read): Read them, initialize them as copies of mon and wmon
21957 respectively if they are missing, initialize alt_mon_defined.
21958 * locale/programs/locfile-kw.gperf (alt_mon): Define.
21959 * locale/programs/locfile-kw.h: Regenerate.
21960 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
21961 * localedata/tst-langinfo.c (map): Add tests for the new constants
21962 ALTMON_1 .. ALTMON_12.
21963 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
21965 * time/strftime_l.c (f_altmonth): New macro.
21966 (__strftime_internal): Handle %OB format.
21967 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
21968 (__strptime_internal): Handle %OB format.
21969 * time/tst-strptime.c (day_tests): Add tests to parse different forms
21970 of month names including the new %OB format specifier.
21972 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21975 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
21976 from ABORT_TRANSACTION.
21977 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
21978 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
21979 ABORT_TRANSACTION_IMPL): Likewise.
21980 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
21981 Linux code, but remove the code that aborts transactions.
21983 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
21985 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
21987 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
21989 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
21990 in date: "2004-14-09" should be "2004-09-14".
21991 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
21992 "2003-15-09" should be "2003-09-15".
21994 2018-01-18 Arjun Shankar <arjun@redhat.com>
22000 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
22002 (_int_memalign): check for integer overflow before calling
22004 * malloc/tst-malloc-too-large.c: New test.
22005 * malloc/Makefile: Add tst-malloc-too-large.
22007 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
22009 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
22010 in date: "2017-24-07" should be "2017-07-24".
22011 * localedata/locales/mai_IN: Likewise.
22012 * localedata/locales/mai_NP: Likewise.
22014 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
22016 * po/ru.po: Update translations.
22018 2018-01-17 Joseph Myers <joseph@codesourcery.com>
22021 * sysdeps/hppa/backtrace.c: New file.
22023 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
22026 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
22027 align La_x86_64_retval to VEC_SIZE.
22029 2018-01-16 Joseph Myers <joseph@codesourcery.com>
22031 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
22032 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
22034 2018-01-16 Florian Weimer <fweimer@redhat.com>
22036 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
22037 Move tst-thread-exit-clobber ...
22038 [$(CXX)] (tests-unsupported): ... to here.
22040 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
22042 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
22043 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
22044 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
22045 (_dl_aarch64_cap_flags): Update.
22046 (_DL_HWCAP_COUNT): Update.
22048 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
22050 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
22051 (_DL_HWCAP_LAST): Remove.
22052 (_DL_HWCAP_COUNT): Move to ...
22053 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
22054 (_DL_HWCAP_COUNT): ... here.
22056 2018-01-16 Florian Weimer <fweimer@redhat.com>
22058 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
22059 mode with GNU extensions.
22061 2018-01-15 Alan Hayward <alan.hayward@arm.com>
22063 * elf/elf.h (NT_ARM_SVE): Define.
22065 2018-01-15 Florian Weimer <fweimer@redhat.com>
22068 * nptl/tst-minstack-throw.cc: New file.
22069 * nptl/Makefile (tests): Add tst-minstack-throw.
22070 (LDLIBS-tst-minstack-throw): Link with libstdc++.
22071 [!CXX] (tests-unsupported): Add tst-minstack-throw.
22073 2018-01-15 Joseph Myers <joseph@codesourcery.com>
22075 * scripts/build-many-glibcs.py (Context.checkout): Default
22076 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
22079 2018-01-13 Carlos O'Donell <carlos@redhat.com>
22082 * elf/elf.h (DF_1_STUB): Define.
22083 (DF_1_PIE): Define.
22085 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22088 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
22089 Do not add 0.5 to integer or out-of-range arguments.
22091 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
22093 * po/bg.po: Update translations.
22094 * po/cs.po: Likewise.
22095 * po/de.po: Likewise.
22096 * po/ko.po: Likewise.
22097 * po/pl.po: Likewise.
22098 * po/sv.po: Likewise.
22099 * po/uk.po: Likewise.
22100 * po/vi.po: Likewise.
22102 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
22104 * aarch64/start.S (_start): Use __wrap_main.
22105 (__wrap_main): New local symbol.
22107 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
22111 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
22112 generic_getcwd if the path returned by getcwd syscall is not absolute.
22113 * io/tst-getcwd-abspath.c: New test.
22114 * io/Makefile (tests): Add tst-getcwd-abspath.
22116 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
22118 * malloc/malloc.c (malloc_consolidate): Add size check.
22120 2018-01-12 Florian Weimer <fweimer@redhat.com>
22122 * support/write_message.c (write_message): Preserve errno.
22123 * support/check.c (print_failure): Likewise.
22124 * support/support_test_verify_impl.c (support_test_verify_impl):
22126 * support/support_test_compare_failure.c
22127 (support_test_compare_failure): Likewise.
22129 2018-01-12 Florian Weimer <fweimer@redhat.com>
22132 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
22133 Prevent installation of libnsl.so.
22134 (libnsl-inhibit-o): Do not build (or install) static libraries.
22136 2018-01-12 Egmont Koblinger <egmont@gmail.com>
22139 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
22140 before the day number which may produce a double space.
22141 (date_fmt): Likewise.
22143 2018-01-12 Joseph Myers <joseph@codesourcery.com>
22145 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
22146 instead of fegetenv.
22148 2018-01-11 Joseph Myers <joseph@codesourcery.com>
22151 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
22152 comment to say exceptions are discarded.
22153 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
22155 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
22158 2018-01-11 Florian Weimer <fweimer@redhat.com>
22160 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
22163 2018-01-11 Florian Weimer <fweimer@redhat.com>
22166 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
22167 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
22169 2018-01-10 Joseph Myers <joseph@codesourcery.com>
22172 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
22173 negative arguments in test for NaN or infinity argument.
22175 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
22177 * po/libc.pot: Regenerate.
22179 2018-01-10 Florian Weimer <fweimer@redhat.com>
22182 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
22183 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
22185 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22187 * hurd/hurd/fd.h: Include <fcntl.h>
22188 (__hurd_at_flags): New function.
22189 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
22190 with call to __hurd_at_flags.
22191 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
22192 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
22194 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
22195 (__access_noerrno): Use __faccessat_common instead of access_common.
22196 (__access): Likewise.
22197 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
22198 with a call to __faccessat.
22199 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
22200 (__faccessat_common): ... this. Move implementation of __access into it when
22201 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
22202 reauthenticate_cwdir_at helper to implement AT mechanism.
22203 (__faccessat_noerrno): New function, just calls __faccessat_common.
22204 (__faccessat): New function, just calls __faccessat_common.
22205 (faccessat): Define weak alias.
22207 2018-01-10 Joseph Myers <joseph@codesourcery.com>
22210 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22211 (CFLAGS-s_fmaxmagl.c): New variable.
22212 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
22215 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
22216 long int for arguments of possibly overflowing addition or
22218 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
22220 2018-01-09 Joseph Myers <joseph@codesourcery.com>
22223 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22224 (CFLAGS-e_remainderl.c): New variable.
22227 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
22229 (CFLAGS-s_cacoshl.c): Likewise.
22230 (CFLAGS-s_casinhl.c): Likewise.
22231 (CFLAGS-s_catanl.c): Likewise.
22232 (CFLAGS-s_catanhl.c): Likewise.
22233 (CFLAGS-s_cexpl.c): Likewise.
22234 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
22235 (CFLAGS-s_csinhl.c): Likewise.
22236 (CFLAGS-s_clogl.c): Likewise.
22237 (CFLAGS-s_clog10l.c): Likewise.
22238 (CFLAGS-s_csinl.c): Likewise.
22239 (CFLAGS-s_csqrtl.c): Likewise.
22241 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
22242 2017-01-09 Svante Signell <svante.signell@gmail.com>
22244 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
22245 (_hurd_exec_paths): New function.
22246 * hurd/hurd.h (_hurd_exec): Deprecate function.
22247 (_hurd_exec_paths): Declare function.
22248 * hurd/Versions: Export _hurd_exec_paths.
22249 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
22250 (__execve): Use __getcwd to build absolute path, and use
22251 _hurd_exec_paths instead of _hurd_exec.
22252 * sysdeps/mach/hurd/spawni.c: Likewise.
22253 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
22256 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
22258 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
22259 test instead of failing in case of ENOENT returned by posix_openpt.
22261 2018-01-08 Florian Weimer <fweimer@redhat.com>
22263 resolv: Support binary labels in test framework.
22264 * support/resolv_test.c (struct to_be_freed): Remove.
22265 (struct compressed_name): New.
22266 (allocate_compressed_name, ascii_tolower)
22267 (compare_compressed_name): New functions.
22268 (struct resolv_response_builder): Update type of
22269 compression_offsets for use with tsearch. Rempve to_be_freed.
22270 (response_push_pointer_to_free): Remove function.
22271 (resolv_response_add_name): Rewrite using struct compressed_name
22272 and tsearch instead of hsearch_r.
22273 (response_builder_allocate): Remove initialization of
22274 compression_offsets.
22275 (response_builder_free): Update for removal of to_be_freed. Use
22276 tdestroy instead of hdestroy_r.
22277 * resolv/Makefile (tests): Add tst-resolv-binary.
22278 (tst-resolv-binary): Link with -lresolv -lpthread.
22280 2018-01-08 Florian Weimer <fweimer@redhat.com>
22282 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
22283 time. Pass positive flag instead of negative flag to
22284 support_test_compare_failure.
22285 (support_test_compare_failure): Change negative parameter to
22287 * support/support_test_compare_failure.c (report)
22288 (support_test_compare_failure): Likewise.
22289 * support/tst-test_compare.c (return_ssize_t, return_int): New.
22290 (do_test): Check int/size_t, ssize_t/size_t comparisons.
22292 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
22295 * nptl/descr.h (stackblock, stackblock_size): Update comments.
22296 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
22297 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
22299 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
22301 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
22303 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22304 Add s_sincosf-sse2 and s_sincosf-fma.
22305 (CFLAGS-s_sincosf-fma.c): New.
22306 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
22307 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
22308 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
22309 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
22310 __sincosf is defined.
22312 2018-01-08 Florian Weimer <fweimer@redhat.com>
22314 * nptl/tst-thread-exit-clobber.cc: New file.
22315 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
22317 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
22318 (tests): Add tst-thread-exit-clobber.
22319 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
22321 2018-01-08 Florian Weimer <fweimer@redhat.com>
22323 * support/check.h (support_static_assert): Define.
22324 (TEST_COMPARE): Use it.
22326 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
22328 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
22329 [!__RLIM_T_MATCHES_RLIM64_T]
22330 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
22331 __getrlimit64. Add libc_hidden_weak.
22333 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
22335 * elf/elf.h (R_RISCV_NONE): New define.
22336 (R_RISCV_32): Likewise.
22337 (R_RISCV_64): Likewise.
22338 (R_RISCV_RELATIVE): Likewise.
22339 (R_RISCV_COPY): Likewise.
22340 (R_RISCV_JUMP_SLOT): Likewise.
22341 (R_RISCV_TLS_DTPMOD32): Likewise.
22342 (R_RISCV_TLS_DTPMOD64): Likewise.
22343 (R_RISCV_TLS_DTPREL32): Likewise.
22344 (R_RISCV_TLS_DTPREL64): Likewise.
22345 (R_RISCV_TLS_TPREL32): Likewise.
22346 (R_RISCV_TLS_TPREL64): Likewise.
22347 * Makerules (make-link-multidir): Make directories before linking into
22349 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
22351 (VDSO_HASH_LINUX_4_15): Likewise.
22352 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
22353 in subdirectories of lib.
22354 * nptl/Makefile (/librt.so): Always depend on
22355 "$(shared-thread-library)".
22357 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22359 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
22360 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
22361 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
22363 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
22364 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
22366 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
22367 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
22368 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
22369 * sysdeps/gnu/glob-lstat-compat.c: New file.
22370 * sysdeps/gnu/glob64-lstat-compat.c: New file.
22371 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
22373 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22375 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
22376 Reserve 16 chars to reloc_addr before calling _itoa_word.
22378 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
22381 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
22382 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
22384 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
22385 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
22387 * resource/tst-getrlimit.c: Add copyright header.
22389 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
22390 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22392 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
22393 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
22394 Define __GI_getrlimit64 as weak alias of __getrlimit64.
22395 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
22397 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
22398 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
22399 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
22400 RLIM64_INFINITY): Fix values to match the kernel ones.
22401 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
22402 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
22403 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
22404 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
22405 getrlimit64@@GLIBC_2_27.
22406 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
22408 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
22409 getrlimit, setrlimit, getrlimit64 and setrlimit64.
22410 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
22411 setrlimit, getrlimit64 and setrlimit64.
22413 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
22416 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
22417 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
22419 2018-01-04 Joseph Myers <joseph@codesourcery.com>
22421 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
22422 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
22423 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
22425 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22429 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
22430 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
22434 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
22435 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
22436 * sysdeps/alpha/fpu/s_floor.c: Likewise.
22437 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
22439 2018-01-04 Florian Weimer <fweimer@redhat.com>
22442 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
22443 Align the stack before calling exit.
22444 * stdlib/tst-makecontext-align.c: New file.
22445 * stdlib/Makefile (tests): Add tst-makecontext-align.
22447 2018-01-04 Florian Weimer <fweimer@redhat.com>
22449 Add support for calling dlvsym from libc.so.
22450 * include/dlfcn.h (__libc_dlvsym): Declare.
22451 * elf/Makefile (tests-static-internal): Add
22452 tst-libc_dlvsym-static.
22453 (tests-internal): Add tst-libc_dlvsym.
22454 (modules-names): Add tst-libc_dlvsym-dso.
22455 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
22456 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
22457 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
22458 object tst-libc_dlvsym-dso.so needs to be built before running
22460 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
22461 * elf/Versions: Export __libc_dlvsym.
22462 * elf/dl-libc.c (struct do_dlvsym_args): New.
22463 (do_dlvsym, __libc_dlvsym): New functions.
22464 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
22465 (_dl_open_hook2): New variable.
22466 (__libc_register_dl_open_hook): Set it.
22467 * elf/tst-libc_dlvsym-dso.c: New file.
22468 * elf/tst-libc_dlvsym-static.c: Likewise.
22469 * elf/tst-libc_dlvsym.c: Likewise.
22470 * elf/tst-libc_dlvsym.h: Likewise.
22472 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
22474 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
22475 include <sys/mount.h>.
22477 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
22479 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
22480 Add __NO_MATH_ERRNO__ check.
22482 2018-01-02 Joseph Myers <joseph@codesourcery.com>
22484 * sysdeps/mips/mips32/libm-test-ulps: Update.
22485 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22487 2018-01-02 Florian Weimer <fweimer@redhat.com>
22489 * misc/tst-pselect.c: Add copyright header.
22491 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
22493 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
22495 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
22497 (settrlimit): Rename into setrlimit.
22498 (__sttrlimit): Rename into __setrlimit.
22500 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
22501 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
22502 never defined in that case.
22504 2018-01-02 Joseph Myers <joseph@codesourcery.com>
22506 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
22508 * sysdeps/arm/libm-test-ulps: Update.
22510 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
22511 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
22513 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22515 * NEWS: Add cosf and sincosf to list of optimized functions.
22517 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
22520 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
22521 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
22522 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
22523 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
22525 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
22528 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
22530 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
22531 making a copy of it.
22533 2018-01-01 Joseph Myers <joseph@codesourcery.com>
22535 * manual/texinfo.tex: Update to version 2017-12-26.21 with
22536 trailing whitespace removed.
22537 * scripts/config.guess: Update to version 2018-01-01.
22538 * scripts/config.sub: Update to version 2018-01-01.
22539 * scripts/move-if-change: Update from gnulib.
22541 * NEWS: Update copyright dates.
22542 * catgets/gencat.c (print_version): Likewise.
22543 * csu/version.c (banner): Likewise.
22544 * debug/catchsegv.sh: Likewise.
22545 * debug/pcprofiledump.c (print_version): Likewise.
22546 * debug/xtrace.sh (do_version): Likewise.
22547 * elf/ldconfig.c (print_version): Likewise.
22548 * elf/ldd.bash.in: Likewise.
22549 * elf/pldd.c (print_version): Likewise.
22550 * elf/sotruss.sh: Likewise.
22551 * elf/sprof.c (print_version): Likewise.
22552 * iconv/iconv_prog.c (print_version): Likewise.
22553 * iconv/iconvconfig.c (print_version): Likewise.
22554 * locale/programs/locale.c (print_version): Likewise.
22555 * locale/programs/localedef.c (print_version): Likewise.
22556 * login/programs/pt_chown.c (print_version): Likewise.
22557 * malloc/memusage.sh (do_version): Likewise.
22558 * malloc/memusagestat.c (print_version): Likewise.
22559 * malloc/mtrace.pl: Likewise.
22560 * manual/libc.texinfo: Likewise.
22561 * nptl/version.c (banner): Likewise.
22562 * nscd/nscd.c (print_version): Likewise.
22563 * nss/getent.c (print_version): Likewise.
22564 * nss/makedb.c (print_version): Likewise.
22565 * posix/getconf.c (main): Likewise.
22566 * scripts/test-installation.pl: Likewise.
22567 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
22569 * All files with FSF copyright notices: Update copyright dates
22570 using scripts/update-copyrights.
22571 * locale/programs/charmap-kw.h: Regenerated.
22572 * locale/programs/locfile-kw.h: Likewise.
22574 2017-12-31 Zack Weinberg <zackw@panix.com>
22576 * libio/bits/libio-ldbl.h: Correct check for improper
22577 inclusion. Add own multiple include guard.
22579 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
22580 Dmitry V. Levin <ldv@altlinux.org>
22584 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
22585 string token expansion. Check for NULL pointer or empty string possibly
22586 returned by expand_dynamic_string_token.
22587 (decompose_rpath): Check for empty path after dynamic string
22590 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
22593 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
22595 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
22596 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
22597 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
22598 and PTRACE_SYSCALL.
22599 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
22600 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22601 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22602 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22603 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22604 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
22606 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
22607 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
22608 __ptrace_peeksiginfo_flags, ptrace): Move to ...
22609 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
22610 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22611 bits/ptrace-shared.h.
22612 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
22613 <bits/ptrace-shared.h>.
22614 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
22615 __ptrace_peeksiginfo_flags, ptrace): Remove.
22616 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22617 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22618 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22619 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22620 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
22622 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
22625 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
22626 end of the loop. Improve comments.
22628 2017-12-29 Zack Weinberg <zackw@panix.com>
22631 * manual/errno.texi (Checking for Errors): Explicitly say that errno
22632 might be set on success.
22634 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
22637 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
22638 is unchanged on success.
22640 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
22642 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
22644 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
22645 expand_dynamic_string_token): Likewise.
22646 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
22649 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
22652 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
22653 is set and name contains ':', and all code depending on these checks.
22655 2017-12-24 Zack Weinberg <zackw@panix.com>
22657 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
22658 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
22660 * libio/libio.h: Rename the original version of this file to
22661 libio/bits/libio.h. Error out if not included by stdio.h or the
22663 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
22664 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
22665 if not included by bits/libio.h or the stub _G_config.h.
22666 * sysdeps/unix/sysv/linux/_G_config.h: Move to
22667 sysdeps/unix/sysv/linux/bits. Error out if not included by
22668 bits/libio.h or the stub _G_config.h.
22669 * libio/stdio.h: Include bits/libio.h, not libio.h.
22670 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
22671 well as libio.h and _G_config.h.
22673 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
22674 * libio/strfile.h, stdio-common/vfscanf.c
22675 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
22676 Include stdio.h, not _G_config.h nor libio.h.
22677 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
22678 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
22680 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
22682 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
22685 * stdlib/getrandom.c (getrandom): Fix comment.
22686 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
22688 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
22691 * manual/arith.texi (strtoul): Fix a typo.
22694 * manual/arith.texi (finite): Fix the description of the return
22697 2017-12-22 Eric Blake <ebb9@byu.net>
22699 Avoid gcc warnings on cygwin
22700 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
22701 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
22702 Avoid unused variable.
22704 2017-12-22 Florian Weimer <fweimer@redhat.com>
22706 * io/Makefile (routines): Add copy_file_range.
22707 (tests): Add tst-copy_file_range.
22708 (tests-static, tests-internal): Add tst-copy_file_range-compat.
22709 * io/Versions (GLIBC_2.27): Export copy_file_range.
22710 * io/copy_file_range-compat.c: New file.
22711 * io/copy_file_range.c: Likewise.
22712 * io/tst-copy_file_range-compat.c: Likewise.
22713 * io/tst-copy_file_range.c: Likewise.
22714 * manual/llio.texi (Copying File Data): New section.
22715 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
22716 * support/Makefile (libsupport-routines): Add support-xfstat,
22717 xftruncate, xlseek.
22718 * support/support-xfstat.c: New file.
22719 * support/xftruncate.c: Likewise.
22720 * support/xlseek.c: Likewise.
22721 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
22722 * sysdeps/unix/sysv/linux/**.abilist: Update.
22723 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
22725 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
22727 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22728 disable-multi-arch variant to aarch64-linux-gnu.
22730 2017-12-20 Joseph Myers <joseph@codesourcery.com>
22732 * manual/texinfo.tex: Update to version 2017-12-18.20 with
22733 trailing whitespace removed.
22734 * scripts/config.guess: Update to version 2017-12-17.
22735 * scripts/config.sub: Update to version 2017-11-23.
22736 * scripts/install-sh: Update to version 2017-09-23.17.
22737 * scripts/move-if-change: Update to version 2017-09-13 06:45.
22739 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22741 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
22742 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
22743 * sysdeps/tile/_mcount.S (__mcount): Likewise.
22744 * sysdeps/tile/crti.S (_init, _fini): Likewise.
22745 * sysdeps/tile/crtn.S: Likewise.
22746 * sysdeps/tile/dl-start.S (_start): Likewise.
22747 * sysdeps/tile/dl-trampoline.S: Likewise.
22748 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
22749 * sysdeps/tile/start.S (_start): Likewise.
22750 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
22751 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
22752 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
22753 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
22754 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
22755 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
22756 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
22758 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
22760 * sysdeps/tile/preconfigure: Remove tilegx folder.
22761 * sysdeps/tile/tilegx/Implies: Move definitions to ...
22762 * sysdeps/tile/Implies: ... here.
22763 * sysdeps/tile/tilegx/Makefile: Move rules to ...
22764 * sysdeps/tile/Makefile: ... here.
22765 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
22766 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
22767 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
22768 * sysdeps/tile/bits/wordsize.h: ... here.
22769 * sysdeps/tile/tilegx/*: Move to ...
22770 * sysdeps/tile/*: ... here.
22771 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
22772 * sysdeps/tile/tilegx32/Implies: ... here.
22773 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
22774 * sysdeps/tile/tilegx64/Implies: ... here.
22775 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
22777 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
22778 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
22779 * sysdeps/unix/sysv/linux/tile/*: ... here.
22780 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
22781 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
22782 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
22783 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
22785 * README: Remove tilepro-*-linux-gnu from supported architecture.
22786 * scripts/build-many-glibcs.py: Likewise.
22787 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
22788 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
22789 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
22790 elf_machine_matches_host, elf_machine_dynamic,
22791 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
22792 howto, elf_machine_rela): Likewise.
22793 * sysdeps/tile/dl-start.S (_start): Likewise.
22794 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
22795 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
22796 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
22797 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
22798 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
22799 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
22801 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
22802 * sysdeps/tile/preconfigure: Likewise.
22803 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
22804 POINTER_CHK_GUARD): Likewise.
22805 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
22806 * sysdeps/tile/start.S (_start): Likewise.
22807 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
22809 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
22810 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
22812 * sysdeps/unix/sysv/linux/tile/bits/environments.h
22813 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
22814 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
22816 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
22817 * sysdeps/tile/tilepro/Implies: Remove file.
22818 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
22819 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
22820 * sysdeps/tile/tilepro/memchr.c: Likewise.
22821 * sysdeps/tile/tilepro/memcpy.S: Likewise.
22822 * sysdeps/tile/tilepro/memset.c: Likewise.
22823 * sysdeps/tile/tilepro/memusage.h: Likewise.
22824 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
22825 * sysdeps/tile/tilepro/strchr.c: Likewise.
22826 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
22827 * sysdeps/tile/tilepro/strlen.c: Likewise.
22828 * sysdeps/tile/tilepro/strrchr.c: Likewise.
22829 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
22830 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
22831 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
22832 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
22833 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
22834 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
22836 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
22837 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22838 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
22839 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
22840 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22841 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
22842 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
22843 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
22844 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
22845 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
22846 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
22847 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
22848 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
22849 tilepro mention in comment.
22851 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
22852 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
22853 * nptl/pthread_join_common.c: New file: common function used on
22854 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
22855 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
22856 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
22857 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
22858 (cleanup): Move definition to pthread_join_common.c.
22859 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
22860 Remove superflous checks.
22861 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
22864 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
22866 * sysdeps/aarch64/libm-test-ulps: Update.
22868 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22870 * sysdeps/aarch64/memset.S (MEMSET): Define.
22872 2017-12-20 Florian Weimer <fweimer@redhat.com>
22875 nptl: Provide full implementation of pthread_self in libc.so.
22876 * nptl/Makefile (routines): Add pthread_self.
22877 (libpthread-routines): Replace pthread_self with
22878 compat-pthread_self.
22879 * nptl/forward.c (pthread_self): Remove.
22880 * nptl/nptl-init.c (pthread_functions): Do not initialize
22882 * nptl/pthread_self.c (pthread_self): Remove weak alias.
22883 * nptl/compat-pthread_self.c: New file.
22884 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
22885 Remove ptr_pthread_self.
22887 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
22889 * posix/regcomp.c: Fix spelling in comments.
22890 * posix/regex.h: Likewise.
22891 * posix/regex_internal.c: Likewise.
22892 * posix/regexec.c: Likewise.
22894 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
22897 * math/Makefile [C++] (tests): Add test for iseqsig.
22898 * math/math.h [C++] (iseqsig): New implementation, which does
22899 not rely on __MATH_TG/__builtin_types_compatible_p.
22900 * math/test-math-iseqsig.cc: New file.
22901 * sysdeps/powerpc/powerpc64le/Makefile
22902 (CFLAGS-test-math-iseqsig.cc): New variable.
22904 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
22906 * elf/dl-load.c (is_trusted_path): Remove.
22907 (fillin_rpath): Remove check_trusted argument and its use,
22908 all callers changed.
22910 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22913 * Makeconfig (link-pie-before-libc): Replace -pie with
22914 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
22915 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
22916 (tst-dlopen-aout-no-pie): New.
22917 (LDFLAGS-tst-prelink): Removed.
22918 (tst-prelink-no-pie): New.
22919 (LDFLAGS-tst-main1): Removed.
22920 (tst-main1-no-pie): New.
22921 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
22922 (tst-gmon-no-pie): New.
22924 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22926 * manual/install.texi: Document that --enable-static-pie
22928 * INSTALL: Regenerated.
22930 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
22933 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
22936 2017-12-19 Joseph Myers <joseph@codesourcery.com>
22940 2017-12-19 Joseph Myers <joseph@codesourcery.com>
22942 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22944 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22946 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
22947 <errno.h>. Include "eexp.tbl".
22948 (half): New constant.
22950 (__ieee754_exp): Rewrite.
22951 (__slowexp): Remove prototype.
22952 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
22953 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
22954 * sysdeps/i386/fpu/slowexp.c: Likewise.
22955 * sysdeps/ia64/fpu/slowexp.c: Likewise.
22956 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
22957 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
22958 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
22959 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22960 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
22961 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
22963 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
22964 (CPPFLAGS-slowexp.c): Remove variable.
22965 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22966 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
22967 (CFLAGS-slowexp-fma.c): Remove variable.
22968 (CFLAGS-slowexp-fma4.c): Likewise.
22969 (CFLAGS-slowexp-avx.c): Likewise.
22970 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
22972 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
22973 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
22974 * math/Makefile (type-double-routines): Remove slowexp.
22975 * manual/probes.texi (slowexp_p6): Remove.
22976 (slowexp_p32): Likewise.
22978 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22980 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
22983 * lib/glob.c (glob): Do not pass NULL to mempcpy.
22985 2017-12-19 Joseph Myers <joseph@codesourcery.com>
22987 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22989 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22991 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
22992 <errno.h>. Include "eexp.tbl".
22993 (half): New constant.
22995 (__ieee754_exp): Rewrite.
22996 (__slowexp): Remove prototype.
22997 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
22998 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
22999 * sysdeps/i386/fpu/slowexp.c: Likewise.
23000 * sysdeps/ia64/fpu/slowexp.c: Likewise.
23001 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
23002 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
23003 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
23004 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23005 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
23006 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
23008 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
23009 (CPPFLAGS-slowexp.c): Remove variable.
23010 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23011 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
23012 (CFLAGS-slowexp-fma.c): Remove variable.
23013 (CFLAGS-slowexp-fma4.c): Likewise.
23014 (CFLAGS-slowexp-avx.c): Likewise.
23015 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
23017 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
23018 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
23019 * math/Makefile (type-double-routines): Remove slowexp.
23020 * manual/probes.texi (slowexp_p6): Remove.
23021 (slowexp_p32): Likewise.
23023 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23024 James Clarke <jrtc27@jrtc27.com>
23027 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
23030 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23033 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
23036 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23039 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23040 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
23041 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23042 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
23045 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23048 * bits/types/__cancel_jmp_buf_tag.h: New file.
23049 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
23050 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
23051 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
23052 * nptl/Makefile (headers): Add
23053 bits/types/__cancel_jmp_buf_tag.h.
23054 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
23055 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
23056 * sysdeps/nptl/pthread.h: Include
23057 <bits/types/__cancel_jmp_buf_tag.h>.
23058 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
23060 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
23062 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
23064 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23065 --enable-static-pie variants to x86_64, x32 and i686.
23067 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23070 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
23071 argument for attrubutes. All callers changed.
23072 (__inline_mathop1): Likewise. All callers changed.
23073 (__inline_mathop): Likewise. All callers changed.
23074 [__USE_MISC] (scalbn): Use __inline_forward instead of
23075 __inline_forward_c.
23076 [__USE_ISOC99] (scalbln): Likewise.
23077 [__USE_ISOC99] (nearbyint): Likewise.
23078 [__USE_ISOC99] (lrint): Likewise.
23079 [__USE_MISC] (scalbnf): Likewise.
23080 [__USE_ISOC99] (scalblnf): Likewise.
23081 [__USE_ISOC99] (nearbyintf): Likewise.
23082 [__USE_ISOC99] (lrintf): Likewise.
23083 [__USE_MISC] (scalbnl): Likewise.
23084 [__USE_ISOC99] (scalblnl): Likewise.
23085 [__USE_ISOC99] (nearbyintl): Likewise.
23086 [__USE_ISOC99] (lrintl): Likewise.
23087 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
23088 __inline_mathop and __m81_defun changed.
23090 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
23091 CPU or FPU for ARM hard-float configurations.
23093 2017-12-18 Joseph Myers <joseph@codesourcery.com>
23095 * nptl/tst-attr3.c: Include <libc-diag.h>.
23096 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
23098 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
23100 * string/tester.c (test_strncat): Also disable -Warray-bounds
23101 warnings for two tests.
23103 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
23106 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
23107 $(cc-pie-default) == yes.
23108 * config.make.in (cc-pie-default): New.
23109 * configure.ac (libc_cv_pie_default): Renamed to ...
23110 (libc_cv_cc_pie_default): This.
23111 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
23112 * configure: Regenerated.
23114 2017-12-18 Florian Weimer <fweimer@redhat.com>
23117 ld.so: Harden dl-libc/libdl hooks.
23118 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
23119 (rtld_active): New function.
23120 * dlfcn/dladdr.c (__dladdr): Call it.
23121 * dlfcn/dladdr1.c (__dladdr1): Likewise.
23122 * dlfcn/dlclose.c (__dlcose): Likewise.
23123 * dlfcn/dlerror.c (__dlerror): Likewise.
23124 * dlfcn/dlinfo.c (__dlinfo): Likewise.
23125 * dlfcn/dlmopen.c (__dlmopen): Likewise.
23126 * dlfcn/dlopen.c (__dlopen): Likewise.
23127 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
23128 * dlfcn/dlsym.c (__dlsym): Likewise.
23129 * dlfcn/dlvsym.c (__dlvsym): Likewise.
23130 * libio/vtables.c (_IO_vtable_check): Likewise.
23131 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
23132 (__libc_dlclose): Likewise.
23133 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
23136 2017-12-18 Joseph Myers <joseph@codesourcery.com>
23139 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
23140 buffers for readlink input and output.
23142 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
23145 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
23146 inhibit_stack_protector.
23149 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
23150 inhibit_stack_protector.
23152 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
23155 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
23156 code and invocation.
23158 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
23160 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
23162 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
23165 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
23167 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23169 * sysdeps/s390/fpu/libm-test-ulps: Update.
23171 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23173 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23175 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23177 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
23178 constants to s_sincosf.h file.
23179 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23180 * sysdeps/ieee754/flt-32/s_sincosf.c: New
23182 * sysdeps/ieee754/flt-32/s_sincosf.h:
23185 2017-12-12 Carlos O'Donell <carlos@redhat.com>
23188 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
23191 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
23194 * INSTALL: Regenerated.
23195 * Makeconfig (real-static-start-installed-name): New.
23196 (pic-default): Updated for --enable-static-pie.
23197 (pie-default): New for --enable-static-pie.
23198 (default-pie-ldflag): Likewise.
23199 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
23200 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
23201 Replace $(static-start-installed-name) with
23202 $(real-static-start-installed-name).
23203 (+prectorT): Updated for --enable-static-pie.
23204 (+postctorT): Likewise.
23205 (CFLAGS-.o): Add $(pie-default).
23206 (CFLAGS-.op): Likewise.
23207 * NEWS: Mention --enable-static-pie.
23208 * config.h.in (ENABLE_STATIC_PIE): New.
23209 * configure.ac (--enable-static-pie): New configure option.
23210 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
23211 (have-static-pie): Likewise.
23212 Enable static PIE if linker supports --no-dynamic-linker.
23213 (ENABLE_STATIC_PIE): New AC_DEFINE.
23214 (enable-static-pie): New LIBC_CONFIG_VAR.
23215 * configure: Regenerated.
23216 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
23217 gr$(start-installed-name) for --enable-static-pie.
23218 (extra-objs): Likewise.
23219 (install-lib): Likewise.
23220 (extra-objs): Add static-reloc.o and static-reloc.os
23221 ($(objpfx)$(start-installed-name)): Also depend on
23222 $(objpfx)static-reloc.o.
23223 ($(objpfx)r$(start-installed-name)): New.
23224 ($(objpfx)g$(start-installed-name)): Also depend on
23225 $(objpfx)static-reloc.os.
23226 ($(objpfx)gr$(start-installed-name)): New.
23227 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
23229 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
23231 * csu/static-reloc.c: New file.
23232 * elf/Makefile (routines): Add dl-reloc-static-pie.
23233 (elide-routines.os): Likewise.
23234 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
23235 (tst-tls1-static-non-pie-no-pie): New.
23236 * elf/dl-reloc-static-pie.c: New file.
23237 * elf/dl-support.c (_dl_get_dl_main_map): New function.
23238 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
23239 STATIC_PIE_BOOTSTRAP.
23240 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
23241 * gmon/Makefile (tests): Add tst-gmon-static-pie.
23242 (tests-static): Likewise.
23243 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
23244 (tst-gmon-static-no-pie): New.
23245 (CFLAGS-tst-gmon-static-pie.c): Likewise.
23246 (CRT-tst-gmon-static-pie): Likewise.
23247 (tst-gmon-static-pie-ENV): Likewise.
23248 (tests-special): Likewise.
23249 ($(objpfx)tst-gmon-static-pie.out): Likewise.
23250 (clean-tst-gmon-static-pie-data): Likewise.
23251 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
23252 * gmon/tst-gmon-static-pie.c: New file.
23253 * manual/install.texi: Document --enable-static-pie.
23254 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
23255 (_dl_get_dl_main_map): Likewise.
23256 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
23257 * sysdeps/x86_64/configure.ac: Likewise.
23258 * sysdeps/i386/configure: Regenerated.
23259 * sysdeps/x86_64/configure: Likewise.
23260 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
23261 (ASFLAGS-.op): Likewise.
23263 2017-12-15 Joseph Myers <joseph@codesourcery.com>
23265 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
23266 * posix/tst-mmap-offset.c (fname): Use /tmp.
23267 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
23269 2017-12-15 Steve Ellcey <sellcey@cavium.com>
23271 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
23273 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
23275 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
23278 2017-12-15 Joseph Myers <joseph@codesourcery.com>
23280 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
23281 --with-float=hard for arm-linux-gnueabihf configurations.
23284 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
23285 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
23286 ($(mo-installed)): Use $(objpfx)%.mo.
23287 (realclean): Remove rule.
23289 * po/Makefile (linguas): Remove rule and dependencies.
23290 (linguas.mo): Likewise.
23291 (.PHONY): Do not depend on linguas and linguas.mo.
23292 (podir): Remove variable.
23293 (pofiles): Likewise.
23294 [$(pofiles)] (%.po): Remove rule.
23296 * sysdeps/sparc/sparc32/Makefile
23297 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
23298 start-of-line whitespace in argument of echo.
23299 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
23300 with whitespace. Generate __wrap_.udiv alias.
23301 * sysdeps/sparc/sparc32/rem.S: Regenerated.
23302 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
23303 * sysdeps/sparc/sparc32/udiv.S: Likewise.
23304 * sysdeps/sparc/sparc32/urem.S: Likewise.
23306 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23308 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
23309 for aligned inputs.
23311 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
23313 * benchtests/bench-strcmp.c: Print output in JSON format.
23315 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
23317 2017-12-14 Florian Weimer <fweimer@redhat.com>
23321 * elf/dl-load.c (_dl_init_paths): Compute number of components in
23322 the expanded path string.
23324 2017-12-14 Florian Weimer <fweimer@redhat.com>
23328 * elf/dl-load.c (system_dirs): Update comment.
23329 (nsystem_dirs_len): Use array_length.
23330 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
23332 2017-12-14 Florian Weimer <fweimer@redhat.com>
23334 Simplify compiling most of support/ outside of glibc.
23335 * support/check_addrinfo.c: Include <string.h>.
23336 * support/check_dns_packet.c: Likewise.
23337 * support/check_hostent.c: Likewise.
23338 * support/support_can_chroot.c: Include <support/xunistd.h>.
23339 * support/support_format_addrinfo.c: Include <stdlib.h>
23340 * support/support_format_dns_packet.c: Include <stdbool.h>.
23341 * support/support_format_hostent.c: Include <stdlib.h>.
23342 * support/support_format_netent.c: Likewise.
23343 * support/support_write_string.c: Include <support/xunistd.h>.
23344 * support/xdlfcn.c: Include <stddef.h>.
23346 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
23348 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
23350 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23351 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23353 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23354 (sysdeps_routines): Add memset-niagara7.
23355 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
23357 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
23359 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
23360 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
23361 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
23362 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
23363 Add niagara7 option.
23364 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
23367 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23368 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
23369 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
23371 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
23373 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
23374 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
23375 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
23376 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
23377 and __memmove_niagara7.
23378 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
23379 Add niagara7 option.
23380 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
23381 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
23382 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
23383 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
23384 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
23386 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
23388 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
23389 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
23390 * sysdeps/sparc/sparc64/memmove.S: Likewise.
23391 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
23393 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
23394 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
23395 _dl_sparc_cap_flags array.
23396 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
23398 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
23400 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
23401 time whenever possible.
23403 2017-12-12 Carlos O'Donell <carlos@redhat.com>
23405 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
23406 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
23408 2017-12-12 Joseph Myers <joseph@codesourcery.com>
23410 * soft-fp/fmadf4.c: Move to ....
23411 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
23412 * soft-fp/fmasf4.c: Move to ....
23413 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
23414 * soft-fp/fmatf4.c: Move to ....
23415 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
23416 * sysdeps/ieee754/soft-fp/Makefile: New file.
23417 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
23418 * sysdeps/arm/preconfigure: Regenerated.
23419 * sysdeps/arm/nofpu/Implies: New file.
23420 * sysdeps/arm/s_fma.c: Remove file.
23421 * sysdeps/arm/s_fmaf.c: Likewise.
23422 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
23423 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
23424 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
23425 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
23426 * sysdeps/microblaze/s_fma.c: Remove file.
23427 * sysdeps/microblaze/s_fmaf.c: Likewise.
23428 * sysdeps/mips/mips32/nofpu/Implies: New file.
23429 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
23430 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
23431 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
23432 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
23433 * sysdeps/mips/ieee754/s_fma.c: Remove file.
23434 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
23435 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
23437 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
23438 * sysdeps/nios2/s_fma.c: Remove file.
23439 * sysdeps/nios2/s_fmaf.c: Likewise.
23440 * sysdeps/sh/nofpu/Implies: New file.
23441 * sysdeps/sh/s_fma.c: Remove file.
23442 * sysdeps/sh/s_fmaf.c: Likewise.
23443 * sysdeps/tile/Implies: Add ieee754/soft-fp.
23444 * sysdeps/tile/s_fma.c: Remove file.
23445 * sysdeps/tile/s_fmaf.c: Likewise.
23447 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
23449 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23450 Add s_cosf-sse2 and s_cosf-fma.
23451 (CFLAGS-s_cosf-fma.c): New.
23452 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
23453 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
23454 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
23456 2017-12-12 Steve Ellcey <sellcey@cavium.com>
23458 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
23460 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23462 * libio/Makefile (tests): Add tst-bz22415.
23463 (tst-bz22415-ENV): New rule.
23464 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
23465 (tests-special): Add tst-bz22415-mem.out.
23466 ($(objpfx)tst-bz22415-mem.out): New rule.
23467 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
23468 in case of a successful seek operation.
23469 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23470 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
23471 buffer is required.
23472 * libio/tst-bz22415.c: New test.
23474 * sysdeps/ia64/fpu/libm-test-ulps: Update.
23476 2017-12-12 James Clarke <jrtc27@jrtc27.com>
23478 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
23479 __IPC_64 to 0 to avoid IPC_64 being set.
23481 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
23484 * math/bits/mathcalls.h (nextafter): Remove const.
23485 (nexttoward): Likewise.
23487 2017-12-12 Joseph Myers <joseph@codesourcery.com>
23489 * configure.ac (--with-fp): Remove configure option.
23490 (with_fp_cond): New variable.
23491 (libc_cv_with_fp): New configure test. Use this variable instead
23493 * configure: Regenerated.
23494 * config.make.in (with-fp): Use @libc_cv_with_fp@.
23495 * manual/install.texi (Configuring and compiling): Remove
23497 * INSTALL: Regenerated.
23498 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
23499 * sysdeps/mips/preconfigure (with_fp_cond): Define.
23500 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
23501 * sysdeps/sh/preconfigure (with_fp_cond): Define.
23502 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
23503 use --without-fp to configure glibc.
23505 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
23507 * manual/locale.texi (nl_langinfo): Fix a typo.
23509 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
23512 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
23514 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
23516 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
23517 (CFLAGS-argp-parse.c): Likewise.
23518 (CFLAGS-argp-fmtstream.c): Likewise.
23519 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
23520 (CPPFLAGS-sha512-crypt.c): Likewise.
23521 (CPPFLAGS-md5-crypt.c): Likewise.
23522 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
23523 (CFLAGS-stack_chk_fail_local.c): Likewise.
23524 (CFLAGS-backtrace.c): Likewise.
23525 (CFLAGS-sprintf_chk.c): Likewise.
23526 (CFLAGS-snprintf_chk.c): Likewise.
23527 (CFLAGS-vsprintf_chk.c): Likewise.
23528 (CFLAGS-vsnprintf_chk.c): Likewise.
23529 (CFLAGS-asprintf_chk.c): Likewise.
23530 (CFLAGS-vasprintf_chk.c): Likewise.
23531 (CFLAGS-obprintf_chk.c): Likewise.
23532 (CFLAGS-dprintf_chk.c): Likewise.
23533 (CFLAGS-vdprintf_chk.c): Likewise.
23534 (CFLAGS-printf_chk.c): Likewise.
23535 (CFLAGS-fprintf_chk.c): Likewise.
23536 (CFLAGS-vprintf_chk.c): Likewise.
23537 (CFLAGS-vfprintf_chk.c): Likewise.
23538 (CFLAGS-gets_chk.c): Likewise.
23539 (CFLAGS-fgets_chk.c): Likewise.
23540 (CFLAGS-fgets_u_chk.c): Likewise.
23541 (CFLAGS-fread_chk.c): Likewise.
23542 (CFLAGS-fread_u_chk.c): Likewise.
23543 (CFLAGS-swprintf_chk.c): Likewise.
23544 (CFLAGS-vswprintf_chk.c): Likewise.
23545 (CFLAGS-wprintf_chk.c): Likewise.
23546 (CFLAGS-fwprintf_chk.c): Likewise.
23547 (CFLAGS-vwprintf_chk.c): Likewise.
23548 (CFLAGS-vfwprintf_chk.c): Likewise.
23549 (CFLAGS-fgetws_chk.c): Likewise.
23550 (CFLAGS-fgetws_u_chk.c): Likewise.
23551 (CFLAGS-read_chk.c): Likewise.
23552 (CFLAGS-pread_chk.c): Likewise.
23553 (CFLAGS-pread64_chk.c): Likewise.
23554 (CFLAGS-recv_chk.c): Likewise.
23555 (CFLAGS-recvfrom_chk.c): Likewise.
23556 (CFLAGS-tst-longjmp_chk.c): Likewise.
23557 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
23558 (CFLAGS-tst-longjmp_chk2.c): Likewise.
23559 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
23560 (CFLAGS-tst-longjmp_chk3.c): Likewise.
23561 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
23562 (CFLAGS-tst-chk1.c): Likewise.
23563 (CFLAGS-tst-chk2.c): Likewise.
23564 (CFLAGS-tst-chk3.c): Likewise.
23565 (CFLAGS-tst-chk4.cc): Likewise.
23566 (CFLAGS-tst-chk5.cc): Likewise.
23567 (CFLAGS-tst-chk6.cc): Likewise.
23568 (CFLAGS-tst-lfschk1.c): Likewise.
23569 (CFLAGS-tst-lfschk2.c): Likewise.
23570 (CFLAGS-tst-lfschk3.c): Likewise.
23571 (CFLAGS-tst-lfschk4.cc): Likewise.
23572 (CFLAGS-tst-lfschk5.cc): Likewise.
23573 (CFLAGS-tst-lfschk6.cc): Likewise.
23574 (CFLAGS-tst-ssp-1.c): Likewise.
23575 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
23576 (CFLAGS-scandir64.c): Likewise.
23577 (CFLAGS-scandir-tail.c): Likewise.
23578 (CFLAGS-scandir64-tail.c): Likewise.
23579 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
23580 (CFLAGS-dl-tunables.c): Likewise.
23581 (CFLAGS-dl-runtime.c): Likewise.
23582 (CFLAGS-dl-lookup.c): Likewise.
23583 (CFLAGS-dl-iterate-phdr.c): Likewise.
23584 (CFLAGS-vismain.c): Likewise.
23585 (CFLAGS-tst-linkall-static.c): Likewise.
23586 (CFLAGS-tst-linkall-static.c): Likewise.
23587 (CPPFLAGS-dl-load.c): Likewise.
23588 (CFLAGS-ldconfig.c): Likewise.
23589 (CFLAGS-dl-cache.c): Likewise.
23590 (CFLAGS-cache.c): Likewise.
23591 (CFLAGS-rtld.c): Likewise.
23592 (CFLAGS-multiload.c): Likewise.
23593 (CFLAGS-filtmod1.c): Likewise.
23594 (CFLAGS-tst-align.c): Likewise.
23595 (CFLAGS-tst-align2.c): Likewise.
23596 (CFLAGS-tst-alignmod.c): Likewise.
23597 (CFLAGS-tst-alignmod2.c): Likewise.
23598 (CPPFLAGS-tst-execstack.c): Likewise.
23599 (CFLAGS-tst-ptrguard1-static.c): Likewise.
23600 (CFLAGS-tst-latepthreadmod.c): Likewise.
23601 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
23602 (CFLAGS-getgrnam_r.c): Likewise.
23603 (CFLAGS-getgrent_r.c): Likewise.
23604 (CFLAGS-getgrent.c): Likewise.
23605 (CFLAGS-fgetgrent.c): Likewise.
23606 (CFLAGS-fgetgrent_r.c): Likewise.
23607 (CFLAGS-putgrent.c): Likewise.
23608 (CFLAGS-initgroups.c): Likewise.
23609 (CFLAGS-getgrgid.c): Likewise.
23610 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
23611 (CFLAGS-getsgent.c): Likewise.
23612 (CFLAGS-fgetsgent.c): Likewise.
23613 (CFLAGS-fgetsgent_r.c): Likewise.
23614 (CFLAGS-putsgent.c): Likewise.
23615 (CFLAGS-getsgnam.c): Likewise.
23616 (CFLAGS-getsgnam_r.c): Likewise.
23617 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
23618 (CFLAGS-iconv_charmap.c): Likewise.
23619 (CFLAGS-dummy-repertoire.c): Likewise.
23620 (CFLAGS-charmap.c): Likewise.
23621 (CFLAGS-linereader.c): Likewise.
23622 (CFLAGS-simple-hash.c): Likewise.
23623 (CFLAGS-gconv_conf.c): Likewise.
23624 (CFLAGS-iconvconfig.c): Likewise.
23625 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23626 (CFLAGS-gethstbyad.c): Likewise.
23627 (CFLAGS-gethstbynm_r.c): Likewise.
23628 (CFLAGS-gethstbynm.c): Likewise.
23629 (CFLAGS-gethstbynm2_r.c): Likewise.
23630 (CFLAGS-gethstbynm2.c): Likewise.
23631 (CFLAGS-gethstent_r.c): Likewise.
23632 (CFLAGS-gethstent.c): Likewise.
23633 (CFLAGS-rcmd.c): Likewise.
23634 (CFLAGS-getnetbynm_r.c): Likewise.
23635 (CFLAGS-getnetbynm.c): Likewise.
23636 (CFLAGS-getnetbyad_r.c): Likewise.
23637 (CFLAGS-getnetbyad.c): Likewise.
23638 (CFLAGS-getnetent_r.c): Likewise.
23639 (CFLAGS-getnetent.c): Likewise.
23640 (CFLAGS-getaliasent_r.c): Likewise.
23641 (CFLAGS-getaliasent.c): Likewise.
23642 (CFLAGS-getrpcent_r.c): Likewise.
23643 (CFLAGS-getrpcent.c): Likewise.
23644 (CFLAGS-getservent_r.c): Likewise.
23645 (CFLAGS-getservent.c): Likewise.
23646 (CFLAGS-getprtent_r.c): Likewise.
23647 (CFLAGS-getprtent.c): Likewise.
23648 (CFLAGS-either_ntoh.c): Likewise.
23649 (CFLAGS-either_hton.c): Likewise.
23650 (CFLAGS-getnetgrent.c): Likewise.
23651 (CFLAGS-getnetgrent_r.c): Likewise.
23652 (CFLAGS-tst-checks-posix.c): Likewise.
23653 (CFLAGS-tst-sockaddr.c): Likewise.
23654 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
23655 (CFLAGS-tst-translit.c): Likewise.
23656 (CFLAGS-tst-gettext2.c): Likewise.
23657 (CFLAGS-tst-codeset.c): Likewise.
23658 (CFLAGS-tst-gettext3.c): Likewise.
23659 (CFLAGS-tst-gettext4.c): Likewise.
23660 (CFLAGS-tst-gettext5.c): Likewise.
23661 (CFLAGS-tst-gettext6.c): Likewise.
23662 * io/Makefile (CFLAGS-open.c): Likewise.
23663 (CFLAGS-open64.c): Likewise.
23664 (CFLAGS-creat.c): Likewise.
23665 (CFLAGS-creat64.c): Likewise.
23666 (CFLAGS-fcntl.c): Likewise.
23667 (CFLAGS-poll.c): Likewise.
23668 (CFLAGS-ppoll.c): Likewise.
23669 (CFLAGS-lockf.c): Likewise.
23670 (CFLAGS-statfs.c): Likewise.
23671 (CFLAGS-fstatfs.c): Likewise.
23672 (CFLAGS-statvfs.c): Likewise.
23673 (CFLAGS-fstatvfs.c): Likewise.
23674 (CFLAGS-fts.c): Likewise.
23675 (CFLAGS-fts64.c): Likewise.
23676 (CFLAGS-ftw.c): Likewise.
23677 (CFLAGS-ftw64.c): Likewise.
23678 (CFLAGS-lockf.c): Likewise.
23679 (CFLAGS-posix_fallocate.c): Likewise.
23680 (CFLAGS-posix_fallocate64.c): Likewise.
23681 (CFLAGS-fallocate.c): Likewise.
23682 (CFLAGS-fallocate64.c): Likewise.
23683 (CFLAGS-read.c): Likewise.
23684 (CFLAGS-write.c): Likewise.
23685 (CFLAGS-test-stat.c): Likewise.
23686 (CFLAGS-test-lfs.c): Likewise.
23687 * libio/Makefile (CFLAGS-fileops.c): Likewise.
23688 (CFLAGS-fputc.c): Likewise.
23689 (CFLAGS-fputwc.c): Likewise.
23690 (CFLAGS-freopen64.c): Likewise.
23691 (CFLAGS-freopen.c): Likewise.
23692 (CFLAGS-fseek.c): Likewise.
23693 (CFLAGS-fseeko64.c): Likewise.
23694 (CFLAGS-fseeko.c): Likewise.
23695 (CFLAGS-ftello64.c): Likewise.
23696 (CFLAGS-ftello.c): Likewise.
23697 (CFLAGS-fwide.c): Likewise.
23698 (CFLAGS-genops.c): Likewise.
23699 (CFLAGS-getc.c): Likewise.
23700 (CFLAGS-getchar.c): Likewise.
23701 (CFLAGS-getwc.c): Likewise.
23702 (CFLAGS-getwchar.c): Likewise.
23703 (CFLAGS-iofclose.c): Likewise.
23704 (CFLAGS-iofflush.c): Likewise.
23705 (CFLAGS-iofgetpos64.c): Likewise.
23706 (CFLAGS-iofgetpos.c): Likewise.
23707 (CFLAGS-iofgets.c): Likewise.
23708 (CFLAGS-iofgetws.c): Likewise.
23709 (CFLAGS-iofputs.c): Likewise.
23710 (CFLAGS-iofputws.c): Likewise.
23711 (CFLAGS-iofread.c): Likewise.
23712 (CFLAGS-iofsetpos64.c): Likewise.
23713 (CFLAGS-iofsetpos.c): Likewise.
23714 (CFLAGS-ioftell.c): Likewise.
23715 (CFLAGS-iofwrite.c): Likewise.
23716 (CFLAGS-iogetdelim.c): Likewise.
23717 (CFLAGS-iogetline.c): Likewise.
23718 (CFLAGS-iogets.c): Likewise.
23719 (CFLAGS-iogetwline.c): Likewise.
23720 (CFLAGS-ioputs.c): Likewise.
23721 (CFLAGS-ioseekoff.c): Likewise.
23722 (CFLAGS-ioseekpos.c): Likewise.
23723 (CFLAGS-iosetbuffer.c): Likewise.
23724 (CFLAGS-iosetvbuf.c): Likewise.
23725 (CFLAGS-ioungetc.c): Likewise.
23726 (CFLAGS-ioungetwc.c): Likewise.
23727 (CFLAGS-oldfileops.c): Likewise.
23728 (CFLAGS-oldiofclose.c): Likewise.
23729 (CFLAGS-oldiofgetpos64.c): Likewise.
23730 (CFLAGS-oldiofgetpos.c): Likewise.
23731 (CFLAGS-oldiofsetpos64.c): Likewise.
23732 (CFLAGS-oldiofsetpos.c): Likewise.
23733 (CFLAGS-peekc.c): Likewise.
23734 (CFLAGS-putc.c): Likewise.
23735 (CFLAGS-putchar.c): Likewise.
23736 (CFLAGS-putwc.c): Likewise.
23737 (CFLAGS-putwchar.c): Likewise.
23738 (CFLAGS-rewind.c): Likewise.
23739 (CFLAGS-wfileops.c): Likewise.
23740 (CFLAGS-wgenops.c): Likewise.
23741 (CFLAGS-oldiofopen.c): Likewise.
23742 (CFLAGS-iofopen.c): Likewise.
23743 (CFLAGS-iofopen64.c): Likewise.
23744 (CFLAGS-oldtmpfile.c): Likewise.
23745 (CFLAGS-tst_putwc.c): Likewise.
23746 * locale/Makefile (CFLAGS-md5.c): Likewise.
23747 (CFLAGS-charmap.c): Likewise.
23748 (CFLAGS-locfile.c): Likewise.
23749 (CFLAGS-charmap-dir.c): Likewise.
23750 * login/Makefile (CFLAGS-grantpt.c): Likewise.
23751 (CFLAGS-getpt.c): Likewise.
23752 (CFLAGS-pt_chown.c): Likewise.
23753 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
23754 (CFLAGS-obstack.c): Likewise.
23755 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
23756 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
23757 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
23758 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
23759 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
23760 (CFLAGS-test-tgmath.c): Likewise.
23761 (CFLAGS-test-tgmath2.c): Likewise.
23762 (CFLAGS-test-tgmath-ret.c): Likewise.
23763 (CFLAGS-test-powl.c): Likewise.
23764 (CFLAGS-test-snan.c): Likewise.
23765 (CFLAGS-test-signgam-finite.c): Likewise.
23766 (CFLAGS-test-signgam-finite-c99.c): Likewise.
23767 (CFLAGS-test-signgam-finite-c11.c): Likewise.
23768 (CFLAGS-test-signgam-uchar.c): Likewise.
23769 (CFLAGS-test-signgam-uchar-init.c): Likewise.
23770 (CFLAGS-test-signgam-uchar-static.c): Likewise.
23771 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
23772 (CFLAGS-test-signgam-uint.c): Likewise.
23773 (CFLAGS-test-signgam-uint-init.c): Likewise.
23774 (CFLAGS-test-signgam-uint-static.c): Likewise.
23775 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
23776 (CFLAGS-test-signgam-ullong.c): Likewise.
23777 (CFLAGS-test-signgam-ullong-init.c): Likewise.
23778 (CFLAGS-test-signgam-ullong-static.c): Likewise.
23779 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
23780 (CFLAGS-test-math-cxx11.cc): Likewise.
23781 (CFLAGS-test-math-isinff.cc): Likewise.
23782 (CFLAGS-test-math-iszero.cc): Likewise.
23783 (CFLAGS-test-math-issignaling.cc): Likewise.
23784 (CFLAGS-test-math-iscanonical.cc): Likewise.
23785 (CFLAGS-test-iszero-excess-precision.c): Likewise.
23786 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
23787 (CFLAGS-test-flt-eval-method.c): Likewise.
23788 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
23789 (CFLAGS-test-finite-macros.c): Likewise.
23790 * misc/Makefile (CFLAGS-select.c): Likewise.
23791 (CFLAGS-tsearch.c): Likewise.
23792 (CFLAGS-lsearch.c): Likewise.
23793 (CFLAGS-pselect.c): Likewise.
23794 (CFLAGS-readv.c): Likewise.
23795 (CFLAGS-writev.c): Likewise.
23796 (CFLAGS-preadv.c): Likewise.
23797 (CFLAGS-preadv64.c): Likewise.
23798 (CFLAGS-pwritev.c): Likewise.
23799 (CFLAGS-pwritev64.c): Likewise.
23800 (CFLAGS-preadv2.c): Likewise.
23801 (CFLAGS-preadv64v2.c): Likewise.
23802 (CFLAGS-pwritev2.c): Likewise.
23803 (CFLAGS-pwritev64v2.c): Likewise.
23804 (CFLAGS-usleep.c): Likewise.
23805 (CFLAGS-syslog.c): Likewise.
23806 (CFLAGS-error.c): Likewise.
23807 (CFLAGS-getpass.c): Likewise.
23808 (CFLAGS-mkstemp.c): Likewise.
23809 (CFLAGS-mkstemp64.c): Likewise.
23810 (CFLAGS-getsysstats.c): Likewise.
23811 (CFLAGS-getusershell.c): Likewise.
23812 (CFLAGS-err.c): Likewise.
23813 (CFLAGS-tst-tsearch.c): Likewise.
23814 (CFLAGS-msync.c): Likewise.
23815 (CFLAGS-fdatasync.c): Likewise.
23816 (CFLAGS-fsync.c): Likewise.
23817 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
23818 (CFLAGS-unwind.c): Likewise.
23819 (CFLAGS-unwind-forcedunwind.c): Likewise.
23820 (CFLAGS-pthread_cancel.c): Likewise.
23821 (CFLAGS-pthread_setcancelstate.c): Likewise.
23822 (CFLAGS-pthread_setcanceltype.c): Likewise.
23823 (CFLAGS-cancellation.c): Likewise.
23824 (CFLAGS-libc-cancellation.c): Likewise.
23825 (CFLAGS-pthread_exit.c): Likewise.
23826 (CFLAGS-forward.c): Likewise.
23827 (CFLAGS-pthread_testcancel.c): Likewise.
23828 (CFLAGS-pthread_join.c): Likewise.
23829 (CFLAGS-pthread_timedjoin.c): Likewise.
23830 (CFLAGS-pthread_once.c): Likewise.
23831 (CFLAGS-pthread_cond_wait.c): Likewise.
23832 (CFLAGS-sem_wait.c): Likewise.
23833 (CFLAGS-sem_timedwait.c): Likewise.
23834 (CFLAGS-fcntl.c): Likewise.
23835 (CFLAGS-lockf.c): Likewise.
23836 (CFLAGS-pread.c): Likewise.
23837 (CFLAGS-pread64.c): Likewise.
23838 (CFLAGS-pwrite.c): Likewise.
23839 (CFLAGS-pwrite64.c): Likewise.
23840 (CFLAGS-wait.c): Likewise.
23841 (CFLAGS-waitpid.c): Likewise.
23842 (CFLAGS-sigwait.c): Likewise.
23843 (CFLAGS-msgrcv.c): Likewise.
23844 (CFLAGS-msgsnd.c): Likewise.
23845 (CFLAGS-tcdrain.c): Likewise.
23846 (CFLAGS-open.c): Likewise.
23847 (CFLAGS-open64.c): Likewise.
23848 (CFLAGS-pause.c): Likewise.
23849 (CFLAGS-recv.c): Likewise.
23850 (CFLAGS-send.c): Likewise.
23851 (CFLAGS-accept.c): Likewise.
23852 (CFLAGS-sendto.c): Likewise.
23853 (CFLAGS-connect.c): Likewise.
23854 (CFLAGS-recvfrom.c): Likewise.
23855 (CFLAGS-recvmsg.c): Likewise.
23856 (CFLAGS-sendmsg.c): Likewise.
23857 (CFLAGS-close.c): Likewise.
23858 (CFLAGS-read.c): Likewise.
23859 (CFLAGS-write.c): Likewise.
23860 (CFLAGS-nanosleep.c): Likewise.
23861 (CFLAGS-sigsuspend.c): Likewise.
23862 (CFLAGS-msync.c): Likewise.
23863 (CFLAGS-fdatasync.c): Likewise.
23864 (CFLAGS-fsync.c): Likewise.
23865 (CFLAGS-pt-system.c): Likewise.
23866 (CFLAGS-tst-cleanup2.c): Likewise.
23867 (CFLAGS-tst-cleanupx2.c): Likewise.
23868 (CFLAGS-flockfile.c): Likewise.
23869 (CFLAGS-ftrylockfile.c): Likewise.
23870 (CFLAGS-funlockfile.c): Likewise.
23871 (CFLAGS-tst-initializers1.c): Likewise.
23872 (CFLAGS-tst-initializers1-c89.c): Likewise.
23873 (CFLAGS-tst-initializers1-c99.c): Likewise.
23874 (CFLAGS-tst-initializers1-c11.c): Likewise.
23875 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
23876 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
23877 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
23878 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
23879 (CFLAGS-nscd_getgr_r.c): Likewise.
23880 (CFLAGS-nscd_gethst_r.c): Likewise.
23881 (CFLAGS-nscd_getai.c): Likewise.
23882 (CFLAGS-nscd_initgroups.c): Likewise.
23883 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
23884 (CFLAGS-pause.c): Likewise.
23885 (CFLAGS-pread.c): Likewise.
23886 (CFLAGS-pread64.c): Likewise.
23887 (CFLAGS-pwrite.c): Likewise.
23888 (CFLAGS-pwrite64.c): Likewise.
23889 (CFLAGS-sleep.c): Likewise.
23890 (CFLAGS-wait.c): Likewise.
23891 (CFLAGS-waitid.c): Likewise.
23892 (CFLAGS-waitpid.c): Likewise.
23893 (CFLAGS-getopt.c): Likewise.
23894 (CFLAGS-wordexp.c): Likewise.
23895 (CFLAGS-sysconf.c): Likewise.
23896 (CFLAGS-pathconf.c): Likewise.
23897 (CFLAGS-fpathconf.c): Likewise.
23898 (CFLAGS-spawn.c): Likewise.
23899 (CFLAGS-spawnp.c): Likewise.
23900 (CFLAGS-spawni.c): Likewise.
23901 (CFLAGS-glob.c): Likewise.
23902 (CFLAGS-glob64.c): Likewise.
23903 (CFLAGS-getconf.c): Likewise.
23904 (CFLAGS-nanosleep.c): Likewise.
23905 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
23906 (CFLAGS-getpwent.c): Likewise.
23907 (CFLAGS-getpw.c): Likewise.
23908 (CFLAGS-fgetpwent_r.c): Likewise.
23909 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
23910 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
23911 (CFLAGS-mq_timedreceive.c): Likewise.
23912 (CFLAGS-mq_timedsend.c): Likewise.
23913 (CFLAGS-clock_nanosleep.c): Likewise.
23914 (CFLAGS-librt-cancellation.c): Likewise.
23915 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
23916 (CFLAGS-getspent.c): Likewise.
23917 (CFLAGS-fgetspent.c): Likewise.
23918 (CFLAGS-fgetspent_r.c): Likewise.
23919 (CFLAGS-putspent.c): Likewise.
23920 (CFLAGS-getspnam.c): Likewise.
23921 (CFLAGS-getspnam_r.c): Likewise.
23922 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
23923 (CFLAGS-sigsuspend.c): Likewise.
23924 (CFLAGS-sigtimedwait.c): Likewise.
23925 (CFLAGS-sigwait.c): Likewise.
23926 (CFLAGS-sigwaitinfo.c): Likewise.
23927 (CFLAGS-sigreturn.c): Likewise.
23928 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
23929 (CFLAGS-vfwprintf.c): Likewise.
23930 (CFLAGS-tmpfile.c): Likewise.
23931 (CFLAGS-tmpfile64.c): Likewise.
23932 (CFLAGS-tempname.c): Likewise.
23933 (CFLAGS-psignal.c): Likewise.
23934 (CFLAGS-vprintf.c): Likewise.
23935 (CFLAGS-cuserid.c): Likewise.
23936 (CFLAGS-errlist.c): Likewise.
23937 (CFLAGS-siglist.c): Likewise.
23938 (CFLAGS-scanf15.c): Likewise.
23939 (CFLAGS-scanf17.c): Likewise.
23940 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
23941 (CFLAGS-msort.c): Likewise.
23942 (CFLAGS-qsort.c): Likewise.
23943 (CFLAGS-system.c): Likewise.
23944 (CFLAGS-fmtmsg.c): Likewise.
23945 (CFLAGS-strfmon.c): Likewise.
23946 (CFLAGS-strfmon_l.c): Likewise.
23947 (CFLAGS-strfromd.c): Likewise.
23948 (CFLAGS-strfromf.c): Likewise.
23949 (CFLAGS-strfroml.c): Likewise.
23950 (CFLAGS-tst-bsearch.c): Likewise.
23951 (CFLAGS-tst-qsort.c): Likewise.
23952 (CFLAGS-tst-makecontext2.c): Likewise.
23953 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
23954 (CFLAGS-xnlm_prot.c): Likewise.
23955 (CFLAGS-xrstat.c): Likewise.
23956 (CFLAGS-xyppasswd.c): Likewise.
23957 (CFLAGS-xklm_prot.c): Likewise.
23958 (CFLAGS-xrex.c): Likewise.
23959 (CFLAGS-xsm_inter.c): Likewise.
23960 (CFLAGS-xmount.c): Likewise.
23961 (CFLAGS-xrusers.c): Likewise.
23962 (CFLAGS-xspray.c): Likewise.
23963 (CFLAGS-xnfs_prot.c): Likewise.
23964 (CFLAGS-xrquota.c): Likewise.
23965 (CFLAGS-xkey_prot.c): Likewise.
23966 (CFLAGS-auth_unix.c): Likewise.
23967 (CFLAGS-key_call.c): Likewise.
23968 (CFLAGS-pmap_rmt.c): Likewise.
23969 (CFLAGS-clnt_perr.c): Likewise.
23970 (CFLAGS-openchild.c): Likewise.
23971 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
23972 (CFLAGS-msgsnd.c): Likewise.
23973 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
23974 * time/Makefile (CFLAGS-tzfile.c): Likewise.
23975 (CFLAGS-tzset.c): Likewise.
23976 (CFLAGS-getdate.c): Likewise.
23977 (CFLAGS-test_time.c): Likewise.
23978 (CPPFLAGS-tst-tzname.c): Likewise.
23979 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
23980 (CFLAGS-zic.c): Likewise.
23981 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
23982 (CFLAGS-wcswidth.c): Likewise.
23983 (CFLAGS-wcstol.c): Likewise.
23984 (CFLAGS-wcstoul.c): Likewise.
23985 (CFLAGS-wcstoll.c): Likewise.
23986 (CFLAGS-wcstoull.c): Likewise.
23987 (CFLAGS-wcstod.c): Likewise.
23988 (CFLAGS-wcstold.c): Likewise.
23989 (CFLAGS-wcstof128.c): Likewise.
23990 (CFLAGS-wcstof.c): Likewise.
23991 (CFLAGS-wcstol_l.c): Likewise.
23992 (CFLAGS-wcstoul_l.c): Likewise.
23993 (CFLAGS-wcstoll_l.c): Likewise.
23994 (CFLAGS-wcstoull_l.c): Likewise.
23995 (CFLAGS-wcstod_l.c): Likewise.
23996 (CFLAGS-wcstold_l.c): Likewise.
23997 (CFLAGS-wcstof128_l.c): Likewise.
23998 (CFLAGS-wcstof_l.c): Likewise.
23999 (CPPFLAGS-tst-wchar-h.c): Likewise.
24000 (CPPFLAGS-wcstold_l.c): Likewise.
24002 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
24004 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
24006 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24007 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24009 * manual/tunables.texi (Hardware Capability Tunables): Document
24010 glibc.tune.cached_memopt.
24011 * sysdeps/powerpc/cpu-features.c: New file.
24012 * sysdeps/powerpc/cpu-features.h: New file.
24013 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
24014 _dl_powerpc_cpu_features.
24015 * sysdeps/powerpc/dl-tunables.list: New file.
24016 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
24017 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
24018 (INIT_ARCH): Initialize use_aligned_memopt.
24019 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
24020 IS_IN(rtld))]: Restrict dl_platform_init availability and
24021 initialize CPU features used by tunables.
24022 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
24023 Add memcpy-power8-cached.
24024 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
24025 __memcpy_power8_cached.
24026 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
24027 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
24030 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
24032 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
24033 (CFLAGS-noinl-tester.c): Likewise.
24034 (CFLAGS-tst-strlen.c): Likewise.
24035 (CFLAGS-stratcliff.c): Likewise.
24036 (CFLAGS-test-ffs.c): Likewise.
24037 (CFLAGS-tst-inlcall.c): Likewise.
24038 (CFLAGS-tst-xbzero-opt.c): Likewise.
24039 (CFLAGS-memcpy.c): Likewise.
24040 (CFLAGS-wordcopy.c): Likewise.
24042 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
24044 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
24045 Store r15 on stack and add cfi rule.
24046 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
24049 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
24052 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
24055 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
24057 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24058 Add s_sinf-sse2 and s_sinf-fma.
24059 (CFLAGS-s_sinf-fma.c): New.
24060 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
24061 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
24062 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
24064 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
24066 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
24068 2017-12-07 Joseph Myers <joseph@codesourcery.com>
24071 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
24072 part of result to imaginary part of argument if it is zero and the
24073 real part of the argument is not finite.
24074 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
24075 of result to real part of argument if it is zero and the imaginary
24076 part of the argument is not finite.
24078 2017-12-07 Mike FABIAN <mfabian@redhat.com>
24081 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
24082 and to the list of locales to be built for testing.
24083 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
24084 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
24085 and build the collation rules upon that.
24087 2017-12-07 Joseph Myers <joseph@codesourcery.com>
24089 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
24090 * manual/math.texi (Mathematics): Document support for _Float32.
24091 * math/Makefile (test-types): Add float32.
24092 * math/Versions (GLIBC_2.27): Add _Float32 functions.
24093 * stdlib/Versions (GLIBC_2.27): Likewise.
24094 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24095 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24096 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24097 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24098 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24099 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
24100 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24101 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
24102 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24103 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24104 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24105 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24106 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24107 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
24108 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24109 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
24110 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24111 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
24112 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24113 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
24114 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24115 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
24117 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24118 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24119 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24120 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
24121 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
24124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
24135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24139 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24140 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24141 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24142 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24143 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
24144 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24145 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24146 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24147 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24148 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24149 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
24151 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24153 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
24155 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24157 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24158 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24159 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24160 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24161 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24162 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24163 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24164 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24166 2017-12-06 Joseph Myers <joseph@codesourcery.com>
24168 * stdlib/strtof.c: Include <bits/floatn.h>
24169 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
24170 and later undefine as macro. Define as weak alias if
24172 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
24173 and later undefine as macro. Define as weak alias if
24175 * stdlib/strtof_l.c: Include <bits/floatn.h>
24176 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
24177 and later undefine as macro. Define as weak alias if
24179 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
24180 and later undefine as macro. Define as weak alias if
24183 * stdlib/strfromf.c: Include <bits/floatn.h>.
24184 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
24185 and later undefine as macro and define as weak alias.
24187 * math/test-float32.h: New file.
24189 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
24190 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
24191 (libm_alias_float_other_r): Create f32 alias.
24192 (libm_alias_float_r): Use semicolon before call to
24193 libm_alias_float_other_r.
24195 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
24196 second argument to libm_alias_float_other.
24197 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
24198 second argument to libm_alias_float_other.
24199 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
24200 argument to libm_alias_float_other.
24203 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
24204 real part of result for argument 0 + i * NaN.
24205 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
24206 results for tests of 0 + i * NaN.
24208 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24210 * sysdeps/alpha/fpu/libm-test-ulps: Update.
24212 2017-12-06 David S. Miller <davem@davemloft.net>
24214 * sysdeps/sparc/fpu/libm-test-ulps: Update
24215 exp_{downward,towardzero,upward} ulps.
24217 2017-12-06 Joseph Myers <joseph@codesourcery.com>
24219 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
24222 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
24224 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
24226 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
24228 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
24231 2017-12-06 Mike FABIAN <mfabian@redhat.com>
24234 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
24235 and to the list of locales to be built for testing.
24236 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
24237 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
24238 and build the collation rules upon that.
24240 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24242 * NEWS: Add sinf to list of optimized functions.
24244 2017-12-06 Joseph Myers <joseph@codesourcery.com>
24246 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
24247 (__HAVE_FLOAT32X): Likewise.
24248 * manual/math.texi (Mathematics): Document support for _Float64
24250 * math/Makefile (test-types): Add float64 and float32x.
24251 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
24253 * stdlib/Versions (GLIBC_2.27): Likewise.
24254 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24255 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24256 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24257 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24258 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24259 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
24260 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24261 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
24262 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24263 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24264 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24265 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24266 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24267 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
24268 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24269 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
24270 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24271 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
24272 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24273 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
24274 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24275 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
24277 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24278 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24279 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24280 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
24281 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
24284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
24294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24298 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24299 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24300 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24301 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24302 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
24303 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24304 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24305 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24306 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24307 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24308 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
24310 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24312 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
24314 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24316 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24317 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24318 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24319 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24320 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24321 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24322 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24323 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24325 2017-12-05 Joseph Myers <joseph@codesourcery.com>
24327 * bits/floatn-common.h: Include <bits/long-double.h>.
24328 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
24329 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
24330 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
24331 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
24332 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
24333 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
24334 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
24335 (__builtin_huge_valf64): Use __builtin_huge_vall.
24336 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
24337 (__builtin_inff64): Use __builtin_infl.
24338 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
24339 (__builtin_nanf64): Use __builtin_nanl.
24340 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
24341 (__builtin_nansf64): Use __builtin_nansl.
24343 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
24344 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24345 Carlos O'Donnell <carlos@redhat.com>
24347 * elf/dl-tunables.list: Add elision parameters.
24348 * manual/tunables.texi: Add entries about elision tunable.
24349 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
24350 Add callback functions to dynamically enable/disable elision.
24351 Add multiple callbacks functions to set elision parameters.
24352 Deleted __libc_enable_secure check.
24353 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
24354 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
24355 * configure: Regenerated.
24356 * configure.ac: Option enable_lock_elision was deleted.
24357 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
24358 * config.make.in: Remove references to enable_lock_elision.
24359 * manual/install.texi: Elision configure option was removed.
24360 * INSTALL: Regenerated to remove enable_lock_elision.
24362 Disable elision so it can verify error case for destroying a mutex.
24363 * sysdeps/powerpc/nptl/elide.h:
24364 Cleanup ENABLE_LOCK_ELISION check.
24365 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
24366 * sysdeps/s390/configure: Regenerated.
24367 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
24368 * nptl/tst-mutex8.c:
24369 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
24370 * sysdeps/powerpc/powerpc32/sysdep.h:
24371 Deleted all ENABLE_LOCK_ELISION checks.
24372 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24373 * sysdeps/powerpc/sysdep.h: Likewise.
24374 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
24375 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
24376 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
24377 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
24378 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24379 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
24380 enable-lock-elision.
24382 2017-12-05 Joseph Myers <joseph@codesourcery.com>
24384 * stdlib/strtod.c: Include <bits/floatn.h>.
24385 (BUILD_DOUBLE): New macro.
24386 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24387 (strtof64): Define and later undefine as macro. Define as weak
24388 alias if [!USE_WIDE_CHAR].
24389 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24390 (wcstof64): Define and later undefine as macro. Define as weak
24391 alias if [USE_WIDE_CHAR].
24392 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24393 (strtof32x): Define and later undefine as macro. Define as weak
24394 alias if [!USE_WIDE_CHAR].
24395 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24396 (wcstof32x): Define and later undefine as macro. Define as weak
24397 alias if [USE_WIDE_CHAR].
24398 * stdlib/strtod_l.c: Include <bits/floatn.h>.
24399 (BUILD_DOUBLE): New macro.
24400 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24401 (strtof64_l): Define and later undefine as macro. Define as weak
24402 alias if [!USE_WIDE_CHAR].
24403 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24404 (wcstof64_l): Define and later undefine as macro. Define as weak
24405 alias if [USE_WIDE_CHAR].
24406 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24407 (strtof32x_l): Define and later undefine as macro. Define as weak
24408 alias if [!USE_WIDE_CHAR].
24409 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24410 (wcstof32x_l): Define and later undefine as macro. Define as weak
24411 alias if [USE_WIDE_CHAR].
24413 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24415 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
24416 (reduced): Use ones as double instead of integer.
24418 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
24420 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
24422 2017-12-05 Joseph Myers <joseph@codesourcery.com>
24424 * stdlib/strfromd.c: Include <bits/floatn.h>.
24425 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
24426 and later undefine as macro and define as weak alias.
24427 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
24430 * math/test-float32x.h: New file.
24431 * math/test-float64.h: Likewise.
24433 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
24434 (libm_alias_double_other_r_f64): New macro.
24435 (libm_alias_double_other_r_f32x): Likewise.
24436 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
24437 libm_alias_double_other_r_f32x.
24438 (libm_alias_double_r): Use semicolon before call to
24439 libm_alias_double_other_r.
24440 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
24442 (libm_alias_double_other_r_f64): New macro.
24443 (libm_alias_double_other_r_f32x): Likewise.
24444 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
24445 libm_alias_double_other_r_f32x.
24447 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
24449 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
24451 (SINF_FUNC): Likewise. Replace floor with simple casts.
24453 2017-12-05 Mike FABIAN <mfabian@redhat.com>
24456 * localedata/Makefile: Add et_EE.UTF-8 to test-input
24457 and to the list of locales to be built for testing.
24458 * localedata/et_EE.UTF-8.in: New file for testing the collation.
24459 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
24460 and build the collation rules upon that.
24462 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
24464 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
24465 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
24466 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
24467 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
24468 instead of __insn__xxx.
24469 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
24470 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
24471 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
24472 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
24473 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
24474 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
24476 2017-12-05 Florian Weimer <fweimer@redhat.com>
24478 Linux: Implement interfaces for memory protection keys
24479 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
24481 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
24482 * support/xunistd.h (xsysconf): Declare.
24483 * support/xraise.c: New file.
24484 * support/xsigaction.c: Likewise.
24485 * support/xsignal.c: Likewise.
24486 * support/xsysconf.c: Likewise.
24487 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
24488 pkey_set, pkey_get, pkey_mprotect.
24489 [misc] (tests): Add tst-pkey.
24490 (tst-pkey): Link with -lpthread.
24491 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
24492 pkey_free, pkey_set, pkey_get, pkey_mprotect.
24493 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
24494 (PKEY_DISABLE_WRITE): Define.
24495 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
24497 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
24498 (SEGV_PKUERR): Add.
24499 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
24500 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
24501 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
24502 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
24504 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
24505 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
24506 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
24507 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
24508 * sysdeps/unix/sysv/linux/**.abilist: Update.
24510 2017-12-05 Florian Weimer <fweimer@redhat.com>
24512 * support/tst-test_compare.c (subprocess): Use long long instead
24513 of long argument for consistent type width across 32-bit and
24514 64-bit architectures.
24515 (do_test): Adjust expected output.
24517 2017-12-05 Joseph Myers <joseph@codesourcery.com>
24519 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
24520 (cosf): Define using libm_alias_float.
24521 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
24522 (fabsf): Define using libm_alias_float.
24523 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
24524 (fmaf): Define using libm_alias_float.
24525 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
24526 (rintf): Define using libm_alias_float.
24527 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
24528 (sinf): Define using libm_alias_float.
24529 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
24530 <libm-alias-float.h>.
24531 (modff): Define using libm_alias_float.
24532 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
24533 <libm-alias-float.h>.
24534 (logbf): Define using libm_alias_float.
24535 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
24536 <libm-alias-float.h>.
24537 (ceilf): Define using libm_alias_float.
24538 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
24539 <libm-alias-float.h>.
24540 (copysignf): Define using libm_alias_float.
24541 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
24542 <libm-alias-float.h>.
24543 (floorf): Define using libm_alias_float.
24544 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
24545 <libm-alias-float.h>.
24546 (llrintf): Define using libm_alias_float.
24547 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
24548 <libm-alias-float.h>.
24549 (llroundf): Define using libm_alias_float.
24550 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
24551 <libm-alias-float.h>.
24552 (lrintf): Define using libm_alias_float.
24553 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
24554 <libm-alias-float.h>.
24555 (lroundf): Define using libm_alias_float.
24556 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
24557 <libm-alias-float.h>.
24558 (nearbyintf): Define using libm_alias_float.
24559 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
24560 <libm-alias-float.h>.
24561 (rintf): Define using libm_alias_float.
24562 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
24563 <libm-alias-float.h>.
24564 (roundf): Define using libm_alias_float.
24565 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
24566 <libm-alias-float.h>.
24567 (truncf): Define using libm_alias_float.
24568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
24569 Include <libm-alias-float.h>.
24570 (ceilf): Define using libm_alias_float.
24571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
24572 Include <libm-alias-float.h>.
24573 (copysignf): Define using libm_alias_float.
24574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
24575 Include <libm-alias-float.h>.
24576 (floorf): Define using libm_alias_float.
24577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
24578 Include <libm-alias-float.h>.
24579 (llrintf): Define using libm_alias_float.
24580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
24581 Include <libm-alias-float.h>.
24582 (llroundf): Define using libm_alias_float.
24583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
24584 Include <libm-alias-float.h>.
24585 (logbf): Define using libm_alias_float.
24586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
24587 Include <libm-alias-float.h>.
24588 (lrintf): Define using libm_alias_float.
24589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
24590 Include <libm-alias-float.h>.
24591 (lroundf): Define using libm_alias_float.
24592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
24593 Include <libm-alias-float.h>.
24594 (modff): Define using libm_alias_float.
24595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
24596 Include <libm-alias-float.h>.
24597 (roundf): Define using libm_alias_float.
24598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
24599 Include <libm-alias-float.h>.
24600 (truncf): Define using libm_alias_float.
24601 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
24602 <libm-alias-float.h>.
24603 (llrintf): Define using libm_alias_float.
24604 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
24605 <libm-alias-float.h>.
24606 (llroundf): Define using libm_alias_float.
24607 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
24608 <libm-alias-float.h>.
24609 (ceilf): Define using libm_alias_float.
24610 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
24611 <libm-alias-float.h>.
24612 (floorf): Define using libm_alias_float.
24613 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
24614 <libm-alias-float.h>.
24615 (llroundf): Define using libm_alias_float.
24616 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
24617 <libm-alias-float.h>.
24618 (lroundf): Define using libm_alias_float.
24619 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
24620 <libm-alias-float.h>.
24621 (roundf): Define using libm_alias_float.
24622 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
24623 <libm-alias-float.h>.
24624 (truncf): Define using libm_alias_float.
24625 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
24626 <libm-alias-float.h>.
24627 (copysignf): Define using libm_alias_float.
24628 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
24629 <libm-alias-float.h>.
24630 (llrintf): Define using libm_alias_float.
24631 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
24632 <libm-alias-float.h>.
24633 (llroundf): Define using libm_alias_float.
24634 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
24635 <libm-alias-float.h>.
24636 (lrintf): Define using libm_alias_float.
24637 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
24638 <libm-alias-float.h>.
24639 (lroundf): Define using libm_alias_float.
24640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
24641 <libm-alias-float.h>.
24642 (ceilf): Define using libm_alias_float.
24643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
24644 <libm-alias-float.h>.
24645 (copysignf): Define using libm_alias_float.
24646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
24647 <libm-alias-float.h>.
24648 (cosf): Define using libm_alias_float.
24649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
24650 <libm-alias-float.h>.
24651 (floorf): Define using libm_alias_float.
24652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
24653 <libm-alias-float.h>.
24654 (llrintf): Define using libm_alias_float.
24655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
24656 <libm-alias-float.h>.
24657 (llroundf): Define using libm_alias_float.
24658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
24659 <libm-alias-float.h>.
24660 (logbf): Define using libm_alias_float.
24661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
24662 <libm-alias-float.h>.
24663 (modff): Define using libm_alias_float.
24664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
24665 <libm-alias-float.h>.
24666 (roundf): Define using libm_alias_float.
24667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
24668 <libm-alias-float.h>.
24669 (sinf): Define using libm_alias_float.
24670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
24671 <libm-alias-float.h>.
24672 (truncf): Define using libm_alias_float.
24673 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
24674 <libm-alias-float.h>.
24675 (ceilf): Define using libm_alias_float.
24676 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
24677 <libm-alias-float.h>.
24678 (copysignf): Define using libm_alias_float.
24679 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
24680 <libm-alias-float.h>.
24681 (floorf): Define using libm_alias_float.
24682 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
24683 <libm-alias-float.h>.
24684 (llrintf): Define using libm_alias_float.
24685 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
24686 <libm-alias-float.h>.
24687 (llroundf): Define using libm_alias_float.
24688 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
24689 <libm-alias-float.h>.
24690 (nearbyintf): Define using libm_alias_float.
24691 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
24692 <libm-alias-float.h>.
24693 (rintf): Define using libm_alias_float.
24694 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
24695 <libm-alias-float.h>.
24696 (roundf): Define using libm_alias_float.
24697 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
24698 <libm-alias-float.h>.
24699 (truncf): Define using libm_alias_float.
24700 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
24701 <libm-alias-float.h>.
24702 (ceilf): Define using libm_alias_float.
24703 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
24704 <libm-alias-float.h>.
24705 (floorf): Define using libm_alias_float.
24706 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
24707 <libm-alias-float.h>.
24708 (llroundf): Define using libm_alias_float.
24709 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
24710 <libm-alias-float.h>.
24711 (roundf): Define using libm_alias_float.
24712 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
24713 <libm-alias-float.h>.
24714 (truncf): Define using libm_alias_float.
24715 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
24716 <libm-alias-float.h>.
24717 (copysignf): Define using libm_alias_float.
24718 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
24719 <libm-alias-float.h>.
24720 (llrintf): Define using libm_alias_float.
24721 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
24722 <libm-alias-float.h>.
24723 (llroundf): Define using libm_alias_float.
24724 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
24725 <libm-alias-float.h>.
24726 (cosf): Define using libm_alias_float.
24727 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
24728 <libm-alias-float.h>.
24729 (llrintf): Define using libm_alias_float.
24730 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
24731 <libm-alias-float.h>.
24732 (llroundf): Define using libm_alias_float.
24733 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
24734 <libm-alias-float.h>.
24735 (sinf): Define using libm_alias_float.
24737 2017-12-04 Florian Weimer <fweimer@redhat.com>
24739 * support/check.h (TEST_COMPARE): Define.
24740 (support_test_compare_failure): Declare.
24741 * support/Makefile (libsupport-routines): Add
24742 support_test_compare_failure.
24743 (tests): Add tst-test_compare.
24744 * support /support_test_compare_failure.c: New file.
24745 * support/tst-test_compare.c: Likewise.
24747 2017-12-04 Mike FABIAN <mfabian@redhat.com>
24750 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
24751 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
24752 available, this rewrite of the collation rules does reproduce
24753 the test file in the same order.
24755 2017-12-04 Mike FABIAN <mfabian@redhat.com>
24758 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
24759 digraphs in the month and day names. Using single code points for
24760 digraphs is deprecated. While there are dedicated Unicode
24761 codepoints, for the digraphs, these are included for backwards
24762 compatibility and modern texts use a sequence of Basic Latin
24763 characters. See: https://www.unicode.org/faq/ligature_digraph.html
24764 This makes the month and day names agree exactly with CLDR now,
24765 CLDR does not use the single code points for the digraphs either.
24767 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
24769 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
24771 2017-12-04 Joseph Myers <joseph@codesourcery.com>
24773 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
24776 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
24778 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
24779 Define only for libc.so.
24781 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
24783 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24784 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
24785 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
24786 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
24787 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24789 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24792 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
24794 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
24797 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
24798 PREINIT_FUNCTION_WEAK is nonzero.
24799 (gmon_initializer): New function. Put procedure label for it in
24800 .init_array section.
24801 (_init): Don't call PREINIT_FUNCTION.
24802 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
24803 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
24804 value when map argument is null.
24806 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
24807 depi instruction from PIC pc-relative sequence.
24808 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
24809 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
24810 (elf_machine_load_address): Likewise.
24811 (elf_machine_runtime_setup): Likewise.
24813 2017-12-02 Joseph Myers <joseph@codesourcery.com>
24815 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
24816 <libm-alias-double.h>.
24817 (logb): Define using libm_alias_double.
24818 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
24819 <libm-alias-double.h>.
24820 (copysign): Define using libm_alias_double.
24821 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
24822 <libm-alias-double.h>.
24823 (llrint): Define using libm_alias_double.
24824 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
24825 <libm-alias-double.h>.
24826 (llround): Define using libm_alias_double.
24827 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
24828 <libm-alias-double.h>.
24829 (lrint): Define using libm_alias_double.
24830 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
24831 <libm-alias-double.h>.
24832 (lround): Define using libm_alias_double.
24833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
24834 Include <libm-alias-double.h>.
24835 (copysign): Define using libm_alias_double.
24836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
24837 Include <libm-alias-double.h>.
24838 (llrint): Define using libm_alias_double.
24839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
24840 Include <libm-alias-double.h>.
24841 (llround): Define using libm_alias_double.
24842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
24843 <libm-alias-double.h>.
24844 (logb): Define using libm_alias_double.
24845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
24846 Include <libm-alias-double.h>.
24847 (lrint): Define using libm_alias_double.
24848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
24849 Include <libm-alias-double.h>.
24850 (lround): Define using libm_alias_double.
24851 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
24852 <libm-alias-double.h>.
24853 (llrint): Define using libm_alias_double.
24854 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
24855 <libm-alias-double.h>.
24856 (llround): Define using libm_alias_double.
24857 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
24858 <libm-alias-double.h>.
24859 (llround): Define using libm_alias_double.
24860 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
24861 <libm-alias-double.h>.
24862 (lround): Define using libm_alias_double.
24863 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
24864 <libm-alias-double.h>.
24865 (copysign): Define using libm_alias_double.
24866 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
24867 <libm-alias-double.h>.
24868 (llrint): Define using libm_alias_double.
24869 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
24870 <libm-alias-double.h>.
24871 (llround): Define using libm_alias_double.
24872 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
24873 <libm-alias-double.h>.
24874 (lrint): Define using libm_alias_double.
24875 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
24876 <libm-alias-double.h>.
24877 (lround): Define using libm_alias_double.
24878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
24879 <libm-alias-double.h>.
24880 (copysign): Define using libm_alias_double.
24881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
24882 <libm-alias-double.h>.
24883 (llrint): Define using libm_alias_double.
24885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
24886 <libm-alias-double.h>.
24887 (llround): Define using libm_alias_double.
24888 (lround): Likewise.
24889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
24890 <libm-alias-double.h>.
24891 (logb): Define using libm_alias_double.
24892 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
24893 <libm-alias-double.h>.
24894 (copysign): Define using libm_alias_double.
24895 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
24896 <libm-alias-double.h>.
24897 (llrint): Define using libm_alias_double.
24899 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
24900 <libm-alias-double.h>.
24901 (llround): Define using libm_alias_double.
24902 (lround): Likewise.
24903 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
24904 <libm-alias-double.h>.
24905 (llround): Define using libm_alias_double.
24906 (lround): Likewise.
24907 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
24908 <libm-alias-double.h>.
24909 (copysign): Define using libm_alias_double.
24910 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
24911 <libm-alias-double.h>.
24912 (llrint): Define using libm_alias_double.
24914 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
24915 <libm-alias-double.h>.
24916 (llround): Define using libm_alias_double.
24917 (lround): Likewise.
24918 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
24919 <libm-alias-double.h>.
24920 (llrint): Define using libm_alias_double.
24922 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
24923 <libm-alias-double.h>.
24924 (llround): Define using libm_alias_double.
24925 (lround): Likewise.
24927 2017-12-01 Joseph Myers <joseph@codesourcery.com>
24929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
24930 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
24931 compat symbol based on llround.
24933 * sysdeps/powerpc/power7/fpu/s_logb.c
24934 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
24935 symbol based on __logb, not on logb.
24936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
24937 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
24938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
24939 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
24941 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
24942 (rint): Define using libm_alias_double.
24943 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
24944 <libm-alias-double.h>.
24945 (modf): Define using libm_alias_double.
24946 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
24947 <libm-alias-double.h>.
24948 (ceil): Define using libm_alias_double.
24949 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
24950 <libm-alias-double.h>.
24951 (floor): Define using libm_alias_double.
24952 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
24953 <libm-alias-double.h>.
24954 (nearbyint): Define using libm_alias_double.
24955 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
24956 <libm-alias-double.h>.
24957 (rint): Define using libm_alias_double.
24958 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
24959 <libm-alias-double.h>.
24960 (round): Define using libm_alias_double.
24961 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
24962 <libm-alias-double.h>.
24963 (trunc): Define using libm_alias_double.
24964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
24965 <libm-alias-double.h>.
24966 (ceil): Define using libm_alias_double.
24967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
24968 Include <libm-alias-double.h>.
24969 (floor): Define using libm_alias_double.
24970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
24971 <libm-alias-double.h>.
24972 (modf): Define using libm_alias_double.
24973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
24974 Include <libm-alias-double.h>.
24975 (round): Define using libm_alias_double.
24976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
24977 Include <libm-alias-double.h>.
24978 (trunc): Define using libm_alias_double.
24979 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
24980 <libm-alias-double.h>.
24981 (ceil): Define using libm_alias_double.
24982 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
24983 <libm-alias-double.h>.
24984 (floor): Define using libm_alias_double.
24985 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
24986 <libm-alias-double.h>.
24987 (round): Define using libm_alias_double.
24988 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
24989 <libm-alias-double.h>.
24990 (trunc): Define using libm_alias_double.
24991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
24992 <libm-alias-double.h>.
24993 (ceil): Define using libm_alias_double.
24994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
24995 <libm-alias-double.h>.
24996 (floor): Define using libm_alias_double.
24997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
24998 <libm-alias-double.h>.
24999 (modf): Define using libm_alias_double.
25000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
25001 <libm-alias-double.h>.
25002 (round): Define using libm_alias_double.
25003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
25004 <libm-alias-double.h>.
25005 (trunc): Define using libm_alias_double.
25006 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
25007 <libm-alias-double.h>.
25008 (ceil): Define using libm_alias_double.
25009 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
25010 <libm-alias-double.h>.
25011 (floor): Define using libm_alias_double.
25012 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
25013 <libm-alias-double.h>.
25014 (nearbyint): Define using libm_alias_double.
25015 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
25016 <libm-alias-double.h>.
25017 (rint): Define using libm_alias_double.
25018 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
25019 <libm-alias-double.h>.
25020 (round): Define using libm_alias_double.
25021 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
25022 <libm-alias-double.h>.
25023 (trunc): Define using libm_alias_double.
25024 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
25025 <libm-alias-double.h>.
25026 (ceil): Define using libm_alias_double.
25027 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
25028 <libm-alias-double.h>.
25029 (floor): Define using libm_alias_double.
25030 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
25031 <libm-alias-double.h>.
25032 (round): Define using libm_alias_double.
25033 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
25034 <libm-alias-double.h>.
25035 (trunc): Define using libm_alias_double.
25037 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
25038 (fabs): Define using libm_alias_double.
25039 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
25040 (fma): Define using libm_alias_double.
25041 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
25042 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
25043 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
25044 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
25046 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25048 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
25050 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
25051 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
25052 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
25054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
25055 due redirect macro.
25057 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
25059 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
25061 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25063 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
25064 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
25065 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
25066 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
25068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25069 (libm-sysdep_routines): Add s_nearbyintf-generic and
25070 s_nearbyint-generic.
25071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
25073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
25074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
25076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
25078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
25080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
25083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25084 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
25085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
25087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
25088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
25090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
25091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
25092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25095 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
25096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
25098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
25099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
25101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
25102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
25103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
25105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25106 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
25107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
25109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
25110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
25112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
25113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
25114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25117 (sysdep_calls): New rule.
25118 (sysdep_routines): Use sysdep_calls as base.
25119 (libm-sysdep_routines): Add generic rule for symbols shared with
25120 libc. Add s_copysign-generic and s_copysign-generic objects.
25121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
25123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
25124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
25126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
25127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
25128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
25130 2017-12-01 Mike FABIAN <mfabian@redhat.com>
25133 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
25134 the list of locales to be built for testing.
25135 * localedata/is_IS.UTF-8.in: New file.
25136 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
25139 2017-12-01 Joseph Myers <joseph@codesourcery.com>
25141 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
25142 <libm-alias-float.h>.
25143 (fabsf): Define using libm_alias_float.
25145 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
25147 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
25149 2017-11-30 Joseph Myers <joseph@codesourcery.com>
25151 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
25152 <libm-alias-float.h>.
25153 (fabsf): Define using libm_alias_float.
25154 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
25155 <libm-alias-float.h>.
25156 (lrintf): Define using libm_alias_float.
25157 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
25158 <libm-alias-float.h>.
25159 (rintf): Define using libm_alias_float.
25161 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
25162 <libm-alias-double.h>.
25163 (fabs): Define using libm_alias_double.
25164 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
25165 <libm-alias-double.h>.
25166 (lrint): Define using libm_alias_double.
25167 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
25168 <libm-alias-double.h>.
25169 (rint): Define using libm_alias_double.
25171 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
25172 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
25173 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
25174 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
25175 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
25176 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
25177 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
25178 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
25179 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
25180 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
25181 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
25182 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
25183 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
25184 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
25185 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
25186 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
25187 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
25188 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
25190 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
25191 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
25192 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
25194 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
25195 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
25196 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
25198 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
25199 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
25200 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
25201 s_expm1_template.c.
25202 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
25203 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
25204 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
25206 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
25207 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
25208 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
25209 s_floor_template.c.
25210 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
25211 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
25212 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
25213 s_frexp_template.c.
25214 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
25215 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
25216 s_lrint_template.c.
25217 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
25218 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
25219 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
25221 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
25222 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
25223 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
25224 s_nearbyint_template.c.
25225 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
25226 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
25227 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
25228 s_remquo_template.c.
25229 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
25230 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
25231 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
25233 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
25234 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
25235 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
25237 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
25238 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
25239 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
25240 s_sincos_template.c.
25241 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
25242 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
25243 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
25245 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
25246 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
25247 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
25249 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
25250 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
25251 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
25252 s_trunc_template.c.
25253 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
25254 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
25255 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
25256 s_atan.c instead of including s_atan.c.
25257 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
25258 s_atanf.c instead of including s_atanf.c.
25259 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
25260 s_atanl.c instead of including s_atanl.c.
25261 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
25262 instead of s_atan.c.
25263 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
25264 instead of s_atanf.c.
25265 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
25266 instead of s_atanl.c.
25268 * scripts/update-copyrights: Do not handle intl/plural.c
25271 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
25274 * configure.ac (BISON): Require to be present.
25275 * configure: Regenerated.
25276 * intl/Makefile (generated): Add plural.c.
25277 [$(BISON) != no]: Make code unconditional.
25278 (plural.c): Change rule to $(objpfx)plural.c.
25279 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
25280 * intl/plural.c: Remove.
25281 * manual/install.texi (Tools for Compilation): Document bison as
25283 * INSTALL: Regenerated.
25285 2017-11-30 Joseph Myers <joseph@codesourcery.com>
25287 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
25288 <libm-alias-double.h>.
25289 (llrint): Define using libm_alias_double.
25290 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
25291 <libm-alias-float.h>.
25292 (llrintf): Define using libm_alias_float.
25293 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
25294 <libm-alias-ldouble.h>.
25295 (llrintl): Define using libm_alias_ldouble.
25297 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
25298 declare_mgen_alias instead of weak_alias.
25299 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
25300 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
25301 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
25303 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25305 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25307 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
25308 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
25309 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
25311 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25312 Add submul_1-generic.
25313 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
25314 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
25315 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
25317 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25318 Add addmul_1-generic.
25319 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
25320 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
25321 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
25323 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25325 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
25326 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
25327 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
25329 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25331 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
25332 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
25333 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
25335 2017-11-30 Mike FABIAN <mfabian@redhat.com>
25337 According to CLDR, collation rules for Serbian and Bosnian
25338 should be the same as for Croatian.
25341 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
25342 and to the list of locales to be built for testing.
25343 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
25344 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
25345 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
25346 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
25348 2017-11-30 Mike FABIAN <mfabian@redhat.com>
25350 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
25351 to make test case pass.
25352 * localedata/hr_HR.UTF-8.in: Add more test strings.
25354 2017-11-30 Mike FABIAN <mfabian@redhat.com>
25356 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
25358 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
25360 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
25361 the list of locales to built for testing.
25362 * localedata/hr_HR.UTF-8.in: New file.
25364 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
25367 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
25369 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
25370 CLDR (except use ligatures for the digraphs, CLDR does not use
25371 the ligatures), add first_workday, some fixes in the date and time
25373 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
25375 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
25376 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
25377 Add int_p_cs_precedes and int_n_cs_precedes.
25378 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
25379 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
25381 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
25382 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
25384 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
25385 and lang_lib. Change postal_fmt.
25387 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
25389 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
25391 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
25392 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
25393 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
25394 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
25395 * sysdeps/generic/setjmpP.h: New file.
25396 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
25397 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
25398 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
25399 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
25400 Add jmp_buf-ssp.sym.
25401 (tests): Add tst-saved_mask-1.
25403 2017-11-30 Arjun Shankar <arjun@redhat.com>
25407 * malloc/malloc.c (__libc_malloc): Use checked_request2size
25408 instead of request2size.
25410 2017-11-30 Joseph Myers <joseph@codesourcery.com>
25412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
25413 (__lllrint): Remove alias.
25414 (lllrint): Likewise.
25415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
25416 (__lllrintf): Likewise.
25417 (lllrintf): Likewise.
25419 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
25420 <libm-alias-float.h>.
25421 (copysignf): Define using libm_alias_float.
25422 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
25423 <libm-alias-float.h>.
25424 (fabsf): Define using libm_alias_float.
25425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25426 Include <libm-alias-float.h>.
25427 (copysignf): Define using libm_alias_float.
25428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
25429 <libm-alias-float.h>.
25430 (fabsf): Define using libm_alias_float.
25431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
25432 <libm-alias-float.h>.
25433 (fdimf): Define using libm_alias_float.
25434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
25435 <libm-alias-float.h>.
25436 (fmaf): Define using libm_alias_float.
25437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
25438 <libm-alias-float.h>.
25439 (llrintf): Define using libm_alias_float.
25440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
25441 Include <libm-alias-float.h>.
25442 (nearbyintf): Define using libm_alias_float.
25443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
25444 <libm-alias-float.h>.
25445 (rintf): Define using libm_alias_float.
25446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
25447 <libm-alias-float.h>.
25448 (llrintf): Define using libm_alias_float.
25449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
25450 <libm-alias-float.h>.
25451 (lrintf): Define using libm_alias_float.
25452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
25453 <libm-alias-float.h>.
25454 (nearbyintf): Define using libm_alias_float.
25455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
25456 <libm-alias-float.h>.
25457 (rintf): Define using libm_alias_float.
25458 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
25459 <libm-alias-float.h>.
25460 (ceilf): Define using libm_alias_float.
25461 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
25462 <libm-alias-float.h>.
25463 (floorf): Define using libm_alias_float.
25464 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
25465 <libm-alias-float.h>.
25466 (fmaf): Define using libm_alias_float.
25467 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
25468 <libm-alias-float.h>.
25469 (lrintf): Define using libm_alias_float.
25470 (llrintf): Likewise.
25471 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
25472 <libm-alias-float.h>.
25473 (nearbyintf): Define using libm_alias_float.
25474 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
25475 <libm-alias-float.h>.
25476 (rintf): Define using libm_alias_float.
25477 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
25478 <libm-alias-float.h>.
25479 (truncf): Define using libm_alias_float.
25480 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
25481 <libm-alias-float.h>.
25482 (copysignf): Define using libm_alias_float.
25483 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
25484 <libm-alias-float.h>.
25485 (fabsf): Define using libm_alias_float.
25486 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
25487 <libm-alias-float.h>.
25488 (lrintf): Define using libm_alias_float.
25489 (llrintf): Likewise.
25490 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
25491 <libm-alias-float.h>.
25492 (nearbyintf): Define using libm_alias_float.
25493 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
25494 <libm-alias-float.h>.
25495 (rintf): Define using libm_alias_float.
25497 2017-11-29 Joseph Myers <joseph@codesourcery.com>
25499 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
25500 <libm-alias-double.h>.
25501 (copysign): Define using libm_alias_double.
25502 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
25503 <libm-alias-double.h>.
25504 (fabs): Define using libm_alias_double.
25505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25506 Include <libm-alias-double.h>.
25507 (copysign): Define using libm_alias_double.
25508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
25509 <libm-alias-double.h>.
25510 (fabs): Define using libm_alias_double.
25511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
25512 <libm-alias-double.h>.
25513 (fdim): Define using libm_alias_double.
25514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
25515 <libm-alias-double.h>.
25516 (fma): Define using libm_alias_double.
25517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
25518 <libm-alias-double.h>.
25519 (llrint): Define using libm_alias_double.
25520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
25521 Include <libm-alias-double.h>.
25522 (nearbyint): Define using libm_alias_double.
25523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
25524 <libm-alias-double.h>.
25525 (rint): Define using libm_alias_double.
25526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
25527 <libm-alias-double.h>.
25528 (fabs): Define using libm_alias_double.
25529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
25530 <libm-alias-double.h>.
25531 (llrint): Define using libm_alias_double.
25532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
25533 <libm-alias-double.h>.
25534 (nearbyint): Define using libm_alias_double.
25535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
25536 <libm-alias-double.h>.
25537 (rint): Define using libm_alias_double.
25538 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
25539 <libm-alias-double.h>.
25540 (ceil): Define using libm_alias_double.
25541 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
25542 <libm-alias-double.h>.
25543 (floor): Define using libm_alias_double.
25544 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
25545 <libm-alias-double.h>.
25546 (fma): Define using libm_alias_double.
25547 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
25548 <libm-alias-double.h>.
25549 (lrint): Define using libm_alias_double.
25550 (llrint): Likewise.
25551 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
25552 <libm-alias-double.h>.
25553 (nearbyint): Define using libm_alias_double.
25554 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
25555 <libm-alias-double.h>.
25556 (rint): Define using libm_alias_double.
25557 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
25558 <libm-alias-double.h>.
25559 (trunc): Define using libm_alias_double.
25560 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
25561 <libm-alias-double.h>.
25562 (copysign): Define using libm_alias_double.
25563 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
25564 <libm-alias-double.h>.
25565 (fabs): Define using libm_alias_double.
25566 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
25567 <libm-alias-double.h>.
25568 (lrint): Define using libm_alias_double.
25569 (llrint): Likewise.
25570 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
25571 <libm-alias-double.h>.
25572 (nearbyint): Define using libm_alias_double.
25573 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
25574 <libm-alias-double.h>.
25575 (rint): Define using libm_alias_double.
25578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
25580 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25582 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
25583 SPARC --disable-multi-arch glibc variants.
25585 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
25586 <libm-alias-float.h>.
25587 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25589 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
25590 <libm-alias-float.h>.
25591 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25593 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
25594 <libm-alias-float.h>.
25595 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25597 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
25598 <libm-alias-float.h>.
25599 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25601 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
25602 <libm-alias-float.h>.
25603 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25605 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
25606 <libm-alias-float.h>.
25607 (ceilf): Define using libm_alias_float.
25608 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
25609 <libm-alias-float.h>.
25610 (floorf): Define using libm_alias_float.
25611 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
25612 <libm-alias-float.h>.
25613 (fmaf): Define using libm_alias_float.
25614 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
25615 <libm-alias-float.h>.
25616 (nearbyintf): Define using libm_alias_float.
25617 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
25618 <libm-alias-float.h>.
25619 (rintf): Define using libm_alias_float.
25620 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
25621 <libm-alias-float.h>.
25622 (truncf): Define using libm_alias_float.
25623 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
25624 (copysignf): Define using libm_alias_float.
25625 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
25626 (cosf): Define using libm_alias_float.
25627 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
25628 (fabsf): Define using libm_alias_float.
25629 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
25630 (fmaxf): Define using libm_alias_float.
25631 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
25632 (fminf): Define using libm_alias_float.
25633 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
25634 (llrintf): Define using libm_alias_float.
25635 [!__ILP32__] (lrintf): Likewise.
25636 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
25637 (sincosf): Define using libm_alias_float.
25638 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
25639 (sinf): Define using libm_alias_float.
25640 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
25641 (lrintf): Define using libm_alias_float.
25643 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
25644 <libm-alias-double.h>.
25645 (atan): Define using libm_alias_double.
25646 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
25647 <libm-alias-double.h>.
25648 (ceil): Define using libm_alias_double.
25649 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
25650 <libm-alias-double.h>.
25651 (floor): Define using libm_alias_double.
25652 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
25653 <libm-alias-double.h>.
25654 (fma): Define using libm_alias_double.
25655 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
25656 <libm-alias-double.h>.
25657 (nearbyint): Define using libm_alias_double.
25658 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
25659 <libm-alias-double.h>.
25660 (rint): Define using libm_alias_double.
25661 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
25662 <libm-alias-double.h>.
25663 (sin): Define using libm_alias_double.
25665 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
25666 <libm-alias-double.h>.
25667 (tan): Define using libm_alias_double.
25668 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
25669 <libm-alias-double.h>.
25670 (trunc): Define using libm_alias_double.
25671 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
25672 (copysign): Define using libm_alias_double.
25673 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
25674 (fabs): Define using libm_alias_double.
25675 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
25676 (fmax): Define using libm_alias_double.
25677 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
25678 (fmin): Define using libm_alias_double.
25679 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
25680 (llrint): Define using libm_alias_double.
25681 [!__ILP32__] (lrint): Likewise.
25682 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
25683 (lrint): Define using libm_alias_double.
25685 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25687 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
25688 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
25690 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
25691 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
25692 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
25693 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
25694 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
25695 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25697 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
25698 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
25700 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
25701 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
25702 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
25703 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
25704 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
25705 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25707 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
25708 (libm-sysdep_routines): Add s_nearbyint-generic and
25709 s_nearbyintf-generic objects.
25710 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
25711 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
25712 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
25713 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
25714 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
25715 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
25717 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
25718 Add s_finitef-generic and s_finite-generic objects.
25719 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
25720 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
25721 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
25722 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
25723 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
25724 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
25726 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
25727 Add s_isinff-generic and s_isinf-generic objects.
25728 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
25729 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
25730 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
25731 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
25732 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
25733 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25735 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
25736 Add s_isnanf-generic and s_isnan-generic objects.
25737 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
25738 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
25739 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
25740 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
25741 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
25742 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25744 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
25746 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
25748 (sysdep_routines): Use sysdep_calls as base.
25749 (libm-sysdep_routines): Add generic rule for symbols shared with
25750 libc. Add s_signbit-generic and s_signbitf-generic objects.
25751 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
25752 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
25753 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
25754 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
25755 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
25756 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25758 2017-11-29 Joseph Myers <joseph@codesourcery.com>
25760 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
25761 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
25762 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
25763 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
25764 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
25765 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
25766 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
25767 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
25768 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
25769 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
25770 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
25771 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
25772 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
25773 libm_alias_float_r.
25774 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
25775 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
25777 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
25778 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
25779 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
25780 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
25781 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
25782 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
25783 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
25784 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
25785 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
25786 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
25788 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
25790 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
25791 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
25792 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
25793 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
25794 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
25795 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
25796 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
25797 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
25798 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
25799 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
25800 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
25801 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
25802 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
25803 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
25804 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
25805 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
25806 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
25807 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
25808 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
25810 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
25811 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
25812 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
25813 * sysdeps/ia64/fpu/w_lgammaf_main.c
25814 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
25815 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
25817 2017-11-28 Mike FABIAN <mfabian@redhat.com>
25818 Alexandre Oliva <aoliva@redhat.com>
25821 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
25822 * localedata/fr_CA.UTF-8.in: New file with test data for backward
25824 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
25826 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
25827 * localedata/locales/de_DE (LC_COLLATE): Likewise.
25828 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
25829 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
25830 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
25831 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
25832 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
25833 instead of “ifdef DIACRIT_BACKWARD”.
25835 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25837 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
25838 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
25839 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
25840 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
25841 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
25842 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
25843 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
25844 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
25845 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
25846 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
25847 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
25848 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
25849 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
25850 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
25851 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
25852 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
25853 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
25854 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
25855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25856 ($(have-as-vis3) == yes): Remove conditional.
25857 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
25859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
25861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
25863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
25865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
25867 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
25868 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
25869 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
25870 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
25871 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
25872 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
25873 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
25874 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
25876 2017-11-29 Joseph Myers <joseph@codesourcery.com>
25878 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
25879 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
25880 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
25881 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
25882 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
25883 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
25884 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
25885 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
25886 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
25887 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
25888 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
25889 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
25890 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
25891 libm_alias_double_r.
25892 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
25894 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
25895 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
25896 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
25897 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
25898 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
25899 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
25900 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
25901 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
25902 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
25903 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
25904 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
25906 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
25908 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
25909 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
25910 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
25911 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
25912 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
25913 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
25914 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
25915 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
25916 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
25917 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
25918 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
25919 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
25920 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
25921 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
25922 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
25923 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
25924 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
25925 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
25927 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
25928 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
25929 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
25930 * sysdeps/ia64/fpu/w_lgamma_main.c
25931 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
25932 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
25934 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
25936 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
25937 address of $global$ into %dp register earlier. Use pc-relative
25938 instruction sequence for PIC case.
25940 2017-11-28 Joseph Myers <joseph@codesourcery.com>
25942 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
25943 (asinhf): Define using libm_alias_float.
25944 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
25945 (atanf): Define using libm_alias_float.
25946 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
25947 (cbrtf): Define using libm_alias_float.
25948 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
25949 (ceilf): Define using libm_alias_float.
25950 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
25951 (copysignf): Define using libm_alias_float.
25952 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
25953 (expm1f): Define using libm_alias_float.
25954 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
25955 (fabsf): Define using libm_alias_float.
25956 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
25957 (floorf): Define using libm_alias_float.
25958 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
25959 (fmaxf): Define using libm_alias_float.
25960 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
25961 (fminf): Define using libm_alias_float.
25962 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
25963 (frexpf): Define using libm_alias_float.
25964 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
25965 (llrintf): Define using libm_alias_float.
25966 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
25967 (logbf): Define using libm_alias_float.
25968 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
25969 (lrintf): Define using libm_alias_float.
25970 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
25971 (nearbyintf): Define using libm_alias_float.
25972 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
25973 (remquof): Define using libm_alias_float.
25974 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
25975 (rintf): Define using libm_alias_float.
25976 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
25977 (truncf): Define using libm_alias_float.
25978 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
25979 <libm-alias-float.h>.
25980 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25982 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
25983 <libm-alias-float.h>.
25984 (expf): Define using libm_alias_float, or libm_alias_float_other
25986 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
25987 <libm-alias-float.h>.
25988 (log2f): Define using libm_alias_float, or libm_alias_float_other
25990 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
25991 <libm-alias-float.h>.
25992 (logf): Define using libm_alias_float, or libm_alias_float_other
25994 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
25995 <libm-alias-float.h>.
25996 (powf): Define using libm_alias_float, or libm_alias_float_other
25998 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
25999 <libm-alias-float.h>.
26000 (cosf): Define using libm_alias_float.
26001 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
26002 <libm-alias-float.h>.
26003 (sincosf): Define using libm_alias_float.
26004 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
26005 <libm-alias-float.h>.
26006 (sinf): Define using libm_alias_float.
26007 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26008 (fmaxf): Define using libm_alias_float.
26009 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
26010 (fminf): Define using libm_alias_float.
26011 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26012 <libm-alias-float.h>.
26013 (fmaf): Define using libm_alias_float.
26015 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
26016 (asinh): Define using libm_alias_double.
26017 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
26018 (atan): Define using libm_alias_double.
26019 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
26020 (cbrt): Define using libm_alias_double.
26021 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
26022 (ceil): Define using libm_alias_double.
26023 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
26024 (copysign): Define using libm_alias_double.
26025 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
26026 (expm1): Define using libm_alias_double.
26027 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
26028 (fabs): Define using libm_alias_double.
26029 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
26030 (fdim): Define using libm_alias_double.
26031 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
26032 (floor): Define using libm_alias_double.
26033 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
26034 (fmax): Define using libm_alias_double.
26035 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
26036 (fmin): Define using libm_alias_double.
26037 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
26038 (frexp): Define using libm_alias_double.
26039 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
26040 (llrint): Define using libm_alias_double.
26041 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
26042 (logb): Define using libm_alias_double.
26043 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
26044 (lrint): Define using libm_alias_double.
26045 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
26046 (nearbyint): Define using libm_alias_double.
26047 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
26048 (remquo): Define using libm_alias_double.
26049 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
26050 (rint): Define using libm_alias_double.
26051 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
26052 (trunc): Define using libm_alias_double.
26053 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
26054 (fmax): Define using libm_alias_double.
26055 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
26056 (fmin): Define using libm_alias_double.
26057 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
26058 (fma): Define using libm_alias_double.
26060 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
26063 * elf/dl-hwcaps.c (ROUND): Removed.
26064 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
26065 and ELF_NOTE_NEXT_OFFSET.
26066 * elf/dl-load.c (ROUND): Removed.
26067 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
26068 * elf/readelflib.c (ROUND): Removed.
26069 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
26070 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
26071 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
26072 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
26074 2017-11-28 Joseph Myers <joseph@codesourcery.com>
26076 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
26077 [!__fmaf] (fmaf): Define using libm_alias_float.
26079 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
26080 [!__fma] (fma): Define using libm_alias_double.
26081 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
26083 2017-11-28 Mike FABIAN <mfabian@redhat.com>
26086 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
26087 and implement the collation rules for cs from CLDR on top of that.
26088 * Makefile: Add cs_CZ.UTF-8 to test-input.
26089 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
26091 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
26093 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
26095 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
26096 Icarus Sparry <icarus.w.sparry@intel.com>
26098 * benchtests/Makefile:Add BENCHSET to allow subsets of
26099 benchmarks to be run.
26100 * benchtests/README: Add documentation for: Running subsets of
26103 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
26105 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
26106 range of tests names.
26108 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
26109 result from property and remove "max", min" and "mean" from
26110 required properties based on benchtests/bench-skeleton.c.
26112 2017-11-28 Florian Weimer <fweimer@redhat.com>
26115 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
26116 due to Internet requirement.
26117 * posix/Makefile (tests): Remove tst-getaddrinfo4,
26119 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
26121 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26123 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
26124 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
26125 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
26126 (sysdep_routines): Add memset-ultra1.
26127 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
26129 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
26130 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
26131 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
26132 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
26133 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
26134 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
26135 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
26136 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26138 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
26140 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
26141 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
26142 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
26143 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
26144 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
26145 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
26146 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
26148 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
26149 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
26150 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
26151 (sysdep_routines): Add memcpy-ultra1.
26152 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
26153 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
26155 2017-11-28 Joseph Myers <joseph@codesourcery.com>
26157 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
26158 (cfloat_versions): Take function argument without trailing 'f'.
26159 Call libm_alias_float_other.
26160 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
26161 * sysdeps/alpha/fpu/cargf.c: Likewise.
26162 * sysdeps/alpha/fpu/cimagf.c: Likewise.
26163 * sysdeps/alpha/fpu/conjf.c: Likewise.
26164 * sysdeps/alpha/fpu/crealf.c: Likewise.
26165 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
26166 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
26167 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
26168 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
26169 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
26170 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
26171 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
26172 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
26173 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
26174 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
26175 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
26176 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
26177 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
26178 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
26179 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
26180 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
26181 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
26182 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
26183 (clog10f): Use libm_alias_float_other.
26184 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
26185 (ceilf): Define using libm_alias_float.
26186 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
26187 (copysignf): Define using libm_alias_float.
26188 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
26189 (fabsf): Define using libm_alias_float.
26190 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
26191 (floorf): Define using libm_alias_float.
26192 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
26193 (fmaxf): Define using libm_alias_float.
26194 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
26195 (fminf): Define using libm_alias_float.
26196 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
26197 (lrintf): Define using libm_alias_float.
26198 (llrintf): Likewise.
26199 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
26200 (lroundf): Define using libm_alias_float.
26201 (llroundf): Likewise.
26202 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
26203 (rintf): Define using libm_alias_float.
26204 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
26205 (truncf): Define using libm_alias_float.
26207 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
26208 (ceilf): Define using libm_alias_float.
26209 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
26210 (floorf): Define using libm_alias_float.
26211 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
26212 (fmaf): Define using libm_alias_float.
26213 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
26214 (fmaxf): Define using libm_alias_float.
26215 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
26216 (fminf): Define using libm_alias_float.
26217 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
26218 (llrintf): Define using libm_alias_float.
26219 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
26220 (llroundf): Define using libm_alias_float.
26221 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
26222 (lrintf): Define using libm_alias_float.
26223 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
26224 (lroundf): Define using libm_alias_float.
26225 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
26226 <libm-alias-float.h>.
26227 (nearbyintf): Define using libm_alias_float.
26228 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
26229 (rintf): Define using libm_alias_float.
26230 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
26231 (roundf): Define using libm_alias_float.
26232 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
26233 (truncf): Define using libm_alias_float.
26235 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
26236 (ceil): Define using libm_alias_double.
26237 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
26238 (copysign): Define using libm_alias_double.
26239 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
26240 (fabs): Define using libm_alias_double.
26241 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
26242 (floor): Define using libm_alias_double.
26243 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
26244 (fmax): Define using libm_alias_double.
26245 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
26246 (fmin): Define using libm_alias_double.
26247 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
26248 (lrint): Define using libm_alias_double.
26249 (llrint): Likewise.
26250 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
26251 (lround): Define using libm_alias_double.
26252 (llround): Likewise.
26253 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
26254 (rint): Define using libm_alias_double.
26255 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
26256 (trunc): Define using libm_alias_double.
26258 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
26259 (libm_alias_double_r): Add semicolon after weak_alias call.
26261 2017-11-27 Joseph Myers <joseph@codesourcery.com>
26263 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
26264 (ceil): Define using libm_alias_double.
26265 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
26266 (floor): Define using libm_alias_double.
26267 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
26268 (fma): Define using libm_alias_double.
26269 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
26270 (fmax): Define using libm_alias_double.
26271 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
26272 (fmin): Define using libm_alias_double.
26273 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
26274 (llrint): Define using libm_alias_double.
26275 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
26276 (llround): Define using libm_alias_double.
26277 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
26278 (lrint): Define using libm_alias_double.
26279 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
26280 (lround): Define using libm_alias_double.
26281 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
26282 (nearbyint): Define using libm_alias_double.
26283 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
26284 (rint): Define using libm_alias_double.
26285 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
26286 (round): Define using libm_alias_double.
26287 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
26288 (trunc): Define using libm_alias_double.
26290 2017-11-27 Florian Weimer <fweimer@redhat.com>
26292 * sysdeps/unix/sysv/linux/mlock2.c: New file.
26293 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
26294 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
26295 (tests): Add tst-mlock2.
26296 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
26297 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
26298 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
26299 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
26300 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
26301 for mlock. Document mlock2.
26303 2017-11-27 Joseph Myers <joseph@codesourcery.com>
26305 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
26306 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
26308 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
26310 * sysdeps/x86/Makeconfig: New file.
26311 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
26312 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26313 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
26314 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26315 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
26316 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26317 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
26319 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26320 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
26321 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26322 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
26323 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26324 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
26325 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26326 * manual/math.texi (Mathematics): Document support for _Float64x.
26327 * math/Versions (GLIBC_2.27): Add _Float64x functions.
26328 * stdlib/Versions (GLIBC_2.27): Likewise.
26329 * wcsmbs/Versions (GLIBC_2.27): Likewise.
26330 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
26331 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26332 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26333 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26334 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26335 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26336 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26337 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26338 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26339 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26340 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
26343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26345 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26346 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26347 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26348 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26349 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26350 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26351 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26352 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26353 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26354 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26355 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26356 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26357 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
26358 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26360 2017-11-27 Andreas Schwab <schwab@suse.de>
26362 * elf/Makefile (dl-routines): Add dl-sort-maps.
26363 * elf/dl-sort-maps.c: New file.
26364 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
26365 (_dl_sort_maps): Declare.
26366 * elf/dl-fini.c (_dl_sort_fini): Remove.
26367 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
26368 * elf/dl-close.c (_dl_close_worker): Likewise.
26369 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
26371 * elf/dl-open.c (dl_open_worker): Likewise.
26373 2017-11-24 Joseph Myers <joseph@codesourcery.com>
26375 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
26376 using libm_alias_float128.
26377 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
26379 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
26381 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
26382 (setpayloadsigf128): Likewise.
26383 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
26385 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
26388 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
26389 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
26390 -mfloat128 to CFLAGS.
26392 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
26394 (CFLAGS-libm-test-support-float64x.c): New variable.
26395 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
26396 $(f128-loader-link) to gnulib-tests.
26398 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
26399 (libm_alias_float128_other_r): If
26400 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
26402 (libm_alias_float128_r): Add semicolon after weak_alias call.
26403 * sysdeps/generic/libm-alias-ldouble.h
26404 (libm_alias_ldouble_other_r_f128): New macro.
26405 (libm_alias_ldouble_other_r_f64x): Likewise.
26406 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
26407 and libm_alias_ldouble_other_r_f64x.
26408 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
26409 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
26410 (libm_alias_ldouble_other_r_f128): New macro.
26411 (libm_alias_ldouble_other_r_f64x): Likewise.
26412 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
26413 and libm_alias_ldouble_other_r_f64x.
26415 * stdlib/strfroml.c: Always include <stdlib.h>.
26416 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
26417 undefine as macro and define as weak alias.
26418 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
26419 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
26421 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
26422 Define and later undefine as macro and define as weak alias.
26424 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
26425 Define and later undefine as macro. Define as weak alias if
26427 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
26428 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
26429 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
26430 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
26431 Define and later undefine as macro. Define as weak alias if
26433 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
26434 Define and later undefine as macro. Define as weak alias if
26436 * sysdeps/ieee754/float128/strtof128_l.c
26437 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
26438 Define and later undefine as macro. Define as weak alias if
26440 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
26441 Define and later undefine as macro. Define as weak alias if
26443 * sysdeps/ieee754/ldbl-128/strtold_l.c
26444 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
26445 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26446 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
26447 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
26448 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
26449 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
26450 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26451 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
26452 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
26453 * sysdeps/ieee754/ldbl-96/strtold_l.c
26454 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
26455 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26456 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
26457 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
26459 * math/test-float64x.h: New file.
26460 * math/Makefile (type-float64x-yes): New variable.
26461 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
26463 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
26464 function-like macro.
26465 (min_of_type_): Likewise.
26466 (min_of_type_l): Likewise.
26467 (min_of_type_f128): Likewise.
26468 (min_of_type): Pass () as last argument of __MATH_TG.
26470 * stdlib/tst-strtod-round-skeleton.c
26471 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
26474 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
26475 for combinations of long double with _Float64 and _Float64x.
26477 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
26478 (__DECL_SIMD_cosf32): Likewise.
26479 (__DECL_SIMD_cosf64): Likewise.
26480 (__DECL_SIMD_cosf32x): Likewise.
26481 (__DECL_SIMD_cosf64x): Likewise.
26482 (__DECL_SIMD_cosf128x): Likewise.
26483 (__DECL_SIMD_sinf16): Likewise.
26484 (__DECL_SIMD_sinf32): Likewise.
26485 (__DECL_SIMD_sinf64): Likewise.
26486 (__DECL_SIMD_sinf32x): Likewise.
26487 (__DECL_SIMD_sinf64x): Likewise.
26488 (__DECL_SIMD_sinf128x): Likewise.
26489 (__DECL_SIMD_sincosf16): Likewise.
26490 (__DECL_SIMD_sincosf32): Likewise.
26491 (__DECL_SIMD_sincosf64): Likewise.
26492 (__DECL_SIMD_sincosf32x): Likewise.
26493 (__DECL_SIMD_sincosf64x): Likewise.
26494 (__DECL_SIMD_sincosf128x): Likewise.
26495 (__DECL_SIMD_logf16): Likewise.
26496 (__DECL_SIMD_logf32): Likewise.
26497 (__DECL_SIMD_logf64): Likewise.
26498 (__DECL_SIMD_logf32x): Likewise.
26499 (__DECL_SIMD_logf64x): Likewise.
26500 (__DECL_SIMD_logf128x): Likewise.
26501 (__DECL_SIMD_expf16): Likewise.
26502 (__DECL_SIMD_expf32): Likewise.
26503 (__DECL_SIMD_expf64): Likewise.
26504 (__DECL_SIMD_expf32x): Likewise.
26505 (__DECL_SIMD_expf64x): Likewise.
26506 (__DECL_SIMD_expf128x): Likewise.
26507 (__DECL_SIMD_powf16): Likewise.
26508 (__DECL_SIMD_powf32): Likewise.
26509 (__DECL_SIMD_powf64): Likewise.
26510 (__DECL_SIMD_powf32x): Likewise.
26511 (__DECL_SIMD_powf64x): Likewise.
26512 (__DECL_SIMD_powf128x): Likewise.
26514 * stdlib/Versions (libc): Move entries for wcstof128 and
26515 wcstof128_l to ....
26516 * wcsmbs/Versions (libc): ... here.
26517 Include <float128-abi.h>.
26519 2017-11-24 Florian Weimer <fweimer@redhat.com>
26521 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26522 bits/mman-shared.h.
26523 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
26524 <bits/mman-shared.h>.
26525 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
26527 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
26528 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
26529 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
26530 <bits/mman-shared.h>.
26532 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26535 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
26536 posix_memalign/free.
26537 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
26539 2017-11-22 Mike FABIAN <mfabian@redhat.com>
26542 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
26543 and implement the collation rules for pl from CLDR on top of that.
26544 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
26545 of locales to be built for testing.
26546 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
26548 2017-11-23 Joseph Myers <joseph@codesourcery.com>
26550 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
26551 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
26552 libm_alias_ldouble_other.
26553 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
26554 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
26555 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
26556 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
26557 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
26558 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
26559 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
26560 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
26561 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
26562 libm_alias_ldouble_r.
26563 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
26564 libm_alias_ldouble_other.
26565 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
26566 (log10l): Likewise.
26567 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
26568 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
26569 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
26570 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
26571 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
26572 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
26573 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
26574 (atan2l): Likewise.
26575 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
26576 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
26577 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
26578 libm_alias_ldouble.
26579 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
26581 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
26582 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
26583 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
26585 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
26586 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
26587 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
26588 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
26589 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
26590 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
26591 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
26592 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
26593 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
26594 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
26595 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
26596 libm_alias_ldouble.
26597 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
26598 libm_alias_ldouble_other.
26599 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
26600 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
26601 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
26602 libm_alias_ldouble.
26603 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
26604 libm_alias_ldouble_other.
26605 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
26606 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
26607 * sysdeps/ia64/fpu/w_lgammal_main.c
26608 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
26609 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
26611 2017-11-23 Florian Weimer <fweimer@redhat.com>
26613 * malloc/malloc.c (tcache_thread_shutdown): Rename from
26614 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
26615 alike. Remove freeres marker.
26616 * malloc/arena.c (arena_thread_freeres): Call
26617 tcache_thread_shutdown.
26619 2017-11-23 Florian Weimer <fweimer@redhat.com>
26622 Export nscd hash function as __nss_hash.
26623 * include/nss.h (__nss_hash): Declare.
26624 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
26626 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
26627 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
26629 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
26630 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
26631 * nss/Makefiles (routines): Add nss_hash.
26632 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
26633 * nss/nss_hash.c: Rename from nis/nis_hash.c.
26634 (__nss_hash): Rename from __nis_hash. Define hidden alias.
26635 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
26637 2017-11-23 Florian Weimer <fweimer@redhat.com>
26640 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
26641 Return error code, not -1.
26642 * signal/tst-sigwait-eintr.c: New file.
26643 * signal/Makefile (tests): Add tst-sigwait-eintr.
26645 2017-11-23 Florian Weimer <fweimer@redhat.com>
26647 Linux: Add memfd_create system call wrapper
26648 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
26650 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
26651 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
26652 [__USE_GNU] (memfd_create): Declare.
26653 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
26654 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
26655 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
26656 * sysdeps/unix/sysv/linux/**.abilist: Update.
26657 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
26659 2017-11-22 Joseph Myers <joseph@codesourcery.com>
26661 * localedata/gen-locale.sh: Fix typo in variable name.
26663 * resolv/res_debug.c (p_secstodate): Condition definition on
26664 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
26665 directly as __p_secstodate, and as a compat symbol. Do not use
26666 libresolv_hidden_def.
26667 * resolv/resolv.h (p_secstodate): Remove macro and function
26669 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
26670 using p_secstodate.
26671 * include/resolv.h (__p_secstodate): Do not use
26672 libresolv_hidden_proto.
26673 * resolv/Makefile (tests): Move tst-p_secstodate to ....
26674 (tests-internal): ... here.
26675 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
26676 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
26677 and declare and use __p_secstodate and use compat_symbol_reference
26679 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
26680 implementation returning 77.
26683 * resolv/res_debug.c: Include <libc-diag.h>.
26684 (p_secstodate): Assert time_t at least as wide as u_long. On
26685 overflow, use integer seconds since the epoch as output, or use
26686 "<overflow>" as output and set errno to EOVERFLOW if integer
26687 seconds since the epoch would be 14 or more characters.
26688 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
26690 * resolv/tst-p_secstodate.c: New file.
26691 * resolv/Makefile (tests): Add tst-p_secstodate.
26692 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
26694 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
26695 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
26696 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
26698 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
26700 * posix/regcomp.c (init_word_char): Add comments.
26702 2017-11-22 Joseph Myers <joseph@codesourcery.com>
26705 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
26706 strlen to compute length of ut_user and set trailing NUL byte of
26709 2017-11-21 Mike FABIAN <mfabian@redhat.com>
26712 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
26713 using “copy "iso14651_t1"” and then implementing the
26714 collation rules for lv from CLDR on top of that.
26715 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
26716 of locales to be built for testing.
26717 * lv_LV.UTF-8.in: New file with test data to test the Latvian
26720 2017-11-21 Joseph Myers <joseph@codesourcery.com>
26722 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
26723 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
26724 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
26725 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
26726 [__USE_MISC] (MADV_HWPOISON): New macro.
26727 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
26729 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26731 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
26732 -Wmissing-braces on GCC 4.9.
26734 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
26736 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
26737 * sysdeps/s390/s390-32/start.S (_start): Likewise
26738 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
26739 (thread_start): Likewise.
26740 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
26741 (thread_start): Likewise.
26742 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
26743 (__makecontext_ret): Likewise.
26744 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
26745 (__makecontext_ret): Likewise.
26747 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
26749 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
26750 __wcschrnul): Remove attribute_hidden.
26752 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
26754 regex: don't assume uint64_t or uint32_t
26755 This avoids -Werror=overflow errors for 32-bit systems in
26756 the 64-bit case. Problem reported by Joseph Myers in:
26757 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
26758 Also, when this code is used in Gnulib it ports to platforms
26759 that lack uint64_t and uint32_t. The C standard doesn't guarantee
26760 them, and on some 32-bit compilers there is no uint64_t.
26761 Problem reported by Gianluigi Tiesi in:
26762 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
26763 * posix/regcomp.c (init_word_char): Don't assume that the types
26764 uint64_t and uint32_t exist. Adapted from Gnulib patch
26765 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
26766 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
26768 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
26770 * sysdeps/aarch64/memset-reg.h: New file.
26771 * sysdeps/aarch64/memset.S: Use it.
26772 (__memset): Rename to MEMSET macro.
26773 [ZVA_MACRO]: Use zva_macro.
26774 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
26775 Add memset_generic and memset_falkor.
26776 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
26777 (__libc_ifunc_impl_list): Add memset ifuncs.
26778 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
26779 local variable zva_size.
26780 * sysdeps/aarch64/multiarch/memset.c: New file.
26781 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
26782 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
26783 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
26784 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
26785 (DCZID_DZP_MASK): New macro.
26786 (DCZID_BS_MASK): Likewise.
26787 (init_cpu_features): Read and set zva_size.
26788 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
26789 (struct cpu_features): New member zva_size.
26791 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
26792 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
26793 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
26795 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
26796 backwards. Fix timing computation.
26797 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
26798 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
26799 on memset by N at a time. Fix timing computation.
26801 2017-11-20 Florian Weimer <fweimer@redhat.com>
26803 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
26804 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
26806 2017-11-19 Florian Weimer <fweimer@redhat.com>
26808 manual: Document mprotect
26809 * manual/memory.texi (Memory Protection): New section.
26810 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
26811 documentation of PROT_* flags and reference the Memory Protection
26814 2017-11-19 Florian Weimer <fweimer@redhat.com>
26816 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
26817 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
26818 (Scatter-Gather): ... to here. Remove misleading comment.
26820 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
26822 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
26825 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
26826 when /proc/<pid>/setgroups does not exist.
26828 2017-11-18 Florian Weimer <fweimer@redhat.com>
26830 * sysdeps/unix/sysv/linux/tst-ttyname.c
26831 (become_root_in_mount_ns): Remove.
26832 (do_in_chroot_1): Call support_enter_mount_namespace.
26833 (do_in_chroot_2): Likewise.
26834 (do_test): Call support_become_root early.
26836 2017-11-18 Florian Weimer <fweimer@redhat.com>
26838 * support/namespace.h (support_enter_mount_namespace): Declare.
26839 * support/support_enter_mount_namespace.c: New file.
26840 * support/Makefile (libsupport-routines): Add
26841 support_enter_mount_namespace.
26843 2017-11-18 Florian Weimer <fweimer@redhat.com>
26845 * support/temp_file.c (support_create_temp_directory): Use
26846 test_dir and do not rely on the presence of the XXXXXX suffix.
26847 * support/temp_file.h (support_create_temp_directory): Update
26849 * support/tst-xreadlink.c (do_test): Adjust.
26850 * support/support_chroot.c (support_chroot_create): Likewise.
26852 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26854 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
26856 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
26859 2017-11-17 Joseph Myers <joseph@codesourcery.com>
26861 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
26862 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
26863 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
26864 (ceill): Define using libm_alias_ldouble.
26865 * sysdeps/x86_64/fpu/s_copysignl.S: Include
26866 <libm-alias-ldouble.h>.
26867 (copysignl): Define using libm_alias_ldouble.
26868 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
26869 (fabsl): Define using libm_alias_ldouble.
26870 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
26871 (floorl): Define using libm_alias_ldouble.
26872 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
26873 (fmaxl): Define using libm_alias_ldouble.
26874 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
26875 (fminl): Define using libm_alias_ldouble.
26876 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
26877 (llrintl): Define using libm_alias_ldouble.
26878 (lrintl): Likewise.
26879 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
26880 <libm-alias-ldouble.h>.
26881 (nearbyintl): Define using libm_alias_ldouble.
26882 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
26883 (truncl): Define using libm_alias_ldouble.
26884 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
26885 <libm-alias-ldouble.h>.
26886 (lrintl): Define using libm_alias_ldouble.
26888 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
26889 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
26890 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
26891 (asinhl): Define using libm_alias_ldouble.
26892 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
26893 (atanl): Define using libm_alias_ldouble.
26894 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
26895 (cbrtl): Define using libm_alias_ldouble.
26896 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
26897 (ceill): Define using libm_alias_ldouble.
26898 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
26899 (copysignl): Define using libm_alias_ldouble.
26900 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
26901 (fabsl): Define using libm_alias_ldouble.
26902 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
26903 (floorl): Define using libm_alias_ldouble.
26904 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
26905 (fmaxl): Define using libm_alias_ldouble.
26906 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
26907 (fminl): Define using libm_alias_ldouble.
26908 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
26909 (frexpl): Define using libm_alias_ldouble.
26910 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
26911 (llrintl): Define using libm_alias_ldouble.
26912 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
26913 (logbl): Define using libm_alias_ldouble.
26914 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
26915 (lrintl): Define using libm_alias_ldouble.
26916 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
26917 (nearbyintl): Define using libm_alias_ldouble.
26918 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
26919 (nextafterl): Define using libm_alias_ldouble.
26920 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
26921 (remquol): Define using libm_alias_ldouble.
26922 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
26923 (rintl): Define using libm_alias_ldouble.
26924 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
26925 (truncl): Define using libm_alias_ldouble.
26926 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
26927 (fmaxl): Define using libm_alias_ldouble.
26928 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
26929 (fminl): Define using libm_alias_ldouble.
26931 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
26932 to C syntax instead of availability and properties of types.
26933 * bits/floatn.h [!__ASSEMBLER]: Likewise.
26934 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
26935 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
26936 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
26937 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
26938 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
26940 2017-11-17 Florian Weimer <fweimer@redhat.com>
26942 support_become_root: Enable file creation in namespaces.
26943 * support/support_become_root.c (setup_mapping): New function.
26944 (support_become_root): Call it.
26946 2017-11-17 Joseph Myers <joseph@codesourcery.com>
26948 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
26951 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26953 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
26954 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
26956 2017-11-16 Joseph Myers <joseph@codesourcery.com>
26958 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
26960 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
26963 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
26965 * INSTALL: Fix botched up regeneration.
26967 * NEWS: Update sourceare link to https.
26968 * configure.ac: Likewise.
26969 * crypt/md5test-giant.c: Likewise.
26970 * dlfcn/bug-atexit1.c: Likewise.
26971 * dlfcn/bug-atexit2.c: Likewise.
26972 * localedata/README: Likewise.
26973 * malloc/tst-mallocfork.c: Likewise.
26974 * manual/install.texi: Likewise.
26975 * nptl/tst-pthread-getattr.c: Likewise.
26976 * stdio-common/tst-fgets.c: Likewise.
26977 * stdio-common/tst-fwrite.c: Likewise.
26978 * sunrpc/Makefile: Likewise.
26979 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
26980 * wcsmbs/tst-mbrtowc2.c: Likewise.
26981 * configure: Regenerate.
26982 * INSTALL: Regenerate.
26984 2017-11-15 Martin Sebor <msebor@redhat.com>
26986 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
26987 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
26988 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
26990 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
26993 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
26994 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
26997 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
26998 Defer is_pty check until end of the function.
26999 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27002 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
27003 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
27004 (ttyname): Likewise.
27005 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
27006 (__ttyname_r): Likewise.
27008 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
27011 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
27013 * manual/terminal.texi (Is It a Terminal):
27014 Mention ENODEV for ttyname and ttyname_r.
27016 2017-11-15 Joseph Myers <joseph@codesourcery.com>
27018 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
27019 constant and macro.
27021 * sysdeps/unix/sysv/linux/bits/mman-linux.h
27022 [__USE_MISC] (MADV_WIPEONFORK): New macro.
27023 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
27024 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
27025 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
27026 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
27028 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27030 * signal/sigrelse.c (sigrelse): Optimize implementation.
27032 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
27033 (__sigpause): Rely on __sigsuspend to implement single thread
27034 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
27036 2017-11-15 Joseph Myers <joseph@codesourcery.com>
27038 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
27039 kernel version to 4.14.
27041 2017-11-15 Steve Ellcey <sellcey@cavium.com>
27044 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
27045 Check if ifname is too long.
27047 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
27049 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
27051 2017-11-15 Mike FABIAN <mfabian@redhat.com>
27053 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
27054 was accidentally lost.
27056 2017-11-15 Mike FABIAN <mfabian@redhat.com>
27058 * localedata/locales/az_IR: Add standard copyright header.
27060 2017-11-15 Florian Weimer <fweimer@redhat.com>
27063 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
27064 not just the top one. Output a new "subheaps" statistic.
27066 2017-11-15 Florian Weimer <fweimer@redhat.com>
27069 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
27070 under the per-arena lock.
27071 * malloc/Makefile (tests): Add tst-malloc_info.
27072 (tst-malloc_info): Link with libpthread.
27073 * malloc/tst-malloc_info.c: New file.
27075 2017-11-15 Joseph Myers <joseph@codesourcery.com>
27078 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
27079 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
27080 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
27081 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
27082 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
27083 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
27084 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
27085 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
27086 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
27087 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
27088 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
27089 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
27090 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
27091 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
27092 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
27093 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
27094 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
27095 (__floating_type): Likewise.
27096 (__real_integer_type): Likewise.
27097 (__complex_integer_type): Likewise.
27098 (__expr_is_real): Likewise.
27099 (__tgmath_real_type_sub): Likewise.
27100 (__tgmath_real_type): Likewise.
27101 (__tgmath_complex_type_sub): Likewise.
27102 (__tgmath_complex_type): Likewise.
27103 (__TGMATH_F128): Likewise.
27104 (__TGMATH_CF128): Likewise.
27105 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
27107 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
27108 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
27110 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
27112 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
27113 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
27114 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
27115 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
27117 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
27118 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
27120 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
27121 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
27122 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
27124 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
27125 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
27126 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
27130 2017-11-14 Joseph Myers <joseph@codesourcery.com>
27132 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
27133 for stpncpy calls for GCC 8.
27134 (test_strncat): Disable -Wstringop-truncation warning for strncat
27135 calls for GCC 8. Disable -Wstringop-overflow= warning for one
27136 strncat call for GCC 7.
27137 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
27139 (test_memcmp): Use memcpy instead of strncpy for calls not copying
27142 * string/bug-strncat1.c: Include <libc-diag.h>.
27143 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
27145 2017-11-13 Claude Paroz <claude@2xlibre.net>
27148 * localedata/locales/aa_DJ: Improved readibility by replacing
27149 <Uxxxx> sequences in the ASCII printable range by their ASCII
27150 character equivalents.
27151 * localedata/locales/aa_ER: Likewise.
27152 * localedata/locales/aa_ER@saaho: Likewise.
27153 * localedata/locales/aa_ET: Likewise.
27154 * localedata/locales/af_ZA: Likewise.
27155 * localedata/locales/agr_PE: Likewise.
27156 * localedata/locales/ak_GH: Likewise.
27157 * localedata/locales/am_ET: Likewise.
27158 * localedata/locales/anp_IN: Likewise.
27159 * localedata/locales/ar_AE: Likewise.
27160 * localedata/locales/ar_BH: Likewise.
27161 * localedata/locales/ar_DZ: Likewise.
27162 * localedata/locales/ar_EG: Likewise.
27163 * localedata/locales/ar_IN: Likewise.
27164 * localedata/locales/ar_IQ: Likewise.
27165 * localedata/locales/ar_JO: Likewise.
27166 * localedata/locales/ar_KW: Likewise.
27167 * localedata/locales/ar_LB: Likewise.
27168 * localedata/locales/ar_LY: Likewise.
27169 * localedata/locales/ar_MA: Likewise.
27170 * localedata/locales/ar_OM: Likewise.
27171 * localedata/locales/ar_QA: Likewise.
27172 * localedata/locales/ar_SA: Likewise.
27173 * localedata/locales/ar_SD: Likewise.
27174 * localedata/locales/ar_SS: Likewise.
27175 * localedata/locales/ar_SY: Likewise.
27176 * localedata/locales/ar_TN: Likewise.
27177 * localedata/locales/ar_YE: Likewise.
27178 * localedata/locales/as_IN: Likewise.
27179 * localedata/locales/ast_ES: Likewise.
27180 * localedata/locales/ayc_PE: Likewise.
27181 * localedata/locales/az_AZ: Likewise.
27182 * localedata/locales/az_IR: Likewise.
27183 * localedata/locales/be_BY: Likewise.
27184 * localedata/locales/be_BY@latin: Likewise.
27185 * localedata/locales/bem_ZM: Likewise.
27186 * localedata/locales/ber_DZ: Likewise.
27187 * localedata/locales/ber_MA: Likewise.
27188 * localedata/locales/bg_BG: Likewise.
27189 * localedata/locales/bhb_IN: Likewise.
27190 * localedata/locales/bho_IN: Likewise.
27191 * localedata/locales/bi_VU: Likewise.
27192 * localedata/locales/bn_BD: Likewise.
27193 * localedata/locales/bn_IN: Likewise.
27194 * localedata/locales/bo_CN: Likewise.
27195 * localedata/locales/bo_IN: Likewise.
27196 * localedata/locales/br_FR: Likewise.
27197 * localedata/locales/brx_IN: Likewise.
27198 * localedata/locales/bs_BA: Likewise.
27199 * localedata/locales/byn_ER: Likewise.
27200 * localedata/locales/ca_AD: Likewise.
27201 * localedata/locales/ca_ES: Likewise.
27202 * localedata/locales/ca_FR: Likewise.
27203 * localedata/locales/ca_IT: Likewise.
27204 * localedata/locales/ce_RU: Likewise.
27205 * localedata/locales/chr_US: Likewise.
27206 * localedata/locales/cmn_TW: Likewise.
27207 * localedata/locales/crh_UA: Likewise.
27208 * localedata/locales/cs_CZ: Likewise.
27209 * localedata/locales/csb_PL: Likewise.
27210 * localedata/locales/cv_RU: Likewise.
27211 * localedata/locales/cy_GB: Likewise.
27212 * localedata/locales/da_DK: Likewise.
27213 * localedata/locales/de_AT: Likewise.
27214 * localedata/locales/de_BE: Likewise.
27215 * localedata/locales/de_CH: Likewise.
27216 * localedata/locales/de_DE: Likewise.
27217 * localedata/locales/de_IT: Likewise.
27218 * localedata/locales/de_LI: Likewise.
27219 * localedata/locales/de_LU: Likewise.
27220 * localedata/locales/doi_IN: Likewise.
27221 * localedata/locales/dv_MV: Likewise.
27222 * localedata/locales/dz_BT: Likewise.
27223 * localedata/locales/el_CY: Likewise.
27224 * localedata/locales/el_GR: Likewise.
27225 * localedata/locales/en_AG: Likewise.
27226 * localedata/locales/en_AU: Likewise.
27227 * localedata/locales/en_BW: Likewise.
27228 * localedata/locales/en_CA: Likewise.
27229 * localedata/locales/en_DK: Likewise.
27230 * localedata/locales/en_GB: Likewise.
27231 * localedata/locales/en_HK: Likewise.
27232 * localedata/locales/en_IE: Likewise.
27233 * localedata/locales/en_IL: Likewise.
27234 * localedata/locales/en_IN: Likewise.
27235 * localedata/locales/en_NG: Likewise.
27236 * localedata/locales/en_NZ: Likewise.
27237 * localedata/locales/en_PH: Likewise.
27238 * localedata/locales/en_SG: Likewise.
27239 * localedata/locales/en_US: Likewise.
27240 * localedata/locales/en_ZA: Likewise.
27241 * localedata/locales/en_ZM: Likewise.
27242 * localedata/locales/en_ZW: Likewise.
27243 * localedata/locales/eo: Likewise.
27244 * localedata/locales/es_AR: Likewise.
27245 * localedata/locales/es_BO: Likewise.
27246 * localedata/locales/es_CL: Likewise.
27247 * localedata/locales/es_CO: Likewise.
27248 * localedata/locales/es_CR: Likewise.
27249 * localedata/locales/es_CU: Likewise.
27250 * localedata/locales/es_DO: Likewise.
27251 * localedata/locales/es_EC: Likewise.
27252 * localedata/locales/es_ES: Likewise.
27253 * localedata/locales/es_GT: Likewise.
27254 * localedata/locales/es_HN: Likewise.
27255 * localedata/locales/es_MX: Likewise.
27256 * localedata/locales/es_NI: Likewise.
27257 * localedata/locales/es_PA: Likewise.
27258 * localedata/locales/es_PE: Likewise.
27259 * localedata/locales/es_PR: Likewise.
27260 * localedata/locales/es_PY: Likewise.
27261 * localedata/locales/es_SV: Likewise.
27262 * localedata/locales/es_US: Likewise.
27263 * localedata/locales/es_UY: Likewise.
27264 * localedata/locales/es_VE: Likewise.
27265 * localedata/locales/et_EE: Likewise.
27266 * localedata/locales/eu_ES: Likewise.
27267 * localedata/locales/eu_ES@euro: Likewise.
27268 * localedata/locales/fa_IR: Likewise.
27269 * localedata/locales/ff_SN: Likewise.
27270 * localedata/locales/fi_FI: Likewise.
27271 * localedata/locales/fil_PH: Likewise.
27272 * localedata/locales/fo_FO: Likewise.
27273 * localedata/locales/fr_BE: Likewise.
27274 * localedata/locales/fr_CA: Likewise.
27275 * localedata/locales/fr_CH: Likewise.
27276 * localedata/locales/fr_FR: Likewise.
27277 * localedata/locales/fr_LU: Likewise.
27278 * localedata/locales/fur_IT: Likewise.
27279 * localedata/locales/fy_DE: Likewise.
27280 * localedata/locales/fy_NL: Likewise.
27281 * localedata/locales/ga_IE: Likewise.
27282 * localedata/locales/gd_GB: Likewise.
27283 * localedata/locales/gez_ER: Likewise.
27284 * localedata/locales/gez_ET: Likewise.
27285 * localedata/locales/gl_ES: Likewise.
27286 * localedata/locales/gu_IN: Likewise.
27287 * localedata/locales/gv_GB: Likewise.
27288 * localedata/locales/ha_NG: Likewise.
27289 * localedata/locales/hak_TW: Likewise.
27290 * localedata/locales/he_IL: Likewise.
27291 * localedata/locales/hi_IN: Likewise.
27292 * localedata/locales/hif_FJ: Likewise.
27293 * localedata/locales/hne_IN: Likewise.
27294 * localedata/locales/hr_HR: Likewise.
27295 * localedata/locales/hsb_DE: Likewise.
27296 * localedata/locales/ht_HT: Likewise.
27297 * localedata/locales/hu_HU: Likewise.
27298 * localedata/locales/hy_AM: Likewise.
27299 * localedata/locales/i18n: Likewise.
27300 * localedata/locales/ia_FR: Likewise.
27301 * localedata/locales/id_ID: Likewise.
27302 * localedata/locales/ig_NG: Likewise.
27303 * localedata/locales/ik_CA: Likewise.
27304 * localedata/locales/is_IS: Likewise.
27305 * localedata/locales/it_CH: Likewise.
27306 * localedata/locales/it_IT: Likewise.
27307 * localedata/locales/iu_CA: Likewise.
27308 * localedata/locales/ja_JP: Likewise.
27309 * localedata/locales/ka_GE: Likewise.
27310 * localedata/locales/kk_KZ: Likewise.
27311 * localedata/locales/kl_GL: Likewise.
27312 * localedata/locales/kn_IN: Likewise.
27313 * localedata/locales/ko_KR: Likewise.
27314 * localedata/locales/kok_IN: Likewise.
27315 * localedata/locales/ks_IN: Likewise.
27316 * localedata/locales/ks_IN@devanagari: Likewise.
27317 * localedata/locales/ku_TR: Likewise.
27318 * localedata/locales/kw_GB: Likewise.
27319 * localedata/locales/ky_KG: Likewise.
27320 * localedata/locales/lb_LU: Likewise.
27321 * localedata/locales/lg_UG: Likewise.
27322 * localedata/locales/li_BE: Likewise.
27323 * localedata/locales/li_NL: Likewise.
27324 * localedata/locales/lij_IT: Likewise.
27325 * localedata/locales/ln_CD: Likewise.
27326 * localedata/locales/lo_LA: Likewise.
27327 * localedata/locales/lt_LT: Likewise.
27328 * localedata/locales/lv_LV: Likewise.
27329 * localedata/locales/lzh_TW: Likewise.
27330 * localedata/locales/mag_IN: Likewise.
27331 * localedata/locales/mai_IN: Likewise.
27332 * localedata/locales/mg_MG: Likewise.
27333 * localedata/locales/mhr_RU: Likewise.
27334 * localedata/locales/mi_NZ: Likewise.
27335 * localedata/locales/mk_MK: Likewise.
27336 * localedata/locales/ml_IN: Likewise.
27337 * localedata/locales/mn_MN: Likewise.
27338 * localedata/locales/mni_IN: Likewise.
27339 * localedata/locales/mr_IN: Likewise.
27340 * localedata/locales/ms_MY: Likewise.
27341 * localedata/locales/mt_MT: Likewise.
27342 * localedata/locales/my_MM: Likewise.
27343 * localedata/locales/nan_TW: Likewise.
27344 * localedata/locales/nan_TW@latin: Likewise.
27345 * localedata/locales/nb_NO: Likewise.
27346 * localedata/locales/nds_DE: Likewise.
27347 * localedata/locales/nds_NL: Likewise.
27348 * localedata/locales/ne_NP: Likewise.
27349 * localedata/locales/nhn_MX: Likewise.
27350 * localedata/locales/niu_NU: Likewise.
27351 * localedata/locales/niu_NZ: Likewise.
27352 * localedata/locales/nl_AW: Likewise.
27353 * localedata/locales/nl_BE: Likewise.
27354 * localedata/locales/nl_NL: Likewise.
27355 * localedata/locales/nn_NO: Likewise.
27356 * localedata/locales/nr_ZA: Likewise.
27357 * localedata/locales/nso_ZA: Likewise.
27358 * localedata/locales/oc_FR: Likewise.
27359 * localedata/locales/om_ET: Likewise.
27360 * localedata/locales/om_KE: Likewise.
27361 * localedata/locales/or_IN: Likewise.
27362 * localedata/locales/os_RU: Likewise.
27363 * localedata/locales/pa_IN: Likewise.
27364 * localedata/locales/pa_PK: Likewise.
27365 * localedata/locales/pap_AW: Likewise.
27366 * localedata/locales/pap_CW: Likewise.
27367 * localedata/locales/pl_PL: Likewise.
27368 * localedata/locales/ps_AF: Likewise.
27369 * localedata/locales/pt_BR: Likewise.
27370 * localedata/locales/pt_PT: Likewise.
27371 * localedata/locales/quz_PE: Likewise.
27372 * localedata/locales/raj_IN: Likewise.
27373 * localedata/locales/ro_RO: Likewise.
27374 * localedata/locales/ru_RU: Likewise.
27375 * localedata/locales/ru_UA: Likewise.
27376 * localedata/locales/rw_RW: Likewise.
27377 * localedata/locales/sa_IN: Likewise.
27378 * localedata/locales/sat_IN: Likewise.
27379 * localedata/locales/sc_IT: Likewise.
27380 * localedata/locales/sd_IN: Likewise.
27381 * localedata/locales/sd_IN@devanagari: Likewise.
27382 * localedata/locales/se_NO: Likewise.
27383 * localedata/locales/sgs_LT: Likewise.
27384 * localedata/locales/shs_CA: Likewise.
27385 * localedata/locales/si_LK: Likewise.
27386 * localedata/locales/sid_ET: Likewise.
27387 * localedata/locales/sk_SK: Likewise.
27388 * localedata/locales/sl_SI: Likewise.
27389 * localedata/locales/sm_WS: Likewise.
27390 * localedata/locales/so_DJ: Likewise.
27391 * localedata/locales/so_ET: Likewise.
27392 * localedata/locales/so_KE: Likewise.
27393 * localedata/locales/so_SO: Likewise.
27394 * localedata/locales/sq_AL: Likewise.
27395 * localedata/locales/sq_MK: Likewise.
27396 * localedata/locales/sr_ME: Likewise.
27397 * localedata/locales/sr_RS: Likewise.
27398 * localedata/locales/sr_RS@latin: Likewise.
27399 * localedata/locales/ss_ZA: Likewise.
27400 * localedata/locales/st_ZA: Likewise.
27401 * localedata/locales/sv_FI: Likewise.
27402 * localedata/locales/sv_SE: Likewise.
27403 * localedata/locales/sw_KE: Likewise.
27404 * localedata/locales/sw_TZ: Likewise.
27405 * localedata/locales/szl_PL: Likewise.
27406 * localedata/locales/ta_IN: Likewise.
27407 * localedata/locales/ta_LK: Likewise.
27408 * localedata/locales/tcy_IN: Likewise.
27409 * localedata/locales/te_IN: Likewise.
27410 * localedata/locales/tg_TJ: Likewise.
27411 * localedata/locales/th_TH: Likewise.
27412 * localedata/locales/the_NP: Likewise.
27413 * localedata/locales/ti_ER: Likewise.
27414 * localedata/locales/ti_ET: Likewise.
27415 * localedata/locales/tig_ER: Likewise.
27416 * localedata/locales/tk_TM: Likewise.
27417 * localedata/locales/tl_PH: Likewise.
27418 * localedata/locales/tn_ZA: Likewise.
27419 * localedata/locales/to_TO: Likewise.
27420 * localedata/locales/tpi_PG: Likewise.
27421 * localedata/locales/tr_CY: Likewise.
27422 * localedata/locales/tr_TR: Likewise.
27423 * localedata/locales/ts_ZA: Likewise.
27424 * localedata/locales/tt_RU: Likewise.
27425 * localedata/locales/tt_RU@iqtelif: Likewise.
27426 * localedata/locales/ug_CN: Likewise.
27427 * localedata/locales/uk_UA: Likewise.
27428 * localedata/locales/unm_US: Likewise.
27429 * localedata/locales/ur_IN: Likewise.
27430 * localedata/locales/ur_PK: Likewise.
27431 * localedata/locales/uz_UZ: Likewise.
27432 * localedata/locales/uz_UZ@cyrillic: Likewise.
27433 * localedata/locales/ve_ZA: Likewise.
27434 * localedata/locales/vi_VN: Likewise.
27435 * localedata/locales/wa_BE: Likewise.
27436 * localedata/locales/wae_CH: Likewise.
27437 * localedata/locales/wal_ET: Likewise.
27438 * localedata/locales/wo_SN: Likewise.
27439 * localedata/locales/xh_ZA: Likewise.
27440 * localedata/locales/yi_US: Likewise.
27441 * localedata/locales/yo_NG: Likewise.
27442 * localedata/locales/yue_HK: Likewise.
27443 * localedata/locales/yuw_PG: Likewise.
27444 * localedata/locales/zh_CN: Likewise.
27445 * localedata/locales/zh_HK: Likewise.
27446 * localedata/locales/zh_SG: Likewise.
27447 * localedata/locales/zh_TW: Likewise.
27448 * localedata/locales/zu_ZA: Likewise.
27450 2017-11-13 Florian Weimer <fweimer@redhat.com>
27452 * support/next_to_fault.h, support/next_to_fault.c: New files.
27453 * support/Makefile (libsupport-routines): Add next_to_fault.
27454 * resolv/tst-inet_pton.c (struct next_to_fault)
27455 (next_to_fault_allocate, next_to_fault_free): Remove.
27456 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
27458 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
27460 * elf/dl-support.c: Include <dl-procruntime.c>.
27461 * include/link.h: Include <link_map.h>.
27462 * sysdeps/generic/dl-procruntime.c: New file.
27463 * sysdeps/generic/link_map.h: Likewise.
27464 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
27465 the writable ld.so namespace.
27467 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
27469 timezone: pacify GCC -Wstringop-truncation
27470 Problem reported by Martin Sebor in:
27471 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
27472 * timezone/zic.c (writezone): Use memcpy, not strncpy.
27474 2017-11-12 Florian Weimer <fweimer@redhat.com>
27476 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
27478 (tests): Add tst-xreadlink.
27479 * support/support.h (xstrndup): Declare.
27480 * support/xunistd.h (xunlink, xreadlink): Declare.
27481 * support/temp_file.h (support_create_temp_directory): Declare.
27482 * support/temp_file.c (support_create_temp_directory): New function.
27483 * support/support_chroot.c (support_chroot_create): Use it.
27484 * support/xreadlink.c: New file.
27485 * support/xstrndup.c: Likewise.
27486 * support/xunlink.c: Likewise.
27487 * support/tst-xreadlink.c: Likewise.
27489 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
27491 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
27493 2017-11-11 Florian Weimer <fweimer@redhat.com>
27497 * resolv/res_comp.c (printable_string, binary_hnok)
27498 (binary_leading_dash): New functions.
27499 (res_hnok): Reimplement using these functions and ns_name_pton.
27500 (res_ownok): Likewise.
27501 (res_mailok): Reimplement using printable_string, ns_name_pton and
27503 (res_dnok): Reimplement using printable_string and ns_name_pton.
27504 * resolv/tst-res_hnok.c (tests): Add additional tests.
27505 (LETTERDIGITS, PRINTABLE): Define.
27506 (do_test): Adjust one_char results.
27508 2017-11-11 Florian Weimer <fweimer@redhat.com>
27511 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
27512 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
27514 2017-11-11 Florian Weimer <fweimer@redhat.com>
27516 * resolv/tst-ns_name_pton.c: New file.
27517 * resolv/Makefile (tests): Add tst-ns_name_pton.
27518 (tst-ns_name_pton): Link against libresolv.
27520 2017-11-11 Florian Weimer <fweimer@redhat.com>
27522 * resolv/tst-res_hnok.c: New file.
27523 * resolv/Makefile (tests): Add tst-res_hnok.
27524 (tst-res_hnok): Link against libresolv.
27526 2017-11-11 Florian Weimer <fweimer@redhat.com>
27528 * resolv/tst-resolv-network.c: Use test framework instead explicit
27531 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
27533 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
27534 <jmp_buf-macros.h>.
27535 [!_ISOMAC] (STR_HELPER): New.
27536 [!_ISOMAC] (STR): Likewise.
27537 [!_ISOMAC] (TEST_SIZE): Likewise.
27538 [!_ISOMAC] (TEST_ALIGN): Likewise.
27539 [!_ISOMAC] (TEST_OFFSET): Likewise.
27540 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
27541 field offsets of jmp_buf as well as sigjmp_buf.
27542 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
27543 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
27544 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
27545 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
27546 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
27547 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
27548 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
27549 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
27550 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
27551 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
27553 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
27555 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
27556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
27558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
27560 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
27561 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
27562 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
27563 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
27564 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
27565 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
27567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
27569 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
27570 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
27571 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
27573 2017-11-07 Joseph Myers <joseph@codesourcery.com>
27576 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27577 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
27578 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27579 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
27580 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27581 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
27582 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27583 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
27584 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27585 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
27586 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27587 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
27588 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27589 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
27590 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27591 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
27592 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27593 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
27594 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27595 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
27596 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27597 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
27598 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27599 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
27600 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27601 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
27602 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27603 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
27604 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27605 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
27606 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27607 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
27608 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27609 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
27610 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27611 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
27612 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27613 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
27614 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27615 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
27616 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27617 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
27618 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27619 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
27620 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27621 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
27622 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27623 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
27624 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27625 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
27626 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27627 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
27628 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27629 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
27630 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27631 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
27632 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27633 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
27634 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27635 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
27636 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27637 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
27638 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27639 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
27640 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27641 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
27642 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27643 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
27644 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27645 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
27646 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27647 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
27648 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27649 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
27650 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27651 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
27652 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27653 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
27654 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27655 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
27656 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27657 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
27658 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27659 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
27660 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27661 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
27662 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27663 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
27665 * stdlib/tst-strtod.h (F16): New macro.
27671 (IF_FLOAT16): Likewise.
27672 (IF_FLOAT32): Likewise.
27673 (IF_FLOAT64): Likewise.
27674 (IF_FLOAT32X): Likewise.
27675 (IF_FLOAT64X): Likewise.
27676 (IF_FLOAT128X): Likewise.
27677 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
27678 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
27679 (STRTOD_TEST_FOREACH): Likewise.
27680 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
27681 (CHOOSE_f64): Likewise.
27682 (CHOOSE_f32x): Likewise.
27683 (CHOOSE_f64x): Likewise.
27685 2017-11-07 Andreas Schwab <schwab@suse.de>
27687 * nptl/Makefile (tests-internal): Remove tst-typesizes.
27689 2017-11-07 Mike FABIAN <mfabian@redhat.com>
27692 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
27694 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
27697 2017-11-07 Claude Paroz <claude@2xlibre.net>
27700 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
27702 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
27704 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
27707 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27710 * nptl/allocatestack.c (allocate_stack): Check if
27711 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
27712 __PTHREAD_MUTEX_HAVE_PREV is defined.
27713 * nptl/descr.h (pthread): Likewise.
27714 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
27716 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
27717 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
27718 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
27719 * sysdeps/nptl/bits/thread-shared-types.h
27720 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
27722 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
27723 of __WORDSIZE for internal layout.
27724 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
27725 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
27726 instead of __WORDSIZE whether to use an union for __spins and __list
27728 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
27730 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
27731 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
27733 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
27734 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27736 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
27737 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27739 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
27740 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27742 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
27743 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27745 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
27746 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27748 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
27749 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27751 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
27752 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27754 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
27755 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27757 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
27758 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27760 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
27761 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27763 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
27764 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27766 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
27767 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27769 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
27770 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27772 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
27773 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27776 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
27778 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
27779 checks for expected input type size.
27780 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
27781 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
27783 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
27784 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
27785 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
27786 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
27787 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
27788 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
27789 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
27790 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
27791 superflous runtime assert check.
27792 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
27794 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
27796 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
27798 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
27800 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
27802 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
27804 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
27805 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
27806 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
27808 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
27810 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
27812 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
27814 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
27816 * nptl/pthread_attr_setinheritsched.c
27817 (__pthread_attr_setinheritsched): Likewise.
27818 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
27820 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
27822 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
27823 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
27824 __old_pthread_attr_setstack): Likewise.
27825 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
27827 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
27829 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
27831 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
27832 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
27834 * nptl/tst-typesizes.c: Remove file.
27836 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
27837 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
27838 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
27839 checks for internal pthread_mutex_t offsets.
27840 * sysdeps/aarch64/nptl/pthread-offsets.h
27841 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
27842 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
27843 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
27844 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
27845 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
27846 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
27847 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
27848 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
27849 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
27850 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
27851 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
27852 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
27853 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
27854 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
27855 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
27856 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
27857 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
27858 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
27860 2017-11-07 Florian Weimer <fweimer@redhat.com>
27862 * bits/mman-linux.h: Move ...
27863 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
27865 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
27868 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27870 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
27871 Redefine STRNLEN as __strnlen_power8.
27873 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27875 * signal/sighold.c (sighold): Optimize implementation.
27877 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
27878 __NR_rt_sigqueueinfo.
27880 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
27882 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
27883 assume __NR_rt_sigtimedwait.
27884 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
27885 and add LIBC_CANCEL_HANDLED for cancellation marking.
27886 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
27888 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
27889 (sysdeps_routines): Add memchr_noneon.
27890 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
27891 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
27892 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
27893 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
27894 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
27895 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
27896 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
27898 * sysdeps/arm/arm-ifunc.h: New file.
27899 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
27900 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
27901 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
27902 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
27903 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
27904 (__memcpy_neon): Avoid create hidden alias.
27905 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
27906 (__memcpy_vfp): Likewise.
27907 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
27908 (sysdep_routines): Add memcpy_arm.
27909 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
27911 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
27914 * Makerules (make-link-multidir): New.
27915 * config.make.in (multidir): New.
27916 * configure.ac (libc_cv_multidir): New. AC_SUBST.
27917 * configure: Regenerated.
27918 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
27919 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
27920 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
27923 2017-11-06 Joseph Myers <joseph@codesourcery.com>
27926 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
27927 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
27929 2017-11-04 Mike FABIAN <mfabian@redhat.com>
27931 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
27934 2017-11-04 Florian Weimer <fweimer@redhat.com>
27936 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
27938 2017-11-03 Joseph Myers <joseph@codesourcery.com>
27940 * math/math.h [__HAVE_DISTINCT_FLOAT16
27941 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
27942 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
27943 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
27944 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
27945 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
27946 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
27947 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
27948 (__MATH_TG_F32): New macro.
27949 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
27950 (__MATH_TG_F64X): Likewise.
27951 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
27952 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
27954 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
27956 * po/de.po: Update translations.
27957 * po/ru.po: Likewise.
27959 2017-11-03 Florian Weimer <fweimer@redhat.com>
27961 * manual/filesys.texi (Hard Links): Document linkat.
27963 2017-11-03 Joseph Myers <joseph@codesourcery.com>
27965 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
27966 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
27967 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
27968 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
27969 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
27970 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
27971 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
27972 the same as _Float128.
27973 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
27974 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
27975 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
27978 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
27980 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
27982 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
27984 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27985 (strtof32x): Likewise.
27986 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27987 (strtof64x): Likewise.
27988 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27989 (strtof128x): Likewise.
27990 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27991 (strfromf16): Likewise.
27992 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27993 (strfromf32): Likewise.
27994 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27995 (strfromf64): Likewise.
27996 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27997 (strfromf32x): Likewise.
27998 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27999 (strfromf64x): Likewise.
28000 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28001 (strfromf128x): Likewise.
28002 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
28003 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
28004 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
28005 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
28006 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
28007 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
28009 2017-11-03 Richard Henderson <rth@twiddle.net>
28011 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
28013 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28015 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
28017 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28019 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
28020 DT_TLSDESC_GOT initialization.
28021 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
28022 (_dl_tlsdesc_resolve_hold): Likewise.
28023 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
28024 (_dl_tlsdesc_resolve_hold): Likewise.
28025 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
28026 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
28028 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28030 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
28032 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28035 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
28036 non-lazily for R_ARM_TLS_DESC.
28038 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28041 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
28042 R_ARM_TLS_DESC case.
28043 (elf_machine_lazy_rel): Remove the prelink check.
28045 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28047 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
28048 DT_TLSDESC_GOT initialization.
28049 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
28050 (_dl_tlsdesc_resolve_rela): Likewise.
28051 (_dl_tlsdesc_resolve_hold): Likewise.
28052 (_dl_tlsdesc_undefweak): Remove ldar.
28053 (_dl_tlsdesc_dynamic): Likewise.
28054 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
28055 (_dl_tlsdesc_resolve_rela): Likewise.
28056 (_dl_tlsdesc_resolve_hold): Likewise.
28057 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
28058 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
28059 (_dl_tlsdesc_resolve_rela): Likewise.
28060 (_dl_tlsdesc_resolve_hold): Likewise.
28062 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28064 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
28065 binding and initialization non-lazily for R_AARCH64_TLSDESC.
28067 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28069 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
28070 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
28072 2017-11-02 Joseph Myers <joseph@codesourcery.com>
28074 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
28076 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
28077 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
28078 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
28079 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
28080 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
28081 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
28082 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
28083 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
28084 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
28085 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
28086 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
28088 2017-11-02 Mike FABIAN <mfabian@redhat.com>
28091 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
28092 * localedata/locales/tpi_PG: Add standard header.
28094 2017-11-02 Florian Weimer <fweimer@redhat.com>
28096 test-errno-linux: quotactl can fail with EPERM in containers.
28097 * sysdeps/unix/sysv/linux/test-errno-linux.c
28098 (LIST, LIST_FORWARD): New macros.
28099 (check_error_in_list): New function.
28100 (test_wrp_rv): Accept list of permitted error codes.
28101 (test_wrp_rv2): Remove.
28102 (test_wrp): Call test_wrp_rv with list of error codes.
28103 (test_wrp2): Accept list of error codes.
28104 (do_test): Adjust. Allow EPERM for quotactl.
28106 2017-11-02 Florian Weimer <fweimer@redhat.com>
28108 * stdio-common/bug16.c (do_test): Use array_length.
28109 * stdio-common/errlist.c (_sys_nerr): Likewise.
28110 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
28111 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
28112 * stdio-common/psiginfo.c (psiginfo): Use array_length.
28113 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
28114 (do_test): Use array_length.
28115 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
28116 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
28117 * stdio-common/tst-printf-round.c (do_test): Likewise.
28118 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
28119 (CHECK): Use array_length.
28120 * stdio-common/tstdiomisc.c (t3, F): Likewise.
28121 * stdio-common/tstscanf.c (main): Likewise.
28122 * stdio-common/vfprintf.c (process_string_arg): Likewise.
28124 2017-11-02 Florian Weimer <fweimer@redhat.com>
28126 Add array_length and array_end macros.
28127 * include/array_length.h: New file.
28129 2017-11-02 Florian Weimer <fweimer@redhat.com>
28132 * posix/tst-glob-tilde.c (do_noescape): New variable.
28133 (one_test): Process it.
28134 (do_test): Set do_noescape. Add unescaping test case.
28136 2017-11-01 Joseph Myers <joseph@codesourcery.com>
28139 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
28140 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
28141 with appropriate macros defined and undefined.
28142 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
28143 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28144 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
28145 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28146 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
28147 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28148 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
28149 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28150 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
28151 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28154 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
28155 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
28156 that for long double. Do not condition define and undefine of
28157 _Mdouble_complex_ on [__CFLOAT128].
28159 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
28161 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
28162 of <sysdeps/generic/sysdep.h>.
28163 (ALIGNARG): Removed.
28164 (ASM_SIZE_DIRECTIVE): Likewise.
28167 (ENTRY_CHK): Likewise.
28168 (END_CHK): Likewise.
28169 (syscall_error): Likewise.
28170 (mcount): Likewise.
28171 (PSEUDO_END): Likewise.
28173 (atom_text_section): Likewise.
28174 * sysdeps/x86/sysdep.h: New file.
28175 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
28176 of <sysdeps/generic/sysdep.h>.
28177 (ALIGNARG): Removed.
28178 (ASM_SIZE_DIRECTIVE): Likewise.
28181 (ENTRY_CHK): Likewise.
28182 (END_CHK): Likewise.
28183 (syscall_error): Likewise.
28184 (mcount): Likewise.
28185 (PSEUDO_END): Likewise.
28187 (atom_text_section): Likewise.
28189 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
28191 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
28192 category of LC_CTYPE set to "i18n:2012".
28193 * localedata/locales/i18n_ctype: Regenerate.
28195 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
28197 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
28198 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
28199 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
28200 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
28202 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
28203 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
28204 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
28205 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
28207 2017-10-31 Joseph Myers <joseph@codesourcery.com>
28210 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
28212 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
28214 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
28216 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28217 (CMPLXF32X): Likewise.
28218 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28219 (CMPLXF64X): Likewise.
28220 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28221 (CMPLXF128X): Likewise.
28224 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
28225 (__MATH_EVAL_FMT2): Define to add 0.0f.
28227 2017-10-31 Alan Modra <amodra@gmail.com>
28229 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
28231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
28232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
28233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
28234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
28235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
28236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
28237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
28238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
28239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
28240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
28241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
28242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
28243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
28244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
28245 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
28246 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
28247 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
28248 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
28249 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
28250 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
28251 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
28252 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
28253 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
28254 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
28255 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
28256 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
28257 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
28258 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
28259 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
28260 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
28261 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
28262 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
28263 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
28264 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
28265 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
28266 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
28267 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
28268 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
28269 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
28270 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
28271 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
28272 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
28273 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
28274 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
28275 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
28276 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
28277 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
28278 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
28279 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
28280 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
28281 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
28282 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
28283 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
28284 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
28285 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
28286 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
28287 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
28288 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
28289 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
28290 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
28291 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
28292 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
28293 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
28294 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
28295 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
28296 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
28297 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
28298 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
28299 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
28301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
28302 include sysdep.h and math_ldbl_opt.h.
28304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
28305 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
28306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
28307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
28308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
28309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
28310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
28311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
28312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
28313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
28314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
28315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
28316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
28317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
28318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
28319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
28320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
28321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
28322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
28323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
28324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
28325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
28326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
28327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
28328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
28329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
28331 2017-10-31 Alan Modra <amodra@gmail.com>
28333 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
28334 string/strncase_l.c, not string/strncase.c.
28335 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
28336 (libc_hidden_def): Redefine.
28338 2017-10-31 Alan Modra <amodra@gmail.com>
28340 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
28341 (__STRCMP, STRCMP, __strcasecmp_l): Define.
28342 (__strcasecmp): Don't define.
28344 2017-10-31 Alan Modra <amodra@gmail.com>
28346 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
28348 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
28349 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
28350 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
28352 2017-10-31 Alan Modra <amodra@gmail.com>
28354 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
28357 2017-10-31 Alan Modra <amodra@gmail.com>
28359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
28360 Redefine only when SHARED.
28362 2017-10-30 Joseph Myers <joseph@codesourcery.com>
28364 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
28365 Include <bits/math-finite.h> with appropriate macros defined and
28367 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
28368 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
28369 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
28370 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
28371 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
28373 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
28374 [!_Mlong_double_] (_Mlong_double_): Likewise.
28375 [!_Mfloat16_] (_Mfloat16_): Likewise.
28376 [!_Mfloat32_] (_Mfloat32_): Likewise.
28377 [!_Mfloat64_] (_Mfloat64_): Likewise.
28378 [!_Mfloat128_] (_Mfloat128_): Likewise.
28379 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
28380 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
28381 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
28382 (_Mdouble_): Define without indirection through those macros.
28383 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
28384 [!_Mfloat128_] (_Mfloat128_): Likewise.
28385 [_Mlong_double_] (_Mlong_double_): Likewise.
28386 (_Mdouble_): Define without indirection through those macros.
28387 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
28388 not add -D_Mlong_double_=double.
28389 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
28390 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
28392 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
28394 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
28396 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
28398 * sysdeps/x86/libc-start.c: Reformat.
28400 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
28403 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
28404 (1): Renamed to ...
28407 (L(Src2)): Likewise.
28408 (L(1)): Renamed to ...
28411 2017-10-30 Joseph Myers <joseph@codesourcery.com>
28413 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
28414 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
28415 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
28416 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
28417 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
28418 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
28419 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
28420 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
28421 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
28422 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
28423 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
28424 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
28425 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
28426 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
28427 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
28428 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
28429 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
28430 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
28431 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
28432 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
28433 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
28434 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
28435 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
28436 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
28437 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
28438 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
28439 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
28440 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
28441 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
28442 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
28443 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
28444 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
28445 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
28446 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
28447 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
28448 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
28449 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
28450 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
28451 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
28452 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
28453 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
28454 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
28455 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
28456 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
28457 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
28458 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
28459 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
28460 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
28461 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
28462 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
28463 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
28464 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
28465 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
28466 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
28467 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
28468 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
28469 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
28470 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
28471 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
28472 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
28473 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
28474 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
28475 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
28476 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
28477 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
28478 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
28480 2017-10-30 Florian Weimer <fweimer@redhat.com>
28482 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
28484 * io/tst-mkdirat.c (do_test): Likewise.
28485 * io/tst-mkfifoat.c (do_test): Likewise.
28486 * io/tst-mknodat.c (do_test): Likewise.
28487 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
28488 * locale/programs/locale.c (select_dirs): Likewise.
28489 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
28490 * posix/bug-glob2.c (my_readdir): Likewise.
28491 * posix/tst-dir.c (main): Likewise.
28492 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
28493 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
28495 2017-10-30 Florian Weimer <fweimer@redhat.com>
28497 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
28500 2017-10-30 Florian Weimer <fweimer@redhat.com>
28502 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
28503 Convert to support/test-driver.c.
28504 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
28505 New macro parameters.
28506 (PRINTF): Remove macro. Use test_verbose conditionals instead.
28507 * posix/tst-gnuglob.c: New file.
28508 * posix/tst-gnuglob64.c: Likewise.
28509 * posix/Makefile (tests): Add tst-gnuglob64.
28511 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
28514 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
28515 and use a better translation for March in “mon”.
28516 * localedata/locales/csb_PL: Use more ASCII to improve the
28517 readability of the source.
28519 2017-10-30 Mike FABIAN <mfabian@redhat.com>
28522 * localedata/locales/km_KH: Use ASCII as much
28523 as possible for better readability of the source and
28524 remove useless comments.
28525 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
28526 was commented out and apparently wrong anyway because it was
28527 using Lao characters. If Buddhist era should be used
28528 for km_KH, a native speaker should write the correct formaat
28530 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
28531 (According to CLDR, the first weekday for Cambodia is Sunday).
28532 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
28533 (These were using Lao characters which must be wrong. If we get
28534 the correct data from a native speaker, we could add it back, until
28535 then it is better not to have name_mr and name_mrs at all than
28538 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
28540 * locale/loadlocale.c: Correct size of
28541 _nl_value_type_LC_<category> arrays.
28543 2017-10-27 Joseph Myers <joseph@codesourcery.com>
28545 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
28546 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
28547 with appropriate macros defined and undefined.
28548 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
28549 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
28550 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
28551 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
28552 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
28554 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
28556 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
28559 2017-10-27 Mike FABIAN <mfabian@redhat.com>
28561 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
28562 with lowercase letters to make it agree with CLDR.
28564 2017-10-27 Mike FABIAN <mfabian@redhat.com>
28567 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
28568 first letters of yesstr and nostr in yesexpr and noexpr,
28569 not for the full words.
28570 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
28571 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
28572 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
28573 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
28574 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
28575 first letters of yesstr and nostr in yesexpr and noexpr,
28576 until now only English was matched in yesexpr and noexpr.
28577 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
28578 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
28579 fil but not for tl. As tl and fil are very similar, using fil
28580 is probably better than using English.
28582 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
28585 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
28586 in yesstr and nostr.
28588 2017-10-26 Joseph Myers <joseph@codesourcery.com>
28590 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
28591 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
28592 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
28594 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
28596 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
28598 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
28600 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28601 (SNANF128X): Likewise.
28603 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
28604 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
28605 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28606 (HUGE_VAL_F32): Likewise.
28607 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28608 (HUGE_VAL_F64): Likewise.
28609 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28610 (HUGE_VAL_F32X): Likewise.
28611 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28612 (HUGE_VAL_F64X): Likewise.
28613 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28614 (HUGE_VAL_F128X): Likewise.
28616 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
28618 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
28619 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
28620 for the br_FR locale.
28622 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
28625 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
28627 2017-10-25 Carlos O'Donell <carlos@redhat.com>
28629 * locale/programs/record-status.h: Define globals, and function
28630 prototypes. Move function bodies...
28631 * locale/programs/record-status.c: ... to here. New file.
28632 * iconv/Makefile (iconv_prog-modules): Add record-status.
28633 * locale/Makefile (lib-modules): Likewise.
28634 * iconv/iconv_prog.c: Remove verbose.
28635 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
28636 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
28637 record a warning about ASCII compatibility.
28638 * locale/programs/ld-monetary.c (monetary_finish): If
28639 warn_int_curr_symbol is true then record a warning about the symbol
28640 not being in our ISO 4217 list.
28641 * locale/programs/locale.c: Include record-status.h. Remove verbose.
28642 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
28643 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
28644 (OPT_NO_WARN): Define.
28645 (OPT_WARN): Define.
28646 (options): Add entry for --no-warnings, and --warnings.
28647 (set_warnings): New function to enable/disable warnings.
28648 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
28649 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
28650 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
28651 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
28652 Pass flags to generate_locale.
28653 (generate_locale): Accept new flag argument and pass it to localedef
28655 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
28656 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
28658 * localedata/Makefile (test-input-data): Use full file name.
28659 * localedata/da_DK.in: Rename to...
28660 * localedata/da_DK.ISO-8859-1.in: ...this.
28661 * localedata/de_DE.in: Rename to...
28662 * localedata/de_DE.ISO-8859-1.in: ...this.
28663 * localedata/en_US.in: Rename to...
28664 * localedata/en_US.ISO-8859-1.in: ...this.
28665 * localedata/fr_FR.in: Rename to...
28666 * localedata/fr_FR.UTF-8.in: ... this.
28667 * localedata/hr_HR.in: Rename to...
28668 * localedata/hr_HR.ISO-8859-2.in: ...this.
28669 * localedata/hu_HU.in: Rename to...
28670 * localedata/hu_HU.UTF-8.in: ...this.
28671 * localedata/si_LK.in: Rename to...
28672 * localedata/si_LK.UTF-8.in: ...this.
28673 * localedata/sv_SE.in: Rename to...
28674 * localedata/sv_SE.ISO-8859-1.in: ...this.
28675 * localedata/tr_TR.in: Rename to...
28676 * localedata/tr_TR.UTF-8.in: ...this.
28677 * localedata/uk_UA.in: Rename to...
28678 * localedata/uk_UA.UTF-8.in: ...this.
28679 * localedata/sort-test.sh: Test file is locale name with the
28682 * localedata/unicode-gen/Makefile (check_i18n): Rename to
28683 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
28685 * localedata/locales/i18n_ctype: Regenerate.
28686 * localedata/locales/tr_TR: Likewise.
28687 * localedata/locales/translit_circle: Likewise.
28688 * localedata/locales/translit_cjk_compat: Likewise.
28689 * localedata/locales/translit_combining: Likewise.
28690 * localedata/locales/translit_compat: Likewise.
28691 * localedata/locales/translit_font: Likewise.
28692 * localedata/locales/translit_fraction: Likewise.
28694 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28696 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
28697 lxvd2x/stxvd2x with lvx/stvx.
28698 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
28700 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
28702 * include/alloc_buffer.h: Replace "if if " with "if " in
28704 * sysdeps/mips/memcpy.S: Likkewise.
28705 * sysdeps/mips/memset.S: Likewise.
28706 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
28708 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
28710 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
28713 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28716 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
28717 yesexpr and noexpr.
28718 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
28719 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
28720 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
28721 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
28722 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
28723 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
28724 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
28726 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28728 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
28729 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
28730 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
28731 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
28732 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
28733 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
28734 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
28735 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
28736 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
28737 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
28738 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
28739 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
28741 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28743 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
28744 as possible for better readability of the source.
28745 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
28746 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
28747 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
28748 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
28749 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
28750 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
28751 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
28752 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
28753 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
28754 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
28755 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
28756 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
28757 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
28758 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
28759 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
28760 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
28761 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
28762 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
28763 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
28764 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
28765 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
28766 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
28767 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
28768 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
28769 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
28770 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
28771 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
28772 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
28773 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
28774 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
28775 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
28776 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
28777 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
28778 * localedata/locales/en_US (LC_MESSAGES): Likewise.
28779 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
28780 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
28781 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
28782 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
28783 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
28784 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
28785 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
28786 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
28787 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
28788 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
28789 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
28790 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
28791 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
28792 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
28793 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
28794 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
28795 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
28796 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
28797 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
28798 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
28799 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
28800 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
28801 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
28802 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
28803 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
28804 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
28805 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
28806 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
28807 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
28808 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
28809 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
28810 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
28811 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
28812 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
28813 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
28814 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
28815 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
28816 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
28817 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
28818 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
28819 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
28820 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
28821 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
28822 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
28823 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
28824 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
28825 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
28826 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
28827 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
28828 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
28829 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
28830 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
28831 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
28832 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
28833 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
28834 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
28835 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
28836 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
28837 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
28838 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
28839 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
28840 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
28841 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
28842 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
28843 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
28844 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
28845 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
28846 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
28847 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
28848 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
28849 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
28850 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
28851 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
28852 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
28853 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
28854 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
28855 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
28856 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
28857 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
28858 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
28859 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
28860 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
28861 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
28862 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
28863 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
28864 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
28865 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
28866 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
28867 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
28868 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
28869 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
28870 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
28871 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
28872 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
28873 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
28874 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
28875 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
28876 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
28877 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
28878 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
28879 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
28880 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
28881 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
28882 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
28883 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
28884 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
28885 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
28886 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
28887 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
28888 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
28889 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
28890 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
28891 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
28892 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
28893 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
28894 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
28895 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
28896 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
28897 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
28898 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
28899 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
28900 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
28901 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
28902 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
28903 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
28904 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
28905 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
28906 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
28907 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
28908 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
28909 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
28910 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
28911 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
28912 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
28913 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
28914 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
28915 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
28916 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
28917 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
28918 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
28920 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28922 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
28923 (Use first letters of yesstr and nostr correctly instead of using
28926 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28928 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
28929 (Use first letters of yesstr and nostr correctly).
28931 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28933 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
28934 also check for the first characters of yesstr and nostr.
28935 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
28936 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
28938 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28940 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
28941 also check for Chinese characters.
28943 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28945 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
28946 match also for the contents of yesstr and nostr. As the first letter
28947 of yesstr and nostr is equal, checking only for the first letter
28950 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28952 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
28953 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
28955 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28957 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
28958 of main contributor.
28960 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28962 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
28963 instead of using English.
28965 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28967 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
28968 by including the first letters of nostr and yesexpr in the regexp.
28969 Also make it more readable by using ASCII where possible.
28971 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28973 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
28974 the first letter of nostr in the regexp. It agrees with CLDR now.
28975 Also make it more readable by using ASCII where possible.
28977 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28979 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
28980 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
28981 these strings contain a U+17D6 (which somewhat looks like a colon)
28982 instead of a real colon to separate the full words for “yes”
28983 and “no” from the single letter responses.
28985 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28987 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
28988 it agree with CLDR (include the first letter of yesstr).
28989 Also make it more readable by using ASCII where possible.
28991 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28993 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
28994 and improve yesexpr and noexpr. The yesstr and nostr apparently
28995 came from CLDR. And CLDR has a bug there: these strings contain
28996 a U+0903 (which looks like a colon) instead of a real colon
28997 to separate the full words for “yes” and “no” from the single
29000 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29002 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
29003 letters of the full yesstr and nostr in yesexpr and noexpr.
29005 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29007 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
29008 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
29009 * localedata/locales/an_ES: Make source more readable by using ASCII
29012 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29015 * localedata/locales/yuw_PG: New file.
29016 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
29017 * locale/iso-639.def: Add Yau (Uruwa).
29019 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
29021 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
29023 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
29025 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
29026 (__libc_realloc): Likewise.
29027 (_mid_memalign): Likewise.
29028 (__libc_calloc): Likewise.
29030 2017-10-23 Mike FABIAN <mfabian@redhat.com>
29032 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
29033 by adding the generic +1 and -0 as in all other locales.
29034 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
29035 day names and make it more readable by using ASCII where possible.
29037 2017-10-24 Joseph Myers <joseph@codesourcery.com>
29039 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
29040 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
29042 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29044 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
29045 WNOHANG in waitpid call.
29047 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
29049 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
29050 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
29052 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
29053 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
29054 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
29055 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
29056 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
29057 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
29058 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
29059 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
29062 2017-10-23 Michael Collison <michael.collison@arm.com>
29064 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
29065 with __builtin_sqrt.
29066 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
29067 with __builtin_sqrtf.
29068 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
29069 with __builtin_ceil.
29070 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
29071 with __builtin_ceilf.
29072 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
29073 with __builtin_floor.
29074 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
29075 with __builtin_floorf.
29076 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
29077 with __builtin_fma.
29078 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
29079 with __builtin_fmaf.
29080 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
29081 with __builtin_fmax.
29082 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
29083 with __builtin_fmaxf.
29084 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
29085 with __builtin_fmin.
29086 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
29087 with __builtin_fminf.
29088 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
29089 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
29090 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
29091 with builtin_rint and conversion to int.
29092 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
29093 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
29094 with builtin_llround.
29095 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
29096 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
29097 with builtin_rint and conversion to long int.
29098 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
29099 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
29100 with builtin_lround.
29101 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
29102 with builtin_lroundf.
29103 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
29104 statements with __builtin_nearbyint.
29105 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
29106 statements with __builtin_nearbyintf.
29107 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
29108 with __builtin_rint.
29109 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
29110 with __builtin_rintf.
29111 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
29112 with __builtin_round.
29113 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
29114 with __builtin_roundf.
29115 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
29116 with __builtin_trunc.
29117 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
29118 with __builtin_truncf.
29119 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
29120 and s_l[l]round[f].c too.
29122 2017-10-23 Alan Modra <amodra@gmail.com>
29124 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
29125 Adjust stack after restoring regs. Add missing LR cfi_restore.
29127 2017-10-23 Alan Modra <amodra@gmail.com>
29129 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
29130 Move LR save and frame setup/teardown and LR restore to
29131 immediately around memset call. Provide cfi.
29133 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29135 * sysdeps/i386/fpu/e_powf.S: Removed.
29136 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
29137 * sysdeps/i386/fpu/w_powf.c: Likewise.
29138 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
29139 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29140 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29142 (CFLAGS-e_powf-sse2.c): New.
29143 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
29144 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
29146 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29148 * sysdeps/i386/fpu/e_log2f.S: Removed.
29149 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
29150 * sysdeps/i386/fpu/w_log2f.c: Likewise.
29151 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
29152 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29153 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29155 (CFLAGS-e_log2f-sse2.c): New.
29156 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
29157 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
29159 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29161 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29163 (CFLAGS-e_powf-fma.c): New.
29164 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
29165 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
29167 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29169 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29171 (CFLAGS-e_log2f-fma.c): New.
29172 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
29173 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
29175 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29177 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29179 (CFLAGS-e_logf-fma.c): New.
29180 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
29181 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
29183 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29185 * sysdeps/i386/fpu/e_logf.S: Removed.
29186 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
29187 * sysdeps/i386/fpu/w_logf.c: Likewise.
29188 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
29189 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
29190 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29191 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29193 (CFLAGS-e_logf-sse2.c): New.
29194 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
29195 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
29197 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29199 * sysdeps/i386/fpu/e_exp2f.S: Removed.
29200 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
29201 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
29202 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29203 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29205 (CFLAGS-e_exp2f-sse2.c): New.
29206 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
29207 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
29209 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29211 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29213 (CFLAGS-e_exp2f-fma.c): New.
29214 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
29215 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
29217 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29219 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
29220 * sysdeps/i386/fpu/e_expf.S: Likewise.
29221 * sysdeps/i386/fpu/math_errf.c: Likewise.
29222 * sysdeps/i386/fpu/w_expf.c: Likewise.
29223 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
29224 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29225 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
29226 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
29227 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29228 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29229 Remove e_expf-ia32.
29230 (CFLAGS-e_expf-sse2.c): New.
29231 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
29232 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
29234 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29236 * sysdeps/x86_64/fpu/e_expf.S: Removed.
29237 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
29238 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
29239 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
29241 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
29243 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
29244 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
29246 (__redirect_expf): This.
29247 (SYMBOL_NAME): Changed to expf.
29248 (__ieee754_expf): Renamed to ...
29250 (__GI___expf): This.
29251 (__ieee754_expf): Add strong_alias.
29252 (__expf_finite): Likewise.
29254 Include <sysdeps/ieee754/flt-32/e_expf.c>.
29256 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
29259 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
29262 2017-10-21 Florian Weimer <fweimer@redhat.com>
29264 * posix/Makefile (tests): Add tst-glob-tilde.
29265 (tests-special): Add tst-glob-tilde-mem.out
29266 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
29267 (tst-glob-tilde-mem.out): Add mtrace check.
29268 * posix/tst-glob-tilde.c: New file.
29270 2017-10-20 Joseph Myers <joseph@codesourcery.com>
29272 * bits/floatn-common.h: New file.
29273 * math/Makefile (headers): Add bits/floatn-common.h.
29274 * bits/floatn.h: Include <bits/floatn-common.h>.
29275 * sysdeps/ia64/bits/floatn.h: Likewise.
29276 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
29277 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
29278 * sysdeps/powerpc/bits/floatn.h: Likewise.
29279 * sysdeps/x86/bits/floatn.h: Likewise.
29281 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29283 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
29284 indicates whether compiler emits an warning for alias for
29285 functions with incompatible types.
29288 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
29289 the auxiliary process is terminated by a signal before calling _exit
29292 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
29295 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
29297 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
29298 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
29299 and bit_arch_XSAVEC_Usable if needed.
29300 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
29301 and bit_arch_Use_dl_runtime_resolve_opt.
29302 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
29304 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
29305 (bit_arch_Prefer_No_AVX512): Updated.
29306 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
29307 (bit_arch_XSAVEC_Usable): New.
29308 (STATE_SAVE_OFFSET): Likewise.
29309 (STATE_SAVE_MASK): Likewise.
29310 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
29311 (cpu_features): Add xsave_state_size and xsave_state_full_size.
29312 (index_arch_Use_dl_runtime_resolve_opt): Removed.
29313 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
29314 (index_arch_XSAVEC_Usable): New.
29315 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
29316 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
29317 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
29319 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
29320 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
29321 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
29322 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
29323 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
29324 _dl_runtime_resolve_xsavec.
29325 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
29327 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
29328 instead of VEC_SIZE.
29329 (REGISTER_SAVE_BND0): Removed.
29330 (REGISTER_SAVE_BND1): Likewise.
29331 (REGISTER_SAVE_BND3): Likewise.
29332 (REGISTER_SAVE_RAX): Always defined to 0.
29334 (_dl_runtime_resolve_avx): Likewise.
29335 (_dl_runtime_resolve_avx_slow): Likewise.
29336 (_dl_runtime_resolve_avx_opt): Likewise.
29337 (_dl_runtime_resolve_avx512): Likewise.
29338 (_dl_runtime_resolve_avx512_opt): Likewise.
29339 (_dl_runtime_resolve_sse): Likewise.
29340 (_dl_runtime_resolve_sse_vex): Likewise.
29342 (_dl_runtime_resolve_fxsave): Likewise.
29343 (USE_XSAVE): Likewise.
29344 (_dl_runtime_resolve_xsave): Likewise.
29345 (USE_XSAVEC): Likewise.
29346 (_dl_runtime_resolve_xsavec): Likewise.
29347 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
29349 (_dl_runtime_resolve_avx512_opt): Likewise.
29350 (_dl_runtime_resolve_avx): Likewise.
29351 (_dl_runtime_resolve_avx_opt): Likewise.
29352 (_dl_runtime_resolve_sse): Likewise.
29353 (_dl_runtime_resolve_sse_vex): Likewise.
29354 (_dl_runtime_resolve_fxsave): New.
29355 (_dl_runtime_resolve_xsave): Likewise.
29356 (_dl_runtime_resolve_xsavec): Likewise.
29358 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
29362 * posix/glob.c (__glob): Fix one-byte overflow.
29364 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
29366 * malloc/malloc.c (sysdep-cancel.h): Add include.
29368 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
29370 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
29372 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
29374 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
29375 (tests): Remove $(objpfx)ga_test depdendency.
29376 * resolv/ga_test.c: Remove file.
29378 2017-10-20 Mike FABIAN <mfabian@redhat.com>
29381 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
29382 * localedata/locales/kab_DZ: New file.
29384 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
29386 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
29387 _dl_relocate_static_pie instead of _dl_start to compute load
29388 address in static PIE.
29390 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
29392 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
29394 2017-10-20 Mike FABIAN <mfabian@redhat.com>
29397 * localedata/SUPPORTED: Add shn_MM/UTF-8.
29398 * localedata/locales/shn_MM: New file.
29400 2017-10-20 Florian Weimer <fweimer@redhat.com>
29403 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
29404 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
29405 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
29406 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
29407 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
29408 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
29410 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
29412 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29414 2017-10-19 Joseph Myers <joseph@codesourcery.com>
29416 * sysdeps/mips/ieee754/bits/floatn.h: New file.
29419 * sysdeps/mips/bits/long-double.h: Move to ....
29420 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
29422 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
29424 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
29426 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
29427 H.J. Lu <hongjiu.lu@intel.com>
29430 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
29431 GLRO(dl_platform) to NULL.
29432 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
29433 (modules-names): Add tst-platformmod-1 and
29434 x86_64/tst-platformmod-2.
29435 (CFLAGS-tst-platform-1.c): New.
29436 (CFLAGS-tst-platformmod-1.c): Likewise.
29437 (CFLAGS-tst-platformmod-2.c): Likewise.
29438 (LDFLAGS-tst-platformmod-2.so): Likewise.
29439 ($(objpfx)tst-platform-1): Likewise.
29440 ($(objpfx)tst-platform-1.out): Likewise.
29441 (tst-platform-1-ENV): Likewise.
29442 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
29443 * sysdeps/x86_64/tst-platform-1.c: New file.
29444 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
29445 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
29447 2017-10-19 Mike FABIAN <mfabian@redhat.com>
29450 * locale/iso-639.def: Add Karbi.
29451 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
29452 * localedata/locales/mjw_IN: New file.
29454 2017-10-18 Joseph Myers <joseph@codesourcery.com>
29456 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
29457 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
29458 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
29459 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
29460 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
29461 (libm_alias_ldouble_other_r): Also create _Float128 alias.
29462 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
29464 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
29465 (libm_alias_ldouble_other_r): Also create _Float128 alias.
29466 * manual/math.texi (Mathematics): Document additional architecture
29467 support for _Float128.
29468 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
29469 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
29470 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
29471 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29472 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29473 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
29474 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
29475 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
29476 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29477 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
29478 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29479 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
29480 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29481 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
29482 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29484 2017-10-18 Renlin Li <renlin.li@arm.com>
29486 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
29487 _DYNAMIC symbol to calculate load address.
29489 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
29491 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
29492 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
29494 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
29495 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
29497 2017-10-18 Mike FABIAN <mfabian@redhat.com>
29500 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
29501 and improve readability by using more ASCII.
29502 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
29503 and improve readability by using more ASCII.
29505 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
29507 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
29508 not all targets support atomics on bool.
29510 2017-10-17 Joseph Myers <joseph@codesourcery.com>
29512 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
29513 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
29515 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
29516 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
29517 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
29518 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
29519 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
29520 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
29522 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29524 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
29527 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
29530 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
29531 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
29532 (do_check_remalloced_chunk): Fix build bug.
29533 (do_check_malloc_state): Add assert that checks arena->top.
29534 (malloc_consolidate): Remove initialization.
29535 (int_mallinfo): Remove call to malloc_consolidate.
29536 (__libc_mallopt): Clarify why malloc_consolidate is needed.
29538 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
29540 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
29541 (have_fastchunks): Remove.
29542 (clear_fastchunks): Remove.
29543 (set_fastchunks): Remove.
29544 (malloc_state): Add have_fastchunks.
29545 (malloc_init_state): Use have_fastchunks.
29546 (do_check_malloc_state): Remove incorrect invariant checks.
29547 (_int_malloc): Use have_fastchunks.
29548 (_int_free): Likewise.
29549 (malloc_consolidate): Likewise.
29551 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
29553 * malloc/malloc.c (tcache_put): Inline.
29554 (tcache_get): Inline.
29556 2017-10-17 Jordi Mallach <jordi@gnu.org>
29558 Aurelien Jarno <aurelien@aurel32.net>
29560 * localedata/locales/ca_ES@valencia: New file.
29561 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
29563 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
29566 * math/math.h: Let signbit use the builtin in C++ mode with gcc
29569 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29571 * scripts/build-many-glibcs.py (Context.add_all_configs):
29572 Add arm-linux-gnueabihf multiarch extra_glibcs.
29574 * sysdeps/generic/ifunc-init.h: New file.
29575 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
29577 2017-10-17 Mike FABIAN <mfabian@redhat.com>
29580 * localedata/locales/el_GR: Set n_cs_precedes to 0.
29581 * localedata/locales/el_CY: copy "el_GR" because it is identical.
29582 * stdlib/tst-strfmon_l.c: adapt test case.
29584 2017-10-16 Joseph Myers <joseph@codesourcery.com>
29586 * sysdeps/generic/float128-abi.h: New file.
29587 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
29588 non-__prefixed symbols to ....
29589 * math/Versions: ... here. Include <float128-abi.h>.
29590 * stdlib/Versions ... and here. Include <float128-abi.h>
29592 2017-10-16 Florian Weimer <fweimer@redhat.com>
29594 * version.h (VERSION): Switch to ".9000" as the development
29597 2017-10-16 Florian Weimer <fweimer@redhat.com>
29600 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
29601 compat_symbol_reference to access non-default version.
29603 2017-10-16 Florian Weimer <fweimer@redhat.com>
29605 * malloc/Makefile (others-extras): Set to mcheck-init.o.
29607 2017-10-16 Carlos O'Donell <carlos@redhat.com>
29609 * include/shlib-compat.h (compat_symbol_reference): Update
29612 2017-10-16 Joseph Myers <joseph@codesourcery.com>
29614 * math/Makefile (test-types): Add
29615 $(type-float128-$(float128-alias-fcts)).
29616 * math/test-float128.h (TYPE_STR): Define conditional on
29617 [FLT128_MANT_DIG == LDBL_MANT_DIG].
29618 (ULP_IDX): Likewise.
29619 (ULP_I_IDX): Likewise.
29621 * stdlib/strtold.c: Include <bits/floatn.h>
29622 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
29623 and later undefine as macro. Define as weak alias if
29625 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
29626 and later undefine as macro. Define as weak alias if
29628 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
29629 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
29630 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
29631 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
29632 Define and later undefine as macro. Define as weak alias if
29634 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
29636 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
29637 Define and later undefine as macro. Define as weak alias if
29639 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
29640 Define and later undefine as macro. Define as weak alias if
29643 2017-10-15 Carlos O'Donell <carlos@redhat.com>
29645 * localedata/collate-test.c (allocate_arrays): Don't use \n in
29646 record_verbose messages.
29648 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
29651 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
29652 to silence -O3 -Wall warning with GCC 7.
29654 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
29656 * Makeconfig (+link-static-before-libc): Use the first of
29657 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
29658 * gmon/Makefile (tests): Add tst-gmon-static.
29659 (tests-static): Likewise.
29660 (CFLAGS-tst-gmon-static.c): New.
29661 (CRT-tst-gmon-static): Likewise.
29662 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
29663 (tst-gmon-static-ENV): Likewise.
29664 (tests-special): Likewise.
29665 ($(objpfx)tst-gmon-static.out): Likewise.
29666 (clean-tst-gmon-static-data): Likewise.
29667 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
29668 * gmon/tst-gmon-static-gprof.sh: New file.
29669 * gmon/tst-gmon-static.c: Likewise.
29671 2017-10-13 Carlos O'Donell <carlos@redhat.com>
29674 * locale/programs/linereader.c (get_string): Don't warn on
29675 non-symbolic character.
29678 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
29682 * locale/programs/record-status.h: New file
29683 * locale/programs/locale.c: Add comment.
29684 * locale/programs/charmap-dir.c: Don't include error.h.
29685 (charmap_opendir): Use record_error.
29686 * locale/programs/charmap.c: Don't include error.h.
29687 (charmap_read): Use record_error, and record_warning.
29688 (parse_charmap): Likewise.
29689 * locale/programs/ld-address.c: Don't include error.h.
29690 (address_finish): Use record_error, and record_warning.
29691 * locale/programs/ld-collate.c: Don't include error.h.
29692 (collate_finish): Use record_error, and record_error_at_line.
29693 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
29694 (ctype_class_new): Likewise.
29695 (ctype_map_new): Likewise.
29696 (set_one_default): Likewise.
29697 (set_class_defaults): Likewise.
29698 (translit_flatten): Likewise.
29699 (allocate_arrays): Use record_error, and record_verbose.
29700 * locale/programs/ld-identification.c: Don't include error.h.
29701 (indentation_finish): Use record_error and record_warning.
29702 * locale/programs/ld-measurement.c: Don't include error.h.
29703 (measurement_finish): Use record_error.
29704 * locale/programs/ld-messages.c
29705 (message_finish): Likewise.
29706 * locale/programs/ld-monetary.c
29707 (monetary_finish): Likewise.
29708 * locale/programs/ld-name.c (name_finish): Use record_error
29709 and record_warning.
29710 * locale/programs/ld-numeric.c
29711 (numeric_finish): Use record_error.
29712 * locale/programs/ld-paper.c: Don't include error.h.
29713 (paper_finish): Use record_error.
29714 * locale/programs/ld-telephone.c: Don't include error.h.
29715 (telephone_finish): Use record_error.
29716 * locale/programs/ld-time.c (time_finish): Likewise.
29717 * locale/programs/linereader.h (lr_error): Make inline func.
29718 * locale/programs/localedef.c: Define recorded_warning_count,
29719 and recorded_error_count.
29720 (main): Use record_error. Use recorded_error_count and
29721 recorded_warning_count to issue correct error returns.
29722 (add_to_readlist): Use record_error.
29723 (find_locale): Likewise.
29724 (load_locale): Likewise.
29725 * locale/programs/localedef.h: Remove be_quiet
29726 and WITH_CUR_LOCALE.
29727 * locale/programs/locarchive.c (compare_from_file): Use
29729 * locale/programs/locfile.c (write_locale_data): Use
29731 * locale/programs/repertoire.c: Dont include error.h.
29732 (repertoire_complain): Use record_error.
29733 * localedata/tst-fmon.sh: Expect failures from localedef.
29734 * localedata/tst-locale.sh: Likewise.
29735 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
29737 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
29738 (REPORTS): Likewise.
29740 (i18n): Rename to...
29741 (i18n_ctype): ...this.
29742 (i18n-report): Rename to...
29743 (i18n_ctype-report): ...this.
29744 * localedata/locales/i18n_ctype: Regenerate.
29745 * localedata/locales/i18n: copy i18n_ctype.
29747 2017-10-13 Joseph Myers <joseph@codesourcery.com>
29749 * stdlib/strfroml.c: Include <bits/floatn.h>.
29750 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
29751 Define before include of <stdlib.h> and undefine afterwards, then
29752 define as weak alias.
29754 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
29755 Undefine and restore default definition. Use
29756 libm_alias_ldouble_other.
29758 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
29761 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
29764 2017-10-13 James Clarke <jrtc27@jrtc27.com>
29766 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29767 Assign sym_map to be map for local symbols, as TLS relocations
29768 use sym_map to determine whether the symbol is defined and to
29769 extract the TLS information.
29770 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29771 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29773 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29776 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
29777 (math_force_eval): Add powerpc version.
29780 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
29782 (do_test): Likewise.
29783 * stdio-common/tst-printf.sh: Likewise.
29784 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
29785 ifdef clause in order to set the carry bit right. Replace r0 by
29786 0 without changing the behavior.
29788 2017-10-13 Joseph Myers <joseph@codesourcery.com>
29790 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
29791 <libm-alias-ldouble.h>.
29792 (fabsl): Define using libm_alias_ldouble.
29793 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
29794 <libm-alias-ldouble.h>.
29795 (fabsl): Define using libm_alias_ldouble.
29797 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
29798 Remove conditional code.
29800 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
29801 Rename to __clog10_internal_l.
29802 (__clog10_internal_l): Define aliases using
29803 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
29806 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29808 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
29809 * benchtests/sincosf-inputs: New file.
29810 * benchtests/cosf-inputs: New file.
29811 * benchtests/sinf-inputs: New file.
29813 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
29815 * posix/tst-spawn.c (do_test): Wait for both children.
29817 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
29820 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
29821 tests-pie): Add tst-gmon-pie.
29822 (CFLAGS-tst-gmon-pie.c): New.
29823 (CRT-tst-gmon-pie): Likewise.
29824 (tst-gmon-pie-ENV): Likewise.
29825 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
29826 ($(objpfx)tst-gmon-pie.out): Likewise.
29827 (clean-tst-gmon-pie-data): Likewise.
29828 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
29829 * gmon/gmon.c [PIC]: Include <link.h>.
29830 [PIC] (callback): New function.
29831 (write_hist): Add an argument for load address. Subtract load
29833 (write_call_graph): Likewise.
29834 (write_gmon): Call __dl_iterate_phdr to get load address, pass
29835 it to write_hist and write_call_graph.
29836 * gmon/tst-gmon-pie.c: New file.
29838 2017-10-11 Joseph Myers <joseph@codesourcery.com>
29840 * math/Makefile (test-types-basic): New variable.
29841 (test-types): Likewise.
29842 (libm-test-support): Use $(test-types) instead of $(types).
29843 (libm-tests-base-normal): Likewise.
29844 (libm-tests-base-finite): Likewise.
29845 (libm-tests-base-inline): Likewise.
29846 (generated): Likewise.
29847 ($(objpfx)libm-test-support-$(t).c): Likewise.
29848 (libm-tests-for-type iterator): Likewise.
29849 (libm-test-support iterator): Likewise.
29850 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
29851 (ulp_idx): Use ULP_IDX.
29852 * math/test-ldouble.h: Include <float.h>.
29853 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
29854 (ULP_IDX): New macro.
29855 (ULP_I_IDX): Likewise.
29856 * math/test-double.h (ULP_IDX): Likewise.
29857 (ULP_I_IDX): Likewise.
29858 * math/test-float.h (ULP_IDX): Likewise.
29859 (ULP_I_IDX): Likewise.
29860 * math/test-float128.h (ULP_IDX): Likewise.
29861 (ULP_I_IDX): Likewise.
29863 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29865 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
29866 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
29867 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
29868 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
29869 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
29870 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
29871 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
29872 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
29873 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
29874 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
29875 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
29876 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
29877 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
29878 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29879 (SINGLE_THREAD_BY_GLOBAL): Define.
29880 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
29882 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
29884 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
29886 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
29888 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
29889 (SINGLE_THREAD_BY_GLOBAL): Likewise.
29890 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
29893 2017-10-11 Andreas Schwab <schwab@suse.de>
29895 * nis/Makefile (aux): Remove.
29896 * nscd/Makefile (aux): Add nscd_hash.
29897 (nscd-modules): Likewise.
29898 ($(objpfx)nscd): Don't depend on libnsl.
29899 * nscd/nscd_hash.c: New file.
29900 * nscd/nscd_hash.h: Likewise.
29901 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
29902 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
29903 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
29904 instead of <nis/rpcsvc/nis.h>.
29905 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
29907 2017-10-11 Florian Weimer <fweimer@redhat.com>
29910 Avoid large NSS buffers with many addresses, aliases.
29911 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
29912 using dynarrays and struct alloc_buffer.
29913 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
29914 (tst-nss-files-hosts-multi): Link with -ldl.
29915 * nss/tst-nss-files-hosts-multi.c: New file.
29917 2017-10-11 Florian Weimer <fweimer@redhat.com>
29920 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
29921 scratch_buffer. Eliminate gotos.
29923 2017-10-11 Joseph Myers <joseph@codesourcery.com>
29925 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
29926 libm_alias_ldouble_other.
29927 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
29928 undefine and redefine.
29929 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
29930 (exp10l): Do not define here.
29931 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
29932 (weak_alias): Undefine and redefine.
29933 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
29934 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
29935 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
29936 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
29938 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
29939 [!__fma] (fma): Define using libm_alias_double.
29940 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
29941 [!__fmaf] (fmaf): Define using libm_alias_float.
29942 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
29943 (fmal): Define using libm_alias_ldouble.
29945 2017-10-10 Joseph Myers <joseph@codesourcery.com>
29947 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
29949 (libm_alias_double_other): Likewise.
29950 (libm_alias_double_r): Use libm_alias_double_other_r.
29951 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
29953 (libm_alias_float_other): Likewise.
29954 (libm_alias_float_r): Use libm_alias_float_other_r.
29955 * sysdeps/generic/libm-alias-float128.h
29956 (libm_alias_float128_other_r): New macro.
29957 (libm_alias_float128_other): Likewise.
29958 (libm_alias_float128_r): Use libm_alias_float128_other_r.
29959 * sysdeps/generic/libm-alias-ldouble.h
29960 (libm_alias_ldouble_other_r): New macro.
29961 (libm_alias_ldouble_other): Likewise.
29962 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
29963 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
29964 (libm_alias_double_other_r): New macro.
29965 (libm_alias_double_other): Likewise.
29966 (libm_alias_double_r): Use libm_alias_double_other_r.
29967 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
29968 (libm_alias_ldouble_other_r): New macro.
29969 (libm_alias_ldouble_other): Likewise.
29970 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
29971 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
29972 [!USE_AS_COMPAT]: Use libm_alias_double_other.
29973 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
29974 [!USE_AS_COMPAT]: Use libm_alias_float_other.
29975 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
29976 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
29977 * math/w_exp2f.c: Use libm_alias_float_other.
29978 * math/w_expf.c: Likewise.
29979 * math/w_log2f.c: Likewise.
29980 * math/w_logf.c: Likewise.
29981 * math/w_powf.c: Likewise.
29982 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
29983 [!__exp2f]: Use libm_alias_float_other.
29984 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
29985 [!__expf]: Use libm_alias_float_other.
29986 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
29987 [!__log2f]: Use libm_alias_float_other.
29988 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
29989 [!__logf]: Use libm_alias_float_other.
29990 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
29991 [!__powf]: Use libm_alias_float_other.
29993 2017-10-10 Florian Weimer <fweimer@redhat.com>
29995 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
29997 (_nss_files_gethostbyname3_r): Call it.
29999 2017-10-09 Joseph Myers <joseph@codesourcery.com>
30001 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
30002 error. Remove default definition of declare_mgen_alias.
30003 [!declare_mgen_alias_r]: Likewise.
30004 * sysdeps/generic/math-type-macros-double.h
30005 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
30006 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
30007 (declare_mgen_alias_r): Likewise.
30008 * sysdeps/generic/math-type-macros-float128.h
30009 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
30010 * sysdeps/generic/math-type-macros-ldouble.h
30011 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
30012 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
30014 (declare_mgen_alias_r_s): Likewise.
30015 (declare_mgen_alias_r): Likewise.
30016 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
30017 (lgamma_r): Define using libm_alias_double_r.
30018 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
30019 (lgammaf_r): Define using libm_alias_float_r.
30020 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
30021 (lgammal_r): Define using libm_alias_ldouble_r.
30022 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
30023 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
30025 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30027 * lib/glob.c (__glob_pattern_type): Remove now-spurious
30028 extern declaration.
30030 2017-10-09 Joseph Myers <joseph@codesourcery.com>
30032 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
30034 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
30037 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
30038 [__cplusplus >= 201103] (__USE_ISOC99): Define.
30039 * math/Makefile (test-math-cxx11): New test.
30040 * math/test-math-cxx11.cc: New file.
30042 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
30044 * login/openpty.c (openpty): Close slave pty file descriptor on error.
30046 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
30047 call to allocate the slave pty file descriptor.
30049 2017-10-06 Joseph Myers <joseph@codesourcery.com>
30051 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
30052 [!__fma] (fma): Define using libm_alias_double.
30053 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
30054 [!__fma] (fma): Define using libm_alias_double.
30056 * sysdeps/ieee754/float128/float128_private.h: Include
30057 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
30058 (libm_alias_ldouble_r): Undefine and redefine.
30059 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
30060 <libm-alias-ldouble.h>.
30061 (asinhl): Define using libm_alias_ldouble.
30062 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
30063 <libm-alias-ldouble.h>.
30064 (atanl): Define using libm_alias_ldouble.
30065 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
30066 <libm-alias-ldouble.h>.
30067 (cbrtl): Define using libm_alias_ldouble.
30068 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
30069 <libm-alias-ldouble.h>.
30070 (ceill): Define using libm_alias_ldouble.
30071 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
30072 <libm-alias-ldouble.h>.
30073 (copysignl): Define using libm_alias_ldouble.
30074 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
30075 <libm-alias-ldouble.h>.
30076 (cosl): Define using libm_alias_ldouble.
30077 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
30078 <libm-alias-ldouble.h>.
30079 (erfl): Define using libm_alias_ldouble.
30081 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
30082 <libm-alias-ldouble.h>.
30083 (expm1l): Define using libm_alias_ldouble.
30084 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
30085 <libm-alias-ldouble.h>.
30086 (fabsl): Define using libm_alias_ldouble.
30087 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
30088 <libm-alias-ldouble.h>.
30089 (floorl): Define using libm_alias_ldouble.
30090 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
30091 <libm-alias-ldouble.h>.
30092 (fmal): Define using libm_alias_ldouble.
30093 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
30094 <libm-alias-ldouble.h>.
30095 (frexpl): Define using libm_alias_ldouble.
30096 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
30097 libm_alias_ldouble.
30098 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
30099 <libm-alias-ldouble.h>.
30100 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
30101 libm_alias_ldouble.
30102 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
30103 <libm-alias-ldouble.h>.
30104 (getpayloadl): Define using libm_alias_ldouble.
30105 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
30106 <libm-alias-ldouble.h>.
30107 (llrintl): Define using libm_alias_ldouble.
30108 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
30109 <libm-alias-ldouble.h>.
30110 (llroundl): Define using libm_alias_ldouble.
30111 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
30112 <libm-alias-ldouble.h>.
30113 (logbl): Define using libm_alias_ldouble.
30114 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
30115 <libm-alias-ldouble.h>.
30116 (lrintl): Define using libm_alias_ldouble.
30117 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
30118 <libm-alias-ldouble.h>.
30119 (lroundl): Define using libm_alias_ldouble.
30120 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
30121 <libm-alias-ldouble.h>.
30122 (modfl): Define using libm_alias_ldouble.
30123 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
30124 <libm-alias-ldouble.h>.
30125 (nearbyintl): Define using libm_alias_ldouble.
30126 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
30127 <libm-alias-ldouble.h>.
30128 (nextafterl): Define using libm_alias_ldouble.
30129 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
30130 <libm-alias-ldouble.h>.
30131 (nextupl): Define using libm_alias_ldouble.
30132 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
30133 <libm-alias-ldouble.h>.
30134 (remquol): Define using libm_alias_ldouble.
30135 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
30136 <libm-alias-ldouble.h>.
30137 (rintl): Define using libm_alias_ldouble.
30138 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
30139 <libm-alias-ldouble.h>.
30140 (roundevenl): Define using libm_alias_ldouble.
30141 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
30142 <libm-alias-ldouble.h>.
30143 (roundl): Define using libm_alias_ldouble.
30144 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
30145 using libm_alias_ldouble.
30146 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
30147 <libm-alias-ldouble.h>.
30148 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
30149 Define using libm_alias_ldouble.
30150 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
30151 <libm-alias-ldouble.h>.
30152 (sincosl): Define using libm_alias_ldouble.
30153 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
30154 <libm-alias-ldouble.h>.
30155 (sinl): Define using libm_alias_ldouble.
30156 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
30157 <libm-alias-ldouble.h>.
30158 (tanhl): Define using libm_alias_ldouble.
30159 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
30160 <libm-alias-ldouble.h>.
30161 (tanl): Define using libm_alias_ldouble.
30162 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
30163 <libm-alias-ldouble.h>.
30164 (totalorderl): Define using libm_alias_ldouble.
30165 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
30166 <libm-alias-ldouble.h>.
30167 (totalordermagl): Define using libm_alias_ldouble.
30168 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
30169 <libm-alias-ldouble.h>.
30170 (truncl): Define using libm_alias_ldouble.
30171 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
30172 libm_alias_ldouble.
30173 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
30174 libm_alias_ldouble.
30175 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
30176 <libm-alias-ldouble.h>.
30177 (weak_alias): Do not undefine and redefine.
30178 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
30179 (copysignl): Define with long_double_symbol only if [IS_IN
30181 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
30182 <libm-alias-ldouble.h>.
30183 (weak_alias): Do not undefine and redefine.
30184 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
30185 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
30186 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
30187 <libm-alias-ldouble.h>.
30188 (weak_alias): Do not undefine and redefine.
30189 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
30190 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
30191 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
30192 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
30193 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
30194 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
30195 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
30196 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
30197 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
30198 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
30199 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
30200 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
30201 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
30202 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
30203 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
30204 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
30205 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
30206 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
30207 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
30208 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
30209 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
30210 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
30211 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
30212 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
30213 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
30214 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
30216 2017-10-06 Carlos O'Donell <carlos@redhat.com>
30219 * malloc/malloc.c (tcache_shutting_down): Use bool type.
30220 (tcache_thread_freeres): Set tcache_shutting_down before
30221 freeing the tcache.
30222 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
30223 * malloc/tst-malloc-tcache-leak.c: New file.
30225 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30227 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
30228 back to powerpc32 file.
30229 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
30230 (memrchr): Add __memrchr_power8 to ifunc list.
30231 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
30232 extra bytes for unaligned inputs.
30234 2017-10-06 Joseph Myers <joseph@codesourcery.com>
30236 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
30237 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
30238 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
30239 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
30240 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
30242 2017-10-05 Joseph Myers <joseph@codesourcery.com>
30244 * sysdeps/arm/libm-test-ulps: Update.
30246 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
30247 <libm-alias-ldouble.h>.
30248 (asinhl): Define using libm_alias_ldouble.
30249 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
30250 <libm-alias-ldouble.h>.
30251 (cbrtl): Define using libm_alias_ldouble.
30252 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
30253 <libm-alias-ldouble.h>.
30254 (copysignl): Define using libm_alias_ldouble.
30255 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
30256 <libm-alias-ldouble.h>.
30257 (cosl): Define using libm_alias_ldouble.
30258 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
30259 <libm-alias-ldouble.h>.
30260 (erfl): Define using libm_alias_ldouble.
30262 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
30263 <libm-alias-ldouble.h>.
30264 (fmal): Define using libm_alias_ldouble.
30265 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
30266 <libm-alias-ldouble.h>.
30267 (frexpl): Define using libm_alias_ldouble.
30268 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
30269 libm_alias_ldouble.
30270 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
30271 <libm-alias-ldouble.h>.
30272 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
30273 libm_alias_ldouble.
30274 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
30275 <libm-alias-ldouble.h>.
30276 (getpayloadl): Define using libm_alias_ldouble.
30277 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
30278 <libm-alias-ldouble.h>.
30279 (llrintl): Define using libm_alias_ldouble.
30280 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
30281 <libm-alias-ldouble.h>.
30282 (llroundl): Define using libm_alias_ldouble.
30283 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
30284 <libm-alias-ldouble.h>.
30285 (lrintl): Define using libm_alias_ldouble.
30286 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
30287 <libm-alias-ldouble.h>.
30288 (lroundl): Define using libm_alias_ldouble.
30289 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
30290 <libm-alias-ldouble.h>.
30291 (modfl): Define using libm_alias_ldouble.
30292 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
30293 <libm-alias-ldouble.h>.
30294 (nextupl): Define using libm_alias_ldouble.
30295 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
30296 <libm-alias-ldouble.h>.
30297 (remquol): Define using libm_alias_ldouble.
30298 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
30299 <libm-alias-ldouble.h>.
30300 (roundevenl): Define using libm_alias_ldouble.
30301 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
30302 <libm-alias-ldouble.h>.
30303 (roundl): Define using libm_alias_ldouble.
30304 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
30305 using libm_alias_ldouble.
30306 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
30307 <libm-alias-ldouble.h>.
30308 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
30309 <libm-alias-ldouble.h>.
30310 (setpayloadsigl): Define using libm_alias_ldouble.
30311 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
30312 <libm-alias-ldouble.h>.
30313 (sincosl): Define using libm_alias_ldouble.
30314 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
30315 <libm-alias-ldouble.h>.
30316 (sinl): Define using libm_alias_ldouble.
30317 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
30318 <libm-alias-ldouble.h>.
30319 (tanhl): Define using libm_alias_ldouble.
30320 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
30321 <libm-alias-ldouble.h>.
30322 (tanl): Define using libm_alias_ldouble.
30323 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
30324 <libm-alias-ldouble.h>.
30325 (totalorderl): Define using libm_alias_ldouble.
30326 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
30327 <libm-alias-ldouble.h>.
30328 (totalordermagl): Define using libm_alias_ldouble.
30329 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
30330 libm_alias_ldouble.
30331 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
30332 libm_alias_ldouble.
30334 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
30336 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
30338 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
30339 (__libc_ifunc_impl_list): Likewise.
30340 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
30341 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
30343 * benchtests/bench-memmove-walk.c: New file.
30344 * benchtests/Makefile (string-benchset): Add it.
30346 * benchtests/bench-memset-walk.c: New file.
30347 * benchtests/Makefile (string-benchset): Add it.
30349 * benchtests/bench-memcpy-walk.c: New file.
30350 * benchtests/Makefile (string-benchset): Add it.
30352 2017-10-05 Florian Weimer <fweimer@redhat.com>
30354 nscd: Eliminate compilation time dependency in the build output.
30355 * nscd/nscd_stat.c (STATDATA_VERSION)
30356 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
30357 (STATDATA_VERSION_FULL): New macro definitions.
30358 (compilation): Remove.
30359 (struct statdata): Adjust version member.
30360 (send_stats): Set version from STATDATA_VERSION_FULL.
30361 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
30363 2017-10-05 Joseph Myers <joseph@codesourcery.com>
30365 * configure.ac (--enable-add-ons): Remove option.
30366 (machine): Do not mention add-ons in comment.
30367 (LIBC_PRECONFIGURE): Likewise.
30368 (add_ons): Remove variable and sanity checks and logic to locate
30370 (add_ons_automatic): Remove variable.
30371 (configured_add_ons): Likewise.
30372 (add_ons_sfx): Likewise.
30373 (add_ons_pfx): Likewise.
30374 (add_on_subdirs): Likewise.
30375 (sysnames_add_ons): Likewise. Remove loop over add-ons and
30376 consideration of add-ons in Implies handling.
30377 (sysdeps_add_ons): Likewise.
30378 * configure: Regenerated.
30379 * libidn/configure.ac: Remove.
30380 * libidn/configure: Likewise.
30381 * sysdeps/unix/inet/configure.ac: New file.
30382 * sysdeps/unix/inet/configure: New generated file.
30383 * sysdeps/unix/inet/Subdirs: Add libidn.
30384 * Makeconfig (sysdeps-srcdirs): Remove variable.
30385 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
30386 ($(common-objpfx)config.status): Do not depend on add-on files.
30387 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
30389 (all-subdirs): Do not include $(add-on-subdirs).
30390 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
30391 * config.make.in (add-ons): Remove variable.
30392 (add-on-subdirs): Likewise.
30393 (sysdeps-add-ons): Likewise.
30394 * manual/Makefile (add-chapters): Remove.
30395 ($(objpfx)texis): Do not depend on $(add-chapters).
30396 (nonexamples): Do not handle $(add-chapters).
30397 (examples): Do not handle $(add-ons).
30398 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
30400 * manual/install.texi (Installation): Do not mention add-ons.
30401 (--enable-add-ons): Do not document configure option.
30402 * INSTALL: Regenerated.
30403 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
30404 * manual/maint.texi (Hierarchy Conventions): Do not mention
30406 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
30408 * scripts/gen-sorted.awk: Do not handle Subdirs files from
30410 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
30411 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
30413 2017-10-05 Andreas Schwab <schwab@suse.de>
30416 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
30417 (_IO_flush_all_lockp): Always lock list_all_lock.
30418 (_IO_flush_all_linebuffered): Likewise.
30419 (_IO_unbuffer_all): Likewise.
30421 2017-10-05 Florian Weimer <fweimer@redhat.com>
30424 Do not flush stdio streams on abort.
30425 * stdlib/abort.c (fflush): Remove macro definition.
30426 (abort): Remove stages related to stdio flushing.
30428 2017-10-05 Florian Weimer <fweimer@redhat.com>
30430 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
30432 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
30434 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
30436 2017-10-05 Florian Weimer <fweimer@redhat.com>
30438 * support/support_format_hostent.c (support_format_hostent): Add
30439 more error information for NETDB_INTERNAL.
30441 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
30443 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
30444 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
30445 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
30446 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
30447 AC_DEFINE if multi-arch is enabled.
30448 * sysdeps/i386/configure: Regenerated.
30450 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
30452 * Makeconfig (+link-static-before-libc): Use
30453 $(DEFAULT-LDFLAGS-$(@F)).
30454 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
30455 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
30456 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
30458 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
30460 * elf/Makefile (tests): Add tst-main1.
30461 (modules-names): Add tst-main1mod.
30462 ($(objpfx)tst-main1): New.
30463 (CRT-tst-main1): Likewise.
30464 (LDFLAGS-tst-main1): Likewise.
30465 (LDLIBS-tst-main1): Likewise.
30466 (tst-main1mod.so-no-z-defs): Likewise.
30467 * elf/tst-main1.c: New file.
30468 * elf/tst-main1mod.c: Likewise.
30470 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
30472 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
30474 2017-10-04 Joseph Myers <joseph@codesourcery.com>
30476 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
30477 (fma): Define using libm_alias_double.
30478 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
30479 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
30481 (fmal): Do not define as compat symbol here.
30482 * sysdeps/alpha/fpu/s_fma.c: New file.
30484 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
30486 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
30488 2017-10-04 Joseph Myers <joseph@codesourcery.com>
30491 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
30493 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
30495 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
30496 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
30497 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
30498 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
30499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
30500 Include <math_ldbl_opt.h>
30501 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
30503 (compat_symbol): Undefine and redefine.
30504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
30506 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
30507 (compat_symbol): Undefine and redefine.
30508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
30509 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
30510 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
30511 GLIBC_2_1 for libm.
30512 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
30513 GLIBC_2.0 copysignl symbol.
30514 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
30515 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
30517 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
30519 2017-10-04 Florian Weimer <fweimer@redhat.com>
30521 * scripts/check-local-headers.sh: Ignore nspr4 header file
30522 directory in addition to nspr.
30524 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
30527 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
30528 * configure: Regenerate.
30529 * crypt/Makefile (nss-cpp-flags): New variable.
30530 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
30531 (CPPFLAGS-md5-crypt.c): Use it.
30532 * scripts/check-local-headers.sh: Ignore nspr header file
30535 2017-10-04 Andreas Schwab <schwab@suse.de>
30537 * nis/Makefile (services): Remove compat.
30538 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
30539 ($(objpfx)libnss_compat.so): Remove rule.
30540 * nis/Versions (libnss_compat): Remove.
30541 * nss/Makefile (services): Add compat.
30542 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
30543 * nss/Versions (libnss_compat): Define.
30544 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
30545 Don't include <rpc/types.h>. Replace bool_t by bool.
30546 * nss/nss_compat/compat-initgroups.c: Likewise.
30547 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
30548 instead of <rpcsrv/ypclnt.h>.
30549 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
30550 yp_get_default_domain.
30551 * nss/nss_compat/compat-pwd.c: Likewise.
30552 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
30553 yp_get_default_domain.
30554 * nss/nss_compat/nisdomain.c: New file.
30555 * nss/nss_compat/nisdomain.h: Likewise.
30557 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
30560 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
30561 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30563 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
30566 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
30567 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
30569 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30571 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
30572 "movl main@GOTOFF(%ebx), %eax".
30574 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30576 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
30577 allow undefined _DYNAMIC in PIE libc.a.
30578 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
30581 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30583 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
30586 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30588 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
30591 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30593 * math/test-math-iscanonical.cc (error): Replace bool with int.
30595 2017-10-03 Joseph Myers <joseph@codesourcery.com>
30597 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
30598 (modf): Define using libm_alias_double, only if [!__modf].
30599 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
30600 <libm-alias-double.h>.
30601 (modf): Define using libm_alias_double, only if [!__modf].
30602 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
30603 compat symbol here.
30604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
30605 (weak_alias): Do not undefine and redefine.
30606 (strong_alias): Likewise.
30607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
30608 (weak_alias): Likewise.
30609 (strong_alias): Likewise.
30611 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
30612 (logb): Define using libm_alias_double, only if [!__logb].
30613 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
30614 <libm-alias-double.h>.
30615 (logb): Define using libm_alias_double, only if [!__logb].
30616 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
30617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
30618 (weak_alias): Do not undefine and redefine.
30619 (strong_alias): Likewise.
30620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
30621 (weak_alias): Likewise.
30622 (strong_alias): Likewise.
30624 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30626 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
30627 Check SHARED instead PIC.
30629 2017-10-03 Joseph Myers <joseph@codesourcery.com>
30631 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
30632 [!__fmaf] (fmaf): Define using libm_alias_float.
30634 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
30635 (frexp): Define using libm_alias_double.
30636 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
30637 <libm-alias-double.h>.
30638 (frexp): Define using libm_alias_double.
30639 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
30640 compat symbol here.
30642 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30645 * math/math.h: Trivial fix for unbalanced parentheses in comment.
30646 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
30647 (CFLAGS-test-math-iscanonical.cc): New variable.
30648 * math/test-math-iscanonical.cc: New file.
30649 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
30650 Provide a C++ implementation based on function overloading,
30651 rather than using __MATH_TG, which uses C-only builtins.
30652 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
30654 * sysdeps/powerpc/powerpc64le/Makefile
30655 (CFLAGS-test-math-iscanonical.cc): New variable.
30657 2017-10-03 Joseph Myers <joseph@codesourcery.com>
30659 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
30660 (ceil): Define using libm_alias_double.
30661 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
30662 (floor): Define using libm_alias_double.
30663 * sysdeps/ieee754/dbl-64/s_llround.c: Include
30664 <libm-alias-double.h>.
30665 (llround): Define using libm_alias_double.
30666 * sysdeps/ieee754/dbl-64/s_lround.c: Include
30667 <libm-alias-double.h>.
30668 (lround): Define using libm_alias_double.
30669 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
30670 <libm-alias-double.h>.
30671 (nearbyint): Define using libm_alias_double.
30672 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
30673 <libm-alias-double.h>.
30674 (remquo): Define using libm_alias_double.
30675 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
30676 (rint): Define using libm_alias_double.
30677 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
30678 (round): Define using libm_alias_double.
30679 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
30680 (trunc): Define using libm_alias_double.
30681 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
30682 <libm-alias-double.h>.
30683 (ceil): Define using libm_alias_double.
30684 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
30685 <libm-alias-double.h>.
30686 (floor): Define using libm_alias_double.
30687 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
30688 <libm-alias-double.h>.
30689 (llround): Define using libm_alias_double.
30690 [_LP64] (lround): Likewise.
30691 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
30692 <libm-alias-double.h>.
30693 [!_LP64] (lround): Define using libm_alias_double.
30694 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
30695 <libm-alias-double.h>.
30696 (nearbyint): Define using libm_alias_double.
30697 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
30698 <libm-alias-double.h>.
30699 (remquo): Define using libm_alias_double.
30700 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
30701 <libm-alias-double.h>.
30702 (rint): Define using libm_alias_double.
30703 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
30704 <libm-alias-double.h>.
30705 (round): Define using libm_alias_double.
30706 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
30707 <libm-alias-double.h>.
30708 (trunc): Define using libm_alias_double.
30709 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
30710 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
30711 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
30712 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
30713 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
30714 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
30715 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
30716 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
30717 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
30719 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
30721 * math/w_remainder.c: New file.
30722 * math/w_remainderf.c: New file.
30723 * math/w_remainderl.c: New file.
30725 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30727 * elf/rtld.c (BOOTSTRAP_MAP): New.
30728 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
30729 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
30731 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
30733 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
30736 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
30738 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
30739 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
30740 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
30741 rtld_hidden_data_ver): Define to empty.
30742 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
30743 __assert_perror_fail): Likewise.
30744 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
30745 (__rewinddir): Likewise.
30746 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
30747 (__profile_frequency): Likewise.
30748 * include/setjmp.h (__sigsetjmp): Likewise.
30749 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
30750 __libc_sigaction): Likewise.
30751 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
30752 not set hidden attribute.
30753 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
30754 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
30755 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
30756 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
30757 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
30758 __fxstatat64): Likewise.
30759 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
30760 (__uname): Likewise.
30761 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
30762 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
30763 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
30764 (NO_RTLD_HIDDEN): Set.
30765 * sysdeps/mach/hurd/configure: Refresh.
30766 * config.h.in: Refresh.
30768 2017-10-02 Joseph Myers <joseph@codesourcery.com>
30770 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
30771 (atan): Define using libm_alias_double.
30772 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
30773 (tan): Define using libm_alias_double.
30774 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
30775 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
30777 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
30778 define as weak alias of __atan. Do not define any aliases if
30780 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
30781 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
30782 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
30783 as weak alias of __tan. Do not define any aliases if [__tan].
30784 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
30785 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
30786 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
30788 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
30789 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
30790 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
30791 and define as weak alias of __atan.
30792 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
30794 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
30795 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
30796 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
30797 define as weak alias of __tan.
30799 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
30801 * math/w_lgamma.c: New file.
30802 * math/w_lgammaf.c: New file.
30803 * math/w_lgammal.c: New file.
30805 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
30807 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
30808 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
30809 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
30810 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
30811 * sysdeps/ieee754/flt-32/w_logf.c: New file.
30812 * sysdeps/ieee754/flt-32/w_powf.c: New file.
30813 * sysdeps/i386/fpu/w_log2f.c: New file.
30814 * sysdeps/i386/fpu/w_logf.c: New file.
30815 * sysdeps/i386/fpu/w_powf.c: New file.
30816 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
30817 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
30818 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
30820 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
30821 H.J. Lu <hongjiu.lu@intel.com>
30823 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
30824 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
30825 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
30826 * sysdeps/ieee754/flt-32/w_expf.c: New file.
30827 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
30829 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
30830 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
30831 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
30832 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
30833 * sysdeps/i386/fpu/w_exp2f.c: New file.
30834 * sysdeps/i386/fpu/w_expf.c: New file.
30835 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
30836 * sysdeps/x86_64/fpu/w_expf.c: New file.
30838 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
30840 * math/Versions (logf): New libm symbol at GLIBC_2.27.
30843 * math/w_log2f.c: New file.
30844 * math/w_logf.c: New file.
30845 * math/w_powf.c: New file.
30846 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
30847 * math/w_logf_compat.c (__logf_compat): Likewise.
30848 * math/w_powf_compat.c (__powf_compat): Likewise.
30849 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
30850 * sysdeps/ia64/fpu/e_logf.S: Likewise.
30851 * sysdeps/ia64/fpu/e_powf.S: Likewise.
30852 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
30853 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30854 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
30855 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
30856 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
30857 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
30858 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
30859 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
30860 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
30861 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
30862 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30863 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
30864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
30866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
30870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
30872 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30873 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30874 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
30875 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
30876 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
30877 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
30879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
30881 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
30882 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
30883 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
30885 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30887 * sysdeps/powerpc/powerpc64/multiarch/Makefile
30888 (sysdep_routines): Add memrchr_power8.
30889 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30890 (memrchr): Add __memrchr_power8 to list of memrchr functions.
30891 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
30893 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
30894 (memrchr): Add __memrchr_power8 to ifunc list.
30895 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
30897 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30900 * sysdeps/unix/sysv/linux/posix_fadvise64.c
30901 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
30903 * sysdeps/unix/sysv/linux/posix_fallocate64.c
30904 (__posix_fallocate64_l64): Likewise.
30906 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30909 * sysdeps/unix/sysv/linux/sched_setaffinity.c
30910 (__sched_setaffinity_new): Add libc_hidden_proto and
30913 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30916 * include/glob.h (__glob64): Add libc_hidden_proto.
30917 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
30920 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30923 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
30926 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30929 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
30931 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30934 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
30937 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30940 * csu/version.c (__libc_print_version): Add attribute_hidden.
30942 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30945 * include/libc-internal.h (__init_misc): Add attribute_hidden.
30947 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30950 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
30952 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30955 * nscd/nscd_helper.c (__nis_hash): New prototype.
30957 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30960 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
30961 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
30963 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
30964 * termios/tcgetattr.c (__tcgetattr): Likewise.
30966 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30969 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
30970 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
30971 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
30972 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
30973 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
30975 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30978 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
30980 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30983 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
30984 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
30986 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30989 * intl/hash-string.h (__hash_string): Add attribute_hidden.
30991 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30994 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
30995 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
30997 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31000 * include/ifreq.h: New file.
31001 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
31002 (__ifreq): Likewise.
31003 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
31004 (__ifreq): Likewise.
31006 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31009 * include/idna.h: New file.
31010 * inet/getnameinfo.c: Include <idna.h> instead of
31012 (__idna_to_unicode_lzlz): Removed.
31013 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
31015 (__idna_to_ascii_lz): Removed.
31016 (__idna_to_unicode_lzlz): Likewise.
31018 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31021 * include/plural-exp.h: New file.
31022 * intl/plural-exp.c: Include <plural-exp.h> instead of
31025 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31028 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
31029 "getsourcefilter.h".
31030 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
31031 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
31032 "getsourcefilter.h".
31033 (__get_sol): Removed.
31035 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31038 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
31040 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
31042 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31045 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
31048 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31051 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
31053 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31056 * include/search.h (__tdestroy): Add libc_hidden_proto.
31057 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
31059 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31062 * include/assert.h (__assert_fail_base): Add attribute_hidden.
31064 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31067 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
31070 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31073 * include/signal.h (__kill): Add libc_hidden_proto.
31074 (__sigblock): Likewise.
31075 (__sigprocmask): Likewise.
31076 (__sigaltstack): Likewise.
31077 * signal/kill.c (__kill): Add libc_hidden_def.
31078 * signal/sigblock.c (__sigblock): Likewise.
31079 * signal/sigprocmask.c (__sigprocmask): Likewise.
31080 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
31081 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
31082 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
31083 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
31084 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
31086 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
31088 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
31089 (__sigprocmask): Likewise.
31090 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
31092 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
31093 (__sigprocmask): Likewise.
31094 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
31097 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31100 * include/string.h (__strsep): Add libc_hidden_proto.
31101 * string/strsep.c (__strsep): Add libc_hidden_def.
31103 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31106 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
31108 (__spawni): Likewise.
31110 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31113 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
31114 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
31117 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31120 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
31122 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31125 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
31126 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
31127 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
31128 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
31129 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
31131 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
31132 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
31134 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31137 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
31138 (__dcigettext): Likewise.
31140 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31143 * include/sys/sysinfo.h (__get_nprocs_conf): Add
31145 (__get_nprocs): Likewise.
31146 (__get_phys_pages): Likewise.
31147 (__get_avphys_pages): Likewise.
31148 (__get_child_max): Add attribute_hidden.
31149 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
31150 (__get_nprocs): Likewise.
31151 (__get_phys_pages): Likewise.
31152 (__get_avphys_pages): Likewise.
31153 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
31155 (__get_nprocs): Likewise.
31156 (__get_phys_pages): Likewise.
31157 (__get_avphys_pages): Likewise.
31158 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
31160 (__get_nprocs_conf): Likewise.
31161 (__get_phys_pages): Likewise.
31162 (__get_avphys_pages): Likewise.
31164 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31167 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
31169 (__netlink_close): Likewise.
31170 (__netlink_free_handle): Likewise.
31171 (__netlink_request): Likewise.
31173 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31176 * include/rpc/rpc.h (__rpc_thread_variables): Add
31178 (__rpc_thread_svc_cleanup): Likewise.
31179 (__rpc_thread_clnt_cleanup): Likewise.
31180 (__rpc_thread_key_cleanup): Likewise.
31182 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31185 * include/sys/uio.h (__readv): Add libc_hidden_proto.
31186 (__writev): Likewise.
31187 * misc/readv.c (__readv): Add libc_hidden_def.
31188 * misc/writev.c (__writev): Likewise.
31189 * sysdeps/posix/readv.c (__readv): Likewise.
31190 * sysdeps/posix/writev.c (__writev): Likewise.
31191 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
31192 (__readv): Likewise.
31193 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
31194 (__writev): Likewise.
31196 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31199 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
31200 (__regcomp): Add libc_hidden_proto.
31201 (__regexec): Likewise.
31202 (__regfree): Likewise.
31203 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
31204 (__regfree): Likewise.
31205 * posix/regexec.c (__regexec): Likewise.
31207 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31210 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
31211 (__getutent): Likewise.
31212 (__getutid): Likewise.
31213 (__getutline): Likewise.
31214 (__pututline): Likewise.
31215 (__getutent_r): Likewise.
31216 (__getutid_r): Likewise.
31217 (__getutline_r): Likewise.
31218 (__utmpname): Add attribute_hidden.
31219 (__setutent): Likewise.
31220 (__endutent): Likewise.
31221 * login/getutent.c (__getutent): Add libc_hidden_def.
31222 * login/getutent_r.c (__getutent_r): Likewise.
31223 (__pututline): Likewise.
31224 * login/getutid.c (__getutid): Likewise.
31225 * login/getutid_r.c (__getutid_r): Likewise.
31226 * login/getutline.c (__getutline): Likewise.
31227 * login/getutline_r.c (__getutline_r): Likewise.
31228 * login/updwtmp.c (__updwtmp): Likewise.
31230 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31233 * include/dirent.h (__opendir): Always add attribute_hidden.
31234 (__fdopendir): Likewise.
31235 (__closedir): Likewise.
31236 (__readdir): Likewise.
31237 (__readdir64): Add libc_hidden_proto.
31238 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
31239 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
31240 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
31241 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
31244 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31247 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
31248 * include/netdb.h (__gethostbyaddr_r): Likewise.
31249 (__gethostbyname_r): Likewise.
31250 (__gethostbyname2_r): Likewise.
31251 (__getnetbyaddr_r): Likewise.
31252 (__getnetbyname_r): Likewise.
31253 (__getservbyname_r): Likewise.
31254 (__getservbyport_r): Likewise.
31255 (__getprotobyname_r): Likewise.
31256 (__getprotobynumber_r): Likewise.
31257 (__getnetgrent_r): Likewise.
31258 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
31259 (__getrpcbynumber_r): Likewise.
31260 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
31262 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31265 * include/stdio.h (__fcloseall): Add attribute_hidden.
31266 (__getline): Likewise.
31267 (__path_search): Likewise.
31268 (__gen_tempname): Likewise.
31269 (__libc_message): Likewise.
31270 (__flockfile): Likewise.
31271 (__funlockfile): Likewise.
31272 (__fxprintf): Likewise.
31273 (__fxprintf_nocancel): Likewise.
31275 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31278 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
31279 (__sgetsgent_r): Likewise.
31281 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31284 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
31285 (__statfs64): Likewise.
31286 (__fstatfs64): Likewise.
31287 * include/sys/statvfs.h (__statvfs64): Likewise.
31288 (__fstatvfs64): Likewise.
31289 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
31290 (__statfs_filesize_max): Likewise.
31291 (__statfs_symlinks): Likewise.
31292 (__statfs_chown_restricted): Likewise.
31294 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31297 * include/time.h (__tzstring): Add attribute_hidden.
31298 (__tzfile_read): Likewise.
31299 (__tzfile_compute): Likewise.
31300 (__tzfile_default): Likewise.
31301 (__tzset_parse_tz): Likewise.
31302 (__offtime): Likewise.
31303 (__asctime_r): Likewise.
31304 (__tzset): Likewise.
31305 (__tz_convert): Likewise.
31306 (__getdate_r): Likewise.
31307 (__getclktck): Likewise.
31309 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31312 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
31313 (__nscd_unmap): Likewise.
31314 (__nscd_cache_search): Likewise.
31315 (__nscd_get_nl_timestamp): Likewise.
31316 (__nscd_getpwnam_r): Likewise.
31317 (__nscd_getpwuid_r): Likewise.
31318 (__nscd_getgrnam_r): Likewise.
31319 (__nscd_getgrgid_r): Likewise.
31320 (__nscd_gethostbyname_r): Likewise.
31321 (__nscd_gethostbyname2_r): Likewise.
31322 (__nscd_gethostbyaddr_r): Likewise.
31323 (__nscd_getai): Likewise.
31324 (__nscd_getgrouplist): Likewise.
31325 (__nscd_getservbyname_r): Likewise.
31326 (__nscd_getservbyport_r): Likewise.
31327 (__nscd_innetgr): Likewise.
31328 (__nscd_setnetgrent): Likewise.
31330 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31333 * include/gmp.h: Declare internal functions only if _ISOMAC is
31335 (__mpn_extract_double): Add attribute_hidden.
31336 (__mpn_extract_long_double): Likewise.
31337 (__mpn_extract_float128): Likewise.
31338 (__mpn_construct_float): Likewise.
31339 (__mpn_construct_double): Likewise.
31340 (__mpn_construct_long_double): Likewise.
31341 (__mpn_construct_float128): Likewise.
31342 (mpn_add_1): Likewise.
31343 (mpn_addmul_1): Likewise.
31344 (mpn_add_n): Likewise.
31345 (mpn_cmp): Likewise.
31346 (mpn_divrem): Likewise.
31347 (mpn_lshift): Likewise.
31348 (mpn_mul): Likewise.
31349 (mpn_mul_1): Likewise.
31350 (mpn_rshift): Likewise.
31351 (mpn_sub_1): Likewise.
31352 (mpn_submul_1): Likewise.
31353 (mpn_sub_n): Likewise.
31355 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31358 * include/wchar.h (__wcsnlen): Add attribute_hidden.
31359 (__wcscat): Likewise.
31360 (__btowc): Likewise.
31361 (__wcrtomb): Likewise.
31362 (__mbsrtowcs): Likewise.
31363 (__wcsrtombs): Likewise.
31364 (__mbsnrtowcs): Likewise.
31365 (__wcsnrtombs): Likewise.
31366 (__wcsncpy): Likewise.
31367 (__wcpncpy): Likewise.
31368 (__wmemcpy): Likewise.
31369 (__wmempcpy): Likewise.
31370 (__wmemmove): Likewise.
31371 (__wcschrnul): Likewise.
31372 (__vfwscanf): Likewise.
31373 (__vswprintf): Likewise.
31374 (__fwprintf): Likewise.
31375 (__vfwprintf): Likewise.
31377 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31380 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
31381 (__getgrgid_r): Likewise.
31382 (__getgrnam_r): Likewise.
31383 * include/pwd.h (__getpwuid_r): Likewise.
31384 (__getpwnam_r): Likewise.
31385 (__fgetpwent_r): Likewise.
31386 * include/shadow.h (__getspnam_r): Likewise.
31387 (__sgetspent_r): Likewise.
31388 (__fgetspent_r): Likewise.
31390 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31393 * include/unistd.h (__access): Add attribute_hidden.
31394 (__lseek64): Likewise.
31395 (__libc_pread64): Likewise.
31396 (__pipe2): Likewise.
31397 (__sleep): Likewise.
31398 (__chdir): Likewise.
31399 (__fchdir): Likewise.
31400 (__getcwd): Likewise.
31401 (__rmdir): Likewise.
31402 (__execvpe): Likewise.
31403 (__execve): Likewise.
31404 (__setsid): Likewise.
31405 (__getuid): Likewise.
31406 (__geteuid): Likewise.
31407 (__getgid): Likewise.
31408 (__getegid): Likewise.
31409 (__getgroups): Likewise.
31410 (__group_member): Likewise.
31411 (__ttyname_r): Likewise.
31412 (__isatty): Likewise.
31413 (__readlink): Likewise.
31414 (__unlink): Likewise.
31415 (__gethostname): Likewise.
31416 (__profil): Likewise.
31417 (__getdtablesize): Likewise.
31419 (__ftruncate): Likewise.
31420 (__ftruncate64): Likewise.
31422 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31425 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
31426 * argp/argp-fs-xinl.c: Likewise.
31427 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
31428 * argp/argp-parse.c: Include <argp.h>.
31429 * argp/argp-xinl.c: Likewise.
31430 * include/argp-fmtstream.h: New file.
31431 * include/argp.h (__argp_error): Add attribute_hidden.
31432 (__argp_failure): Likewise.
31433 (__argp_input): Likewise.
31434 (__argp_state_help): Likewise.
31436 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31439 * include/wchar.h (____wcstof_l_internal): New prototype.
31440 (____wcstod_l_internal): Likewise.
31441 (____wcstold_l_internal): Likewise.
31442 (____wcstol_l_internal): Likewise.
31443 (____wcstoul_l_internal): Likewise.
31444 (____wcstoll_l_internal): Likewise.
31445 (____wcstoull_l_internal): Likewise.
31446 (____wcstof128_l_internal): Likewise.
31447 * sysdeps/ieee754/float128/wcstof128.c
31448 (____wcstof128_l_internal): Removed.
31449 * sysdeps/ieee754/float128/wcstof128_l.c
31450 (____wcstof128_l_internal): Likewise.
31451 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
31452 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
31453 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
31454 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
31455 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
31456 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
31457 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
31458 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
31459 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
31460 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
31462 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31465 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
31466 instead of <sys/statvfs.h>.
31467 (__internal_statvfs): Removed.
31468 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
31469 instead of <sys/statvfs.h>.
31470 (__internal_statvfs64): Removed.
31471 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
31472 "internal_statvfs.h" instead of <sys/statvfs.h>.
31473 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
31474 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
31475 instead of <sys/statvfs.h>.
31476 (__internal_statvfs): Removed.
31477 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
31478 instead of <sys/statvfs.h>.
31479 (__internal_statvfs64): Removed.
31481 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31484 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
31485 (__gconv_close): Likewise.
31486 (__gconv): Likewise.
31487 (__gconv_find_transform): Likewise.
31488 (__gconv_lookup_cache): Likewise.
31489 (__gconv_compare_alias_cache): Likewise.
31490 (__gconv_load_cache): Likewise.
31491 (__gconv_get_path): Likewise.
31492 (__gconv_close_transform): Likewise.
31493 (__gconv_release_cache): Likewise.
31494 (__gconv_find_shlib): Likewise.
31495 (__gconv_release_shlib): Likewise.
31496 (__gconv_get_builtin_trans): Likewise.
31497 (__gconv_compare_alias): Likewise.
31498 * include/dlfcn.h (_dlerror_run): Likewise.
31499 * include/stdio.h (__fortify_fail_abort): Likewise.
31500 * include/time.h (__tz_compute): Likewise.
31501 (__strptime_internal): Likewise.
31502 * intl/gettextP.h (_nl_find_domain): Likewise.
31503 (_nl_load_domain): Likewise.
31504 (_nl_find_msg): Likewise.
31505 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
31506 (EXTRACT_PLURAL_EXPRESSION): Likewise.
31507 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
31508 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
31509 (__gai_find_request): Likewise.
31510 (__gai_remove_request): Likewise.
31511 (__gai_notify): Likewise.
31512 (__gai_notify_only): Likewise.
31513 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
31514 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
31515 (_dl_non_dynamic_init): Likewise.
31516 (_dl_aux_init): Likewise.
31517 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
31518 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
31520 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
31521 (__wcsmbs_clone_conv): Likewise.
31522 (__wcsmbs_named_conv): Likewise.
31524 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31527 * include/stdlib.h (__random): Add attribute_hidden.
31528 (__random_r): Likewise.
31529 (__srandom_r): Likewise.
31530 (__initstate_r): Likewise.
31531 (__setstate_r): Likewise.
31532 (__erand48_r): Likewise.
31533 (__nrand48_r): Likewise.
31534 (__jrand48_r): Likewise.
31535 (__srand48_r): Likewise.
31536 (__seed48_r): Likewise.
31537 (__lcong48_r): Likewise.
31538 (__drand48_iterate): Likewise.
31539 (__setenv): Likewise.
31540 (__unsetenv): Likewise.
31541 (__clearenv): Likewise.
31542 (__ptsname_r): Likewise.
31543 (__posix_openpt): Likewise.
31544 (__add_to_environ): Likewise.
31545 (__realpath): Add libc_hidden_proto.
31546 (__ecvt_r): Likewise.
31547 (__fcvt_r): Likewise.
31548 (__qecvt_r): Likewise.
31549 (__qfcvt_r): Likewise.
31550 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
31551 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
31553 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31556 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
31557 * include/time.h (__mktime_internal): Likewise.
31558 * libio/iolibio.h (__fopen_internal): Likewise.
31560 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
31562 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
31564 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
31565 Correct offset used to restore PIC register.
31567 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
31570 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
31571 code to load address of __getcontext_ret when generating PIC code.
31573 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
31575 * elf/Makefile (tests-static-internal): Add
31576 tst-tls1-static-non-pie.
31577 (LDFLAGS-tst-tls1-static-non-pie): New.
31578 * elf/tst-tls1-static-non-pie.c: New file.
31580 2017-09-29 Joseph Myers <joseph@codesourcery.com>
31582 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
31583 (asinh): Define using libm_alias_double.
31584 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
31585 (cbrt): Define using libm_alias_double.
31586 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
31587 <libm-alias-double.h>.
31588 (copysign): Define using libm_alias_double.
31589 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
31590 (erf): Define using libm_alias_double.
31592 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
31593 (expm1): Define using libm_alias_double.
31594 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
31595 (fabs): Define using libm_alias_double.
31596 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
31598 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
31599 <libm-alias-double.h>.
31600 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
31602 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
31603 <libm-alias-double.h>.
31604 (getpayload): Define using libm_alias_double.
31605 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
31606 <libm-alias-double.h>.
31607 (llrint): Define using libm_alias_double.
31608 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
31609 (lrint): Define using libm_alias_double.
31610 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
31611 <libm-alias-double.h>.
31612 (nextup): Define using libm_alias_double.
31613 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
31614 <libm-alias-double.h>.
31615 (roundeven): Define using libm_alias_double.
31616 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
31618 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
31619 <libm-alias-double.h>.
31620 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
31621 using libm_alias_double.
31622 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
31623 (cos): Define using libm_alias_double.
31625 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
31626 <libm-alias-double.h>.
31627 (sincos): Define using libm_alias_double.
31628 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
31629 (tanh): Define using libm_alias_double.
31630 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
31631 <libm-alias-double.h>.
31632 (totalorder): Define using libm_alias_double.
31633 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
31634 <libm-alias-double.h>.
31635 (totalordermag): Define using libm_alias_double.
31636 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
31638 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
31640 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
31641 <libm-alias-double.h>.
31642 (getpayload): Define using libm_alias_double.
31643 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
31644 <libm-alias-double.h>.
31645 (roundeven): Define using libm_alias_double.
31646 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
31647 <libm-alias-double.h>.
31648 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
31649 <libm-alias-double.h>.
31650 (totalorder): Define using libm_alias_double.
31651 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
31652 <libm-alias-double.h>.
31653 (totalordermag): Define using libm_alias_double.
31654 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
31655 libc compat symbol here.
31656 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
31657 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
31658 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
31659 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
31660 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
31661 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
31662 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
31663 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
31664 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
31665 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
31667 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
31669 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
31670 _dl_relocate_static_pie instead of _dl_start to compute load
31671 address in static PIE. Return 0 if _DYNAMIC is undefined for
31674 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
31676 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
31677 _DYNAMIC is undefined for static executable.
31679 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
31681 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
31683 2017-09-29 Joseph Myers <joseph@codesourcery.com>
31685 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31687 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
31689 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
31690 (__ieee754_lgamma_r): Use fabs rather than __fabs.
31691 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
31692 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
31693 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
31694 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
31695 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
31696 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
31697 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
31698 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
31699 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
31700 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
31701 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
31702 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
31703 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
31704 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
31705 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
31707 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
31709 * math/bits/cmathcalls.h (cimag): Remove inline.
31710 (creal): Remove inline.
31711 (conj): Remove inline.
31713 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31715 * math/Makefile (type-float-routines): Add e_powf_log2_data.
31716 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
31717 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
31718 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
31719 (issignalingf_inline): Likewise.
31720 (POWF_LOG2_TABLE_BITS): Likewise.
31721 (POWF_LOG2_POLY_ORDER): Likewise.
31722 (POWF_SCALE_BITS): Likewise.
31723 (POWF_SCALE): Likewise.
31724 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
31725 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
31726 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
31728 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31730 * math/Makefile (type-float-routines): Add e_log2f_data.
31731 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
31732 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
31733 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
31734 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
31735 * sysdeps/i386/fpu/e_log2f_data.c: New file.
31736 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
31737 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
31739 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31741 * math/Makefile (type-float-routines): Add e_logf_data.
31742 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
31743 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
31744 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
31745 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
31746 * sysdeps/i386/fpu/e_logf_data.c: New file.
31747 * sysdeps/ia64/fpu/e_logf_data.c: New file.
31748 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
31750 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
31752 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
31753 undefined _DYNAMIC in PIE libc.a.
31754 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
31757 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
31759 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
31760 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
31761 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
31762 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
31763 (__signbit): Remove.
31764 (__signbitl): Remove.
31765 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
31766 (__signbit): Remove.
31767 (__signbitl): Remove.
31768 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
31769 (__signbit): Remove.
31770 (__signbitl): Remove.
31771 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
31772 (__signbit): Remove.
31773 (__signbitl): Remove.
31774 * sysdeps/tile/bits/mathinline.h: Delete file.
31775 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
31776 (__signbit): Remove.
31777 (__signbitl): Remove.
31779 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
31781 * math/math.h: Improve handling of C99 isgreater macros.
31782 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
31783 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
31784 * sysdeps/powerpc/bits/mathinline.h: Likewise.
31785 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31786 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
31788 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
31790 * sysdeps/aarch64/libm-test-ulps: Update.
31792 2017-09-28 Joseph Myers <joseph@codesourcery.com>
31795 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31796 math_opt_barrier on argument when doing arithmetic on it.
31797 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
31798 Likewise. Use math_force_eval not math_opt_barrier after
31800 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
31801 math_opt_barrier on argument when doing arithmetic on it.
31802 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31805 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
31807 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
31809 (__freeifaddrs): Likewise.
31811 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
31813 * include/dirent.h (__dirfd): New declaration.
31814 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
31816 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
31817 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
31818 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
31819 * include/unistd.h (__revoke): New declaration.
31820 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
31822 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
31823 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
31825 * include/dirent.h (__seekdir): New declaration.
31826 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
31827 redefine as weak alias.
31828 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
31830 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
31831 and use libc_hidden_def on them.
31832 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
31834 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
31835 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
31836 instead of getifaddrs and freeifaddrs.
31838 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
31841 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
31842 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
31843 (__dso_handle): Remove declaration.
31844 * dlfcn/tstatexit.c (__dso_handle): Removed.
31845 (main): Don't check __dso_handle.
31846 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
31847 (main): Don't check __dso_handle.
31848 * include/dso_handle.h: New file.
31849 * malloc/mtrace.c: Include <dso_handle.h>.
31850 (mtrace): Pass __dso_handle directly.
31851 * nptl/pthread_atfork.c: Include <dso_handle.h>.
31852 (__dso_handle): Remove declaration.
31853 (__pthread_atfork): Pass __dso_handle directly.
31854 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
31855 (__dso_handle): Removed.
31856 * posix/wordexp-test.c: Include <dso_handle.h>.
31857 (__dso_handle): Remove declaration.
31858 (__app_register_atfork): Pass __dso_handle directly.
31859 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
31860 (__dso_handle): Remove declaration.
31861 (at_quick_exit): Pass __dso_handle directly.
31862 * stdlib/atexit.c: Include <dso_handle.h>.
31863 (__dso_handle): Remove declaration.
31864 (atexit): Pass __dso_handle directly.
31865 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
31866 (__dso_handle): Removed.
31868 2017-09-26 Joseph Myers <joseph@codesourcery.com>
31870 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
31873 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
31875 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
31876 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
31877 values to correct default value for given type.
31879 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
31882 * elf/Makefile (tests): Add tst-debug1.
31883 ($(objpfx)tst-debug1): New.
31884 ($(objpfx)tst-debug1.out): Likewise.
31885 ($(objpfx)tst-debug1mod1.so): Likewise.
31886 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
31887 with p_filesz == 0.
31888 * elf/tst-debug1.c: New file.
31890 2017-09-26 Joseph Myers <joseph@codesourcery.com>
31892 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
31893 Define using __ifunc.
31895 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31897 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
31900 2017-09-26 Joseph Myers <joseph@codesourcery.com>
31903 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
31905 2017-09-26 Florian Weimer <fweimer@redhat.com>
31907 * resolv/Makefile (tests-internal): Fix typo in comment.
31909 2017-09-26 Florian Weimer <fweimer@redhat.com>
31911 * resolv/nss_dns/dns-host.c: Fix typo in comment.
31913 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31915 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
31916 Use an union instead of a max_align_t array for __space,
31917 so that __space is the same size on all platforms.
31918 * malloc/scratch_buffer_grow_preserve.c
31919 (__libc_scratch_buffer_grow_preserve): Likewise.
31922 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
31924 * posix/Makefile (routines): Add glob-lstat-compat and
31925 glob64-lstat-compat.
31926 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
31927 * posix/glob-lstat-compat.c: New file.
31928 * posix/glob64-lstat-compat.c: Likewise.
31929 * posix/tst-glob_lstat_compat.c: Likewise.
31930 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
31931 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
31932 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
31933 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
31935 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
31936 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
31937 * posix/glob.c (glob_lstat): New function.
31938 (glob): Rename to __glob and add versioned symbol to 2.27.
31939 (glob_in_dir): Use glob_lstat.
31940 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
31941 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
31942 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
31944 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
31945 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
31946 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
31947 gl_lstat on glob call.
31948 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
31949 and glob64 symbols.
31950 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
31951 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
31952 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
31953 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
31954 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
31955 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
31956 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
31957 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
31958 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
31959 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
31960 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
31961 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
31962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
31964 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
31965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
31966 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
31967 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
31968 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
31969 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
31970 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
31971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
31972 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
31973 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
31974 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
31975 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
31977 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
31979 * configure.ac (AS): Require binutils 2.25 or later.
31980 * configure: Regenerated.
31982 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
31985 * stdlib/test-atexit-race-common.c (do_test): Minimize required
31988 2017-09-25 DJ Delorie <dj@redhat.com>
31991 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
31994 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
31996 * sysdeps/ieee754/dbl-64/sincos32.h
31997 [SINCCOS32_H]: Remove define.
31998 [SINCOS32_H]: Define.
32000 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32002 * math/Versions (expf): New libm symbol at GLIBC_2.27.
32004 * math/w_exp2f.c: New file.
32005 * math/w_expf.c: New file.
32006 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
32007 * math/w_expf_compat.c (__expf_compat): Likewise.
32008 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
32009 * sysdeps/ia64/fpu/e_expf.S: Likewise.
32010 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
32011 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
32012 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
32013 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
32014 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
32015 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
32016 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
32017 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
32018 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
32019 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
32020 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
32021 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
32022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
32024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
32026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
32028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
32030 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
32031 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
32032 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
32033 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
32034 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
32035 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
32037 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
32039 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
32040 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
32041 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
32043 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32045 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
32046 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
32047 (roundtoint, converttoint): Likewise.
32048 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
32049 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
32050 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
32051 * sysdeps/ieee754/flt-32/math_config.h: New file.
32052 * sysdeps/ieee754/flt-32/math_errf.c: New file.
32053 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
32054 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
32055 * sysdeps/i386/fpu/math_errf.c: New file.
32056 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
32057 * sysdeps/ia64/fpu/math_errf.c: New file.
32058 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
32059 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
32061 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
32063 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
32064 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
32065 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
32066 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
32067 to make sure that these symbols are defined.
32068 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
32070 (__need_NULL): Do not define.
32071 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
32073 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
32074 CMGROUP_MAX, cmsgcred): Do not define.
32075 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
32077 * bits/socket.h: Likewise.
32078 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
32079 __gettimeofday instead of gettimeofday.
32080 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
32081 instead of settimeofday.
32083 2017-09-22 Joseph Myers <joseph@codesourcery.com>
32085 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
32086 (asinhf): Define using libm_alias_float.
32087 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
32088 (atanf): Define using libm_alias_float.
32089 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
32090 (cbrtf): Define using libm_alias_float.
32091 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
32092 (ceilf): Define using libm_alias_float.
32093 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
32094 <libm-alias-float.h>.
32095 (copysignf): Define using libm_alias_float.
32096 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
32097 (cosf): Define using libm_alias_float.
32098 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
32099 (erff): Define using libm_alias_float.
32101 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
32102 (expm1f): Define using libm_alias_float.
32103 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
32104 (fabsf): Define using libm_alias_float.
32105 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
32106 (floorf): Define using libm_alias_float.
32107 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
32108 (frexpf): Define using libm_alias_float.
32109 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
32111 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
32112 <libm-alias-float.h>.
32113 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
32115 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
32116 <libm-alias-float.h>.
32117 (getpayloadf): Define using libm_alias_float.
32118 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
32119 <libm-alias-float.h>.
32120 (llrintf): Define using libm_alias_float.
32121 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
32122 <libm-alias-float.h>.
32123 (llroundf): Define using libm_alias_float.
32124 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
32125 (logbf): Define using libm_alias_float.
32126 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
32127 (lrintf): Define using libm_alias_float.
32128 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
32129 (lroundf): Define using libm_alias_float.
32130 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
32131 (modff): Define using libm_alias_float.
32132 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
32133 <libm-alias-float.h>.
32134 (nearbyintf): Define using libm_alias_float.
32135 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
32136 <libm-alias-float.h>.
32137 (nextafterf): Define using libm_alias_float.
32138 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
32139 <libm-alias-float.h>.
32140 (nextupf): Define using libm_alias_float.
32141 * sysdeps/ieee754/flt-32/s_remquof.c: Include
32142 <libm-alias-float.h>.
32143 (remquof): Define using libm_alias_float.
32144 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
32145 (rintf): Define using libm_alias_float.
32146 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
32147 <libm-alias-float.h>.
32148 (roundevenf): Define using libm_alias_float.
32149 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
32150 (roundf): Define using libm_alias_float.
32151 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
32152 using libm_alias_float.
32153 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
32154 <libm-alias-float.h>.
32155 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
32156 Define using libm_alias_float.
32157 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
32158 <libm-alias-float.h>.
32159 (sincosf): Define using libm_alias_float.
32160 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
32161 (sinf): Define using libm_alias_float.
32162 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
32163 (tanf): Define using libm_alias_float.
32164 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
32165 (tanhf): Define using libm_alias_float.
32166 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
32167 <libm-alias-float.h>.
32168 (totalorderf): Define using libm_alias_float.
32169 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
32170 <libm-alias-float.h>.
32171 (totalordermagf): Define using libm_alias_float.
32172 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
32173 (truncf): Define using libm_alias_float.
32174 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
32176 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
32179 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32182 math/math.h: Let fpclassify use the builtin in C++ mode, even
32183 when optimazing for size.
32185 2017-09-22 Joseph Myers <joseph@codesourcery.com>
32187 * csu/Makefile (generated): Do not add version-info.h.
32188 (before-compile): Likewise.
32189 (all-Banner-files): Remove variable.
32190 ($(objpfx)version-info.h): Remove rule.
32191 * csu/version.c (banner): Do not include "version-info.h".
32192 * libidn/Banner: Remove.
32193 * manual/contrib.texi (Simon Josefsson): New entry.
32195 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32197 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
32198 Remove conditionals on LDBL_MANT_DIG.
32199 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
32200 (__ieee754_lgammal_r): Likewise.
32202 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32204 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
32206 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
32207 _Float128 and L(). Replace _Float128 with long double and L(x)
32208 with xL, throughout the file.
32209 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
32210 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
32211 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
32212 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
32214 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32216 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
32217 sysdeps/ieee754/ldbl-128ibm.
32218 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
32219 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
32220 of including it. Keep _Float128 and L() intact. These will be
32221 reviewed by a separate patch.
32222 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
32223 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
32224 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
32225 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
32227 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
32230 (__finitef128): Define to __redirect___finitef128.
32231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
32232 (__isinff128): Define to __redirect___isinff128.
32233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
32234 (__isnanf128): Define to __redirect___isnanf128.
32236 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32238 * sysdeps/powerpc/powerpc64le/Makefile
32239 (CFLAGS-tst-strtod-nan-locale.c): New variable.
32240 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
32242 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
32243 Carlos O'Donell <carlos@redhat.com>
32246 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
32247 * stdlib/test-dlclose-exit-race.c: New file.
32248 * stdlib/test-dlclose-exit-race-helper.c: New file.
32249 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
32251 2017-09-21 Joseph Myers <joseph@codesourcery.com>
32253 * crypt/Banner: Remove file.
32254 * nptl/Banner: Likewise.
32255 * resolv/Banner: Likewise.
32256 * soft-fp/Banner: Likewise.
32257 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
32258 ($(objpfx)version.d): Remove dependency on banner.h.
32259 ($(objpfx)version.os): Likewise.
32260 * nptl/version.c (banner): Do not include banner.h.
32261 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
32262 Jelinek and BIND code.
32264 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
32265 Carlos O'Donell <carlos@redhat.com>
32267 * support/xdlfcn.h: New file.
32268 * support/xdlfcn.c: New file.
32269 * support/Makefile (libsupport-routines): Add xdlfcn.
32270 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
32272 2017-09-20 Joseph Myers <joseph@codesourcery.com>
32275 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32276 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
32277 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
32278 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
32279 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
32280 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
32281 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
32282 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
32284 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
32285 Ricky Zhou <rickyz@google.com>
32286 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
32289 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
32291 (__new_exitfn): Fail registration when we finished at_exit processing.
32292 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
32293 * stdlib/on_exit.c (__on_exit): Likewise.
32294 * stdlib/exit.c (__exit_funcs_done): New variable.
32295 (__run_exit_handlers): Use __exit_funcs_lock.
32296 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
32298 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
32299 (test-cxa_atexit-race, test-on_exit-race): New tests.
32300 * stdlib/test-atexit-race-common.c: New file.
32301 * stdlib/test-atexit-race.c: New file.
32302 * stdlib/test-at_quick_exit-race.c: New file.
32303 * stdlib/test-cxa_atexit-race.c: New file.
32304 * stdlib/test-on_exit-race.c: New file.
32306 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
32308 * benchtests/Makefile: Add exp2f and log2f benchmarks.
32309 * benchtests/exp2f-inputs: Copy of expf-inputs.
32310 * benchtests/log2f-inputs: Copy of logf-inputs.
32312 2017-09-19 Joseph Myers <joseph@codesourcery.com>
32314 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
32315 Explicitly take address of first element of array arguments in
32316 call to INLINE_SYSCALL.
32318 2017-09-19 Andreas Schwab <schwab@suse.de>
32321 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
32323 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
32325 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
32326 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
32327 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32328 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
32329 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32330 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
32331 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32332 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
32333 * posix/Makefile (tests): Add tst-fexecve.
32334 * posix/tst-fexecve.c: New file.
32336 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
32338 * benchtests/Makefile: Add logf benchmark.
32339 * benchtests/logf-inputs: Add reduced trace from wrf_r.
32341 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
32343 * benchtests/Makefile: Add expf benchmark.
32344 * benchtests/expf-inputs: Add reduced trace from wrf_r.
32346 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
32348 * csu/Makefile: Add -funwind-tables to libc-start.c.
32349 * debug/Makefile: Add -funwind-tables to backtrace.c.
32350 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
32351 * sysdeps/arm/Makefile: Likewise.
32352 * sysdeps/i386/Makefile: Likewise.
32353 * sysdeps/m68k/Makefile: Likewise.
32354 * sysdeps/mips/Makefile: Likewise.
32355 * sysdeps/nios2/Makefile: Likewise.
32356 * sysdeps/sh/Makefile: Likewise.
32357 * sysdeps/sparc/Makefile: Likewise.
32359 2017-09-19 Joseph Myers <joseph@codesourcery.com>
32361 * benchtests/Makefile (bench-math): Add trunc and truncf.
32362 (CFLAGS-bench-trunc.c): New variable.
32363 (CFLAGS-bench-truncf.c): Likewise.
32364 * benchtests/trunc-inputs: New file.
32365 * benchtests/truncf-inputs: Likewise.
32367 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32369 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
32371 2017-09-18 Joseph Myers <joseph@codesourcery.com>
32373 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
32374 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
32376 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
32377 (exp10l): Define as weak alias.
32378 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
32379 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
32381 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
32382 (remainderl): Define as weak alias.
32384 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
32385 (fmal): Define using libm_alias_ldouble.
32386 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
32387 (acoshl): Define using libm_alias_ldouble.
32388 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
32389 (acosl): Define using libm_alias_ldouble.
32390 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
32391 (asinl): Define using libm_alias_ldouble.
32392 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
32393 (atan2l): Define using libm_alias_ldouble.
32394 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
32395 (atanhl): Define using libm_alias_ldouble.
32396 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
32397 (coshl): Define using libm_alias_ldouble.
32398 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
32399 (exp10l): Define using libm_alias_ldouble.
32400 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
32401 (exp2l): Define using libm_alias_ldouble.
32402 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
32403 (expl): Define using libm_alias_ldouble.
32404 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
32405 (fmodl): Define using libm_alias_ldouble.
32406 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
32407 (hypotl): Define using libm_alias_ldouble.
32408 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
32409 (j0l): Define using libm_alias_ldouble.
32411 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
32412 (j1l): Define using libm_alias_ldouble.
32414 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
32415 (jnl): Define using libm_alias_ldouble.
32417 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
32418 (log10l): Define using libm_alias_ldouble.
32419 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
32420 (log2l): Define using libm_alias_ldouble.
32421 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
32422 (logl): Define using libm_alias_ldouble.
32423 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
32424 (powl): Define using libm_alias_ldouble.
32425 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
32426 (remainderl): Define using libm_alias_ldouble.
32427 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
32428 (sinhl): Define using libm_alias_ldouble.
32429 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
32430 (sqrtl): Define using libm_alias_ldouble.
32431 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
32432 (tgammal): Define using libm_alias_ldouble.
32433 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
32434 (exp10l): Do not use long_double_symbol here.
32435 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
32436 [LIBM_SVID_COMPAT] (remainderl): Likewise.
32437 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
32438 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
32439 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
32440 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
32441 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
32442 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
32443 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
32444 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
32445 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
32446 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
32447 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
32448 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
32449 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
32450 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
32451 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
32452 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
32453 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
32454 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
32455 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
32456 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
32458 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
32460 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
32461 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
32463 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
32465 * io/read.c (read): Add libc_hidden_weak.
32466 * sysdeps/mach/hurd/read.c (read): Likewise.
32467 * io/write.c (write): Likewise.
32468 * sysdeps/mach/hurd/write.c (write): Likewise.
32469 * io/pread64.c (__pread64): Likewise.
32470 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
32471 * posix/pread64.c (__pread64): Add libc_hidden_def.
32473 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
32475 * benchtests/scripts/compare_strings.py: New option -g.
32476 (draw_graph): Print a message that a graph is being generated.
32477 (process_results): Generate graph only if -g is passed.
32478 (main): Process option -g.
32480 * benchtests/scripts/compare_strings.py (process_results):
32481 Better spacing for output.
32483 * benchtests/scripts/compare_strings.py: Use argparse.
32484 * benchtests/README: Document existence of compare_strings.py.
32486 2017-09-15 Joseph Myers <joseph@codesourcery.com>
32488 * math/s_fma.c: Include <libm-alias-double.h>.
32489 (fma): Define using libm_alias_double.
32490 * math/s_nextafter.c: Include <libm-alias-double.h>.
32491 (nextafter): Define using libm_alias_double.
32492 * math/w_acos_compat.c: Include <libm-alias-double.h>.
32493 (acos): Define using libm_alias_double.
32494 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
32495 (aocsh): Define using libm_alias_double.
32496 * math/w_asin_compat.c: Include <libm-alias-double.h>.
32497 (asin): Define using libm_alias_double.
32498 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
32499 (atan2): Define using libm_alias_double.
32500 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
32501 (atanh): Define using libm_alias_double.
32502 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
32503 (cosh): Define using libm_alias_double.
32504 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
32505 (exp10): Define using libm_alias_double.
32506 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
32507 (exp2): Define using libm_alias_double.
32508 * math/w_exp_compat.c: Include <libm-alias-double.h>.
32509 (exp): Define using libm_alias_double.
32510 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
32511 (fmod): Define using libm_alias_double.
32512 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
32513 (hypot): Define using libm_alias_double.
32514 * math/w_j0_compat.c: Include <libm-alias-double.h>.
32515 (j0): Define using libm_alias_double.
32517 * math/w_j1_compat.c: Include <libm-alias-double.h>.
32518 (j1): Define using libm_alias_double.
32520 * math/w_jn_compat.c: Include <libm-alias-double.h>.
32521 (jn): Define using libm_alias_double.
32523 * math/w_log10_compat.c: Include <libm-alias-double.h>.
32524 (log10): Define using libm_alias_double.
32525 * math/w_log2_compat.c: Include <libm-alias-double.h>.
32526 (log2): Define using libm_alias_double.
32527 * math/w_log_compat.c: Include <libm-alias-double.h>.
32528 (log): Define using libm_alias_double.
32529 * math/w_pow_compat.c: Include <libm-alias-double.h>.
32530 (pow): Define using libm_alias_double.
32531 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
32532 (remainder): Define using libm_alias_double.
32533 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
32534 (sinh): Define using libm_alias_double.
32535 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
32536 (sqrt): Define using libm_alias_double.
32537 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
32538 (tgamma): Define using libm_alias_double.
32539 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
32540 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
32541 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
32542 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
32543 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
32544 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
32545 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
32546 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
32547 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
32548 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
32549 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
32550 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
32551 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
32552 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
32553 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
32554 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
32555 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
32556 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
32557 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
32558 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
32559 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
32560 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
32561 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
32562 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
32563 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
32565 * math/e_acoshl.c: Remove.
32566 * math/e_acosl.c: Likewise.
32567 * math/e_asinl.c: Likewise.
32568 * math/e_atan2l.c: Likewise.
32569 * math/e_atanhl.c: Likewise.
32570 * math/e_coshl.c: Likewise.
32571 * math/e_expl.c: Likewise.
32572 * math/e_fmodl.c: Likewise.
32573 * math/e_gammal_r.c: Likewise.
32574 * math/e_hypotl.c: Likewise.
32575 * math/e_j0l.c: Likewise.
32576 * math/e_j1l.c: Likewise.
32577 * math/e_jnl.c: Likewise.
32578 * math/e_lgammal_r.c: Likewise.
32579 * math/e_log10l.c: Likewise.
32580 * math/e_log2l.c: Likewise.
32581 * math/e_logl.c: Likewise.
32582 * math/e_powl.c: Likewise.
32583 * math/e_rem_pio2l.c: Likewise.
32584 * math/e_sinhl.c: Likewise.
32585 * math/e_sqrtf128.c: Likewise.
32586 * math/e_sqrtl.c: Likewise.
32587 * math/k_cosl.c: Likewise.
32588 * math/k_sinl.c: Likewise.
32589 * math/k_tanl.c: Likewise.
32590 * math/s_asinhl.c: Likewise.
32591 * math/s_atanl.c: Likewise.
32592 * math/s_cbrtl.c: Likewise.
32593 * math/s_erfl.c: Likewise.
32594 * math/s_expm1l.c: Likewise.
32595 * math/s_log1pl.c: Likewise.
32596 * math/s_tanhl.c: Likewise.
32598 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32601 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
32602 [$(subdir) = math] (sysdep_calls): New variable. Has the
32603 previous contents of sysdep_routines, but re-sorted..
32604 [$(subdir) = math] (sysdep_routines): Re-use the contents from
32606 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
32607 defined in sysdep_calls and replace by the respective m_* names.
32608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
32609 (compat_symbol): Undefine to avoid duplicated compat symbols in
32612 2017-09-15 Joseph Myers <joseph@codesourcery.com>
32614 * math/s_fmaf.c: Include <libm-alias-float.h>.
32615 (fmaf): Define using libm_alias_float.
32616 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
32617 (acosf): Define using libm_alias_float.
32618 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
32619 (acoshf): Define using libm_alias_float.
32620 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
32621 (asinf): Define using libm_alias_float.
32622 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
32623 (atan2f): Define using libm_alias_float.
32624 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
32625 (atanhf): Define using libm_alias_float.
32626 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
32627 (coshf): Define using libm_alias_float.
32628 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
32629 (exp10f): Define using libm_alias_float.
32630 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
32631 (fmodf): Define using libm_alias_float.
32632 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
32633 (hypotf): Define using libm_alias_float.
32634 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
32635 (j0f): Define using libm_alias_float.
32637 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
32638 (j1f): Define using libm_alias_float.
32640 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
32641 (jnf): Define using libm_alias_float.
32643 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
32644 (log10f): Define using libm_alias_float.
32645 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
32646 (log2f): Define using libm_alias_float.
32647 * math/w_logf_compat.c: Include <libm-alias-float.h>.
32648 (logf): Define using libm_alias_float.
32649 * math/w_powf_compat.c: Include <libm-alias-float.h>.
32650 (powf): Define using libm_alias_float.
32651 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
32652 (remainderf): Define using libm_alias_float.
32653 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
32654 (sinhf): Define using libm_alias_float.
32655 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
32656 (sqrtf): Define using libm_alias_float.
32657 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
32658 (tgammaf): Define using libm_alias_float.
32660 2017-09-14 Joseph Myers <joseph@codesourcery.com>
32662 * include/math.h (roundeven): Change hidden_proto call to
32664 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
32666 [NO_LONG_DOUBLE] (__j0l): New strong alias.
32667 (y0): Rename to __y0 and define as weak alias.
32668 [NO_LONG_DOUBLE] (__y0l): New strong alias.
32669 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
32671 (y0f): Rename to __y0f and define as weak alias.
32672 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
32674 [NO_LONG_DOUBLE] (__j1l): New strong alias.
32675 (y1): Rename to __y1 and define as weak alias.
32676 [NO_LONG_DOUBLE] (__y1l): New strong alias.
32677 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
32679 (y1f): Rename to __y1f and define as weak alias.
32680 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
32682 [NO_LONG_DOUBLE] (__jnl): New strong alias.
32683 (yn): Rename to __yn and define as weak alias.
32684 [NO_LONG_DOUBLE] (__ynl): New strong alias.
32685 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
32687 (ynf): Rename to __ynf and define as weak alias.
32688 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
32689 (fromfp): Define as weak alias.
32690 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
32691 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
32692 (fromfpx): Define as weak alias.
32693 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
32694 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
32695 __getpayload and define as weak alias.
32696 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
32697 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
32698 __roundeven and define as weak alias.
32699 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
32700 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
32702 (setpayload): Define as weak alias.
32703 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
32704 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
32706 (setpayloadsig): Define as weak alias.
32707 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
32708 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
32709 __totalorder and define as weak alias.
32710 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
32711 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
32712 to __totalordermag and define as weak alias.
32713 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
32714 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
32715 (ufromfp): Define as weak alias.
32716 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
32717 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
32719 (ufromfpx): Define as weak alias.
32720 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
32721 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
32722 Rename to __getpayload and define as weak alias.
32723 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
32724 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
32725 Rename to __roundeven and define as weak alias.
32726 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
32727 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
32728 Rename to __totalorder and define as weak alias.
32729 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
32730 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
32731 (totalordermag): Rename to __totalordermag and define as weak
32733 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
32734 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
32736 (__roundevenl): Likewise.
32737 (__totalorderl): Likewise.
32738 (__totalordermagl): Likewise
32739 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
32741 (fromfpf128): Define as weak alias.
32742 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
32744 (fromfpxf128): Define as weak alias.
32745 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
32747 (setpayloadf128): Define as weak alias.
32748 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
32749 __setpayloadsigf128.
32750 (setpayloadsigf128): Define as weak alias.
32751 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
32753 (ufromfpf128): Define as weak alias.
32754 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
32756 (ufromfpxf128): Define as weak alias.
32757 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
32758 (fromfpf): Define as weak alias.
32759 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
32761 (fromfpxf): Define as weak alias.
32762 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
32763 __getpayloadf and define as weak alias.
32764 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
32765 __roundevenf and define as weak alias.
32766 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
32768 (setpayloadf): Define as weak alias.
32769 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
32771 (setpayloadsigf): Define as weak alias.
32772 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
32773 __totalorderf and define as weak alias.
32774 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
32775 Rename to __totalordermagf and define as weak alias.
32776 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
32778 (ufromfpf): Define as weak alias.
32779 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
32781 (ufromfpxf): Define as weak alias.
32782 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
32784 (fromfpl): Define as weak alias.
32785 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
32787 (fromfpxl): Define as weak alias.
32788 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
32789 to __getpayloadl and define as weak alias.
32790 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
32791 __roundevenl and define as weak alias.
32792 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
32794 (setpayloadl): Define as weak alias.
32795 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
32797 (setpayloadsigl): Define as weak alias.
32798 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
32799 to __totalorderl and define as weak alias.
32800 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
32801 Rename to __totalordermagl and define as weak alias.
32802 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
32804 (ufromfpl): Define as weak alias.
32805 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
32807 (ufromfpxl): Define as weak alias.
32808 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
32810 (fromfpl): Define as weak alias.
32811 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
32813 (fromfpxl): Define as weak alias.
32814 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
32815 Rename to __getpayloadl and define as weak alias.
32816 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
32817 to __roundevenl and define as weak alias. Call __roundeven
32818 instead of roundeven.
32819 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
32821 (setpayloadl): Define as weak alias.
32822 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
32824 (setpayloadsigl): Define as weak alias.
32825 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
32826 Rename to __totalorderl and define as weak alias.
32827 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
32828 Rename to __totalordermagl and define as weak alias.
32829 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
32831 (ufromfpl): Define as weak alias.
32832 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
32834 (ufromfpxl): Define as weak alias.
32835 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
32837 (fromfpl): Define as weak alias.
32838 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
32840 (fromfpxl): Define as weak alias.
32841 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
32842 __getpayloadl and define as weak alias.
32843 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
32844 __roundevenl and define as weak alias.
32845 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
32847 (setpayloadl): Define as weak alias.
32848 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
32850 (setpayloadsigl): Define as weak alias.
32851 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
32852 __totalorderl and define as weak alias.
32853 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
32854 Rename to __totalordermagl and define as weak alias.
32855 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
32857 (ufromfpl): Define as weak alias.
32858 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
32860 (ufromfpxl): Define as weak alias.
32862 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
32864 * benchtests/bench-string.h (realloc_bufs): New function.
32865 (test_init): Call it.
32866 * benchtests/bench-memset-large.c (do_test): Likewise.
32867 * benchtests/bench-memset.c (do_test): Likewise.
32869 * benchtests/bench-memset-large.c: Print output in JSON
32871 * benchtests/bench-memset.c: Likewise.
32873 2017-09-14 Mike FABIAN <mfabian@redhat.com>
32876 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
32877 * iconvdata/Makefile: Add IBM858.
32878 * iconvdata/gconv-modules: Likewise.
32879 * iconvdata/tst-tables.sh: Likewise.
32880 * iconvdata/ibm858.c: New file.
32881 * localedata/charmaps/IBM858: Likewise.
32883 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
32886 * locales/niu_NZ (LC_TIME): copy "niu_NU".
32887 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
32889 2017-09-14 Mike FABIAN <mfabian@redhat.com>
32892 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
32893 and add tel_int_fmt.
32895 2017-09-14 Joseph Myers <joseph@codesourcery.com>
32897 * sysdeps/generic/libm-alias-float128.h: New file.
32898 * sysdeps/generic/math-type-macros-float128.h: Include
32899 <libm-alias-float128.h>.
32900 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
32902 2017-09-13 Joseph Myers <joseph@codesourcery.com>
32904 * sysdeps/generic/libm-alias-ldouble.h: New file.
32905 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
32906 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
32907 * sysdeps/generic/math-type-macros-ldouble.h: Include
32908 <libm-alias-ldouble.h>.
32909 [!declare_mgen_alias] (declare_mgen_alias): Define to use
32910 libm_alias_ldouble.
32912 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
32914 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
32915 * math/w_exp_compat.c: ... here.
32916 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
32917 * math/w_expf_compat.c: ... here.
32918 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
32919 * math/w_expl_compat.c: ... here.
32920 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
32921 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
32922 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
32923 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
32925 2017-09-13 Joseph Myers <joseph@codesourcery.com>
32927 * math/w_scalbln_template.c (strong_alias): Do not undefine and
32929 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
32931 (ldexpl): Only define as compat symbol for libc, not libm.
32932 (scalbnl): Define as compat symbol for libc here.
32933 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
32934 define for [IS_IN (libc)].
32935 (__ldexpl_2): Remove alias.
32936 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
32937 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
32938 name in long_double_symbol call.
32939 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
32940 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
32941 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
32942 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
32943 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
32945 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
32946 Define as compat symbol.
32948 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32950 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
32951 * sysdeps/unix/sysv/linux/alpha/Makefile
32952 [$(subdir) = csu] (sysdep_routines): Remove rule.
32954 2017-09-13 Joseph Myers <joseph@codesourcery.com>
32956 * sysdeps/generic/libm-alias-double.h: New file.
32957 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
32958 * sysdeps/generic/math-type-macros-double.h: Include
32959 <libm-alias-double.h>.
32960 [declare_mgen_alias] (declare_mgen_alias): Define to use
32962 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
32963 (M_LIBM_NEED_COMPAT): Remove macro.
32964 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
32965 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
32966 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
32968 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32969 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32970 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32971 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32972 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32973 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32974 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32975 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32976 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32977 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32978 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32979 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32980 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32981 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32982 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32983 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32984 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32985 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32986 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32987 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32988 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32989 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32990 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32991 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32992 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32993 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32994 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32995 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
32996 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
32998 (declare_mgen_alias): New macro.
32999 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
33000 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
33001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
33002 (M_LIBM_NEED_COMPAT): Remove macro.
33003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
33004 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
33005 <first-versions.h>.
33006 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
33007 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
33009 2017-09-12 Joseph Myers <joseph@codesourcery.com>
33011 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
33012 (declare_mgen_alias_2): Remove.
33013 * sysdeps/generic/math-type-macros-double.h
33014 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
33016 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
33018 (ldexp): Define with declare_mgen_alias.
33019 (scalbn): Likewise.
33021 2017-09-12 Steve Ellcey <sellcey@cavium.com>
33023 * grp/initgroups.c: Include config.h.
33024 (DEFAULT_CONFIG): New macro.
33025 (internal_getgrouplist): Use DEFAULT_CONFIG.
33026 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33027 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
33028 (DEFAULT_DEFCONFIG): New macro.
33029 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
33030 * nss/grp-lookup.c: Include config.h
33031 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
33032 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
33033 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
33034 * manual/nss.texi: Update default values section.
33036 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
33039 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
33041 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
33042 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
33043 Handle MathVec_Prefer_No_AVX512.
33044 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
33045 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
33048 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
33050 * posix/sched_primax.c (__sched_get_priority_max): Add
33052 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
33053 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
33054 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
33055 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
33056 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
33057 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
33058 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
33059 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
33062 2017-09-11 Joseph Myers <joseph@codesourcery.com>
33064 * sysdeps/generic/libm-alias-float.h: New file.
33065 * sysdeps/generic/math-type-macros-float.h: Include
33066 <libm-alias-float.h>.
33067 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
33069 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
33072 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
33073 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
33074 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
33075 (HWCAP_IMPORTANT): Likewise.
33076 (HWCAP_X86_64): New enum.
33077 (HWCAP_X86_AVX512_1): Updated.
33078 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
33079 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
33080 (modules-names): Add x86_64/tst-x86_64mod-1.
33081 (LDFLAGS-tst-x86_64mod-1.so): New.
33082 ($(objpfx)tst-x86_64-1): Likewise.
33083 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
33084 (tst-x86_64-1-clean): Likewise.
33085 * sysdeps/x86_64/tst-x86_64-1.c: New file.
33086 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
33088 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
33090 * po/sv.po: Update translations.
33091 * po/fr.po: Likewise.
33093 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33095 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
33097 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
33099 * elf/rtld-Rules: Fix $(error) use.
33101 2017-09-09 Mike FABIAN <mfabian@redhat.com>
33104 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
33105 * locale/iso-639.def: Change “Bengali” to “Bangla”.
33106 * localedata/locales/bn_BD: “Bengali” was still used in some
33107 comments. Change it to “Bangla”.
33109 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
33111 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
33113 2017-09-08 Steve Ellcey <sellcey@cavium.com>
33115 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
33116 thunderx2t99p1 to list of cpu names.
33117 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
33118 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
33120 2017-09-08 Steve Ellcey <sellcey@cavium.com>
33122 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
33123 Use strcmp instead of tunable_is_name.
33125 2017-09-08 Joseph Myers <joseph@codesourcery.com>
33127 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33128 (F_GET_RW_HINT): New macro.
33129 [__USE_GNU] (F_SET_RW_HINT): Likewise.
33130 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
33131 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
33132 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
33133 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
33134 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
33135 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
33136 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
33137 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
33139 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33140 (F_ADD_SEALS): New macro.
33141 [__USE_GNU] (F_GET_SEALS): Likewise.
33142 [__USE_GNU] (F_SEAL_SEAL): Likewise.
33143 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
33144 [__USE_GNU] (F_SEAL_GROW): Likewise.
33145 [__USE_GNU] (F_SEAL_WRITE): Likewise.
33147 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33149 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
33150 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
33151 * posix/glob_internal.h (__glob_pattern_type):
33152 * posix/glob.c (glob):
33153 * posix/glob_pattern_p.c (__glob_pattern_p):
33156 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
33157 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
33158 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
33159 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
33160 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
33161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
33162 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
33163 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
33164 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
33165 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33166 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
33167 * sysdeps/wordsize-64/glob.c: Likewise.
33168 * sysdeps/wordsize-64/glob64.c: Likewise.
33169 * sysdeps/wordsize-64/globfree.c: Likewise.
33170 * sysdeps/wordsize-64/globfree64.c: Likewise.
33171 * sysdeps/unix/sysv/linux/glob.c: New file.
33172 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
33173 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
33174 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
33175 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
33176 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
33177 adds !GLOB_NO_OLD_VERSION as an extra condition.
33178 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
33179 using relative path instead of absolute one.
33180 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
33181 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33182 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33183 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
33184 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
33185 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
33188 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
33189 (glob): Use the same scratch buffer for both getlogin_r and
33190 getpwnam_r. Don’t require preallocation of the login name. This
33191 simplifies storage allocation, and corrects the handling of
33195 * posix/glob.c (glob): Port recent patches to platforms
33196 lacking getpwnam_r.
33197 (glob): Fix longstanding misuse of errno after getpwnam_r, which
33198 returns an error number rather than setting errno.
33200 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
33201 instead of GCC extension.
33202 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
33203 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
33204 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
33208 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
33209 * posix/bug-glob1.c: Remove file.
33210 * posix/tst-glob_symlinks.c: New file.
33211 * posix/glob.c (__lstat64): New macro.
33212 (is_dir): New function.
33213 (glob, glob_in_dir): Match symlinks even if they are dangling.
33214 (link_stat, link_exists_p): Remove. All uses removed.
33218 * posix/glob.c (struct readdir_result): Remove skip_entry member.
33219 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
33224 * posix/Makefile (routines): Add globfree, globfree64, and
33226 * posix/flexmember.h: New file.
33227 * posix/glob_internal.h: Likewise.
33228 * posix/glob_pattern_p.c: Likewise.
33229 * posix/globfree.c: Likewise.
33230 * posix/globfree64.c: Likewise.
33231 * sysdeps/gnu/globfree64.c: Likewise.
33232 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
33233 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
33234 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
33235 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
33236 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
33237 * sysdeps/wordsize-64/globfree.c: Likewise.
33238 * sysdeps/wordsize-64/globfree64.c: Likewise.
33239 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
33240 [NDEBUG): Remove comments.
33241 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
33242 (dirent_type): New type. Use uint_fast8_t not
33243 uint8_t, as C99 does not require uint8_t.
33244 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
33245 (struct readdir_result): Use dirent_type. Do not define skip_entry
33246 unless it is needed; this saves a byte on platforms lacking d_ino.
33247 (readdir_result_type, readdir_result_skip_entry):
33248 New functions, replacing ...
33249 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
33250 these functions, which were removed. This makes the callers
33251 easier to read. All callers changed.
33252 (D_INO_TO_RESULT): Now empty if there is no d_ino.
33253 (size_add_wrapv, glob_use_alloca): New static functions.
33254 (glob, glob_in_dir): Check for size_t overflow in several places,
33255 and fix some size_t checks that were not quite right.
33256 Remove old code using SHELL since Bash no longer
33258 (glob, prefix_array): Separate MS code better.
33259 (glob_in_dir): Remove old Amiga and VMS code.
33260 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
33262 (glob_in_dir): Do not rely on undefined behavior in accessing
33263 struct members beyond their bounds. Use a flexible array member
33265 (link_stat): Rename from link_exists2_p and return -1/0 instead of
33266 0/1. Caller changed.
33267 (glob): Fix memory leaks.
33268 * posix/glob64 (globfree64): Move to separate file.
33269 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
33270 (globfree64): Remove hidden alias.
33271 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
33273 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
33275 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
33277 Move compat code to separate file.
33278 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
33281 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
33283 * resolv/tst-resolv-qtypes.c (domain): Changed to
33284 "const char domain[] =".
33286 2017-09-07 Joseph Myers <joseph@codesourcery.com>
33288 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
33291 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
33292 (TCP_MD5SIG_EXT): Likewise.
33293 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
33294 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
33295 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
33297 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
33299 2017-09-07 Mike FABIAN <mfabian@redhat.com>
33301 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
33303 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
33306 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
33308 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
33310 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
33311 before assuming that the file is empty. Avoid testing buffer content
33314 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33317 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
33319 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
33321 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
33323 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
33325 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
33327 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
33329 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
33332 2017-09-06 Florian Weimer <fweimer@redhat.com>
33334 * malloc/dynarray_emplace_enlarge.c
33335 (__libc_dynarray_emplace_enlarge): Add missing else.
33337 2017-09-06 Florian Weimer <fweimer@redhat.com>
33340 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
33341 case of failure to obtain the global conf object.
33343 2017-09-06 Florian Weimer <fweimer@redhat.com>
33346 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
33347 dynarray allocation failure.
33349 2017-09-06 Florian Weimer <fweimer@redhat.com>
33351 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
33352 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
33353 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
33355 (response): Call them. Add 'p', '6' flag processing.
33356 (test_reverse): New function.
33357 (test_get2_any): Call it.
33358 (test_no_inet6): Add 'p' test.
33359 (test_inet6): Likewise.
33361 2017-09-06 Florian Weimer <fweimer@redhat.com>
33363 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
33364 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
33366 (test_gai): Adjust query names. Add additional tests.
33367 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
33368 test_get2. Adjust query names. Add additional tests.
33369 (test_no_inet6): New function, extracted from threadfunc.
33370 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
33371 Add additional tests.
33373 2017-09-06 Mike FABIAN <mfabian@redhat.com>
33376 * localedata/unicode-gen/utf8_gen.py: Set the width for
33377 characters with Prepended_Concatenation_Mark property to 1
33378 * localedata/charmaps/UTF-8: Updated using the improved script.
33380 2017-09-06 Mike FABIAN <mfabian@redhat.com>
33383 * localedata/unicode-gen/utf8_gen.py: Improve the script to
33384 use the range notation for all ranges of neighbouring characters
33385 with the same width.
33387 2017-09-05 Joseph Myers <joseph@codesourcery.com>
33389 * sysdeps/generic/math-type-macros-double.h: Include
33390 <math-svid-compat.h>.
33391 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
33392 * sysdeps/generic/math-type-macros-float.h: Include
33393 <math-svid-compat.h>.
33394 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
33395 * sysdeps/generic/math-type-macros-ldouble.h: Include
33396 <math-svid-compat.h>.
33397 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
33398 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
33400 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
33401 * math/w_acosf_compat.c: Likewise.
33402 * math/w_acosh_compat.c: Likewise.
33403 * math/w_acoshf_compat.c: Likewise.
33404 * math/w_acoshl_compat.c: Likewise.
33405 * math/w_acosl_compat.c: Likewise.
33406 * math/w_asin_compat.c: Likewise.
33407 * math/w_asinf_compat.c: Likewise.
33408 * math/w_asinl_compat.c: Likewise.
33409 * math/w_atan2_compat.c: Likewise.
33410 * math/w_atan2f_compat.c: Likewise.
33411 * math/w_atan2l_compat.c: Likewise.
33412 * math/w_atanh_compat.c: Likewise.
33413 * math/w_atanhf_compat.c: Likewise.
33414 * math/w_atanhl_compat.c: Likewise.
33415 * math/w_cosh_compat.c: Likewise.
33416 * math/w_coshf_compat.c: Likewise.
33417 * math/w_coshl_compat.c: Likewise.
33418 * math/w_exp10_compat.c: Likewise.
33419 * math/w_exp10f_compat.c: Likewise.
33420 * math/w_exp10l_compat.c: Likewise.
33421 * math/w_exp2_compat.c: Likewise.
33422 * math/w_exp2f_compat.c: Likewise.
33423 * math/w_exp2l_compat.c: Likewise.
33424 * math/w_fmod_compat.c: Likewise.
33425 * math/w_fmodf_compat.c: Likewise.
33426 * math/w_fmodl_compat.c: Likewise.
33427 * math/w_hypot_compat.c: Likewise.
33428 * math/w_hypotf_compat.c: Likewise.
33429 * math/w_hypotl_compat.c: Likewise.
33430 * math/w_j0_compat.c: Likewise.
33431 * math/w_j0f_compat.c: Likewise.
33432 * math/w_j0l_compat.c: Likewise.
33433 * math/w_j1_compat.c: Likewise.
33434 * math/w_j1f_compat.c: Likewise.
33435 * math/w_j1l_compat.c: Likewise.
33436 * math/w_jn_compat.c: Likewise.
33437 * math/w_jnf_compat.c: Likewise.
33438 * math/w_jnl_compat.c: Likewise.
33439 * math/w_lgamma_r_compat.c: Likewise.
33440 * math/w_lgammaf_r_compat.c: Likewise.
33441 * math/w_lgammal_r_compat.c: Likewise.
33442 * math/w_log10_compat.c: Likewise.
33443 * math/w_log10f_compat.c: Likewise.
33444 * math/w_log10l_compat.c: Likewise.
33445 * math/w_log2_compat.c: Likewise.
33446 * math/w_log2f_compat.c: Likewise.
33447 * math/w_log2l_compat.c: Likewise.
33448 * math/w_log_compat.c: Likewise.
33449 * math/w_logf_compat.c: Likewise.
33450 * math/w_logl_compat.c: Likewise.
33451 * math/w_pow_compat.c: Likewise.
33452 * math/w_powf_compat.c: Likewise.
33453 * math/w_powl_compat.c: Likewise.
33454 * math/w_remainder_compat.c: Likewise.
33455 * math/w_remainderf_compat.c: Likewise.
33456 * math/w_remainderl_compat.c: Likewise.
33457 * math/w_sinh_compat.c: Likewise.
33458 * math/w_sinhf_compat.c: Likewise.
33459 * math/w_sinhl_compat.c: Likewise.
33460 * math/w_sqrt_compat.c: Likewise.
33461 * math/w_sqrtf_compat.c: Likewise.
33462 * math/w_sqrtl_compat.c: Likewise.
33463 * math/w_tgamma_compat.c: Likewise.
33464 * math/w_tgammaf_compat.c: Likewise.
33465 * math/w_tgammal_compat.c: Likewise.
33466 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
33467 [LIBM_SVID_COMPAT].
33468 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
33469 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
33470 [LIBM_SVID_COMPAT].
33471 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
33472 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
33473 [LIBM_SVID_COMPAT].
33474 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
33475 * sysdeps/i386/fpu/w_sqrt.c: New file.
33476 * sysdeps/ia64/fpu/w_acos.c: Likewise.
33477 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
33478 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
33479 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
33480 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
33481 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
33482 * sysdeps/ia64/fpu/w_asin.c: Likewise.
33483 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
33484 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
33485 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
33486 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
33487 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
33488 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
33489 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
33490 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
33491 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
33492 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
33493 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
33494 * sysdeps/ia64/fpu/w_exp.c: Likewise.
33495 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
33496 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
33497 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
33498 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
33499 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
33500 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
33501 * sysdeps/ia64/fpu/w_expf.c: Likewise.
33502 * sysdeps/ia64/fpu/w_expl.c: Likewise.
33503 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
33504 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
33505 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
33506 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
33507 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
33508 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
33509 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
33510 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
33511 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
33512 * sysdeps/ia64/fpu/w_log.c: Likewise.
33513 * sysdeps/ia64/fpu/w_log10.c: Likewise.
33514 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
33515 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
33516 * sysdeps/ia64/fpu/w_log2.c: Likewise.
33517 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
33518 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
33519 * sysdeps/ia64/fpu/w_logf.c: Likewise.
33520 * sysdeps/ia64/fpu/w_logl.c: Likewise.
33521 * sysdeps/ia64/fpu/w_pow.c: Likewise.
33522 * sysdeps/ia64/fpu/w_powf.c: Likewise.
33523 * sysdeps/ia64/fpu/w_powl.c: Likewise.
33524 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
33525 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
33526 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
33527 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
33528 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
33529 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
33530 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
33531 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
33532 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
33533 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
33534 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
33535 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
33536 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
33537 [LIBM_SVID_COMPAT].
33538 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
33539 * sysdeps/ieee754/k_standard.c: Likewise.
33540 * sysdeps/ieee754/k_standardf.c: Likewise.
33541 * sysdeps/ieee754/k_standardl.c: Likewise.
33542 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
33543 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
33544 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
33545 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
33546 long_double_symbol call on [LIBM_SVID_COMPAT].
33547 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
33548 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
33549 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
33550 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
33551 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
33552 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
33553 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
33554 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
33555 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
33556 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
33557 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
33558 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
33559 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
33560 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
33561 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
33562 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
33563 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
33564 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
33565 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
33566 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
33567 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
33568 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
33570 2017-09-05 Steve Ellcey <sellcey@cavium.com>
33572 * include/shlib-compat.h (TEST_COMPAT): New Macro.
33573 * malloc/tst-mallocstate.c: Convert from test-skeleton
33574 to test-driver. Ifdef code using TEST_COMPAT macro.
33575 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
33576 * math/test-matherr.c: Likewise.
33578 2017-09-05 Joseph Myers <joseph@codesourcery.com>
33581 * debug/pcprofiledump.c (main): Use byte-swapped mask when
33582 comparing word with byte-swapped constant.
33584 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
33587 * locale/iso-639.def: add Miskito.
33588 * localedata/SUPPORTED: Add miq_NI/UTF-8.
33589 * localedata/locales/miq_NI: New file.
33591 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
33594 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
33595 (__mkdir): Likewise.
33596 * io/chmod.c (__chmod): Add libc_hidden_def.
33597 * io/mkdir.c (__mkdir): Likewise.
33598 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
33599 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
33600 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
33601 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
33603 2017-09-04 Joseph Myers <joseph@codesourcery.com>
33605 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
33609 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
33610 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
33612 2017-09-04 Florian Weimer <fweimer@redhat.com>
33614 * math/math.h: Issue warning if log is defined.
33616 2017-09-04 Joseph Myers <joseph@codesourcery.com>
33618 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
33619 kernel version to 4.13.
33621 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
33623 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
33624 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
33626 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
33627 just <bits/types.h>.
33628 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
33629 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
33630 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
33631 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
33632 * misc/preadv2.c: Include <errno.h>.
33633 * misc/preadv64v2.c: Include <errno.h>.
33634 * misc/pwritev2.c: Include <errno.h>.
33635 * misc/pwritev64v2.c: Include <errno.h>.
33636 * sysdeps/posix/preadv2.c: Include <errno.h>.
33637 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
33638 Fix <unistd.h> inclusion.
33639 * sysdeps/posix/pwritev2.c: Include <errno.h>.
33640 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
33641 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
33642 __strtoul_internal): New functions.
33643 * sysdeps/posix/pause.c: Include <sigsetops.h>.
33644 * sysdeps/posix/system.c: Include <sigsetops.h>.
33645 * sysdeps/mach/hurd/i386/Makefile
33646 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
33647 [$(subdir) = csu] (sysdep-only-routines): Likewise.
33648 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
33649 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
33650 __feraiseexcept_renamed to feraiseexcept instead of
33651 __GI_feraiseexcept.
33652 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
33653 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
33654 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
33655 RWF_NOWAIT): Define to 0 if undefined already.
33656 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
33658 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
33659 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
33661 2017-09-01 Joseph Myers <joseph@codesourcery.com>
33663 * manual/math.texi (pow10): Do not document.
33664 (pow10f): Likewise.
33665 (pow10l): Likewise.
33666 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
33667 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
33668 * math/libm-test-exp10.inc (pow10_test): Remove.
33669 (do_test): Do not call pow10.
33670 * math/w_exp10_compat.c (pow10): Make into compat symbol.
33671 [NO_LONG_DOUBLE] (pow10l): Likewise.
33672 * math/w_exp10f_compat.c (pow10f): Likewise.
33673 * math/w_exp10l_compat.c (pow10l): Likewise.
33674 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
33675 (pow10): Make into compat symbol.
33676 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
33677 (pow10f): Make into compat symbol.
33678 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
33679 (pow10l): Make into compat symbol.
33680 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
33682 (CFLAGS-nldbl-pow10.c): Remove variable..
33683 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
33684 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
33685 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
33686 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
33687 Undefine and redefine.
33688 (pow10l): Make into compat symbol.
33689 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
33690 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
33691 * sysdeps/arm/libm-test-ulps: Likewise.
33692 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
33693 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
33694 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
33695 * sysdeps/microblaze/libm-test-ulps: Likewise.
33696 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
33697 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
33698 * sysdeps/nios2/libm-test-ulps: Likewise.
33699 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33700 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
33701 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33702 * sysdeps/sh/libm-test-ulps: Likewise.
33703 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33704 * sysdeps/tile/libm-test-ulps: Likewise.
33705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33707 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
33709 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
33711 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
33713 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
33714 "../ChangeLog.old/ChangeLog.8".
33715 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
33716 "../ChangeLog.old/ChangeLog.14".
33718 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
33720 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
33723 2017-09-01 Joseph Myers <joseph@codesourcery.com>
33725 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
33727 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
33729 * csu/version.c (banner): Remove "by Roland McGrath et al.".
33730 * nptl/Banner: Remove "by Ulrich Drepper et al.".
33732 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
33734 * stdlib/tst-atexit-common.c (do_test): Test support for at least
33735 32 atexit handlers.
33737 2017-09-01 Zack Weinberg <zackw@panix.com>
33739 * math/math.h (HUGE_VAL): Improve commentary.
33741 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33742 Andreas Schwab <schwab@suse.de>
33745 * include/stdio.h (__gen_tempfd): New function.
33746 * stdio-common/Makefile (routines): Add gentempfd.
33747 * stdio-common/gentempfd.c: New file.
33748 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
33749 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
33750 unnamed file first.
33752 2017-09-01 Florian Weimer <fweimer@redhat.com>
33756 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
33757 result to determine success or failure, not the errno value.
33758 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
33759 (tst-nss-files-hosts-erange): Link with -ldl.
33760 * nss/tst-nss-files-hosts-erange.c: New file.
33761 * nss/tst-resolv-basic.c (response): Handle nodata.example.
33762 (do_test): Add NO_DATA tests.
33763 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
33764 (do_test): Call it.
33766 2017-09-01 Florian Weimer <fweimer@redhat.com>
33769 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
33770 coming from gethostbyname2_r.
33772 2017-09-01 Florian Weimer <fweimer@redhat.com>
33774 * support/namespace.h (struct support_chroot_configuration): Add
33776 (struct support_chroot): Add path_hosts, path_host_conf.
33777 * support/support_chroot.c (write_file): New function.
33778 (support_chroot_create): Call it to process /etc/resolv.conf,
33779 /etc/hosts, /etc/host.conf.
33780 (support_chroot_free): Update.
33782 2017-09-01 Florian Weimer <fweimer@redhat.com>
33784 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
33785 status indicates it is set.
33787 2017-09-01 Florian Weimer <fweimer@redhat.com>
33790 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
33791 function lookup failures more reliable.
33793 2017-09-01 Florian Weimer <fweimer@redhat.com>
33795 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
33796 (getcanonname): Likewise.
33797 (gaih_inet): Likewise.
33799 2017-09-01 Florian Weimer <fweimer@redhat.com>
33801 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
33802 (getcanonname): Likewise.
33803 (gaih_inet): Likewise.
33805 2017-08-31 Steve Ellcey <sellcey@cavium.com>
33806 Richard Henderson <rth@twiddle.net>
33808 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
33809 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
33810 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
33811 (IREG_SIZE, OREG_SIZE): New macros.
33812 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
33813 (IREG_SIZE, OREG_SIZE): New macros.
33814 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
33815 (IREG_SIZE): New macro.
33816 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
33817 (IREG_SIZE): New macro.
33818 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
33820 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
33821 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
33822 (__CONCATX): Handle exceptions correctly on large values that may
33824 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
33825 Initialize if not already set.
33826 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
33828 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33830 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
33831 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
33833 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
33835 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
33837 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
33839 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
33841 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
33843 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
33845 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
33846 (NO_CANCELLATION): Likewise.
33847 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
33849 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
33851 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
33853 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
33854 (NO_CANCELLATION): Likewise.
33855 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
33856 (NO_CANCELLATION): Likewise.
33857 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
33859 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
33861 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
33863 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
33865 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
33867 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
33868 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
33870 2017-08-31 Steve Ellcey <sellcey@cavium.com>
33872 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
33875 2017-08-31 Florian Weimer <fweimer@redhat.com>
33877 * include/libc-symbols.h (internal_function): Remove.
33879 2017-08-31 Florian Weimer <fweimer@redhat.com>
33881 * stdlib/fmtmsg.c (internal_addseverity): Remove
33884 2017-08-31 Florian Weimer <fweimer@redhat.com>
33886 * stdio-common/printf_fp.c (group_number): Remove
33888 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
33890 2017-08-31 Florian Weimer <fweimer@redhat.com>
33892 * posix/fnmatch.c (internal_function): Remove definition.
33893 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
33894 * posix/regcomp.c (peek_token, init_word_char)
33895 (duplicate_node_closure, fetch_token, peek_token)
33896 (peek_token_bracket, build_range_exp, build_collating_symbol):
33898 * posix/regex_internal.c (re_string_construct_common)
33899 (create_ci_newstate, create_cd_newstate, re_string_allocate)
33900 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
33901 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
33902 (re_string_translate_buffer, re_string_reconstruct)
33903 (re_string_peek_byte_case, re_string_fetch_byte_case)
33904 (re_string_destruct, re_string_context_at, re_node_set_alloc)
33905 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
33906 (re_node_set_add_intersect, re_node_set_init_union)
33907 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
33908 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
33909 (re_dfa_add_node, calc_state_hash, re_acquire_state)
33910 (re_acquire_state_context): Likewise.
33911 * posix/regex_internal.h (internal_function): Remove definition.
33912 (re_string_realloc_buffers, build_wcs_buffer)
33913 (build_wcs_upper_buffer, build_upper_buffer)
33914 (re_string_translate_buffer, re_string_context_at)
33915 (re_string_char_size_at, re_string_wchar_at)
33916 (re_string_elem_size_at): Likewise.
33917 * posix/regexec.c (match_ctx_init, match_ctx_clean)
33918 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
33919 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
33920 (re_search_internal, re_search_2_stub, re_search_stub)
33921 (re_copy_regs, prune_impossible_nodes, check_matching)
33922 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
33923 (free_fail_stack_return, sift_states_iter_mb)
33924 (sift_states_backward, build_sifted_states)
33925 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
33926 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
33927 (check_subexp_limits, sift_states_bkref, merge_state_array)
33928 (find_recover_state, transit_state, merge_state_with_log)
33929 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
33930 (transit_state_mb, transit_state_bkref, get_subexp)
33931 (get_subexp_sub, find_subexp_node, check_arrival)
33932 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
33933 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
33934 (check_node_accept_bytes, find_collation_sequence_value)
33935 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
33936 (acquire_init_state_context, check_halt_node_context)
33937 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
33938 (sub_epsilon_src_nodes): Likewise.
33939 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
33940 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
33941 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
33942 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
33943 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
33944 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
33945 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
33946 * sysdeps/posix/ttyname.c (getttyname): Likewise.
33947 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
33948 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
33949 (PREADV): Likewise.
33950 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
33951 (PREADV): Likewise.
33952 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
33953 (PWRITEV): Likewise.
33954 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
33955 (PWRITEV): Likewise.
33956 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
33957 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
33959 2017-08-31 Florian Weimer <fweimer@redhat.com>
33961 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
33962 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
33963 Remove internal_function.
33964 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
33965 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
33966 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
33967 (__deallocate_stack, __libc_pthread_init)
33968 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
33969 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
33970 (__libc_disable_asynccancel, __librt_disable_asynccancel):
33972 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
33973 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
33974 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
33976 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
33977 (__pthread_mutex_unlock_usercnt): Likewise.
33979 2017-08-31 Florian Weimer <fweimer@redhat.com>
33981 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
33982 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
33983 (fts_safe_changedir): Remove internal_function.
33984 * io/ftw.c (internal_function): Remove definition.
33985 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
33987 2017-08-31 Florian Weimer <fweimer@redhat.com>
33989 * inet/deadline.c (__deadline_current_time)
33990 (__deadline_from_timeval, __deadline_to_ms): Remove
33992 * inet/getnameinfo.c (nrl_domainname): Likewise.
33993 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
33994 * inet/inet6_option.c (add_pad): Likewise.
33995 * inet/net-internal.h (__deadline_current_time)
33996 (__deadline_from_timeval, __deadline_to_ms): Likewise.
33997 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
33998 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
33999 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
34001 2017-08-31 Joseph Myers <joseph@codesourcery.com>
34003 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
34004 include <bits/nan.h>.
34005 * math/Makefile (headers): Remove bits/nan.h.
34006 * bits/nan.h: Remove.
34007 * sysdeps/ieee754/bits/nan.h: Likewise.
34008 * sysdeps/mips/bits/nan.h: Likewise.
34010 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
34011 not include <bits/inf.h>.
34012 * math/Makefile (headers): Remove bits/inf.h.
34013 * bits/inf.h: Remove.
34014 * sysdeps/ieee754/bits/inf.h: Likewise.
34016 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
34017 bits/huge_vall.h or bits/huge_val_flt128.h.
34018 (HUGE_VAL): Define directly here.
34019 [__USE_ISOC99] (HUGE_VALF): Likewise.
34020 [__USE_ISOC99] (HUGE_VALL): Likewise.
34021 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34022 (HUGE_VAL_F128): Likewise.
34023 * math/Makefile (headers): Remove bits/huge_val.h,
34024 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
34025 * bits/huge_val.h: Remove.
34026 * bits/huge_val_flt128.h: Likewise.
34027 * bits/huge_valf.h: Likewise.
34028 * bits/huge_vall.h: Likewise.
34029 * sysdeps/ia64/bits/huge_vall.h: Likewise.
34030 * sysdeps/ieee754/bits/huge_val.h: Likewise.
34031 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
34032 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
34033 * sysdeps/sh/bits/huge_val.h: Likewise.
34034 * sysdeps/sparc/bits/huge_vall.h: Likewise.
34035 * sysdeps/x86/bits/huge_vall.h: Likewise.
34037 2017-08-31 Florian Weimer <fweimer@redhat.com>
34039 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
34041 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
34043 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
34044 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
34045 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
34046 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
34047 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34048 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
34049 * elf/dl-libc.c (dlerror_run): Likewise.
34050 * elf/dl-load.c (add_name_to_object, decompose_rpath)
34051 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
34052 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
34053 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
34055 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
34056 (_dl_higher_prime_number, _dl_strtoul): Likewise.
34057 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
34058 * elf/dl-profile.c (_dl_start_profile): Likewise.
34059 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
34060 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
34062 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
34063 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
34064 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
34065 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
34066 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
34067 (_dl_allocate_tls_storage): Likewise.
34068 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
34069 (_dl_check_all_versions): Likewise.
34070 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
34071 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
34072 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
34073 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
34074 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
34075 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
34076 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
34077 internal_function from __dl_start.
34078 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
34079 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
34080 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
34081 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
34082 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
34083 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
34084 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
34085 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
34086 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
34087 (_dl_next_ld_env_entry, _dl_important_hwcaps)
34088 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
34089 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
34090 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
34091 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
34092 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
34094 (struct rtld_global_ro): Remove internal_function from the
34095 _dl_lookup_symbol_x member.
34096 (_dl_symbol_value): Remove. No longer defined anywhere.
34097 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
34099 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
34100 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
34101 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
34102 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
34103 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
34104 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
34105 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
34106 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
34107 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
34108 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
34109 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
34110 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
34112 2017-08-31 Florian Weimer <fweimer@redhat.com>
34114 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
34115 Remove internal_function.
34116 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
34118 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
34121 2017-08-31 Florian Weimer <fweimer@redhat.com>
34123 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
34124 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
34125 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
34127 2017-08-31 Florian Weimer <fweimer@redhat.com>
34129 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
34130 (__gai_enqueue_request): Remove internal_function.
34131 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
34132 (__gai_remove_request, __gai_notify, __gai_notify_only)
34133 (__gai_sigqueue): Likewise.
34134 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
34135 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
34136 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
34137 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
34140 2017-08-31 Florian Weimer <fweimer@redhat.com>
34142 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
34143 * include/dirent.h (__opendirat, __getdents, __getdents64)
34144 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
34145 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
34146 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34147 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
34149 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
34151 2017-08-31 Florian Weimer <fweimer@redhat.com>
34153 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
34155 (GETCWD_RETURN_TYPE): Likewise.
34157 2017-08-31 Florian Weimer <fweimer@redhat.com>
34159 * include/time.h (__tz_compute, __strptime_internal): Remove
34161 * time/strptime_l.c (__strptime_internal): Likewise.
34162 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
34164 2017-08-31 Florian Weimer <fweimer@redhat.com>
34166 * iconv/gconv.c (__gconv): Remove internal_function.
34167 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
34168 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
34169 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
34170 (__gconv_release_cache): Likewise.
34171 * iconv/gconv_close.c (__gconv_close): Likewise.
34172 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
34173 (read_conf_file, __gconv_get_path): Likewise.
34174 * iconv/gconv_db.c (derivation_lookup, add_derivation)
34175 (__gconv_release_step, gen_steps, increment_counter)
34176 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
34177 (__gconv_close_transform, free_modules_db): Likewise.
34178 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
34180 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
34181 (__gconv_find_transform, __gconv_lookup_cache)
34182 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
34183 (__gconv_close_transform, __gconv_release_cache)
34184 (__gconv_loaded_object, __gconv_release_shlib)
34185 (__gconv_compare_alias): Likewise.
34186 * iconv/gconv_open.c (__gconv_open): Likewise.
34187 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
34188 * iconv/iconvconfig.c (add_module): Likewise.
34189 * intl/dcigettext.c (plural_lookup, guess_category_value)
34190 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
34191 * intl/eval-plural.h (plural_eval): Likewise.
34192 * intl/finddomain.c (_nl_find_domain): Likewise.
34193 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
34194 (_nl_load_domain, _nl_find_msg): Likewise.
34195 (internal_function): Remove definition.
34196 * intl/loadinfo.h (internal_function): Likewise.
34197 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
34199 * intl/localealias.c (internal_function): Remove definition.
34200 (read_alias_file): Remove internal_function.
34201 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
34202 * intl/plural-exp.h (internal_function): Remove definition.
34203 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
34205 * intl/plural.c: Regenerate.
34206 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
34207 * locale/coll-lookup.c (__collidx_table_lookup)
34208 (__collseq_table_lookup): Likewise.
34209 * locale/coll-lookup.h (__collidx_table_lookup)
34210 (__collseq_table_lookup): Likewise.
34211 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
34212 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34213 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
34214 (_nl_unload_locale): Likewise.
34215 * locale/localeinfo.h (struct __locale_data): Remove
34216 internal_function from cleanup member.
34217 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
34218 (_nl_remove_locale, _nl_load_locale_from_archive)
34219 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
34220 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
34221 (_nl_cleanup_time): Remove internal_function.
34222 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
34223 (_nl_parse_alt_digit): Likewise.
34224 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
34225 (_nl_select_era_entry): Likewise.
34226 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
34227 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
34228 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
34229 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
34230 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
34232 2017-08-31 Florian Weimer <fweimer@redhat.com>
34234 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
34235 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
34236 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
34237 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
34239 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
34240 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
34241 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
34242 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
34244 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
34246 2017-08-31 Florian Weimer <fweimer@redhat.com>
34248 * misc/getttyent.c (skip, value): Remove internal_function.
34249 * misc/syslog.c (openlog_internal): Likewise.
34250 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
34252 2017-08-31 Florian Weimer <fweimer@redhat.com>
34254 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
34255 (__nss_rewrite_field): Remove internal_function.
34256 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34257 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
34258 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34259 * nss/nsswitch.c (nss_parse_file, nss_getline)
34260 (nss_parse_service_list, nss_new_service): Likewise.
34261 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
34262 * nss/valid_field.c (__nss_valid_field): Likewise.
34263 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
34265 2017-08-31 Florian Weimer <fweimer@redhat.com>
34267 * malloc/arena.c (__malloc_fork_lock_parent)
34268 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
34269 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
34270 internal_function from defintions.
34271 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
34272 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
34273 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
34274 internal_function from declarations.
34275 * malloc/malloc.c (internal_function): Do not define.
34276 (mem2mem_check): Remove internal_function from declaration.
34277 (munmap_chunk, mremap_chunk): Remove internal_function.
34278 * malloc/mtrace.c (tr_where): Likewise.
34280 2017-08-31 Florian Weimer <fweimer@redhat.com>
34282 * include/rpc/pmap_clnt.h (__get_socket): Remove
34284 * sunrpc/auth_des.c (synchronize): Likewise.
34285 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
34286 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
34287 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
34288 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
34289 (key_call): Likewise.
34290 * sunrpc/pm_getport.c (__get_socket): Likewise.
34291 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
34292 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
34293 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
34294 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
34295 (invalidate): Likewise.
34296 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
34297 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
34298 (set_input_fragment, get_input_bytes): Likewise.
34300 2017-08-31 Florian Weimer <fweimer@redhat.com>
34302 * malloc/malloc.c (_int_free): Remove locked variable and related
34305 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
34308 * Makerules (build-module-helper-objlist): Filter out
34309 $(elf-objpfx)sofini.os.
34310 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
34313 2017-08-31 Florian Weimer <fweimer@redhat.com>
34315 * libio/fcloseall.c: Assume weak_alias is defined.
34316 * libio/feof.c: Likewise.
34317 * libio/fileno.c: Likewise.
34318 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
34319 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
34321 (_IO_file_open): Call __open directly.
34322 (_IO_new_file_sync): Assume ESPIPE is defined.
34323 (_IO_file_seekoff_maybe_mmap): Call __read directly.
34324 (_IO_new_file_write): Call __write directly.
34325 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
34326 * libio/ftello64.c (__ftello64): Assume EIO is defined.
34327 * libio/genops.c: Assume _LIBC is defined.
34328 (save_for_backup): Remove internal_function.
34329 * libio/getc.c: Assume weak_alias is defined.
34330 * libio/getwc.c: Likewise.
34331 * libio/iofclose.c: Assume _LIBC is defined.
34332 * libio/iofdopen.c: Likewise.
34333 (_IO_fcntl): Remove macro definition.
34334 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
34335 Call __fcntl directly.
34336 * libio/iofflush.c: Assume weak_alias is defined.
34337 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
34339 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
34340 * libio/iofgets.c: Likewise.
34341 * libio/iofopen.c: Assume _LIBC is defined.
34342 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
34343 * libio/iofputs.c: Assume weak_alias is defined.
34344 * libio/iofread.c: Likewise.
34345 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
34346 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
34347 * libio/ioftell.c: Assume weak_alias is defined.
34348 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
34349 * libio/iofwide.c: Assume _LIBC is defined.
34350 (_IO_fwide): Drop SHARED conditional because it is implied by
34352 * libio/iofwrite.c: Assume weak_alias is defined.
34353 * libio/iogetdelim.c: Likewise.
34354 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
34355 * libio/iogetwline.c (wmemcpy): Remove macro definition.
34356 (_IO_getwline): Call __wmemcpy directly.
34357 * libio/iopopen.c: Assume _LIBC is defined.
34358 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
34359 (_IO_close): Remove macro definitions.
34360 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
34362 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
34364 * libio/ioputs.c: Assume weak_alias is defined.
34365 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
34366 * libio/iosetbuffer.c: Assume weak_alias is defined.
34367 * libio/iosetvbuf.c: Likewise.
34368 * libio/ioungetc.c: Likewise.
34369 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
34370 libc_hidden_def, libc_hidden_weak, NULL are defined.
34371 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
34372 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
34374 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
34376 (_IO_old_file_init_internal): Drop SHARED conditional because it
34377 is implied by SHLIB_COMPAT.
34378 (_IO_old_file_fopen): Call __open directly.
34379 (_IO_old_file_sync): Assume ESPIPE is defined.
34380 (_IO_old_file_write): Call __write directly.
34381 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
34382 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
34383 Call __fcntl directly.
34384 * libio/oldiofgetpos.c: Assume weak_alias is defined.
34385 (_IO_old_fgetpos): Assume EIO is defined.
34386 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
34387 (_IO_old_fgetpos64): Assume EIO is defined.
34388 * libio/oldiofsetpos.c: Assume weak_alias is defined.
34389 (_IO_old_fsetpos): Assume EIO is defined.
34390 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
34391 (_IO_old_fsetpos64): Assume EIO is defined.
34392 * libio/oldiopopen.c: Assume _LIBC is defined.
34393 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
34394 (_IO_close): Remove macro definitions.
34395 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
34397 (_IO_old_proc_close): Call __close, __waitpid directly.
34398 * libio/put.c: Assume weak_alias is defined.
34399 * libio/stdfiles.c: Assume _LIBC is defined.
34400 * libio/stdio.c: Likewise.
34401 * libio/wfileops.c: Likewise.
34402 (_IO_wfile_sync): Assume ESPIPE is defined.
34403 * libio/wgenops.c: Assume _LIBC is defined.
34404 (save_for_wbackup): Remove internal_function.
34406 2017-08-31 Florian Weimer <fweimer@redhat.com>
34408 * malloc/malloc.c (top_check): Change return type to void. Remove
34410 * malloc/hooks.c (top_check): Likewise.
34411 (malloc_check, realloc_check, memalign_check): Adjust.
34413 2017-08-30 Joseph Myers <joseph@codesourcery.com>
34416 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
34417 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
34418 sigcontext and namespace requirements.
34419 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
34420 * sysdeps/m68k/sys/ucontext.h: Likewise.
34421 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
34422 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
34423 <bits/sigcontext.h>.
34424 (__ctx): Define earlier.
34425 (mcontext_t): Define structure contents rather than using struct
34427 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
34428 __glibc_reserved1 instead of __reserved.
34429 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
34430 <bits/sigcontext.h>.
34431 (__ctx): Define earlier.
34432 (mcontext_t): Define structure contents rather than using struct
34434 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
34435 mcontext_t instead of struct sigcontext.
34436 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
34437 <bits/sigcontext.h>.
34438 (__ctx): Define earlier.
34439 (mcontext_t): Define structure contents rather than using struct
34441 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
34442 <bits/sigcontext.h>.
34443 (__ctx): Define earlier.
34444 (mcontext_t): Define structure contents rather than using struct
34446 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
34447 mcontext_t instead of struct sigcontext.
34448 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
34449 mcontext_t instead of struct sigcontext.
34450 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
34451 <bits/sigcontext.h>.
34452 (__ctx): New macro.
34453 (struct __ia64_fpreg_mcontext): New type.
34454 (mcontext_t): Define structure contents rather than using struct
34456 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
34457 (uc_sigmask): Define using __ctx.
34458 (uc_stack): Likewise.
34459 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
34460 <bits/sigcontext.h>.
34461 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34462 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
34463 <bits/sigcontext.h>.
34464 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
34465 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
34466 <bits/sigcontext.h>.
34467 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
34468 <bits/sigcontext.h>.
34469 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
34470 <bits/sigcontext.h>.
34471 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
34472 <bits/sigcontext.h>.
34473 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
34474 <bits/sigcontext.h>.
34475 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
34476 <bits/sigcontext.h>.
34477 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
34478 <bits/sigcontext.h>.
34479 (__ctx): Define earlier.
34480 (mcontext_t): Define structure contents rather than using struct
34482 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
34483 <bits/sigcontext.h>. Include <bits/types.h>.
34484 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
34485 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
34486 (test-xfail-XPG42/ucontext.h/conform): Likewise.
34487 (test-xfail-UNIX98/signal.h/conform): Likewise.
34488 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
34489 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
34490 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
34491 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
34492 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
34493 (test-xfail-POSIX2008/signal.h/conform): Likewise.
34494 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
34495 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
34496 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
34498 2017-08-30 Florian Weimer <fweimer@redhat.com>
34500 * malloc/dynarray_emplace_enlarge.c
34501 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
34502 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
34503 * malloc/tst-dynarray.c (test_long_overflow): New function.
34504 (do_test): Call it.
34506 2017-08-30 Florian Weimer <fweimer@redhat.com>
34508 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
34509 (set_arena_corrupt): Remove definitions.
34510 (mtrim): Do not check for corrupt arena.
34511 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
34514 2017-08-30 Florian Weimer <fweimer@redhat.com>
34517 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
34519 (ptmalloc_init): Do not set or use check_action.
34520 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
34521 call to malloc_printerr. Remove return statement.
34522 (free_check): Likewise. Remove arena unlock.
34523 (top_check): Update comment. Adjust call to malloc_printerr.
34524 Remove heap repair code.
34525 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
34526 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
34527 (sysmalloc): Adjust call to malloc_printerr.
34528 (munmap_chunk, __libc_realloc): Likewise. Remove return
34530 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
34531 Remove errout label and corresponding gotos.
34532 (_int_free): Likewise. Remove arena unlock.
34533 (do_set_mallopt_check): Do not set check_action.
34534 (malloc_printerr): Adjust parameter list. Do not mark arena as
34536 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
34538 * manual/probes.texi (Memory Allocation Probes): Remove
34539 memory_mallopt_check_action.
34541 2017-08-30 Steve Ellcey <sellcey@cavium.com>
34543 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
34544 Use pointer to uint64_t instead of long int for sp.
34546 2017-08-30 Florian Weimer <fweimer@redhat.com>
34549 * malloc/malloc.c (malloc_printerr): Always terminate the process,
34550 without printing a backtrace. Do not leak any information in the
34552 * manual/memory.texi (Heap Consistency Checking): Update.
34553 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
34555 2017-08-30 Florian Weimer <fweimer@redhat.com>
34557 Do not scale NPTL tests with available number of CPUs.
34558 * nptl/tst-cond16.c (count): Set to constant value of 8.
34559 * nptl/tst-cond18.c (count): Likewise.
34561 2017-08-29 Joseph Myers <joseph@codesourcery.com>
34564 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
34565 Define to take a second argument that is a macro that
34566 concatentates a suffix, not the suffix itself.
34567 (__CONCAT_d): New macro.
34568 (__CONCAT_f): Likewise.
34569 (__CONCAT_l): Likewise.
34571 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
34573 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
34576 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34577 Aurelien Jarno <aurelien@aurel32.net>
34578 Maciej W. Rozycki <macro@imgtec.com>
34581 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
34582 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
34583 `mips16-syscall6' and `mips16-syscall7'.
34584 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
34585 (CFLAGS-mips16-syscall7.c): Remove.
34586 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
34587 Remove `__mips16_syscall5', `__mips16_syscall6' and
34588 `__mips16_syscall7'.
34589 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
34590 (__mips16_syscall0): Rename `__mips16_syscall_return' to
34591 `__mips_syscall_return'.
34592 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
34593 (__mips16_syscall1): Likewise.
34594 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
34595 (__mips16_syscall2): Likewise.
34596 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
34597 (__mips16_syscall3): Likewise.
34598 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
34599 (__mips16_syscall4): Likewise.
34600 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
34602 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
34604 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
34606 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
34607 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
34608 `__mips16_syscall5'. Remove prototype.
34609 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
34610 `__mips16_syscall6'. Remove prototype.
34611 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
34612 `__mips16_syscall7'. Remove prototype.
34613 (__nomips16, __mips16_syscall_return): Move to...
34614 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
34615 (__nomips16, __mips_syscall_return): ... here.
34616 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
34617 `__mips16_syscall_return' to `__mips_syscall_return'.
34618 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
34619 `internal_syscall##nr'.
34620 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
34621 `internal_syscall##nr'.
34622 (FORCE_FRAME_POINTER): Remove.
34623 (__mips_syscall5): New prototype.
34624 (internal_syscall5): Rewrite to call `__mips_syscall5'.
34625 (__mips_syscall6): New prototype.
34626 (internal_syscall6): Rewrite to call `__mips_syscall6'.
34627 (__mips_syscall7): New prototype.
34628 (internal_syscall7): Rewrite to call `__mips_syscall7'.
34629 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
34630 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
34631 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
34632 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
34633 (sysdep_routines): Add libc-do-syscall.
34634 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
34635 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
34637 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34640 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
34641 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
34642 (advise_stack_range): New function.
34643 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
34644 stack non required to advise_stack_range at allocatestack.c
34646 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
34648 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
34650 2017-08-29 Florian Weimer <fweimer@redhat.com>
34653 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
34654 __end_fct. Mangle __end_fct after setting it to NULL.
34655 * iconv/Makefile (tests): Add tst-gconv-init-failure.
34656 (modules-names, modules-names-tests): Add
34657 tst-gconv-init-failure-mod.
34658 (gconv-modules): New target.
34659 (tst-gconv-init-failure-mod.so): Link against libsupport.
34660 (tst-gconv-init-failure): Depend on gconv-modules,
34661 tst-gconv-init-failure-mod.so.
34662 * iconv/tst-gconv-init-failure-mod.c: New file.
34663 * iconv/tst-gconv-init-failure.c: Likewise.
34664 * iconv/test-gconv-modules: Likewise.
34666 2017-08-29 Florian Weimer <fweimer@redhat.com>
34669 * iconv/gconv_db.c (free_derivation): Remove redundant
34671 (gen_steps): Unconditionally mangle __btowc_fct after
34673 (increment_counter): Likewise. Do not call init_fct for internal
34676 2017-08-29 Joseph Myers <joseph@codesourcery.com>
34679 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
34680 (_MSUF_): Remove macro.
34681 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
34683 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
34684 (__REDIRFROM_X): New macro.
34685 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
34687 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
34688 (__REDIRTO_X): Likewise.
34689 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
34691 (__MATH_REDIRCALL_2): Likewise.
34692 (__MATH_REDIRCALL_INTERNAL): Likewise.
34693 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
34694 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
34695 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
34696 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
34697 * math/test-finite-macros.c: New file.
34698 * math/Makefile (tests): Add test-finite-macros.
34699 (CFLAGS-test-finite-macros.c): New variable.
34701 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
34702 Jeff Law <law@redhat.com>
34705 Mangle NULL pointers in iconv/gconv.
34706 * iconv/gconv_cache.c (find_module): Demangle init_fct before
34707 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
34708 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
34709 is non-NULL before demangling the end_fct. Check for NULL
34710 end_fct after demangling.
34711 (__gconv_release_step): Demangle the end_fct before checking
34712 it for NULL. Remove assert on __shlibc_handle != NULL.
34713 (gen_steps): Don't check btowc_fct for NULL before mangling.
34714 Demangle init_fct before checking for NULL.
34715 (increment_counter): Likewise.
34716 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
34717 end_fct for NULL before mangling.
34718 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
34721 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
34724 * locale/iso-639.def: add Morisyen.
34726 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34729 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
34730 (iszero): New C++ implementation that does not use
34731 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
34732 signaling nans are enabled, since __builtin_types_compatible_p
34733 is a C-only feature.
34734 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
34735 defined, include ieee754_float128.h for access to the union and
34736 member ieee854_float128.ieee.
34737 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
34738 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
34739 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
34740 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
34741 options of test-math-zero on powerpc64le.
34743 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
34745 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
34746 Change double to float.
34748 2017-08-28 Joseph Myers <joseph@codesourcery.com>
34750 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
34752 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
34753 conditional code; define contents only for [LIBM_SVID_COMPAT].
34755 2017-08-28 Florian Weimer <fweimer@redhat.com>
34757 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
34758 (abi-lp64_be-options): Remove.
34759 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
34760 (abi-hard-options): Likewise.
34761 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
34762 (abi-o32_hard-options, abi-o32_soft_2008-options)
34763 (abi-o32_hard_2008-options, abi-n32_soft-options)
34764 (abi-n32_hard-options, abi-n32_soft_2008-options)
34765 (abi-n32_hard_2008-options, abi-n64_soft-options)
34766 (abi-n64_hard-options, abi-n64_soft_2008-options)
34767 (abi-n64_hard_2008-options): Likewise.
34768 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
34769 (abi-64-v1-options, abi-64-v2-options): Likewise.
34770 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
34771 (abi-64-options): Likewise.
34772 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
34773 (abi-64-options): Likewise.
34774 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
34775 (abi-64-options): Likewise.
34776 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
34777 (abi-64-options, abi-x32-options): Likewise.
34779 2017-08-28 Florian Weimer <fweimer@redhat.com>
34781 Store supported list of SYS_* system calls in the source tree.
34782 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
34783 (bits/syscall.h): Generate from list file.
34784 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
34785 [$(subdir) = misc] (tests): Add tst-syscall-list.
34786 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
34787 [$(subdir) = misc] (tst-syscall-list-macros.list)
34788 [$(subdir) = misc] (tst-syscall-list-nr.list)
34789 (tst-syscall-list-sys.list): Helper targets for new
34790 tst-syscall-list test.
34791 [$(subdir) = misc] (tst-syscall-list.out): Run test script
34792 tst-syscall-list.sh.
34793 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
34794 target. Do not include bits/syscall.d.
34795 [$(subdir) = misc] (generated): Do not update.
34796 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
34797 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
34798 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
34799 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
34801 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
34803 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
34804 (tst-cxa_atexit, tst-on_exit): Likewise.
34805 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
34806 tst-cxa_atexit, and tst-on_exit.
34807 * stdlib/tst-atexit-common.c: New file.
34808 * stdlib/tst-atexit.c: New file.
34809 * stdlib/tst-at_quick_exit.c: New file.
34810 * stdlib/tst-cxa_atexit.c: New file.
34811 * stdlib/tst-on_exit.c: New file.
34813 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
34815 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
34816 * mach/stack_chk_fail_local.c: New file.
34817 * hurd/stack_chk_fail_local.c: New file.
34818 * mach/Machrules ($(interface-library)-routines): Add
34819 stack_chk_fail_local.
34820 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
34821 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
34822 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
34823 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
34824 * hurd/Makefile (CFLAGS-hurdstartup.o,
34825 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
34827 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
34829 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
34830 (index_cpu_*, index_arch_*): Removed.
34832 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
34834 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
34835 Use uint64_t instead of unsigned long.
34837 2017-08-25 Joseph Myers <joseph@codesourcery.com>
34839 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
34840 [__HAVE_DISTINCT_FLOAT128].
34842 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
34843 of <bits/math-finite.h>.
34844 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
34845 inclusion of <bits/math-finite.h>.
34846 * math/bits/math-finite.h (__REDIRTO_X): Do not define
34847 conditionally on [__MATH_DECLARING_LDOUBLE && defined
34848 __NO_LONG_DOUBLE_MATH].
34849 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
34850 (__MATH_REDIRCALL_2): Likewise.
34851 (__MATH_REDIRCALL_INTERNAL): Likewise.
34852 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
34853 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
34854 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
34856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
34858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
34860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
34862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
34864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
34866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
34868 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
34869 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
34870 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
34871 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
34872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
34873 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
34874 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
34875 w_sqrtf_compat-ppc32.
34877 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34879 * math/math.h [defined __cplusplus] (issignaling): In the long
34880 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
34881 is not defined. Call __issignaling, otherwise.
34883 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34885 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
34886 syscall definitions and replace __builtin_expect with __glibc_likely.
34887 * sysdeps/unix/syscall-template.S: Update comment about cancellable
34889 (SYSCALL_CANCELLABLE): Removedefinition
34890 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
34892 (PSEUDO_END): Likewise.
34893 [IS_IN (libpthread)] (CENABLE): Likewise.
34894 [IS_IN (libpthread)] (CDISABLE): Likewise.
34895 [IS_IN (libc)] (CENABLE): Likewise.
34896 [IS_IN (libc)] (CENABLE): Likewise.
34897 [IS_IN (librt)] (CDISABLE): Likewise.
34898 [IS_IN (librt)] (CDISABLE): Likewise.
34899 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34900 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
34902 (PSEUDO_END): Likewise.
34903 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
34904 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
34905 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
34906 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
34907 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
34908 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
34909 (CENABLE): Likewise.
34910 (CDISABLE): Likewise.
34911 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34912 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
34914 (PSEUDO_END): Likewise.
34915 [IS_IN (libpthread)] (CENABLE): Likewise.
34916 [IS_IN (libpthread)] (CDISABLE): Likewise.
34917 [IS_IN (libc)] (CENABLE): Likewise.
34918 [IS_IN (libc)] (CENABLE): Likewise.
34919 [IS_IN (librt)] (CDISABLE): Likewise.
34920 [IS_IN (librt)] (CDISABLE): Likewise.
34921 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34922 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
34924 (PSEUDO_END): Likewise.
34925 [IS_IN (libpthread)] (CENABLE): Likewise.
34926 [IS_IN (libpthread)] (CDISABLE): Likewise.
34927 [IS_IN (libc)] (CENABLE): Likewise.
34928 [IS_IN (libc)] (CENABLE): Likewise.
34929 [IS_IN (librt)] (CDISABLE): Likewise.
34930 [IS_IN (librt)] (CDISABLE): Likewise.
34931 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34932 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
34934 (PSEUDO_END): Likewise.
34935 [IS_IN (libpthread)] (CENABLE): Likewise.
34936 [IS_IN (libpthread)] (CDISABLE): Likewise.
34937 [IS_IN (libc)] (CENABLE): Likewise.
34938 [IS_IN (libc)] (CENABLE): Likewise.
34939 [IS_IN (librt)] (CDISABLE): Likewise.
34940 [IS_IN (librt)] (CDISABLE): Likewise.
34941 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34942 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
34944 (PSEUDO_END): Likewise.
34945 [IS_IN (libpthread)] (CENABLE): Likewise.
34946 [IS_IN (libpthread)] (CDISABLE): Likewise.
34947 [IS_IN (libc)] (CENABLE): Likewise.
34948 [IS_IN (libc)] (CENABLE): Likewise.
34949 [IS_IN (librt)] (CDISABLE): Likewise.
34950 [IS_IN (librt)] (CDISABLE): Likewise.
34951 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34952 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
34954 (PSEUDO_END): Likewise.
34955 [IS_IN (libpthread)] (CENABLE): Likewise.
34956 [IS_IN (libpthread)] (CDISABLE): Likewise.
34957 [IS_IN (libc)] (CENABLE): Likewise.
34958 [IS_IN (libc)] (CENABLE): Likewise.
34959 [IS_IN (librt)] (CDISABLE): Likewise.
34960 [IS_IN (librt)] (CDISABLE): Likewise.
34961 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34962 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
34964 (PSEUDO_END): Likewise.
34965 [IS_IN (libpthread)] (CENABLE): Likewise.
34966 [IS_IN (libpthread)] (CDISABLE): Likewise.
34967 [IS_IN (libc)] (CENABLE): Likewise.
34968 [IS_IN (libc)] (CENABLE): Likewise.
34969 [IS_IN (librt)] (CDISABLE): Likewise.
34970 [IS_IN (librt)] (CDISABLE): Likewise.
34971 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34972 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
34974 (PSEUDO_END): Likewise.
34975 [IS_IN (libpthread)] (CENABLE): Likewise.
34976 [IS_IN (libpthread)] (CDISABLE): Likewise.
34977 [IS_IN (libc)] (CENABLE): Likewise.
34978 [IS_IN (libc)] (CENABLE): Likewise.
34979 [IS_IN (librt)] (CDISABLE): Likewise.
34980 [IS_IN (librt)] (CDISABLE): Likewise.
34981 (SINGLE_THREAD_P): Likewise.
34982 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
34984 (PSEUDO_END): Likewise.
34985 [IS_IN (libpthread)] (CENABLE): Likewise.
34986 [IS_IN (libpthread)] (CDISABLE): Likewise.
34987 [IS_IN (libc)] (CENABLE): Likewise.
34988 [IS_IN (libc)] (CENABLE): Likewise.
34989 [IS_IN (librt)] (CDISABLE): Likewise.
34990 [IS_IN (librt)] (CDISABLE): Likewise.
34991 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34992 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
34994 (PSEUDO_END): Likewise.
34995 [IS_IN (libpthread)] (CENABLE): Likewise.
34996 [IS_IN (libpthread)] (CDISABLE): Likewise.
34997 [IS_IN (libc)] (CENABLE): Likewise.
34998 [IS_IN (libc)] (CENABLE): Likewise.
34999 [IS_IN (librt)] (CDISABLE): Likewise.
35000 [IS_IN (librt)] (CDISABLE): Likewise.
35001 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35002 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
35003 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
35004 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
35005 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
35007 (PSEUDO_END): Likewise.
35008 [IS_IN (libpthread)] (CENABLE): Likewise.
35009 [IS_IN (libpthread)] (CDISABLE): Likewise.
35010 [IS_IN (libc)] (CENABLE): Likewise.
35011 [IS_IN (libc)] (CENABLE): Likewise.
35012 [IS_IN (librt)] (CDISABLE): Likewise.
35013 [IS_IN (librt)] (CDISABLE): Likewise.
35014 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35015 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
35017 (PSEUDO_END): Likewise.
35018 [IS_IN (libpthread)] (CENABLE): Likewise.
35019 [IS_IN (libpthread)] (CDISABLE): Likewise.
35020 [IS_IN (libc)] (CENABLE): Likewise.
35021 [IS_IN (libc)] (CENABLE): Likewise.
35022 [IS_IN (librt)] (CDISABLE): Likewise.
35023 [IS_IN (librt)] (CDISABLE): Likewise.
35024 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35025 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
35027 (PSEUDO_END): Likewise.
35028 [IS_IN (libpthread)] (CENABLE): Likewise.
35029 [IS_IN (libpthread)] (CDISABLE): Likewise.
35030 [IS_IN (libc)] (CENABLE): Likewise.
35031 [IS_IN (libc)] (CENABLE): Likewise.
35032 [IS_IN (librt)] (CDISABLE): Likewise.
35033 [IS_IN (librt)] (CDISABLE): Likewise.
35034 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35035 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
35036 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
35037 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
35038 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
35040 (PSEUDO_END): Likewise.
35041 [IS_IN (libpthread)] (CENABLE): Likewise.
35042 [IS_IN (libpthread)] (CDISABLE): Likewise.
35043 [IS_IN (libc)] (CENABLE): Likewise.
35044 [IS_IN (libc)] (CENABLE): Likewise.
35045 [IS_IN (librt)] (CDISABLE): Likewise.
35046 [IS_IN (librt)] (CDISABLE): Likewise.
35047 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35048 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
35050 (PSEUDO_END): Likewise.
35051 [IS_IN (libpthread)] (CENABLE): Likewise.
35052 [IS_IN (libpthread)] (CDISABLE): Likewise.
35053 [IS_IN (libc)] (CENABLE): Likewise.
35054 [IS_IN (libc)] (CENABLE): Likewise.
35055 [IS_IN (librt)] (CDISABLE): Likewise.
35056 [IS_IN (librt)] (CDISABLE): Likewise.
35057 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35059 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
35061 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
35063 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
35065 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35067 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
35070 * string/stratcliff.c (do_test): Declare size, nchars, inner,
35071 middle and outer with size_t instead of int. Repleace %d and
35072 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
35073 "MAX (outer, nchars - 64)" to support unsigned outer and
35074 nchars. Also exit loop when outer == 0.
35076 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35078 * include/fcntl.h (__fcntl_nocancel): Remove definition.
35079 * include/signal.h (__sigsuspend_nocancel): Likewise.
35080 * include/time.h (__nanosleep_nocancel): Likewise.
35081 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
35082 * login/utmp_file.c: Include non cancellable syscall header.
35083 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
35086 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
35088 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
35089 .byte sequences with AVX512F instructions.
35090 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
35091 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
35092 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
35093 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
35095 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
35098 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
35099 Steve Ellcey <sellcey@cavium.com>
35101 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
35102 Use PTR_REG macro in cmp instruction.
35104 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35106 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
35107 Change the return type of the ifunc resolver to match the return
35108 type of the target function.
35110 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35112 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
35113 (preadv64): Likewise.
35114 (pwrite64(: Likewise.
35115 (pwritev64): Likewise.
35117 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
35118 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
35119 (LOAD_ARGS_0): Likewise.
35120 (LOAD_ARGS_1): Likewise.
35121 (LOAD_ARGS_2): Likewise.
35122 (LOAD_ARGS_3): Likewise.
35123 (LOAD_ARGS_4): Likewise.
35124 (LOAD_ARGS_5): Likewise.
35125 (LOAD_ARGS_6): Likewise.
35126 (LOAD_REGS_0): Likewise.
35127 (LOAD_REGS_1): Likewise.
35128 (LOAD_REGS_2): Likewise.
35129 (LOAD_REGS_3): Likewise.
35130 (LOAD_REGS_4): Likewise.
35131 (LOAD_REGS_5): Likewise.
35132 (LOAD_REGS_6): Likewise.
35133 (ASM_ARGS_0): Likewise.
35134 (ASM_ARGS_1): Likewise.
35135 (ASM_ARGS_2): Likewise.
35136 (ASM_ARGS_3): Likewise.
35137 (ASM_ARGS_4): Likewise.
35138 (ASM_ARGS_5): Likewise.
35139 (ASM_ARGS_6): Likewise.
35140 (LOAD_ARGS_TYPES_1): Likewise.
35141 (LOAD_ARGS_TYPES_2): Likewise.
35142 (LOAD_ARGS_TYPES_3): Likewise.
35143 (LOAD_ARGS_TYPES_4): Likewise.
35144 (LOAD_ARGS_TYPES_5): Likewise.
35145 (LOAD_ARGS_TYPES_6): Likewise.
35146 (LOAD_REGS_TYPES_1): Likewise.
35147 (LOAD_REGS_TYPES_2): Likewise.
35148 (LOAD_REGS_TYPES_3): Likewise.
35149 (LOAD_REGS_TYPES_4): Likewise.
35150 (LOAD_REGS_TYPES_5): Likewise.
35151 (LOAD_REGS_TYPES_6): Likewise.
35152 (TYPEFY): New define.
35153 (ARGIFY): Likewise.
35154 (internal_syscall0): Likewise.
35155 (internal_syscall1): Likewise.
35156 (internal_syscall2): Likewise.
35157 (internal_syscall3): Likewise.
35158 (internal_syscall4): Likewise.
35159 (internal_syscall5): Likewise.
35160 (internal_syscall6): Likewise.
35161 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
35162 (INTERNAL_SYSCALL_NCS): Remove define.
35163 (internal_syscall1): Add define.
35165 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35167 * math/w_remainder_compat.c: Remove duplicate inclusion of
35168 math-svid-compat.h.
35169 * math/w_remainderf_compat.c: Likewise.
35170 * math/w_remainderl_compat.c: Likewise.
35172 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35176 2017-08-22 Joseph Myers <joseph@codesourcery.com>
35179 * math/tgmath.h (__floating_type): Simplify definitions.
35180 (__real_integer_type): New macro.
35181 (__complex_integer_type): Likewise.
35182 (__expr_is_real): Likewise.
35183 (__tgmath_real_type_sub): Update comment to describe handling of
35185 (__tgmath_complex_type_sub): New macro.
35186 (__tgmath_complex_type): Likewise.
35187 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35188 (__TGMATH_CF128): Use __expr_is_real.
35189 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
35191 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35192 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
35193 * math/gen-tgmath-tests.py (Type.create_type): Create complex
35196 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35198 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
35200 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
35202 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
35205 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
35206 nanosleep_not_cancel with __nanosleep_nocancel.
35207 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
35208 (__nanosleep_nocancel): New macro.
35209 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
35211 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
35213 (__nanosleep_nocancel): New prototype.
35215 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
35216 pause_not_cancel with __pause_nocancel.
35217 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
35218 (__pause_nocancel): New macro.
35219 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
35221 (__pause_nocancel): New prototype.
35222 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
35224 2017-08-22 Martin Sebor <msebor@redhat.com>
35226 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
35227 to return a pointer to the same type as the target function.
35229 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
35233 * include/printf.h (__printf_fphex): Add attribute_hidden.
35234 (__guess_grouping): New prototype.
35235 * stdio-common/printf_fp.c (__guess_grouping): Removed.
35236 * stdio-common/reg-printf.c (__register_printf_specifier): Add
35237 libc_hidden_proto and libc_hidden_def.
35238 * stdlib/strfmon_l.c (__guess_grouping): Removed.
35239 (__vstrfmon_l): Remove the third argument passed to
35242 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35244 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
35245 definition for issignaling that does not rely on __MATH_TG,
35246 since __MATH_TG uses __builtin_types_compatible_p, which is only
35247 available in C mode.
35248 (CFLAGS-test-math-issignaling.cc): New variable.
35249 * math/Makefile [CXX] (tests): Add test-math-issignaling.
35250 * math/test-math-issignaling.cc: New test for C++ implementation
35251 of type-generic issignaling.
35252 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
35253 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
35254 options of test-math-issignaling on powerpc64le.
35256 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
35258 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
35260 (hidden_proto): Likewise.
35261 (hidden_tls_proto): Likewise.
35262 (__hidden_proto): Likewise.
35264 2017-08-22 Florian Weimer <fweimer@redhat.com>
35266 math: Statically link tests of internal functionality.
35267 * math/Makefile (tests): Remove atest-exp, atest-sincos,
35269 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
35270 (gmp-objs): Remove assignment.
35271 (atest-exp, atest-sincos, atest-exp2): Remove targets.
35273 2017-08-22 Joseph Myers <joseph@codesourcery.com>
35276 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
35278 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
35280 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
35283 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
35284 variable definitions above inclusion of ../Rules.
35286 2017-08-21 Joseph Myers <joseph@codesourcery.com>
35288 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
35289 case calling __builtin_unreachable.
35291 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35293 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
35294 __waitpid_nocancel.
35295 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
35296 (__waitpid_nocancel): New macro.
35297 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
35299 (__waitpid_nocancel): Replace macro with a function.
35300 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
35303 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
35305 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
35306 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
35308 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
35309 __writev_nocancel_nostatus.
35310 (write_call_graph): Likewise.
35311 (write_bb_counts): Likewise.
35312 * resolv/herror.c (herror): Likewise.
35313 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
35315 (__writev_nocancel_nostatus): New macro.
35316 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
35318 (__writev_nocancel_nostatus): New function.
35320 2017-08-21 Joseph Myers <joseph@codesourcery.com>
35323 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35325 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
35327 (hidden_proto): Likewise.
35328 (hidden_tls_proto): Likewise.
35329 (__hidden_proto): Likewise.
35332 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
35333 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
35334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
35336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
35338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
35340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
35342 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
35343 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
35344 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
35345 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
35346 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
35347 GLIBC_2.0 sqrtl symbol.
35349 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
35350 [__USE_MISC] (_LIB_VERSION): Likewise.
35351 [__USE_MISC] (struct exception): Likewise.
35352 [__USE_MISC] (matherr): Likewise.
35353 [__USE_MISC] (DOMAIN): Likewise.
35354 [__USE_MISC] (SING): Likewise.
35355 [__USE_MISC] (OVERFLOW): Likewise.
35356 [__USE_MISC] (UNDERFLOW): Likewise.
35357 [__USE_MISC] (TLOSS): Likewise.
35358 [__USE_MISC] (PLOSS): Likewise.
35359 [__USE_MISC] (HUGE): Likewise.
35360 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
35361 * math/math-svid-compat.h: New file.
35362 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
35364 * include/math.h [!_ISOMAC] (__matherr): Remove.
35365 * manual/arith.texi (FP Exceptions): Do not document matherr.
35366 * math/Makefile (tests): Change test-matherr to test-matherr-3.
35367 (tests-internal): New variable.
35368 (install-lib): Do not add libieee.a.
35369 (non-lib.a): Likewise.
35370 (extra-objs): Do not add libieee.a and ieee-math.o.
35371 (CPPFLAGS-s_lib_version.c): Remove variable.
35372 ($(objpfx)libieee.a): Remove rule.
35373 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
35374 * math/ieee-math.c: Remove.
35375 * math/libm-test-support.c (matherr): Remove.
35376 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
35377 and license notices. Include <math-svid-compat.h> and
35379 (matherr): Undefine as macro. Use compat_symbol_reference.
35380 (_LIB_VERSION): Likewise.
35381 * math/test-matherr-2.c: New file.
35382 * math/test-matherr-3.c: Likewise.
35383 * sysdeps/generic/math_private.h (__kernel_standard): Remove
35385 (__kernel_standard_f): Likewise.
35386 (__kernel_standard_l): Likewise.
35387 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
35388 <math_private.h>. Include <math-svid-compat.h>.
35389 (_LIB_VERSION): Undefine as macro.
35390 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
35391 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
35392 [LIBM_SVID_COMPAT], use compat_symbol.
35393 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
35394 <math_private.h>. Include <math-svid-compat.h>.
35395 (matherr): Undefine as macro.
35396 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
35398 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
35399 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
35400 compat_symbol_reference.
35401 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
35402 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
35403 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
35404 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
35405 (MATHERR_D): Remove declaration.
35406 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
35407 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
35408 [LIBM_BUILD] (pmatherrf): Likewise.
35409 [LIBM_BUILD] (pmatherr): Likewise.
35410 [LIBM_BUILD] (pmatherrl): Likewise.
35411 (DOMAIN): Likewise.
35413 (OVERFLOW): Likewise.
35414 (UNDERFLOW): Likewise.
35417 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
35418 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
35420 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
35421 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
35423 * math/lgamma-compat.h: Include <math-svid-compat.h>.
35424 * math/w_acos_compat.c: Likewise.
35425 * math/w_acosf_compat.c: Likewise.
35426 * math/w_acosh_compat.c: Likewise.
35427 * math/w_acoshf_compat.c: Likewise.
35428 * math/w_acoshl_compat.c: Likewise.
35429 * math/w_acosl_compat.c: Likewise.
35430 * math/w_asin_compat.c: Likewise.
35431 * math/w_asinf_compat.c: Likewise.
35432 * math/w_asinl_compat.c: Likewise.
35433 * math/w_atan2_compat.c: Likewise.
35434 * math/w_atan2f_compat.c: Likewise.
35435 * math/w_atan2l_compat.c: Likewise.
35436 * math/w_atanh_compat.c: Likewise.
35437 * math/w_atanhf_compat.c: Likewise.
35438 * math/w_atanhl_compat.c: Likewise.
35439 * math/w_cosh_compat.c: Likewise.
35440 * math/w_coshf_compat.c: Likewise.
35441 * math/w_coshl_compat.c: Likewise.
35442 * math/w_exp10_compat.c: Likewise.
35443 * math/w_exp10f_compat.c: Likewise.
35444 * math/w_exp10l_compat.c: Likewise.
35445 * math/w_exp2_compat.c: Likewise.
35446 * math/w_exp2f_compat.c: Likewise.
35447 * math/w_exp2l_compat.c: Likewise.
35448 * math/w_fmod_compat.c: Likewise.
35449 * math/w_fmodf_compat.c: Likewise.
35450 * math/w_fmodl_compat.c: Likewise.
35451 * math/w_hypot_compat.c: Likewise.
35452 * math/w_hypotf_compat.c: Likewise.
35453 * math/w_hypotl_compat.c: Likewise.
35454 * math/w_j0_compat.c: Likewise.
35455 * math/w_j0f_compat.c: Likewise.
35456 * math/w_j0l_compat.c: Likewise.
35457 * math/w_j1_compat.c: Likewise.
35458 * math/w_j1f_compat.c: Likewise.
35459 * math/w_j1l_compat.c: Likewise.
35460 * math/w_jn_compat.c: Likewise.
35461 * math/w_jnf_compat.c: Likewise.
35462 * math/w_jnl_compat.c: Likewise.
35463 * math/w_lgamma_main.c: Likewise.
35464 * math/w_lgamma_r_compat.c: Likewise.
35465 * math/w_lgammaf_main.c: Likewise.
35466 * math/w_lgammaf_r_compat.c: Likewise.
35467 * math/w_lgammal_main.c: Likewise.
35468 * math/w_lgammal_r_compat.c: Likewise.
35469 * math/w_log10_compat.c: Likewise.
35470 * math/w_log10f_compat.c: Likewise.
35471 * math/w_log10l_compat.c: Likewise.
35472 * math/w_log2_compat.c: Likewise.
35473 * math/w_log2f_compat.c: Likewise.
35474 * math/w_log2l_compat.c: Likewise.
35475 * math/w_log_compat.c: Likewise.
35476 * math/w_logf_compat.c: Likewise.
35477 * math/w_logl_compat.c: Likewise.
35478 * math/w_pow_compat.c: Likewise.
35479 * math/w_powf_compat.c: Likewise.
35480 * math/w_powl_compat.c: Likewise.
35481 * math/w_remainder_compat.c: Likewise.
35482 * math/w_remainderf_compat.c: Likewise.
35483 * math/w_remainderl_compat.c: Likewise.
35484 * math/w_scalb_compat.c: Likewise.
35485 * math/w_scalbf_compat.c: Likewise.
35486 * math/w_scalbl_compat.c: Likewise.
35487 * math/w_sinh_compat.c: Likewise.
35488 * math/w_sinhf_compat.c: Likewise.
35489 * math/w_sinhl_compat.c: Likewise.
35490 * math/w_sqrt_compat.c: Likewise.
35491 * math/w_sqrtf_compat.c: Likewise.
35492 * math/w_sqrtl_compat.c: Likewise.
35493 * math/w_tgamma_compat.c: Likewise.
35494 * math/w_tgammaf_compat.c: Likewise.
35495 * math/w_tgammal_compat.c: Likewise.
35496 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
35497 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
35498 * sysdeps/ieee754/k_standard.c: Likewise.
35499 * sysdeps/ieee754/k_standardf.c: Likewise.
35500 * sysdeps/ieee754/k_standardl.c: Likewise.
35501 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
35502 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
35503 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
35504 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
35505 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
35506 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
35507 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
35508 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
35509 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
35510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
35512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
35514 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
35515 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
35516 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
35517 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
35519 2017-08-21 Florian Weimer <fweimer@redhat.com>
35522 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
35523 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
35524 Move before inclusion of ../Rules.
35526 2017-08-21 Florian Weimer <fweimer@redhat.com>
35529 * assert/assert.h (assert): Use static_cast (bool) for C++.
35530 Use the ternary operator in the warning branch for GNU C.
35531 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
35532 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
35533 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
35534 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
35535 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
35537 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35540 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35541 (__syscall_clock_gettime): Add attribute_hidden.
35542 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
35543 (__start_context): Likewise.
35545 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35547 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
35549 (hidden_proto): Likewise.
35550 (hidden_tls_proto): Likewise.
35551 (__hidden_proto): Likewise.
35553 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35555 * include/libc-symbols.h (attribute_hidden): Enable hidden
35556 visibility in libc.a compiled with PIE.
35558 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35561 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
35562 Add attribute_hidden.
35564 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35567 * Makerules (all-nonlib): Add $(others-extras).
35568 * catgets/Makefile (others-extras): New.
35569 * elf/Makefile (others-extras): Likewise.
35570 * nss/Makefile (others-extras): Likewise.
35572 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35575 * csu/libc-start.c (__libc_multiple_libcs): Removed.
35576 * elf/dl-open.c: Include <libc-internal.h>.
35577 (__libc_multiple_libcs): Removed.
35578 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
35580 * include/libc-internal.h (__libc_multiple_libcs): New.
35581 * misc/sbrk.c: Include <libc-internal.h>.
35582 (__libc_multiple_libcs): Removed.
35584 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35587 * grp/initgroups.c (__nss_group_database): Removed.
35588 (__nss_initgroups_database): Likewise.
35589 * nscd/gai.c (__nss_hosts_database): Likewise.
35590 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
35591 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
35592 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
35593 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
35594 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
35595 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
35597 * nss/nsswitch.c (__nss_database_custom): Define only if
35598 USE_NSCD is defined.
35599 (__nss_configure_lookup): Use __nss_database_custom only if
35600 USE_NSCD is defined.
35601 * nss/nsswitch.h (__nss_database_custom): Declare only if
35602 USE_NSCD is defined. Add attribute_hidden.
35603 (__nss_setent): Add attribute_hidden.
35604 (__nss_endent): Likewise.
35605 (__nss_getent_r): Likewise.
35606 (__nss_getent): Likewise.
35607 (DEFINE_DATABASE): Declare __nss_##arg##_database.
35609 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
35612 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
35613 libc_hidden_proto and libc_hidden_def.
35615 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
35618 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
35619 Add libc_hidden_proto.
35620 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
35621 Add libc_hidden_def.
35623 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
35626 * gmon/Makefile (routines): Remove bb_init_func and
35628 (elide-routines.os): Removed.
35629 * gmon/bb_exit_func.c: Likewise.
35630 * gmon/bb_init_func.c: Likewise.
35631 * include/sys/gmon.h (__bb): Likewise.
35632 (__bb_init_func): Likewise.
35633 (__bb_exit_func): Likewise.
35634 * sysdeps/alpha/bb_init_func.S: Likewise.
35636 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
35638 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
35639 * include/setjmp.h (____longjmp_chk): Here. Add
35642 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
35645 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
35647 (__strspn_sse2): Likewise.
35649 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35651 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
35652 (close_not_cancel_no_status): Likewise.
35653 (__close_nocancel): New macro.
35654 (__close_nocancel_nostatus): Likewise.
35655 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
35657 (close_not_cancel): Likewise.
35658 (close_not_cancel_no_status): Likewise.
35659 (__close_nocancel): New prototype.
35660 (__close_nocancel_nostatus): New function.
35661 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
35662 * catgets/open_catalog.c (__open_catalog): Replace
35663 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
35664 * gmon/gmon.c (write_gmon): Likewise.
35665 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
35666 * intl/loadmsgcat.c (close): Likewise.
35667 * io/ftw.c (open_dir_stream): Likewise.
35668 (ftw_startup): Likewise.
35669 * libio/fileops.c (_IO_file_open): Likewise.
35670 (_IO_file_close_mmap): Likewise.
35671 (_IO_file_close): Likewise.
35672 * libio/iopopen.c (_IO_dup2): Likewise.
35673 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35674 * locale/loadlocale.c (_nl_load_locale): Likewise.
35675 * login/utmp_file.c (pututline_file): Likewise.
35676 (endutent_file): Likewise.
35677 * misc/daemon.c (daemon): Likewise.
35678 * nscd/nscd_getai.c (__nscd_getai): Likewise.
35679 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35680 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
35681 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
35682 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35683 * nscd/nscd_helper.c (open_socket): Likewise.
35684 (__nscd_open_socket): Likewise.
35685 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
35686 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
35687 (__nscd_innetgr): Likewise.
35688 * nss/nss_db/db-open.c (internal_setent): Likewise.
35689 * resolv/res-close.c (__res_iclose): Likewise.
35690 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
35691 * sysdeps/posix/closedir.c (__closedir): Likewise.
35692 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
35693 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
35694 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
35695 (opendir_tail): Likewise.
35696 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
35697 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
35698 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
35699 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
35700 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
35701 (gethostid): Likewise.
35702 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
35703 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35705 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
35706 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
35707 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
35708 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
35710 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
35711 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
35712 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
35714 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
35715 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
35717 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
35719 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
35720 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
35721 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
35724 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
35725 (openat_not_cancel_3): Likewise.
35726 (openat64_not_cancel_3): Likewise).
35727 (openat_not_cancel_3): Likewise).
35728 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
35730 (openat_not_cancel_3): Likewise.
35731 (openat64_not_cancel): Likewise.
35732 (openat64_not_cancel_3): Likewise.
35733 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
35734 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
35735 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
35736 __open{64}_nocancel.
35737 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
35738 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
35739 * sysdeps/posix/opendir.c (__opendirat): Likewise.
35741 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
35744 * include/argz.h (__argz_create_sep): New function prototype.
35745 (__argz_append): Likewise.
35746 (__argz_add): Likewise.
35747 (__argz_add_sep): Likewise.
35748 (__argz_delete): Likewise.
35749 (__argz_insert): Likewise.
35750 (__argz_replace): Likewise.
35751 * string/argz.h (__argz_create_sep): Removed.
35752 (__argz_append): Likewise.
35753 (__argz_add): Likewise.
35754 (__argz_add_sep): Likewise.
35755 (__argz_delete): Likewise.
35756 (__argz_insert): Likewise.
35757 (__argz_replace): Likewise.
35759 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
35761 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
35762 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
35763 (GNU_PROPERTY_STACK_SIZE): Likewie.
35764 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
35765 (GNU_PROPERTY_LOPROC): Likewise.
35766 (GNU_PROPERTY_HIPROC): Likewise.
35767 (GNU_PROPERTY_LOUSER): Likewise.
35768 (GNU_PROPERTY_HIUSER): Likewise.
35769 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
35770 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
35771 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
35772 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
35773 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
35774 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
35775 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
35776 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
35777 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
35778 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
35779 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
35780 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
35781 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
35782 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
35783 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
35784 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
35785 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
35786 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
35787 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
35788 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
35789 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
35790 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
35791 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
35793 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35795 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
35798 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35801 * math/math.h (isinf): Check if in C or C++ mode before using
35802 __builtin_types_compatible_p, since this is a C mode feature.
35804 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35806 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
35807 (__write_nocancel): New macro.
35808 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
35809 Rewrite as a function prototype.
35810 (write_not_cancel): Remove macro.
35811 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
35812 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
35813 (write_gmon): Likewise.
35814 * libio/fileops.c (_IO_new_file_write): Likewise.
35815 * login/utmp_file.c (pututline_file): Likewise.
35816 (updwtmp_file): Likewise.
35817 * stdio-common/psiginfo.c (psiginfo): Likewise.
35818 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
35819 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
35820 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
35822 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
35825 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
35826 (__read_nocancel): New macro.
35827 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
35829 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
35831 (__read_nocancel): New prototype.
35832 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
35833 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
35834 with __read_nocancel.
35835 * intl/loadmsgcat.c (read): Likewise.
35836 * libio/fileops.c (_IO_file_read): Likewise.
35837 * locale/loadlocale.c (_nl_load_locale): Likewise.
35838 * login/utmp_file.c (getutent_r_file): Likewise.
35839 (internal_getut_r): Likewise.
35840 (getutline_r_file): Likewise.
35841 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
35842 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
35843 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
35844 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35846 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
35847 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
35848 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
35850 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
35852 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
35854 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
35856 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
35858 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
35861 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
35862 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
35865 2017-08-17 DJ Delorie <dj@redhat.com>
35867 * bug17079.c: Update to new test harness.
35868 * test-digits-dots.c: Likewise.
35869 * test-netdb.c: Likewise.
35870 * tst-field.c: Likewise.
35871 * tst-nss-getpwent.c: Likewise.
35872 * tst-nss-static.c: Likewise.
35873 * tst-nss-test1.c: Likewise.
35874 * tst-nss-test2.c: Likewise.
35875 * tst-nss-test3.c: Likewise.
35876 * tst-nss-test4.c: Likewise.
35877 * tst-nss-test5.c: Likewise.
35879 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35881 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
35882 (open_not_cancel_2): Likewise.
35883 (open_nocancel): New macro.
35884 (open64_nocancel): Likewise.
35885 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
35886 (open_not_cancel_2): Likewise.
35887 (__open_nocancel): New prototype.
35888 (__open64_nocancel): Likewise.
35889 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
35891 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
35892 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
35893 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
35894 with __open_nocancel.
35895 * csu/check_fds.c (check_one_fd): Likewise.
35896 * gmon/gmon.c (write_gmon): Likewise.
35897 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
35898 * intl/loadmsgcat.c (open): Likewise.
35899 * libio/fileops.c (_IO_file_open): Likewise.
35900 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35901 * locale/loadlocale.c (_nl_load_locale): Likewise.
35902 * login/utmp_file.c (setutent_file): Likewise.
35903 * misc/daemon.c (daemon): Likewise.
35904 * nss/nss_db/db-open.c (internal_setent): Likewise.
35905 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
35906 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
35907 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
35908 (__opendir): Likewise.
35909 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
35910 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
35911 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
35912 (gethostid): Likewise.
35913 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
35914 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35916 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
35917 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
35918 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
35919 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
35921 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
35923 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
35925 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
35927 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
35929 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
35931 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
35932 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
35934 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
35936 * benchtests/bench-skeleton.c (main): Add support for
35937 latency benchmarking.
35938 * benchtests/scripts/bench.py: Add support for latency benchmarking.
35940 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
35942 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
35943 the startup object.
35945 2017-08-17 Florian Weimer <fweimer@redhat.com>
35947 * include/sys/socket.h (__opensock): Remove internal_function.
35948 * socket/opensock.c (__opensock): Likewise.
35949 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
35951 2017-08-16 Joseph Myers <joseph@codesourcery.com>
35954 * signal/bits/types/__sigval_t.h: New file.
35955 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
35956 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
35957 and define sigval_t using __sigval_t.
35958 * include/bits/types/__sigval_t.h: New file.
35959 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
35960 instead of <bits/types/__sigval_t.h>.
35961 (struct sigevent): Use __sigval_t instead of sigval_t.
35962 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
35963 instead of <bits/types/__sigval_t.h>.
35964 (siginfo_t): Use __sigval_t instead of sigval_t.
35965 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
35966 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
35967 (struct sigevent): Use __sigval_t instead of sigval_t.
35968 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
35969 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
35970 (siginfo_t): Use __sigval_t instead of sigval_t.
35971 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
35973 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
35975 * NEWS: Remove "[Add new features here]" for 2.27.
35977 2017-08-16 Joseph Myers <joseph@codesourcery.com>
35979 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
35982 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
35984 * NEWS: Mention x86-64 FMA optimization.
35986 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
35989 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35991 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
35992 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
35993 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
35995 2017-08-16 Andreas Schwab <schwab@suse.de>
35999 * elf/ldd.bash.in: Never run file directly.
36001 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
36004 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
36005 (L(SP_INF_0)): Likewise.
36007 2017-08-15 Florian Weimer <fweimer@redhat.com>
36009 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
36012 2017-08-15 Florian Weimer <fweimer@redhat.com>
36014 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
36015 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
36016 BROKEN_THREAD_SIGNALS code.
36017 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
36018 request_list): Remove caller_pid member used for
36019 BROKEN_THREAD_SIGNALS.
36020 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
36021 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
36022 Remove BROKEN_THREAD_SIGNALS support.
36023 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
36024 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
36026 2017-08-15 Florian Weimer <fweimer@redhat.com>
36028 * gmon/Makefile (tests): Add tst-gmon.
36029 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
36031 (tests-special): Add tst-gmon-prof.out.
36032 (tst-gmon.out): Depend on clean-tst-gmon-data.
36033 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
36034 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
36035 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
36037 * aclocal.m4 (GPROF): Set and substitute.
36038 * config.amke.in (GPROF): Set.
36039 * configure: Regenerate.
36041 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
36043 * elf/elf.h A (NT_PPC_TAR): New macro.
36044 (NT_PPC_PPR): Likewise.
36045 (NT_PPC_DSCR): Likewise.
36046 (NT_PPC_EBB): Likewise.
36047 (NT_PPC_PMU): Likewise.
36048 (NT_PPC_TM_CGPR): Likewise.
36049 (NT_PPC_TM_CFPR): Likewise.
36050 (NT_PPC_TM_CVMX): Likewise.
36051 (NT_PPC_TM_CVSX): Likewise.
36052 (NT_PPC_TM_SPR): Likewise.
36053 (NT_PPC_TM_CTAR): Likewise.
36054 (NT_PPC_TM_CPPR): Likewise.
36055 (NT_PPC_TM_CDSCR): Likewise.
36057 2017-08-15 Florian Weimer <fweimer@redhat.com>
36059 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
36060 regparm (2) instead of internal_function.
36061 (_MCOUNT_DECL): Adjust.
36063 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
36065 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
36066 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
36068 2017-08-14 Joseph Myers <joseph@codesourcery.com>
36070 * conform/data/sys/wait.h-data (si_value): Do not expect for
36073 2017-08-14 Florian Weimer <fweimer@redhat.com>
36076 NSS: Create stubs for accidentally exported lookup functions.
36077 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
36078 Remove declaration.
36079 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
36080 (ether_hostton): Call __nss_ethers_lookup2 instead.
36081 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
36082 (ether_ntohost): Call __nss_ethers_lookup2 instead.
36083 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
36084 (setup): Call __nss_netgroup_lookup2 instead.
36085 * nss/Makefile (routines): Add compat-lookup.
36086 * nss/Versions (GLIBC_2.27): Add symbol version.
36087 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
36088 (DB_COMPAT_FCT): Remove.
36089 * nss/compat-lookup.c: New file.
36090 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
36091 from databases.def.
36092 * nss/service-lookup.c (NO_COMPAT): Remove definition.
36093 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
36094 (netname2user): Call __nss_publickey_lookup2 instead.
36095 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
36096 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
36099 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36100 Sergei Trofimovich <slyfox@inbox.ru>
36103 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
36104 Rename to MMAP2_PAGE_UNIT.
36105 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
36106 __OFF_T_MATCHES_OFF64_T is not defined.
36107 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
36109 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
36110 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
36112 2017-08-14 Florian Weimer <fweimer@redhat.com>
36114 i386: Do not set internal_function.
36115 * config.h.in (USE_REGPARMS, internal_function): Remove.
36116 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
36117 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
36119 2017-08-14 Florian Weimer <fweimer@redhat.com>
36121 * elf/dl-init.c (_dl_init): Remove internal_function.
36122 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
36123 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
36125 2017-08-14 Florian Weimer <fweimer@redhat.com>
36127 * elf/rtld.c (_dl_start): Remove internal_function.
36128 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
36131 2017-08-14 Florian Weimer <fweimer@redhat.com>
36133 * elf/dl-fini.c (_dl_fini): Remove internal_function
36134 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
36136 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
36138 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
36139 (bit_cpu_SHSTK): Likewise.
36140 (index_cpu_IBT): Likewise.
36141 (index_cpu_SHSTK): Likewise.
36142 (reg_IBT): Likewise.
36143 (reg_SHSTK): Likewise.
36144 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
36145 Handle index_cpu_IBT and index_cpu_SHSTK.
36147 2017-08-14 Mike FABIAN <mfabian@redhat.com>
36150 * po/fr.po: Fix spelling mistake.
36152 2017-08-13 Florian Weimer <fweimer@redhat.com>
36154 * elf/dl-addr.c (_dl_addr): Remove internal_function.
36155 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
36156 (_dl_catch_error, _dl_receive_error): Likewise.
36157 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
36158 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
36159 (_dl_deallocate_tls): Likewise.
36160 * include/dlfcn.h (_dl_addr): Likewise.
36161 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
36162 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
36163 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
36166 2017-08-13 Florian Weimer <fweimer@redhat.com>
36168 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
36169 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
36171 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
36173 2017-08-13 Florian Weimer <fweimer@redhat.com>
36175 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
36177 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
36178 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
36179 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
36180 internal_function from _dl_make_stack_executable_hook member.
36181 (_dl_make_stack_executable): Remove internal_function.
36182 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
36184 * sysdeps/unix/sysv/linux/dl-execstack.c
36185 (_dl_make_stack_executable): Likewise.
36187 2017-08-13 Florian Weimer <fweimer@redhat.com>
36189 * sysdeps/unix/sysv/linux/netlinkaccess.h
36190 (__netlink_assert_response): Remove internal_function.
36191 * sysdeps/unix/sysv/linux/netlink_assert_response.c
36192 (__netlink_assert_response): Likewise.
36194 2017-08-13 Florian Weimer <fweimer@redhat.com>
36196 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
36198 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
36200 2017-08-13 Florian Weimer <fweimer@redhat.com>
36202 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
36204 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
36205 * inet/netgroup.h (__internal_setnetgrent)
36206 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
36207 * inet/getnetgrent_r.c (__internal_setnetgrent)
36208 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
36209 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
36210 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
36211 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
36212 * nss/nsswitch.h (db_lookup_function): Likewise.
36214 2017-08-13 Florian Weimer <fweimer@redhat.com>
36216 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
36217 Remove internal_function.
36218 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
36219 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
36220 message argument on the stack.
36221 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
36224 2017-08-12 Mike FABIAN <mfabian@redhat.com>
36226 Adapt test case data to the changes in the thousands
36230 * localedata/tst-langinfo.sh: Adapt test case data.
36231 * stdlib/tst-strfmon_l.c: Likewise.
36232 * stdlib/tst-strtod4.c: Likewise.
36233 * stdlib/tst-strtod5i.c: Likewise.
36235 2017-08-11 Florian Weimer <fweimer@redhat.com>
36238 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
36239 Suppress pedantic warning resulting from statement expression.
36240 (__ASSERT_FUNCTION): Add missing __extension__.
36242 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
36244 * benchtests/bench-memmove-large.c: Print output in JSON
36246 * benchtests/bench-memmove.c: Likewise.
36248 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
36249 * benchtests/bench-memchr.c (do_one_test): Likewise.
36250 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
36251 * benchtests/bench-memcpy.c (do_one_test): Likewise.
36252 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
36253 * benchtests/bench-memmove.c (do_one_test): Likewise.
36254 * benchtests/bench-memset-large.c (do_one_test): Likewise.
36255 * benchtests/bench-memset.c (do_one_test): Likewise.
36256 * benchtests/bench-string.h (test_init): Remove memsets.
36258 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
36261 (Computing the Width of an Integer Data Type): Rename section to
36262 "Width of an Integer Type". Remove inaccurate statement regarding
36263 lack of C language facilities for determining width of integer
36264 types, and reorder content to improve flow and context of
36267 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
36269 * lang.texi (va_copy): Change standard from ISO to C99.
36270 (__va_copy): Add standard and header annotation.
36271 Update description for clarity of origins and current use.
36273 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36276 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
36277 xssqrtqp requires operands to be in Vector Registers
36278 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
36279 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
36280 (__ieee754_sqrtf128): Likewise.
36282 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
36284 * sysdeps/aarch64/memcmp.S (memcmp):
36285 Rewrite of optimized memcmp.
36287 2017-08-10 Florian Weimer <fweimer@redhat.com>
36289 Introduce ld.so exceptions.
36290 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
36291 (_dl_exception_create, _dl_exception_create_format)
36292 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
36293 (_dl_catch_exception): Declare.
36294 (_dl_catch_error): Update comment.
36295 * elf/dl-error-skeleton.c (struct catch): Replace objname,
36296 errstring, malloced members with exception member.
36297 (_dl_out_of_memory): Remove.
36298 (fatal_error): New function, extracted from _dl_signal_error.
36299 (_dl_signal_exception, _dl_signal_cexception): New functions.
36300 (_dl_signal_error): Call _dl_exception_create to allocate an
36302 (_dl_catch_exception): New function, based on _dl_catch_error.
36303 (_dl_catch_error): Implement using _dl_catch_exception.
36304 * elf/dl-exception.c: New file.
36305 * elf/Makefile (dl-routines): Add dl-exception.
36306 (elide-routines.os): Likewise.
36307 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
36308 _dl_exception_create_format, _dl_exception_free.
36309 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
36310 _dl_signal_exception.
36311 * elf/dl-lookup.c (make_string): Remove.
36312 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
36313 _dl_signal_cexception, _dl_exception_free.
36314 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
36315 _dl_signal_exception.
36316 * elf/dl-sym.c (do_sym): Likewise.
36317 * elf/dl-version.c (make_string): Remove.
36318 (match_symbol): Use _dl_exception_create_format,
36319 _dl_signal_cexception, _dl_exception_free.
36320 (_dl_check_map_versions): Likewise.
36321 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
36322 _dl_catch_exception.
36323 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
36324 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
36325 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
36326 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
36327 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
36328 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
36329 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
36330 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
36332 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
36333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
36335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
36337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
36339 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
36340 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
36341 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
36343 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
36345 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
36347 2017-08-10 Florian Weimer <fweimer@redhat.com>
36349 * inet/net-internal.h (__inet6_scopeid_pton): Remove
36350 attribute_hidden, internal_function.
36351 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
36354 2017-08-10 Florian Weimer <fweimer@redhat.com>
36356 * malloc/malloc.c (get_max_fast): Reimplement as an inline
36357 function which calls __builtin_unreachable.
36359 2017-08-10 Mike FABIAN <mfabian@redhat.com>
36361 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
36362 Indian monetary formatting
36363 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
36366 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
36368 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
36369 Fix typo in comment.
36372 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
36373 PTRACE_SEIZE_DEVEL): Remove.
36374 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
36375 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36376 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36377 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36378 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36380 2017-08-09 Joseph Myers <joseph@codesourcery.com>
36382 * posix/bits/types.h (__qaddr_t): Remove.
36385 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
36386 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36388 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
36389 (ucontext_t): Use __ctx with uc_flags.
36390 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
36391 (__ctxt): Likewise.
36392 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36394 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
36395 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36397 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
36398 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36400 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
36402 (ucontext_t): Use __ctx with uc_flags.
36403 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
36404 (ucontext_t): Use __ctx with uc_flags.
36405 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
36406 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
36407 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
36408 (ucontext_t): Use __ctx with uc_flags.
36409 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
36410 undefine further down.
36411 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36413 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
36414 undefine further down.
36415 (ucontext_t): Use __ctx with uc_flags.
36416 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
36417 undefine further down.
36418 (ucontext_t): Use __ctx with uc_flags.
36419 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
36420 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
36421 Rename uc_pad to __glibc_reserved1.
36422 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
36423 undefine further down.
36424 (ucontext_t): Use __ctx with uc_flags.
36425 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
36427 (ucontext_t): Use __ctx with uc_flags.
36428 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
36429 __ctx with uc_flags.
36430 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
36431 (ucontext_t): Use __ctx with uc_flags.
36432 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
36433 __ctx with uc_flags.
36435 2017-08-09 Florian Weimer <fweimer@redhat.com>
36438 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
36439 before early return.
36441 2017-08-09 Andreas Schwab <schwab@suse.de>
36444 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
36448 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
36449 tst-compat-forwarder.
36450 (modules-names): Add tst-compat-forwarder-mod.
36451 ($(objpfx)tst-compat-forwarder): Depend on
36452 $(objpfx)tst-compat-forwarder-mod.so.
36453 * nptl/tst-compat-forwarder.c: New file.
36454 * nptl/tst-compat-forwarder-mod.c: New file.
36456 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
36458 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
36461 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
36462 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
36464 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
36466 (__libc_ifunc_impl_list): Add __memcpy_falkor.
36467 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
36468 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
36469 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
36471 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
36474 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36477 * manual/setjmp.texi (getcontex): Document uc_stack value
36478 compatibility differences.
36480 2017-08-08 Joseph Myers <joseph@codesourcery.com>
36482 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
36483 (old_malloc_hook): Likewise.
36484 (old_memalign_hook): Likewise.
36485 (old_realloc_hook): Likewise.
36486 (struct hdr): Likewise.
36488 (freehook): Likewise.
36489 (mallochook): Likewise.
36490 (memalignhook): Likewise.
36491 (reallochook): Likewise.
36492 (mprobe): Likewise.
36493 * malloc/mtrace.c (mallwatch): Likewise.
36494 (tr_old_free_hook): Likewise.
36495 (tr_old_malloc_hook): Likewise.
36496 (tr_old_realloc_hook): Likewise.
36497 (tr_old_memalign_hook): Likewise.
36498 (tr_where): Likewise.
36499 (lock_and_info): Likewise.
36500 (tr_freehook): Likewise.
36501 (tr_mallochook): Likewise.
36502 (tr_reallochook): Likewise.
36503 (tr_memalignhook): Likewise.
36504 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
36505 * misc/mmap.c (__mmap): Likewise.
36506 * misc/mmap64.c (__mmap64): Likewise.
36507 * misc/mprotect.c (__mprotect): Likewise.
36508 * misc/msync.c (msync): Likewise.
36509 * misc/munmap.c (__munmap): Likewise.
36510 * posix/posix_madvise.c (posix_madvise): Likewise.
36511 * socket/send.c (__send): Likewise.
36512 * socket/sendto.c (__sendto): Likewise.
36513 * socket/setsockopt.c (__setsockopt): Likewise.
36514 * string/memcmp.c (__ptr_t): Remove macro.
36515 (MEMCMP): Use void * instead of ptr_t.
36516 * string/memrchr.c (__ptr_t): Remove macro.
36517 (__memrchr): Use void * instead of ptr_t.
36518 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
36519 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
36520 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
36521 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
36522 * sysdeps/mach/msync.c (msync): Likewise.
36523 * sysdeps/mach/munmap.c (__munmap): Likewise.
36524 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
36526 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36527 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
36528 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
36529 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
36530 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
36531 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
36532 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
36533 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
36535 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
36536 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
36537 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
36538 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
36539 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
36540 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
36541 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
36542 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
36543 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
36545 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
36546 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
36547 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
36548 (MEMCMP): Use void * instead of ptr_t.
36549 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
36550 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
36552 2017-08-08 Florian Weimer <fweimer@redhat.com>
36554 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
36557 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
36560 * csu/libc-tls.c: Include <startup.h> first.
36561 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
36562 * elf/dl-tunables.c: Include <startup.h> first.
36563 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
36564 * sysdeps/generic/startup.h: New file.
36565 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
36566 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
36567 (I386_USE_SYSENTER): New. Defined to 0.
36569 2017-08-08 Andreas Schwab <schwab@suse.de>
36572 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
36573 * nptl/pt-system.c (system): Likewise.
36575 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36578 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
36580 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
36581 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
36582 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
36583 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
36584 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
36585 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
36586 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
36588 2017-08-07 Joseph Myers <joseph@codesourcery.com>
36591 * bits/sigaction.h (struct sigaction): Define sa_handler and
36592 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
36593 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36594 [__USE_XOPEN_EXTENDED].
36595 (SA_RESTART): Likewise.
36596 (SA_NODEFER): Likewise.
36597 (SA_RESETHAND): Likewise.
36598 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
36599 (struct sigaction): Define sa_handler and sa_sigaction using union
36600 also for [__USE_XOPEN_EXTENDED].
36601 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36602 [__USE_XOPEN_EXTENDED].
36603 (SA_RESTART): Likewise.
36604 (SA_NODEFER): Likewise.
36605 (SA_RESETHAND): Likewise.
36606 * sysdeps/unix/sysv/linux/bits/sigaction.h
36607 (struct sigaction): Define sa_handler and sa_sigaction using union
36608 also for [__USE_XOPEN_EXTENDED].
36609 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36610 [__USE_XOPEN_EXTENDED].
36611 (SA_RESTART): Likewise.
36612 (SA_NODEFER): Likewise.
36613 (SA_RESETHAND): Likewise.
36614 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
36615 (struct sigaction): Define sa_handler and sa_sigaction using union
36616 also for [__USE_XOPEN_EXTENDED].
36617 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36618 [__USE_XOPEN_EXTENDED].
36619 (SA_RESTART): Likewise.
36620 (SA_NODEFER): Likewise.
36621 (SA_RESETHAND): Likewise.
36622 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
36623 (struct sigaction): Define sa_handler and sa_sigaction using union
36624 also for [__USE_XOPEN_EXTENDED].
36625 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36626 [__USE_XOPEN_EXTENDED].
36627 (SA_RESTART): Likewise.
36628 (SA_NODEFER): Likewise.
36629 (SA_RESETHAND): Likewise.
36630 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
36631 (struct sigaction): Define sa_handler and sa_sigaction using union
36632 also for [__USE_XOPEN_EXTENDED].
36633 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36634 [__USE_XOPEN_EXTENDED].
36635 (SA_RESTART): Likewise.
36636 (SA_NODEFER): Likewise.
36637 (SA_RESETHAND): Likewise.
36638 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
36639 (struct sigaction): Define sa_handler and sa_sigaction using union
36640 also for [__USE_XOPEN_EXTENDED].
36641 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36642 [__USE_XOPEN_EXTENDED].
36643 (SA_RESTART): Likewise.
36644 (SA_NODEFER): Likewise.
36645 (SA_RESETHAND): Likewise.
36646 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
36647 (struct sigaction): Define sa_handler and sa_sigaction using union
36648 also for [__USE_XOPEN_EXTENDED].
36649 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36650 [__USE_XOPEN_EXTENDED].
36651 (SA_RESTART): Likewise.
36652 (SA_NODEFER): Likewise. Define directly rather than as alias.
36653 (SA_RESETHAND): Likewise.
36654 (SA_INTERRUPT): Define only for [__USE_MISC].
36655 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
36656 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
36658 (SA_STACK): Define only for [__USE_MISC].
36659 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
36660 (struct sigaction): Define sa_handler and sa_sigaction using union
36661 also for [__USE_XOPEN_EXTENDED].
36662 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36663 [__USE_XOPEN_EXTENDED].
36664 (SA_RESTART): Likewise.
36665 (SA_NODEFER): Likewise.
36666 (SA_RESETHAND): Likewise.
36667 (SA_NOPTRACE): Define only for [__USE_MISC].
36669 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
36670 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
36671 (struct catalog_info): Likewise.
36672 * inet/htontest.c (lo): Likewise.
36674 * inet/inet_lnaof.c (inet_lnaof): Likewise.
36675 * inet/inet_net.c (inet_network): Likewise.
36676 * inet/inet_netof.c (inet_netof): Likewise.
36677 * inet/rcmd.c (__ivaliduser): Likewise.
36678 (iruserok): Likewise.
36679 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
36680 * locale/programs/locale-spec.c (locale_special): Likewise.
36681 * nis/nis_findserv.c (struct findserv_req): Likewise.
36682 (__nis_findfastest_with_timeout): Likewise.
36683 * nss/test-netdb.c (test_network): Likewise.
36684 * resolv/inet_neta.c (inet_neta): Likewise.
36685 * resolv/ns_date.c (ns_datetosecs): Likewise.
36686 (SECS_PER_DAY): Likewise.
36687 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
36689 * resolv/res_comp.c (__putlong): Likewise.
36690 (__putshort): Likewise.
36691 (_getlong): Likewise.
36692 (_getshort): Likewise.
36693 * resolv/res_debug.c (p_time): Likewise.
36694 (precsize_ntoa): Likewise.
36695 (precsize_aton): Likewise.
36696 (latlon2ul): Likewise.
36697 (loc_aton): Likewise.
36698 (loc_ntoa): Likewise.
36699 * resolv/res_hconf.c (struct netaddr): Likewise.
36700 (_res_hconf_reorder_addrs): Likewise.
36701 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
36702 (clnttcp_control): Likewise.
36703 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36704 (clntudp_control): Likewise.
36705 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
36706 (clntunix_control): Likewise.
36707 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
36708 * sunrpc/rpc/auth.h (union des_block): Likewise.
36709 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
36710 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
36711 (xdrrec_create): Likewise.
36712 (xdrrec_endofrecord): Likewise.
36713 (flush_out): Likewise.
36714 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
36715 (xdrstdio_putlong): Likewise.
36716 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
36719 * misc/sys/cdefs.h (__long_double_t): Remove.
36720 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
36721 instead of __long_double_t,
36722 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
36724 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
36726 * benchtests/scripts/compare_strings.py: Avoid display error when
36727 running on a text terminal.
36729 * benchtests/scripts/compare_strings.py (main): Add an
36730 optional -base option.
36731 (process_results): New argument base_func.
36733 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
36735 * benchtests/bench-memcpy-large.c (test_name): Likewise.
36736 * benchtests/bench-memcpy-random.c (test_name): Likewise.
36738 2017-08-07 Andreas Schwab <schwab@suse.de>
36740 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
36741 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
36742 * intl/Makefile ($(objpfx)tst-gettext.out)
36743 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
36744 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
36745 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
36746 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
36747 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
36748 * posix/Makefile ($(objpfx)globtest.out)
36749 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
36750 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
36751 ($(objpfx)tst-printf.out): Likewise.
36752 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
36753 ($(objpfx)tst-setcontext3.out): Likewise.
36755 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
36757 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36758 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
36759 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
36760 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
36761 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
36763 (CFLAGS-doasin-fma.c): New.
36764 (CFLAGS-dosincos-fma.c): Likewise.
36765 (CFLAGS-e_asin-fma.c): Likewise.
36766 (CFLAGS-e_atan2-fma.c): Likewise.
36767 (CFLAGS-e_exp-fma.c): Likewise.
36768 (CFLAGS-e_log-fma.c): Likewise.
36769 (CFLAGS-e_pow-fma.c): Likewise.
36770 (CFLAGS-halfulp-fma.c): Likewise.
36771 (CFLAGS-mpa-fma.c): Likewise.
36772 (CFLAGS-mpatan-fma.c): Likewise.
36773 (CFLAGS-mpatan2-fma.c): Likewise.
36774 (CFLAGS-mpexp-fma.c): Likewise.
36775 (CFLAGS-mplog-fma.c): Likewise.
36776 (CFLAGS-mpsqrt-fma.c): Likewise.
36777 (CFLAGS-mptan-fma.c): Likewise.
36778 (CFLAGS-s_atan-fma.c): Likewise.
36779 (CFLAGS-sincos32-fma.c): Likewise.
36780 (CFLAGS-slowexp-fma.c): Likewise.
36781 (CFLAGS-slowpow-fma.c): Likewise.
36782 (CFLAGS-s_sin-fma.c): Likewise.
36783 (CFLAGS-s_tan-fma.c): Likewise.
36784 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
36785 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
36786 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
36787 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
36788 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
36789 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
36790 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
36791 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
36792 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
36793 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
36794 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
36795 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
36796 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
36797 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
36798 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
36799 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
36800 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
36801 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
36802 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
36803 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
36804 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
36805 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
36806 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
36807 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
36808 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36809 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36810 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36811 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
36812 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36813 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36814 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36816 2017-08-04 Joseph Myers <joseph@codesourcery.com>
36818 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
36819 (min_of_type_f): New macro.
36820 (min_of_type_): Likewise.
36821 (min_of_type_l): Likewise.
36822 (min_of_type_f128): Likewise.
36823 (min_of_type): Define using __MATH_TG and taking an expression
36825 (math_check_force_underflow): Pass expression instead of type to
36827 (math_check_force_underflow_nonneg): Likewise.
36829 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36831 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
36832 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
36833 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
36835 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36837 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36838 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
36839 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
36840 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
36841 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
36842 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
36843 memcpy_chk-nonshared, mempcpy_chk-nonshared,
36844 memmove_chk-nonshared and memset_chk-nonshared
36845 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
36846 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
36847 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
36848 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
36849 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
36850 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
36851 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
36852 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
36853 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
36854 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
36855 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
36856 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
36857 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
36858 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
36859 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
36860 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
36861 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
36862 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
36863 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
36864 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
36865 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
36866 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
36867 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
36868 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
36869 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
36870 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
36871 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
36872 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
36873 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
36874 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
36875 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
36876 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
36877 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
36878 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
36879 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
36880 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
36881 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
36882 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
36883 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
36884 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
36885 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
36886 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
36887 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
36888 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
36889 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
36890 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
36891 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
36892 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
36893 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
36894 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
36895 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
36896 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
36897 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
36898 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
36899 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
36900 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
36901 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
36902 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
36903 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
36904 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
36905 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
36906 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
36907 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
36908 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
36909 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
36910 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
36911 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
36912 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
36913 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
36914 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
36915 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
36916 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36917 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36918 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36919 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36920 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36921 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36922 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36923 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36924 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36925 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36926 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36927 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36928 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36929 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36930 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36931 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36932 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36933 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36934 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36935 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36936 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36937 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36938 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36939 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36940 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36941 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36942 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36943 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36944 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36945 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36946 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36947 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36948 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36949 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36950 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36951 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36952 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36954 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36956 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
36957 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
36958 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
36959 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
36960 svml_d_log2_core-sse2, svml_d_log4_core-sse,
36961 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
36962 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
36963 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
36964 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
36965 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
36966 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
36967 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
36968 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
36969 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
36970 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
36971 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
36972 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
36973 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
36974 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
36975 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
36976 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
36977 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
36978 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
36979 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
36980 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
36981 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
36982 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
36983 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
36984 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
36985 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
36986 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
36987 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
36988 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
36989 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
36990 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
36991 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
36992 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
36993 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
36994 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
36995 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
36996 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
36997 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
36998 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
36999 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
37000 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
37001 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
37002 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
37003 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
37004 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
37005 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
37006 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
37007 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
37008 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
37009 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
37010 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
37011 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
37012 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
37013 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
37014 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
37016 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
37017 Don't include <sysdep.h> nor <init-arch.h>.
37018 (_ZGVbN2v_cos): Removed.
37019 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
37021 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
37022 Don't include <sysdep.h> nor <init-arch.h>.
37023 (_ZGVdN4v_cos): Removed.
37024 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
37026 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
37027 Don't include <sysdep.h> nor <init-arch.h>.
37028 (_ZGVeN8v_cos): Removed.
37029 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
37031 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
37032 Don't include <sysdep.h> nor <init-arch.h>.
37033 (_ZGVbN2v_exp): Removed.
37034 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
37036 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
37037 Don't include <sysdep.h> nor <init-arch.h>.
37038 (_ZGVdN4v_exp): Removed.
37039 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
37041 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
37042 Don't include <sysdep.h> nor <init-arch.h>.
37043 (_ZGVeN8v_exp): Removed.
37044 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
37046 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
37047 Don't include <sysdep.h> nor <init-arch.h>.
37048 (_ZGVbN2v_log): Removed.
37049 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
37051 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
37052 Don't include <sysdep.h> nor <init-arch.h>.
37053 (_ZGVdN4v_log): Removed.
37054 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
37056 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
37057 Don't include <sysdep.h> nor <init-arch.h>.
37058 (_ZGVeN8v_log): Removed.
37059 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
37061 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
37062 Don't include <sysdep.h> nor <init-arch.h>.
37063 (_ZGVbN2vv_pow): Removed.
37064 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
37066 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
37067 Don't include <sysdep.h> nor <init-arch.h>.
37068 (_ZGVdN4vv_pow): Removed.
37069 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
37071 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
37072 Don't include <sysdep.h> nor <init-arch.h>.
37073 (_ZGVeN8vv_pow): Removed.
37074 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
37076 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
37077 Don't include <sysdep.h> nor <init-arch.h>.
37078 (_ZGVbN2v_sin): Removed.
37079 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
37081 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
37082 Don't include <sysdep.h> nor <init-arch.h>.
37083 (_ZGVbN4v_sin): Removed.
37084 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
37086 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
37087 Don't include <sysdep.h> nor <init-arch.h>.
37088 (_ZGVbN8v_sin): Removed.
37089 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
37091 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
37092 Don't include <sysdep.h> nor <init-arch.h>.
37093 (_ZGVbN2vvv_sincos): Removed.
37094 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
37096 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
37097 Don't include <sysdep.h> nor <init-arch.h>.
37098 (_ZGVdN4vvv_sincos): Removed.
37099 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
37101 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
37102 Don't include <sysdep.h> nor <init-arch.h>.
37103 (_ZGVeN8vvv_sincos): Removed.
37104 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
37106 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
37107 Don't include <sysdep.h> nor <init-arch.h>.
37108 (_ZGVeN16v_cosf): Removed.
37109 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
37111 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
37112 Don't include <sysdep.h> nor <init-arch.h>.
37113 (_ZGVbN4v_cosf): Removed.
37114 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
37116 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
37117 Don't include <sysdep.h> nor <init-arch.h>.
37118 (_ZGVdN8v_cosf): Removed.
37119 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
37121 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
37122 Don't include <sysdep.h> nor <init-arch.h>.
37123 (_ZGVeN16v_expf): Removed.
37124 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
37126 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
37127 Don't include <sysdep.h> nor <init-arch.h>.
37128 (_ZGVbN4v_expf): Removed.
37129 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
37131 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
37132 Don't include <sysdep.h> nor <init-arch.h>.
37133 (_ZGVdN8v_expf): Removed.
37134 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
37136 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
37137 Don't include <sysdep.h> nor <init-arch.h>.
37138 (_ZGVeN16v_logf): Removed.
37139 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
37141 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
37142 Don't include <sysdep.h> nor <init-arch.h>.
37143 (_ZGVbN4v_logf): Removed.
37144 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
37146 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
37147 Don't include <sysdep.h> nor <init-arch.h>.
37148 (_ZGVdN8v_logf): Removed.
37149 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
37151 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
37152 Don't include <sysdep.h> nor <init-arch.h>.
37153 (_ZGVeN16vv_powf): Removed.
37154 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
37156 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
37157 Don't include <sysdep.h> nor <init-arch.h>.
37158 (_ZGVbN4vv_powf): Removed.
37159 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
37161 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
37162 Don't include <sysdep.h> nor <init-arch.h>.
37163 (_ZGVdN8vv_powf): Removed.
37164 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
37166 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
37167 Don't include <sysdep.h> nor <init-arch.h>.
37168 (_ZGVeN16vvv_sincosf): Removed.
37169 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
37171 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
37172 Don't include <sysdep.h> nor <init-arch.h>.
37173 (_ZGVbN4vvv_sincosf): Removed.
37174 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
37176 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
37177 Don't include <sysdep.h> nor <init-arch.h>.
37178 (_ZGVdN8vvv_sincosf): Removed.
37179 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
37181 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
37182 Don't include <sysdep.h> nor <init-arch.h>.
37183 (_ZGVeN16v_sinf): Removed.
37184 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
37186 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
37187 Don't include <sysdep.h> nor <init-arch.h>.
37188 (_ZGVbN4v_sinf): Removed.
37189 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
37191 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
37192 Don't include <sysdep.h> nor <init-arch.h>.
37193 (_ZGVdN8v_sinf): Removed.
37195 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37197 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37198 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
37199 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
37200 s_rint-sse4_1 and s_rintf-sse4_1.
37201 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
37202 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
37203 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
37204 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
37205 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
37206 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
37207 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
37208 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
37209 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
37210 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
37211 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
37212 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37214 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
37215 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
37216 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37217 (__ceilf): Removed.
37218 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
37219 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
37220 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37221 (__floor): Removed.
37222 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
37223 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
37224 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37225 (__floorf): Removed.
37226 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
37227 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
37228 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37229 (__nearbyint): Removed.
37230 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
37231 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
37232 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37233 (__nearbyintf): Removed.
37234 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
37235 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
37236 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37238 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
37239 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
37240 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37241 (__rintf): Removed.
37243 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37245 * sysdeps/i386/start.S (_start): Check Check PIC instead of
37246 SHARED. Avoid dynamic relocation against main in static PIE.
37248 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37251 * elf/Makefile (CFLAGS-tst-prelink.c): New.
37252 (LDFLAGS-tst-prelink): Likewise.
37254 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37256 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
37257 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
37258 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
37259 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
37260 (INTERNAL_SYSCALL_NCS): Likewise.
37261 (LOADARGS_1): Likewise.
37262 (LOADARGS_5): Likewise.
37263 (RESTOREARGS_1): Likewise.
37264 (RESTOREARGS_5): Likewise.
37266 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37268 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
37269 (MEMPCPY_SYMBOL): Likewise.
37270 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
37271 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
37272 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
37274 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37275 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
37277 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
37278 (__hidden_ver1): Don't use in libc.a.
37279 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
37280 (__mempcpy): Don't create a weak alias in libc.a.
37281 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
37283 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
37284 (__hidden_ver1): Don't use in libc.a.
37286 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37288 * config.make.in (have-insert): New.
37289 * configure.ac (libc_cv_insert): New. Set to yes if linker
37290 supports INSERT in linker script.
37291 (AC_SUBST(libc_cv_insert): New.
37292 * configure: Regenerated.
37293 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
37294 if $(have-insert) == yes.
37296 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37298 * elf/Makefile (tests): Add vismain only if
37299 $(have-protected-data) == yes.
37300 (tests-pie): Likewise.
37302 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37305 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
37306 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
37308 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37311 * sysdeps/i386/i586/memset.S
37312 (__memset_zero_constant_len_parameter): Removed.
37313 * sysdeps/i386/i686/memset.S
37314 (__memset_zero_constant_len_parameter): Likewise.
37315 * sysdeps/i386/i686/multiarch/memset_chk.S
37316 (__memset_zero_constant_len_parameter): Likewise.
37317 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
37320 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
37322 * stdlib/getentropy.c (getentropy): Change return type to int.
37324 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
37326 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
37328 2017-08-03 Joseph Myers <joseph@codesourcery.com>
37330 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
37332 * math/s_nexttowardf.c (__nexttowardf): Likewise.
37333 * sysdeps/generic/math_private.h (ieee_double_shape_type):
37335 (ieee_float_shape_type): Likewise.
37336 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
37337 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
37338 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
37339 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37340 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
37341 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
37342 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
37343 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
37344 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
37346 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
37347 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
37348 (__ieee754_yn): Likewise.
37349 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
37350 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
37351 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
37353 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
37354 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
37355 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
37356 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
37357 (__erfc): Likewise.
37358 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
37359 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
37360 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
37361 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
37362 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
37363 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
37365 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
37366 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
37367 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
37368 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
37369 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
37370 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
37371 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
37372 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
37373 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
37374 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
37375 (__issignaling): Likewise.
37376 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
37377 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
37378 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
37380 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37381 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
37382 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
37383 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
37385 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
37387 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
37388 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
37389 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
37390 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
37391 (__erfcf): Likewise.
37392 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
37393 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
37394 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
37395 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
37397 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
37398 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
37400 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
37401 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
37402 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
37403 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
37404 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
37405 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
37406 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
37407 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
37409 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
37411 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
37413 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
37414 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
37416 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
37418 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
37419 (__ieee754_ynl): Likewise.
37420 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
37421 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
37423 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
37425 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
37426 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
37427 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37429 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
37430 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
37431 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
37432 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
37433 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
37434 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
37435 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
37436 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
37438 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
37439 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
37440 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
37442 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
37443 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
37444 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
37445 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
37446 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
37447 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
37449 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
37451 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37453 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37455 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
37456 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
37457 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37458 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
37459 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
37460 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
37461 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
37463 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
37465 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
37466 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37468 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
37469 (__ieee754_remainderl): Likewise.
37470 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37471 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37472 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
37473 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
37475 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
37476 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37478 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
37479 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
37480 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
37481 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
37482 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
37483 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
37485 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
37486 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
37487 (__ieee754_y0l): Likewise.
37490 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37491 (__ieee754_y1l): Likewise.
37494 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
37495 (__ieee754_ynl): Likewise.
37496 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
37497 (__ieee754_lgammal_r): Likewise.
37498 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
37500 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
37501 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
37502 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
37503 (__erfcl): Likewise.
37504 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
37505 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
37507 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
37508 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
37509 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
37510 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
37511 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
37512 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37513 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37515 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
37516 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
37517 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
37518 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
37519 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37521 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
37522 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
37524 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
37525 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
37526 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
37527 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
37528 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
37530 2017-08-03 Florian Weimer <fweimer@redhat.com>
37533 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
37534 on memory allocation failure.
37536 2017-08-03 Alan Modra <amodra@gmail.com>
37538 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
37539 tst-tlsopt-powerpc.c with function name change and no test harness.
37540 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
37541 Call tls_get_addr_opt_test.
37542 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
37543 (modules-names): Add mod-tlsopt-powerpc.
37544 (mod-tlsopt-powerpc.so-no-z-defs): Define.
37545 (tst-tlsopt-powerpc): Depend on .so.
37546 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
37547 define. Expand use in TLS_GD and TLS_LD.
37549 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37551 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
37553 * sysdeps/posix/shm_open.c: Include <pthread.h>.
37555 2017-08-02 Joseph Myers <joseph@codesourcery.com>
37558 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
37559 comparing size with that of double.
37560 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
37561 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
37562 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
37563 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
37564 (__TGMATH_BINARY_REAL_IMAG): Likewise.
37565 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
37566 unsigned __int128 types.
37568 2017-08-02 Steve Ellcey <sellcey@cavium.com>
37570 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
37571 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
37572 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
37573 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
37574 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
37576 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
37578 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
37580 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
37582 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
37584 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
37585 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37586 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37587 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37588 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37589 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37590 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37592 2017-08-02 Joseph Myers <joseph@codesourcery.com>
37595 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
37596 bit-field expressions passed to sizeof or typeof.
37597 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
37598 (__TGMATH_F128): Likewise.
37599 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
37600 (__TGMATH_CF128): Likewise.
37601 (__TGMATH_UNARY_REAL_ONLY): Likewise.
37602 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
37603 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
37604 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
37605 (__TGMATH_BINARY_REAL_ONLY): Likewise.
37606 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
37607 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
37608 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
37609 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
37610 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
37611 (__TGMATH_UNARY_REAL_IMAG): Likewise.
37612 (__TGMATH_UNARY_IMAG): Likewise.
37613 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
37614 (__TGMATH_BINARY_REAL_IMAG): Likewise.
37615 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
37617 (define_vars_for_type): Handle bit_field type specially.
37618 (Tests.__init__): Declare structure with bit-field element.
37620 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
37623 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
37624 (MEMCPY_CHK): Define only if SHARED is defined.
37625 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
37627 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
37630 See ChangeLog.18 for earlier changes.