1 2019-08-22 Gustavo Romero <gromero@linux.vnet.ibm.com>
3 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix typos and
4 field name in mcontext_t struct.
6 2019-08-22 Joseph Myers <joseph@codesourcery.com>
8 * resolv/tst-resolv-ai_idn-latin1.c (do_test): Mark test
9 unsupported with libidn2 before 2.0.5.
10 * resolv/tst-resolv-ai_idn.c (do_test): Likewise.
12 * manual/time.texi (strftime): Document %Ob and %OB as C2X
15 2019-08-21 Paul Eggert <eggert@cs.ucla.edu>
17 Remove dead regex code
18 * posix/regex_internal.c (re_node_set_insert):
19 Remove unnecessary assignment. Reported by Tim Rühsen in:
20 https://lists.gnu.org/r/bug-gnulib/2019-08/msg00026.html
22 Fix bad pointer / leak in regex code
23 This was found by Coverity (CID 1484201). [BZ#24844]
24 * posix/regex_internal.c (create_cd_newstate): Fix use of bad
25 pointer and/or memory leak when storage is exhausted.
27 2019-08-21 Zack Weinberg <zackw@panix.com>
29 * misc/syslog.c (__vsyslog_internal)
30 * time/getdate.c (__getdate_r)
31 * time/tst_wcsftime.c (main):
32 Use return value of time, not its argument.
34 * string/strfry.c (strfry)
35 * sysdeps/mach/sleep.c (__sleep):
36 Remove unnecessary casts of NULL in calls to time.
38 2019-08-21 Joseph Myers <joseph@codesourcery.com>
40 * math/tgmath.h [__HAVE_FLOAT128X]: Give error.
41 [(__HAVE_FLOAT64X && !__HAVE_FLOAT128)
42 || (__HAVE_FLOAT128 && !__HAVE_FLOAT64X)]: Likewise.
43 (__TGMATH_2_NARROW_F): Likewise.
44 (__TGMATH_2_NARROW_D): New macro.
45 (__TGMATH_2_NARROW_F16): Likewise.
46 (__TGMATH_2_NARROW_F32): Likewise.
47 (__TGMATH_2_NARROW_F64): Likewise.
48 (__TGMATH_2_NARROW_F32X): Likewise.
49 (__TGMATH_2_NARROW_F64X): Likewise.
50 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F): Likewise.
51 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F16): Likewise.
52 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32): Likewise.
53 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F64): Likewise.
54 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32X): Likewise.
55 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fadd): Likewise.
56 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dadd): Likewise.
57 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fdiv): Likewise.
58 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (ddiv): Likewise.
59 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fmul): Likewise.
60 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dmul): Likewise.
61 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fsub): Likewise.
62 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dsub): Likewise.
63 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16add):
65 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16div):
67 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16mul):
69 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16sub):
71 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32add):
73 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32div):
75 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32mul):
77 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32sub):
79 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
80 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64add): Likewise.
81 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
82 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64div): Likewise.
83 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
84 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64mul): Likewise.
85 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
86 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64sub): Likewise.
87 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xadd):
89 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xdiv):
91 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xmul):
93 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xsub):
95 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
96 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xadd): Likewise.
97 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
98 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xdiv): Likewise.
99 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
100 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xmul): Likewise.
101 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
102 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xsub): Likewise.
103 * math/gen-tgmath-tests.py (Type): Add members
104 non_standard_real_argument_types_list, long_double_type,
105 complex_float64_type and float32x_ext_type.
106 (Type.__init__): Set the new members.
107 (Type.floating_type): Add new argument floatn.
108 (Type.real_floating_type): Likewise.
109 (Type.can_combine_types): Likewise.
110 (Type.combine_types): Likewise.
111 (Type.init_types): Create internal Float32x_ext type.
112 (Tests.__init__): Define Float32x_ext in generated C code.
113 (Tests.add_tests): Handle narrowing functions.
114 (Tests.add_all_tests): Likewise.
115 (Tests.tests_text): Allow variation in mant_dig for narrowing
116 functions with compilers before GCC 8.
117 * math/Makefile (tgmath3-narrow-types): New variable.
118 (tgmath3-narrow-macros): Likewise.
119 (tgmath3-macros): Add $(tgmath3-narrow-macros).
121 2019-08-20 Andreas Schwab <schwab@suse.de>
123 * sysdeps/i386/fpu/libm-test-ulps: Update.
125 2019-08-19 Carlos O'Donell <carlos@redhat.com>
127 * nscd/nscd.conf: Add warning and comment about shared option.
129 2019-08-19 Carlos O'Donell <carlos@redhat.com>
131 * nss/nsswitch.conf: Expand comments, and simplify defaults.
132 * manual/nss.texi (NSS Basics): List all known databases.
133 (Services in the NSS configuration): Mention automount.
135 2019-08-19 Florian Weimer <fweimer@redhat.com>
137 Do not print backtraces on fatal errors.
138 * debug/fortify_fail.c (__libc_argv): Remove declaration.
139 (__fortify_fail_abort): Remove definition.
140 (__fortify_fail): Call __libc_message directly.
141 * debug/stack_chk_fail.c (__libc_argv): Remove declaration.
142 (__stack_chk_fail): Call __fortify_fail instead of
143 __fortify_fail_abort.
144 * include/stdio.h (__fortify_fail_abort): Remove declaration.
145 * sysdeps/posix/libc_fatal.c (BEFORE_ABORT, before_abort): Remove
147 (__libc_message): Do not handle do_backtrace. Do not call
149 (__libc_fatal): Do not pass do_backtrace to __libc_message.
150 * sysdeps/unix/sysv/linux/libc_fatal.c (BEFORE_ABORT)
151 (before_abort): Remove definitions.
153 2019-08-16 Florian Weimer <fweimer@redhat.com>
155 nptl: Move pthread_attr_getdetachstate implementation into libc.
156 * nptl/Makefile (routines): Add pthread_attr_getdetachstate.
157 (libpthread-routines): Remove pthread_attr_getdetachstate.
158 * nptl/Versions (libpthread GLIBC_2.0): Remove
159 pthread_attr_getdetachstate.
160 * nptl/forward.c (pthread_attr_getdetachstate): Remove definition.
161 * nptl/nptl-init.c (pthread_functions): Remove initializer for
162 ptr_pthread_attr_getdetachstate.
163 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
164 Remove ptr_pthread_attr_getdetachstate member.
165 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
166 Remove pthread_attr_getdetachstate.
167 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
169 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
171 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
173 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
175 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
177 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
179 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
180 (GLIBC_2.4): Likewise.
181 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
182 (GLIBC_2.0): Likewise.
183 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
184 (GLIBC_2.18): Likewise.
185 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
186 (GLIBC_2.0): Likewise.
187 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
188 (GLIBC_2.0): Likewise.
189 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
192 (GLIBC_2.0): Likewise.
193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
194 (GLIBC_2.3): Likewise.
195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
196 (GLIBC_2.17): Likewise.
197 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
198 (GLIBC_2.27): Likewise.
199 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
200 (GLIBC_2.0): Likewise.
201 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
202 (GLIBC_2.2): Likewise.
203 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
205 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
206 (GLIBC_2.0): Likewise.
207 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
208 (GLIBC_2.2): Likewise.
209 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
210 (GLIBC_2.2.5): Likewise.
211 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
212 (GLIBC_2.16): Likewise.
214 2019-08-16 Joseph Myers <joseph@codesourcery.com>
216 * math/libm-test-compat_totalorder.inc (do_test)
217 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Change condition to
218 [TEST_COMPAT (libm, COMPAT_VER, GLIBC_2_31)].
219 * math/libm-test-compat_totalordermag.inc (do_test)
220 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Likewise.
222 2019-08-15 Florian Weimer <fweimer@redhat.com>
224 nptl: Move pthread_attr_init implementation into libc.
225 * nptl/Makefile (routines): Add pthread_attr_init.
226 (libpthread-routines): Remove pthread_attr_init.
227 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_attr_init.
228 (libpthread GLIBC_2.0): Likewise.
229 * nptl/pthread_attr_init.c: Check for libc compat version instead
230 of libpthread compat version.
231 * nptl/forward.c (__pthread_attr_init_2_0)
232 (__pthread_attr_init_2_1): Remove definitions.
233 * nptl/nptl-init.c (pthread_functions): Remove initializers for
234 ptr___pthread_attr_init_2_0, ptr___pthread_attr_init_2_1.
235 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
236 Remove members ptr___pthread_attr_init_2_0,
237 ptr___pthread_attr_init_2_1.
238 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
239 Remove pthread_attr_init.
240 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
242 (GLIBC_2.1): Likewise.
243 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
245 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
247 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
249 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
251 (GLIBC_2.1): Likewise.
252 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
254 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
255 (GLIBC_2.4): Likewise.
256 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
257 (GLIBC_2.0): Likewise.
258 (GLIBC_2.1): Likewise.
259 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
260 (GLIBC_2.18): Likewise.
261 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
262 (GLIBC_2.0): Likewise.
263 (GLIBC_2.1): Likewise.
264 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
265 (GLIBC_2.0): Likewise.
266 (GLIBC_2.1): Likewise.
267 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
270 (GLIBC_2.0): Likewise.
271 (GLIBC_2.1): Likewise.
272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
273 (GLIBC_2.3): Likewise.
274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
275 (GLIBC_2.17): Likewise.
276 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
277 (GLIBC_2.27): Likewise.
278 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
279 (GLIBC_2.0): Likewise.
280 (GLIBC_2.1): Likewise.
281 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
282 (GLIBC_2.2): Likewise.
283 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
285 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
286 (GLIBC_2.0): Likewise.
287 (GLIBC_2.1): Likewise.
288 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
289 (GLIBC_2.2): Likewise.
290 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
291 (GLIBC_2.2.5): Likewise.
292 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
293 (GLIBC_2.16): Likewise.
295 2019-08-15 Florian Weimer <fweimer@redhat.com>
298 * elf/dl-object.c (_dl_new_object): Do not store pathnames in the
299 new object in __RTLD_OPENEXEC mode (except for the origin).
300 * elf/tst-dlopen-aout.c (check_dlopen_failure): New function with
301 check for the error message.
302 (do_test): Call it. Add check using relative path.
303 * elf/Makefile (tests-container): Add tst-dlopen-aout-container.
304 (tst-dlopen-aout-container): Link with libpthread.
305 (LDFLAGS-tst-dlopen-aout-container): Set RPATH to $ORIGIN.
307 2019-08-15 Joseph Myers <joseph@codesourcery.com>
309 * math/bits/mathcalls.h
310 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
311 (totalorder): Take pointer arguments.
312 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
313 (totalordermag): Likewise.
314 * manual/arith.texi (totalorder): Likewise.
315 (totalorderf): Likewise.
316 (totalorderl): Likewise.
317 (totalorderfN): Likewise.
318 (totalorderfNx): Likewise.
319 (totalordermag): Likewise.
320 (totalordermagf): Likewise.
321 (totalordermagl): Likewise.
322 (totalordermagfN): Likewise.
323 (totalordermagfNx): Likewise.
324 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): Remove macro.
325 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder): Likewise.
326 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag): Likewise.
327 * math/Versions (GLIBC_2.31): Add totalorder, totalorderf,
328 totalorderl, totalordermag, totalordermagf, totalordermagl,
329 totalorderf32, totalorderf64, totalorderf32x, totalordermagf32,
330 totalordermagf64, totalordermagf32x, totalorderf64x,
331 totalordermagf64x, totalorderf128 and totalordermagf128.
332 * math/Makefile (libm-test-funcs-noauto): Add compat_totalorder
333 and compat_totalordermag.
334 (libm-test-funcs-compat): New variable.
335 (libm-tests-compat): Likewise.
336 (tests): Do not include compat tests.
337 (tests-internal): Add compat tests.
338 ($(foreach t,$(libm-tests-base),
339 $(objpfx)$(t)-compat_totalorder.o)): Depend
340 on $(objpfx)libm-test-totalorder.c.
341 ($(foreach t,$(libm-tests-base),
342 $(objpfx)$(t)-compat_totalordermag.o): Depend on
343 $(objpfx)libm-test-totalordermag.c.
344 (tgmath3-macros): Remove totalorder and totalordermag.
345 * math/libm-test-compat_totalorder.inc: New file.
346 * math/libm-test-compat_totalordermag.inc: Likewise.
347 * math/libm-test-driver.c (struct test_ff_i_data): Update comment.
348 (RUN_TEST_fpfp_b): New macro.
349 (RUN_TEST_LOOP_fpfp_b): Likewise.
350 * math/libm-test-totalorder.inc (totalorder_test_data): Use
352 (totalorder_test): Condition on [!COMPAT_TEST].
354 * math/libm-test-totalordermag.inc (totalordermag_test_data): Use
356 (totalordermag_test): Condition on [!COMPAT_TEST].
358 * math/gen-tgmath-tests.py (Tests.add_all_tests): Remove
359 totalorder and totalordermag.
360 * math/test-tgmath.c (NCALLS): Change to 132.
361 (F(compile_test)): Do not call totalorder or totalordermag.
362 (F(totalorder)): Remove.
363 (F(totalordermag)): Likewise.
364 * include/float.h (__STDC_WANT_IEC_60559_TYPES_EXT__): Do not
365 define if [__STDC_WANT_IEC_60559_TYPES_EXT__].
366 * include/setjmp.h [!_ISOMAC] (STR_HELPER): Rename to
368 [!_ISOMAC] (STR): Rename to SJSTR. Update call to STR_HELPER.
369 [!_ISOMAC] (TEST_SIZE): Update call to STR.
370 [!_ISOMAC] (TEST_ALIGN): Likewise.
371 [!_ISOMAC] (TEST_OFFSET): Likewise.
372 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include <shlib-compat.h>
373 and <first-versions.h>.
374 (__totalorder): Take pointer arguments. Add symbol versions and
376 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
377 <shlib-compat.h> and <first-versions.h>.
378 (__totalordermag): Take pointer arguments. Add symbol versions
380 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
381 <shlib-compat.h> and <first-versions.h>.
382 (__totalorder): Take pointer arguments. Add symbol versions and
384 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
385 <shlib-compat.h> and <first-versions.h>.
386 (__totalordermag): Take pointer arguments. Add symbol versions
388 * sysdeps/ieee754/float128/float128_private.h
389 (__totalorder_compatl): New macro.
390 (__totalordermag_compatl): Likewise.
391 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include <shlib-compat.h>
392 and <first-versions.h>.
393 (__totalorderf): Take pointer arguments. Add symbol versions and
395 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
396 <shlib-compat.h> and <first-versions.h>.
397 (__totalordermagf): Take pointer arguments. Add symbol versions
399 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
400 <shlib-compat.h> and <first-versions.h>.
401 (__totalorderl): Take pointer arguments. Add symbol versions and
403 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
404 <shlib-compat.h> and <first-versions.h>.
405 (__totalordermagl): Take pointer arguments. Add symbol versions
407 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
409 (__totalorderl): Take pointer arguments. Add symbol versions and
411 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
413 (__totalordermagl): Take pointer arguments. Add symbol versions
415 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
416 <shlib-compat.h> and <first-versions.h>.
417 (__totalorderl): Take pointer arguments. Add symbol versions and
419 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
420 <shlib-compat.h> and <first-versions.h>.
421 (__totalordermagl): Take pointer arguments. Add symbol versions
423 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c (totalorderl): Take
425 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c (totalordermagl):
427 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
428 (do_test): Update calls to totalorderl and totalordermagl.
429 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
430 Update calls to totalorderl and totalordermagl.
431 * sysdeps/mach/hurd/i386/libm.abilist: Update.
432 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
433 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
434 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
435 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
436 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
437 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
438 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
439 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
440 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
441 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
442 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
443 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
444 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libm.abilist:
451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libm.abilist:
453 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
454 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
455 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
456 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
457 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
458 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
459 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
460 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
462 2019-08-15 Florian Weimer <fweimer@redhat.com>
465 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Add
466 __attribute_nonstring__ to ut_line, ut_id, ut_user, ut_host.
467 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmpx):
469 * sysdeps/gnu/bits/utmp.h (struct utmp): Add
470 __attribute_nonstring__ to ut_id.
471 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmp):
474 2019-08-15 Florian Weimer <fweimer@redhat.com>
477 * login/utmp_file.c (file_locking_failed): Use struct flock64.
478 (file_locking_unlock): Likewise.
480 2019-08-15 Florian Weimer <fweimer@redhat.com>
483 login: Disarm timer after utmp lock acquisition.
484 * login/utmp_file.c (struct file_locking): Remove.
485 (try_file_lock): Adjust.
486 (file_lock_restore): Remove function.
487 (__libc_getutent_r): .
488 (internal_getut_r): Likewise.
489 (__libc_getutline_r): Likewise.
490 (__libc_pututline): Likewise.
491 (__libc_updwtmp): Likewise.
493 2019-08-15 Florian Weimer <fweimer@redhat.com>
495 nptl: Remove pthread_self compatibility symbol from libpthread.
496 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_self,
498 * nptl/Makefile (libpthread-routines): Remove compat-pthread_self.
499 * nptl/compat-pthread_self.c: Remove file.
500 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
502 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
504 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
506 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
508 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
510 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
512 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
513 (GLIBC_2.4): Likewise.
514 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
515 (GLIBC_2.0): Likewise.
516 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
517 (GLIBC_2.18): Likewise.
518 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
519 (GLIBC_2.0): Likewise.
520 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
521 (GLIBC_2.0): Likewise.
522 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
525 (GLIBC_2.0): Likewise.
526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
527 (GLIBC_2.3): Likewise.
528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
529 (GLIBC_2.17): Likewise.
530 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
531 (GLIBC_2.0): Likewise.
532 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
533 (GLIBC_2.2): Likewise.
534 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
536 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
537 (GLIBC_2.0): Likewise.
538 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
539 (GLIBC_2.2): Likewise.
540 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
541 (GLIBC_2.2.5): Likewise.
542 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
543 (GLIBC_2.16): Likewise.
545 2019-08-15 Florian Weimer <fweimer@redhat.com>
547 nptl: Move pthread_attr_destroy implementation into libc.
548 * nptl/Makefile (routines): Add pthread_attr_destroy.
549 (libpthread-routines): Remove pthread_attr_destroy.
550 * nptl/Versions (libpthread GLIBC_2.0): Remove
551 pthread_attr_destroy.
552 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Check for
553 libc compat version instead of libpthread compat version.
554 * nptl/forward.c (pthread_attr_destroy): Remove definition.
555 * nptl/nptl-init.c (pthread_functions): Remove initializer for
556 ptr_pthread_attr_destroy.
557 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
558 Remove ptr_pthread_attr_destroy member.
559 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
560 Remove pthread_attr_destroy.
561 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
563 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
565 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
567 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
569 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
571 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
573 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
574 (GLIBC_2.4): Likewise.
575 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
576 (GLIBC_2.0): Likewise.
577 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
578 (GLIBC_2.18): Likewise.
579 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
580 (GLIBC_2.0): Likewise.
581 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
582 (GLIBC_2.0): Likewise.
583 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
586 (GLIBC_2.0): Likewise.
587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
588 (GLIBC_2.3): Likewise.
589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
590 (GLIBC_2.17): Likewise.
591 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
592 (GLIBC_2.27): Likewise.
593 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
594 (GLIBC_2.0): Likewise.
595 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
596 (GLIBC_2.2): Likewise.
597 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
599 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
600 (GLIBC_2.0): Likewise.
601 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
602 (GLIBC_2.2): Likewise.
603 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
604 (GLIBC_2.2.5): Likewise.
605 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
606 (GLIBC_2.16): Likewise.
608 2019-08-15 Andreas Schwab <schwab@suse.de>
610 * sysdeps/i386/fpu/libm-test-ulps: Update.
612 2019-08-15 Florian Weimer <fweimer@redhat.com>
614 * malloc/Makefile (tests): Only add tst-mxfast for
616 * malloc/tst-mxfast.c: Fix copyright year.
617 (do_test): Fix GNU style issues. Use TEST_COMPARE instead of
620 2019-08-15 Florian Weimer <fweimer@redhat.com>
622 * login/utmp_file.c (__libc_updwtmp): Unlock the right file
624 * login/Makefile (tests): Add tst-updwtmpx.
625 * login/tst-updwtmpx.c: New file.
627 2019-08-15 Florian Weimer <fweimer@redhat.com>
629 nptl: Move pthread_equal implementation into libc.
630 * nptl/Makefile (routines): Add pthread_equal.
631 * nptl/forward.c (pthread_equal): Remove definition.
632 * nptl/nptl-init.c (pthread_functions): Remove initializer for
634 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
635 Remove ptr_pthread_equal member.
636 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
637 Remove pthread_equal.
638 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
640 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
642 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
644 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
646 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
648 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
650 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
651 (GLIBC_2.4): Likewise.
652 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
653 (GLIBC_2.0): Likewise.
654 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
655 (GLIBC_2.18): Likewise.
656 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
657 (GLIBC_2.0): Likewise.
658 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
659 (GLIBC_2.0): Likewise.
660 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
663 (GLIBC_2.0): Likewise.
664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
665 (GLIBC_2.3): Likewise.
666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
667 (GLIBC_2.17): Likewise.
668 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
669 (GLIBC_2.27): Likewise.
670 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
671 (GLIBC_2.0): Likewise.
672 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
673 (GLIBC_2.2): Likewise.
674 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
676 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
677 (GLIBC_2.0): Likewise.
678 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
679 (GLIBC_2.2): Likewise.
680 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
681 (GLIBC_2.2.5): Likewise.
682 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
683 (GLIBC_2.16): Likewise.
685 2019-08-14 Florian Weimer <fweimer@redhat.com>
687 * support/support_descriptors.c: Include <support/descriptors.h>.
689 2019-08-14 Feng Xue <fxue@os.amperecomputing.com>
691 * sysdeps/aarch64/multiarch/memset_base64.S (DC_ZVA_THRESHOLD):
692 Disable DC ZVA code if this macro is defined as zero.
693 * sysdeps/aarch64/multiarch/memset_emag.S (DC_ZVA_THRESHOLD):
694 Change to zero to disable using DC ZVA.
696 2019-08-13 Joseph Myers <joseph@codesourcery.com>
698 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT):
700 (__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X): New macro.
701 * bits/math-finite.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]: Change
702 to [__GLIBC_USE (IEC_60559_FUNCS_EXT_C2X)].
703 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]:
706 2019-08-13 Florian Weimer <fweimer@redhat.com>
708 * login/utmp_file.c (LOCK_FILE, LOCKING_FAILED, UNLOCK_FILE):
710 (struct file_locking): New.
711 (try_file_lock, file_unlock, file_lock_restore): New functions.
712 (__libc_getutent_r): Use the new functions.
713 (internal_getut_r): Likewise.
714 (__libc_getutline_r): Likewise.
715 (__libc_pututline): Likewise.
716 (__libc_updwtmp): Likewise.
718 2019-08-13 Joseph Myers <joseph@codesourcery.com>
720 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): Update
722 (__GLIBC_USE_IEC_60559_BFP_EXT_C2X): New macro.
723 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Change to
724 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)].
725 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
726 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
727 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
728 * stdlib/bits/stdlib-ldbl.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
730 * stdlib/stdint.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
731 * stdlib/stdlib.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
732 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
734 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
736 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
738 * sysdeps/csky/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
740 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
742 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
744 * sysdeps/m68k/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
746 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE
747 (IEC_60559_BFP_EXT)]: Likewise.
748 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
750 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
752 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
754 * sysdeps/riscv/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
756 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
758 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
760 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
762 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
764 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
765 Likewise, except for totalorder, totalordermag, getpayload,
766 setpayload and setpayloadsig.
767 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise,
768 except for totalorder and totalordermag.
770 * string/string.h (memccpy): Also declare if [__GLIBC_USE (ISOC2X)].
774 * include/features.h (_ISOC2X_SOURCE): New feature test macro.
775 Undefine and define to 1 if [_GNU_SOURCE].
776 (__GLIBC_USE_ISOC2X): New macro. Undefine and redefine depending
777 on [_ISOC2X_SOURCE] and [__STDC_VERSION__ > 201710L].
778 (__USE_ISOC11): Also define to 1 if [_ISOC2X_SOURCE].
779 (__USE_ISOC99): Likewise.
780 (__USE_ISOC95): Likewise.
781 * manual/creature.texi (_ISOC2X_SOURCE): Document.
783 2019-08-13 Florian Weimer <fweimer@redhat.com>
785 * login/getutid_r.c (__getutid_r): _HAVE_UT_ID and _HAVE_UT_TYPE
787 * login/getutmp.c (getutmp): _HAVE_UT_TYPE, _HAVE_UT_PID,
788 _HAVE_UT_ID, _HAVE_UT_HOST, _HAVE_UT_TV are always true.
789 * login/getutmpx.c (getutmpx): Likewise.
790 * login/login.c (login): _HAVE_UT_TYPE, _HAVE_UT_PID are always
792 * login/logout.c (logout): _HAVE_UT_TYPE, _HAVE_UT_HOST,
793 _HAVE_UT_TV are always true.
794 * login/logwtmp.c (logwtmp): _HAVE_UT_PID, _HAVE_UT_TYPE,
795 _HAVE_UT_HOST, _HAVE_UT_TV are always true.
796 * login/tst-utmp.c: _HAVE_UT_TYPE, _HAVE_UT_TV are always true.
797 * login/utmp_file.c (__libc_setutent): _HAVE_UT_TYPE, _HAVE_UT_ID
799 (internal_getut_r): _HAVE_UT_TYPE is always true.
800 (__libc_pututline): Likewise.
801 * login/programs/utmpdump.c (print_entry): Assume that
802 _HAVE_UT_TYPE, _HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST,
803 _HAVE_UT_TV are always true.
804 * sysdeps/generic/utmp-equal.h (__utmp_equal): _HAVE_UT_TYPE,
805 _HAVE_UT_ID are always true.
806 * sysdeps/gnu/bits/utmp.h: Move to ...
807 * bits/utmp.h: ... here, replacing the old file.
809 2019-08-12 Florian Weimer <fweimer@redhat.com>
811 * elf/Makefile (tests): Unconditionally add tst-dlopen-aout.
812 [$(build-hardcoded-path-in-tests)] (tst-dlopen-aout-no-pie): Do
814 * elf/tst-dlopen-aout.c: Do not included <assert.h>.
815 (do_test): Open the executable using an absolute path. Print
816 error message to standard output.
818 2019-08-09 DJ Delorie <dj@redhat.com>
820 * elf/dl-tunables.list: Add glibc.malloc.mxfast.
821 * manual/tunables.texi: Document it.
822 * malloc/malloc.c (do_set_mxfast): New.
823 (__libc_mallopt): Call it.
824 * malloc/arena.c: Add mxfast tunable.
825 * malloc/tst-mxfast.c: New.
826 * malloc/Makefile: Add it.
828 2019-08-08 Niklas Hambüchen <mail@nh2.me>
829 Carlos O'Donell <carlos@redhat.com>
832 * malloc/malloc.c (__malloc_info): Account for top chunk.
834 2019-08-07 Joseph Myers <joseph@codesourcery.com>
836 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
837 (SYNC_FILE_RANGE_WRITE_AND_WAIT): New macro.
839 2019-08-06 Joseph Myers <joseph@codesourcery.com>
841 * io/fcntl.h [__USE_GNU] (AT_RECURSIVE): New macro.
843 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
845 * sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define.
847 2019-08-05 Joseph Myers <joseph@codesourcery.com>
849 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU] (CLONE_PIDFD):
852 2019-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
855 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (ALWAYS_USE_VSYSCALL):
857 * sysdeps/unix/sysv/linux/arm/sysdep.h (ALWAYS_USE_VSYSCALL):
859 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
861 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (ALWAYS_USE_VSYSCALL):
863 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
864 (ALWAYS_USE_VSYSCALL): Likewise.
865 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
866 (ALWAYS_USE_VSYSCALL): Likewise.
867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
868 (ALWAYS_USE_VSYSCALL): Likewise.
869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
870 (ALWAYS_USE_VSYSCALL): Likewise.
871 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
873 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
874 (ALWAYS_USE_VSYSCALL): Likewise.
875 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
876 (ALWAYS_USE_VSYSCALL): Likewise.
877 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
879 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
881 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Remove #if USE_VSYSCALL.
882 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Likewise.
883 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL,
884 USE_VSYSCALL): Remove defitions.
887 * sysdeps/unix/sysv/linux/sparc/init-first.c: Remove #ifdef SHARED.
888 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
889 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
893 * sysdeps/unix/sysv/linux/s390/init-first.c: Remove #ifdef SHARED.
894 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
895 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
896 (ALWAYS_USE_VSYSCALL): Define.
897 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
898 (ALWAYS_USE_VSYSCALL): Likewise.
901 * sysdeps/unix/sysv/linux/riscv/init-first.c: Remove #ifdef SHARED.
902 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
903 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
906 * sysdeps/sh/libm-test-ulps: Update.
908 2019-08-05 Florian Weimer <fweimer@redhat.com>
911 * login/uptmp-private.h (struct ufuncs): Remove definition.
912 (__libc_utmp_file_functions, __libc_utmp_unknown_functions)
913 (__libc_utmp_jump_table): Remove declarations.
914 (__libc_setutent, __libc_getutent_r, __libc_getutid_r)
915 (__libc_getutline_r, __libc_pututline, __libc_endutent)
916 (__libc_updwtmp): Declare.
917 * login/getutent_r.c (__libc_utmp_unknown_functions)
918 (__libc_utmp_jump_table, setutent_unknown, getutent_r_unknown)
919 (getutid_r_unknown, getutline_r_unknown, pututline_unknown)
920 (endutent_unknown): Remove definitions.
921 (__setutent): Call __libc_setutent.
922 (__getutent_r): Call __libc_getutent_r.
923 (__pututline): Call __libc_pututline.
924 (__endutent): Call __libc_endutent.
925 * login/getutid_r.c (__getutid_r): Call __libc_getutid_r.
926 * login/getutline_r.c (__getutline_r): Call __libc_getutline_r.
927 * login/updwtmp.c (__updwtmp): Call __libc_updwtmp.
928 * login/utmp_file.c (__libc_utmp_file_functions): Remove definition
929 (__libc_setutent): Rename from stetutent_file. Drop static.
930 (maybe_setutent): New function.
931 (__libc_getutent_r): Rename from getutent_r_file. Drop static.
932 Check for initialization.
933 (__libc_getutid_r): Rename from getutid_r_file. Drop static.
934 Check for initialization.
935 (__libc_getutline_r): Rename from getutline_r_file. Drop static.
936 Check for initialization.
937 (__libc_pututline): Rename from pututline_file. Drop static.
938 Check for initialization.
939 (__libc_endutent): Rename from endutent_file. Drop static. Check
941 (__libc_updwtmp): Rename from updwtmp_file. Drop static.
942 * login/utmpname.c (__utmpname): Call __libc_endutent.
943 * sysdeps/unix/getlogin_r (__getlogin_r): Call __libc_setutent,
944 __libc_getutlien_r, __libc_endutent.
945 * manual/users.texi (Who Logged In, Manipulating the Database):
948 2019-08-05 Alexandra Hajkova <ahajkova@redhat.com>
950 * elf/tst-ldconfig-bad-aux-cache.c: Use support_capture_subprocess.
952 2019-08-02 Joseph Myers <joseph@codesourcery.com>
954 * sysdeps/unix/sysv/linux/syscall-names.list: Update comment.
956 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
957 kernel version number to 5.2.
959 2019-08-01 Raoni Fassina Firmino <raoni@linux.ibm.com>
961 * sysdeps/powerpc/powerpc64/power8/memchr.S: Update power8
962 mnemonics and set .machine power8.
963 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
964 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Likewise.
965 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
966 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
967 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
968 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
969 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
970 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
971 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
972 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
974 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
976 * sysdeps/hppa/fpu/libm-test-ulps: Update.
978 2019-08-01 Florian Weimer <fweimer@redhat.com>
981 * malloc/malloc.c (__malloc_info): Remove unwanted leading
984 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
987 sysdeps/posix/tempname.c (__gen_tempname): get entropy on each
990 2019-08-01 Carlos O'Donell <carlos@redhat.com>
992 * version.h (RELEASE): Set to "stable".
993 (VERSION): Set to "2.30".
994 * include/features.h (__GLIBC_MINOR__): Set to 2.30.
996 * manual/install.texi: Update component versions.
997 * INSTALL: Regenerate.
1000 2019-07-31 Carlos O'Donell <carlos@redhat.com>
1002 * po/be.po: Update translations.
1003 * po/bg.po: Likewise.
1004 * po/ca.po: Likewise.
1005 * po/cs.po: Likewise.
1006 * po/da.po: Likewise.
1007 * po/de.po: Likewise.
1008 * po/el.po: Likewise.
1009 * po/eo.po: Likewise.
1010 * po/es.po: Likewise.
1011 * po/fi.po: Likewise.
1012 * po/fr.po: Likewise.
1013 * po/gl.po: Likewise.
1014 * po/hr.po: Likewise.
1015 * po/hu.po: Likewise.
1016 * po/ia.po: Likewise.
1017 * po/id.po: Likewise.
1018 * po/it.po: Likewise.
1019 * po/ja.po: Likewise.
1020 * po/ko.po: Likewise.
1021 * po/lt.po: Likewise.
1022 * po/nb.po: Likewise.
1023 * po/nl.po: Likewise.
1024 * po/pl.po: Likewise.
1025 * po/pt_BR.po: Likewise.
1026 * po/ru.po: Likewise.
1027 * po/rw.po: Likewise.
1028 * po/sk.po: Likewise.
1029 * po/sl.po: Likewise.
1030 * po/sv.po: Likewise.
1031 * po/tr.po: Likewise.
1032 * po/uk.po: Likewise.
1033 * po/vi.po: Likewise.
1034 * po/zh_CN.po: Likewise.
1035 * po/zh_TW.po: Likewise.
1037 2019-07-31 Florian Weimer <fweimer@redhat.com>
1041 iconv, libio: Revert reference counting changes.
1042 * iconv/gconv_cache.c (__gconv_release_cache): Unconditionally
1043 free the steps array.
1044 * libio/Makefile (tests): Remove tst-wfile-gconv.
1045 (tests-container): Do not add tst-wfile-ascii.
1046 (tst-wfile-gconv-ENV): Do not set.
1047 (generated): Do not add tst-wfile-gconv.mtrace,
1048 tst-wfile-gconv.check.
1049 [($run-built-tests)] (tests-special): Do not add
1050 tst-wfile-gconv-mem.out.
1051 (tst-wfile-gconv.out, tst-wfile-gconv-mem.out): Remove targets.
1052 * libio/iofclose.c (_IO_new_fclose): Call __gconv_release_step
1053 instead of __wcsmbs_clone_conv.
1054 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Remove definition.
1055 * wcsmbs/wcsmbsload.h (__wcsmbs_clone_conv): Remove declaration.
1057 2019-07-30 Joseph Myers <joseph@codesourcery.com>
1059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1060 (__CONTEXT_FUNC_NAME): Restore setting of r31.
1062 2019-07-30 Florian Weimer <fweimer@redhat.com>
1064 * nptl/tst-pthread-getattr.c (allocate_and_test): Change return
1065 type to uintptr_t. Update comment.
1066 (check_stack_top): Adjust.
1068 2019-07-29 Florian Weimer <fweimer@redhat.com>
1070 Linux: Move declaration of getdents64 to <dirent.h>.
1071 * bits/dirent_ext.h: New file.
1072 * dirent/Makefile (headers): Add bits/dirent_ext.h.
1073 * dirent/dirent.h: Include <bits/dirent_ext.h>.
1074 * sysdeps/unix/sysv/linux/bits/dirent_ext.h: New file.
1075 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Remove
1077 * manual/filesys.texi (Low-level Directory Access): Update header
1080 2019-07-29 DJ Delorie <dj@redhat.com>
1081 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1084 * Makeconfig (all-subdirs): Improved source comments.
1085 * Makefile (testroot.pristine/install.stamp): Pass
1086 subdirs='$(sorted-subdirs)' to make install.
1088 2019-07-25 Florian Weimer <fweimer@redhat.com>
1091 * iconv/gconv_cache.c (__gconv_release_cache): Check reference
1092 counter before freeing array.
1094 2019-07-24 H.J. Lu <hongjiu.lu@intel.com>
1097 * sysdeps/x86_64/configure.ac: Check if -mprefer-vector-width=128
1099 * sysdeps/x86_64/configure: Regenerated.
1100 * sysdeps/x86_64/fpu/Makefile (CFLAGS-branred.c): New. Set
1101 to -mprefer-vector-width=128 if supported.
1103 2019-07-24 Florian Weimer <fweimer@redhat.com>
1105 * scripts/build-many-glibcs.py (Context.checkout): Default to
1108 2019-07-24 Florian Weimer <fweimer@redhat.com>
1111 Linux: Use in-tree copy of SO_ constants for !__USE_MISC.
1112 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == socket]
1113 (sysdep_headers): Add bits/socket-constants.h.
1114 (tests-special): Add tst-socket-consts.out.
1115 (tst-socket-consts.out): New target.
1116 * sysdeps/unix/sysv/linux/bits/socket.h: Remove macro tracking
1117 around <asm/unistd.h>.
1118 [__USE_MISC]: Include <bits/types/time_t.h> before <asm/socket.h>.
1119 [!__USE_MISC]: Include <sys/socket-constants.h> instead of
1121 * sysdeps/unix/sysv/linux/bits/tst-socket-consts.py: New file.
1122 * sysdeps/unix/sysv/linux/bits/socket-constants.h: Likewise.
1123 * sysdeps/unix/sysv/linux/alpha/bits/socket-constants.h: Likewise.
1124 * sysdeps/unix/sysv/linux/hppa/bits/socket-constants.h: Likewise.
1125 * sysdeps/unix/sysv/linux/mips/bits/socket-constants.h: Likewise.
1126 * sysdeps/unix/sysv/linux/powerpc/bits/socket-constants.h:
1128 * sysdeps/unix/sysv/linux/sparc/bits/socket-constants.h: Likewise.
1130 2019-07-23 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1133 * Makefile (testroot.pristine/install.stamp): Pass
1134 subdirs='$(all-subdirs)' to make install.
1136 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
1137 the same arguments used in all tests.
1139 2019-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
1141 * NEWS: Mention the AArch64 IFUNC resolver ABI change.
1143 2019-07-20 Egor Kobylkin <egor@kobylkin.com>
1146 * locale/C-translit.h.in: Add Cyrillic transliteration.
1148 2019-07-19 Florian Weimer <fweimer@redhat.com>
1150 * sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
1152 (fsconfig): Add system call name.
1153 (fsmount): Likewise.
1156 (move_mount): Likewise.
1157 (open_tree): Likewise.
1159 2019-07-18 Carlos O'Donell <carlos@redhat.com>
1161 * po/libc.pot: Regenerate.
1163 2019-07-18 Mike Crowe <mac@mcrowe.com>
1165 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
1166 functions recently added to sysdeps/nptl/pthread.h:
1167 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
1168 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
1170 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
1171 pthread_cond_clockwait forwarding functions. There are no internal
1172 users, so it is unnecessary to expose these functions in libc.so.
1173 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
1174 unnecessary ptr___pthread_cond_clockwait member.
1175 * nptl/nptl-init.c (pthread_functions): Remove assignment of
1178 2019-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
1181 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
1182 begin with an uppercase letter now.
1184 (mon): Update from CLDR, reword February from "Kudo" to
1185 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
1186 and August from "Liiqen" to "Leqeeni".
1187 * localedata/locales/aa_ER (mon): Update from CLDR, reword
1188 April from "Agda Baxisso" to "Agda Baxis" and August from
1189 "Leqeeni" to "Liiqen".
1190 * localedata/locales/aa_ER@saaho (mon): Likewise.
1191 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
1192 abbreviated February from "Kud" to "Nah".
1193 (mon): Update from CLDR, reword February from "Kudo" to
1194 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
1196 2019-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
1199 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
1201 2019-07-17 PanderMusubi <pander@users.sourceforge.net>
1204 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
1205 name_mrs, name_miss, and name_ms.
1206 * localedata/locales/nl_NL (LC_NAME): Likewise.
1208 2019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
1211 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
1212 * localedata/locales/en_IE (first_weekday): Likewise.
1214 2019-07-12 Mike Crowe <mac@mcrowe.com>
1216 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
1217 that is only useful if futex_supports_exact_relative_timeouts ()
1219 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
1221 * sysdeps/nptl/futex-internal.h: Remove comment about relative
1222 timeouts potentially being imprecise since it's no longer true.
1223 Remove declaration of futex_supports_exact_relative_timeouts.
1224 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
1225 of futex_supports_exact_relative_timeouts.
1227 * NEWS: Mention recently-added pthread_cond_clockwait,
1228 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
1229 sem_clockwait functions.
1231 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
1232 works like pthread_mutex_timedlock but takes a clockid parameter to
1233 measure the abstime parameter against.
1234 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
1235 * nptl/DESIGN-systemtap-probes.txt: Likewise.
1236 * nptl/pthread_mutex_timedlock.c
1237 (__pthread_mutex_clocklock_common): Rename from
1238 __pthread_mutex_timedlock and add clockid parameter. Pass this
1239 parameter to lll_clocklock and lll_clocklock_elision in place of
1240 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
1241 LIBC_PROBE and validate clockid parameter before calling
1242 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
1243 implementation to add LIBC_PROBE and calls
1244 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
1246 * nptl/Makefile: Add tst-mutex11.c.
1247 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
1248 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
1249 clockid parameters to pthread_mutex_clocklock.
1250 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
1251 clockid parameter to indicate which clock to be used. Call
1252 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
1253 (do_test): Call do_test_clock to separately test
1254 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
1255 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
1256 * nptl/tst-mutex9.c: Likewise.
1257 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
1258 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
1260 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
1262 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
1264 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
1266 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
1268 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
1270 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
1272 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1273 (GLIBC_2.30): Likewise.
1274 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1275 (GLIBC_2.30): Likewise.
1276 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1277 (GLIBC_2.30): Likewise.
1278 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1279 (GLIBC_2.30): Likewise.
1280 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1281 (GLIBC_2.30): Likewise.
1282 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
1284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1285 (GLIBC_2.30): Likewise.
1286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1287 (GLIBC_2.30): Likewise.
1288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1289 (GLIBC_2.30): Likewise.
1290 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1291 (GLIBC_2.30): Likewise.
1292 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1293 (GLIBC_2.30): Likewise.
1294 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1295 (GLIBC_2.30): Likewise.
1296 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
1298 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1299 (GLIBC_2.30): Likewise.
1300 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1301 (GLIBC_2.30): Likewise.
1302 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1303 (GLIBC_2.30): Likewise.
1304 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1305 (GLIBC_2.30): Likewise.
1307 nptl: Rename lll_timedlock to lll_clocklock and add clockid
1308 parameter to indicate the clock that the abstime parameter should
1309 be measured against in preparation for adding
1310 pthread_mutex_clocklock.
1311 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
1312 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
1313 from __lll_timedlock and add clockid parameter.
1314 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
1316 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
1317 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
1318 rather than __gettimeofday so that clockid can be used. This means
1319 that conversion from struct timeval is no longer required.
1320 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
1322 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
1323 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
1324 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
1325 from lll_timedlock_elision, add clockid parameter and use
1326 meaningful names for other parameters. (__pthread_mutex_timedlock):
1327 Pass CLOCK_REALTIME where necessary to lll_clocklock and
1328 lll_clocklock_elision.
1329 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
1330 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
1331 clockid parameter. (__lll_clocklock_elision): Rename from
1332 __lll_timedlock_elision and add clockid parameter.
1333 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1334 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
1335 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
1336 (__lll_lock_elision): Call __lll_clocklock_elision rather than
1337 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
1338 (LLL_LOCK): Likewise.
1339 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1340 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
1342 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
1343 pthread_rwlock_clockwrlock which behave like
1344 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
1345 respectively, except they always measure abstime against the
1346 supplied clockid. The functions currently support CLOCK_REALTIME
1347 and CLOCK_MONOTONIC and return EINVAL if any other clock is
1349 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
1350 pthread_wrlock_clockwrlock.
1351 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
1352 pthread_rwlock_clockwrlock.c.
1353 * nptl/pthread_rwlock_clockrdlock.c: Implement
1354 pthread_rwlock_clockrdlock.
1355 * nptl/pthread_rwlock_clockwrlock.c: Implement
1356 pthread_rwlock_clockwrlock.
1357 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
1358 clockid parameter and verify that it indicates a supported clock on
1359 entry so that we fail even if it doesn't end up being used. Pass
1360 that clock on to futex_abstimed_wait when necessary.
1361 (__pthread_rwlock_wrlock_full): Likewise.
1362 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
1363 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
1364 be used because there's no timeout.
1365 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
1366 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
1367 be used because there is no timeout.
1368 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1369 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
1371 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1372 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
1374 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
1375 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
1376 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
1377 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
1378 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
1379 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
1380 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
1381 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1382 (GLIBC_2.30): Likewise.
1383 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1384 (GLIBC_2.30): Likewise.
1385 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1386 (GLIBC_2.30): Likewise.
1387 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1388 (GLIBC_2.30): Likewise.
1389 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1390 (GLIBC_2.30): Likewise.
1391 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
1392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1393 (GLIBC_2.30): Likewise.
1394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1395 (GLIBC_2.30): Likewise.
1396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1397 (GLIBC_2.30): Likewise.
1398 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1399 (GLIBC_2.30): Likewise.
1400 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1401 (GLIBC_2.30): Likewise.
1402 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1403 (GLIBC_2.30): Likewise.
1404 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
1405 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1406 (GLIBC_2.30): Likewise.
1407 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1408 (GLIBC_2.30): Likewise.
1409 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1410 (GLIBC_2.30): Likewise.
1411 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1412 (GLIBC_2.30): Likewise.
1413 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
1414 pthread_rwlock_clockwrlock timeout tests to match the existing
1415 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
1416 * nptl/tst-rwlock14.c (do_test): Likewise.
1417 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
1418 ancillary output throughout. (tf): Accept thread_args structure so
1419 that rwlock, a clockid and function name can be passed to the
1420 thread. (do_test_clock): Rename from do_test. Accept clockid
1421 parameter to specify test clock. Use the magic clockid value of
1422 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
1423 pthread_rwlock_timedwrlock should be tested, otherwise pass the
1424 specified clockid to pthread_rwlock_clockrdlock and
1425 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
1426 (do_test): Call do_test_clock to test each clockid in turn.
1427 * nptl/tst-rwlock7.c: Likewise.
1428 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
1429 thread_args structure so that the (now int) thread number, the
1430 clockid and the function name can be passed to the thread.
1431 (do_test_clock): Renamed from do_test. Pass the necessary
1432 thread_args when creating the reader and writer threads. Use
1433 xpthread_create and xpthread_join.
1434 (do_test): Call do_test_clock to test each clockid in turn.
1435 * manual/threads.texi: Add documentation for
1436 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
1438 nptl: pthread_rwlock: Move timeout validation into _full functions
1439 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
1440 Check validity of abstime parameter.
1441 (__pthread_rwlock_rwlock_full): Likewise.
1442 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1443 Remove check for validity of abstime parameter.
1444 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1447 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
1448 like pthread_cond_timedwait except it always measures abstime
1449 against the supplied clockid.
1450 * nptl/Makefile: Add tst-cond26 and tst-cond27
1451 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
1452 * sysdeps/nptl/pthread.h: Likewise
1453 * nptl/forward.c: Add __pthread_cond_clockwait
1454 * nptl/forward.c: Likewise
1455 * nptl/pthreadP.h: Likewise
1456 * sysdeps/nptl/pthread-functions.h: Likewise
1457 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
1458 clockid parameter and comment describing why we don't need to check
1459 its value. Use that value when calling
1460 futex_abstimed_wait_cancelable rather than reading the clock from
1461 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
1462 (__pthread_cond_timedwait): Read clock from flags and pass it to
1463 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
1464 function with weak alias from pthread_cond_clockwait.
1465 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
1466 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
1467 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
1468 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
1469 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
1470 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
1471 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
1472 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1473 (GLIBC_2.30): Likewise.
1474 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1475 (GLIBC_2.30): Likewise.
1476 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1477 (GLIBC_2.30): Likewise.
1478 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1479 (GLIBC_2.30): Likewise.
1480 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1481 (GLIBC_2.30): Likewise.
1482 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
1483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1484 (GLIBC_2.30): Likewise.
1485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1486 (GLIBC_2.30): Likewise.
1487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1488 (GLIBC_2.30): Likewise.
1489 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1490 (GLIBC_2.30): Likewise.
1491 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1492 (GLIBC_2.30): Likewise.
1493 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1494 (GLIBC_2.30): Likewise.
1495 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
1496 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1497 (GLIBC_2.30): Likewise.
1498 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1499 (GLIBC_2.30): Likewise.
1500 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1501 (GLIBC_2.30): Likewise.
1502 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1503 (GLIBC_2.30): Likewise.
1504 * nptl/tst-cond11.c (run_test): Support testing
1505 pthread_cond_clockwait too by using a special magic
1506 CLOCK_USE_ATTR_CLOCK value to determine whether to call
1507 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
1508 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
1509 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
1510 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
1511 clocks to pthread_cond_clockwait.
1512 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
1513 struct timespec and pthread_cond_clockwait.
1514 * manual/threads.texi: Document pthread_cond_clockwait.
1516 nptl: Add POSIX-proposed sem_clockwait which behaves just like
1517 sem_timedwait, but measures abstime against the specified clock.
1518 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
1519 clockid parameters to indicate the clock which abstime should be
1521 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
1522 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
1523 __new_sem_wait_slow.
1524 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
1526 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
1527 sem_clockwait.c to match those used for sem_timedwait.c.
1528 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
1529 * nptl/Versions (GLIBC_2.30): Likewise.
1530 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
1531 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
1532 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
1533 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
1534 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
1535 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
1536 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
1537 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1538 (GLIBC_2.30): Likewise.
1539 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1540 (GLIBC_2.30): Likewise.
1541 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1542 (GLIBC_2.30): Likewise.
1543 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1544 (GLIBC_2.30): Likewise.
1545 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1546 (GLIBC_2.30): Likewise.
1547 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
1548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1549 (GLIBC_2.30): Likewise.
1550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1551 (GLIBC_2.30): Likewise.
1552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1553 (GLIBC_2.30): Likewise.
1554 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1555 (GLIBC_2.30): Likewise.
1556 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1557 (GLIBC_2.30): Likewise.
1558 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1559 (GLIBC_2.30): Likewise.
1560 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
1561 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1562 (GLIBC_2.30): Likewise.
1563 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1564 (GLIBC_2.30): Likewise.
1565 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1566 (GLIBC_2.30): Likewise.
1567 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1568 (GLIBC_2.30): Likewise.
1569 * nptl/tst-sem17.c: Add new test for passing invalid clock to
1571 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
1572 tests to also test sem_clockwait.
1573 * manual/threads.texi: Document sem_clockwait.
1575 nptl: Add clockid parameter to futex timed wait calls
1576 * sysdeps/nptl/lowlevellock-futex.h,
1577 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
1578 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
1579 takes a clockid rather than a special clockbit.
1580 * sysdeps/nptl/lowlevellock-futex.h: Add
1581 lll_futex_supported_clockid so that client functions can check
1582 whether their clockid parameter is valid even if they don't
1583 ultimately end up calling lll_futex_clock_wait_bitset.
1584 * sysdeps/nptl/futex-internal.h,
1585 sysdeps/unix/sysv/linux/futex-internal.h
1586 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
1587 clockid_t parameter to indicate which clock the absolute time
1588 passed should be measured against. Pass that clockid onto
1589 lll_futex_clock_wait_bitset. Add invalid clock as reason for
1591 * sysdeps/nptl/futex-internal.h,
1592 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
1593 futex_abstimed_supported_clockid so that client functions can check
1594 whether their clockid parameter is valid even if they don't
1595 ultimately end up calling futex_abstimed_wait.
1596 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
1597 code to calculate relative timeout for
1598 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
1599 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
1600 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
1601 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
1602 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
1603 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
1604 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
1606 2019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1609 * posix/tst-mmap-offset.c: Mention BZ #24699.
1610 (do_test_bz21270): Rename to do_test_large_offset and use
1611 mmap64_maximum_offset to check for maximum expected offset value.
1612 * sysdeps/generic/mmap_info.h: New file.
1613 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
1614 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
1617 2019-07-10 DJ Delorie <dj@redhat.com>
1618 Sergei Trofimovich <slyfox@inbox.ru>
1622 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
1624 * nss/tst-nss-db-endgrent.c: New.
1625 * nss/tst-nss-db-endgrent.root: New.
1626 * nss/tst-nss-db-endpwent.c: New.
1627 * nss/tst-nss-db-endpwent.root: New.
1628 * nss/Makefile: Add new tests.
1629 * support/links-dso-program-c.c: Add selinux dependency.
1630 * support/links-dso-program.cc: Add selinux dependency.
1631 * support/Makefile: Build those with -lselinux if enabled.
1633 2019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
1635 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
1636 DT_AARCH64_VARIANT_PCS check.
1637 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
1638 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
1641 2019-07-10 Andreas Schwab <schwab@suse.de>
1644 * malloc/malloc.h (__malloc_check_init): Don't declare.
1645 * include/malloc.h (__malloc_check_init): Likewise.
1646 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
1647 * manual/memory.texi (__malloc_check_init): Don't mention it.
1649 2019-07-10 Mao Han <han_mao@c-sky.com>
1651 * locale/Makefile: Fix tst-locale-locpath arguments passing.
1653 2019-07-09 Paul A. Clarke <pc@us.ibm.com>
1655 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
1656 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
1658 2019-07-08 DJ Delorie <dj@redhat.com>
1661 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
1662 * io/tst-ftw-lnk.c: New test.
1663 * io/Makefile: Run it.
1665 2019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1667 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
1668 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
1669 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
1670 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
1671 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
1672 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
1673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
1674 Adjust implementation path.
1675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
1676 Adjust implementation path.
1677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
1678 Adjust implementation path.
1679 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1680 (libm-sysdep_routines): Add s_log* objects.
1681 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
1682 CFLAGS-s_logb-power7.c): New fule.
1683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
1685 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
1687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
1689 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
1691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
1692 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
1693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
1695 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
1697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
1699 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
1701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
1702 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
1703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
1705 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
1707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
1709 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
1711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
1712 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
1713 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
1714 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
1715 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1716 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1718 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
1719 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
1720 powerpc32 integer 0 converting to -0.
1722 * benchtests/Makefile (bench-math): Add logb.
1723 * benchtests/logb-inputs: New file.
1724 * benchtests/logbf-inputs: New file.
1726 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
1727 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
1728 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
1729 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
1730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1734 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
1735 sysdep_routines): Add s_modf* objects.
1736 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
1737 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
1738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
1740 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
1742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
1744 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
1746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
1747 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
1748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
1750 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
1752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
1753 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
1755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
1756 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
1758 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
1759 twoM500, twoM600, two60factor, pdnum): Remove.
1760 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
1761 (__ieee754_hypot): Replace static variables with inline definition,
1762 remove ununsed branches.
1763 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1764 (libm-sysdep_routines): Remove e_hypot-* objects.
1765 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
1766 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
1768 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
1769 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
1770 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
1771 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
1772 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
1774 * benchtests/Makefile (bench-math): Add hypot.
1775 * benchtests/hypot-inputs: New file.
1777 2019-07-08 Vincent Chen <vincentc@andestech.com>
1779 * sysdeps/unix/sysv/linux/dl-vdso.h
1780 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
1782 2019-07-04 Andreas Schwab <schwab@suse.de>
1785 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
1787 2019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1789 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
1790 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
1791 * sysdeps/aarch64/sys/ifunc.h: New file.
1792 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
1793 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
1795 2019-07-01 Florian Weimer <fweimer@redhat.com>
1798 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
1799 Replace __vfork with __libpthread_version_placeholder for
1801 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
1802 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
1804 * nptl/pt-vfork.c: Remove file.
1805 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
1806 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
1807 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
1808 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
1809 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
1810 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
1811 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
1812 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
1813 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
1814 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
1815 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
1816 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
1817 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
1818 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1819 Remove vfork, __vfork.
1820 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1822 (GLIBC_2.1.2): Replace __vfork with
1823 __libpthread_version_placeholder.
1824 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1825 Remove vfork, __vfork.
1826 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1828 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1830 (GLIBC_2.1.2): Replace __vfork with
1831 __libpthread_version_placeholder.
1832 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1834 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1835 (GLIBC_2.4): Remove vfork, __vfork.
1836 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1837 (GLIBC_2.0): Remove vfork.
1838 (GLIBC_2.1.2): Replace __vfork with
1839 __libpthread_version_placeholder.
1840 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1841 (GLIBC_2.18): Remove vfork, __vfork.
1842 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1843 (GLIBC_2.0): Remove vfork.
1844 (GLIBC_2.2): Remove __vfork.
1845 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
1846 (GLIBC_2.2): Remove vfork, __vfork.
1847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
1848 (GLIBC_2.0): Remove vfork.
1849 (GLIBC_2.1.2): Replace __vfork with
1850 __libpthread_version_placeholder.
1851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1852 (GLIBC_2.3): Remove vfork, __vfork.
1853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1854 (GLIBC_2.17): Likewise.
1855 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1856 (GLIBC_2.0): Remove vfork.
1857 (GLIBC_2.1.2): Replace __vfork with
1858 __libpthread_version_placeholder.
1859 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1860 (GLIBC_2.2): Remove vfork, __vfork.
1861 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1863 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1864 (GLIBC_2.0): Remove vfork.
1865 (GLIBC_2.1.2): Replace __vfork with
1866 __libpthread_version_placeholder.
1867 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1868 (GLIBC_2.2): Remove vfork, __vfork.
1869 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1870 (GLIBC_2.2.5): Likewise.
1871 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1872 (GLIBC_2.16): Likewise.
1873 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
1874 Remove __errno_location.
1876 2019-07-02 Florian Weimer <fweimer@redhat.com>
1879 * malloc/Depend: Add nptl and htl, due to potential indirect
1880 libpthread dependency of memusagestat.
1882 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
1884 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
1887 2019-07-01 Florian Weimer <fweimer@redhat.com>
1889 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
1890 variant for arm-linux-gnueabi.
1892 2019-07-01 H.J. Lu <hongjiu.lu@intel.com>
1895 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
1897 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
1898 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
1899 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
1900 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
1901 and tst-cet-legacy-mod-6c.
1902 (CFLAGS-tst-cet-legacy-5a.c): New.
1903 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
1904 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
1905 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
1906 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
1907 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
1908 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
1909 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
1910 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
1911 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
1912 ($(objpfx)tst-cet-legacy-5a): Likewise.
1913 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
1914 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
1915 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
1916 ($(objpfx)tst-cet-legacy-5b): Likewise.
1917 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
1918 (tst-cet-legacy-5b-ENV): Likewise.
1919 ($(objpfx)tst-cet-legacy-6a): Likewise.
1920 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
1921 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
1922 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
1923 ($(objpfx)tst-cet-legacy-6b): Likewise.
1924 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
1925 (tst-cet-legacy-6b-ENV): Likewise.
1926 * sysdeps/x86/tst-cet-legacy-5.c: New file.
1927 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
1928 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
1929 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
1930 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
1931 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
1932 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
1933 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
1934 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
1935 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
1936 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
1937 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
1938 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
1939 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
1941 2019-06-30 Paul A. Clarke <pc@us.ibm.com>
1943 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
1944 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
1945 (__fegetround_ISA300) New.
1946 (__fegetround_ISA2) New.
1947 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
1948 (_FPU_MFFS): Move implementation...
1950 (_FPU_MFFSL): Move implementation....
1951 (_FPU_GET_RC_ISA300): Here. New.
1952 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
1953 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
1954 (fegetenv_status): New.
1955 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
1956 instead of fegetenv_register().
1957 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
1959 2019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
1961 * benchtests/bench-math-inlines.c: Increase iterations.
1962 * benchtests/bench-memcmp.c: Likewise.
1963 * benchtests/bench-rawmemchr.c: Likewise.
1964 * benchtests/bench-strcmp.c: Likewise.
1965 * benchtests/bench-strcpy_chk.c: Likewise.
1966 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
1967 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
1968 (INNER_LOOP_ITERS_SMALL): Likewise.
1969 * benchtests/bench-strncat.c: Increase iterations.
1970 * benchtests/bench-strncmp.c: Increase iterations.
1971 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
1972 * benchtests/bench-strrchr.c: Increase iterations.
1973 * benchtests/bench-strstr.c: Keep iterations unchanged.
1974 * benchtests/bench-strtod.c: Increase iterations.
1976 2019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
1978 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
1979 with INNER_LOOP_ITERS_LARGE.
1980 * benchtests/bench-memchr.c: Likewise.
1981 * benchtests/bench-rawmemchr.c: Likewise.
1982 * benchtests/bench-strcat.c: Likewise.
1983 * benchtests/bench-strchr.c: Likewise.
1984 * benchtests/bench-string.h: Likewise.
1985 * benchtests/bench-strlen.c: Likewise.
1986 * benchtests/bench-strncpy.c: Likewise.
1987 * benchtests/bench-strnlen.c: Likewise.
1989 2019-06-28 Florian Weimer <fweimer@redhat.com>
1991 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
1992 Use mmap instead of malloc. malloc with M_PERTURB writes to the
1993 entire allocated memory range.
1995 2019-06-28 Tobias Klauser <tklauser@distanz.ch>
1997 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
1998 (prepare_version_base): New helper inline function.
1999 (prepare_version): New macro replacing PREPARE_VERSION.
2000 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
2002 2019-06-28 Florian Weimer <fweimer@redhat.com>
2005 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
2006 mismatch in a versioned symbol reference.
2007 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
2008 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
2009 tst-sonamemove-dlopen.
2010 (module-names): Add tst-sonamemove-linkmod1,
2011 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
2012 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
2013 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
2014 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
2015 (tst-sonamemove-runmod1.so): Link against
2016 tst-sonamemove-runmod2.so.
2017 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
2018 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
2019 tst-sonamemove-runmod2.so.
2020 (tst-sonamemove-dlopen): Link with -ldl.
2021 (tst-sonamemove-dlopen.out): Likewise.
2022 * elf/tst-sonamemove-link.c: New file.
2023 * elf/tst-sonamemove-dlopen.c: Likewise.
2024 * elf/tst-sonamemove-linkmod1.c: Likewise.
2025 * elf/tst-sonamemove-linkmod1.map: Likewise.
2026 * elf/tst-sonamemove-runmod1.c: Likewise.
2027 * elf/tst-sonamemove-runmod1.map: Likewise.
2028 * elf/tst-sonamemove-runmod2.c: Likewise.
2029 * elf/tst-sonamemove-runmod2.map: Likewise.
2031 2019-06-28 Florian Weimer <fweimer@redhat.com>
2033 * support/xdlfcn.h (xdlvsym): Declare function.
2034 * support/xdlfcn.c (xdlvsym): Define funciton.
2036 2019-06-28 Florian Weimer <fweimer@redhat.com>
2039 io: Remove the copy_file_range emulation.
2040 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
2041 not define and call copy_file_range_compat.
2042 * io/Makefile (tests-static, tests-internal): Do not add
2043 tst-copy_file_range-compat.
2044 * io/copy_file_range-compat.c: Remove file.
2045 * io/copy_file_range.c (copy_file_range): Define as stub.
2046 * io/tst-copy_file_range-compat.c: Remove file.
2047 * io/tst-copy_file_range.c (xdevfile): Remove variable.
2048 (typical_sizes): Update comment. Remove 16K sizes.
2049 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
2051 (find_maximum_offset, pipe_as_source, pipe_as_destination)
2052 (delayed_write_failure_beginning, delayed_write_failure_end)
2053 (cross_device_failure, enospc_failure_1, enospc_failure)
2054 (oappend_failure): Remove functions.
2055 (tests): Adjust test case list.
2056 (do_test): Remove file system search code. Check for ENOSYS from
2057 copy_file_range. Do not free xdevfile.
2058 * manual/llio.texi (Copying File Data): Document ENOSYS error from
2059 copy_file_range. Do not document the EXDEV error, which future
2060 kernels may not report. Update the wording to reflect that
2061 further errors are possible.
2062 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2063 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
2065 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2066 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
2068 * sysdeps/unix/sysv/linux/kernel-features.h
2069 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
2071 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2072 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
2074 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2075 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
2078 2019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
2080 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
2081 used as a mask for the mode argument of __vfprintf_internal.
2082 * stdio-common/printf-parse.h (printf_arg): New union member:
2084 * stdio-common/vfprintf-internal.c
2085 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
2086 (PARSE_FLOAT_VA_ARG): Likewise.
2087 (SETUP_FLOAT128_INFO): Likewise.
2088 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
2089 SETUP_FLOAT128_INFO.
2090 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
2091 floating-point value to the new union member, pa_float128.
2092 (printf_positional): Zero-initialize args_value[cnt] with memset.
2094 2019-06-27 Florian Weimer <fweimer@redhat.com>
2097 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
2098 buffer size if necessary.
2099 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
2101 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
2103 (large_buffer_checks): Likewise.
2104 (do_test): Call large_buffer_checks.
2106 2019-06-26 H.J. Lu <hongjiu.lu@intel.com>
2108 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
2109 * sysdeps/x86/dl-lookupcfg.h: Here.
2110 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
2112 2019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2114 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2115 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
2116 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
2118 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
2119 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
2120 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
2121 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2122 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
2124 * sysdeps/powerpc/powerpc32/fpu/Makefile
2125 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
2126 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
2127 and fctidz optimization.
2128 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
2129 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
2130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2131 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
2132 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
2133 CFLAGS-s_lround-power5+.c): New rule.
2134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
2136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
2138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
2140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
2142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
2144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2154 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2155 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
2156 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2157 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
2158 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2159 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2160 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
2162 2019-06-26 Vincent Chen <vincentc@andestech.com>
2164 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
2165 specific system calls, fp_udfiex_crtl and udftrap.
2167 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
2169 * nptl/tst-eintr1.c (tf1): Add return statement.
2170 (do_test): Remove unused th variable.
2172 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
2174 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
2175 Return error if get_character fails.
2177 2019-06-25 Stefan Liebler <stli@linux.ibm.com>
2179 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2181 2019-06-24 Rafal Luzynski <digitalfreak@lingonborough.com>
2184 * localedata/locales/szl_PL (day): Use the correct Unicode
2185 sequences instead of non-ASCII characters.
2187 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
2190 * localedata/locales/szl_PL (abday): Spelling corrections.
2194 (alt_mon): This, then apply spelling corrections.
2195 (mon): New entry, month names in the genitive case.
2197 2019-06-21 Rafal Luzynski <digitalfreak@lingonborough.com>
2200 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
2201 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
2202 (thousands_sep): Likewise.
2203 (grouping): Set to 3;3.
2205 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
2207 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
2208 PREPARE_VERSION_KNOWN.
2209 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
2210 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
2212 (VDSO_HASH_LINUX_2_6_39): Likewise.
2213 (VDSO_NAME_LINUX_4_9): Likewise.
2214 (VDSO_HASH_LINUX_4_9): Likewise.
2215 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
2216 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2217 (_libc_vdso_platform_setup): Likewise.
2218 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
2219 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
2221 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
2224 2019-06-20 Mike Crowe <mac@mcrowe.com>
2226 * nptl/eintr.c: Use libsupport.
2227 * nptl/tst-eintr1.c: Likewise.
2228 * nptl/tst-eintr2.c: Likewise.
2229 * nptl/tst-eintr3.c: Likewise.
2230 * nptl/tst-eintr4.c: Likewise.
2231 * nptl/tst-eintr5.c: Likewise.
2232 * nptl/tst-mutex-errorcheck.c: Likewise.
2233 * nptl/tst-mutex5.c: Likewise.
2235 * support/test-driver.h: Add verbose_printf macro.
2237 * support/xtime.h: Add xclock_now() helper function.
2239 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
2240 Florian Weimer <fweimer@redhat.com>
2243 * libio/genops.c (_IO_unbuffer_all)
2244 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
2245 buffers and access _IO_FILE_complete members of legacy libio streams.
2246 * libio/tst-bz24228.c: New file.
2247 * libio/tst-bz24228.map: Likewise.
2248 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
2249 [build-shared] (generated): Add tst-bz24228.mtrace and
2251 [run-built-tests && build-shared] (tests-special): Add
2252 $(objpfx)tst-bz24228-mem.out.
2253 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
2254 ($(objpfx)tst-bz24228-mem.out): New rule.
2256 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
2258 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
2259 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
2260 (__FPU_MFFSL): Likewise.
2261 (_FPU_SETCW): Likewise.
2263 2019-06-19 Stan Shebs <stanshebs@google.com>
2264 Raoni Fassina Firmino <raoni@linux.ibm.com>
2267 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
2268 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
2269 static-linking version.
2270 * sysdeps/unix/sysv/linux/powerpc/Makefile
2271 (tests-static): Add test-gettimebasefreq-static.
2273 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
2276 2019-06-19 Rafal Luzynski <digitalfreak@lingonborough.com>
2279 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
2280 between the currency symbol and the minus sign).
2281 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
2283 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
2286 * string/test-strcasestr.c (check_result): Add NULL check.
2287 * nss/tst-field.c (check_rewrite): Likewise.
2288 * benchtests/bench-strstr.c (do_one_test): Likewise.
2289 * string/test-strstr.c (check_result): Likewise.
2290 * argp/argp-test.c (popt): Increase size of buf to 12.
2291 * benchtests/bench-malloc-simple.c (bench):
2292 Do not initialize tests array out of bounds.
2294 2019-06-19 Florian Weimer <fweimer@redhat.com>
2297 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
2300 2019-06-18 Florian Weimer <fweimer@redhat.com>
2303 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
2304 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
2305 fail when called from dlopen.
2306 * elf/Makefile [have-fpie && build-shared] (tests): Add
2308 (tst-dlopen-pie): Link with -ldl.
2309 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
2310 * elf/tst-dlopen-pie.c (do_test): New file.
2312 2019-06-17 Rafal Luzynski <digitalfreak@lingonborough.com>
2315 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
2316 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
2317 between the currency symbol and the minus sign).
2318 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
2319 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
2321 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2323 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
2324 sysdep-rtld-routines): Remove rules.
2325 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
2326 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
2327 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
2328 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
2329 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
2330 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
2331 vDSO path for SHARED.
2332 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
2333 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
2334 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2335 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
2336 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
2337 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
2339 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2340 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
2341 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
2342 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
2343 CFLAGS-s_llround-power5+.c): New rule.
2344 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
2346 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
2348 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
2350 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
2352 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
2354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
2355 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
2356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
2357 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
2358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
2359 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
2360 * sysdeps/powerpc/powerpc64/fpu/Makefile
2361 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
2362 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2363 (libm-sysdep_routines): Remove s_llround-* objects.
2364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
2366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
2368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
2370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
2372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
2374 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2375 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2376 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
2377 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
2378 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
2379 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
2380 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
2381 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
2382 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2383 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
2384 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2385 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
2386 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2387 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
2389 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
2390 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
2391 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
2392 * sysdeps/powerpc/powerpc32/fpu/Makefile
2393 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
2394 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
2396 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
2397 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
2398 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
2399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2400 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
2401 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
2402 CFLAGS-s_lrint-ppc32.c): New rule.
2403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2413 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2414 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2415 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2416 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
2419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
2421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
2423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
2425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
2428 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2429 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
2431 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
2432 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
2434 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
2436 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
2438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
2439 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
2440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
2441 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
2442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
2443 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
2444 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
2445 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
2446 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2447 (libm-sysdep_routines): Remove s_llrint-* objects.
2448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
2450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
2452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
2453 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
2454 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
2455 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
2456 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
2457 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
2458 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2459 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
2460 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2461 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2463 2019-06-14 Florian Weimer <fweimer@redhat.com>
2465 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
2466 argument to __glibc_has_include to inhibit macro expansion.
2468 2019-06-14 Florian Weimer <fweimer@redhat.com>
2470 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
2471 function-like macro, so that __has_include can inhibit expansion
2474 2019-06-13 Joseph Myers <joseph@codesourcery.com>
2476 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
2479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2480 Allow memset in libc.so.
2482 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2484 * sysdeps/aarch64/dl-dtprocnum.h: New file.
2485 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
2486 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
2487 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
2488 symbols at load time.
2489 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
2491 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2493 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
2494 (DT_AARCH64_VARIANT_PCS): Define.
2496 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2499 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
2501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
2505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
2506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
2509 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2510 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
2511 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
2512 Remove s_finite* objects.
2513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
2514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
2515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
2516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
2518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
2519 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2520 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
2521 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2522 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
2524 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
2525 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
2527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2528 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
2530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
2532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
2534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
2535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
2538 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2539 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
2540 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
2541 Remove s_isinf* and s_isinf* objects.
2542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
2543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
2544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
2545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
2547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
2548 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2549 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
2550 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2551 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
2553 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
2554 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
2556 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
2557 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
2558 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2560 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
2562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
2564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
2566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
2568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
2570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
2571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
2573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
2576 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2577 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
2578 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2579 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
2580 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2581 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
2582 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
2583 Remove s_isnan-* and s_isnanf-* objects.
2584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
2585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
2586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
2588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
2589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
2590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
2591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
2593 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2594 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2595 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2596 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2597 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2598 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
2599 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2600 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
2602 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
2603 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
2605 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
2606 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
2607 CFLAGS-bench-isfinite.c): New rule.
2608 * benchtests/isnan-input: New file.
2609 * benchtests/isinf-input: New file.
2610 * benchtests/isfinite-input: New file.
2612 * sysdeps/powerpc/fpu/s_copysign.c: New file.
2613 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
2614 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
2615 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
2616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2617 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
2619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
2627 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2628 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
2629 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
2630 Remove s_copysign-power6 s_copysign-ppc64.
2631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
2633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
2635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
2637 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2638 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
2639 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2640 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
2642 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
2643 round_to_integer_float, round_mode): Add RINT handling.
2644 (reset_fenv_mode): New symbol.
2645 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
2646 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
2647 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
2648 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2649 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2650 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2652 2019-06-12 Florian Weimer <fweimer@redhat.com>
2655 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
2656 * libio/freopen.c (freopen): Use it.
2658 2019-06-12 Florian Weimer <fweimer@redhat.com>
2660 Linux: Deprecate sysctl.
2661 * include/sysctl.h (__sysctl): Remove declaration.
2662 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
2664 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
2665 (sysctl): Add deprecation attribute.
2666 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
2667 directly, to avoid the deprecation warning. Do not include
2669 (__sysctl): Remove hidden alias.
2671 2019-06-12 Florian Weimer <fweimer@redhat.com>
2673 Linux: Use kernel headers for statx definitions if available.
2674 * include/bits/statx-generic.h: New file.
2675 * include/bits/types/struct_statx.h: Likewise.
2676 * include/bits/types/struct_statx_timestamp.h: Likewise.
2677 * io/Makefile (headers): Add bits/statx-generic.h.
2678 * io/bits/statx-generic.h: New file. Partly copied from
2680 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
2681 define original_statx.
2682 * io/bits/types/struct_statx.h: Likewise.
2683 * io/bits/types/struct_statx_timestamp.h: Likewise.
2684 (statx_generic): Use original_statx.
2685 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
2686 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
2688 2019-06-12 Florian Weimer <fweimer@redhat.com>
2690 * misc/sys/cdefs.h (__glibc_has_include): Define.
2692 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2694 * string/memmem.c (__memmem): Rewrite to improve performance.
2696 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2698 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
2700 (two_way_long_needle): Block inlining.
2701 * string/strstr.c (strstr2): Add new function.
2702 (strstr3): Likewise.
2703 (STRSTR): Completely rewrite strstr to improve performance.
2705 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
2707 * benchtests/bench-strstr.c (test_hard_needle): New function.
2709 2019-06-10 Joseph Myers <joseph@codesourcery.com>
2711 * malloc/tst-calloc.c: Include <libc-diag.h>.
2712 (null_test): Ignore -Wunused-result around calls to calloc.
2713 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
2714 (do_test): Ignore -Wunused-result around call to malloc.
2716 2019-06-07 Florian Weimer <fweimer@redhat.com>
2718 Linux: Add getdents64 system call.
2719 * include/dirnent.h (getdents): Add comment and change buffer
2720 argument type to void *.
2721 (getdents64): Likewise. Add hidden prototype.
2722 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
2724 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
2726 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
2727 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
2728 argument type to void *.
2729 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
2730 Add hidden definition and getdents64 alias.
2731 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
2733 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
2734 * manual/filesys.texi (Accessing Directories): Add Low-level
2735 Directory Access node reference.
2736 (Opening a Directory): Cross-reference it.
2737 (Low-level Directory Access): New node.
2738 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
2740 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2742 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2743 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
2745 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
2747 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
2749 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
2751 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2753 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2755 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2757 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2758 (GLIBC_2.30): Likewise.
2759 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2760 (GLIBC_2.30): Likewise.
2761 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2762 (GLIBC_2.30): Likewise.
2763 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2764 (GLIBC_2.30): Likewise.
2765 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2768 (GLIBC_2.30): Likewise.
2769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2770 (GLIBC_2.30): Likewise.
2771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2772 (GLIBC_2.30): Likewise.
2773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2774 (GLIBC_2.30): Likewise.
2775 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2777 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2779 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2781 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2782 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2784 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2786 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2788 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2791 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
2793 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
2797 (_FPU_GETCW): Use __FPU_MFFS().
2798 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
2800 2019-06-06 Florian Weimer <fweimer@redhat.com>
2802 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
2803 internal GCC preprocessor identifier __has_include__.
2805 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
2807 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
2808 with call to equivalent function.
2810 2019-06-04 Florian Weimer <fweimer@redhat.com>
2812 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
2813 (do_release_shlib): Adjust for __twalk_r.
2814 (__gconv_release_shlib): Call __twalk_r.
2816 2019-06-04 Andreas Schwab <schwab@suse.de>
2819 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
2820 no irreversible characters occurred.
2821 * iconv/gconv_simple.c (internal_ucs4_loop)
2822 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
2823 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
2824 (ucs4_internal_loop_single, internal_ucs4le_loop)
2825 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
2826 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
2827 (ucs4le_internal_loop_single): Add const to outend.
2828 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
2829 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
2830 * iconv/Makefile (tests): Add tst-iconv7.
2831 * iconv/tst-iconv7.c: New file.
2833 2019-06-03 Joseph Myers <joseph@codesourcery.com>
2835 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
2837 2019-06-01 Florian Weimer <fweimer@redhat.com>
2839 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
2840 * sysdeps/unix/sysv/linux/arm/Makefile
2841 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
2842 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
2843 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
2844 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
2845 compatibility symbols.
2847 2019-05-31 Florian Weimer <fweimer@redhat.com>
2849 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
2850 system calls for the arm architecture: breakpoint, get_tls,
2851 set_tls, usr26, usr32.
2853 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
2855 * sysdeps/powerpc/Makefile
2856 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
2857 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
2858 Declare '.machine power7' to get support for ldbrx.
2859 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
2860 directive based on the directory of the file.
2861 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2862 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2863 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
2864 '.machine' directive.
2865 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
2866 (VADDUQM_V7_V8): Remove.
2867 (__STRCASECMP): Replace macros with actual instructions.
2868 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
2869 '.machine' directive.
2870 (VCLZD_V8_v7): Remove.
2871 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
2873 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2875 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
2877 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
2879 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2881 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
2883 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
2884 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
2885 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
2886 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
2887 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
2888 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2890 2019-05-28 mansayk <6688000@gmail.com>
2893 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
2895 2019-05-28 mansayk <6688000@gmail.com>
2898 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
2899 (abmon): Likewise, but remove the trailing dots.
2901 2019-05-28 Joseph Myers <joseph@codesourcery.com>
2903 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
2905 2019-05-27 Florian Weimer <fweimer@redhat.com>
2907 * nptl/nptl-init.c: Add comment.
2909 2019-05-24 Florian Weimer <fweimer@redhat.com>
2911 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
2912 struct in_addr/struct in6_addr alignment.
2914 2019-05-23 Joseph Myers <joseph@codesourcery.com>
2916 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2917 (F_SEAL_FUTURE_WRITE): New macro.
2919 2019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
2921 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
2922 * elf/tst-ldconfig-bad-aux-cache.c: New file.
2923 * elf/tst-ldconfig_aux-cache.root: New directory.
2924 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
2925 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
2926 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
2928 2019-05-22 Zack Weinberg <zackw@panix.com>
2930 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
2932 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
2933 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
2935 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
2936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
2937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
2940 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
2941 Issue an #error if used with a compiler in SPE-float mode.
2942 * sysdeps/powerpc/powerpc32/__longjmp_common.S
2943 * sysdeps/powerpc/powerpc32/setjmp_common.S
2944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
2945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
2946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
2947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
2948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
2949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2950 Remove code to preserve SPE register state.
2952 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2953 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
2954 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
2955 Remove __SPE__ ifndefs.
2957 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
2959 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
2960 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
2961 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
2962 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
2963 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
2964 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
2965 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
2966 (INNER_LOOP_ITERS_MEDIUM): New define.
2967 (INNER_LOOP_ITERS_SMALL): New define.
2968 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
2969 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
2970 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
2971 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
2972 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
2974 2019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
2976 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
2978 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
2979 (SEMTIMEDOP_IPC_ARGS): Likewise.
2981 2019-05-21 Florian Weimer <fweimer@redhat.com>
2984 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
2985 before updating __counter field and release it afterwards. Add
2987 * iconv/gconv.h (struct __gconv_step): Mention synchronization
2988 requirement for __counter member.
2990 2019-05-21 Florian Weimer <fweimer@redhat.com>
2993 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
2994 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
2995 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
2996 instead of __gconv_release_step.
2997 * libio/Makefile (tests): Add tst-wfile-gconv.
2998 (tests-container): Add tst-wfile-ascii.
2999 (tst-wfile-gconv-ENV): Enable mtrace.
3000 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
3001 (tests-special): Add tst-wfile-gconv-mem.out.
3002 (tst-wfile-gconv.out): Depend on locales.
3003 (tst-wfile-gconv-mem.out): Add mtrace rule.
3004 * libio/tst-wfile-ascii.c: New file.
3005 * libio/tst-wfile-gconv.c: Likewise.
3007 2019-05-20 Florian Weimer <fweimer@redhat.com>
3010 libio: Remove codecvt vtable.
3011 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
3013 * libio/iofgetpos.c (_IO_new_fgetpos): Call
3014 __libio_codecvt_encoding.
3015 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
3016 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
3017 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
3018 * libio/iofwide.c (__libio_codecvt): Remove variable.
3019 (_IO_fwide): Do not copy __libio_codecvt.
3020 (__libio_codecvt_out): Rename from do_out and export.
3021 (do_unshift): Remove function.
3022 (__libio_codecvt_in): Rename from do_in and export.
3023 (__libio_codecvt_encoding): Rename from do_encoding and export.
3024 (do_always_noconv): Remove function.
3025 (__libio_codecvt_length): Rename from do_length and export.
3026 (do_max_length): Remove function.
3027 * libio/libio.h (enum __codecvt_result): Remove definition; moved
3029 (struct _IO_codecvt): Remove fields __codecvt_destr,
3030 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
3031 __codecvt_do_encoding, __codecvt_do_always_noconv,
3032 __codecvt_do_length, __codecvt_do_max_length.
3033 * libio/libioP.h (enum __codecvt_result): Define; moved from
3035 (__libio_codecvt_out, __libio_codecvt_in)
3036 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
3038 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
3039 (_IO_wfile_underflow): Call __libio_codecvt_in.
3040 (_IO_wfile_underflow): Likewise.
3041 (_IO_wfile_underflow_mmap): Likewise.
3042 (_IO_wfile_sync): Call __libio_codecvt_encoding,
3043 __libio_codecvt_length.
3044 (adjust_wide_data): Call __libio_codecvt_encoding,
3046 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
3047 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
3048 __libio_codecvt_length.
3050 2019-05-20 Florian Weimer <fweimer@redhat.com>
3052 * support/support.h (support_sbindir_prefix): Declare.
3053 (support_install_rootsbindir): Update comment.
3054 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
3055 * support/support_paths.c (support_sbindir_prefix): Define.
3057 2019-05-20 Mike Crowe <mac@mcrowe.com>
3059 * support/timespec.c: Add backslash to correct newline in failure
3062 * support/timespec.h: Correct confusing comment.
3064 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3066 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
3068 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
3069 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
3070 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
3071 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
3074 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
3077 2019-05-20 Joseph Myers <joseph@codesourcery.com>
3079 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
3080 (NT_ARM_PACG_KEYS): Likewise.
3082 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
3084 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
3085 (tcache_put): Remove redundant assert.
3086 (tcache_get): Remove redundant asserts.
3087 (__libc_malloc): Check tcache count is not zero.
3088 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
3090 2019-05-17 Florian Weimer <fweimer@redhat.com>
3092 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
3094 2019-05-16 Joseph Myers <joseph@codesourcery.com>
3096 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3097 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
3099 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
3101 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3102 (__ASSUME_STATX): Likewise.
3104 2019-05-16 Florian Weimer <fweimer@redhat.com>
3106 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
3108 (LINE_PARSER): Do not map IPv4 addresses.
3109 (internal_nis_gethostent_r): Remove flags argument. Adjust call
3111 (_nss_nis_gethostent_r): Always pass AF_INET to
3112 internal_nis_gethostent_r.
3113 (internal_gethostbyname2_r): Remove flags argument. Adjust call
3115 (_nss_nis_gethostbyname2_r): Adjust call to
3116 internal_nis_gethostent_r.
3117 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
3118 call to internal_nis_gethostent_r.
3119 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
3121 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
3122 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
3123 Remove flags argument. Do not map IPv4 addresses.
3124 (internal_nisplus_gethostent_r): Adjust call to
3125 _nss_nisplus_parse_hostent.
3126 (internal_gethostbyname2_r): Remove flags argument. Adjust call
3127 to _nss_nisplus_parse_hostent.
3128 (_nss_nisplus_gethostbyname2_r): Adjust call to
3129 internal_gethostbyname2_r.
3130 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
3131 Adjust call to internal_gethostbyname2_r.
3132 (_nss_nisplus_gethostbyaddr_r): Adjust call to
3133 _nss_nisplus_parse_hostent.
3134 (_nss_nisplus_gethostbyname4_r): Adjust call to
3135 internal_gethostbyname2_r.
3137 2019-05-16 Florian Weimer <fweimer@redhat.com>
3139 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
3141 (LINE_PARSER): Remove address mapping.
3142 (EXTRA_ARGS_VALUE): Remove flags argument.
3143 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
3144 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
3145 gethostbyname3_multi.
3146 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
3147 _nss_files_gethostbyname3_r.
3148 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
3150 2019-05-16 Florian Weimer <fweimer@redhat.com>
3152 * support/support_test_compare_blob.c (report_blob): Report
3153 incorrect NULL blobs.
3155 2019-05-15 Mark Wielaard <mark@klomp.org>
3158 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
3159 __libc_once_get (once) and static_buf == NULL.
3160 (__dlerror): Check we have a valid key, set result to static_buf
3163 2019-05-15 Andreas Schwab <schwab@suse.de>
3166 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
3167 __codecvt_do_length.
3168 * libio/Makefile (tests): Add tst-wfile-sync.
3169 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
3170 * libio/tst-wfile-sync.c: New file.
3171 * libio/tst-wfile-sync.input: New file.
3173 2019-05-15 Florian Weimer <fweimer@redhat.com>
3175 nss: Turn __nss_database_lookup into a compatibility symbol.
3176 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
3177 __nss_database_lookup.
3178 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
3179 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
3180 __nss_database_lookup.
3181 (__nss_next): Move to …
3182 * nss/compat-lookup.c (nss_next): … here. Change it to fail
3184 (__nss_database_lookup): New function.
3185 * nss/Versions (GLIBC_2.0): Update comment.
3186 (GLIBC_PRIVATE): Export __nss_database_lookup2.
3187 * grp/initgroups.c (internal_getgrouplist): Call
3188 __nss_database_lookup2 instead of __nss_database_lookup.
3189 * nscd/aicache.c (addhstaiX): Likewise.
3190 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3191 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3192 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
3193 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
3194 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
3196 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
3197 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
3198 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3200 2019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
3202 * support/support.h (support_install_rootsbindir): New variable.
3203 * support/support_paths.c: Likewise.
3204 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
3206 2019-05-15 Florian Weimer <fweimer@redhat.com>
3208 * iconv/gconv.h (__gconv_transliterate): Move declaration …
3209 * iconv/gconv_int.h (__gconv_transliterate): … here.
3210 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
3211 * iconv/skeleton.c: Likewise.
3213 2019-05-14 Florian Weimer <fweimer@redhat.com>
3215 Linux: Add the tgkill function.
3216 * bits/signal_ext.h: New file.
3217 * manual/signal.texi (Signaling Another Process): Document tgkill.
3218 * signal/Makefile (headers): Add bits/signal_ext.h.
3219 * signal/signal.h: Include <bits/signal_ext.h>.
3220 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
3221 (tst-tgkill): Link with libpthread.
3222 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
3223 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
3224 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
3225 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
3227 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3228 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3229 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
3230 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3231 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3232 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3233 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3234 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3235 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3236 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3237 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
3239 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3240 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3241 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
3248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
3250 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
3251 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3252 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3253 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3254 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3255 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3256 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3257 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3259 2019-05-14 Carlos O'Donell <carlos@redhat.com>
3261 * manual/search.texi (Tree Search Function): Adjust twalk_r
3264 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3267 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
3270 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
3271 * support/support.h (support_bindir_prefix): New variable.
3272 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
3274 * config.make.in (bindir): New variable.
3276 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
3277 (lll_trylock): Call __lll_trylock.
3278 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
3279 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
3280 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
3281 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3282 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
3283 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
3284 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3285 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3286 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
3287 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
3288 lowlevellock-futex.h.
3290 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
3291 initialization for LLL_LOCK_INITIALIZER different than 0.
3292 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
3293 Assume LLL_LOCK_INITIALIZER being 0.
3294 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
3295 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
3297 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
3298 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
3300 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
3301 Optimize futex call and add systemtap probe.
3303 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
3304 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
3305 __libc_disable_asynccancel, __librt_enable_asynccancel,
3306 __libc_disable_asynccancel, __librt_enable_asynccancel,
3307 __librt_disable_asynccancel): Move to ...
3308 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
3309 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
3310 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
3311 * sysdeps/generic/single-thread.h: New file.
3312 * sysdeps/unix/sysdep.h: Include single-thread.h.
3313 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
3314 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3316 2019-05-08 Mike FABIAN <mfabian@redhat.com>
3319 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
3320 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
3322 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
3323 * localedata/unicode-gen/PropList.txt: Likewise.
3324 * localedata/unicode-gen/UnicodeData.txt: Likewise.
3325 * localedata/charmaps/UTF-8: Regenerate.
3326 * localedata/locales/i18n_ctype: Likewise.
3327 * localedata/locales/tr_TR: Likewise.
3328 * localedata/locales/translit_circle: Likewise.
3329 * localedata/locales/translit_cjk_compat: Likewise.
3330 * localedata/locales/translit_combining: Likewise.
3331 * localedata/locales/translit_compat: Likewise.
3332 * localedata/locales/translit_font: Likewise.
3333 * localedata/locales/translit_fraction: Likewise.
3335 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
3338 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
3339 (do_set_tcache_count): Only update if count is small enough.
3340 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
3342 2019-05-10 Florian Weimer <fweimer@redhat.com>
3344 * nptl/sem_close.c (struct walk_closure): Define.
3345 (walker): Adjust for __twalk_r.
3346 (sem_close): Call __twalk_r.
3348 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3350 * support/timespec.c (test_timespec_before_impl,
3351 test_timespec_equal_or_after_impl): print timespec member as intmax_t
3354 2019-05-09 Mike Crowe <mac@mcrowe.com>
3356 * nptl/tst-abstime.c: Use libsupport.
3358 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
3359 small bug where only tv.tv_usec was checked which could cause an
3360 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
3363 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
3366 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
3367 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
3369 * nptl/tst-cond11.c: Use libsupport.
3371 * support/timespec.h: New file. Provide timespec helper functions
3372 along with macros in the style of those in check.h.
3373 * support/timespec.c: New file. Implement check functions declared
3374 in support/timespec.h.
3375 * support/timespec-add.c: New file from gnulib containing
3376 timespec_add implementation that handles overflow.
3377 * support/timespec-sub.c: New file from gnulib containing
3378 timespec_sub implementation that handles overflow.
3379 * support/README: Mention timespec.h.
3381 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3384 * nptl/Makefile: Move tst-eintr1 to xtests.
3386 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3388 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
3390 (round_mode): Add definition for TRUNC.
3391 * sysdeps/powerpc/fpu/s_trunc.c: New file.
3392 * sysdeps/powerpc/fpu/s_truncf.c: New file.
3393 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
3394 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3395 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
3397 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
3399 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
3401 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
3403 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
3405 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
3407 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
3409 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
3411 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
3412 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
3413 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
3414 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
3415 s_truncf-power5+, and s_truncf-ppc64.
3416 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
3417 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
3419 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
3420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
3421 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
3422 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
3424 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
3426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
3427 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
3428 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3429 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
3430 s_truncf-power5+, and s_truncf-ppc64.
3431 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
3433 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
3434 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
3436 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
3437 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3438 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3439 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
3440 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
3442 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
3444 (round_mode): Add definition for ROUND.
3445 (round_to_integer_float): Likewise.
3446 * sysdeps/powerpc/fpu/s_round.c: New file.
3447 * sysdeps/powerpc/fpu/s_roundf.c: New file.
3448 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
3449 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3450 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
3452 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
3454 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
3456 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
3458 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
3460 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
3462 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
3464 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
3466 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
3467 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
3468 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
3469 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
3470 s_roundf-power5+, and s_roundf-ppc64.
3471 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
3472 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
3474 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
3475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
3476 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
3477 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
3479 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
3481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
3482 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
3483 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3484 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
3485 s_roundf-power5+, and s_roundf-ppc64.
3486 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
3488 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
3489 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
3491 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
3492 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3493 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3494 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
3495 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
3497 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
3499 (round_mode): Add definition for FLOOR.
3500 * sysdeps/powerpc/fpu/s_floor.c: New file.
3501 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
3502 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
3503 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
3506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
3508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
3510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
3512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
3514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
3516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
3518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
3520 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
3521 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
3522 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3523 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
3524 s_floorf-power5+, and s_floorf-ppc64.
3525 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
3526 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
3528 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
3529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
3530 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
3531 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
3533 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
3535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
3536 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
3537 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3538 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
3539 s_floorf-power5+, and s_floorf-ppc64.
3540 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
3542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
3544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
3546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
3548 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3549 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3550 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
3551 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
3553 2019-05-08 Mike Crowe <mac@mcrowe.com>
3555 * support/xclock_gettime.c (xclock_gettime): New file. Provide
3556 clock_gettime wrapper for use in tests that fails the test rather
3557 than returning failure.
3559 * support/xtime.h: New file to declare xclock_gettime.
3561 * support/Makefile: Add xclock_gettime.c.
3563 * support/README: Mention xtime.h.
3565 2019-05-08 Florian Weimer <fweimer@redhat.com>
3567 malloc/tst-mallocfork2: Use process-shared barriers.
3568 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
3569 (signal_count, sigusr1_sender_pid): Remove.
3570 (iterations): Define constant.
3571 (shared): New variable.
3572 (sigusr1_received): Update comment.
3573 (sigusr1_handler): Do not send SIGSTOP to the sender process.
3574 (signal_sender): Optional use barriers to avoid sending signals
3575 during irrelevant times.
3576 (do_it): Initialize variable shared. Use xfork for error
3577 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
3578 the iteration count, independent of signal delivery. Check for
3579 deadlocks in fork. Introduce barriers for reducing signal
3580 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
3581 replaced by the barriers. Count signals during fork/free/malloc
3583 * malloc/Makefile (tst-mallocfork): Link with libpthread.
3585 2019-05-07 Joseph Myers <joseph@codesourcery.com>
3587 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3589 (clock_adjtime64) New syscall.
3590 (clock_getres_time64) Likewise.
3591 (clock_gettime64) Likewise.
3592 (clock_nanosleep_time64) Likewise.
3593 (clock_settime64) Likewise.
3594 (futex_time64) Likewise.
3595 (io_pgetevents_time64) Likewise.
3596 (io_uring_enter) Likewise.
3597 (io_uring_register) Likewise.
3598 (io_uring_setup) Likewise.
3599 (mq_timedreceive_time64) Likewise.
3600 (mq_timedsend_time64) Likewise.
3601 (pidfd_send_signal) Likewise.
3602 (ppoll_time64) Likewise.
3603 (pselect6_time64) Likewise.
3604 (recvmmsg_time64) Likewise.
3605 (rt_sigtimedwait_time64) Likewise.
3606 (sched_rr_get_interval_time64) Likewise.
3607 (semtimedop_time64) Likewise.
3608 (timer_gettime64) Likewise.
3609 (timer_settime64) Likewise.
3610 (timerfd_gettime64) Likewise.
3611 (timerfd_settime64) Likewise.
3612 (utimensat_time64) Likewise.
3614 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
3615 version to 9 branch.
3617 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
3619 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
3620 __memmove_thunderx2 to the list of implementations
3621 * sysdeps/aarch64/multiarch/memmove.c: Likewise
3622 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
3623 (__memmove_thunderx2): Rewritten using SIMD ld/st
3624 (__memcpy_thunderx2): Fixed handling overlapping cases.
3625 Used ldp/stp instead of ldr/str if possible. Made loops
3628 2019-05-03 Florian Weimer <fweimer@redhat.com>
3630 * misc/tst-tsearch.c (walk_tree): Add more error checking.
3632 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3635 * elf/tst-pldd.c (in_str_list): New function.
3636 (do_test): Add default names for ld and libc as one option.
3638 2019-05-02 Florian Weimer <fweimer@redhat.com>
3640 misc: Add twalk_r function.
3641 * include/search.h (__twalk_r): Declare.
3642 * manual/examples/twalk.c: New file.
3643 * manual/search.texi (Tree Search Function): Document twalk_r.
3644 * misc/Versions (2.30): Export twalk_r.
3645 (GLIBC_PRIVATE): Export __twalk_r.
3646 * misc/search.h [__USE_GNU] (twalk_r): Declare.
3647 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
3648 (twalk_r): Add weak alias.
3649 * misc/tst-tsearch.c (struct walk_trace_element): Define.
3650 (walk_trace): New variable.
3651 (struct twalk_with_twalk_r_closure): Define.
3652 (twalk_with_twalk_r_action): New function.
3653 (twalk_with_twalk_r): Likewise.
3654 (walk_action): Call walk_trace_add.
3655 (walk_tree_with): Rename from walk_tree. Add walk argument.
3656 (walk_tree): New function.
3657 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
3658 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
3660 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3662 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3663 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
3664 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
3665 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
3666 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
3667 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3669 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3671 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3673 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3674 (GLIBC_2.30): Likewise.
3675 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3676 (GLIBC_2.30): Likewise.
3677 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3678 (GLIBC_2.30): Likewise.
3679 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3680 (GLIBC_2.30): Likewise.
3681 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3684 (GLIBC_2.30): Likewise.
3685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3686 (GLIBC_2.30): Likewise.
3687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3688 (GLIBC_2.30): Likewise.
3689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3690 (GLIBC_2.30): Likewise.
3691 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3693 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3695 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3697 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3698 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3700 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3702 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3704 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3707 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
3709 Make mktime etc. compatible with __time64_t
3710 Keep these functions compatible with Gnulib while adding
3711 __time64_t support. The basic idea is to move private API
3712 declarations from include/time.h to time/mktime-internal.h, since
3713 the former file cannot easily be shared with Gnulib whereas the
3715 Also, do some other minor cleanup while in the neighborhood.
3716 * include/time.h: Include stdbool.h, time/mktime-internal.h.
3717 (__mktime_internal): Move this prototype to time/mktime-internal.h,
3718 since Gnulib needs it.
3719 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
3720 Move these macros to time/mktime-internal.h, since Gnulib needs them.
3721 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
3722 (in_time_t_range): New static function.
3723 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
3724 so that glibc users are not tempted to use __time64_t.
3725 * time/mktime-internal.h: Rewrite so that it does both glibc
3726 and Gnulib work. Include time.h if not _LIBC.
3727 (mktime_offset_t) [!_LIBC]: Define for gnulib.
3728 (__time64_t): New type or macro, moved here from
3730 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
3731 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
3732 from include/time.h.
3733 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
3734 New macros, taken from GNulib.
3735 (__mktime_internal): New prototype, moved here from include/time.h.
3736 * time/mktime.c (mktime_min, mktime_max, convert_time)
3737 (ranged_convert, __mktime_internal, __mktime64):
3738 * time/timegm.c (__timegm64):
3739 Use __time64_t, not time_t.
3740 * time/mktime.c: Stop worrying about whether time_t is floating-point.
3741 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
3743 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
3744 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
3745 for libc_hidden_def.
3747 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
3749 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
3751 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
3754 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
3755 from `-Wmaybe-uninitialized'.
3756 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
3758 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3760 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
3762 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
3763 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
3764 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
3765 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
3766 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
3767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3768 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
3769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
3771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
3773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
3775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
3777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
3779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
3781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
3783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
3785 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
3786 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
3787 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
3788 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
3790 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
3792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
3793 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
3794 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
3796 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
3798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
3799 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
3801 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3802 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
3803 s_ceilf-power5+, and s_ceilf-ppc64.
3804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
3806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
3807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
3808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
3809 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
3810 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
3811 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
3812 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
3814 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
3815 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
3816 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
3818 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
3820 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
3821 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
3822 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
3823 (sem_getvalue): Likewise.
3825 2019-04-26 Florian Weimer <fweimer@redhat.com>
3827 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
3828 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
3830 2019-04-26 Florian Weimer <fweimer@redhat.com>
3832 Makeconfig: Move -Wl,-rpath-link options before library references.
3833 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
3834 (link-libc): Remove $(link-libc-rpath-link).
3836 2019-04-25 Florian Weimer <fweimer@redhat.com>
3838 * Makeconfig (+link-pie-before-libc): Remove $(CC).
3839 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
3840 (+link-static-before-libc): Remove $(CC).
3841 (+link-static, +link-static-tests): Add $(CC).
3842 (+link-before-libc): Remove $(CC).
3843 (+link, +link-pie, +link-pie-printers): Add $(CC).
3845 2019-04-26 Florian Weimer <fweimer@redhat.com>
3847 * Makeconfig (+link-pie-before-libc): Remove $(CC).
3848 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
3849 (+link-static-before-libc): Remove $(CC).
3850 (+link-static, +link-static-tests): Add $(CC).
3851 (+link-before-libc): Remove $(CC).
3852 (+link, +link-pie, +link-pie-printers): Add $(CC).
3854 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
3857 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
3859 2019-04-25 Florian Weimer <fweimer@redhat.com>
3861 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
3862 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
3863 (bench-link-targets): New variable.
3864 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
3866 2019-04-25 Florian Weimer <fweimer@redhat.com>
3868 Also enable BIND_NOW for programs if --enable-bind-now.
3869 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
3870 (+link-pie): Use $(link-extra-flags).
3871 (+link-static): Likewise.
3872 [! $(build-pie-default)] (+link): Likewise.
3873 * manual/install.texi (Configuring and compiling): Update
3874 --enable-bind-now description.
3875 * INSTALL: Regenerated.
3877 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
3879 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
3880 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
3882 2019-04-24 Mike Frysinger <vapier@gentoo.org>
3885 * malloc/Makefile (others): Add memusagestat.
3886 ($(objpfx)memusagestat): Delete rule.
3887 (LDLIBS-memusagestat): New variable.
3889 2019-04-24 Florian Weimer <fweimer@redhat.com>
3891 * locale/Makefile (tests-special): Guard setting by
3892 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
3893 to run while cross-compiling.
3895 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3898 * elf/Makefile (tests-container): Add tst-pldd.
3899 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
3900 (E(find_maps)): Avoid use alloca, use default read file operations
3901 instead of explicit LFS names, and fix infinite loop.
3902 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
3903 (get_process_info): Use _Static_assert instead of assert, use default
3904 directory operations instead of explicit LFS names, and free some
3906 * elf/tst-pldd.c: New file.
3908 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
3910 * malloc/arena.c (do_set_mallopt_check): Removed.
3912 2019-04-23 Florian Weimer <fweimer@redhat.com>
3914 locale: Add LOCPATH diagnostics to the locale program.
3915 * locale/programs/locale.c (setlocale_failed): New variable.
3916 (try_setlocale): New function.
3917 (quote_string): Likewise.
3918 (setlocale_diagnostics): Likewise.
3919 (main): Call try_setlocale instead of setlocale. Call
3920 setlocale_diagnostics.
3921 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
3922 (tst-locale-locpath.out): New target.
3923 * locale/tst-locale-locpath.sh: New file.
3925 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3927 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
3930 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3933 * malloc/hooks.c (malloc_check, realloc_check): Use
3934 __builtin_add_overflow on overflow check and adapt to
3935 checked_request2size change.
3936 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
3937 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
3938 allocation size to PTRDIFF_MAX.
3939 (REQUEST_OUT_OF_RANGE): Remove macro.
3940 (checked_request2size): Change to inline function and limit maximum
3941 requested size to PTRDIFF_MAX.
3942 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
3943 maximum allocation size to PTRDIFF_MAX.
3944 (_mid_memalign): Use _int_memalign call for overflow check.
3945 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
3946 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
3947 limit maximum requested size to PTRDIFF_MAX.
3948 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
3949 valloc, pvalloc): Add __attribute_alloc_size__.
3950 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
3951 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
3952 larger than PTRDIFF_MAX.
3953 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
3954 around tests of malloc with negative sizes.
3955 * malloc/tst-posix_memalign.c (do_test): Likewise.
3956 * malloc/tst-pvalloc.c (do_test): Likewise.
3957 * malloc/tst-valloc.c (do_test): Likewise.
3958 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
3959 with resulting size allocation larger than PTRDIFF_MAX with
3960 reallocarray_nowarn.
3961 (reallocarray_nowarn): New function.
3962 * NEWS: Mention the malloc function semantic change.
3964 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3966 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
3967 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
3969 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
3970 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
3971 * sysdeps/powerpc/fpu/s_fma.c: New file.
3972 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
3974 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
3975 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
3977 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
3978 the magic flag store.
3979 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
3981 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
3983 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
3984 Remove rt_sigreturn call.
3986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3987 Remove rt_sigreturn call.
3988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
3991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
3993 * support/Makefile (libsupport-routines): Add support_subprocess,
3994 xposix_spawn, xposix_spawn_file_actions_addclose, and
3995 xposix_spawn_file_actions_adddup2.
3996 (tst-support_capture_subprocess-ARGS): New rule.
3997 * support/capture_subprocess.h (support_capture_subprogram): New
3999 * support/support_capture_subprocess.c (support_capture_subprocess):
4000 Refactor to use support_subprocess and support_capture_poll.
4001 (support_capture_subprogram): New function.
4002 * support/tst-support_capture_subprocess.c (write_mode_to_str,
4003 str_to_write_mode, test_common, parse_int, handle_restart,
4004 do_subprocess, do_subprogram, do_multiple_tests): New functions.
4005 (do_test): Add support_capture_subprogram tests.
4006 * support/subprocess.h: New file.
4007 * support/support_subprocess.c: Likewise.
4008 * support/xposix_spawn.c: Likewise.
4009 * support/xposix_spawn_file_actions_addclose.c: Likewise.
4010 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
4011 * support/xspawn.h: Likewise.
4013 2019-04-17 Mike Gerow <gerow@google.com>
4015 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
4018 2019-04-11 Florian Weimer <fweimer@redhat.com>
4020 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
4021 domain with empty string.
4022 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4024 2019-04-11 Florian Weimer <fweimer@redhat.com>
4026 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
4028 (alloc_buffer_next): Change return type to non-const. Update
4031 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
4033 * manual/time.texi (Formatting Calendar Time): Add missing percent
4034 sign to conversion specifier.
4036 2019-04-09 Carlos O'Donell <carlos@redhat.com>
4037 Kwok Cheung Yeung <kcy@codesourcery.com>
4040 * malloc/mtrace.c: Define prototypes for all hooks.
4041 (set_default_hooks): New function.
4042 (set_trace_hooks): Likewise.
4043 (save_default_hooks): Likewise.
4044 (tr_freehook): Use new s*_hooks functions.
4045 (tr_mallochook): Likewise.
4046 (tr_reallochook): Likewise.
4047 (tr_memalignhook): Likewise.
4049 (muntrace): Likewise.
4051 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4053 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
4054 (generic_stpcpy): New function.
4055 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
4056 (generic_stpncpy): New function.
4057 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
4058 (generic_strcat): New function.
4059 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
4060 (generic_strcpy): New function.
4061 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
4062 (STUPID_STRNCAT): Remove function.
4063 (generic_strncat): New function.
4064 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
4065 (STUPID_STRNCPY): Remove function.
4066 (generic_strncpy): New function.
4067 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
4068 (generic_strnlen): New function.
4069 (memchr_strnlen): New function.
4070 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
4071 (memchr_strlen): Likewise.
4073 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4075 * benchtests/bench-strstr.c (input): Add realistic input text.
4076 (stupid_strstr): Remove function.
4077 (basic_strstr): Add function.
4078 (twoway_strstr): Add function.
4079 (do_one_test): Add result checking.
4080 (do_test): Use new input text. Remove accidental early matches.
4081 (test_main): Improve range of tests, reduce unaligned cases.
4083 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4085 * benchtests/bench-memmem.c (simple_memmem): Remove function.
4086 (basic_memmem): Add function.
4087 (twoway_memmem): Add function.
4089 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4091 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
4092 * benchtests/bench-malloc-thread.c: Likewise.
4093 * benchtests/bench-skeleton.c: Likewise.
4094 * benchtests/bench-strtod.c: Likewise.
4095 * benchtests/bench-timing.h: Likewise.
4097 2019-04-08 Florian Weimer <fweimer@redhat.com>
4099 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
4101 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
4102 RES_INSECURE2 security checks.
4103 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
4104 RES_INSECURE2 handling.
4106 2019-04-08 Florian Weimer <fweimer@redhat.com>
4108 resolv: Remove support for RES_USE_INET6 and the inet6 option.
4109 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
4110 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
4112 * resolv/Makefile (tests): Remove tst-res_use_inet6.
4113 (tests-internal): Update justification for tst-resolv-res_init,
4114 tst-resolv-res_init-thread.
4115 (tst-res_use_inet6): Remove target.
4116 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
4117 * resolv/res_debug.c (p_option): Remove "inet6" support.
4118 * resolv/res_init.c (res_setoptions): Likewise.
4119 * resolv/res_use_inet6.h: Remove file.
4120 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
4122 (res_use_inet6): Always return false.
4123 * resolv/resolv.h (RES_USE_INET6): Remove definition.
4124 * resolv/resolv_context.h: Adjust file comment.
4125 (struct resolv_context): Update comment on __next field.
4126 (__resolv_context_put): Update comment.
4127 * resolv/tst-res_use_inet6.c: Remove file.
4128 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
4130 (test_cases): Adjust test case.
4131 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
4132 (thread_byname2_af_inet6): Use old byname_inet6 code.
4133 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
4134 (gai): Remove do_inet6 argument.
4135 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
4136 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
4137 (thread_gai_unspec_inet6): Remove functions.
4138 (do_test): Adjust thread_funcs.
4139 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
4141 (gaih_inet): Do not disable RES_USE_INET6 flag.
4143 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4145 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
4146 and remove redundant code.
4148 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4150 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
4152 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
4153 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
4155 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
4157 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
4159 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4160 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
4161 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
4162 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
4163 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4164 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
4165 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4166 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
4168 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
4169 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4170 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4171 Remove wcsrchr optimizations.
4172 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4174 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
4177 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
4179 * sysdeps/powerpc/power6/wcschr.c: Remove file.
4180 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
4182 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
4184 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
4186 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4187 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
4188 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
4189 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
4190 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4191 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
4192 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4193 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
4195 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
4196 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4197 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4198 Remove wcschr optimizations.
4199 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4201 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
4204 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
4206 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
4207 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
4209 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
4211 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
4213 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4214 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
4215 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
4216 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
4217 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4218 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
4219 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4220 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
4222 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
4223 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4224 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4225 Remove wcscpy optimizations.
4226 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4228 * include/loop_unroll.h: New file.
4229 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
4230 besides generic implementation.
4232 2019-04-03 DJ Delorie <dj@redhat.com>
4234 * time/tst-strftime3.c (tm_to_printed): Disable warning about
4235 snprintf truncating output.
4237 2019-04-02 DJ Delorie <dj@redhat.com>
4239 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
4242 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
4245 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
4247 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
4248 (mkreftable): Add rules for the new Japanese era and the new dates.
4250 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
4251 Rafal Luzynski <digitalfreak@lingonborough.com>
4253 * time/tst-strftime2.c (date_t): Explicitly define the type.
4254 (dates): Use natural month and year numbers to express a date.
4255 (is_before): New function to compare dates.
4256 (mkreftable): Minor improvements to simplify maintenance.
4257 (do_test): Reflect the changes in dates array.
4260 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
4261 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
4262 * time/tst-strftime2.c (locales): Likewise.
4263 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
4264 2010-04-01, and 2011-04-01.
4265 (mkreftable): Add rules for the new locales and the new dates.
4267 2019-04-01 Carlos O'Donell <carlos@redhat.com>
4269 * localedata/locales/ja_JP: Add comments to era entries.
4271 2019-04-01 DJ Delorie <dj@redhat.com>
4274 * time/strptime_l.c (%Ey): Fix fencepost error.
4275 * time/tst-strftime3.c: New.
4276 * time/Makefile (tests): Add tst-strftime3.
4278 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
4280 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
4281 conditional branch to DIVBYZERO. Fix unwind info.
4282 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
4283 excb after conditional branch to $powerof2. Add missing unop
4284 instructions and .align directives and reorder instructions to
4287 2019-04-01 Richard Henderson <rth@twiddle.net>
4289 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
4291 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
4294 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
4296 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
4297 $libc_cv_riscv_float_abi in `test' invocation.
4298 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
4300 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
4302 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
4304 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
4306 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4307 (_GET_SI_FPSCR): Likewise.
4308 (_SET_SI_FPSCR): Likewise.
4310 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4312 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
4314 (signbit): Use builtin for clang 3.3.
4315 (isinf): Use builtin for clang 3.7.
4317 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4319 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
4321 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
4323 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
4326 2019-03-25 Mike Crowe <mac@mcrowe.com>
4328 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
4329 pthread_rwlock_timedrdlock with calls to
4330 pthread_rwlock_timedwrlock to ensure that the latter is tested
4331 too. Use new function name in diagnostic messages too.
4333 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
4334 (do_test) Use libsupport test macros rather than hand-coded
4335 conditionals and error messages. Ensure that sem_init returns zero
4336 rather than not -1. Use <support/test-driver.c> rather than
4339 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
4340 test macros rather than hand-coded conditionals and error messages.
4341 Use <support/test-driver.c> rather than test-skeleton.c.
4343 2019-03-25 Joseph Myers <joseph@codesourcery.com>
4345 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
4347 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
4348 (NT_MIPS_MSA): Likewise.
4350 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4352 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
4353 * benchtests/README: Update description.
4354 * benchtests/bench-timing.h: Default to hp-timing.
4355 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
4356 HP_TIMING_PRINT): Remove.
4357 (HP_TIMING_NOW): Add generic implementation.
4358 (hp_timing_t): Change to uint64_t.
4360 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
4362 * nptl/descr.h: Likewise.
4363 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
4364 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
4365 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
4366 Abstract hp-timing usage with RTLD_* macros.
4367 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
4368 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
4369 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
4370 HP_TIMING_NONAVAIL): Likewise.
4371 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
4373 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
4374 HP_SMALL_TIMING_AVAIL): Likewise.
4375 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
4376 HP_SMALL_TIMING_AVAIL): Likewise.
4377 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
4378 HP_SMALL_TIMING_AVAIL): Likewise.
4379 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
4380 HP_SMALL_TIMING_AVAIL): Likewise.
4381 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
4383 * sysdeps/generic/hp-timing-common.h: Update comment with
4384 HP_TIMING_AVAIL removal.
4386 * include/random-bits.h: New file.
4387 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
4388 (__res_context_mkquery): Remove usage hp-timing usage and replace with
4390 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
4391 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
4394 * include/libc-internal.h (__get_clockfreq): Remove prototype.
4395 * rt/Makefile (clock-routines): Remove get_clockfreq.
4396 * rt/get_clockfreq.c: Remove file.
4397 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
4398 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
4399 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
4400 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
4401 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
4403 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
4404 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
4405 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
4406 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
4407 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
4409 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
4410 pthread_clock_settime.
4411 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
4412 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
4413 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
4414 * elf/rtld.c (_dl_start_final): Likewise.
4415 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
4416 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
4418 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
4419 (_dl_cpuclock_offset): Remove.
4420 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
4421 cpuclock_offset_ununsed.
4422 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
4423 cpuclock_offset set.
4424 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
4425 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4426 * nptl/pthread_clock_gettime.c: Remove file.
4427 * nptl/pthread_clock_settime.c: Likewise.
4428 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
4429 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
4430 and CLOCK_PROCESS_CPUTIME_ID support.
4431 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
4432 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
4433 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
4434 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
4435 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
4437 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
4439 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4441 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
4442 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
4443 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
4445 * sysdeps/s390/memmem-arch13.S: New file.
4446 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
4447 if it is only used as fallback.
4448 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
4449 * sysdeps/s390/multiarch/ifunc-impl-list.c
4450 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
4452 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4454 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
4455 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
4456 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
4458 * sysdeps/s390/multiarch/ifunc-impl-list.c
4459 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
4460 * sysdeps/s390/strstr-arch13.S: New file.
4461 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
4462 if it is only used as fallback.
4463 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
4465 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4467 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
4468 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
4469 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
4470 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
4472 * sysdeps/s390/multiarch/ifunc-impl-list.c
4473 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
4474 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
4475 S390_IS_ARCH13_MIE3): New defines.
4477 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4479 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
4480 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
4481 * sysdeps/s390/configure.ac: Add checks for arch13 support.
4482 * sysdeps/s390/configure: Regenerated.
4484 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4486 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
4487 Add vxe2, vxp, dflt, sort flags.
4488 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
4489 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
4491 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
4492 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
4493 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
4494 HWCAP_S390_DFLT): Define.
4496 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4499 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
4500 of compiler warning.
4501 * locale/programs/ld-collate.c (collate_output): Likewise.
4503 2019-03-21 DJ Delorie <dj@redhat.com>
4506 * iconv/iconvconfig.c (write_output): Replace floating point math
4507 with integer math to avoid imprecise results.
4508 * locale/programs/ld-collate.c (collate_output): Likewise.
4510 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
4512 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
4513 Add HWCAP_S390_VX and HWCAP_S390_VXE.
4515 2019-03-20 mansayk <6688000@gmail.com>
4518 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
4519 (abday): Likewise, but remove the trailing dots.
4521 2019-03-19 Joseph Myers <joseph@codesourcery.com>
4523 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
4525 (HWCAP_PACA): Likewise.
4526 (HWCAP_PACG): Likewise.
4527 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
4529 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
4531 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4533 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
4536 2019-03-15 Joseph Myers <joseph@codesourcery.com>
4538 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4540 (old_getpagesize): New syscall.
4542 2019-03-15 Felix Yan <felixonmars@archlinux.org>
4545 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
4546 * localedata/locales/cmn_TW (era): Likewise.
4547 * localedata/locales/hak_TW (era): Likewise.
4548 * localedata/locales/lzh_TW (era): Likewise.
4549 * localedata/locales/nan_TW (era): Likewise.
4551 2019-03-14 Adam Maris <amaris@redhat.com>
4553 * malloc/malloc.c (_int_malloc): Check for large bin list
4554 corruption when inserting unsorted chunk.
4556 2019-03-14 Florian Weimer <fweimer@redhat.com>
4558 Remove obsolete, never-implemented XSI STREAMS declarations.
4559 * manual/terminal.texi (Allocation): Remove portability note and
4561 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
4563 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
4564 * sysdeps/unix/inet/Subdirs (streams): Remove.
4565 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
4566 (conformtest-headers-UNIX98): Likewise.
4567 (conformtest-headers-XOPEN2K): Likewise.
4568 (conformtest-headers-POSIX2008): Likewise.
4569 * posix/compat-streams.c: New file.
4570 * posix/Makefile (routines): Add it.
4571 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
4572 getpmsg, isastream, putmsg, putpmsg.
4573 (GLIBC_2.30): New section.
4574 * bits/stropts.h: Remove file.
4575 * bits/xtitypes.h: Likewise.
4576 * conform/data/stropts.h-data: Likewise.
4577 * include/stropts.h: Likewise.
4578 * include/sys/stropts.h: Likewise.
4579 * include/xtitypes.h: Likewise.
4580 * streams/Makefile: Likewise.
4581 * streams/fattach.c: Likewise.
4582 * streams/fdetach.c: Likewise.
4583 * streams/getmsg.c: Likewise.
4584 * streams/getpmsg.c: Likewise.
4585 * streams/isastream.c: Likewise.
4586 * streams/putmsg.c: Likewise.
4587 * streams/putpmsg.c: Likewise.
4588 * streams/stropts.h: Likewise.
4589 * streams/sys/stropts.h: Likewise.
4590 * sysdeps/ia64/bits/xtitypes.h: Likewise.
4591 * sysdeps/s390/bits/xtitypes.h: Likewise.
4592 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
4593 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
4594 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
4595 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
4596 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
4597 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
4598 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
4599 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
4600 * sysdeps/x86/bits/xtitypes.h: Likewise.
4602 2019-03-14 Florian Weimer <fweimer@redhat.com>
4604 * nss/tst-nss-files-alias-truncated.c (do_test): Load
4606 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
4607 but not with libnss_files.
4608 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
4610 2019-03-14 Zack Weinberg <zackw@panix.com>
4612 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
4613 Specify encoding="utf-8" when opening headers to check.
4615 2019-03-13 Joseph Myers <joseph@codesourcery.com>
4617 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4619 (Context.checkout_tar): Handle variable major version for Linux
4622 2019-03-13 Florian Weimer <fweimer@redhat.com>
4625 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
4627 2019-03-13 Zack Weinberg <zackw@panix.com>
4629 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
4631 * include/inttypes.h: Adjust to match.
4632 * include/stdint.h: New wrapper.
4634 2019-03-13 Zack Weinberg <zackw@panix.com>
4636 * scripts/check-obsolete-constructs.py: New test script.
4637 * scripts/check-installed-headers.sh: Remove tests for
4638 obsolete typedefs, superseded by check-obsolete-constructs.py.
4639 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
4640 as a special test. Update commentary.
4641 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
4642 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
4644 * posix/sys/types.h (__u_intN_t): Remove.
4645 (u_int8_t): Typedef using __uint8_t.
4646 (u_int16_t): Typedef using __uint16_t.
4647 (u_int32_t): Typedef using __uint32_t.
4648 (u_int64_t): Typedef using __uint64_t.
4650 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
4652 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
4654 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
4655 Ignore types other than AT_HWCAP.
4656 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
4657 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
4659 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
4660 in the case of falling back to generic output mechanism.
4661 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
4664 2019-03-12 Florian Weimer <fweimer@redhat.com>
4666 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
4668 2019-03-12 Florian Weimer <fweimer@redhat.com>
4671 resolv: Enable full ICMP errors for UDP DNS sockets
4672 * resolv/res_enable_icmp.c: New file.
4673 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
4674 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
4675 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
4678 2019-03-11 Mao Han <han_mao@c-sky.com>
4680 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
4681 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
4683 2019-03-11 Mao Han <han_mao@c-sky.com>
4685 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
4686 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
4687 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
4689 2019-03-11 Mao Han <han_mao@c-sky.com>
4691 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
4693 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
4696 2019-03-11 Mao Han <han_mao@c-sky.com>
4698 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
4699 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
4702 2019-03-08 Mike FABIAN <mfabian@redhat.com>
4705 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
4706 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
4708 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
4709 * localedata/unicode-gen/PropList.txt: Likewise.
4710 * localedata/unicode-gen/UnicodeData.txt: Likewise.
4711 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
4712 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
4713 * localedata/charmaps/UTF-8: Regenerate.
4714 * localedata/locales/i18n_ctype: Likewise.
4715 * localedata/locales/tr_TR: Likewise.
4716 * localedata/locales/translit_circle: Likewise.
4717 * localedata/locales/translit_cjk_compat: Likewise.
4718 * localedata/locales/translit_combining: Likewise.
4719 * localedata/locales/translit_compat: Likewise.
4720 * localedata/locales/translit_font: Likewise.
4721 * localedata/locales/translit_fraction: Likewise.
4723 2019-03-07 Joseph Myers <joseph@codesourcery.com>
4725 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
4726 than after operators.
4727 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
4728 (setitimer_locked): Likewise.
4729 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
4730 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
4731 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
4732 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
4733 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
4734 (PPC_CPU_SUPPORTED): Likewise.
4735 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
4736 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
4737 (stat_overflow): Likewise.
4738 (statfs_overflow): Likewise.
4739 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
4740 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
4741 (eq_ttyname_r): Likewise.
4742 (run_chroot_tests): Likewise.
4744 2019-03-07 Florian Weimer <fweimer@redhat.com>
4746 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
4749 2019-03-07 Martin Liska <mliska@suse.cz>
4751 * math/Makefile: Change location where math-vector-fortran.h is
4753 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
4754 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
4755 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
4756 * scripts/check-installed-headers.sh: Skip Fortran header files.
4757 * scripts/check-wrapper-headers.py: Likewise.
4759 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4761 * nptl/nptl-init.c (__have_futex_clock_realtime,
4762 __have_futex_clock_realtime): Remove definition.
4763 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
4764 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
4765 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
4766 __ASSUME_FUTEX_CLOCK_REALTIME support.
4767 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
4768 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4769 * sysdeps/unix/sysv/linux/kernel-features.h
4770 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
4771 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
4774 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4776 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
4777 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
4778 __GI___wcscpy and wcscpy.
4780 2019-03-04 Florian Weimer <fweimer@redhat.com>
4782 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
4784 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
4787 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
4789 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
4790 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4792 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
4795 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
4796 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
4798 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4800 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
4802 (do_test): Likewise.
4803 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
4804 (do_test_call_varg): Likewise.
4805 (do_test_call_rarg): Likewise.
4806 * sysdeps/ieee754/ldbl-opt/Makefile
4807 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
4809 ($(objpfx)tst-nldbl-warn.c): New rule.
4810 ($(objpfx)tst-nldbl-error.c): Likewise.
4811 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
4814 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4817 * include/bits/error-ldbl.h: New file.
4818 * include/error.h: Include stdarg.h. Declare internal functions
4819 __error_internal and __error_at_line_internal.
4820 * misc/Makefile (headers): Add bits/error-ldbl.h.
4821 * misc/bits/error-ldbl.h: New file.
4822 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
4823 avoid the inclusion of bits/error.h.
4824 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
4825 and __nldbl_error_at_line.
4826 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
4827 (__nldbl_error, __ndlbl_error_at_line): New functions.
4828 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
4829 Redirect error and error_at_line.
4830 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
4831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4839 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4840 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4841 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4843 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4846 * include/bits/err-ldbl.h: New file.
4847 * include/err.h: Add prototypes for the internal functions:
4848 __vwarnx_internal and __vwarn_internal.
4849 * misc/Makefile (headers): Add bits/err-ldbl.h.
4850 * misc/bits/err-ldbl.h: New file.
4851 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
4852 defined, i.e.: when -mlong-double-64 is in use.
4853 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
4854 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
4855 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
4856 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
4857 (VA_CALL): New macro.
4858 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
4859 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
4861 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
4862 declare prototypes for the new functions.
4863 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
4864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4872 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4873 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4874 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4876 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4878 * sysdeps/ieee754/ldbl-opt/Makefile
4879 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
4880 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
4881 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
4883 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4886 * argp/Makefile (headers): Add bits/argp-ldbl.h.
4887 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
4888 * argp/bits/argp-ldbl.h: New file.
4889 * include/argp.h: Include stdarg.h. Add prototypes for internal
4890 functions: __argp_error_internal and __argp_failure_internal.
4891 * include/bits/argp-ldbl.h: New file.
4892 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
4893 __nldbl_argp_error and __nldbl_argp_failure.
4894 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
4895 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
4896 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
4897 Redirect argp_error and argp_failure calls.
4898 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
4899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4907 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4908 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4909 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4911 2019-03-01 Florian Weimer <fweimer@redhat.com>
4914 * elf/tst-big-note-lib.S: Create a syntactically valid note.
4915 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
4916 code, to avoid creating an ABI tag note.
4917 (modules-names-nobuild): Add tst-big-note-lib.
4919 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
4921 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
4922 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
4924 2019-03-01 Florian Weimer <fweimer@redhat.com>
4927 * sysdeps/unix/sysv/linux/netlink_assert_response.c
4928 (__netlink_assert_response): Add additional missing newlines.
4930 2019-02-28 Joseph Myers <joseph@codesourcery.com>
4932 * sysdeps/powerpc/powerpc32/dl-machine.c
4933 (__elf_machine_fixup_plt): Use space before '('.
4934 (__process_machine_rela): Likewise.
4935 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
4937 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
4939 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
4941 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
4942 (pattern): Likewise.
4944 (check_result): Likewise.
4945 (check_excepts): Likewise.
4946 (check_op): Likewise.
4947 (fail_xr): Likewise.
4948 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
4949 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
4951 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
4954 (__makecontext): Likewise.
4955 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
4958 2019-02-28 Florian Weimer <fweimer@redhat.com>
4961 elf: Add test with a local IFUNC resolver.
4962 * elf/ifuncmain9.c: New file.
4963 * elf/ifuncmain9pic.c: Likewise.
4964 * elf/ifuncmain9picstatic.c: Likewise.
4965 * elf/ifuncmain9pie.c: Likewise.
4966 * elf/ifuncmain9static.c: Likewise.
4967 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
4968 ifuncmain9static, ifuncmain9picstatic.
4969 * elf/Makefile [multi-arch && build-shared] (tests-internal):
4970 Add ifuncmain9, ifuncmain9pic.
4971 * elf/Makefile [multi-arch && build-shared && have-fpie]
4972 (ifunc-pie-tests): Add ifuncmain9pie.
4973 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
4974 (CFLAGS-ifuncmain9picstatic.c): Likewise.
4975 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
4977 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
4979 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
4980 * configure: Regenerated.
4981 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
4983 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4985 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
4986 symbol as __wcspcy instead of wcscpy.
4988 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4990 * include/stdio.h (__renameat2): New hidden prototype.
4991 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
4992 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
4993 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
4994 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
4996 2019-02-27 Joseph Myers <joseph@codesourcery.com>
4998 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
5001 * benchtests/bench-strcpy.c (do_test): Use space before '('.
5002 * benchtests/bench-string.h (cmdline_process_function): Likewise.
5003 * benchtests/bench-strlen.c (do_test): Likewise.
5004 (test_main): Likewise.
5005 * catgets/gencat.c (read_old): Likewise.
5006 * elf/cache.c (load_aux_cache): Likewise.
5007 * iconvdata/bug-iconv8.c (do_test): Likewise.
5008 * math/test-tgmath-ret.c (do_test): Likewise.
5009 * nis/nis_call.c (rec_dirsearch): Likewise.
5010 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5011 * nptl/tst-audit-threads.c (do_test): Likewise.
5012 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
5013 * nss/nss_test1.c (init): Likewise.
5014 * nss/test-netdb.c (test_hosts): Likewise.
5015 * posix/execvpe.c (maybe_script_execute): Likewise.
5016 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
5017 * stdio-common/tst-printf.c (do_test): Likewise.
5018 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
5019 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
5020 * stdlib/qsort.c (STACK_SIZE): Likewise.
5021 * stdlib/test-canon.c (do_test): Likewise.
5022 * stdlib/tst-swapcontext1.c (do_test): Likewise.
5023 * string/memcmp.c (OPSIZ): Likewise.
5024 * string/test-strcpy.c (do_test): Likewise.
5025 (do_random_tests): Likewise.
5026 * string/test-strlen.c (do_test): Likewise.
5027 (test_main): Likewise.
5028 * string/test-strrchr.c (do_test): Likewise.
5029 (do_random_tests): Likewise.
5030 * string/tester.c (test_memrchr): Likewise.
5031 (test_memchr): Likewise.
5032 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
5033 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
5034 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
5035 (read_encoded_value_with_base): Likewise.
5036 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
5037 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
5038 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
5039 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
5040 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
5041 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
5043 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
5045 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
5046 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
5047 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
5049 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
5051 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
5053 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
5055 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
5056 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5057 (FP_XSTATE_MAGIC2_SIZE): Likewise.
5058 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
5059 * time/test_time.c (main): Likewise.
5061 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5063 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
5065 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
5068 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
5071 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
5073 * include/wchar.h (__wcscpy): New prototype.
5074 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
5075 (__wcscpy): Route internal symbol to generic implementation.
5076 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
5077 Add internal __wcscpy alias.
5078 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
5079 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
5080 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
5081 * wcsmbs/wcscpy.c (wcscpy): Add
5082 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
5083 use generic implementation.
5084 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
5086 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
5089 * sysdeps/m68k/wcpcpy.c: Remove file.
5090 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
5092 2019-02-26 Joseph Myers <joseph@codesourcery.com>
5094 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
5095 than after operators.
5096 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
5097 * sysdeps/mach/hurd/getcwd.c
5098 (__hurd_canonicalize_directory_name_internal): Likewise.
5099 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
5100 (pthread_mutex_consistent): Likewise.
5101 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
5103 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
5104 (__pthread_mutex_transfer_np): Likewise.
5105 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
5106 (__pthread_mutex_unlock): Likewise.
5107 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
5108 (mtx_owned_p): Likewise.
5109 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
5110 (pthread_mutexattr_getrobust): Likewise.
5111 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
5112 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
5114 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5115 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
5116 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
5117 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
5118 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
5119 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5120 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
5122 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
5124 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
5125 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
5126 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
5127 (____longjmp_chk): Likewise.
5128 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
5130 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5131 (INTERNAL_SYSCALL): Likewise.
5132 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5133 (INTERNAL_SYSCALL): Likewise.
5134 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5135 (__get_clockfreq_via_cpuinfo): Likewise.
5137 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
5139 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
5140 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
5141 (WORD_COPY_BWD): Likewise.
5142 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5143 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5145 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
5146 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
5148 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
5150 2019-02-25 Joseph Myers <joseph@codesourcery.com>
5152 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
5153 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
5154 rather than after operators.
5155 * elf/cache.c (print_cache): Likewise.
5156 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
5157 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
5158 * hurd/hurdinit.c (_hurd_setproc): Likewise.
5159 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
5160 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
5161 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
5162 (reauth_proc): Likewise.
5163 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
5164 (__file_name_split_at): Likewise.
5165 (__directory_name_split_at): Likewise.
5166 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
5167 * hurd/port2fd.c (_hurd_port2fd): Likewise.
5168 * iconv/gconv_dl.c (do_print): Likewise.
5169 * inet/netinet/in.h (struct sockaddr_in): Likewise.
5170 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
5171 * locale/setlocale.c (new_composite_name): Likewise.
5172 * malloc/memusagestat.c (main): Likewise.
5173 * misc/fstab.c (fstab_convert): Likewise.
5174 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
5176 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
5177 (getgrent_next_file): Likewise.
5178 (internal_getgrnam_r): Likewise.
5179 (internal_getgrgid_r): Likewise.
5180 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
5182 (internal_getgrent_r): Likewise.
5183 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
5184 (getpwent_next_nss): Likewise.
5185 (getpwent_next_file): Likewise.
5186 (internal_getpwnam_r): Likewise.
5187 (internal_getpwuid_r): Likewise.
5188 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
5190 (getspent_next_nss): Likewise.
5191 (internal_getspnam_r): Likewise.
5192 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
5193 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
5194 * string/strchr.c (STRCHR): Likewise.
5195 * string/strchrnul.c (STRCHRNUL): Likewise.
5196 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
5197 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5198 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
5199 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
5200 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
5202 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
5203 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
5204 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
5205 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
5206 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
5207 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
5208 (open_file): Likewise.
5209 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
5210 (pthread_mutexattr_setprotocol): Likewise.
5211 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5212 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
5213 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
5214 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
5215 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
5217 (elf_machine_rela): Likewise.
5218 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5219 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5220 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
5221 * sysdeps/posix/rename.c (rename): Likewise.
5222 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
5223 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
5224 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
5225 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
5226 * sysdeps/unix/grantpt.c (grantpt): Likewise.
5227 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
5228 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
5230 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
5232 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
5233 * time/tzfile.c (__tzfile_compute): Likewise.
5235 2019-02-22 Joseph Myers <joseph@codesourcery.com>
5237 * benchtests/bench-memmem.c (simple_memmem): Break lines before
5238 rather than after operators.
5239 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
5240 * crypt/md5.c (md5_finish_ctx): Likewise.
5241 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
5242 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
5243 * elf/cache.c (load_aux_cache): Likewise.
5244 * elf/dl-load.c (open_verify): Likewise.
5245 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
5246 * elf/readelflib.c (process_elf_file): Likewise.
5247 * elf/rtld.c (dl_main): Likewise.
5248 * elf/sprof.c (generate_call_graph): Likewise.
5249 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
5250 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
5251 * hurd/dtable.c (reauth_dtable): Likewise.
5252 * hurd/getdport.c (__getdport): Likewise.
5253 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
5254 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
5255 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
5257 * hurd/hurdioctl.c (fioctl): Likewise.
5258 * hurd/hurdselect.c (_hurd_select): Likewise.
5259 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
5260 (STOPSIGS): Likewise.
5261 * hurd/hurdstartup.c (_hurd_startup): Likewise.
5262 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
5263 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
5264 * hurd/msgportdemux.c (msgport_server): Likewise.
5265 * hurd/setauth.c (_hurd_setauth): Likewise.
5266 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
5267 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
5268 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
5269 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
5270 * login/tst-utmp.c (do_check): Likewise.
5271 (simulate_login): Likewise.
5272 * mach/lowlevellock.h (lll_lock): Likewise.
5273 (lll_trylock): Likewise.
5274 * math/test-fenv.c (ALL_EXC): Likewise.
5275 * math/test-fenvinline.c (ALL_EXC): Likewise.
5276 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
5277 * nis/nis_call.c (__do_niscall3): Likewise.
5278 * nis/nis_callback.c (cb_prog_1): Likewise.
5279 * nis/nis_defaults.c (searchaccess): Likewise.
5280 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5281 * nis/nis_ismember.c (internal_ismember): Likewise.
5282 * nis/nis_local_names.c (nis_local_principal): Likewise.
5283 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
5284 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
5286 * nis/ypclnt.c (yp_match): Likewise.
5287 (yp_first): Likewise.
5288 (yp_next): Likewise.
5289 (yp_master): Likewise.
5290 (yp_order): Likewise.
5291 * nscd/hstcache.c (cache_addhst): Likewise.
5292 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5293 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
5294 (internal_getpwuid_r): Likewise.
5295 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
5296 * posix/glob.h (__GLOB_FLAGS): Likewise.
5297 * posix/regcomp.c (peek_token): Likewise.
5298 (peek_token_bracket): Likewise.
5299 (parse_expression): Likewise.
5300 * posix/regexec.c (sift_states_iter_mb): Likewise.
5301 (check_node_accept_bytes): Likewise.
5302 * posix/tst-spawn3.c (do_test): Likewise.
5303 * posix/wordexp-test.c (testit): Likewise.
5304 * posix/wordexp.c (parse_tilde): Likewise.
5305 (exec_comm): Likewise.
5306 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
5307 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
5308 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
5309 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
5310 * stdio-common/tst-fileno.c (do_test): Likewise.
5311 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
5312 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
5313 * stdlib/strtod_l.c (round_and_return): Likewise.
5314 (____STRTOF_INTERNAL): Likewise.
5315 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
5316 * string/strcspn.c (STRCSPN): Likewise.
5317 * string/test-memmem.c (simple_memmem): Likewise.
5318 * termios/tcsetattr.c (tcsetattr): Likewise.
5319 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
5320 * time/asctime.c (asctime_internal): Likewise.
5321 * time/strptime_l.c (__strptime_internal): Likewise.
5322 * time/sys/time.h (timercmp): Likewise.
5323 * time/tzfile.c (__tzfile_compute): Likewise.
5325 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
5328 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
5330 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5332 * argp/argp-help.c (__argp_error_internal): New function,
5333 renamed from __argp_error, but that takes a 'mode_flags'
5334 parameter to control the format of long double parameters.
5335 (__argp_error): Converted into a call __argp_error_internal.
5336 (__argp_failure_internal): New function, renamed from
5337 __argp_failure, but that takes a 'mode_flags' parameter.
5338 (__argp_failure): Converted into a call __argp_failure_internal.
5339 * misc/err.c (__vwarnx_internal): New function, renamed from
5340 vwarnx, but that takes a 'mode_flags' parameter.
5341 (vwarnx): Converted into a call to __vwarnx_internal.
5342 (__vwarn_internal): New function, renamed from vwarn, but that
5343 takes a 'mode_flags' parameter.
5344 (vwarn): Converted into a call to __vwarn_internal.
5345 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
5346 call to __vfxprintf with 'mode_flags'.
5347 (__error_internal): New function, renamed from error, but that
5348 takes a 'mode_flags' parameter.
5349 (error): Converted into a call to __error_internal.
5350 (__error_at_line_internal): New function, renamed from
5351 error_at_line, but that takes a 'mode_flags' parameter.
5352 (error_at_line): Converted into a call to
5353 __error_at_line_internal.
5354 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
5355 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
5358 2019-02-20 Martin Liska <mliska@suse.cz>
5360 * math/Makefile: Install math-vector-fortran.h.
5361 * bits/math-vector-fortran.h: New file.
5362 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
5364 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5366 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
5367 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
5369 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
5371 * nptl/pthread_mutex_trylock.c: Fix comment.
5373 2019-02-19 Carlos O'Donell <carlos@redhat.com>
5375 * nptl/pthread_tryjoin.c: Fix comment.
5377 2019-02-18 Joseph Myers <joseph@codesourcery.com>
5380 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
5381 after R_SPARC_H34 case.
5383 2019-02-18 Florian Weimer <fweimer@redhat.com>
5385 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
5386 (getanswer): Do not call Dprintf.
5387 (res_gethostbyname2_context): Likewise.
5388 (res_gethostbyaddr_context): Likewise.
5390 2019-02-18 Florian Weimer <fweimer@redhat.com>
5392 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
5394 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
5396 * libio/stdfiles.c: Update comment.
5397 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
5398 set _IO_stdin, _IO_stdout, _IO_stderr.
5399 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
5400 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
5402 (_IO_deallocate_file): New inline function.
5403 * libio/iolibio.h (_IO_vprintf): Remove definition.
5404 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
5405 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
5406 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
5408 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
5409 __builtin_expect. Use _IO_legacy_file.
5411 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
5413 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
5414 Initialize ctid with a known value and remove update of ctid
5416 (wait_tid): Adjust arguments and call futex_wait with ctid_val
5417 as assumed current value of ctid_ptr.
5419 2019-02-16 Florian Weimer <fweimer@redhat.com>
5421 Check that non-sysdeps headers have wrapper headers.
5422 * scripts/check-wrapper-headers.py: New file.
5423 * Makefile (tests-special): Add check-wrapper-headers.out.
5424 (check-wrapper-headers.out): New target.
5425 * Rules (tests-special): Add check-wrapper-headers.out.
5426 (check-wrapper-headers.out): New target.
5428 2019-02-16 Florian Weimer <fweimer@redhat.com>
5430 Add missing header wrappers under include/.
5431 * include/ar.h: New file.
5432 * include/bits/mqueue2.h: Likewise.
5433 * include/bits/stdio.h: Likewise.
5434 * include/bits/stdio2.h: Likewise.
5435 * include/fstab.h: Likewise.
5436 * include/fts.h: Likewise.
5437 * include/lastlog.h: Likewise.
5438 * include/netinet/icmp6.h: Likewise.
5439 * include/netinet/igmp.h: Likewise.
5440 * include/netinet/ip6.h: Likewise.
5441 * include/re_comp.h: Likewise.
5442 * include/regexp.h: Likewise.
5443 * include/rpcsvc/bootparam.h: Likewise.
5444 * include/rpcsvc/yp_prot.h: Likewise.
5445 * include/sys/random.h: Likewise.
5446 * include/sys/stropts.h: Likewise.
5447 * include/sys/ttychars.h: Likewise.
5448 * include/sys/vfs.h: Likewise.
5449 * include/wait.h: Likewise.
5451 2019-02-16 Florian Weimer <fweimer@redhat.com>
5453 * nptl_db/proc_service.h: Move to ...
5454 * sysdeps/nptl/proc_service.h: ... here.
5455 * nptl_db/thread_db.h: Move to ...
5456 * sysdeps/nptl/thread_db.h: ... here.
5457 * nptl/descr.h: Include <thread_db.h>.
5459 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5461 * io/Makefile (tests): Add tst-lockf.
5462 * io/lockf.c (lockf): Use __fcntl and only define for
5463 !__OFF_T_MATCHES_OFF64_T.
5464 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
5465 __OFF_T_MATCHES_OFF64_T case.
5466 * io/tst-lockf.c: New file.
5467 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
5468 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
5469 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
5470 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
5471 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
5472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
5473 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
5474 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
5475 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
5477 2019-02-15 Florian Weimer <fweimer@redhat.com>
5480 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
5481 pd->result after the thread descriptor has been freed.
5483 2019-02-15 Joseph Myers <joseph@codesourcery.com>
5485 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
5486 from function return type.
5488 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
5490 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5492 * scripts/test_printers_common.py: Set TERM to a known harmless
5495 2019-02-14 Joseph Myers <joseph@codesourcery.com>
5497 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
5498 (xdr_u_int): Likewise.
5499 (xdr_enum): Likewise.
5500 (xdr_bytes): Reword fall-through comment.
5501 (xdr_string): Likewise.
5503 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5506 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
5507 (tests): Add tst-join8 tst-join9.
5508 * nptl/lll_timedwait_tid.c: Remove file.
5509 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
5510 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
5511 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
5512 * nptl/pthread_join_common.c (timedwait_tid): New function.
5513 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
5515 * nptl/tst-join5.c (thread_join): New function.
5516 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
5518 * nptl/tst-join8.c: New file.
5519 * nptl/tst-join9.c: Likewise.
5520 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
5521 lll_futex_timed_wait_cancel): Add generic macros.
5522 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
5524 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5525 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5526 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5527 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
5529 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
5531 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5532 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
5533 (lll_futex_timed_wait_cancel): New macro.
5535 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
5537 * benchtests/Makefile: Add malloc-simple benchmark.
5538 * benchtests/bench-malloc-simple.c: New benchmark.
5540 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
5542 * benchtests/bench-memmove.c (do_one_test): Remove unused
5545 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
5549 2019-01-13 Jim Wilson <jimw@sifive.com>
5552 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
5553 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
5555 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
5557 * nptl/Makefile (tests): Add tst-unwind-thread.
5558 (CFLAGS-tst-unwind-thread.c): Define.
5559 * nptl/tst-unwind-thread.c: New file.
5560 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
5563 2019-02-13 Joseph Myers <joseph@codesourcery.com>
5565 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
5567 * nis/nis_call.c (__do_niscall3): Likewise.
5569 * catgets/gencat.c (normalize_line): Use braces around empty
5571 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
5572 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
5573 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
5574 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
5575 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
5576 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
5577 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
5580 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
5583 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
5585 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
5586 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
5587 * benchtests/bench-strchr.c (stupid_strchr): Remove.
5588 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
5589 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
5590 * benchtests/bench-strlen.c (builtin_strlen): Remove.
5591 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
5592 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
5593 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
5594 * benchtests/bench-strspn.c (stupid_strspn): Remove.
5595 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
5596 * benchtests/bench-bcopy.c: Delete file.
5597 * benchtests/bench-bzero.c: Likewise.
5598 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
5599 (simple_memccpy): Remove.
5600 (generic_memccpy): Add function.
5601 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
5602 * benchtests/bench-memmove.c (simple_bcopy): Remove.
5603 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
5604 (generic_mempcpy): Add new function.
5605 * benchtests/bench-memset.c (simple_bzero): Remove.
5606 (builtin_bzero): Remove.
5607 (builtin_memset): Remove.
5608 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
5609 (generic_rawmemchr): Add new function.
5611 2019-02-12 Florian Weimer <fweimer@redhat.com>
5613 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
5615 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5618 * elf/Makefile (tests): Add tst-audit13.
5619 (modules-names): Add tst-audit13mod1.
5620 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
5622 * elf/tst-audit13.c: New file.
5623 * elf/tst-audit13mod1.c: Likewise.
5625 2019-02-12 Florian Weimer <fweimer@redhat.com>
5628 * elf/rtld.c (unload_audit_module): New function.
5629 (report_audit_module_load_error): Likewise.
5630 (load_audit_module): Likewise. Extracted from dl_main. Call
5631 _dl_close if the laversion symbol cannot be found. Use early
5632 returns for error handling. Add malloc error check. Check for a
5633 zero return value from la_version. Remove spurious comment about
5634 static TLS initialization. Remove useless casts.
5635 (notify_audit_modules_of_loaded_object): New function. Extracted
5637 (load_audit_module): Likewise.
5638 (dl_main): Call load_audit_modules.
5640 2019-02-12 Joseph Myers <joseph@codesourcery.com>
5642 * elf/dl-exception.c (_dl_exception_create_format): Add
5643 fall-through comments.
5644 * elf/ldconfig.c (parse_conf_include): Likewise.
5645 * elf/rtld.c (print_statistics): Likewise.
5646 * locale/programs/charmap.c (parse_charmap): Likewise.
5647 * misc/mntent_r.c (__getmntent_r): Likewise.
5648 * posix/wordexp.c (parse_arith): Likewise.
5649 (parse_backtick): Likewise.
5650 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
5651 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
5652 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5654 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
5656 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
5657 Use float instead of double.
5659 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
5661 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
5663 2019-02-08 Joseph Myers <joseph@codesourcery.com>
5665 * sysdeps/powerpc/bits/mathinline.h: Remove.
5667 2019-02-08 Florian Weimer <fweimer@redhat.com>
5669 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
5670 * math/bits/math-finite.h: Move to ...
5671 * bits/math-finite.h: ... here.
5673 2019-02-08 Florian Weimer <fweimer@redhat.com>
5675 * sysdeps/generic/bits/unistd_ext.h: Move to ...
5676 * bits/unistd_ext.h: here.
5678 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
5681 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
5682 * nss/tst-nss-files-hosts-long.c: New file.
5683 * nss/tst-nss-files-hosts-long.root: New directory.
5684 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
5685 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
5687 2019-02-08 Florian Weimer <fweimer@redhat.com>
5689 * include/bits/unistd_ext.h: Remove file.
5690 * posix/bits/unistd_ext.h: Move to ...
5691 * sysdeps/generic/bits/unistd_ext.h: ... here.
5693 2019-02-08 Florian Weimer <fweimer@redhat.com>
5695 * include/bits/unistd_ext.h: New file.
5697 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
5699 * time/tst-strftime2.c: Use array_length macros instead of magic
5702 2019-02-08 Florian Weimer <fweimer@redhat.com>
5705 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
5707 * nptl/register-atfork.c (__run_fork_handlers): Only perform
5708 locking if the new do_locking argument is true.
5709 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
5710 __run_fork_handlers.
5712 2019-02-08 Florian Weimer <fweimer@redhat.com>
5715 Linux: Add gettid system call wrapper.
5716 * posix/Makefile (headers): Add bits/unistd_ext.h.
5717 * posix/bits/unistd_ext.h: New file.
5718 * posix/unistd.h: Include it.
5719 * manual/process.texi (Process Identification): Document gettid.
5720 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
5721 tst-gettid, tst-gettid-kill.
5722 (tst-gettid): Link with $(shared-thread-library).
5723 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
5724 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
5725 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
5726 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
5727 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
5728 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
5730 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
5732 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
5733 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
5735 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
5737 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
5739 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
5741 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
5743 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
5745 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
5747 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5748 (GLIBC_2.30): Likewise.
5749 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5750 (GLIBC_2.30): Likewise.
5751 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5752 (GLIBC_2.30): Likewise.
5753 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5754 (GLIBC_2.30): Likewise.
5755 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
5757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5758 (GLIBC_2.30): Likewise.
5759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5760 (GLIBC_2.30): Likewise.
5761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
5762 (GLIBC_2.30): Likewise.
5763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
5764 (GLIBC_2.30): Likewise.
5765 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
5767 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
5769 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
5771 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
5772 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
5774 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
5776 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
5778 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
5780 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
5782 2019-02-08 Florian Weimer <fweimer@redhat.com>
5784 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
5785 compatibility symbols.
5787 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
5790 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5791 Add compiler barriers and comments.
5793 2019-02-07 Florian Weimer <fweimer@redhat.com>
5795 * include/array_length.h (array_length): Do not use a statement
5796 expression and _Static_assert, so that array_length can be used at
5797 file scope and as a constant expression.
5799 2019-02-07 Florian Weimer <fweimer@redhat.com>
5801 * support/xdlfcn.h (xdlmopen): Declare.
5802 * support/xdlmopen.c: New file.
5803 * support/Makefile (libsupport-routines): Add xdlmopen.
5805 2019-02-06 Joseph Myers <joseph@codesourcery.com>
5807 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
5808 before return type, without separate inline.
5809 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
5810 * elf/dl-tunables.h (tunable_is_name): Likewise.
5811 * malloc/malloc.c (do_set_trim_threshold): Likewise.
5812 (do_set_top_pad): Likewise.
5813 (do_set_mmap_threshold): Likewise.
5814 (do_set_mmaps_max): Likewise.
5815 (do_set_mallopt_check): Likewise.
5816 (do_set_perturb_byte): Likewise.
5817 (do_set_arena_test): Likewise.
5818 (do_set_arena_max): Likewise.
5819 (do_set_tcache_max): Likewise.
5820 (do_set_tcache_count): Likewise.
5821 (do_set_tcache_unsorted_limit): Likewise.
5822 * nis/nis_subr.c (count_dots): Likewise.
5823 * nptl/allocatestack.c (advise_stack_range): Likewise.
5824 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
5826 (reduce_sincos): Likewise.
5827 (do_sincos): Likewise.
5828 * sysdeps/unix/sysv/linux/x86/elision-conf.c
5829 (do_set_elision_enable): Likewise.
5830 (TUNABLE_CALLBACK_FNDECL): Likewise.
5832 2019-02-06 Florian Weimer <fweimer@redhat.com>
5834 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
5835 (xdlsym): Use dlerror to detect a NULL symbol.
5837 2019-02-06 Florian Weimer <fweimer@redhat.com>
5839 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
5841 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5843 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
5845 * libio/tst-bz24153.c (wide): Use wide char format specifier.
5847 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
5849 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
5850 __wmemcmp and weak alias to wmemcmp.
5852 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
5855 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
5856 TLS_TCB_AT_TP tls variant.
5857 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
5858 Add alignment checks.
5859 * support/Makefile (libsupport-routines): Add xposix_memalign and
5861 * support/support.h: Add xposix_memalign.
5862 * support/xthread.h: Add xpthread_attr_setstack.
5863 * support/xposix_memalign.c: New File.
5864 * support/xpthread_attr_setstack.c: Likewise.
5866 2019-02-05 Florian Weimer <fweimer@redhat.com>
5869 arm: Use "nr" constraint for Systemtap probes, to avoid the
5870 compiler using memory operands for constants, due to the "o"
5871 alternative in the default "nor" constraint.
5872 * include/stap-probe.h [USE_STAP_PROBE]: Include
5873 <stap-probe-machine.h>
5874 * sysdeps/generic/stap-probe-machine.h: New file.
5875 * sysdeps/arm/stap-probe-machine.h: Likewise.
5877 2019-02-04 Joseph Myers <joseph@codesourcery.com>
5879 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
5880 with 0, not tcache->entries[tc_idx].
5882 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
5885 2019-02-04 Andreas Schwab <schwab@suse.de>
5889 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
5890 looking up collating elements match against (wide) character
5891 sequence instead of name. Correct alignment adjustment.
5892 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
5893 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
5894 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
5895 (LOCALES): Add cs_CZ.ISO-8859-2.
5896 * posix/tst-fnmatch4.c: New file.
5897 * posix/tst-fnmatch5.c: New file.
5898 * include/wchar.h (__wmemcmp): Declare.
5899 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
5900 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
5901 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
5902 * sysdeps/s390/wmemcmp.c: Likewise.
5904 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
5908 * NEWS: Updated for CVE-2019-7309.
5909 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
5910 upper 32 bits of RDX register for x32. Use unsigned Jcc
5911 instructions, instead of signed.
5912 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
5913 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
5915 2019-02-04 Florian Weimer <fweimer@redhat.com>
5917 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
5918 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
5919 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
5921 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
5922 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
5923 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
5924 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
5926 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
5928 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
5930 (posix_spawn_file_actions_addopen): Likewise.
5931 (posix_spawn_file_actions_addclose): Likewise.
5932 (posix_spawn_file_actions_adddup2): Likewise.
5933 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
5935 (posix_spawn_file_actions_addfchdir_np): Likewise.
5937 2019-02-04 David Newall <glibc@davidnewall.com>
5939 elf: Implement --preload option for the dynamic linker.
5940 * elf/rtld.c (preloadarg): New variable.
5941 (handle_preload_list): Pass through “where” argument to
5943 (dl_main): Handle "--preload" and add second call to
5944 handle_preload_list.
5945 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
5946 (tst-rtld-preload-OBJS): Set variable.
5947 (tst-rtld-preload.out): New target.
5948 * elf/tst-rtld-preload.sh: New file.
5950 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
5952 * Makefile (testrun.sh): Exit in case of incorrect argument.
5954 2019-02-04 Florian Weimer <fweimer@redhat.com>
5956 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
5959 2019-02-03 Florian Weimer <fweimer@redhat.com>
5961 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
5962 implicit overflow checks.
5964 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
5966 * stdlib/isomac.c: Include <unistd.h>.
5968 2019-02-03 Florian Weimer <fweimer@redhat.com>
5970 * include/time.h (__tzfile_default): Use int, not long int, for
5972 * time/tzfile.c (struct ttinfo): Change type of the offset member
5974 (__tzfile_read): Remove useless cast.
5975 (__tzfile_default): Adjust prototype.
5976 * time/tzset.c (tz_rule): Change type of the offset member to int.
5977 (parse_offset): Change the type of the sign variable to int.
5979 2019-02-03 Florian Weimer <fweimer@redhat.com>
5982 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
5983 * libio/getchar.c (getchar): Likewise.
5984 * libio/getchar_u.c (getchar_unlocked): Likewise.
5985 * libio/getwchar.c (getwchar): Likewise.
5986 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
5987 * libio/iogets.c (_IO_gets): Likewise.
5988 * libio/vscanf.c (_IO_vscanf): Likewise.
5989 * libio/vwscanf.c (__vwscanf): Likewise.
5990 * libio/tst-bz24153.c: New file.
5991 * libio/Makefile (tests): Add it.
5993 2019-02-02 Florian Weimer <fweimer@redhat.com>
5996 * manual/resource.texi (Basic Scheduling Functions): Add
5997 portability note. Change process to task throughout the section.
5998 Remove incorrect comment about sched_yield as it affects
5999 tasks/threads, not entire processes.
6000 * sysdeps/unix/sysv/linux/bits/posix_opt.h
6001 (_POSIX_PRIORITY_SCHEDULING): Update comment.
6003 2019-02-01 Joseph Myers <joseph@codesourcery.com>
6005 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
6006 * configure: Regenerated.
6007 * manual/install.texi (Tools for Compilation): Update minimum GCC
6009 * INSTALL: Regenerated.
6011 2019-02-01 Florian Weimer <fweimer@redhat.com>
6013 * support/support_test_compare_string.c
6014 (support_test_compare_string): Use "string" in error message.
6015 * support/tst-test_compare_string.c (do_test): Adjust.
6017 2019-02-01 Florian Weimer <fweimer@redhat.com>
6019 * support/support_format_address_family.c
6020 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
6022 2019-02-01 Florian Weimer <fweimer@redhat.com>
6024 * manual/socket.texi (Internet Address Formats): Clarify the byte
6025 order of struct sockaddr_in, struct sockaddr_in6. Document
6026 sin6_flowinfo and sin6_scope_id.
6028 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
6030 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
6031 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
6032 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
6033 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
6034 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
6035 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
6037 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6039 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
6040 [!MEMCHR](MEMCHR): Set to __memchr.
6041 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6042 Add memchr_generic and memchr_nosimd.
6043 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6044 (__libc_ifunc_impl_list): Add memchr ifuncs.
6045 * sysdeps/aarch64/multiarch/memchr.c: New file.
6046 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
6047 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
6049 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6051 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6053 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6054 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
6055 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
6056 Add IS_EMAG check for ifunc dispatch.
6057 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
6058 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
6060 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6062 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
6063 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6065 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
6068 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
6070 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
6072 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
6074 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
6075 syscall-template file.
6077 2019-01-31 Carlos O'Donell <carlos@redhat.com>
6078 Torvald Riegel <triegel@redhat.com>
6079 Rik Prohaska <prohaska7@gmail.com>
6082 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
6083 tst-rwlock-trywrlock-stall.
6084 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
6085 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
6086 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
6087 Set __wrphase_fute to 1 only if we started the write phase.
6088 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
6089 * nptl/tst-rwlock-trywrlock-stall.c: New file.
6090 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
6091 * support/xpthread_rwlock_destroy.c: New file.
6092 * support/xthread.h: Declare xpthread_rwlock_destroy.
6094 2019-02-01 Joseph Myers <joseph@codesourcery.com>
6096 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
6099 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6102 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
6103 * libio/fileops.c (_IO_new_file_underflow): Likewise
6104 * libio/wfileops.c (_IO_wfile_underflow): Likewise
6105 * libio/putchar.c (putchar): Likewise.
6106 * libio/putchar_u.c (putchar_unlocked): Likewise.
6107 * libio/putwchar.c (putchar): Likewise.
6108 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
6109 * libio/tst-bz24051.c: New test.
6110 * libio/Makefile (tests): Add tst-bz24051
6112 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
6115 regex: fix read overrun [BZ #24114]
6116 Problem found by AddressSanitizer, reported by Hongxu Chen in:
6117 https://debbugs.gnu.org/34140
6118 * posix/regexec.c (proceed_next_node):
6119 Do not read past end of input buffer.
6121 2019-01-31 Florian Weimer <fweimer@redhat.com>
6124 * nss/nss_files/files-alias.c (get_next_alias): Handle
6125 continuation line without newline at the end.
6126 * nss/tst-nss-files-alias-truncated.c: New file.
6127 * nss/Makefile [$(build-shared)] (tests): Add
6128 tst-nss-files-alias-truncated.
6129 (tst-nss-files-alias-truncated): Link with libnss_files.so.
6130 * support/namespace.h (struct support_chroot_configuration): Add
6132 (struct support_chroot): Add path_aliases member.
6133 * support/support_chroot.c (support_chroot_create): Handle
6135 (support_chroot_free): Free path_aliases.
6137 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
6139 * version.h (RELEASE): Set to "development".
6140 (VERSION): Set to "2.29.9000".
6141 * NEWS: Add section for 2.30.
6143 * version.h (RELEASE): Set to "stable".
6144 (VERSION): Set to "2.29".
6145 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
6147 * NEWS: Add the list of bugs fixed in 2.29.
6148 * manual/contrib.texi: Update contributors list with some more
6150 * manual/install.texi: Update latest versions of packages
6152 * INSTALL: Regenerated.
6154 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
6156 * po/be.po: Update translations.
6157 * po/bg.po: Likewise.
6158 * po/ca.po: Likewise.
6159 * po/cs.po: Likewise.
6160 * po/da.po: Likewise.
6161 * po/de.po: Likewise.
6162 * po/el.po: Likewise.
6163 * po/eo.po: Likewise.
6164 * po/es.po: Likewise.
6165 * po/fi.po: Likewise.
6166 * po/fr.po: Likewise.
6167 * po/gl.po: Likewise.
6168 * po/hr.po: Likewise.
6169 * po/hu.po: Likewise.
6170 * po/ia.po: Likewise.
6171 * po/id.po: Likewise.
6172 * po/it.po: Likewise.
6173 * po/ja.po: Likewise.
6174 * po/ko.po: Likewise.
6175 * po/lt.po: Likewise.
6176 * po/nb.po: Likewise.
6177 * po/nl.po: Likewise.
6178 * po/pl.po: Likewise.
6179 * po/pt_BR.po: Likewise.
6180 * po/ru.po: Likewise.
6181 * po/rw.po: Likewise.
6182 * po/sk.po: Likewise.
6183 * po/sl.po: Likewise.
6184 * po/sv.po: Likewise.
6185 * po/tr.po: Likewise.
6186 * po/uk.po: Likewise.
6187 * po/vi.po: Likewise.
6188 * po/zh_CN.po: Likewise.
6189 * po/zh_TW.po: Likewise.
6191 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
6194 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
6195 of $f3 register on $y_is_neg path.
6197 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
6200 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
6201 sigaltstack.ss_flags.
6203 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
6206 * manual/time.texi (strftime): Document "%Ey".
6207 * time/strftime_l.c (__strftime_internal): Set the default width
6208 padding with zero of "%Ey" to 2.
6211 * manual/time.texi (strftime): Document "%EC" and "%EY".
6212 * time/Makefile (tests): Add tst-strftime2.
6213 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
6214 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
6215 override padding for "%Ey".
6216 If an optional flag ('_' or '-') is specified to "%EY", interpret the
6217 "%Ey" in the subformat as if decorated with that flag.
6218 * time/tst-strftime2.c: New file.
6220 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6222 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
6226 * elf/Makefile (tests): Add tst-audit13.
6227 (modules-names): Add tst-audit13mod1.
6228 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
6230 * elf/rtld.c (dl_main): Handle invalid audit module version.
6231 * elf/tst-audit13.c: New file.
6232 * elf/tst-audit13mod1.c: Likewise.
6234 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
6236 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
6237 returned by __hurd_at_flags.
6238 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
6239 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
6240 directly instead of __hurd_file_name_lookup.
6242 2019-01-21 Joseph Myers <joseph@codesourcery.com>
6244 * scripts/build-many-glibcs.py (Context.checkout): Default
6245 binutils version to 2.32 branch.
6247 2019-01-21 Florian Weimer <fweimer@redhat.com>
6251 resolv: Reject trailing characters in host names
6252 * include/arpa/inet.h (__inet_aton_exact): Declare.
6253 (inet_aton): Remove hidden prototype. No longer used internally.
6254 * nscd/gai.c (__inet_aton): Do not define.
6255 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
6256 * nss/digits_dots.c (__inet_aton): Likewise.
6257 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
6258 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
6259 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
6260 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
6261 (tst-resolv-trailing): Likewise.
6262 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
6264 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
6265 Make static. Add endp parameter.
6266 (__inet_aton_exact): New function.
6267 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
6268 (__inet_addr): Call inet_aton_end.
6269 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
6270 not just IPv6. Call __inet_aton_exact.
6271 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
6272 (tests): Make const. Add additional test cases with trailing
6274 (do_test): Use array_length.
6275 * resolv/tst-inet_aton_exact.c: New file.
6276 * resolv/tst-resolv-trailing.c: Likewise.
6277 * resolv/tst-resolv-nondecimal.c: Likewise.
6278 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
6280 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6284 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
6285 Clear the upper 32 bits of RSI register.
6286 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
6287 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
6288 and tst-size_t-wcsnlen.
6289 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
6290 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
6292 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6296 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
6297 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6298 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6299 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
6300 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
6302 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6306 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
6307 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6308 * sysdeps/x86_64/strcmp.S: Likewise.
6309 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
6310 tst-size_t-strncmp and tst-size_t-wcsncmp.
6311 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
6312 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
6313 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
6315 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6319 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
6320 RDX_LP for length. Clear the upper 32 bits of RDX register.
6321 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
6322 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
6323 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
6324 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
6326 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6330 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
6331 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
6332 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
6333 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
6335 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6339 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
6340 length. Clear the upper 32 bits of RDX register.
6341 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6342 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
6344 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6346 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
6348 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
6350 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6354 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
6355 length. Clear the upper 32 bits of RDX register.
6356 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6357 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6358 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
6360 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
6361 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
6363 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6367 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
6368 upper 32 bits of RDX register.
6369 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
6370 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
6372 * sysdeps/x86_64/x32/test-size_t.h: New file.
6373 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
6374 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
6376 2019-01-18 Florian Weimer <fweimer@redhat.com>
6379 resolv: Do not send queries for non-host-names in nss_dns.
6380 * resolv/nss_dns/dns-host.c (check_name): New function.
6381 (_nss_dns_gethostbyname2_r): Use it.
6382 (_nss_dns_gethostbyname_r): Likewise.
6383 (_nss_dns_gethostbyname4_r): Likewise.
6385 2019-01-21 Florian Weimer <fweimer@redhat.com>
6387 * resolv/inet_addr.c: Reformat to GNU style.
6388 (__inet_addr, __inet_aton): Update comment.
6390 2019-01-18 Florian Weimer <fweimer@redhat.com>
6392 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
6393 ("malloc: Use current (C11-style) atomics for fastbin access").
6394 This commit introduces a substantial performance regression on
6396 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
6397 (REMOVE_FB): Define.
6398 (_int_malloc): Use it and reindent.
6399 (_int_free): Use CAS loop with
6400 catomic_compare_and_exchange_val_rel.
6401 (malloc_consolidate): Use atomic_exchange_acq.
6404 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
6406 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
6408 (LDFLAGS-tst-minsigstksz-2): Likewise.
6409 (LDFLAGS-tst-minsigstksz-3): Likewise.
6410 (LDFLAGS-tst-minsigstksz-3a): Likewise.
6411 (LDFLAGS-tst-minsigstksz-4): Likewise.
6413 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
6415 * manual/time.texi (strftime): Fix the wording to "alternative" rather
6418 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
6420 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
6422 2019-01-16 Zack Weinberg <zackw@panix.com>
6424 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
6425 (xget_sigstack_location): New test support functions.
6426 * support/xsigstack.c: New file, implementing them.
6427 * support/tst-xsigstack.c: New test for them.
6428 * support/Makefile: Update.
6430 * signal/tst-minsigstksz-1.c
6431 * signal/tst-minsigstksz-2.c
6432 * signal/tst-minsigstksz-3.c
6433 * signal/tst-minsigstksz-3a.c
6434 * signal/tst-minsigstksz-4.c: New tests.
6435 * signal/Makefile: Run them.
6437 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
6439 * po/libc.pot: Regenerate.
6441 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6443 * math/libm-test-fma.inc (fma_test_data): Set
6444 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
6446 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
6448 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
6449 (do_test): Changed __vector __int128_t to __vector unsigned int.
6451 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6453 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6454 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
6455 stpcpy-avx2 and stpncpy-avx2.
6456 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
6457 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
6458 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
6460 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
6461 ifunc-strcpy.h}: rename header for a more generic name.
6462 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
6463 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
6464 AVX unaligned load is fast and vzeroupper is preferred.
6465 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
6466 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
6467 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
6468 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
6469 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
6470 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
6472 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
6474 * argp/argp-help.c: Fix typo in comment.
6475 * misc/sys/cdefs.h: Likewise.
6476 * posix/regexec.c (sift_states_iter_mb): Likewise.
6477 * socket/sockatmark.c: Likewise.
6478 * socket/sys/socket.h: Likewise.
6479 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
6480 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
6481 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
6482 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6483 * sysdeps/unix/sockatmark.c: Likewise.
6484 * time/strptime_l.c: Likewise.
6486 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
6488 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
6489 missing space after the cast of "_NL_CURRENT".
6491 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
6493 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
6494 ifdef to fix read of VSCR.
6495 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
6496 tst-ucontext-ppc64-vscr.c to test list.
6497 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
6499 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
6501 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
6504 2019-01-09 Jim Wilson <jimw@sifive.com>
6506 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
6508 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
6510 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
6511 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
6512 __memcpy_falkor for ares.
6513 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
6515 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6518 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
6521 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
6522 4_FP_W_TYPEs are used for IEEE quad precision.
6523 * soft-fp/extendhftf2.c: Likewise.
6524 * soft-fp/extendsftf2.c: Likewise.
6525 * soft-fp/extendxftf2.c: Likewise.
6526 * soft-fp/trunctfdf2.c: Likewise.
6527 * soft-fp/trunctfhf2.c: Likewise.
6528 * soft-fp/trunctfsf2.c: Likewise.
6529 * soft-fp/trunctfxf2.c: Likewise.
6530 * sysdeps/alpha/ots_cvttx.c: Likewise.
6531 * sysdeps/alpha/ots_cvtxt.c: Likewise.
6532 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
6533 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
6534 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
6535 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
6536 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
6537 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
6538 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
6539 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
6540 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
6541 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
6542 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
6543 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
6544 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
6545 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
6546 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
6547 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
6549 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
6552 * Makeconfig: Build libm with -fno-math-errno but build the remaining
6553 code with -fmath-errno.
6554 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
6555 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
6556 * string/test-strerror-errno.c: New file.
6558 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
6561 * localedata/locales/en_US (date_fmt): Add, set to
6562 "%a %d %b %Y %r %Z".
6564 2019-01-07 Florian Weimer <fweimer@redhat.com>
6567 * manual/arith.texi (Math Error Reporting): Use @code{errno}
6568 instead of @var{errno}.
6569 (Parsing of Integers): Likewise.
6570 (Parsing of Floats): Likewise.
6571 * manual/filesys.texi (Working with Directory Trees): Likewise.
6572 (Temporary Files): Likewise.
6573 * manual/job.texi (Terminal Access Functions): Likewise.
6574 * manual/llio.texi (Synchronizing I/O): Likewise.
6575 * manual/math.texi (SVID Random): Likewise.
6576 * manual/message.texi (The catgets Functions): Likewise.
6577 (Translation with gettext): Likewise.
6578 (Locating gettext catalog): Likewise.
6579 (Charset conversion in gettext): Likewise.
6580 * manual/nss.texi (NSS Module Function Internals): Likewise.
6581 * manual/search.texi (Hash Search Function): Likewise.
6582 * manual/setjmp.texi (System V contexts): Likewise.
6583 * manual/time.texi (Sleeping): Likewise.
6584 * manual/users.texi (Lookup User): Likewise.
6585 (Lookup Group): Likewise.
6587 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6589 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
6592 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
6595 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
6596 __builtin_unreachable for default case in switch.
6597 (__ieee754_yn): Likewise.
6598 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6599 (__ieee754_ynl): Likewise.
6600 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6601 (__ieee754_ynl): Likewise.
6602 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6603 (__ieee754_ynl): Likewise.
6605 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
6607 * manual/maint.texi: Use @{ and @}.
6609 2019-01-04 Florian Weimer <fweimer@redhat.com>
6611 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
6613 (do_in_chroot_1): Call it.
6615 Improve error reporting in case it is not possible to create a
6616 collision for the PTY name required by the test.
6618 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6620 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
6621 lll_wait_tid with timeout.
6622 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
6623 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
6624 futex_reltimed_wait_cancelable for cancelabla mode.
6625 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
6626 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
6628 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
6629 * sysdeps/posix/waitid.c (__sigwait): Likewise.
6630 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
6631 SYSCALL_CANCEL_NCS): New macro.
6632 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
6633 (lll_timedwait_tid): Remove macro.
6634 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
6636 (lll_timedwait_tid): Likewise.
6637 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
6639 (lll_timedwait_tid): Likewise.
6640 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
6642 (lll_timedwait_tid): Likewise.
6643 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
6644 Use INTERNAL_SYSCALL_CANCEL.
6645 * sysdeps/unix/sysv/linux/futex-internal.h
6646 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
6647 instead of __pthread_{enable,disable}_asynccancel.
6648 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
6649 (lll_futex_wait_cancel): New macro.
6651 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
6652 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
6654 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
6655 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
6657 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
6658 in backtrace analysis.
6659 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
6661 (tf_send): Likewise.
6663 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
6664 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
6665 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
6666 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
6667 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
6668 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
6669 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
6670 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
6671 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
6672 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
6673 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
6674 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
6676 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
6677 tst-cancel-wrappers.sh.
6678 (generated): Remove tst-cancel-wrappers.out.
6679 (tst-cancel-wrappers.out): Remove rule.
6680 * nptl/tst-cancel-wrappers.sh: Remove file.
6682 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6684 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
6685 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
6688 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6691 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
6692 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
6693 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
6694 close-on-exec reset for adddup2 file action.
6695 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
6697 2019-01-03 Zack Weinberg <zackw@panix.com>
6699 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
6700 parameter. Only use deprecated scanf when __USE_GNU is defined
6701 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
6702 than 201103L, whichever is relevant for the language being compiled.
6704 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
6705 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
6706 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
6707 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
6708 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
6712 * libio/iovswscanf.c
6717 * stdio-common/fscanf.c
6718 * stdio-common/scanf.c
6719 * stdio-common/vfscanf.c
6720 * stdio-common/vfwscanf.c
6721 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6722 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
6723 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
6724 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
6725 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
6726 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
6727 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
6728 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
6729 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
6730 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
6731 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
6732 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
6733 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
6734 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
6735 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
6737 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
6738 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
6739 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
6741 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
6742 with a preprocessor macro.
6744 * stdio-common/bug21.c, stdio-common/scanf14.c:
6745 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
6746 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
6747 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
6748 to xscanf, xfscanf, xsscanf.
6750 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
6751 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
6752 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
6753 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
6755 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
6756 override feature selection macros or provide definitions of u_char etc.
6757 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
6758 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
6759 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
6762 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6764 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6765 bits/termios-misc.h.
6766 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
6767 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6768 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6769 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6770 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
6771 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
6773 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
6774 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
6775 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
6776 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
6777 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
6778 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
6780 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
6781 (sysdep_headers): Add termios-misc.h.
6783 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
6784 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6785 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6787 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6789 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
6790 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
6791 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
6792 TCSAFLUSH): Move to termios-tcflow.h.
6793 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6794 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6795 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6796 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6798 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6800 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
6801 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
6802 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
6803 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
6804 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
6805 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
6806 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
6807 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
6809 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6810 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6811 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6812 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6814 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6816 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
6817 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
6818 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
6819 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
6820 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
6822 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6823 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6824 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6825 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6828 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6830 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
6831 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
6832 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
6833 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
6834 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
6835 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
6836 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
6837 __MAX_BAUD): Move to termios-baud.h.
6838 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
6839 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
6840 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6841 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6842 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6844 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
6846 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
6847 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
6848 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
6849 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
6850 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
6851 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
6853 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
6854 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
6856 [USE_MISC] (XTABS): Likewise.
6857 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6858 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6859 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6860 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
6862 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
6864 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
6865 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
6866 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
6867 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
6868 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
6869 IUTF8): Move to termios-c_iflag.h.
6870 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6871 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6872 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6873 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6875 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
6877 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
6878 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
6879 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
6880 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
6881 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
6882 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
6883 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
6884 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
6885 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6886 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6887 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6888 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6890 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
6891 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
6892 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
6893 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
6894 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6896 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
6898 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
6900 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
6902 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
6904 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
6906 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
6907 _HAVE_C_OSPEED): Define.
6908 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
6909 _HAVE_C_OSPEED): Likewise.
6910 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
6911 _HAVE_C_OSPEED): Likewise.
6912 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
6913 (cfsetospeed): Check for define value instead of existence.
6914 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
6915 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
6916 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
6917 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
6918 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
6921 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
6923 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
6924 (TIOCSER_TEMT): Likewise.
6925 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
6926 (TEOCSER_TEMT): Likewise.
6928 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
6931 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
6933 2019-01-02 Joseph Myers <joseph@codesourcery.com>
6935 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
6937 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
6939 * sysdeps/htl/pt-barrierattr-setpshared.c
6940 (pthread_barrierattr_setpshared): Add stub warning.
6941 * sysdeps/htl/pt-condattr-setpshared.c
6942 (pthread_condattr_setpshared): Likewise.
6943 * sysdeps/htl/pt-mutexattr-setpshared.c
6944 (pthread_mutexattr_setpshared): Likewise.
6945 * sysdeps/htl/pt-rwlockattr-setpshared.c
6946 (pthread_rwlockattr_setpshared): Likewise.
6947 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
6948 (pthread_mutexattr_setpshared): Likewise.
6950 2019-01-02 Joseph Myers <joseph@codesourcery.com>
6952 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
6953 constants to match with Linux 4.20.
6955 * sysdeps/mips/mips32/libm-test-ulps: Update.
6956 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6958 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
6961 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
6962 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
6963 than __typeof (...) for the a_ptr variable.
6965 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6967 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
6968 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
6969 * libio/Makefile (tests): Add tst-sprintf-ub and
6971 (CFLAGS-tst-sprintf-ub.c): New variable.
6972 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
6973 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
6974 destination buffer and check for overflows in fortified mode.
6975 * libio/libioP.h (PRINTF_CHK): New macro.
6976 * libio/tst-sprintf-chk-ub.c: New file.
6977 * libio/tst-sprintf-ub.c: Likewise.
6979 2019-01-02 Florian Weimer <fweimer@redhat.com>
6982 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
6985 2019-01-02 Florian Weimer <fweimer@redhat.com>
6987 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
6989 2019-01-01 Joseph Myers <joseph@codesourcery.com>
6991 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
6994 * sysdeps/unix/sysv/linux/netpacket/packet.h
6995 (PACKET_IGNORE_OUTGOING): New macro.
6997 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
7000 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7002 (riscv_flush_icache): New syscall.
7004 * manual/texinfo.tex: Update to version 2018-12-28.17 with
7005 trailing whitespace removed.
7006 * scripts/config.guess: Update to version 2019-01-01.
7007 * scripts/config.sub: Update to version 2019-01-01.
7008 * scripts/move-if-change: Update from gnulib.
7010 * NEWS: Update copyright dates.
7011 * catgets/gencat.c (print_version): Likewise.
7012 * csu/version.c (banner): Likewise.
7013 * debug/catchsegv.sh: Likewise.
7014 * debug/pcprofiledump.c (print_version): Likewise.
7015 * debug/xtrace.sh (do_version): Likewise.
7016 * elf/ldconfig.c (print_version): Likewise.
7017 * elf/ldd.bash.in: Likewise.
7018 * elf/pldd.c (print_version): Likewise.
7019 * elf/sotruss.sh: Likewise.
7020 * elf/sprof.c (print_version): Likewise.
7021 * iconv/iconv_prog.c (print_version): Likewise.
7022 * iconv/iconvconfig.c (print_version): Likewise.
7023 * locale/programs/locale.c (print_version): Likewise.
7024 * locale/programs/localedef.c (print_version): Likewise.
7025 * login/programs/pt_chown.c (print_version): Likewise.
7026 * malloc/memusage.sh (do_version): Likewise.
7027 * malloc/memusagestat.c (print_version): Likewise.
7028 * malloc/mtrace.pl: Likewise.
7029 * manual/libc.texinfo: Likewise.
7030 * nptl/version.c (banner): Likewise.
7031 * nscd/nscd.c (print_version): Likewise.
7032 * nss/getent.c (print_version): Likewise.
7033 * nss/makedb.c (print_version): Likewise.
7034 * posix/getconf.c (main): Likewise.
7035 * scripts/test-installation.pl: Likewise.
7036 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7038 * All files with FSF copyright notices: Update copyright dates
7039 using scripts/update-copyrights.
7040 * locale/programs/charmap-kw.h: Regenerated.
7041 * locale/programs/locfile-kw.h: Likewise.
7043 2018-12-31 Joseph Myers <joseph@codesourcery.com>
7045 * timezone/zdump.c: Update from tzcode 2018i.
7046 * timezone/zic.c: Likewise.
7048 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
7050 regex: improve Gnulib port to AIX
7051 From the glibc point of view, this removes duplicate macro
7052 definitions and is obviously safe.
7053 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
7054 * posix/regex_internal.h:
7055 (__attribute__, __attribute_warn_unused_result__):
7056 Remove; already defined elsewhere.
7058 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
7061 * malloc/malloc.c (_int_realloc): Always call memcpy for the
7062 copying operation. (ncopies had the wrong type, resulting in an
7063 integer wraparound and too few elements being copied.)
7065 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
7068 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
7069 <asm/syscalls.h> exists with __has_include__ before including it.
7071 2018-12-31 Joseph Myers <joseph@codesourcery.com>
7073 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7076 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
7078 * hurd/lookup-retry: Include <unistd.h>.
7079 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
7080 Release it on return. Handle "pid" magical lookup retry.
7082 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
7085 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
7086 (t_fmt_ampm): Likewise.
7087 * localedata/locales/aa_ER (t_fmt): Likewise.
7088 (t_fmt_ampm): Likewise.
7089 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
7090 (t_fmt_ampm): Likewise.
7091 * localedata/locales/aa_ET (t_fmt): Likewise.
7092 (t_fmt_ampm): Likewise.
7093 * localedata/locales/am_ET (t_fmt): Likewise.
7094 (t_fmt_ampm): Likewise.
7095 * localedata/locales/byn_ER (t_fmt): Likewise.
7096 (t_fmt_ampm): Likewise.
7097 * localedata/locales/om_ET (t_fmt): Likewise.
7098 (t_fmt_ampm): Likewise.
7099 * localedata/locales/sid_ET (t_fmt): Likewise.
7100 (t_fmt_ampm): Likewise.
7101 * localedata/locales/so_DJ (t_fmt): Likewise.
7102 (t_fmt_ampm): Likewise.
7103 * localedata/locales/so_ET (t_fmt): Likewise.
7104 (t_fmt_ampm): Likewise.
7105 * localedata/locales/so_SO (t_fmt): Likewise.
7106 (t_fmt_ampm): Likewise.
7107 * localedata/locales/ti_ER (t_fmt): Likewise.
7108 (t_fmt_ampm): Likewise.
7109 * localedata/locales/ti_ET (t_fmt): Likewise.
7110 (t_fmt_ampm): Likewise.
7111 * localedata/locales/tig_ER (t_fmt): Likewise.
7112 (t_fmt_ampm): Likewise.
7113 * localedata/locales/wal_ET (t_fmt): Likewise.
7114 (t_fmt_ampm): Likewise.
7116 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
7117 * localedata/locales/ar_IN (t_fmt): Likewise.
7118 * localedata/locales/bhb_IN (t_fmt): Likewise.
7119 * localedata/locales/bho_IN (t_fmt): Likewise.
7120 * localedata/locales/bi_VU (t_fmt): Likewise.
7121 * localedata/locales/bn_BD (t_fmt): Likewise.
7122 * localedata/locales/bn_IN (t_fmt): Likewise.
7123 * localedata/locales/brx_IN (t_fmt): Likewise.
7124 * localedata/locales/doi_IN (t_fmt): Likewise.
7125 * localedata/locales/en_HK (t_fmt): Likewise.
7126 (t_fmt_ampm): Likewise.
7127 * localedata/locales/en_IN (t_fmt): Likewise.
7128 * localedata/locales/en_PH (t_fmt): Likewise.
7129 * localedata/locales/gu_IN (t_fmt): Likewise.
7130 * localedata/locales/hi_IN (t_fmt): Likewise.
7131 * localedata/locales/hif_FJ (t_fmt): Likewise.
7132 * localedata/locales/hne_IN (t_fmt): Likewise.
7133 * localedata/locales/kn_IN (t_fmt): Likewise.
7134 * localedata/locales/kok_IN (t_fmt): Likewise.
7135 * localedata/locales/ks_IN (t_fmt): Likewise.
7136 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
7137 * localedata/locales/mag_IN (t_fmt): Likewise.
7138 * localedata/locales/mai_IN (t_fmt): Likewise.
7139 * localedata/locales/mjw_IN (t_fmt): Likewise.
7140 * localedata/locales/ml_IN (t_fmt): Likewise.
7141 * localedata/locales/mni_IN (t_fmt): Likewise.
7142 * localedata/locales/mr_IN (t_fmt): Likewise.
7143 * localedata/locales/ms_MY (t_fmt): Likewise.
7144 * localedata/locales/pa_IN (t_fmt): Likewise.
7145 * localedata/locales/raj_IN (t_fmt): Likewise.
7146 * localedata/locales/sa_IN (t_fmt): Likewise.
7147 * localedata/locales/sat_IN (t_fmt): Likewise.
7148 * localedata/locales/sd_IN (t_fmt): Likewise.
7149 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
7150 * localedata/locales/tcy_IN (t_fmt): Likewise.
7151 * localedata/locales/the_NP (t_fmt): Likewise.
7152 * localedata/locales/to_TO (t_fmt): Likewise.
7153 * localedata/locales/ur_IN (t_fmt): Likewise.
7155 * localedata/locales/hif_FJ (d_t_fmt): Set to
7156 "%A %d %b %Y %I:%M:%S %p".
7157 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
7159 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
7160 * localedata/locales/ar_BH (t_fmt): Likewise.
7161 * localedata/locales/ar_DZ (t_fmt): Likewise.
7162 * localedata/locales/ar_EG (t_fmt): Likewise.
7163 * localedata/locales/ar_IQ (t_fmt): Likewise.
7164 * localedata/locales/ar_JO (t_fmt): Likewise.
7165 * localedata/locales/ar_KW (t_fmt): Likewise.
7166 * localedata/locales/ar_LB (t_fmt): Likewise.
7167 * localedata/locales/ar_LY (t_fmt): Likewise.
7168 * localedata/locales/ar_OM (t_fmt): Likewise.
7169 * localedata/locales/ar_QA (t_fmt): Likewise.
7170 * localedata/locales/ar_SD (t_fmt): Likewise.
7171 * localedata/locales/ar_SS (t_fmt): Likewise.
7172 * localedata/locales/ar_SY (t_fmt): Likewise.
7173 * localedata/locales/ar_TN (t_fmt): Likewise.
7174 * localedata/locales/ar_YE (t_fmt): Likewise.
7176 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
7177 (t_fmt_ampm): Likewise.
7178 * localedata/locales/gez_ET (t_fmt): Likewise.
7179 (t_fmt_ampm): Likewise.
7181 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
7182 (t_fmt_ampm): Likewise.
7183 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
7185 * localedata/locales/zh_HK (t_fmt):
7186 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
7188 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
7189 because this locale does not use the 12-hour clock.
7190 (t_fmt): Set to "%Z %H:%M:%S".
7191 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
7193 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
7194 because this locale does not use the 12-hour clock.
7195 (t_fmt): Set to "%H:%M:%S %Z".
7196 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
7198 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
7199 because this locale does not use the 12-hour clock.
7200 (t_fmt): Set to "%T".
7201 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
7202 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
7204 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
7205 because this locale does not use the 12-hour clock.
7206 (t_fmt): Set to "%H:%M:%S %Z".
7207 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
7209 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
7210 because this locale does not use the 12-hour clock.
7211 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
7212 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
7214 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
7218 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
7219 (t_fmt_ampm): Likewise.
7220 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
7221 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
7222 (d_fmt): Set to "%-d.%-m.%y".
7224 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7226 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
7227 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
7228 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
7230 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
7231 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
7232 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
7234 * support/blob_repeat.c (check_mul_overflow_size_t,
7235 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
7237 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
7239 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
7241 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
7243 regex: simplify Gnulib port
7244 This simplifies the code, by removing stuff intended for porting
7245 to Gnulib but no longer needed there.
7246 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
7247 uses of libc_hidden_def, weak_alias.
7248 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
7249 _Restrict_ except for public-facing headers.
7250 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
7251 Remove; already defined elsewhere.
7252 * posix/regex.c, posix/regex_internal.h:
7253 Use __GNUC_PREREQ instead of rolling our own.
7254 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
7256 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
7258 * benchtests/bench-strlen.c (generic_strlen): New function.
7259 (memchr_strlen): New function.
7261 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
7263 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
7264 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
7265 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
7267 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
7269 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7271 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
7273 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
7274 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
7275 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
7276 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
7277 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
7278 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
7279 <sysdeps/ieee754/flt-32/s_sincosf.c>.
7281 2018-12-21 Joseph Myers <joseph@codesourcery.com>
7284 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
7285 PLT reference in libc.so.
7286 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
7287 _Q_lltoq and _Q_qtod PLT references in libc.so.
7289 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
7291 * benchtests/bench-memchr.c: Cleanup defines.
7292 * benchtests/bench-memcmp.c: Likewise.
7293 * benchtests/bench-memset.c: Likewise.
7294 * benchtests/bench-memset-large.c: Likewise.
7295 * benchtests/bench-memset-walk.c: Likewise.
7296 * benchtests/bench-stpcpy.c: Likewise.
7297 * benchtests/bench-stpncpy.c: Likewise.
7298 * benchtests/bench-strcat.c: Likewise.
7299 * benchtests/bench-strchr.c: Likewise.
7300 * benchtests/bench-strcmp.c: Likewise.
7301 * benchtests/bench-strcpy.c: Likewise.
7302 * benchtests/bench-strcspn.c: Likewise.
7303 * benchtests/bench-string.h: Likewise.
7304 * benchtests/bench-strlen.c: Likewise.
7305 * benchtests/bench-strncat.c: Likewise.
7306 * benchtests/bench-strncmp.c: Likewise.
7307 * benchtests/bench-strncpy.c: Likewise.
7308 * benchtests/bench-strnlen.c: Likewise.
7309 * benchtests/bench-strpbrk.c: Likewise.
7310 * benchtests/bench-strrchr.c: Likewise.
7311 * benchtests/bench-strspn.c: Likewise.
7313 2018-12-21 Joseph Myers <joseph@codesourcery.com>
7315 * stdlib/longlong.h: Update from GCC.
7318 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
7319 * configure: Regenerated.
7320 * manual/install.texi (Tools for Compilation): Update minimum GCC
7322 * INSTALL: Regenerated.
7324 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
7326 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
7328 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
7330 * malloc/malloc.c (mremap_chunk): Additional checks.
7332 2018-12-21 Mao Han <han_mao@c-sky.com>
7334 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
7335 * scripts/build-many-glibcs.py: Add C-SKY targets.
7336 * sysdeps/csky/Implies: New file.
7337 * sysdeps/csky/Makefile: Likewise.
7338 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
7339 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
7340 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
7341 * sysdeps/csky/abiv2/memcmp.S: Likewise.
7342 * sysdeps/csky/abiv2/memcpy.S: Likewise.
7343 * sysdeps/csky/abiv2/memmove.S: Likewise.
7344 * sysdeps/csky/abiv2/memset.S: Likewise.
7345 * sysdeps/csky/abiv2/setjmp.S: Likewise.
7346 * sysdeps/csky/abiv2/start.S: Likewise.
7347 * sysdeps/csky/abiv2/strcmp.S: Likewise.
7348 * sysdeps/csky/abiv2/strcpy.S: Likewise.
7349 * sysdeps/csky/abiv2/strlen.S: Likewise.
7350 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
7351 * sysdeps/csky/abort-instr.h: Likewise.
7352 * sysdeps/csky/atomic-machine.h: Likewise.
7353 * sysdeps/csky/bits/endian.h: Likewise.
7354 * sysdeps/csky/bits/fenv.h: Likewise.
7355 * sysdeps/csky/bits/link.h: Likewise.
7356 * sysdeps/csky/bits/setjmp.h: Likewise.
7357 * sysdeps/csky/bsd-_setjmp.S: Likewise.
7358 * sysdeps/csky/bsd-setjmp.S: Likewise.
7359 * sysdeps/csky/configure: Likewise.
7360 * sysdeps/csky/configure.ac: Likewise.
7361 * sysdeps/csky/dl-machine.h: Likewise.
7362 * sysdeps/csky/dl-procinfo.c: Likewise.
7363 * sysdeps/csky/dl-procinfo.h: Likewise.
7364 * sysdeps/csky/dl-sysdep.h: Likewise.
7365 * sysdeps/csky/dl-tls.h: Likewise.
7366 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
7367 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
7368 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
7369 * sysdeps/csky/fpu/fegetenv.c: Likewise.
7370 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
7371 * sysdeps/csky/fpu/fegetmode.c: Likewise.
7372 * sysdeps/csky/fpu/fegetround.c: Likewise.
7373 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
7374 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
7375 * sysdeps/csky/fpu/fenv_private.h: Likewise.
7376 * sysdeps/csky/fpu/fesetenv.c: Likewise.
7377 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
7378 * sysdeps/csky/fpu/fesetmode.c: Likewise.
7379 * sysdeps/csky/fpu/fesetround.c: Likewise.
7380 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
7381 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
7382 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
7383 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
7384 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
7385 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
7386 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
7387 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
7388 * sysdeps/csky/fpu_control.h: Likewise.
7389 * sysdeps/csky/gccframe.h: Likewise.
7390 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
7391 * sysdeps/csky/ldsodefs.h: Likewise.
7392 * sysdeps/csky/libc-tls.c: Likewise.
7393 * sysdeps/csky/linkmap.h: Likewise.
7394 * sysdeps/csky/machine-gmon.h: Likewise.
7395 * sysdeps/csky/memusage.h: Likewise.
7396 * sysdeps/csky/nofpu/Implies: Likewise.
7397 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
7398 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
7399 * sysdeps/csky/nptl/Makefile: Likewise.
7400 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
7401 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
7402 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
7403 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
7404 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
7405 * sysdeps/csky/nptl/tls.h: Likewise.
7406 * sysdeps/csky/preconfigure: Likewise.
7407 * sysdeps/csky/sfp-machine.h: Likewise.
7408 * sysdeps/csky/sotruss-lib.c: Likewise.
7409 * sysdeps/csky/stackinfo.h: Likewise.
7410 * sysdeps/csky/sysdep.h: Likewise.
7411 * sysdeps/csky/tininess.h: Likewise.
7412 * sysdeps/csky/tst-audit.h: Likewise.
7413 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
7414 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
7415 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
7416 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
7417 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
7418 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
7419 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
7420 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
7421 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
7422 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
7423 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
7424 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
7425 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
7426 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
7427 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
7428 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
7429 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
7430 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
7431 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
7432 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
7433 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
7434 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
7435 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
7436 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
7437 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
7438 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
7439 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
7440 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
7441 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
7442 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
7443 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
7444 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
7445 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
7446 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
7447 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
7448 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
7449 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
7450 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
7451 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
7452 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
7453 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
7454 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
7455 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
7456 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
7458 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
7460 * include/time.h (__difftime64): Add.
7461 * time/difftime.c (subtract): convert to 64-bit time.
7462 * time/difftime.c (__difftime64): Add.
7463 * time/difftime.c (__difftime): Wrap around __difftime64.
7465 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
7467 * manual/examples/add.c: Remove redundant "if not".
7468 * manual/examples/argp-ex1.c: Likewise.
7469 * manual/examples/argp-ex2.c: Likewise.
7470 * manual/examples/argp-ex3.c: Likewise.
7471 * manual/examples/argp-ex4.c: Likewise.
7472 * manual/examples/atexit.c: Likewise.
7473 * manual/examples/db.c: Likewise.
7474 * manual/examples/dir.c: Likewise.
7475 * manual/examples/dir2.c: Likewise.
7476 * manual/examples/execinfo.c: Likewise.
7477 * manual/examples/filecli.c: Likewise.
7478 * manual/examples/filesrv.c: Likewise.
7479 * manual/examples/fmtmsgexpl.c: Likewise.
7480 * manual/examples/genpass.c: Likewise.
7481 * manual/examples/inetcli.c: Likewise.
7482 * manual/examples/inetsrv.c: Likewise.
7483 * manual/examples/isockad.c: Likewise.
7484 * manual/examples/longopt.c: Likewise.
7485 * manual/examples/memopen.c: Likewise.
7486 * manual/examples/memstrm.c: Likewise.
7487 * manual/examples/mkdirent.c: Likewise.
7488 * manual/examples/mkfsock.c: Likewise.
7489 * manual/examples/mkisock.c: Likewise.
7490 * manual/examples/mygetpass.c: Likewise.
7491 * manual/examples/pipe.c: Likewise.
7492 * manual/examples/popen.c: Likewise.
7493 * manual/examples/rprintf.c: Likewise.
7494 * manual/examples/search.c: Likewise.
7495 * manual/examples/select.c: Likewise.
7496 * manual/examples/setjmp.c: Likewise.
7497 * manual/examples/sigh1.c: Likewise.
7498 * manual/examples/sigusr.c: Likewise.
7499 * manual/examples/stpcpy.c: Likewise.
7500 * manual/examples/strdupa.c: Likewise.
7501 * manual/examples/strftim.c: Likewise.
7502 * manual/examples/subopt.c: Likewise.
7503 * manual/examples/swapcontext.c: Likewise.
7504 * manual/examples/termios.c: Likewise.
7505 * manual/examples/testopt.c: Likewise.
7506 * manual/examples/testpass.c: Likewise.
7507 * manual/examples/timeval_subtract.c: Likewise.
7509 2018-12-19 Joseph Myers <joseph@codesourcery.com>
7511 * sysdeps/x86/fpu/math_private.h: New file.
7512 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
7514 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
7519 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7521 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
7522 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
7523 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
7524 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
7526 (_dl_show_auxv): Give a special treatment to
7527 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
7528 and AT_L3_CACHEGEOMETRY.
7529 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
7530 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
7531 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
7532 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
7534 2018-12-19 Andreas Schwab <schwab@suse.de>
7536 * nscd/connections.c (check_use): Don't abort on invalid len.
7538 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
7540 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
7541 values in the 64bit value cases.
7543 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
7549 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
7555 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
7558 (__gmtime64_r): Add.
7560 (__gmtime64_r): Add.
7561 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
7567 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
7570 (__localtime64_r): Add.
7572 (__localtime64_r): Add.
7573 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
7575 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7577 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
7578 kernel_sigction definition.
7580 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
7582 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
7584 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
7585 __syscall_rt_sigaction.
7586 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
7587 (kernel_sigaction): Use Linux generic defintion.
7589 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
7590 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
7591 (__syscall_rt_sigaction): Remove implementation.
7592 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
7594 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
7595 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
7596 INTERNAL_SYSCALL): Remove definitions.
7597 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
7598 action and signal set size.
7599 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
7600 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
7602 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7603 James Clarke <jrtc27@jrtc27.com>
7606 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
7607 Define if SA_RESTORER is defined.
7608 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
7609 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
7611 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
7612 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
7614 (HAS_SA_RESTORER): Define.
7615 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
7616 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
7617 (HAS_SA_RESTORER): Define.
7618 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
7619 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
7620 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
7621 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
7622 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7624 2018-12-18 Joseph Myers <joseph@codesourcery.com>
7626 * sysdeps/unix/sysv/linux/kernel-features.h
7627 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
7628 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7629 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
7630 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7631 (__ASSUME_ST_INO_64_BIT): Likewise.
7632 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7633 <kernel-features.h>.
7634 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
7635 Remove conditional code.
7636 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7637 <kernel-features.h>.
7638 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
7639 Remove conditional code.
7640 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
7641 <kernel-features.h>.
7642 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
7643 Remove conditional code.
7644 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
7645 <kernel-features.h>.
7646 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
7647 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
7649 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7651 * sysdeps/s390/multiarch/ifunc-resolve.h
7652 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
7653 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
7654 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
7655 Delete macro definition.
7656 (s390_libc_ifunc_init): Rename to
7657 s390_libc_ifunc_expr_stfle_init.
7658 * sysdeps/s390/bzero: Use
7659 s390_libc_ifunc_expr_stfle_init instead of
7660 s390_libc_ifunc_init.
7661 * sysdeps/s390/memcmp.c: Likewise.
7662 * sysdeps/s390/memcpy.c: Likewise.
7663 * sysdeps/s390/mempcpy.c: Likewise.
7664 * sysdeps/s390/memset.c: Likewise.
7666 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7668 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
7669 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
7671 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7673 * sysdeps/s390/multiarch/Makefile
7674 (sysdep_routines): Remove wmemcmp variants.
7675 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
7676 * sysdeps/s390/multiarch/ifunc-impl-list.c
7677 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
7678 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
7679 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
7680 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
7681 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
7682 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
7683 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
7684 * sysdeps/s390/ifunc-wmemcmp.h: New file.
7686 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7688 * sysdeps/s390/multiarch/Makefile
7689 (sysdep_routines): Remove wmemset variants.
7690 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
7691 * sysdeps/s390/multiarch/ifunc-impl-list.c
7692 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
7693 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
7694 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
7695 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
7696 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
7697 * sysdeps/s390/multiarch/wmemset.c: Move to ...
7698 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
7699 * sysdeps/s390/ifunc-wmemset.h: New file.
7701 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7703 * sysdeps/s390/multiarch/Makefile
7704 (sysdep_routines): Remove wmemchr variants.
7705 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
7706 * sysdeps/s390/multiarch/ifunc-impl-list.c
7707 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
7708 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
7709 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
7710 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
7711 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
7712 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
7713 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
7714 * sysdeps/s390/ifunc-wmemchr.h: New file.
7716 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7718 * sysdeps/s390/multiarch/Makefile
7719 (sysdep_routines): Remove wcscspn variants.
7720 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
7721 * sysdeps/s390/multiarch/ifunc-impl-list.c
7722 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
7723 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
7724 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
7725 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
7726 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
7727 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
7728 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
7729 * sysdeps/s390/ifunc-wcscspn.h: New file.
7731 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7733 * sysdeps/s390/multiarch/Makefile
7734 (sysdep_routines): Remove wcspbrk variants.
7735 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
7736 * sysdeps/s390/multiarch/ifunc-impl-list.c
7737 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
7738 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
7739 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
7740 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
7741 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
7742 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
7743 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
7744 * sysdeps/s390/ifunc-wcspbrk.h: New file.
7746 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7748 * sysdeps/s390/multiarch/Makefile
7749 (sysdep_routines): Remove wcsspn variants.
7750 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
7751 * sysdeps/s390/multiarch/ifunc-impl-list.c
7752 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
7753 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
7754 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
7755 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
7756 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
7757 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
7758 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
7759 * sysdeps/s390/ifunc-wcsspn.h: New file.
7761 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7763 * sysdeps/s390/multiarch/Makefile
7764 (sysdep_routines): Remove wcsrchr variants.
7765 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
7766 * sysdeps/s390/multiarch/ifunc-impl-list.c
7767 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
7768 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
7769 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
7770 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
7771 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
7772 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
7773 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
7774 * sysdeps/s390/ifunc-wcsrchr.h: New file.
7776 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7778 * sysdeps/s390/multiarch/Makefile
7779 (sysdep_routines): Remove wcschrnul variants.
7780 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
7781 * sysdeps/s390/multiarch/ifunc-impl-list.c
7782 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
7783 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
7784 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
7785 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
7786 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
7787 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
7788 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
7789 * sysdeps/s390/ifunc-wcschrnul.h: New file.
7791 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7793 * sysdeps/s390/multiarch/Makefile
7794 (sysdep_routines): Remove wcschr variants.
7795 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
7796 * sysdeps/s390/multiarch/ifunc-impl-list.c
7797 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
7798 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
7799 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
7800 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
7801 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
7802 * sysdeps/s390/multiarch/wcschr.c: Move to ...
7803 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
7804 * sysdeps/s390/ifunc-wcschr.h: New file.
7806 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7808 * sysdeps/s390/multiarch/Makefile
7809 (sysdep_routines): Remove wcsncmp variants.
7810 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
7811 * sysdeps/s390/multiarch/ifunc-impl-list.c
7812 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
7813 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
7814 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
7815 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
7816 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
7817 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
7818 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
7819 * sysdeps/s390/ifunc-wcsncmp.h: New file.
7821 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7823 * sysdeps/s390/multiarch/Makefile
7824 (sysdep_routines): Remove wcscmp variants.
7825 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
7826 * sysdeps/s390/multiarch/ifunc-impl-list.c
7827 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
7828 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
7829 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
7830 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
7831 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
7832 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
7833 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
7834 * sysdeps/s390/ifunc-wcscmp.h: New file.
7836 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7838 * sysdeps/s390/multiarch/Makefile
7839 (sysdep_routines): Remove wcsncat variants.
7840 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
7841 * sysdeps/s390/multiarch/ifunc-impl-list.c
7842 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
7843 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
7844 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
7845 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
7846 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
7847 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
7848 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
7849 * sysdeps/s390/ifunc-wcsncat.h: New file.
7851 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7853 * sysdeps/s390/multiarch/Makefile
7854 (sysdep_routines): Remove wcscat variants.
7855 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
7856 * sysdeps/s390/multiarch/ifunc-impl-list.c
7857 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
7858 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
7859 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
7860 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
7861 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
7862 * sysdeps/s390/multiarch/wcscat.c: Move to ...
7863 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
7864 * sysdeps/s390/ifunc-wcscat.h: New file.
7866 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7868 * sysdeps/s390/multiarch/Makefile
7869 (sysdep_routines): Remove wcpncpy variants.
7870 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
7871 * sysdeps/s390/multiarch/ifunc-impl-list.c
7872 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
7873 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
7874 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
7875 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
7876 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
7877 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
7878 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
7879 * sysdeps/s390/ifunc-wcpncpy.h: New file.
7881 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7883 * sysdeps/s390/multiarch/Makefile
7884 (sysdep_routines): Remove wcsncpy variants.
7885 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
7886 * sysdeps/s390/multiarch/ifunc-impl-list.c
7887 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
7888 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
7889 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
7890 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
7891 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
7892 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
7893 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
7894 * sysdeps/s390/ifunc-wcsncpy.h: New file.
7896 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7898 * sysdeps/s390/multiarch/Makefile
7899 (sysdep_routines): Remove wcpcpy variants.
7900 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
7901 * sysdeps/s390/multiarch/ifunc-impl-list.c
7902 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
7903 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
7904 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
7905 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
7906 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
7907 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
7908 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
7909 * sysdeps/s390/ifunc-wcpcpy.h: New file.
7911 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7913 * sysdeps/s390/multiarch/Makefile
7914 (sysdep_routines): Remove wcscpy variants.
7915 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
7916 * sysdeps/s390/multiarch/ifunc-impl-list.c
7917 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
7918 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
7919 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
7920 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
7921 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
7922 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
7923 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
7924 * sysdeps/s390/ifunc-wcscpy.h: New file.
7926 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7928 * sysdeps/s390/multiarch/Makefile
7929 (sysdep_routines): Remove wcsnlen variants.
7930 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
7931 * sysdeps/s390/multiarch/ifunc-impl-list.c
7932 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
7933 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
7934 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
7935 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
7936 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
7937 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
7938 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
7939 * sysdeps/s390/ifunc-wcsnlen.h: New file.
7941 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7943 * sysdeps/s390/multiarch/Makefile
7944 (sysdep_routines): Remove wcslen variants.
7945 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
7946 * sysdeps/s390/multiarch/ifunc-impl-list.c
7947 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
7948 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
7949 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
7950 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
7951 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
7952 * sysdeps/s390/multiarch/wcslen.c: Move to ...
7953 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
7954 * sysdeps/s390/ifunc-wcslen.h: New file.
7956 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7958 * sysdeps/s390/multiarch/Makefile
7959 (sysdep_routines): Remove memrchr variants.
7960 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
7961 * sysdeps/s390/multiarch/ifunc-impl-list.c
7962 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
7963 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
7964 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
7965 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
7966 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
7967 * sysdeps/s390/multiarch/memrchr.c: Move to ...
7968 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
7969 * sysdeps/s390/ifunc-memrchr.h: New file.
7971 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7973 * sysdeps/s390/multiarch/Makefile
7974 (sysdep_routines): Remove memccpy variants.
7975 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
7976 * sysdeps/s390/multiarch/ifunc-impl-list.c
7977 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
7978 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
7979 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
7980 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
7981 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
7982 * sysdeps/s390/multiarch/memccpy.c: Move to ...
7983 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
7984 * sysdeps/s390/ifunc-memccpy.h: New file.
7986 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7988 * sysdeps/s390/multiarch/Makefile
7989 (sysdep_routines): Remove rawmemchr variants.
7990 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
7991 * sysdeps/s390/multiarch/ifunc-impl-list.c
7992 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
7993 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
7994 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
7995 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
7996 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
7997 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
7998 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
7999 * sysdeps/s390/ifunc-rawmemchr.h: New file.
8001 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8003 * sysdeps/s390/multiarch/Makefile
8004 (sysdep_routines): Remove memchr variants.
8005 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
8006 * sysdeps/s390/multiarch/ifunc-impl-list.c
8007 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
8008 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
8009 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
8010 * sysdeps/s390/multiarch/memchr.c: Move to ...
8011 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
8012 * sysdeps/s390/ifunc-memchr.h: New file.
8013 * sysdeps/s390/s390-64/memchr.S: Move to ...
8014 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
8015 for 31/64bit and ifunc handling.
8016 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
8017 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
8018 * sysdeps/s390/s390-32/memchr.S: Likewise.
8020 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8022 * sysdeps/s390/multiarch/Makefile
8023 (sysdep_routines): Remove strcspn variants.
8024 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
8025 * sysdeps/s390/multiarch/ifunc-impl-list.c
8026 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
8027 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
8028 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
8029 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
8030 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
8031 * sysdeps/s390/multiarch/strcspn.c: Move to ...
8032 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
8033 * sysdeps/s390/ifunc-strcspn.h: New file.
8035 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8037 * sysdeps/s390/multiarch/Makefile
8038 (sysdep_routines): Remove strpbrk variants.
8039 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
8040 * sysdeps/s390/multiarch/ifunc-impl-list.c
8041 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
8042 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
8043 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
8044 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
8045 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
8046 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
8047 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
8048 * sysdeps/s390/ifunc-strpbrk.h: New file.
8050 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8052 * sysdeps/s390/multiarch/Makefile
8053 (sysdep_routines): Remove strspn variants.
8054 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
8055 * sysdeps/s390/multiarch/ifunc-impl-list.c
8056 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
8057 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
8058 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
8059 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
8060 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
8061 * sysdeps/s390/multiarch/strspn.c: Move to ...
8062 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
8063 * sysdeps/s390/ifunc-strspn.h: New file.
8065 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8067 * sysdeps/s390/multiarch/Makefile
8068 (sysdep_routines): Remove strrchr variants.
8069 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
8070 * sysdeps/s390/multiarch/ifunc-impl-list.c
8071 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
8072 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
8073 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
8074 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
8075 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
8076 * sysdeps/s390/multiarch/strrchr.c: Move to ...
8077 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
8078 * sysdeps/s390/ifunc-strrchr.h: New file.
8080 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8082 * sysdeps/s390/multiarch/Makefile
8083 (sysdep_routines): Remove strchrnul variants.
8084 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
8085 * sysdeps/s390/multiarch/ifunc-impl-list.c
8086 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
8087 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
8088 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
8089 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
8090 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
8091 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
8092 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
8093 * sysdeps/s390/ifunc-strchrnul.h: New file.
8095 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8097 * sysdeps/s390/multiarch/Makefile
8098 (sysdep_routines): Remove strchr variants.
8099 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
8100 * sysdeps/s390/multiarch/ifunc-impl-list.c
8101 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
8102 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
8103 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
8104 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
8105 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
8106 * sysdeps/s390/multiarch/strchr.c: Move to ...
8107 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
8108 * sysdeps/s390/ifunc-strchr.h: New file.
8110 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8112 * sysdeps/s390/multiarch/Makefile
8113 (sysdep_routines): Remove strncmp variants.
8114 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
8115 * sysdeps/s390/multiarch/ifunc-impl-list.c
8116 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
8117 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
8118 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
8119 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
8120 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
8121 * sysdeps/s390/multiarch/strncmp.c: Move to ...
8122 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
8123 * sysdeps/s390/ifunc-strncmp.h: New file.
8125 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8127 * sysdeps/s390/multiarch/Makefile
8128 (sysdep_routines): Remove strcmp variants.
8129 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
8130 * sysdeps/s390/multiarch/ifunc-impl-list.c
8131 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
8132 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
8133 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
8134 * sysdeps/s390/multiarch/strcmp.c: Move to ...
8135 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
8136 * sysdeps/s390/ifunc-strcmp.h: New file.
8137 * sysdeps/s390/s390-64/strcmp.S: Move to ...
8138 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
8139 for 31/64bit and ifunc handling.
8140 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
8141 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
8142 * sysdeps/s390/s390-32/strcmp.S: Likewise.
8144 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8146 * sysdeps/s390/multiarch/Makefile
8147 (sysdep_routines): Remove strncat variants.
8148 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
8149 * sysdeps/s390/multiarch/ifunc-impl-list.c
8150 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
8151 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
8152 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
8153 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
8154 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
8155 * sysdeps/s390/multiarch/strncat.c: Move to ...
8156 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
8157 * sysdeps/s390/ifunc-strncat.h: New file.
8159 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8161 * sysdeps/s390/multiarch/Makefile
8162 (sysdep_routines): Remove strcat variants.
8163 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
8164 * sysdeps/s390/multiarch/ifunc-impl-list.c
8165 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
8166 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
8167 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
8168 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
8169 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
8170 * sysdeps/s390/multiarch/strcat.c: Move to ...
8171 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
8172 * sysdeps/s390/ifunc-strcat.h: New file.
8174 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8176 * sysdeps/s390/multiarch/Makefile
8177 (sysdep_routines): Remove stpncpy variants.
8178 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
8179 * sysdeps/s390/multiarch/ifunc-impl-list.c
8180 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
8181 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
8182 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
8183 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
8184 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
8185 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
8186 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
8187 * sysdeps/s390/ifunc-stpncpy.h: New file.
8189 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8191 * sysdeps/s390/multiarch/Makefile
8192 (sysdep_routines): Remove strncpy variants.
8193 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
8194 * sysdeps/s390/multiarch/ifunc-impl-list.c
8195 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
8196 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
8197 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
8198 * sysdeps/s390/multiarch/strncpy.c: Move to ...
8199 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
8200 * sysdeps/s390/ifunc-strncpy.h: New file.
8201 * sysdeps/s390/s390-64/strncpy.S: Move to ...
8202 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
8203 and adjust ifunc handling.
8204 * sysdeps/s390/s390-32/strncpy.S: Move to ...
8205 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
8206 and adjust ifunc handling.
8207 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
8208 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
8210 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8212 * sysdeps/s390/multiarch/Makefile
8213 (sysdep_routines): Remove stpcpy variants.
8214 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
8215 * sysdeps/s390/multiarch/ifunc-impl-list.c
8216 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
8217 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
8218 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
8219 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
8220 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
8221 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
8222 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
8223 * sysdeps/s390/ifunc-stpcpy.h: New file.
8225 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8227 * sysdeps/s390/multiarch/Makefile
8228 (sysdep_routines): Remove strcpy variants.
8229 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
8230 * sysdeps/s390/multiarch/ifunc-impl-list.c
8231 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
8232 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
8233 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
8234 * sysdeps/s390/multiarch/strcpy.c: Move to ...
8235 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
8236 * sysdeps/s390/ifunc-strcpy.h: New file.
8237 * sysdeps/s390/s390-64/strcpy.S: Move to ...
8238 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
8239 for 31/64bit and ifunc handling.
8240 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
8241 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
8242 * sysdeps/s390/s390-32/strcpy.S: Likewise.
8244 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8246 * sysdeps/s390/multiarch/Makefile
8247 (sysdep_routines): Remove strnlen variants.
8248 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
8249 * sysdeps/s390/multiarch/ifunc-impl-list.c
8250 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
8251 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
8252 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
8253 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
8254 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
8255 * sysdeps/s390/multiarch/strnlen.c: Move to ...
8256 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
8257 * sysdeps/s390/ifunc-strnlen.h: New file.
8259 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8261 * sysdeps/s390/multiarch/Makefile
8262 (sysdep_routines): Remove strlen variants.
8263 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
8264 * sysdeps/s390/multiarch/ifunc-impl-list.c
8265 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
8266 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
8267 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
8268 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
8269 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
8270 * sysdeps/s390/multiarch/strlen.c: Move to ...
8271 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
8272 * sysdeps/s390/ifunc-strlen.h: New file.
8274 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8276 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
8277 * sysdeps/s390/multiarch/ifunc-impl-list.c
8278 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
8279 * sysdeps/s390/ifunc-memmem.h: New file.
8280 * sysdeps/s390/memmem.c: Likewise.
8281 * sysdeps/s390/memmem-c.c: Likewise.
8282 * sysdeps/s390/memmem-vx.c: Likewise.
8284 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8286 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
8287 * sysdeps/s390/multiarch/ifunc-impl-list.c
8288 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
8289 * sysdeps/s390/ifunc-strstr.h: New file.
8290 * sysdeps/s390/strstr.c: Likewise.
8291 * sysdeps/s390/strstr-c.c: Likewise.
8292 * sysdeps/s390/strstr-vx.c: Likewise.
8294 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8296 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
8297 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
8298 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
8299 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
8301 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
8302 * sysdeps/s390/memmove-c.c: New file.
8303 * sysdeps/s390/memmove.c: Likewise.
8304 * sysdeps/s390/multiarch/ifunc-impl-list.c
8305 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
8307 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8309 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
8310 * sysdeps/s390/configure.ac: Add check for z13 support.
8311 * sysdeps/s390/configure: Regenerated.
8313 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8315 * sysdeps/s390/memcopy.h: New file.
8317 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8319 * sysdeps/s390/s390-32/bcopy.S: Remove.
8320 * sysdeps/s390/s390-64/bcopy.S: Likewise.
8322 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8324 * sysdeps/s390/ifunc-memcpy.h: New File.
8325 * sysdeps/s390/memcpy.S: Move to ...
8326 * sysdeps/s390/memcpy-z900.S ... here.
8327 Move implementations from memcpy-s390x.s to here.
8328 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
8329 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
8330 Remove memcpy/mempcpy variants.
8331 * sysdeps/s390/Makefile (sysdep_routines):
8332 Add memcpy/mempcpy variants.
8333 * sysdeps/s390/multiarch/ifunc-impl-list.c
8334 (__libc_ifunc_impl_list): Adjust ifunc variants for
8336 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
8338 * sysdeps/s390/memcpy.c: ... here.
8339 Adjust ifunc variants for memcpy.
8340 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
8341 * sysdeps/s390/mempcpy.c: ... here.
8342 Adjust ifunc variants for mempcpy.
8343 * sysdeps/s390/mempcpy.S: Delete file.
8345 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8347 * sysdeps/s390/s390-64/memcpy.S: Move to ...
8348 * sysdeps/s390/memcpy.S: ... here.
8349 Adjust to be usable for 31/64bit.
8350 * sysdeps/s390/s390-32/memcpy.S: Delete File.
8351 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
8352 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
8353 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
8354 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
8355 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
8356 Adjust to be usable for 31/64bit.
8357 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
8358 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
8359 * sysdeps/s390/multiarch/memcpy.c: ... here.
8360 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
8362 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8364 * sysdeps/s390/ifunc-memcmp.h: New File.
8365 * sysdeps/s390/memcmp.S: Move to ...
8366 * sysdeps/s390/memcmp-z900.S ... here.
8367 Move implementations from memcmp-s390x.s to here.
8368 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
8369 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
8370 Remove memcmp variants.
8371 * sysdeps/s390/Makefile (sysdep_routines):
8372 Add memcmp variants.
8373 * sysdeps/s390/multiarch/ifunc-impl-list.c
8374 (__libc_ifunc_impl_list): Adjust ifunc variants for
8376 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
8378 * sysdeps/s390/memcmp.c: ... here.
8379 Adjust ifunc variants for memcmp.
8381 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8383 * sysdeps/s390/s390-64/memcmp.S: Move to ...
8384 * sysdeps/s390/memcmp.S: ... here.
8385 Adjust to be usable for 31/64bit.
8386 * sysdeps/s390/s390-32/memcmp.S: Delete File.
8387 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
8388 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
8390 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
8391 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
8392 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
8393 Adjust to be usable for 31/64bit.
8394 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
8395 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
8396 * sysdeps/s390/multiarch/memcmp.c: ... here.
8397 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
8399 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8401 * sysdeps/s390/s390-32/bzero.S: Delete file.
8402 * sysdeps/s390/s390-64/bzero.S: Likewise.
8403 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
8404 * sysdeps/s390/bzero.c: New file.
8405 * sysdeps/s390/memset-z900.S: Add bzero entry points.
8406 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
8407 * sysdeps/s390/multiarch/ifunc-impl-list.c
8408 (__libc_ifunc_impl_list): Add bzero ifunc variants.
8410 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8412 * sysdeps/s390/ifunc-memset.h: New File.
8413 * sysdeps/s390/memset.S: Move to ...
8414 * sysdeps/s390/memset-z900.S ... here.
8415 Move implementations from memset-s390x.s to here.
8416 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
8417 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
8418 Remove memset variants.
8419 * sysdeps/s390/Makefile (sysdep_routines):
8420 Add memset variants.
8421 * sysdeps/s390/multiarch/ifunc-impl-list.c
8422 (__libc_ifunc_impl_list): Adjust ifunc variants for
8424 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
8426 * sysdeps/s390/memset.c: ... here.
8427 Adjust ifunc variants for memset.
8429 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8431 * sysdeps/s390/s390-64/memset.S: Move to ...
8432 * sysdeps/s390/memset.S: ... here.
8433 Adjust to be usable for 31/64bit.
8434 * sysdeps/s390/s390-32/memset.S: Delete File.
8435 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
8436 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
8438 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
8439 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
8440 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
8441 Adjust to be usable for 31/64bit.
8442 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
8443 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
8444 * sysdeps/s390/multiarch/memset.c: ... here.
8445 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
8447 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8449 * sysdeps/s390/multiarch/ifunc-resolve.h
8450 (s390_libc_ifunc_init, s390_libc_ifunc,
8451 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
8453 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8455 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
8456 * sysdeps/s390/configure.ac: Add check for z10 support.
8457 * sysdeps/s390/configure: Regenerated.
8459 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
8461 * sysdeps/i386/atomic-machine.h: Merged with ...
8462 * sysdeps/x86_64/atomic-machine.h: To ...
8463 * sysdeps/x86/atomic-machine.h: This. New file.
8465 2018-12-18 Florian Weimer <fweimer@redhat.com>
8467 Rewrite locale/gen-translit.pl in Python.
8468 * locale/Makefile (generated): Add C-translit.h.
8469 (before-compile): Add $(objpfx)C-translit.h.
8470 (C-translit.h): Move to $(objpfx). Create target directory.
8471 Build using Python script.
8472 * locale/gen-translit.py: New file.
8473 * locale/gen-translit.pl: Remove file.
8474 * locale/C-translit.h.in: Change comment character to '#' for
8475 easier parsing without a C preprocessor.
8476 * locale/C-translit.h: Remove generated file.
8477 * manual/install.texi (Tools for Compilation): Do not mention
8479 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
8480 Remove locale/C-translit.h.
8481 * scripts/update-copyrights: Likewise.
8482 * INSTALL: Regenerate.
8484 2018-12-18 Florian Weimer <fweimer@redhat.com>
8487 * localedata/locales/bi_VU: Remove executable bit from file.
8489 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
8492 (__localtime64): Add.
8493 * manual/maint.texi: Document Y2038 symbol handling.
8495 (__localtime64): Add.
8496 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
8498 2018-12-17 Joseph Myers <joseph@codesourcery.com>
8500 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
8503 * scripts/glibcextract.py (compare_macro_consts): Take parameters
8504 to allow extra macros from first or second sources.
8505 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
8506 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8507 (tests-special): Add $(objpfx)tst-mman-consts.out.
8508 ($(objpfx)tst-mman-consts.out): New makefile target.
8510 2018-12-17 Mao Han <han_mao@c-sky.com>
8512 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
8513 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
8514 without stat64 system call support.
8515 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
8516 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
8517 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8518 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
8519 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
8520 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
8521 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
8522 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
8523 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
8524 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
8525 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
8527 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
8529 regex: fix storage-exhaustion error
8531 * posix/regexec.c (get_subexp):
8532 Do not continue if storage is exhausted.
8534 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
8536 regex: fix heap-use-after-free error
8538 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
8539 https://debbugs.gnu.org/32592
8540 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
8541 call extend_buffers which reallocates the re_string_t internal buffer.
8542 Local variable 'buf' was not updated in such case, resulting in
8544 * posix/regexec.c (get_subexp): Update 'buf' after call to
8547 2018-12-15 Florian Weimer <fweimer@redhat.com>
8549 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
8550 (minimum_stride_size): Use it.
8551 (support_blob_repeat_allocate): Likewise.
8553 2018-12-14 Joseph Myers <joseph@codesourcery.com>
8555 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
8560 2018-12-14 Florian Weimer <fweimer@redhat.com>
8562 * manual/process.texi (Process Creation Concepts): Remove
8563 documentation of process (ID) lifetime. List more process
8564 creation functions. Reference Process Identification section.
8565 (Process Identification): Add information about process ID
8566 lifetime. Describe Linux thread/task IDs.
8567 * manual/signal.texi (Signaling Another Process): Mention that the
8568 signal is always sent to the process.
8570 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8572 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
8573 and tst-ldbl-efgcvt.
8574 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
8575 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
8576 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
8577 (fcvt_tests, output_error, output_r_error, do_test): Use the
8578 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
8579 select the type of floating-point variables and arguments; to
8580 produce extra tests for double and conversion specifiers for
8581 printf; and to set the names of called functions.
8582 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
8583 in tst-efgcvt-template.c.
8584 * misc/tst-ldbl-efgcvt.c: Likewise.
8586 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
8588 * nss/Makefile (tst-nss-test3.out): New rule.
8590 2018-12-13 Joseph Myers <joseph@codesourcery.com>
8592 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
8595 2018-12-13 fanjinke <fanjinke@hygon.cn>
8597 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
8600 2018-12-13 Andreas Schwab <schwab@suse.de>
8603 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
8604 (__pthread_rwlock_rdlock_full): Update expected value for
8605 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
8606 * nptl/tst-rwlock-pwn.c: New file.
8607 * nptl/Makefile (tests): Add tst-rwlock-pwn.
8609 2018-12-12 Joseph Myers <joseph@codesourcery.com>
8611 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
8614 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8616 * benchtests/scripts/compare_bench.py (do_compare): write to
8617 stderr in casestat is not present.
8618 * benchtests/scripts/compare_bench.py (plot_graphs): write to
8619 stderr in case timings field is not present. Also string showing
8620 the output filename goes into the stderr.
8622 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8624 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
8625 and ZeroDivisorError exceptions.
8626 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
8627 argument to loop through user provided statistics.
8628 * benchtests/scripts/compare_bench.py (main): Include the --stats
8631 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8633 * benchtests/scripts/compare_bench.py (compare_runs): Continue
8636 2018-12-12 Florian Weimer <fweimer@redhat.com>
8638 * sysdeps/posix/timespec_get.c: Add missing “any later version”
8639 clause to copyright header.
8641 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8644 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
8645 registers saved in the stack frame.
8646 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
8647 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
8649 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8651 * include/bits/monetary-ldbl.h: New file.
8652 * include/bits/printf-ldbl.h: Likewise.
8653 * include/bits/stdio-ldbl.h: Likewise.
8654 * include/bits/stdlib-ldbl.h: Likewise.
8655 * include/bits/syslog-ldbl.h: Likewise.
8656 * include/bits/wchar-ldbl.h: Likewise.
8658 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8660 * libio/libio.h: Remove redirection for _IO_vfprintf.
8662 2018-12-11 Andreas Schwab <schwab@suse.de>
8664 * Makerules: Remove all references to abilist-pattern.
8665 (update-all-abi): Simplify find expression.
8667 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
8670 * math/auto-libm-test-in: Add new test case.
8671 * math/auto-libm-test-out-pow: Regenerated.
8672 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
8674 2018-12-10 DJ Delorie <dj@redhat.com>
8677 * support/test-container.c: Move postclean step to before we
8680 2018-12-10 Joseph Myers <joseph@codesourcery.com>
8682 * scripts/gen-as-const.py (main): Handle --python option.
8683 * scripts/gen-py-const.awk: Remove.
8684 * Makerules (py-const-script): Use gen-as-const.py.
8685 ($(py-const)): Likewise.
8686 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
8687 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
8688 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
8689 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
8690 ~PTHREAD_MUTEX_NO_ELISION_NP.
8691 * manual/README.pretty-printers: Update reference to
8694 * scripts/glibcextract.py: New file.
8695 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
8696 or tempfile. Import glibcexctract.
8697 (compute_c_consts): Remove. Moved to glibcextract.py.
8698 (gen_test): Update reference to compute_c_consts.
8700 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
8701 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
8702 * sysdeps/unix/sysv/linux/Makefile
8703 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
8704 Redirect stderr as well as stdout.
8706 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
8709 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
8710 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
8711 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
8712 ALWAYS_USE_VSYSCALL.
8713 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
8714 ALWAYS_USE_VSYSCALL.
8715 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
8716 ALWAYS_USE_VSYSCALL.
8718 2018-12-10 Florian Weimer <fweimer@redhat.com>
8721 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
8722 offset instead of count for clarity. Fix typo in comment.
8723 (__old_getdents64): Keep track of previous offset. Use it to call
8725 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
8726 that d_off is never zero.
8728 2018-12-10 Andreas Schwab <schwab@suse.de>
8730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
8731 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
8732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
8733 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
8734 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
8736 2018-12-10 Joseph Myers <joseph@codesourcery.com>
8738 * timezone/private.h: Update from tzcode 2018g.
8739 * timezone/tzfile.h: Likewise.
8740 * timezone/tzselect.ksh: Likewise.
8741 * timezone/zdump.c: Likewise.
8742 * timezone/zic.c: Likewise.
8744 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8747 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
8748 (do_test): Adjust buffer size and fix format.
8750 2018-12-07 DJ Delorie <dj@redhat.com>
8753 * malloc/tst-tcfree3.c: New.
8754 * malloc/Makefile: Add it.
8756 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
8758 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
8760 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8762 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
8763 used as a mask for the mode argument of __vfscanf_internal and
8764 __vfwscanf_internal.
8765 * stdio-common/vfscanf-internal.c
8766 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
8767 (__strtof128_internal): Define to __wcstof128_internal.
8768 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
8769 __strtof128_internal or __wcstof128_internal when the format of
8770 long double is the same as _Float128.
8772 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
8774 * include/unistd.h (__confstr): Add prototype and hidden prototype.
8775 * posix/confstr.c (confstr): Rename to __confstr.
8776 (__confstr): Add hidden def.
8777 (confstr): Add weak alias for __confstr.
8778 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
8781 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
8783 * NEWS: Mention getcpu.
8784 * include/sched.h (__getcpu): New libc_hidden_proto.
8785 * manual/resource.texi: Document getcpu.
8786 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
8787 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
8788 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
8789 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8790 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8791 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8792 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8793 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8794 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8795 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8796 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8797 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8798 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
8800 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8801 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8802 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
8809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
8811 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
8812 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8813 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8814 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8815 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8816 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8817 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8818 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8819 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
8820 * sysdeps/unix/sysv/linux/getcpu.c: New file.
8821 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
8824 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
8826 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
8828 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
8830 2018-12-07 Florian Weimer <fweimer@redhat.com>
8833 * posix/Makefile (routines): Add spawn_faction_addfchdir.
8834 * posix/Versions (GLIBC_2.29): Export
8835 posix_spawn_file_actions_addfchdir_np.
8836 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
8837 * posix/spawn_faction_destroy.c
8838 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
8839 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
8840 and the field action.fchdir_action.
8841 * posix/tst-spawn-chdir.c (add_chdir): New function.
8842 (do_test): Add do_fchdir loop. Call add_chdir.
8843 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
8844 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
8845 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
8846 posix_spawn_file_actions_addfchdir_np.
8847 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
8849 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
8851 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
8852 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
8854 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
8856 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
8858 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
8860 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
8862 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
8864 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8865 (GLIBC_2.29): Likewise.
8866 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8867 (GLIBC_2.29): Likewise.
8868 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8869 (GLIBC_2.29): Likewise.
8870 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8871 (GLIBC_2.29): Likewise.
8872 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
8874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8875 (GLIBC_2.29): Likewise.
8876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8877 (GLIBC_2.29): Likewise.
8878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8879 (GLIBC_2.29): Likewise.
8880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8881 (GLIBC_2.29): Likewise.
8882 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
8884 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
8886 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
8888 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
8889 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
8891 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
8893 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
8895 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
8898 2018-12-06 Joseph Myers <joseph@codesourcery.com>
8900 * manual/texinfo.tex: Update to version 2018-09-21.20 with
8901 trailing whitespace removed.
8902 * scripts/config.guess: Update to version 2018-11-28.
8903 * scripts/config.sub: Update to version 2018-11-28.
8904 * scripts/install-sh: Update to version 2018-03-11.20.
8905 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
8906 * scripts/move-if-change: Update to version 2018-03-07 03:47.
8908 2018-12-07 Florian Weimer <fweimer@redhat.com>
8912 * inet/tst-if_index-long.c: New file.
8913 * inet/Makefile (tests): Add tst-if_index-long.
8915 2018-12-07 Florian Weimer <fweimer@redhat.com>
8917 * support/check.h (support_record_failure_is_failed): Declare.
8918 * support/descriptors.h: New file.
8919 * support/support_descriptors.c: Likewise.
8920 * support/tst-support_descriptors.c: Likewise.
8921 * support/support_record_failure.c
8922 (support_record_failure_is_failed): New function.
8923 * support/Makefile (libsupport-routines): Add support_descriptors.
8924 (tests): Add tst-support_descriptors.
8926 2018-12-05 Zack Weinberg <zackw@panix.com>
8927 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8929 * stdio-common/vfprintf-internal.c
8930 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
8931 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
8932 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
8933 and __no_long_double.
8934 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
8935 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
8936 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
8937 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
8938 and __nldbl_*syslog* functions.
8939 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
8940 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
8941 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
8942 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
8943 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
8944 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
8945 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
8946 (__nldbl_vwprintf, __nldbl_wprintf):
8947 Directly call the appropriate __v*printf_internal routine, passing
8948 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
8950 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
8951 (__nldbl___printf_chk, __nldbl___snprintf_chk)
8952 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
8953 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
8954 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
8955 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
8956 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
8957 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
8958 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
8959 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
8960 Likewise, and also pass PRINTF_FORTIFY when appropriate.
8961 (__nldbl_syslog, __nldbl_vsyslog):
8962 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
8963 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
8965 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
8968 2018-12-05 Zack Weinberg <zackw@panix.com>
8969 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8972 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
8973 Moved here from debug/vsprintf_chk.c.
8974 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
8975 and completion logic for the strfile to match exactly what
8976 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
8977 _IO_str_init_static_internal instead of maxlen-1.
8978 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
8979 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
8980 __vsprintf_internal.
8982 * debug/vsprintf_chk.c (__vsprintf_chk)
8983 * debug/sprintf_chk.c (__sprintf_chk):
8984 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
8985 'flags' argument is positive, and slen as maxlen. No need to lock
8986 the FILE and/or construct a temporary FILE. Minimize and normalize
8987 header inclusions and variable names. Do not libc_hidden_def anything.
8989 * debug/asprintf_chk.c (__asprintf_chk)
8990 * debug/dprintf_chk.c (__dprintf_chk)
8991 * debug/fprintf_chk.c (__fprintf_chk)
8992 * debug/fwprintf_chk.c (__fwprintf_chk)
8993 * debug/printf_chk.c (__printf_chk)
8994 * debug/snprintf_chk.c (__snprintf_chk)
8995 * debug/swprintf_chk.c (__swprintf_chk)
8996 * debug/vasprintf_chk.c (__vasprintf_chk)
8997 * debug/vdprintf_chk.c (__vdprintf_chk)
8998 * debug/vfprintf_chk.c (__vfprintf_chk)
8999 * debug/vfwprintf_chk.c (__vfwprintf_chk)
9000 * debug/vprintf_chk.c (__vprintf_chk)
9001 * debug/vsnprintf_chk.c (__vsnprintf_chk)
9002 * debug/vswprintf_chk.c (__vswprintf_chk)
9003 * debug/vwprintf_chk.c (__vwprintf_chk)
9004 * debug/wprintf_chk.c (__wprintf_chk):
9005 Directly call the corresponding vxxprintf_internal function, passing
9006 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
9007 the FILE and/or construct a temporary FILE. Minimize and normalize
9008 header inclusions and variable names. Do not libc_hidden_def anything.
9010 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
9011 __obstack_vprintf_internal.
9012 (__obstack_vprintf_chk): Convert into a wrapper that calls
9013 __obstack_vprintf_internal (these two functions already had the
9014 same code) and move to new file...
9015 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
9017 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
9018 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
9019 * debug/Makefile (routines): Add vobprintf_chk.
9021 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
9022 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9023 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
9024 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9025 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
9026 (__nldbl___obstack_vfprintf_chk):
9027 Directly call the corresponding vxxprintf_internal function,
9028 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
9029 duplicate comparison of slen with 0 or maxlen from the corresponding
9030 non-__nldbl function.
9032 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
9033 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
9034 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
9035 Remove libc_hidden_proto.
9037 * stdio-common/vfprintf-internal.c
9038 (__vfprintf_internal, __vfwprintf_internal):
9039 Do not check _IO_FLAGS2_FORTIFY.
9040 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
9041 * libio/libioP.h: Update prototype of __vsprintf_internal and add
9042 a comment explaining why it has the maxlen argument.
9043 (_IO_acquire_lock_clear_flags2_fct): Remove.
9044 (_IO_acquire_lock_clear_flags2): Remove.
9045 (_IO_release_lock): Remove conditional statement which will
9047 (_IO_acquire_lock): Remove variable which is now unused.
9048 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9049 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9051 * stdio-common/Makefile (tests): Add tst-bz11319 and
9052 tst-bz11319-fortify2.
9053 (CFLAGS-tst-bz11319-fortify2.c): New macro.
9054 * stdio-common/tst-bz11319-fortify2.c: New file.
9055 * stdio-common/tst-bz11319.c: Likewise.
9057 2018-12-05 Zack Weinberg <zackw@panix.com>
9058 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9060 * misc/syslog.c: Include libioP.h, not iolibio.h.
9061 (__vsyslog_internal): New function with the former body of
9062 __vsyslog_chk; takes mode_flags argument same as
9063 __v*printf_internal. Call __vfprintf_internal directly.
9065 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
9066 Remove libc_hidden_def.
9067 (__syslog, __syslog_chk): Use __vsyslog_internal.
9068 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
9070 * include/sys/syslog.h: Add multiple inclusion guard.
9071 Add prototype for __vsyslog_internal.
9072 Remove declaration and libc_hidden_proto for __vsyslog_chk.
9074 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
9075 Use __vsyslog_internal.
9077 2018-12-05 Zack Weinberg <zackw@panix.com>
9078 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9080 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
9081 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
9082 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
9084 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
9085 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
9087 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
9088 Include wctype.h here if COMPILE_WPRINTF is defined.
9089 Define __vfprintf_internal or __vfwprintf_internal, depending
9091 Temporarily, on entry to this function, update mode_flags
9092 according to the environmental settings corresponding to
9093 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
9094 Throughout, check mode_flags instead of __ldbl_is_dbl and
9095 _IO_FLAGS2_FORTIFY on the destination FILE.
9096 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
9097 Include vfprintf-internal.c. Don't include wctype.h.
9098 * stdio-common/vfprintf.c: New file. Just define __vfprintf
9099 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
9101 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
9102 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
9104 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
9106 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
9107 and add mode_flags argument; use __vfprintf_internal.
9108 (__vdprintf): New function. Alias vdprintf to this.
9109 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
9110 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
9111 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
9112 (__obstack_printf): Use __obstack_printf_internal.
9113 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
9114 public aliases __vsnprintf and vsnprintf.
9115 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
9117 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
9118 public aliases _IO_vsprintf and vsprintf.
9119 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
9120 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
9121 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
9122 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
9123 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
9125 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
9126 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
9127 * stdio-common/fprintf.c, stdio-common/fxprintf.c
9128 * stdio-common/printf.c: Use __vfprintf_internal.
9130 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
9131 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
9132 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
9134 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
9135 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
9136 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
9137 __vfwprintf_internal.
9139 * libio/libio.h: Remove libc_hidden_proto and declaration for
9141 Remove declaration of _IO_vfwprintf.
9142 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
9144 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
9146 * include/stdio.h: Add prototype for __vasprintf.
9147 (__vsnprintf): Remove declaration, because there are no more
9149 * include/wchar.h (__vfwprintf, __vswprintf): Remove
9150 declaration, because there are no more internal calls.
9152 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
9153 __vsnprintf_internal, instead of _IO_vsnprintf.
9154 * argp/argp-help.c (__argp_error, __argp_failure): Use
9155 __vasprintf_internal, instead of _IO_vasprintf.
9156 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
9157 redefine, because there are no more internal calls.
9159 2018-12-05 Zack Weinberg <zackw@panix.com>
9160 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9162 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
9163 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
9164 Include libio/strfile.h instead of libioP.h.
9165 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
9166 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
9167 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
9168 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
9169 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
9170 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
9171 necessary. Do not set __no_long_double. Normalize variable names.
9172 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
9173 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
9174 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
9175 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
9176 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
9177 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
9178 Call __vfscanf_internal / __vfwscanf_internal directly, passing
9179 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
9180 Do not set __no_long_double. Normalize variable names.
9182 2018-12-05 Zack Weinberg <zackw@panix.com>
9183 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9185 * stdio-common/isoc99_scanf.c
9186 * stdio-common/isoc99_fscanf.c
9187 * stdio-common/isoc99_sscanf.c
9188 * stdio-common/isoc99_vscanf.c
9189 * stdio-common/isoc99_vfscanf.c
9190 * stdio-common/isoc99_vsscanf.c
9191 * wcsmbs/isoc99_wscanf.c
9192 * wcsmbs/isoc99_fwscanf.c
9193 * wcsmbs/isoc99_swscanf.c
9194 * wcsmbs/isoc99_vwscanf.c
9195 * wcsmbs/isoc99_vfwscanf.c
9196 * wcsmbs/isoc99_vswscanf.c:
9197 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
9198 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
9199 No need to lock and unlock the FILE passed to that function.
9201 * stdio-common/vfscanf-internal.c
9202 (__vfscanf_internal, __vfwscanf_internal):
9203 Don't look at _IO_FLAGS2_SCANF_STD.
9204 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
9205 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
9206 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
9208 2018-12-05 Zack Weinberg <zackw@panix.com>
9209 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9211 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
9212 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
9213 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
9214 * libio/strfile.h: Add multiple inclusion guard.
9215 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
9217 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
9218 consistency with the other version of this file.
9219 (ldbl_compat_symbol): New macro.
9220 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
9223 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
9224 Define __vfscanf_internal or __vfwscanf_internal, depending on
9225 COMPILE_WSCANF; don't define any other public symbols.
9226 Remove errval and code to set errp.
9227 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
9228 as the mode_flags argument.
9229 (encode_error, conv_error, input_error): Don't set errval.
9230 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
9231 Include vfscanf-internal.c.
9232 * stdio-common/vfscanf.c: New file defining the public entry
9233 point vfscanf, which calls __vfscanf_internal.
9234 * stdio-common/vfwscanf.c: New file defining the public entry
9235 point vfwscanf, which calls __vfwscanf_internal.
9237 * stdio-common/iovfscanf.c: New file.
9238 * stdio-common/iovfwscanf.c: Likewise.
9240 * stdio-common/Makefile (routines): Add vfscanf-internal,
9241 vfwscanf-internal, iovfscanf, iovfwscanf.
9242 * stdio-common/Versions: Mention GLIBC_2.29, so that
9243 it can be used in SHLIB_COMPAT expressions.
9244 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
9245 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
9246 Call __vfscanf_internal, instead of _IO_vfscanf.
9247 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
9249 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
9252 * libio/iovsscanf.c: Clean up includes, when possible. Use
9253 _IO_strfile_read or _IO_strfile_readw, when needed. Call
9254 __vfscanf_internal or __vfwscanf_internal directly.
9255 * libio/iovswscanf.c: Likewise.
9256 * libio/swscanf.c: Likewise.
9257 * libio/vscanf.c: Likewise.
9258 * libio/vwscanf.c: Likewise.
9259 * libio/wscanf.c: Likewise.
9260 * stdio-common/isoc99_fscanf.c: Likewise.
9261 * stdio-common/isoc99_scanf.c: Likewise.
9262 * stdio-common/isoc99_sscanf.c: Likewise.
9263 * stdio-common/isoc99_vfscanf.c: Likewise.
9264 * stdio-common/isoc99_vscanf.c: Likewise.
9265 * stdio-common/isoc99_vsscanf.c: Likewise.
9266 * stdio-common/scanf.c: Likewise.
9267 * stdio-common/sscanf.c: Likewise.
9268 * wcsmbs/isoc99_fwscanf.c: Likewise.
9269 * wcsmbs/isoc99_swscanf.c: Likewise.
9270 * wcsmbs/isoc99_vfwscanf.c: Likewise.
9271 * wcsmbs/isoc99_vswscanf.c: Likewise.
9272 * wcsmbs/isoc99_vwscanf.c: Likewise.
9273 * wcsmbs/isoc99_wscanf.c: Likewise.
9275 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
9278 (__tz_compute): Replace time_t with __time64_t.
9279 (__tz_convert): Replace time_t* with __time64_t.
9280 (__offtime): Replace time_t* with __time64_t.
9282 (__gmtime_r): Adjust call to __tz_convert.
9285 (__localtime_r): Likewise.
9286 (localtime): Likewise.
9287 * time/offtime.c: Replace time_t with __time64_t.
9288 * time/tzset.c: Likewise.
9290 2018-12-04 Joseph Myers <joseph@codesourcery.com>
9292 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
9293 dynamic linker unless [$(run-built-tests) = yes].
9295 2018-12-03 DJ Delorie <dj@delorie.com>
9297 * support/test-container.c (check_for_unshare_hints): New.
9298 (main): Call it if unshare fails. Add support for "su" scriptlet
9301 2018-12-03 Joseph Myers <joseph@codesourcery.com>
9303 * scripts/gen-as-const.py (compute_c_consts): Take an argument
9304 'START' to indicate that start text should be output.
9305 (gen_test): Likewise.
9306 (main): Generate 'START' for first symbol or '--' line, or at end
9307 of input if not previously generated.
9309 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
9312 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
9313 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
9314 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
9315 ALWAYS_USE_VSYSCALL.
9317 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9320 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
9323 2018-12-03 Carlos O'Donell <carlos@redhat.com>
9326 * locale/programs/localedef.c: Declare boolean hard_links default true.
9327 (options): Add --no-hard-links option.
9328 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
9329 * locale/programs/localedef.h: Declare prototype for hard_links.
9330 * locale/programs/locfile.c (write_locale_data): Don't use hard
9331 links if hard_links is false.
9333 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
9335 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
9337 (__cache_sysconf): Likewise.
9338 (init_cacheinfo): Likewise.
9339 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
9340 populate COMMON_CPUID_INDEX_80000007 and
9341 COMMON_CPUID_INDEX_80000008.
9342 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
9343 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
9344 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
9345 (init_cpu_features): Use _Static_assert on
9346 index_arch_Fast_Unaligned_Load.
9347 __get_cpuid_registers and __get_arch_feature. Updated for
9348 cpu_features_basic. Set stepping in cpu_features.
9349 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
9350 (FEATURE_INDEX_2): New.
9351 (FEATURE_INDEX_MAX): Changed to enum.
9352 (COMMON_CPUID_INDEX_D_ECX_1): New.
9353 (COMMON_CPUID_INDEX_80000007): Likewise.
9354 (COMMON_CPUID_INDEX_80000008): Likewise.
9355 (cpuid_registers): Likewise.
9356 (cpu_features_basic): Likewise.
9357 (CPU_FEATURE_USABLE): Likewise.
9358 (bit_arch_XXX_Usable): Likewise.
9359 (cpu_features): Use cpuid_registers and cpu_features_basic.
9360 (bit_arch_XXX): Reweritten.
9361 (bit_cpu_XXX): Likewise.
9362 (index_cpu_XXX): Likewise.
9363 (reg_XXX): Likewise.
9364 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
9366 (CHECK_CPU_FEATURE): New.
9367 (CHECK_CPU_FEATURE_USABLE): Likewise.
9368 (cpu_kinds): Likewise.
9369 (do_test): Print vendor, family, model and stepping. Check
9370 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
9371 (TEST_FUNCTION): Removed.
9372 Include <support/test-driver.c> instead of
9373 "../../test-skeleton.c".
9374 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
9375 Check POPCNT instead of POPCOUNT.
9376 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
9378 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
9380 * scripts/gen-as-const.py (main): Avoid emitting empty line when
9381 there is no element in `consts'.
9383 2018-12-01 Florian Weimer <fweimer@redhat.com>
9385 * support/support_capture_subprocess.c
9386 (support_capture_subprocess): Check that pipe descriptors have
9387 expected values. Close original pipe descriptors in subprocess.
9389 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
9392 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
9393 attr with __pthread_default_barrierattr.
9394 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
9395 attr with __pthread_default_condattr.
9396 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
9397 attr with __pthread_default_mutexattr.
9398 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
9399 attr with __pthread_default_rwlockattr.
9401 2018-12-01 Kemi Wang <kemi.wang@intel.com>
9403 * manual/tunables.texi (POSIX Thread Tunables): New node.
9404 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
9405 * nptl/nptl-init.c: Include pthread_mutex_conf.h
9406 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
9407 __pthread_tunables_init.
9408 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
9409 (max_adaptive_count): Define.
9410 * nptl/pthread_mutex_conf.c: New file.
9411 * nptl/pthread_mutex_conf.h: New file.
9412 * sysdeps/generic/adaptive_spin_count.h: New file.
9413 * sysdeps/nptl/dl-tunables.list: New file.
9414 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
9415 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
9416 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
9419 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
9422 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
9423 * stdlib/on_exit.c (__on_exit): Likewise.
9424 * stdlib/Makefile (tests): Add tst-bz20544.
9425 * stdlib/tst-bz20544.c: New test.
9427 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
9430 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
9431 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
9434 2018-11-30 Florian Weimer <fweimer@redhat.com>
9436 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
9437 Extend error logging.
9438 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
9441 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9443 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
9444 __sigismember instead of sigismember.
9445 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
9446 cancel_handler): New definitions.
9447 (do_system): Use posix_spawn instead of fork and execl and remove
9449 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
9450 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
9451 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
9452 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9453 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9454 * sysdeps/unix/sysv/linux/system.c: Likewise.
9458 * NEWS: Add new semantic for atfork with popen and system.
9459 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
9462 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9465 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
9466 modification order when accessing reloc_result->addr.
9467 * include/link.h (reloc_result): Add field init.
9468 * nptl/Makefile (tests): Add tst-audit-threads.
9469 (modules-names): Add tst-audit-threads-mod1 and
9470 tst-audit-threads-mod2.
9471 Add rules to build tst-audit-threads.
9472 * nptl/tst-audit-threads-mod1.c: New file.
9473 * nptl/tst-audit-threads-mod2.c: Likewise.
9474 * nptl/tst-audit-threads.c: Likewise.
9475 * nptl/tst-audit-threads.h: Likewise.
9477 2018-11-30 Joseph Myers <joseph@codesourcery.com>
9479 * scripts/gen-as-const.py: New file.
9480 * scripts/gen-as-const.awk: Remove.
9481 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
9483 ($(objpfx)test-as-const-%.c): Likewise.
9485 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
9487 * elf/dl-exception.c: Include <_itoa.h>.
9489 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9491 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
9492 returned by __f_setlk.
9494 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
9495 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9497 * elf/Makefile (tests-internal): Add tst-create_format1.
9498 * elf/dl-exception.c (_dl_exception_create_format): Support
9500 * elf/tst-create_format1.c: New file.
9502 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
9504 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
9505 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
9507 * argp/argp-help.c (__argp_failure): Likewise.
9509 2018-11-29 Mao Han <han_mao@c-sky.com>
9511 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
9512 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
9513 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
9514 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
9515 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
9516 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
9517 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
9518 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
9519 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
9520 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
9521 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
9522 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
9523 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
9524 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
9525 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
9526 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
9527 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
9528 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
9529 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
9530 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
9531 (R_CKCORE_TLS_TPOFF32): New defines.
9533 2018-11-29 Florian Weimer <fweimer@redhat.com>
9535 * posix/Makefile (before-compile): Remove testcases.h and
9537 (generated): Add testcases.h and ptestcases.h.
9538 (testcases.h, ptestcases.h): Move to $(objpfx).
9539 (runtests.o): Add dependency on testcases.h.
9540 (runptests.o): Add dependency on ptestcases.h.
9541 * posix/testcases.h, posix/ptestcases.h: Remove files.
9542 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
9543 not touch posix/testcases.h and posix/ptestcases.h.
9545 2018-11-28 Florian Weimer <fweimer@redhat.com>
9547 support: Add signal support to support_capture_subprocess_check.
9548 * support/capture_subprocess.h (support_capture_subprocess_check):
9549 Adjust comment and rename parameter.
9550 * support/support_capture_subprocess_check.c
9551 (print_actual_status): New function.
9552 (support_capture_subprocess_check): Support negative
9553 status_or_signal. Call print_actual_status.
9554 * support/tst-support_capture_subprocess.c (do_test): Call
9555 support_capture_subprocess_check.
9556 * libio/tst-vtables-common.c (termination_status)
9557 (init_termination_status): Remove.
9558 (check_for_termination): Adjust support_capture_subprocess_check
9560 (do_test): Remove call to init_termination_status.
9562 2018-11-28 Joseph Myers <joseph@codesourcery.com>
9564 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
9565 source directory instead of a copy.
9566 (CommandList.create_copy_dir): Remove.
9568 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
9570 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9572 2018-11-28 Florian Weimer <fweimer@redhat.com>
9574 * support/support.h (support_quote_string): Do not use str
9577 2018-11-27 Joseph Myers <joseph@codesourcery.com>
9579 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
9580 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
9582 2018-11-27 Florian Weimer <fweimer@redhat.com>
9584 * support/support.h (support_quote_string): Declare.
9585 * support/support_quote_string.c: New file.
9586 * support/tst-support_quote_string.c: Likewise.
9587 * support/Makefile (libsupport-routines): Add
9588 support_quote_string.
9589 (tests): Add tst-support_quote_string.
9591 2018-11-27 Florian Weimer <fweimer@redhat.com>
9595 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
9596 descriptor leak in case of ENODEV error.
9598 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
9601 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
9602 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
9603 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
9605 2018-11-26 Carlos O'Donell <carlos@redhat.com>
9607 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
9608 Error for unknown lines.
9610 2018-11-26 Joseph Myers <joseph@codesourcery.com>
9612 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
9613 Touch additional files.
9615 2018-11-26 Florian Weimer <fweimer@redhat.com>
9618 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
9621 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
9624 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
9625 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
9626 SHARED. Include sysdep.h.
9627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
9628 ALWAYS_USE_VSYSCALL.
9629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
9630 ALWAYS_USE_VSYSCALL.
9632 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
9635 * nptl/Makefile (tests-static): Add tst-cond11-static.
9637 * nptl/tst-cond11-static.c: New File.
9638 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
9639 tst-affinity-static.
9641 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
9643 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
9644 (USE_VSYSCALL): Likewise.
9645 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
9646 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
9648 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
9650 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
9653 2018-11-23 Joseph Myers <joseph@codesourcery.com>
9656 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9657 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
9660 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
9662 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
9663 (tst-cet-legacy-1a-ARGS): New.
9664 ($(objpfx)tst-cet-legacy-1a): New target.
9665 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
9667 2018-11-22 Joseph Myers <joseph@codesourcery.com>
9669 * conform/conformtest.py (CompileSubTest.__init__): Set
9670 self.run_early to False.
9671 (ExecuteSubTest.__init__): Likewise.
9672 (HeaderTests.run): Try running all non-optional, non-XFAILed
9673 compilation tests in a single execution of the compiler.
9675 * conform/conformtest.py (CompileSubTest): New class.
9676 (ExecuteSubTest): Likewise.
9677 (ElementTest.run): Rename to gen_subtests. Append tests to
9678 self.subtests instead of running them.
9679 (ConstantTest.run): Likewise.
9680 (SymbolTest.run): Likewise.
9681 (TypeTest.run): Likewise.
9682 (TagTest.run): Likewise.
9683 (FunctionTest.run): Likewise.
9684 (VariableTest.run): Likewise.
9685 (MacroFunctionTest.run): Likewise.
9686 (MacroStrTest.run): Likewise.
9687 (HeaderTests.handle_test_line): Generate subtests for tests.
9688 (HeaderTests.run): Run subtests for tests.
9690 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
9692 * math/Versions (GLIBC_2.29): Add pow.
9693 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
9695 * math/w_pow.c: New file.
9696 * sysdeps/i386/fpu/w_pow.c: New file.
9697 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
9698 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
9699 and add necessary aliases.
9700 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
9701 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
9702 * sysdeps/mach/hurd/i386/libm.abilist: Update.
9703 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9704 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
9705 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
9706 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
9707 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9708 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
9709 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
9710 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
9711 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
9712 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
9713 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
9714 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
9715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
9716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
9717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
9718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
9719 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
9720 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
9721 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
9722 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
9723 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
9724 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
9725 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
9726 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
9728 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
9729 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
9730 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
9732 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
9734 * math/Versions (GLIBC_2.29): Add log2.
9735 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
9737 * math/w_log2.c: New file.
9738 * sysdeps/i386/fpu/w_log2.c: New file.
9739 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
9740 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
9741 and add necessary aliases.
9742 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
9743 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
9744 * sysdeps/mach/hurd/i386/libm.abilist: Update.
9745 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9746 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
9747 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
9748 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
9749 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9750 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
9751 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
9752 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
9753 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
9754 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
9755 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
9756 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
9757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
9758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
9759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
9760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
9761 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
9762 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
9763 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
9764 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
9765 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
9766 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
9767 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
9769 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
9771 * math/Versions (GLIBC_2.29): Add log.
9772 * math/w_log_compat.c (__log_compat): Change to versioned compat
9774 * math/w_log.c: New file.
9775 * sysdeps/i386/fpu/w_log.c: New file.
9776 * sysdeps/ia64/fpu/e_log.S: Update.
9777 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
9778 and add necessary aliases.
9779 * sysdeps/ieee754/dbl-64/w_log.c: New file.
9780 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
9781 * sysdeps/mach/hurd/i386/libm.abilist: Update.
9782 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9783 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
9784 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
9785 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
9786 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9787 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
9788 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
9789 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
9790 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
9791 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
9792 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
9793 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
9794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
9795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
9796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
9797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
9798 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
9799 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
9800 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
9801 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
9802 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
9803 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
9804 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
9805 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
9807 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
9808 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
9809 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
9810 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
9812 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
9814 * math/Versions (GLIBC_2.29): Add exp and exp2.
9815 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
9816 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
9817 * math/w_exp_compat.c (__exp_compat): Likewise.
9818 * math/w_exp.c: New file.
9819 * math/w_exp2.c: New file.
9820 * sysdeps/i386/fpu/w_exp.c: New file.
9821 * sysdeps/i386/fpu/w_exp2.c: New file.
9822 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
9823 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
9824 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
9825 and add necessary aliases.
9826 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
9827 and add necessary aliases.
9828 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
9829 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
9830 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
9831 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
9832 * sysdeps/mach/hurd/i386/libm.abilist: Update.
9833 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9834 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
9835 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
9836 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
9837 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9838 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
9839 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
9840 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
9841 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
9842 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
9843 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
9844 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
9845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
9846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
9847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
9848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
9849 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
9850 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
9851 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
9852 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
9853 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
9854 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
9855 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
9856 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
9857 (__ieee754_exp): Rename to __exp.
9858 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
9859 (__ieee754_exp): Rename to __exp.
9860 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
9861 (__ieee754_exp): Rename to __exp.
9862 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
9864 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
9866 2018-11-20 DJ Delorie <dj@redhat.com>
9868 * malloc/malloc.c (tcache_entry): Add key field.
9869 (tcache_put): Set it.
9870 (tcache_get): Likewise.
9871 (_int_free): Check for double free in tcache.
9872 * malloc/tst-tcfree1.c: New.
9873 * malloc/tst-tcfree2.c: New.
9874 * malloc/Makefile: Run the new tests.
9875 * manual/probes.texi: Document memory_tcache_double_free probe.
9877 * dlfcn/dlerror.c (check_free): Prevent double frees.
9879 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
9881 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
9883 2018-11-20 Joseph Myers <joseph@codesourcery.com>
9885 * conform/conformtest.py (ElementTest.run): Use unique identifiers
9886 in tests. Use names for format arguments.
9887 (ConstantTest.run): Likewise.
9888 (SymbolTest.run): Likewise.
9889 (TypeTest.run): Likewise.
9890 (TagTest.run): Likewise.
9891 (FunctionTest.run): Likewise.
9892 (VariableTest.run): Likewise.
9893 (MacroFunctionTest.run): Likewise.
9894 (MacroStrTest.run): Likewise.
9895 (HeaderTests.__init__): Set self.num_tests.
9896 (HeaderTests.handle_test_line): Set test.num. Increment
9899 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
9901 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
9902 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
9905 2018-11-19 Mao Han <han_mao@c-sky.com>
9907 * scripts/config.guess: Update to version 2018-08-29.
9908 * scripts/config.sub: Update to version 2018-08-29.
9910 2018-11-19 Florian Weimer <fweimer@redhat.com>
9912 support: Print timestamps in timeout handler.
9913 * support/support_test_main.c (print_timestamp): New function.
9914 (signal_handler): Use it to print the termination time and the
9915 time of the last write to standard output.
9917 2018-11-16 Zack Weinberg <zackw@panix.com>
9918 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9920 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
9921 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
9923 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
9924 and add flags argument. Check flags instead of __ldbl_is_dbl when
9925 deciding whether to set is_long_double.
9926 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
9927 passing zero for flags argument.
9928 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
9930 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
9931 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
9932 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
9933 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
9934 variable names. Remove libc_hidden_def/libc_hidden_proto from
9935 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
9936 longer called from within the library.
9937 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
9938 for __nldbl___vstrfmon_l, declare it explicitly.
9940 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
9942 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
9944 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
9946 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
9947 F_SETLK64, F_SETLKW64, respectively.
9948 * sysdeps/mach/hurd/f_setlk.c: New file.
9949 * sysdeps/mach/hurd/f_setlk.h: New file.
9950 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
9952 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
9953 (__libc_fcntl): Move non-flock operations to...
9954 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
9955 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
9957 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
9959 mktime: DEBUG_MKTIME cleanup
9960 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
9961 And it’s no longer needed now that glibc and Gnulib both have
9962 their own testing mechanisms for mktime.
9963 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
9965 mktime: fix non-EOVERFLOW errno handling
9967 mktime was not properly reporting failures when the underlying
9968 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
9969 them like EOVERFLOW failures, and set errno to EOVERFLOW.
9970 The problem could happen on non-glibc platforms, with Gnulib.
9971 * time/mktime.c (guess_time_tm): Remove, replacing with ...
9972 (tm_diff): ... this simpler function, which does not change errno.
9973 All callers changed to deal with errno themselves.
9974 (ranged_convert, __mktime_internal): Return failure immediately if
9975 the underlying function reports any failure other than EOVERFLOW.
9976 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
9979 mktime: fix bug with Y2038 DST transition
9981 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
9982 mishandle a DST transition that jumps over the Y2038 boundary.
9983 No such DST transitions are known so this is only a theoretical
9984 bug, but we might as well do things right.
9986 mktime: make more room for overflow
9988 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
9989 This is so that we can add tm_diff results to a previous guess,
9990 which will be useful in a later patch.
9992 mktime: simplify offset guess
9994 * time/mktime.c (__mktime_internal): Omit excess precision.
9996 mktime: new test for mktime failure
9998 Based on a test suggested by Albert Aribaud in:
9999 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
10000 * time/Makefile (tests): Add bug-mktime4.
10001 * time/bug-mktime4.c: New file.
10003 mktime: fix EOVERFLOW bug
10005 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
10006 Include libc-config.h, not config.h, for __set_errno.
10007 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
10009 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
10011 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
10012 __attribute_copy__ to copy attributes from name. Drop static qualifier
10013 to avoid warnings about leaf attribute not having effect on static
10016 2018-11-13 Florian Weimer <fweimer@redhat.com>
10018 * malloc/malloc.c (fastbin_push_entry): New function.
10019 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
10020 (REMOVE_FB): Remove macro.
10021 (_int_malloc): Use fastbin_pop_entry and reindent.
10022 (_int_free): Use fastbin_push_entry.
10023 (malloc_consolidate): Use atomic_exchange_acquire.
10025 2018-11-13 Joseph Myers <joseph@codesourcery.com>
10027 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
10028 alias attribute, not with strong_alias.
10030 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
10031 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
10032 with additional parameter thread.
10033 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
10034 in terms of __hidden_ver2.
10035 (hidden_tls_def): New macro.
10036 (libc_hidden_tls_def): Likewise.
10037 (rtld_hidden_tls_def): Likewise.
10038 (libm_hidden_tls_def): Likewise.
10039 (libmvec_hidden_tls_def): Likewise.
10040 (libresolv_hidden_tls_def): Likewise.
10041 (librt_hidden_tls_def): Likewise.
10042 (libdl_hidden_tls_def): Likewise.
10043 (libnss_files_hidden_tls_def): Likewise.
10044 (libnsl_hidden_tls_def): Likewise.
10045 (libnss_nisplus_hidden_tls_def): Likewise.
10046 (libutil_hidden_tls_def): Likewise.
10047 (libutil_hidden_tls_def): Likweise.
10048 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
10049 libc_hidden_tls_def.
10050 (__sim_disabled_exceptions_thread): Likewise.
10051 (__sim_round_mode_thread): Likewise.
10053 * sysdeps/sparc/sparc-ifunc.h [SHARED]
10054 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
10055 copy attributes from name.
10057 2018-11-12 Joseph Myers <joseph@codesourcery.com>
10059 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
10060 Use __attribute_copy__ to copy attributes from name.
10062 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
10063 with __hidden_ver1 call.
10064 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
10065 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
10066 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
10067 (__cosf): Do not declare here.
10068 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
10069 (__sincosf): Do not declare here.
10070 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
10071 (__sinf): Do not declare here.
10073 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
10074 (__BIG_ENDIAN): Likewise.
10075 (__BYTE_ORDER): Likewise.
10076 (strong_alias): Likewise.
10077 (_strong_alias): Likewise.
10079 2018-11-12 Florian Weimer <fweimer@redhat.com>
10081 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
10082 function. Move after the definition of in_smallbin_range. Do not
10083 use __builtin_expect for paths that lead to a noreturn function.
10084 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
10085 because it is unclear whether this is in fact an unlikely
10087 (_int_malloc, _int_free): Adjust.
10088 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
10090 * malloc/arena.c (heap_trim): Likewise.
10092 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10094 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
10095 it, free it if needed.
10096 (reauthenticate): Test and use ccwdir.
10097 (child_init_port): In non-resetids case, test and use ccwdir.
10098 (child_chdir): New nested function to set ccwdir.
10099 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
10100 * hurd/hurd/port.h (_hurd_port_move): New function.
10101 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
10102 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
10103 * hurd/Versions (_hurd_port_move): Export function.
10104 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
10106 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
10107 of dtablesize for allocating dtable_cloexec.
10109 2018-11-09 Martin Sebor <msebor@redhat.com>
10111 * include/libc-symbols.h (__attribute_copy__): Define macro unless
10112 it's already defined.
10113 (_strong_alias): Use __attribute_copy__.
10114 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
10115 * misc/sys/cdefs.h (__attribute_copy__): New macro.
10116 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
10117 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
10118 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
10119 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
10120 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
10121 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
10122 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
10123 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
10124 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
10125 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
10126 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
10127 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
10128 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
10129 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
10130 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
10131 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
10132 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
10134 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10136 * misc/tst-efgcvt.c: Include support/check.h and
10137 support/test-driver.c. Do not include test-skeleton.c.
10138 (error_count): Remove.
10139 (output_error): Replace increments to error_count with calls to
10140 support_record_failure.
10141 (output_r_error): Likewise.
10142 (special): Likewise.
10143 (do_test): Unconditionally return zero.
10144 (TEST_FUNCTION): Remove.
10146 2018-11-09 Joseph Myers <joseph@codesourcery.com>
10148 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
10150 ($(linknamespace-header-tests)): Likewise.
10152 * conform/conformtest.py: New file.
10153 * conform/conformtest.pl: Remove.
10154 * conform/GlibcConform.pm: Likewise.
10155 * conform/glibcconform.py (KEYWORDS_C90): New constant.
10156 (KEYWORDS_C99): Likewise.
10157 (KEYWORDS): Likewise.
10158 * conform/Makefile ($(conformtest-header-tests)): Use
10159 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
10160 option. Use --header instead of --headers.
10161 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
10163 * conform/data/spawn.h-data: Likewise.
10164 * conform/data/fcntl.h-data (openat): Add space after function
10166 * conform/data/wchar.h-data (wcscasecmp): Likewise.
10167 (wcscasecmp_l): Likewise.
10168 * conform/data/termios.h-data (c_cc): Add space after element
10171 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10173 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
10174 instead of manually comparing and reporting mismatching strings.
10175 * misc/tst-ldbl-error.c (do_one_test): Likewise.
10176 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
10178 2018-11-08 Joseph Myers <joseph@codesourcery.com>
10180 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
10181 __ASSUME_SOCKETCALL.
10182 * sysdeps/unix/sysv/linux/i386/kernel-features.h
10183 (__ASSUME_SOCKETCALL): Remove.
10184 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10185 (__ASSUME_SOCKETCALL): Likewise.
10186 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10187 (__ASSUME_SOCKETCALL): Likewise.
10188 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10189 (__ASSUME_SOCKETCALL): Likewise.
10190 * sysdeps/unix/sysv/linux/s390/kernel-features.h
10191 (__ASSUME_SOCKETCALL): Likewise.
10192 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10193 (__ASSUME_SOCKETCALL): Likewise.
10194 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10195 (__ASSUME_SOCKETCALL): Likewise.
10197 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
10200 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
10201 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
10202 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
10203 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
10204 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
10207 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
10210 * resolv/tst-resolv-network.c: Add test for getnetbyname.
10212 2018-11-07 Joseph Myers <joseph@codesourcery.com>
10215 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10216 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
10217 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10218 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
10220 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10222 * support/support_test_compare_string.c
10223 (support_test_compare_string): Fix printf format.
10225 2018-11-07 Florian Weimer <fweimer@redhat.com>
10227 Implement TEST_COMPARE_STRING.
10228 * support/check.h (TEST_COMPARE_STRING): Define.
10229 (support_test_compare_string): Declare.
10230 * support/Makefile (libsupport-routines): Add
10231 support_test_compare_string.
10232 (tests): Add tst-test_compare_string.
10233 * support/support_test_compare_string.c: New file.
10234 * support/tst-test_compare_string.c: Likewise.
10236 2018-11-07 Andreas Schwab <schwab@suse.de>
10239 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
10240 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
10243 2018-11-06 Joseph Myers <joseph@codesourcery.com>
10246 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10247 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
10248 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
10249 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
10252 2018-11-06 Florian Weimer <fweimer@redhat.com>
10255 * posix/Makefile (routines): Add spawn_faction_addchdir.
10256 (tests): Add tst-spawn-chdir.
10257 * posix/Versions (GLIBC_2.29): Add
10258 posix_spawn_file_actions_addchdir_np.
10259 * posix/spawn_faction_addchdir.c: New file.
10260 * posix/spawn_faction_destroy.c
10261 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
10262 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
10263 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
10265 * posix/tst-spawn-chdir.c: New file.
10266 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
10267 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
10268 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
10269 posix_spawn_file_actions_addchdir_np.
10270 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
10272 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
10274 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
10275 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
10277 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
10279 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
10281 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
10283 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
10285 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
10287 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10288 (GLIBC_2.29): Likewise.
10289 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10290 (GLIBC_2.29): Likewise.
10291 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10292 (GLIBC_2.29): Likewise.
10293 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10294 (GLIBC_2.29): Likewise.
10295 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
10297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10298 (GLIBC_2.29): Likewise.
10299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10300 (GLIBC_2.29): Likewise.
10301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10302 (GLIBC_2.29): Likewise.
10303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10304 (GLIBC_2.29): Likewise.
10305 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
10307 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
10309 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
10311 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
10312 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
10314 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
10316 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
10318 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
10321 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10323 * misc/Makefile (tests): Add tst-ldbl-error.
10324 * misc/tst-ldbl-error.c: New file.
10326 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10328 * misc/Makefile (tests): Add tst-ldbl-warn.
10329 * misc/tst-ldbl-warn.c: New file.
10331 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10333 * argp/Makefile (tests): Add tst-ldbl-argp.
10334 * argp/tst-ldbl-argp.c: New file.
10336 2018-11-05 Arjun Shankar <arjun@redhat.com>
10338 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
10339 __gconv_path_elem and call __gconv_get_path unconditionally.
10341 2018-11-05 Andreas Schwab <schwab@suse.de>
10344 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
10345 creating the first helper thread failed.
10347 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10349 * sysdeps/mach/hurd/msync.c: New file.
10351 2018-11-02 Florian Weimer <fweimer@redhat.com>
10353 * support/shell-container.c (copy_func): Call
10354 support_copy_file_range instead of copy_file_range to support
10355 cross-device copies.
10357 2018-11-02 Florian Weimer <fweimer@redhat.com>
10359 * support/test-container.c: Include <libc-pointer-arith.h> for
10362 2018-11-01 Zong Li <zong@andestech.com>
10364 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
10365 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
10366 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
10367 (__FP_FRAC_SET_8): Add implementation for RV32 use.
10369 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
10370 variable to avoid overlap arguments.
10372 2018-11-01 Joseph Myers <joseph@codesourcery.com>
10374 * posix/bug-regex22.c (main): Use puts with distinct error
10375 messages for unexpected success of re_compile_pattern, not printf
10376 with NULL argument to %s.
10378 * stdio-common/bug22.c: Include <libc-diag.h>.
10379 (do_test): Disable -Wformat-overflow= warnings around fprintf
10380 calls outputting more than INT_MAX characters.
10381 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
10382 around printf call with NULL %s argument.
10385 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
10386 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
10388 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10389 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10390 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10391 (__ASSUME_SENDTO_SYSCALL): Likewise.
10392 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10393 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
10395 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10396 (__ASSUME_CONNECT_SYSCALL): Likewise.
10397 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10398 (__ASSUME_RECVFROM_SYSCALL): Likewise.
10399 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
10401 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
10403 [__LINUX_KERNEL_VERSION >= 0x040400]
10404 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10405 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
10407 (listen): Likewise.
10408 (setsockopt): Likewise.
10410 2018-11-01 Fredrik Noring <noring@nocrew.org>
10412 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
10413 with the ISA override.
10415 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
10417 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
10420 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10422 * manual/errno.texi (EIEIO): Document how translators should
10423 translate the error message.
10424 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
10425 printing trailing whitespaces refused by git.
10426 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
10427 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10428 * hurd/Makefile (user-interfaces): Add pci.
10430 2018-10-30 Joseph Myers <joseph@codesourcery.com>
10432 * conform/linknamespace.py: New file.
10433 * conform/linknamespace.pl: Remove file.
10434 * conform/Makefile ($(linknamespace-header-tests)): Use
10435 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
10438 2018-10-30 Florian Weimer <fweimer@redhat.com>
10440 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
10443 2018-10-30 Florian Weimer <fweimer@redhat.com>
10445 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
10447 2018-10-30 Florian Weimer <fweimer@redhat.com>
10449 * stdlib/tst-strtod-overflow.c (do_test): Switch to
10450 support_blob_repeat.
10452 2018-10-30 Florian Weimer <fweimer@redhat.com>
10454 Avoid spurious test failures in stdlib/test-bz22786.
10455 * support/Makefile (libsupport-routines): Add blob_repeat.
10456 (tests): Add tst-support_blob_repeat.
10457 * support/blob_repeat.h: New file.
10458 * support/blob_repeat.c: Likewise.
10459 * support/tst-support_blob_repeat.c: Likewise.
10460 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
10461 support_blob_repeat_allocate.
10463 2018-10-30 Andreas Schwab <schwab@suse.de>
10466 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
10467 Don't use tail call.
10468 * elf/tst-unwind-main.c: New file.
10469 * elf/Makefile (tests): Add tst-unwind-main.
10470 (CFLAGS-tst-unwind-main.c): Define.
10472 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
10475 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
10476 n_cs_precedes to 0.
10477 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
10479 2018-10-29 Joseph Myers <joseph@codesourcery.com>
10481 * conform/glibcconform.py: Do not import shutil.
10482 (list_exported_functions): Use tempfile.TemporaryDirectory instead
10485 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
10486 critic_missing for versions before 3.4.
10487 * configure: Regenerated.
10488 * manual/install.texi (Tools for Compilation): Document
10489 requirement for Python to build glibc.
10490 * INSTALL: Regenerated.
10491 * Rules [PYTHON]: Make code unconditional.
10492 * benchtests/Makefile [PYTHON]: Likewise.
10493 * conform/Makefile [PYTHON]: Likewise.
10494 * manual/Makefile [PYTHON]: Likewise.
10495 * math/Makefile [PYTHON]: Likewise.
10497 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10499 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
10500 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
10501 answer to interrupt_operation, return EIEIO instead of EINTR.
10502 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
10503 _hurd_intr_rpc_msg_about_to global point to start of controlled
10504 assembly snippet. Make it check canceled flag.
10505 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
10506 the _hurd_intr_rpc_msg_about_to point.
10507 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
10508 issue, remove cancel flag check.
10510 2018-10-26 Joseph Myers <joseph@codesourcery.com>
10512 * scripts/build-many-glibcs.py: Remove compatibility for missing
10513 os.cpu_count and re.fullmatch.
10515 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
10518 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
10519 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
10520 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
10522 2018-10-25 Joseph Myers <joseph@codesourcery.com>
10524 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
10527 2018-10-25 Florian Weimer <fweimer@redhat.com>
10531 XFAIL siginfo_t si_band conform test on sparc64.
10532 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
10533 (__SI_BAND_TYPE): Only override long int default type on sparc64.
10534 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10535 (conformtest-xfail-conds): Add sparc64-linux.
10536 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
10538 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
10540 2018-10-25 Joseph Myers <joseph@codesourcery.com>
10542 * elf/elf.h (NT_MIPS_DSP): New macro.
10543 (NT_MIPS_FP_MODE): Likewise.
10545 2018-10-25 Zong Li <zong@andestech.com>
10547 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
10548 name by adding the file extension (.so).
10550 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
10552 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
10553 (test-xfail-ISO11/threads.h/linknamespace,
10554 test-xfail-ISO11/threads.h/conform): Add.
10556 2018-10-24 Joseph Myers <joseph@codesourcery.com>
10558 * math/gen-libm-test.py: Import os.
10559 (ALL_FLOATS_MANUAL): New constant.
10560 (ALL_FLOATS_SUFFIX): Likewise.
10561 (Ulps.all_functions): New function.
10562 (real_all_ulps): Likewise.
10563 (generate_err_table_sub): Likewise.
10564 (generate_err_table): Likewise.
10565 (main): Handle -s and -m options.
10566 * manual/libm-err-tab.pl: Remove.
10567 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
10568 instead of libm-err-tab.pl.
10569 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
10571 * manual/install.texi (Tools for Compilation): Document
10572 requirement for Python to build manual.
10573 * INSTALL: Regenerated.
10575 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
10577 * bits/time64.h: New file.
10578 * include/time.h: Replace internal_time_t with __time64_t.
10579 * posix/bits/types (__time64_t): Add.
10580 * stdlib/Makefile: Add bits/time64.h to includes.
10581 * time/tzfile.c: Replace internal_time_t with __time64_t.
10583 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10585 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
10586 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
10587 __posix_spawn_file_actions_init, __posix_spawnattr_init,
10588 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
10589 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
10591 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
10592 * posix/spawn_faction_addclose.c
10593 (__posix_spawn_file_actions_addclose): Add hidden definition.
10594 * posix/spawn_faction_adddup2.c
10595 (__posix_spawn_file_actions_adddup2): Likewise.
10596 * posix/spawn_faction_destroy.c
10597 (__posix_spawn_file_actions_destroy): Likewise.
10598 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
10600 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
10601 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
10602 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
10604 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
10605 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
10608 2018-10-24 Andreas Schwab <schwab@suse.de>
10611 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
10613 * elf/cache.c (print_cache): Likewise.
10615 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
10617 * bits/timesize.h: New file.
10618 * stdlib/Makefile (headers): Add bits/timesize.h.
10619 * sysdeps/unix/sysv/linux/bits/msq-pad.h
10620 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
10621 * sysdeps/unix/sysv/linux/bits/sem-pad.h
10622 (__SEM_PAD_AFTER_TIME): Likewise.
10623 * sysdeps/unix/sysv/linux/bits/shm-pad.h
10624 (__SHM_PAD_AFTER_TIME): Likewise.
10625 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
10626 (__MSQ_PAD_BEFORE_TIME): Likewise.
10627 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
10628 (__SEM_PAD_BEFORE_TIME): Likewise.
10629 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
10630 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
10631 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
10632 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
10633 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
10634 (__MSQ_PAD_BEFORE_TIME): Likewise.
10635 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
10636 (__SEM_PAD_BEFORE_TIME): Likewise.
10637 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
10638 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
10639 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
10640 (__MSQ_PAD_BEFORE_TIME): Likewise.
10641 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
10642 (__SEM_PAD_BEFORE_TIME): Likewise.
10643 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
10644 (__SHM_PAD_BEFORE_TIME): Likewise.
10645 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
10646 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
10647 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
10649 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
10651 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
10652 USE_RDTSCP is defined.
10653 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
10654 USE_RDTSCP is defined.
10656 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10658 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
10662 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
10663 independently of other flags.
10665 2018-10-23 Florian Weimer <fweimer@redhat.com>
10667 * time/tst-mktime2.c (N_STRINGS): Remove.
10668 (set_timezone): New function.
10669 (spring_forward_gap): Call it. Use FAIL_EXIT1.
10670 (mktime_test1): Report localtime failure and check errno value.
10672 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
10673 (do_test): Remove alarm call. Use set_timezone and array_length.
10675 2018-10-23 Andreas Schwab <schwab@suse.de>
10677 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
10678 (__start_context): Use END instead of PSEUDO_END.
10680 2018-10-22 Joseph Myers <joseph@codesourcery.com>
10682 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10685 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10689 * wcsmbs/c32rtomb.c: New file.
10690 * wcsmbs/mbrtoc32.c: Likewise.
10691 * wcsmbs/tst-c32-state.c: Likewise.
10692 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
10693 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
10694 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
10695 (tests): Add tst-c32-state.
10696 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
10699 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
10701 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
10702 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
10704 2018-10-19 Joseph Myers <joseph@codesourcery.com>
10707 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
10708 pair and return 0 in that case, and use saved character to
10709 interpret following character.
10710 * wcsmbs/tst-c16-surrogate.c: New file.
10711 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
10712 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
10713 Depend on $(gen-locales)
10715 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
10718 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
10719 (struct siginfo_t): Use correct type for si_band.
10721 2018-10-19 Florian Weimer <fweimer@redhat.com>
10724 * resource/bits/types/struct_rusage.h (struct rusage): Update
10725 comment on struct. Remove extraneous field comment.
10727 2018-10-18 David S. Miller <davem@davemloft.net>
10729 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
10730 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
10731 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
10732 sysdep_routines in subdir elf.
10733 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
10734 version for __vdso_clock_gettime.
10735 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
10737 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
10738 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
10740 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
10742 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
10744 * sysdeps/i386/init-arch.h: Removed.
10745 * sysdeps/i386/i586/init-arch.h: Likewise.
10746 * sysdeps/i386/i686/init-arch.h: Likewise.
10747 * sysdeps/i386/i686/hp-timing.h: Likewise.
10748 * sysdeps/x86_64/hp-timing.h: Likewise.
10749 * sysdeps/i386/isa.h: New file.
10750 * sysdeps/i386/i586/isa.h: Likewise.
10751 * sysdeps/i386/i686/isa.h: Likewise.
10752 * sysdeps/x86_64/isa.h: Likewise.
10753 * sysdeps/x86/hp-timing.h: New file.
10754 * sysdeps/x86/init-arch.h: Include <isa.h>.
10756 2018-10-17 Joseph Myers <joseph@codesourcery.com>
10758 * math/libm-test-pow.inc (pow_test_data): Do not allow
10759 divide-by-zero exception for pow(+/- 0, -Inf).
10761 2018-10-17 Zack Weinberg <zackw@panix.com>
10763 * manual/job.texi (Job Control is Optional): Remove node, as
10764 job control has not been optional in quite some time.
10765 (Job Control): Mention briefly that systems older than
10766 POSIX.1-2001 might not support job control.
10767 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
10768 defined on systems conforming to POSIX.1-2001.
10770 2018-10-17 Arjun Shankar <arjun@redhat.com>
10773 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
10775 * (__gconv_read_conf): Mark function static.
10776 * (once): New static variable.
10777 * (__gconv_load_conf): New function.
10778 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
10779 * iconv/gconv_db.c (once): Remove static variable.
10780 * (__gconv_compare_alias): Use __gconv_load_conf instead of
10782 * (__gconv_find_transform): Likewise.
10783 * iconv/tst-iconv-mt.c: New test.
10784 * iconv/Makefile: Add tst-iconv_mt.
10786 2018-10-17 Joseph Myers <joseph@codesourcery.com>
10788 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10790 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
10791 (shmatt_t): Define as __syscall_ulong_t.
10792 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
10793 and [__SHM_PAD_AFTER_TIME].
10794 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
10795 Define shm_segsz and associated padding based on
10796 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
10797 Use __syscall_ulong_t instead of unsigned long int.
10798 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
10800 [__USE_MISC] (struct shm_info): Likewise.
10801 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
10802 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
10803 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
10804 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
10805 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
10806 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
10807 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
10808 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
10809 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10810 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10811 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10813 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10815 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
10816 (SHMLBA): Remove macro.
10817 (__getpagesize): Remove function declaration.
10818 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
10820 (SHMLBA): Remove macro.
10821 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
10823 (SHMLBA): Remove macro.
10824 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
10826 (SHMLBA): Remove macro.
10827 (__getpagesize): Remove function declaration.
10828 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
10830 (SHMLBA): Remove macro.
10831 (__getshmlba): Remove function declaration.
10832 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
10833 (SHMLBA): Remove macro.
10834 (__getpagesize): Remove function declaration.
10835 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
10836 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
10837 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10838 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
10839 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
10840 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
10841 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
10842 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
10843 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
10844 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
10846 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
10849 * nptl/tst-mutex10.c: New File.
10850 * nptl/Makefile (tests): Add tst-mutex10.
10851 (tst-mutex10-ENV): New variable.
10852 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
10853 Ensure that elision path is used if elision is available.
10854 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
10856 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
10858 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
10859 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
10860 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
10861 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
10863 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
10864 (__pthread_mutex_cond_lock_adjust): Likewise.
10865 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
10867 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
10868 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
10869 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10870 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
10872 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
10873 Use atomic_load_relaxed and atomic_store_relaxed.
10874 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
10875 Use atomic_store_relaxed.
10877 2018-10-17 Andreas Schwab <schwab@suse.de>
10879 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
10880 * crypt/badsalttest.c (TIMEOUT): Likewise.
10881 * crypt/sha256c-test.c (TIMEOUT): Likewise.
10882 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
10883 * io/test-lfs.c (TIMEOUT): Likewise.
10884 * libio/tst-atime.c (TIMEOUT): Likewise.
10885 * localedata/tst-leaks.c (TIMEOUT): Likewise.
10886 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
10887 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
10888 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
10889 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
10890 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
10891 * nptl/tst-cond11.c (TIMEOUT): Likewise.
10892 * nptl/tst-cond14.c (TIMEOUT): Likewise.
10893 * nptl/tst-cond15.c (TIMEOUT): Likewise.
10894 * nptl/tst-cond24.c (TIMEOUT): Likewise.
10895 * nptl/tst-cond25.c (TIMEOUT): Likewise.
10896 * nptl/tst-kill2.c (TIMEOUT): Likewise.
10897 * nptl/tst-kill3.c (TIMEOUT): Likewise.
10898 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
10899 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
10900 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
10901 * nptl/tst-once2.c (TIMEOUT): Likewise.
10902 * nptl/tst-once3.c (TIMEOUT): Likewise.
10903 * nptl/tst-once4.c (TIMEOUT): Likewise.
10904 * nptl/tst-robust8.c (TIMEOUT): Likewise.
10905 * nptl/tst-robust9.c (TIMEOUT): Likewise.
10906 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
10907 * nptl/tst-sem14.c (TIMEOUT): Likewise.
10908 * nptl/tst-sem6.c (TIMEOUT): Likewise.
10909 * nptl/tst-signal3.c (TIMEOUT): Likewise.
10910 * nptl/tst-spin4.c (TIMEOUT): Likewise.
10911 * nptl/tst-tls3.c (TIMEOUT): Likewise.
10912 * nptl/tst-tls4.c (TIMEOUT): Likewise.
10913 * posix/tst-chmod.c (TIMEOUT): Likewise.
10914 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
10915 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
10916 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
10917 * posix/tst-regex2.c (TIMEOUT): Likewise.
10918 * posix/tst-waitid.c (TIMEOUT): Likewise.
10919 * rt/tst-aio.c (TIMEOUT): Likewise.
10920 * rt/tst-aio10.c (TIMEOUT): Likewise.
10921 * rt/tst-aio4.c (TIMEOUT): Likewise.
10922 * rt/tst-aio5.c (TIMEOUT): Likewise.
10923 * rt/tst-aio6.c (TIMEOUT): Likewise.
10924 * rt/tst-aio64.c (TIMEOUT): Likewise.
10925 * rt/tst-aio7.c (TIMEOUT): Likewise.
10926 * rt/tst-aio9.c (TIMEOUT): Likewise.
10927 * rt/tst-clock.c (TIMEOUT): Likewise.
10928 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
10929 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
10930 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
10931 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
10932 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
10933 * rt/tst-timer4.c (TIMEOUT): Likewise.
10934 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
10935 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
10936 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
10937 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
10938 * time/tst-ftime.c (TIMEOUT): Likewise.
10939 * timezone/tst-tzset.c (TIMEOUT): Likewise.
10941 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
10943 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
10944 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
10947 2018-10-15 Joseph Myers <joseph@codesourcery.com>
10949 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10951 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
10952 instead of <bits/wordsize.h>.
10953 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
10954 and [__SEM_PAD_AFTER_TIME].
10955 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
10956 __syscall_ulong_t instead of unsigned long int.
10957 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
10958 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
10959 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
10960 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
10961 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
10962 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
10963 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
10964 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
10965 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10966 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10967 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10969 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
10971 regex: simplify by using intprops.h
10973 * posix/regex_internal.h [_LIBC]: Include intprops.h.
10974 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
10975 intprops.h defines them.
10977 regex: __builtin_expect → __glibc_unlikely
10979 This refactoring was prompted by a problem when the regex code is
10980 used as part of Gnulib and when the builder’s compiler does not grok
10981 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
10982 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
10983 Although this refactoring does not fix the problem directly,
10984 we might as well have Gawk use the now-preferred glibc style for when
10985 __builtin_expect is unavailable.
10986 * posix/regex_internal.h (BE): Remove.
10987 All uses replaced by __glibc_unlikely or __glibc_likely.
10989 2018-10-11 Joseph Myers <joseph@codesourcery.com>
10991 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10993 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
10994 instead of <bits/wordsize.h>.
10995 (msgqnum_t): Define as __syscall_ulong_t.
10996 (msglen_t): Likewise.
10997 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
10998 and [__MSQ_PAD_AFTER_TIME].
10999 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
11000 __syscall_ulong_t instead of unsigned long int.
11001 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
11002 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
11003 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
11004 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
11005 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
11006 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
11007 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
11008 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
11009 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11010 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11011 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11013 2018-10-10 Joseph Myers <joseph@codesourcery.com>
11015 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
11016 (struct shmid_ds): Condition padding after time fields on
11017 [__WORDSIZE == 32].
11018 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
11019 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
11020 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11022 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
11023 (struct semid_ds): Condition padding after time fields on
11024 [__WORDSIZE == 32].
11025 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
11026 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
11027 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
11028 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11030 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
11031 (struct msqid_ds): Condition padding after time fields on
11032 [__WORDSIZE == 32].
11033 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
11034 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
11035 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
11036 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11038 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11040 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
11042 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11044 * libio/tst-readline.c (TIMEOUT): Define.
11046 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
11048 mktime fix for Gnulib + coreutils
11050 This fix affects only Gnulib. Problem discovered when
11051 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
11053 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
11054 Do not define since it is not used. Defining an unused static
11055 function prompts a warning from GCC when Coreutils is configured
11056 with --enable-gcc-warnings.
11058 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11060 * benchtests/scripts/compare_bench.py (main): set float type on
11061 threshold argument.
11063 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
11066 * localedata/locales/kl_GL (mon): Update, the relative case.
11067 (alt_mon): Add, fill with month names in the nominative case.
11068 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
11069 (d_fmt): Set to "%b %d %Y".
11071 2018-10-04 Joseph Myers <joseph@codesourcery.com>
11073 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
11074 <bits/mman-linux.h>.
11075 (PROT_READ): Don't define here.
11076 (PROT_WRITE): Likewise.
11077 (PROT_EXEC): Likewise.
11078 (PROT_NONE): Likewise.
11079 (PROT_GROWSDOWN): Likewise.
11080 (PROT_GROWSUP): Likewise.
11081 (MAP_SHARED): Likewise.
11082 (MAP_PRIVATE): Likewise.
11083 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
11084 [__USE_MISC] (MAP_FILE): Likewise.
11085 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
11086 [__USE_MISC] (MAP_ANON): Likewise.
11087 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
11088 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
11089 (MCL_CURRENT): Likewise.
11090 (MCL_FUTURE): Likewise.
11091 (MCL_ONFAULT): Likewise.
11092 [__USE_MISC] (MADV_NORMAL): Likewise.
11093 [__USE_MISC] (MADV_RANDOM): Likewise.
11094 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
11095 [__USE_MISC] (MADV_WILLNEED): Likewise.
11096 [__USE_MISC] (MADV_DONTNEED): Likewise.
11097 [__USE_MISC] (MADV_FREE): Likewise.
11098 [__USE_MISC] (MADV_REMOVE): Likewise.
11099 [__USE_MISC] (MADV_DONTFORK): Likewise.
11100 [__USE_MISC] (MADV_DOFORK): Likewise.
11101 [__USE_MISC] (MADV_HWPOISON): Likewise.
11102 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
11103 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
11104 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
11105 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
11106 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
11107 (__MAP_ANONYMOUS): New macro.
11108 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
11109 <bits/mman-linux.h> inclusion.
11110 (MAP_FIXED): Likewise.
11111 (MS_SYNC): Likewise.
11112 (MS_ASYNC): Likewise.
11113 (MS_INVALIDATE): Likewise.
11114 [__USE_MISC] (MADV_MERGEABLE): Likewise.
11115 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
11116 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
11117 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
11118 [__USE_MISC] (MADV_DONTDUMP): Likewise.
11119 [__USE_MISC] (MADV_DODUMP): Likewise.
11120 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
11121 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
11124 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
11126 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
11127 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
11128 Add test-nldbl-redirect.
11129 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
11130 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
11131 $(objpfx)libnldbl_nonshared.a.
11133 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
11135 * support/support.h (support_objdir_elf_ldso): New variable.
11136 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
11137 * support/Makefile (CFLAGS-support_paths.c): Add definition
11138 for OBJDIR_ELF_LDSO_PATH.
11139 * support/test-container.c (main): Search for the ld.so
11140 which is also used by the testsuite.
11142 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
11145 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
11146 should be "sap" rather than "sab".
11147 (day): Fix spelling of Sunday, should be "sapaat" rather than
11150 2018-10-02 Joseph Myers <joseph@codesourcery.com>
11152 * math/libm-test-fma.inc (fma_test_data): Add more tests.
11154 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
11157 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
11158 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
11159 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
11161 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11163 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
11165 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
11167 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
11169 (CFLAGS-elision-unlock.c): Likewise.
11170 (CFLAGS-elision-timed.c): Likewise.
11171 (CFLAGS-elision-trylock.c): Likewise.
11172 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
11174 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11177 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
11178 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
11179 new fd_to_filename interface.
11180 * libio/freopen64.c (freopen64): Likewise.
11181 * libio/tst-memstream.h: New file.
11182 * libio/tst-memstream4.c: Likewise.
11183 * libio/tst-wmemstream4.c: Likewise.
11184 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
11185 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
11186 and remove internal dynamic allocation.
11188 2018-10-01 Joseph Myers <joseph@codesourcery.com>
11190 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
11191 (MREMAP_MAYMOVE): Do not define here.
11192 [__USE_GNU] (MREMAP_FIXED): Likewise.
11193 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
11194 (MREMAP_MAYMOVE): Define here instead.
11195 [__USE_GNU] (MREMAP_FIXED): Likewise.
11196 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
11197 (MREMAP_MAYMOVE): Remove.
11198 [__USE_GNU] (MREMAP_FIXED): Likewise.
11200 2018-09-28 Joseph Myers <joseph@codesourcery.com>
11202 * math/fromfp.h: Do not include <math_private.h>.
11203 * math/s_cacosh_template.c: Likewise.
11204 * math/s_casin_template.c: Likewise.
11205 * math/s_casinh_template.c: Likewise.
11206 * math/s_ccos_template.c: Likewise.
11207 * math/s_cproj_template.c: Likewise.
11208 * math/s_fdim_template.c: Likewise.
11209 * math/s_fmaxmag_template.c: Likewise.
11210 * math/s_fminmag_template.c: Likewise.
11211 * math/s_iseqsig_template.c: Likewise.
11212 * math/s_ldexp_template.c: Likewise.
11213 * math/s_nextdown_template.c: Likewise.
11214 * math/w_log1p_template.c: Likewise.
11215 * math/w_scalbln_template.c: Likewise.
11216 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
11217 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
11218 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
11219 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
11220 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
11221 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
11222 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
11223 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
11224 * sysdeps/i386/fpu/s_atanl.c: Likewise.
11225 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
11226 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
11227 * sysdeps/i386/fpu/s_fdim.c: Likewise.
11228 * sysdeps/i386/fpu/s_logbl.c: Likewise.
11229 * sysdeps/i386/fpu/s_rintl.c: Likewise.
11230 * sysdeps/i386/fpu/s_significandl.c: Likewise.
11231 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
11232 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
11233 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11234 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11235 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11236 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11237 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11238 * sysdeps/ieee754/k_standardf.c: Likewise.
11239 * sysdeps/ieee754/k_standardl.c: Likewise.
11240 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11241 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
11242 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
11243 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
11244 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
11245 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
11246 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11247 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11248 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11249 * sysdeps/ieee754/s_signgam.c: Likewise.
11250 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
11251 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
11252 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
11253 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
11254 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
11255 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
11256 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
11257 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
11258 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
11259 * sysdeps/riscv/rvd/s_finite.c: Likewise.
11260 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
11261 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
11262 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
11263 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
11264 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
11265 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
11266 * sysdeps/riscv/rvf/fegetround.c: Likewise.
11267 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
11268 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
11269 * sysdeps/riscv/rvf/fesetround.c: Likewise.
11270 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
11271 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
11272 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
11273 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
11274 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
11275 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
11276 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
11277 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
11278 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
11279 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
11280 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
11281 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
11282 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
11283 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
11284 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
11285 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
11286 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
11288 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
11290 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
11293 * sysdeps/i386/dl-cet.c: Removed.
11294 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
11296 (_dl_runtime_profile_shstk): Likewise.
11297 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
11298 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
11300 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11303 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
11304 do_test_with_invalid_iov): New tests.
11305 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
11306 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
11307 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
11309 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
11310 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
11311 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
11313 2018-09-27 Joseph Myers <joseph@codesourcery.com>
11315 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11316 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
11317 (MATH_REDIRECT_BINARY_ARGS): New macro.
11318 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11319 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
11320 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
11322 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
11323 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11324 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
11325 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11326 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11327 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11328 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
11331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
11333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
11334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
11335 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
11336 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
11337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
11339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
11341 * sysdeps/generic/math_private_calls.h
11342 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
11343 Do not declare and define as an inline function.
11344 * math/divtc3.c (__divtc3): Use copysign functions instead of
11345 __copysign variants.
11346 * math/multc3.c (__multc3): Likewise.
11347 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
11348 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
11349 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11350 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
11352 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11353 (__ieee754_yn): Likewise.
11354 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11355 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
11356 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11357 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11358 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
11360 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
11361 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
11363 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11365 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11367 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11368 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11370 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11371 (__ieee754_ynf): Likewise.
11372 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
11373 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11374 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
11375 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11377 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11378 (__ieee754_ynl): Likewise.
11379 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11380 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11381 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11383 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11384 (__ieee754_ynl): Likewise.
11385 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
11386 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11387 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11388 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11390 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11392 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
11393 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11394 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
11395 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
11396 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11398 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11399 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
11400 using MATH_REDIRECT.
11401 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
11403 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
11404 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11405 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11406 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
11407 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11408 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11409 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
11411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
11412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
11413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
11414 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
11415 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
11416 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11417 (round): Redirect to __round.
11418 (__roundl): Call round instead of __round.
11419 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
11421 [_ARCH_PWR5X] (__roundf): Likewise.
11422 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
11423 functions instead of __round variants.
11424 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11425 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
11427 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
11429 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
11431 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
11432 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
11434 (__ieee754_expl): Call roundl instead of __roundl.
11436 2018-09-27 Andreas Schwab <schwab@suse.de>
11439 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
11440 (do_test): Make st1 static.
11442 2018-09-26 Andreas Schwab <schwab@suse.de>
11445 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
11446 * elf/Makefile (tests): Add tst-unwind-ctor.
11447 (modules-names): Add tst-unwind-ctor-lib.
11448 ($(objpfx)tst-unwind-ctor): Depend on
11449 $(objpfx)tst-unwind-ctor-lib.so.
11451 2018-09-26 Joseph Myers <joseph@codesourcery.com>
11453 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
11454 file. Most contents moved from ....
11455 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
11456 and include <bits/mman-map-flags-generic.h>.
11457 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11458 (sysdep_headers): Add bits/mman-map-flags-generic.h.
11459 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
11460 <bits/mman-map-flags-generic.h>.
11461 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
11462 macros defined in <bits/mman-map-flags-generic.h>.
11463 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
11464 <bits/mman-map-flags-generic.h>.
11465 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
11466 defined in <bits/mman-map-flags-generic.h>.
11468 2018-09-26 Andreas Schwab <schwab@suse.de>
11470 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
11473 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
11474 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11475 Fangrui Song <maskray@google.com>
11478 * config.make.in (have-textrel_ifunc): New define.
11479 * configure.ac: Add check if linker supports textrel relocation with
11481 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
11483 (CFLAGS-tst-ifunc-textrel.c): New rule.
11484 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
11485 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
11486 * elf/tst-ifunc-textrel.c: New file.
11488 2018-09-25 Joseph Myers <joseph@codesourcery.com>
11490 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
11491 <bits/procfs-prregset.h>.
11492 (prgregset_t): Define using __prgregset_t.
11493 (prfpregset_t): Define using __prfpregset_t.
11494 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11495 (sysdep_headers): Add bits/procfs-prregset.h.
11496 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
11497 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
11498 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
11499 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
11501 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
11502 <bits/procfs-id.h> and <bits/procfs-extra.h>.
11503 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
11505 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11506 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
11507 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
11508 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
11509 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
11510 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
11511 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
11512 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
11513 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
11514 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
11515 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
11516 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
11517 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
11518 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
11519 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
11520 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
11521 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
11522 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
11523 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
11524 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
11525 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
11526 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
11527 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11528 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
11530 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
11531 AArch64 version. Include <bits/procfs.h>.
11532 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11533 (sysdep_headers): Add bits/procfs.h.
11534 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
11535 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
11536 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
11537 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
11538 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
11539 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
11540 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
11541 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
11542 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
11543 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
11544 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
11545 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
11546 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
11547 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
11548 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
11549 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11550 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
11552 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11554 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
11557 2018-09-25 Arjun Shankar <arjun@redhat.com>
11559 * iconv/gconv_int.h (__gconv_path_elem): Remove.
11560 (__gconv_max_path_elem_len): Likewise.
11561 (__gconv_nmodules): Likewise.
11562 (__gconv_get_path): Likewise.
11563 (path_elem): Move to ...
11564 * iconv/gconv_conf.c: ... here.
11565 (__gconv_get_path): Mark function static.
11566 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
11567 * iconv/gconv_open.c: ... here.
11569 2018-09-24 Andreas Schwab <schwab@suse.de>
11571 * scripts/haveversions.awk: New file.
11572 * Makerules ($(common-objpfx)Versions.def)
11573 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
11574 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
11576 * Makeconfig ($(common-objpfx)Versions.def)
11577 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
11578 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
11580 ($(common-objpfx)Versions.mk): New rule. Include it.
11581 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
11582 Emit error if build-obsolete-nsl = yes.
11583 * manual/install.texi (Configuring and compiling): Describe
11584 --enable-obsolete-nsl as unavaiable after version 2.28.
11585 * INSTALL: Regenerate.
11587 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11589 * NEWS: Add note about new TLE support on powerpc64le.
11590 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
11591 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
11593 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
11594 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
11595 * sysdeps/powerpc/powerpc32/sysdep.h,
11596 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
11597 ABORT_TRANSACTION): Remove macros.
11598 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
11599 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
11600 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
11601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
11602 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11603 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
11605 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
11607 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
11610 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
11611 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
11612 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
11613 which is the same as in it_IT.
11614 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
11615 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
11617 2018-09-20 Joseph Myers <joseph@codesourcery.com>
11619 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11620 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
11621 using MATH_REDIRECT.
11622 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
11624 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
11625 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11626 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
11627 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
11628 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11629 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
11631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
11632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
11633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
11634 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
11635 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
11636 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
11637 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
11638 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
11639 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
11640 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
11641 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11642 (ceil): Redirect to __ceil.
11643 (floor): Redirect to __floor.
11644 (trunc): Redirect to __trunc.
11645 (__truncl): Call trunc instead of __trunc.
11646 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
11648 [_ARCH_PWR5X] (__truncf): Likewise.
11649 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
11650 trunc functions instead of __trunc variants.
11651 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11653 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11655 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11657 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11660 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
11661 [__i586__ || __pentium__].
11662 [__i486__]: Handle explicitly.
11663 (HAS_CPUID): Define to 1 if above macros are undefined.
11664 (HAS_I586): Likewise.
11665 (HAS_I686): Likewise.
11667 2018-09-20 Florian Weimer <fweimer@redhat.com>
11669 * misc/tst-gethostid.c: New file.
11670 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
11671 (tst-gethostid): Link with -ldl.
11673 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
11675 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
11676 value from gethostbyname_r.
11678 2018-09-19 Carlos O'Donell <carlos@redhat.com>
11680 * stdlib/tst-setcontext9.c (f1): Rename to...
11682 (f1b): New function implementing lower half of f1 in alternate stack.
11684 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
11686 Fix mktime localtime offset confusion
11688 * include/time.h (__mktime_internal): The localtime offset is now
11689 of type long int instead of time_t. This is the longstanding type
11690 in glibc, and it is more than enough to represent difference
11691 between localtime and gmtime even if it is 32 bits and time_t is
11692 64. Changing it now will let us avoid an unnecessary change when
11693 time_t is widened to 64 bits on 32-bit platforms.
11694 * time/mktime-internal.h (mktime_offset_t): Now long int.
11696 Merge mktime, timegm from upstream Gnulib
11697 [BZ #23603][BZ #16346]
11698 This fixes some obscure problems with integer overflow.
11699 Although it looks scary, it is almost all a byte-for-byte copy
11700 from Gnulib, and the Gnulib code has been tested reasonably well.
11701 * include/intprops.h: New file, copied from Gnulib.
11702 * include/verify.h, time/mktime-internal.h:
11703 New tiny files, simplified from Gnulib.
11704 * time/mktime.c: Copy from Gnulib. This has the following changes:
11705 Do not include config.h if DEBUG_MKTIME is nonzero.
11706 Include stdbool.h, intprops.h, verify.h.
11707 Include string.h only if needed.
11708 Include stdlib.h on MS-Windows.
11709 Include mktime-internal.h.
11710 (DEBUG_MKTIME): Default to 0, and simplify later uses.
11711 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
11712 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
11713 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
11714 simplify later conditionals; default the others to zero. Use
11715 these conditionals to express only the code needed on the current
11716 platform. In uses of these conditionals, explicitly spell out how
11717 _LIBC affects things, so it’s easier to review from a glibc
11719 (WRAPV): Remove; no longer needed now that we have
11720 systematic overflow checking.
11721 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
11722 compartmentalize tzset issues. Move system-dependent tzsettish
11723 code here from mktime.
11724 (verify): Remove; now done by verify.h. All uses changed.
11725 (long_int): Use a more-conservative definition, to avoid
11727 (SHR): Remove, replacing with ...
11728 (shr): New function, which means we needn’t worry about side
11729 effects in args, and conversion analysis is simpler.
11730 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
11731 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
11732 (time_t_avg, time_t_add_ok): Remove.
11733 (mktime_min, mktime_max): New constants.
11734 (leapyear, isdst_differ): Use bool for booleans.
11735 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
11736 Use long_int, not time_t, for mktime differences.
11737 (long_int_avg): New function, replacing time_t_avg.
11738 INT_ADD_WRAPV replaces time_t_add_ok.
11739 (guess_time_tm): 6th arg is now long_int, not time_t const *.
11741 (convert_time): New function.
11742 (ranged_convert): Use it.
11743 (__mktime_internal): Last arg now points to mktime_offset_t, not
11744 time_t. All uses changed. This is a no-op on glibc, where
11745 mktime_offset_t is always time_t. Use int, not time_t, for UTC
11746 offset guess. Directly check for integer overflow instead of
11747 using a heuristic that works only 99.9...% of the time.
11748 Access *OFFSET only once, to avoid an unlikely race if the
11749 compiler delays a load and if this cascades into a signed integer
11751 (mktime): Move tzsettish code to my_tzset, and move
11752 localtime_offset to within mktime so that it doesn’t
11753 need a separate ifdef.
11754 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
11755 instead of localtime.
11756 * time/timegm.c: Copy from Gnulib. This has the following changes:
11757 Include mktime-internal.h.
11758 [!_LIBC]: Include config.h and time.h. Do not include
11759 timegm.h or time_r.h. Make __mktime_internal a macro,
11760 and include mktime-internal.h to get its declaration.
11761 (timegm): Temporary is now mktime_offset_t, not time_t.
11762 This affects only Gnulib.
11764 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
11767 * string/test-strstr.c (pr23637): New function.
11768 (test_main): Add tests with longer needles.
11769 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
11770 * string/strstr.c (AVAILABLE): Likewise.
11772 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
11774 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
11776 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
11778 * NEWS: Mention pow improvements.
11779 * math/Makefile (type-double-routines): Add e_pow_log_data.
11780 * sysdeps/generic/math_private.h (__exp1): Remove.
11781 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
11782 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
11783 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
11785 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
11786 (exp_inline): Remove.
11787 (__ieee754_exp): Only single double input is handled.
11788 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
11789 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
11790 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
11791 (__pow_log_data): Define.
11792 * sysdeps/ieee754/dbl-64/upow.h: Remove.
11793 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
11794 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
11795 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
11797 (CFLAGS-e_pow-fma4.c): Likewise.
11799 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
11801 Simplify tzfile fstat failure code
11803 * time/tzfile.c (__tzfile_read): Simplify slightly.
11805 Fix tzfile low-memory assertion failure
11807 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
11808 when registering time zone abbreviations.
11810 2018-09-18 Joseph Myers <joseph@codesourcery.com>
11812 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
11813 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
11814 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
11815 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
11816 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
11817 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
11818 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
11819 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11820 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11822 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
11824 (__ceill): Call ceil instead of __ceil.
11825 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
11827 (__floorl): Call floor instead of __floor.
11829 2018-09-17 Joseph Myers <joseph@codesourcery.com>
11831 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11832 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
11833 using MATH_REDIRECT.
11834 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
11836 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
11837 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11838 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11839 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
11840 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11841 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11842 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11843 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
11844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
11845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
11846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
11847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
11848 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
11849 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
11850 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
11851 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
11852 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
11853 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
11854 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
11856 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
11857 functions instead of __ceil variants.
11858 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11859 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
11861 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
11863 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
11864 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
11866 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
11867 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11870 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
11872 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
11873 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
11874 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
11875 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
11876 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
11877 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
11878 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
11879 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
11880 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
11881 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
11882 (ILL_BADIADDR): Remove constant.
11883 (TRAP_BRANCH): Likewise.
11884 (TRAP_HWBKPT): Likewise.
11886 2018-09-14 Joseph Myers <joseph@codesourcery.com>
11889 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
11890 Remove [_MIPS_SIM = _ABIN32] conditional case.
11891 (struct elf_prpsinfo): Likewise.
11894 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
11895 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
11896 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
11898 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
11899 elf_prpsinfo): Likewise.
11900 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
11901 elf_prpsinfo): Likewise.
11902 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
11905 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11906 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
11907 using MATH_REDIRECT.
11908 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
11910 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
11911 * sysdeps/alpha/fpu/s_rint.c: Likewise.
11912 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
11913 * sysdeps/i386/fpu/s_rintl.c: Likewise.
11914 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11915 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11916 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
11917 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11918 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11919 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11920 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
11921 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
11922 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
11923 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
11924 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
11925 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11926 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11927 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
11928 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
11929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
11930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
11931 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
11932 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
11933 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
11934 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
11935 * sysdeps/x86_64/fpu/math_private.h: Remove file.
11936 * math/e_scalb.c (invalid_fn): Use rint functions instead of
11938 * math/e_scalbf.c (invalid_fn): Likewise.
11939 * math/e_scalbl.c (invalid_fn): Likewise.
11940 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
11942 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11944 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
11945 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
11946 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11948 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11950 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11952 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
11953 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
11955 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11956 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
11958 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11959 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
11960 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11961 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
11962 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11963 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
11964 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11965 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
11966 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11967 && !NO_MATH_REDIRECT] (floor): Likewise.
11968 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
11970 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
11971 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11972 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11973 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
11974 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11975 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11976 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11977 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
11978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
11979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
11980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
11981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
11982 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
11983 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
11984 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
11985 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
11986 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
11987 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
11988 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
11990 [_ARCH_PWR5X] (__floorf): Likewise.
11991 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
11993 [__SSE4_1__] (__floorf): Likewise.
11994 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
11995 instead of __floor variants.
11996 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
11997 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
11998 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
11999 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
12000 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
12001 * math/w_tgamma_compat.c (__tgamma): Likewise.
12002 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
12003 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
12004 * math/w_tgammal_compat.c (__tgammal): Likewise.
12005 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
12006 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12008 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
12009 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
12010 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
12011 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12013 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12014 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
12016 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
12017 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
12019 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12020 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
12022 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12023 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12024 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
12025 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
12026 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12027 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12029 2018-09-12 Joseph Myers <joseph@codesourcery.com>
12031 * elf/Makefile (modules-names-tests): New variable.
12033 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12035 * NEWS: Mention log2 improvements.
12036 * math/Makefile (type-double-routines): Add e_log2_data.
12037 * sysdeps/i386/fpu/e_log2_data.c: New file.
12038 * sysdeps/ia64/fpu/e_log2_data.c: New file.
12039 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
12040 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
12041 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
12042 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
12043 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
12045 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12047 * NEWS: Mention log improvement.
12048 * math/Makefile (type-double-routines): Add e_log_data.
12049 * sysdeps/i386/fpu/e_log_data.c: New file.
12050 * sysdeps/ia64/fpu/e_log_data.c: New file.
12051 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
12052 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
12053 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
12054 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
12055 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
12056 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
12058 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
12059 Xuepeng Guo <xuepeng.guo@intel.com>
12062 * sysdeps/i386/start.S: Include <sysdep.h>
12063 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
12064 enabled. Add cfi_undefined (eip).
12066 2018-09-11 Joseph Myers <joseph@codesourcery.com>
12068 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
12070 (EXTRACT_WORDS64): Likewise.
12071 (INSERT_WORDS64): Likewise.
12072 (GET_FLOAT_WORD): Likewise.
12073 (SET_FLOAT_WORD): Likewise.
12075 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
12077 (Config.build_gcc): Use --disable-libsanitizer for first GCC
12078 build, but not for second build if --full-gcc. Use
12079 --enable-languages=all for second build if --full-gcc.
12080 (get_parser): Add --full-gcc option.
12081 (main): Update call to Context.
12083 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
12086 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
12087 Single Quotation Mark).
12088 (thousands_sep): Likewise.
12089 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
12090 * localedata/locales/it_IT (thousands_sep): Use ".".
12091 (grouping): Use "3;3".
12093 2018-09-10 Joseph Myers <joseph@codesourcery.com>
12095 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
12096 x86_64 and i686 configs using --enable-obsolete-rpc
12097 --enable-obsolete-nsl.
12099 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
12101 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12103 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
12105 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
12106 Increment size of new_argv by one.
12108 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
12111 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
12112 * localedata/locales/ar_IN (d_fmt): Likewise.
12113 * localedata/locales/bhb_IN (d_fmt): Likewise.
12114 * localedata/locales/bho_IN (d_fmt): Likewise.
12115 * localedata/locales/bn_BD (d_fmt): Likewise.
12116 * localedata/locales/bn_IN (d_fmt): Likewise.
12117 * localedata/locales/doi_IN (d_fmt): Likewise.
12118 * localedata/locales/gu_IN (d_fmt): Likewise.
12119 * localedata/locales/hi_IN (d_fmt): Likewise.
12120 * localedata/locales/hne_IN (d_fmt): Likewise.
12121 * localedata/locales/kn_IN (d_fmt): Likewise.
12122 * localedata/locales/mag_IN (d_fmt): Likewise.
12123 * localedata/locales/mai_IN (d_fmt): Likewise.
12124 * localedata/locales/mjw_IN (d_fmt): Likewise.
12125 * localedata/locales/ml_IN (d_fmt): Likewise.
12126 * localedata/locales/mni_IN (d_fmt): Likewise.
12127 * localedata/locales/mr_IN (d_fmt): Likewise.
12128 * localedata/locales/pa_IN (d_fmt): Likewise.
12129 * localedata/locales/raj_IN (d_fmt): Likewise.
12130 * localedata/locales/sat_IN (d_fmt): Likewise.
12131 * localedata/locales/sd_IN (d_fmt): Likewise.
12132 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
12133 * localedata/locales/ta_IN (d_fmt): Likewise.
12134 * localedata/locales/ta_LK (d_fmt): Likewise.
12135 * localedata/locales/tcy_IN (d_fmt): Likewise.
12136 * localedata/locales/ur_IN (d_fmt): Likewise.
12138 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
12139 * localedata/locales/ks_IN (d_fmt): Likewise.
12140 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
12142 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
12143 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
12144 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
12145 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
12147 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
12149 * NEWS: Mention exp and exp2 improvements.
12150 * math/Makefile (libm-support): Remove t_exp.
12151 (type-double-routines): Add math_err and e_exp_data.
12152 * sysdeps/aarch64/libm-test-ulps: Update.
12153 * sysdeps/arm/libm-test-ulps: Update.
12154 * sysdeps/i386/fpu/e_exp_data.c: New file.
12155 * sysdeps/i386/fpu/math_err.c: New file.
12156 * sysdeps/i386/fpu/t_exp.c: Remove.
12157 * sysdeps/ia64/fpu/e_exp_data.c: New file.
12158 * sysdeps/ia64/fpu/math_err.c: New file.
12159 * sysdeps/ia64/fpu/t_exp.c: Remove.
12160 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
12161 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
12162 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
12163 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
12164 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
12165 * sysdeps/ieee754/dbl-64/math_config.h: New file.
12166 * sysdeps/ieee754/dbl-64/math_err.c: New file.
12167 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
12168 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
12169 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
12170 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
12171 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
12172 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
12173 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
12174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12175 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12177 2018-09-05 Joseph Myers <joseph@codesourcery.com>
12179 * sysdeps/alpha/fpu/math_private.h: Remove.
12181 * sysdeps/generic/math_private.h
12182 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
12183 Move this inline function ....
12184 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
12185 * include/math.h [!_ISOMAC]: To here....
12187 2018-09-04 Joseph Myers <joseph@codesourcery.com>
12189 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
12191 [!FE_HAVE_ROUNDING_MODES]: And this code ....
12192 * include/fenv.h [!_ISOMAC]: ... to here.
12193 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
12194 (feraiseexcept): Likewise.
12195 * math/fromfp.h: Do not include <fenv_private.h>.
12196 * math/s_cexp_template.c: Likewise.
12197 * math/s_csin_template.c: Likewise.
12198 * math/s_csinh_template.c: Likewise.
12199 * math/s_ctan_template.c: Likewise.
12200 * math/s_ctanh_template.c: Likewise.
12201 * math/s_iseqsig_template.c: Likewise.
12202 * math/w_acos_compat.c: Likewise.
12203 * math/w_acosf_compat.c: Likewise.
12204 * math/w_acosl_compat.c: Likewise.
12205 * math/w_asin_compat.c: Likewise.
12206 * math/w_asinf_compat.c: Likewise.
12207 * math/w_asinl_compat.c: Likewise.
12208 * math/w_j0_compat.c: Likewise.
12209 * math/w_j0f_compat.c: Likewise.
12210 * math/w_j0l_compat.c: Likewise.
12211 * math/w_j1_compat.c: Likewise.
12212 * math/w_j1f_compat.c: Likewise.
12213 * math/w_j1l_compat.c: Likewise.
12214 * math/w_jn_compat.c: Likewise.
12215 * math/w_jnf_compat.c: Likewise.
12216 * math/w_log10_compat.c: Likewise.
12217 * math/w_log10f_compat.c: Likewise.
12218 * math/w_log10l_compat.c: Likewise.
12219 * math/w_log2_compat.c: Likewise.
12220 * math/w_log2f_compat.c: Likewise.
12221 * math/w_log2l_compat.c: Likewise.
12222 * math/w_log_compat.c: Likewise.
12223 * math/w_logf_compat.c: Likewise.
12224 * math/w_logl_compat.c: Likewise.
12225 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12226 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12227 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12228 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12229 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12230 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12231 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12232 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12233 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12234 * sysdeps/ieee754/k_standardl.c: Likewise.
12235 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12236 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12237 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12238 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12239 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12240 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12241 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12242 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12243 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12244 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12245 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12246 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12247 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12248 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12249 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12250 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12251 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12252 * math/w_ilogb_template.c: Include <fenv.h> instead of
12254 * math/w_llogb_template.c: Likewise.
12255 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12256 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12258 2018-09-03 Joseph Myers <joseph@codesourcery.com>
12260 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
12261 * math/fromfp.h: Include <fenv_private.h>.
12262 * math/math-narrow.h: Likewise.
12263 * math/s_cexp_template.c: Likewise.
12264 * math/s_csin_template.c: Likewise.
12265 * math/s_csinh_template.c: Likewise.
12266 * math/s_ctan_template.c: Likewise.
12267 * math/s_ctanh_template.c: Likewise.
12268 * math/s_iseqsig_template.c: Likewise.
12269 * math/w_acos_compat.c: Likewise.
12270 * math/w_acosf_compat.c: Likewise.
12271 * math/w_acosl_compat.c: Likewise.
12272 * math/w_asin_compat.c: Likewise.
12273 * math/w_asinf_compat.c: Likewise.
12274 * math/w_asinl_compat.c: Likewise.
12275 * math/w_ilogb_template.c: Likewise.
12276 * math/w_j0_compat.c: Likewise.
12277 * math/w_j0f_compat.c: Likewise.
12278 * math/w_j0l_compat.c: Likewise.
12279 * math/w_j1_compat.c: Likewise.
12280 * math/w_j1f_compat.c: Likewise.
12281 * math/w_j1l_compat.c: Likewise.
12282 * math/w_jn_compat.c: Likewise.
12283 * math/w_jnf_compat.c: Likewise.
12284 * math/w_llogb_template.c: Likewise.
12285 * math/w_log10_compat.c: Likewise.
12286 * math/w_log10f_compat.c: Likewise.
12287 * math/w_log10l_compat.c: Likewise.
12288 * math/w_log2_compat.c: Likewise.
12289 * math/w_log2f_compat.c: Likewise.
12290 * math/w_log2l_compat.c: Likewise.
12291 * math/w_log_compat.c: Likewise.
12292 * math/w_logf_compat.c: Likewise.
12293 * math/w_logl_compat.c: Likewise.
12294 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
12295 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
12296 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
12297 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
12298 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12299 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12300 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12301 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12302 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12303 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12304 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12305 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12306 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
12307 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
12308 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12309 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12310 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12311 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12312 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12313 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12314 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12315 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12316 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12317 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12318 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12319 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12320 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12321 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
12322 * sysdeps/ieee754/float128/float128_private.h: Likewise.
12323 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12324 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12325 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12326 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12327 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12328 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12329 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12330 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12331 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12332 * sysdeps/ieee754/k_standardl.c: Likewise.
12333 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12334 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12335 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12336 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12337 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
12338 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12339 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12340 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12341 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12342 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12343 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12344 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12345 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12346 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12347 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12348 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12349 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12350 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
12351 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12352 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12353 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12354 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12355 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12356 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12357 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12358 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12359 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12360 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
12361 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
12362 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12363 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12364 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12365 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12366 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12367 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12368 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12369 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12370 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12371 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12372 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12373 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
12374 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12375 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
12376 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12377 * sysdeps/riscv/rvd/s_finite.c: Likewise.
12378 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
12379 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
12380 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
12381 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
12382 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
12383 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
12384 * sysdeps/riscv/rvf/fegetround.c: Likewise.
12385 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
12386 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
12387 * sysdeps/riscv/rvf/fesetround.c: Likewise.
12388 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
12389 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
12390 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
12391 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12392 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
12393 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12394 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
12395 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
12396 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
12397 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
12398 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
12399 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
12400 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
12401 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
12402 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12403 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12405 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12408 * include/stdio.h (__libc_fatal): Mention newline in comment.
12409 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
12410 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
12411 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12412 * nss/nsswitch.c (__nss_next2): Likewise.
12413 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
12414 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
12415 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
12416 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
12417 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
12418 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
12419 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
12420 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
12421 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
12422 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
12423 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
12424 * sysdeps/unix/sysv/linux/netlink_assert_response.c
12425 (__netlink_assert_response): Likewise.
12427 2018-08-31 Joseph Myers <joseph@codesourcery.com>
12429 * conform/glibcconform.py: New file.
12430 * conform/list-header-symbols.py: Likewise.
12431 * conform/list-header-symbols.pl: Remove.
12432 * conform/Makefile (tests-special): Only add linknamespace tests
12434 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
12436 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
12439 * support/Makefile (libsupport-routines): Add
12440 support_copy_file_range and xcopy_file_range.
12441 * support/support.h: Include <sys/types.h>.
12442 (support_copy_file_range): New prototype.
12443 * support/support_copy_file_range.c: New file. Copied and
12444 modified from io/copy_file_range-compat.c.
12445 * support/test-container.c (copy_one_file): Call xcopy_file_rang
12446 instead of copy_file_range.
12447 * support/xcopy_file_range.c: New file.
12448 * support/xunistd.h (xcopy_file_range): New prototype.
12450 2018-08-30 Carlos O'Donell <carlos@redhat.com>
12452 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
12453 xpthread_create and xpthread_join.
12455 2018-08-30 Florian Weimer <fweimer@redhat.com>
12457 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
12459 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
12461 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
12464 2018-08-29 Joseph Myers <joseph@codesourcery.com>
12466 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
12467 and minus_oflow as non-finite.
12469 2018-08-28 Joseph Myers <joseph@codesourcery.com>
12471 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
12472 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
12473 moved to fenv_private.h except for ...
12474 (TOINT_INTRINSICS): Kept in math_private.h.
12475 (roundtoint): Likewise.
12476 (converttoint): Likewise.
12477 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
12478 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
12479 * sysdeps/arm/math_private.h: Remove.
12480 * sysdeps/generic/fenv_private.h: New file. Contents moved from
12482 * sysdeps/generic/math_private.h: ... this file. Include
12483 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
12484 Include <fenv_private.h>. Remove functions and macros moved to
12486 * sysdeps/i386/fpu/math_private.h: Remove.
12487 * sysdeps/mips/math_private.h: Move to ....
12488 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
12489 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
12490 [__mips_hard_float] conditional. Include next <fenv_private.h>.
12491 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
12492 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
12493 * sysdeps/powerpc/fpu/math_private.h: Do not include
12495 * sysdeps/riscv/rvf/math_private.h: Move to ....
12496 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
12497 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
12499 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
12500 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
12501 * sysdeps/sparc/fpu/math_private.h: Remove.
12502 * sysdeps/i386/fpu/fenv_private.h: Move to ....
12503 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
12504 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
12506 * sysdeps/x86_64/fpu/math_private.h: Do not include
12507 <sysdeps/i386/fpu/fenv_private.h>.
12509 2018-08-28 Florian Weimer <fweimer@redhat.com>
12512 * posix/tst-regcomp-truncated.c: New file.
12513 * posix/Makefile (tests): Add it.
12514 (tst-regcomp-truncated.out): Depend on generated locales.
12516 2018-08-28 Florian Weimer <fweimer@redhat.com>
12518 * support/test-container.c (main): Treat unshare failure with
12519 EPERM as an unsupported test.
12521 2018-08-28 Florian Weimer <fweimer@redhat.com>
12524 nscd: Fix use-after-free in addgetnetgrentX and its callers.
12525 * nscd/netgroupcache.c
12526 (addgetnetgrentX): Add tofreep parameter. Do not free
12527 heap-allocated buffer.
12528 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
12529 (addgetnetgrentX_ignore): New function.
12530 (addgetnetgrent): Call it.
12531 (readdgetnetgrent): Likewise.
12533 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12535 * string/memmem.c: Use memcmp for first match.
12537 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
12540 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
12542 2018-08-27 DJ Delorie <dj@redhat.com>
12544 * support/Makefile (others): Don't list programs explicitly as a
12545 dependency of "others".
12547 2018-08-27 Joseph Myers <joseph@codesourcery.com>
12549 * sysdeps/generic/math-tests-trap-force.h: New file.
12550 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
12551 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
12552 * sysdeps/powerpc/math-tests.h: Remove file.
12553 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
12555 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
12556 Torvald Riegel <triegel@redhat.com>
12559 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
12560 Update r to include the set wake-request flag if waiters are
12561 remaining after spinning.
12563 2018-08-27 Joseph Myers <joseph@codesourcery.com>
12565 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
12567 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
12570 regex: fix uninitialized memory access
12571 I introduced this bug into gnulib in commit
12572 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
12573 eventually it was merged into glibc. The bug was found by
12574 project-repo <bugs@feusi.co> and reported here:
12575 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
12576 Diagnosis and draft fix reported by Assaf Gordon here:
12577 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
12578 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
12579 * posix/regex_internal.c (build_wcs_upper_buffer):
12580 Fix bug when mbrtowc returns 0.
12582 2018-08-24 Carlos O'Donell <carlos@redhat.com>
12584 * po/be.po: Update translation.
12586 2018-08-24 DJ Delorie <dj@delorie.com>
12588 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
12591 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
12594 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
12595 create temporary files in source tree.
12597 2018-08-24 Joseph Myers <joseph@codesourcery.com>
12599 * sysdeps/generic/math-tests-trap.h: New file.
12600 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
12601 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
12602 * sysdeps/aarch64/math-tests.h: Remove file.
12603 * sysdeps/arm/math-tests.h: Likewise.
12604 * sysdeps/riscv/math-tests.h: Likewise.
12605 * sysdeps/aarch64/math-tests-trap.h: New file.
12606 * sysdeps/arm/math-tests-trap.h: Likewise.
12607 * sysdeps/riscv/math-tests-trap.h: Likewise.
12609 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
12611 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
12612 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
12613 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
12614 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
12615 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
12616 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
12617 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12618 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
12619 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
12620 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12621 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12622 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12623 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12624 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
12625 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
12626 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
12627 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
12628 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
12630 2018-08-23 Joseph Myers <joseph@codesourcery.com>
12632 * sysdeps/generic/math-tests-exceptions.h: New file.
12633 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
12634 (EXCEPTION_TESTS_float): Do not define here.
12635 (EXCEPTION_TESTS_double): Likewise.
12636 (EXCEPTION_TESTS_long_double): Likewise.
12637 (EXCEPTION_TESTS_float128): Likewise.
12638 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
12640 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
12641 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
12642 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
12643 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
12644 * sysdeps/mips/math-tests.h: Likewise.
12645 * sysdeps/nios2/math-tests.h: Likewise.
12646 * sysdeps/riscv/math-tests.h [!__riscv_flen]
12647 (EXCEPTION_TESTS_float): Do not define here.
12648 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
12649 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
12650 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
12652 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
12654 * NEWS: Move optimized sinf entry to 2.29.
12656 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
12658 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
12660 2018-08-22 DJ Delorie <dj@redhat.com>
12662 * Makefile (testroot.pristine): New rules to initialize the
12663 test-in-container "testroot".
12664 * Makerules (all-testsuite): Add tests-container.
12665 * Rules (tests-expected): Add tests-container.
12666 (binaries-all-tests): Likewise.
12667 (tests-container): New, run these tests in the testroot container.
12668 * support/Makefile (others): Add *-container, support_paths.c,
12669 xmkdirp, and links-dso-program.
12670 * support/links-dso-program-c.c: New.
12671 * support/links-dso-program.cc: New.
12672 * support/test-container.c: New.
12673 * support/shell-container.c: New.
12674 * support/echo-container.c: New.
12675 * support/true-container.c: New.
12676 * support/xmkdirp.c: New.
12677 * support/xsymlink.c: New.
12678 * support/support_paths.c: New.
12679 * support/support.h: Add support paths prototypes.
12680 * support/xunistd.h: Add xmkdirp () and xsymlink ().
12682 * nss/tst-nss-test3.c: Convert to test-in-container.
12683 * nss/tst-nss-test3.root/: New.
12685 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
12687 regex: port Gnulib code to z/OS POSIX environment
12688 Problem reported by Arnold Robbins in:
12689 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
12690 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
12693 2018-08-22 Joseph Myers <joseph@codesourcery.com>
12695 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
12696 (ROUNDING_TESTS_double): Remove.
12697 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
12698 (ROUNDING_TESTS_double): Remove.
12699 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
12700 (ROUNDING_TESTS_double): Remove.
12701 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
12702 (ROUNDING_TESTS_float): Remove.
12703 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
12704 (ROUNDING_TESTS_float): Remove.
12705 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
12706 (ROUNDING_TESTS_float): Remove.
12707 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
12708 !TEST_MATHVEC here.
12709 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12710 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12712 * sysdeps/generic/math-tests-rounding.h: New file.
12713 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
12714 (ROUNDING_TESTS_float): Do not define here.
12715 (ROUNDING_TESTS_double): Likewise.
12716 (ROUNDING_TESTS_long_double): Likewise.
12717 (ROUNDING_TESTS_float128): Likewise.
12718 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
12719 (ROUNDING_TESTS_double): Undefine before defining.
12720 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
12721 (ROUNDING_TESTS_double): Undefine before defining.
12722 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
12723 (ROUNDING_TESTS_double): Undefine before defining.
12724 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
12725 (ROUNDING_TESTS_float): Undefine before defining.
12726 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
12727 (ROUNDING_TESTS_float): Undefine before defining.
12728 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
12729 (ROUNDING_TESTS_float): Undefine before defining.
12730 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
12731 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
12733 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
12734 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
12735 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
12736 * sysdeps/riscv/math-tests.h [!__riscv_flen]
12737 (ROUNDING_TESTS_float): Do not define here.
12738 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
12739 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
12740 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
12741 (ROUNDING_TESTS_float): Likewise.
12742 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
12743 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
12744 * sysdeps/mips/math-tests.h [__mips_soft_float]
12745 (ROUNDING_TESTS_float): Likewise.
12746 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
12747 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
12748 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
12749 (ROUNDING_TESTS_double): Likewise.
12750 (ROUNDING_TESTS_long_double): Likewise.
12752 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
12754 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
12755 (PF_XDP): New macro.
12756 (AF_XDP): New macro.
12757 (SOL_XDP): New macro.
12759 2018-08-21 Joseph Myers <joseph@codesourcery.com>
12761 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
12762 (TCP_INQ): Likewise.
12763 (TCP_CM_INQ): Likewise.
12764 (TCP_REPAIR_ON): Likewise.
12765 (TCP_REPAIR_OFF): Likewise.
12766 (TCP_REPAIR_OFF_NO_WP): Likewise.
12767 (struct tcp_zerocopy_receive): New type.
12769 2018-08-21 Florian Weimer <fweimer@redhat.com>
12771 * support/support.h (support_descriptor_supports_holes): Declare.
12772 * support/Makefile (libsupport-routines): Add
12773 support_descriptor_supports_holes.
12774 * support/support_descriptor_supports_holes.c: New file.
12775 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
12776 and stop testing if holes are not supported.
12777 * io/test-lfs.c (do_prepare): Likewise.
12778 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
12780 * timezone/tst-tzset.c (create_tz_file): Likewise.
12781 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
12783 (do_prepare): Set it.
12784 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
12786 2018-08-21 Florian Weimer <fweimer@redhat.com>
12789 * Makeconfig (+cflags): Do not sort (and deduplicate).
12791 2018-08-21 Florian Weimer <fweimer@redhat.com>
12793 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
12794 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
12796 2018-08-20 Florian Weimer <fweimer@redhat.com>
12798 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
12799 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
12801 2018-08-20 Joseph Myers <joseph@codesourcery.com>
12803 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
12804 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
12805 and ssi_arch members.
12807 * elf/elf.c (NT_VMCOREDD): New macro.
12808 (AT_MINSIGSTKSZ): Likewise.
12810 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12812 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
12813 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
12814 s_cosf-ppc64 and s_cosf-power8.
12815 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
12816 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
12817 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12818 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
12819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
12820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
12821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
12822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
12823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
12824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
12825 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
12826 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
12828 2018-08-17 Florian Weimer <fweimer@redhat.com>
12830 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12832 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
12834 * malloc/malloc.c (_int_malloc): Additional binning code checks.
12836 2018-08-16 Florian Weimer <fweimer@redhat.com>
12838 * configure.ac: Add --with-nonshared-cflags option.
12839 * config.make.in (extra-nonshared-cflags): Set variable.
12840 * Makeconfig (CFLAGS-.oS): Use it.
12841 * manual/install.texi (Configuring and compiling): Document
12842 --with-nonshared-cflags.
12843 * configure: Regenerate.
12844 * INSTALL: Likewise.
12846 2018-08-16 Florian Weimer <fweimer@redhat.com>
12848 * Makeconfig (ASFLAGS): Always append required assembler flags.
12850 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
12852 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
12853 (malloc_consolidate): Likewise.
12855 2018-08-16 Pochang Chen <johnchen902@gmail.com>
12857 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
12859 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
12861 * benchtests/bench-strlen.c (do_test): Allocate buffers before
12864 * benchtests/bench-strlen.c: Print performance numbers in json.
12866 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12868 * sysdeps/powerpc/powerpc64/multiarch/Makefile
12869 (sysdep_routines): Build strcmp-power9 and strncmp-power9
12870 only for little endian.
12871 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12872 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
12873 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
12874 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
12875 Add check for little endian.
12876 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
12877 (__strcmp_power9): Add check for little endian.
12878 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
12879 Add check for little endian.
12880 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
12881 (__strncmp_power9): Add check for little endian.
12882 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
12883 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
12884 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
12885 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
12886 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
12888 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
12890 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
12891 [!STRLEN](STRLEN): Set to __strlen.
12892 * sysdeps/aarch64/multiarch/strlen.c: New file.
12893 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
12894 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
12895 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
12896 (__libc_ifunc_impl_list): Add strlen.
12897 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
12898 strlen_generic and strlen_asimd.
12900 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
12902 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
12903 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
12904 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
12906 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
12908 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
12910 2018-08-14 Florian Weimer <fweimer@redhat.com>
12913 * include/stdio.h (__vfxprintf): Declare.
12914 * stdio-common/fxprintf.c (__vfxprintf): New function.
12915 (__fxprintf): Call it.
12916 * misc/err.c (convert_and_print): Remove function.
12917 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
12918 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
12919 * misc/Makefile (tests): Add tst-warn-wide.
12920 * misc/tst-warn-wide.c: New file.
12922 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
12923 Szabolcs Nagy <szabolcs.nagy@arm.com>
12925 * NEWS: Mention sinf, cosf, sincosf.
12926 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
12927 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
12928 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
12929 constants rather than including generic sincosf.h.
12930 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
12931 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
12932 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
12933 (reduced_cos): Remove.
12934 (sinf_poly): New function.
12935 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
12937 2018-08-14 Florian Weimer <fweimer@redhat.com>
12941 * nss/nss_files/files-alias.c (get_next_alias): During :include:
12942 processing, bail out if no room, and close the stream before
12944 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
12945 (tst-nss-files-alias-leak): Link with libdl.
12946 (tst-nss-files-alias-leak.out): Depend on nss_files.
12948 * nss/tst-nss-files-alias-leak.c: New file.
12950 2018-08-14 Florian Weimer <fweimer@redhat.com>
12952 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
12953 server_user, stat_user.
12955 2018-08-13 Joseph Myers <joseph@codesourcery.com>
12957 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12959 (io_pgetevents): New syscall.
12962 * manual/install.texi (Configuring and compiling): Do not list
12963 tools used for testing pretty printers here.
12964 (Tools for Compilation): List Python, PExpect and GDB here.
12965 Update descriptions of uses of Perl and Python.
12966 * INSTALL: Regenerate.
12968 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12971 2018-08-13 Florian Weimer <fweimer@redhat.com>
12973 * misc/error.c (error): Add missing va_end call.
12974 (error_at_line): Likewise.
12976 2018-08-13 Florian Weimer <fweimer@redhat.com>
12978 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
12980 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
12982 * benchtests/scripts/benchout.schema.json (properties): Add
12985 * benchtests/bench-skeleton.c (main): Add duration and
12986 iterations attributes.
12988 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
12990 regex: Gnulib unibyte RRI uses bytes not chars
12991 Adjust the non-glibc code to agree with what Gawk needs for
12992 rational range interpretation (RRI) for regular expression ranges.
12993 In unibyte locales, Gawk wants ranges to use the underlying byte
12994 rather than the character code point. This change does not affect
12996 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
12997 In unibyte locales, use the byte value rather than
12998 running it through btowc.
13000 2018-08-10 Joseph Myers <joseph@codesourcery.com>
13002 * sysdeps/generic/math-tests-snan.h: New file.
13003 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
13004 (SNAN_TESTS_float): Do not define here.
13005 (SNAN_TESTS_double): Likewise.
13006 (SNAN_TESTS_long_double): Likewise.
13007 (SNAN_TESTS_float128): Likewise.
13008 * sysdeps/i386/fpu/math-tests-snan.h: New file.
13009 * sysdeps/i386/fpu/math-tests.h: Remove file.
13010 * sysdeps/ia64/math-tests-snan.h: New file.
13011 * sysdeps/ia64/math-tests.h: Remove file.
13012 * sysdeps/x86/math-tests.h: Likewise.
13013 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
13015 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13016 Szabolcs Nagy <szabolcs.nagy@arm.com>
13018 * math/Makefile: Add s_sincosf_data.c.
13019 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
13020 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
13021 (sincosf_poly): Likewise.
13022 (reduce_small): Likewise.
13023 (reduce_large): Likewise.
13024 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
13025 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
13026 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
13027 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
13029 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13030 Szabolcs Nagy <szabolcs.nagy@arm.com>
13032 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
13033 (converttoint): Use lround.
13034 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
13035 document the semantics when TOINT_INTRINSICS is set.
13036 (converttoint): Likewise.
13037 (TOINT_RINT): Remove.
13038 (TOINT_SHIFT): Remove.
13039 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
13042 2018-08-10 Florian Weimer <fweimer@redhat.com>
13045 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
13047 (__old_getdents64): Use getdents64. Convert entries without
13049 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
13050 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
13051 tst-readdir64-compat.
13053 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13055 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
13058 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13060 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
13061 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
13062 code to s390x-mcount.h and #include it.
13063 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
13064 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
13067 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13069 * stdlib/Versions: Remove __fentry__.
13070 * sysdeps/i386/Versions: Add __fentry__.
13071 * sysdeps/x86_64/Versions: Add __fentry__.
13073 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13075 * sysdeps/s390/Makefile: Register the new tests.
13076 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
13077 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
13078 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
13079 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
13080 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
13081 * sysdeps/s390/tst-dl-runtime.c: New file.
13083 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13085 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
13088 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13090 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
13093 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13095 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
13098 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13100 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
13103 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13105 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
13106 Use symbolic offsets for stack variables.
13108 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13110 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
13111 Use symbolic offsets for stack variables.
13113 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13115 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
13116 Use symbolic offsets for stack variables.
13118 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13120 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
13121 Use symbolic offsets for stack variables.
13123 2018-08-09 Joseph Myers <joseph@codesourcery.com>
13125 * math/gen-libm-test.py: New file.
13126 * math/gen-libm-test.pl: Remove.
13127 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
13128 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
13130 ($(libm-test-c-noauto-obj)): Likewise.
13131 ($(libm-test-c-auto-obj)): Likewise.
13132 ($(libm-test-c-narrow-obj)): Likewise.
13133 (regen-ulps): Likewise.
13134 * math/README.libm-test: Update references to gen-libm-test.pl.
13135 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
13136 referencing gen-libm-test.pl.
13137 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
13138 * math/libm-test-support.c: Likewise.
13139 * math/libm-test-support.h: Likewise.
13140 * sysdeps/generic/libm-test-ulps: Likewise.
13142 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
13144 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
13147 2018-08-08 Joseph Myers <joseph@codesourcery.com>
13149 * math/libm-test-nextdown.inc (do_test): Move comment to ....
13150 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
13152 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
13154 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
13156 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
13157 __pthread_setspecific): Add hidden proto.
13158 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
13159 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
13161 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
13163 * benchtests/bench-string.h (buf1_size, buf2_size): New
13165 (init_sizes): New function.
13166 (test_init): Use it.
13167 (alloc_buf, exit_error): New functions.
13168 (alloc_bufs): Use ALLOC_BUF.
13169 (realloc_bufs): Remove.
13170 * benchtests/bench-memcmp.c (do_test): Adjust.
13171 * benchtests/bench-memset-large.c (do_test): Likewise.
13172 * benchtests/bench-memset-walk.c (do_test): Likewise.
13173 * benchtests/bench-memset.c (do_test): Likewise.
13174 * benchtests/bench-strncmp.c (do_test): Likewise.
13176 2018-08-06 Andreas Schwab <schwab@suse.de>
13178 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
13179 of CONST_THREAD_AREA.
13181 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
13183 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
13184 (STATE_SAVE_MASK): Likewise.
13185 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
13186 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
13187 (STATE_SAVE_MASK): Likewise.
13188 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
13189 instead of <cpu-features.h>.
13191 2018-08-03 DJ Delorie <dj@redhat.com>
13193 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
13194 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
13196 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
13198 2018-08-03 Joseph Myers <joseph@codesourcery.com>
13200 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
13201 after TEST_* calls.
13202 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
13203 * math/libm-test-logb.inc (logb_test_data): Likewise.
13205 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
13207 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
13208 * string/strstr.c (AVAILABLE): Likewise.
13210 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
13212 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
13214 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
13215 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
13216 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
13218 2018-08-03 Carlos O'Donell <carlos@redhat.com>
13220 * po/be.po: Update translation.
13222 * po/be.po: Update translation.
13224 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
13226 * sysdeps/x86/cpu-features-offsets.sym
13227 (rtld_global_ro_offsetof): Removed.
13228 (CPU_FEATURES_SIZE): Likewise.
13229 (CPUID_OFFSET): Likewise.
13230 (CPUID_SIZE): Likewise.
13231 (CPUID_EAX_OFFSET): Likewise.
13232 (CPUID_EBX_OFFSET): Likewise.
13233 (CPUID_ECX_OFFSET): Likewise.
13234 (CPUID_EDX_OFFSET): Likewise.
13235 (FAMILY_OFFSET): Likewise.
13236 (MODEL_OFFSET): Likewise.
13237 (FEATURE_OFFSET): Likewise.
13238 (FEATURE_SIZ): Likewise.
13239 (COMMON_CPUID_INDEX_1): Likewise.
13240 (COMMON_CPUID_INDEX_7): Likewise.
13241 (FEATURE_INDEX_1): Likewise.
13242 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
13244 2018-08-02 Carlos O'Donell <carlos@redhat.com>
13246 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
13247 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
13248 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
13249 (install-locales): Depend on install-locale-archive.
13250 (install-locale-archive): Define.
13251 (install-locale-files): Define.
13252 (build-one-locale): Define macro.
13253 * manual/install.texi (Running make install): Document.
13254 * manual/INSTALL: Regenerate.
13256 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
13258 * benchtests/scripts/compare_strings.py: Import traceback.
13259 (parse_file): Pretty-print error.
13261 * NEWS: Mention the change.
13262 * elf/dl-tunables.list: Rename tune namespace to cpu.
13263 * sysdeps/powerpc/dl-tunables.list: Likewise.
13264 * sysdeps/x86/dl-tunables.list: Likewise.
13265 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
13267 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
13268 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
13269 * manual/README.tunables: Likewise.
13270 * manual/tunables.texi: Likewise.
13271 * sysdeps/powerpc/cpu-features.c: Likewise.
13272 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
13273 (init_cpu_features): Likewise.
13274 * sysdeps/x86/cpu-features.c: Likewise.
13275 * sysdeps/x86/cpu-features.h: Likewise.
13276 * sysdeps/x86/cpu-tunables.c: Likewise.
13277 * sysdeps/x86_64/Makefile: Likewise.
13278 * sysdeps/x86/dl-cet.c: Likewise.
13280 2018-08-02 Joseph Myers <joseph@codesourcery.com>
13283 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
13284 [__mips_hard_float].
13285 (FE_UNDERFLOW): Likewise.
13286 (FE_OVERFLOW): Likewise.
13287 (FE_DIVBYZERO): Likewise.
13288 (FE_INVALID): Likewise.
13289 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
13290 (FE_TOWARDZERO): Define only if [__mips_hard_float].
13291 (FE_UPWARD): Likewise.
13292 (FE_DOWNWARD): Likewise.
13293 (__FE_UNDEFINED): Define if [!__mips_hard_float]
13294 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
13295 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
13296 [__mips_hard_float].
13297 (FP_ROUNDMODE): Likewise.
13298 (FP_RND_NEAREST): Likewise.
13299 (FP_RND_ZERO): Likewise.
13300 (FP_RND_PINF): Likewise.
13301 (FP_RND_MINF): Likewise.
13302 (FP_EX_INVALID): Likewise.
13303 (FP_EX_OVERFLOW): Likewise.
13304 (FP_EX_UNDERFLOW): Likewise.
13305 (FP_EX_DIVZERO): Likewise.
13306 (FP_EX_INEXACT): Likewise.
13307 (FP_INIT_ROUNDMODE): Likewise.
13308 * sysdeps/mips/nofpu/fesetenv.c: New file.
13309 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
13311 2018-08-01 Joseph Myers <joseph@codesourcery.com>
13313 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
13314 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
13315 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
13316 conditional on [FE_UPWARD].
13318 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
13320 regex: fix memory leak in Gnulib
13321 Problem and fix reported by Assaf Gordon in:
13322 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
13323 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
13324 range_ends members too, as they are defined in 'struct
13325 re_charset_t' even if not _LIBC. This affects only Gnulib.
13327 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
13329 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
13331 (get_common_indices): This.
13332 (init_cpu_features): Updated.
13334 2018-08-01 Joseph Myers <joseph@codesourcery.com>
13336 * sysdeps/generic/math-tests-snan-payload.h: New file.
13337 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
13338 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
13339 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
13340 * sysdeps/generic/math-tests.h: Include
13341 <math-tests-snan-payload.h>.
13342 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
13343 * sysdeps/hppa/math-tests.h: Remove file.
13344 * sysdeps/mips/math-tests.h [!__mips_nan2008]
13345 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
13346 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
13349 * sysdeps/generic/math-tests-snan-cast.h: New file.
13350 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
13351 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
13352 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
13353 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
13355 2018-08-01 Carlos O'Donel <carlos@redhat.com>
13357 * version.h (RELEASE): Set to "development".
13358 (VERSION): Set to "2.28.9000".
13359 * NEWS (2.29): New section.
13361 * version.h (RELEASE): Set to "stable".
13362 (VERSION): Set to "2.28".
13363 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
13364 * NEWS: Add the list of bugs fixed in 2.28.
13366 * po/ca.po: Update to latest version.
13367 * po/cs.po: Likewise
13368 * po/da.po: Likewise
13369 * po/el.po: Likewise
13370 * po/eo.po: Likewise
13371 * po/es.po: Likewise
13372 * po/fi.po: Likewise
13373 * po/fr.po: Likewise
13374 * po/gl.po: Likewise
13375 * po/hu.po: Likewise
13376 * po/ia.po: Likewise
13377 * po/id.po: Likewise
13378 * po/it.po: Likewise
13379 * po/ja.po: Likewise
13380 * po/ko.po: Likewise
13381 * po/lt.po: Likewise
13382 * po/nb.po: Likewise
13383 * po/nl.po: Likewise
13384 * po/pt_BR.po: Likewise
13385 * po/ru.po: Likewise
13386 * po/rw.po: Likewise
13387 * po/sk.po: Likewise
13388 * po/sl.po: Likewise
13389 * po/tr.po: Likewise
13390 * po/zh_CN.po: Likewise
13391 * po/zh_TW.po: Likewise
13393 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13395 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
13397 (init): ... before initializing libpthread.
13399 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
13400 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
13401 (__mach_setup_tls): ... new function.
13402 (mach_setup_tls): New alias.
13403 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
13404 __mach_setup_thread.
13405 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
13406 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
13407 * mach/Versions [libc] (mach_setup_tls): Add symbol.
13408 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
13410 2018-07-31 Carlos O'Donell <carlos@redhat.com>
13412 * manual/install.texi: Update versions.
13413 * INSTALL: Regenerate.
13415 * manual/contrib.texi (Contributors): Update contributions.
13417 2018-07-31 Carlos O'Donell <carlos@redhat.com>
13419 * po/be.po: Update translations.
13421 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13423 * sysdeps/sh/libm-test-ulps: Update.
13425 2018-07-30 Carlos O'Donell <carlos@redhat.com>
13427 * po/bg.po: Update translations.
13428 * po/de.po: Likewise.
13429 * po/hr.po: Likewise.
13430 * po/pt_BR.po: Likewise.
13431 * po/sv.po: Likewise.
13432 * po/vi.po: Likewise.
13434 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
13437 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
13438 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
13439 (CFLAGS-tst-cet-property-1.o): New.
13440 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
13441 ($(objpfx)tst-cet-property-2): Likewise.
13442 ($(objpfx)tst-cet-property-2.out): Likewise.
13443 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
13444 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
13445 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
13446 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
13447 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
13449 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
13452 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
13454 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
13456 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
13457 __sbrk): Do not set attribute_hidden.
13458 * sysdeps/mach/hurd/not-errno.h: New file.
13459 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
13460 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
13462 2018-07-27 Carlos O'Donell <carlos@redhat.com>
13464 * po/uk.po: Update translations.
13465 * po/cs.po: Likewise.
13466 * po/pl.po: Likewise.
13468 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
13470 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
13471 parse beyond the note end.
13473 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13475 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
13476 kernel does not support OFD locks.
13477 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
13479 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13481 * sysdeps/mach/hurd/Versions (libc): Make __access and
13482 __access_noerrno external so they can override the ld symbols.
13483 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
13484 __writev, __open64, __access_noerrno extern so they can be overrided.
13485 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
13486 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
13488 2018-07-26 Carlos O'Donell <carlos@redhat.com>
13490 * po/libc.pot: Regenerate.
13492 2018-07-26 Joseph Myers <joseph@codesourcery.com>
13494 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
13496 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
13499 * sysdeps/x86/cpu-features.c (get_extended_indices): New
13501 (init_cpu_features): Call get_extended_indices for both Intel
13503 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
13504 Remove "for AMD" comment.
13506 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
13509 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
13510 COMMON_CPUID_INDEX_80000001.
13512 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
13514 * string/tst-xbzero-opt.c (use_test_buffer): New function.
13515 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
13517 2018-07-26 Florian Weimer <fweimer@redhat.com>
13519 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
13520 aliases for symbols not in the implementation namespace.
13522 2018-07-25 Carlos O'Donell <carlos@redhat.com>
13525 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
13526 lowercase in LATIN script.
13527 * localedata/Makefile (test-input): Add en_US.UTF-8.
13528 * localedata/en_US.UTF-8.in: New file.
13529 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
13530 and restore old tests.
13531 * posix/tst-regexloc.c (do_test): Add back range expression test.
13533 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13535 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
13537 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13539 * nptl/threads.h: Move to ...
13540 * sysdeps/nptl/threads.h: ... here.
13541 * sysdeps/hurd/stdc-predef.h: New file.
13543 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13545 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
13546 tst-cet-setcontext-1 if CET is enabled.
13547 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
13548 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
13550 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13552 * include/threads.h: Move to ...
13553 * sysdeps/nptl/threads.h: ... here.
13554 * sysdeps/htl/threads.h: New file.
13555 * conform/Makefile (linknamespace-libs-ISO11): Use
13556 static-thread-library instead of linking libpthread.
13557 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
13559 2018-07-25 Florian Weimer <fweimer@redhat.com>
13561 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
13562 nanoseconds into seconds.
13563 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
13564 (do_test): Likewise.
13565 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
13566 (do_test): Likewise. Avoid nanosecond overflow and spurious
13567 timeouts due to system load.
13568 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
13569 (child_wait): Increment it.
13570 (do_test): Wait as long as necessary until all expected threads
13573 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
13574 H.J. Lu <hongjiu.lu@intel.com>
13576 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
13578 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
13579 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
13580 (__push___start_context): New.
13581 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
13583 (__getcontext): Record the current shadow stack base. Save the
13584 caller's shadow stack pointer and base.
13585 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
13586 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
13587 (__push___start_context): New prototype.
13588 (__makecontext): Call __push___start_context to allocate a new
13589 shadow stack, push __start_context onto the new stack as well
13590 as the new shadow stack.
13591 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
13593 (__setcontext): Restore the target shadow stack.
13594 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
13596 (__swapcontext): Record the current shadow stack base. Save
13597 the caller's shadow stack pointer and base. Restore the target
13599 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
13600 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
13601 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
13603 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13605 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
13606 tst-setcontext8 and tst-setcontext9.
13607 * stdlib/tst-setcontext6.c: New file.
13608 * stdlib/tst-setcontext7.c: Likewise.
13609 * stdlib/tst-setcontext8.c: Likewise.
13610 * stdlib/tst-setcontext9.c: Likewise.
13612 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13614 * stdlib/Makefile ((tests): Add tst-setcontext5.
13615 * stdlib/tst-setcontext5.c: New file.
13617 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13619 * stdlib/Makefile (tests): Add tst-setcontext4.
13620 * stdlib/tst-setcontext4.c: New file.
13622 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13624 * stdlib/Makefile (tests): Add tst-swapcontext1.
13625 * stdlib/tst-swapcontext1.c: New test.
13627 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13629 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
13630 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
13631 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
13632 and tst-cet-legacy-4c.
13633 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
13634 and tst-cet-legacy-mod-4.
13635 (CFLAGS-tst-cet-legacy-2.c): New.
13636 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
13637 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
13638 (CFLAGS-tst-cet-legacy-3.c): Likewise.
13639 (CFLAGS-tst-cet-legacy-4.c): Likewise.
13640 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
13641 ($(objpfx)tst-cet-legacy-1): Likewise.
13642 ($(objpfx)tst-cet-legacy-2): Likewise.
13643 ($(objpfx)tst-cet-legacy-2.out): Likewise.
13644 ($(objpfx)tst-cet-legacy-2a): Likewise.
13645 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
13646 ($(objpfx)tst-cet-legacy-4): Likewise.
13647 ($(objpfx)tst-cet-legacy-4.out): Likewise.
13648 ($(objpfx)tst-cet-legacy-4a): Likewise.
13649 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
13650 (tst-cet-legacy-4a-ENV): Likewise.
13651 ($(objpfx)tst-cet-legacy-4b): Likewise.
13652 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
13653 (tst-cet-legacy-4b-ENV): Likewise.
13654 ($(objpfx)tst-cet-legacy-4c): Likewise.
13655 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
13656 (tst-cet-legacy-4c-ENV): Likewise.
13657 * sysdeps/x86/tst-cet-legacy-1.c: New file.
13658 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
13659 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
13660 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
13661 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
13662 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
13663 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
13664 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
13665 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
13666 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
13667 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
13669 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13671 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
13672 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
13674 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
13675 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
13678 2018-07-25 Andreas Schwab <schwab@suse.de>
13681 * locale/weightwc.h (findidx): Handle the case where usrc is a
13682 prefix of cp but one character too short.
13684 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13686 * NEWS: Add ISO C threads addition.
13688 2018-07-24 Florian Weimer <fweimer@redhat.com>
13690 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13691 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
13692 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
13695 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
13697 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
13698 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
13699 <sys/prctl.h> and <asm/prctl.h>.
13700 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
13701 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
13703 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
13704 ARCH_CET_LEGACY_BITMAP.
13705 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
13706 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
13707 * sysdeps/x86/libc-start.c: Include <startup.h>.
13709 2018-07-24 Florian Weimer <fweimer@redhat.com>
13711 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
13712 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
13714 2018-07-24 Rical Jasan <rj@2c3t.io>
13715 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13716 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
13719 * manual/debug.texi: Update adjacent chapter name.
13720 * manual/probes.texi: Likewise.
13721 * manual/threads.texi (ISO C Threads): New section.
13722 (POSIX Threads): Convert to a section.
13724 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13725 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
13728 * nptl/Makefile (tests): Add new test files.
13729 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
13730 * nptl/tst-cnd-basic.c: Likewise.
13731 * nptl/tst-cnd-broadcast.c: Likewise.
13732 * nptl/tst-cnd-timedwait.c: Likewise.
13733 * nptl/tst-mtx-basic.c: Likewise.
13734 * nptl/tst-mtx-recursive.c: Likewise.
13735 * nptl/tst-mtx-timedlock.c: Likewise.
13736 * nptl/tst-mtx-trylock.c: Likewise.
13737 * nptl/tst-thrd-basic.c: Likewise.
13738 * nptl/tst-thrd-detach.c: Likewise.
13739 * nptl/tst-thrd-sleep.c: Likewise.
13740 * nptl/tst-tss-basic.c: Likewise.
13742 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13745 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
13746 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
13748 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13749 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13750 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13751 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13752 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13753 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13754 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13755 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13756 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13757 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13758 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13759 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
13766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13767 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13768 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13769 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13770 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13771 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13772 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13773 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13774 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13775 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
13776 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
13777 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
13778 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
13779 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
13781 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
13782 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
13783 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
13784 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
13785 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
13786 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
13787 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
13788 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
13789 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
13790 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
13791 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
13792 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
13794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
13795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13799 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
13800 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
13801 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
13802 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
13803 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
13804 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
13805 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
13806 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
13809 * conform/data/threads.h-data (thread_local): New macro.
13810 (TSS_DTOR_ITERATIONS): Likewise.
13812 (tss_dtor_t): Likewise.
13813 (tss_create): New function.
13814 (tss_get): Likewise.
13815 (tss_set): Likewise.
13816 (tss_delete): Likewise.
13817 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
13818 tss_get, and tss_set objects.
13819 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
13820 * nptl/tss_create.c: New file.
13821 * nptl/tss_delete.c: Likewise.
13822 * nptl/tss_get.c: Likewise.
13823 * nptl/tss_set.c: Likewise.
13824 * sysdeps/nptl/threads.h (thread_local): New define.
13825 (TSS_DTOR_ITERATIONS): Likewise.
13826 (tss_t): New typedef.
13827 (tss_dtor_t): Likewise.
13828 (tss_create): New prototype.
13829 (tss_get): Likewise.
13830 (tss_set): Likewise.
13831 (tss_delete): Likewise.
13834 * conform/data/threads.h-data (cnd_t): New type.
13835 (cnd_init): New function.
13836 (cnd_signal): Likewise.
13837 (cnd_broadcast): Likewise.
13838 (cnd_wait): Likewise.
13839 (cnd_timedwait): Likewise.
13840 (cnd_destroy): Likewise.
13841 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
13842 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
13844 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
13845 * nptl/cnd_broadcast.c: New file.
13846 * nptl/cnd_destroy.c: Likewise.
13847 * nptl/cnd_init.c: Likewise.
13848 * nptl/cnd_signal.c: Likewise.
13849 * nptl/cnd_timedwait.c: Likewise.
13850 * nptl/cnd_wait.c: Likewise.
13851 * sysdeps/nptl/threads.h (cnd_t): New type.
13852 (cnd_init): New prototype.
13853 (cnd_signa): Likewise.
13854 (cnd_broadcast): Likewise.
13855 (cnd_wait): Likewise.
13856 (cnd_timedwait): Likewise.
13857 (cnd_destroy): Likewise.
13860 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
13861 (once_flag): New type.
13862 (call_once): New function.
13863 * nptl/Makefile (libpthread-routines): Add call_once object.
13864 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
13865 * nptl/call_once.c: New file.
13866 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
13867 (once_flag): New type.
13868 (call_once): New prototype.
13871 * conform/data/threads.h-data (mtx_plain): New constant.
13872 (mtx_recursive): Likewise.
13873 (mtx_timed): Likewise.
13875 (mtx_init): New function.
13876 (mtx_lock): Likewise.
13877 (mtx_timedlock): Likewise.
13878 (mtx_trylock): Likewise.
13879 (mtx_unlock): Likewise.
13880 (mtx_destroy): Likewise.
13881 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
13882 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
13883 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
13884 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
13885 * nptl/mtx_destroy.c: New file.
13886 * nptl/mtx_init.c: Likewise.
13887 * nptl/mtx_lock.c: Likewise.
13888 * nptl/mtx_timedlock.c: Likewise.
13889 * nptl/mtx_trylock.c: Likewise.
13890 * nptl/mtx_unlock.c: Likewise.
13891 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
13892 (mtx_recursive): Likewise.
13893 (mtx_timed): Likewise.
13895 (mtx_init): New prototype.
13896 (mtx_lock): Likewise.
13897 (mtx_timedlock): Likewise.
13898 (mtx_trylock): Likewise.
13899 (mtx_unlock): Likewise.
13900 (mtx_destroy): Likewise.
13903 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
13904 (linknamespace-libs-ISO11): Add libpthread.a.
13905 * conform/data/threads.h-data: New file: add C11 thrd_* types and
13907 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
13908 * nptl/Makefile (headers): Add threads.h.
13909 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
13910 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
13912 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
13913 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
13914 thrd_join, thrd_sleep, and thrd_yield symbols.
13915 * nptl/descr.h (struct pthread): Add c11 field.
13916 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
13917 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
13918 routine with expected function prototype.
13919 (__pthread_create_2_1): Add C11 threads check based on attribute
13921 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
13922 * nptl/thrd_create.c: New file.
13923 * nptl/thrd_current.c: Likewise.
13924 * nptl/thrd_detach.c: Likewise.
13925 * nptl/thrd_equal.c: Likewise.
13926 * nptl/thrd_exit.c: Likewise.
13927 * nptl/thrd_join.c: Likewise.
13928 * nptl/thrd_priv.h: Likewise.
13929 * nptl/thrd_sleep.c: Likewise.
13930 * nptl/thrd_yield.c: Likewise.
13931 * include/threads.h: Likewise.
13933 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
13935 * bits/indirect-return.h: New file.
13936 * misc/sys/cdefs.h (__glibc_has_attribute): New.
13937 * sysdeps/x86/bits/indirect-return.h: Likewise.
13938 * stdlib/Makefile (headers): Add bits/indirect-return.h.
13939 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
13940 (swapcontext): Add __INDIRECT_RETURN.
13941 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
13942 (prepare_test_buffer): Use it.
13944 2018-07-24 Andreas Schwab <schwab@suse.de>
13947 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
13948 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
13950 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
13952 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
13953 Redefine if shadow stack is enabled.
13954 (SYSCALL_ERROR_LABEL): Likewise.
13955 (__vfork): Pop shadow stack and jump back to to caller directly
13956 when shadow stack is in use.
13957 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
13958 Redefine if shadow stack is enabled.
13959 (SYSCALL_ERROR_LABEL): Likewise.
13960 (__vfork): Pop shadow stack and jump back to to caller directly
13961 when shadow stack is in use.
13963 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
13965 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
13968 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
13971 2018-07-20 Joseph Myers <joseph@codesourcery.com>
13973 * scripts/build-many-glibcs.py (Context.checkout): Default
13974 binutils version to 2.31 branch.
13976 2018-07-20 Zong Li <zong@andestech.com>
13978 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
13979 URL of gcc's tarball.
13981 2018-07-20 Florian Weimer <fweimer@redhat.com>
13984 * posix/regcomp.c (build_equiv_class): When comparing weights, do
13985 not compare an extra byte after the end of the weights.
13987 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
13989 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
13991 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
13993 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
13994 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
13995 * scripts/check-execstack.awk: Consider `xfail' variable containing a
13996 list of libraries whose stack executability is expected.
13997 * elf/Makefile ($(objpfx)check-execstack.out): Pass
13998 $(check-execstack-xfail) to check-execstack.awk through `xfail'
14000 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
14001 libc.so libpthread.so.
14003 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
14005 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
14007 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
14009 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
14011 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
14013 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14015 * benchtests/scripts/compare_bench.py (__main__): use the argparse
14016 library to improve command line parsing.
14017 (__main__): make schema file as optional parameter (--schema),
14018 defaulting to benchtests/scripts/benchout.schema.json.
14019 (main): move out of the parsing stuff to __main_ and leave it
14020 only as caller of main comparison functions.
14022 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
14024 * NEWS: Add a note for Intel CET status.
14025 * manual/install.texi: Likewise.
14026 * INSTALL: Regenerated.
14028 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
14031 * localedata/locales/oc_FR (mon): Rename to...
14032 (alt_mon): This, then update October (typo fix).
14033 (mon): New content (genitive case, month names preceded by
14037 * localedata/locales/oc_FR (abday): Update all items.
14038 (day): Update Wednesday and Saturday (typo fixes).
14039 (abmon): Update all items, except May.
14040 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
14041 (LC_IDENTIFICATION): Bump the revision number and date.
14042 Keep the "category" entries in alphabetic order.
14043 (LC_ADDRESS): Remove no longer needed comment.
14044 (LC_COLLATE): Use “copy "ca_ES"”.
14045 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
14048 2018-07-18 Joseph Myers <joseph@codesourcery.com>
14050 * grp/tst_fgetgrent.c: Include <unistd.h>.
14051 (main): Use mkstemp instead of tmpnam.
14052 * io/test-utime.c (main): Likewise.
14053 * posix/annexc.c (macrofile): Change to modifiable array.
14054 (main): Remove macrofile here.
14055 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
14057 (check_header): Do not remove macrofile here.
14058 * posix/bug-getopt1.c: Include <stdlib.h>.
14059 (do_test): Use mkstemp instead of tmpnam.
14060 * posix/bug-getopt2.c: Include <stdlib.h>.
14061 (do_test): Use mkstemp instead of tmpnam.
14062 * posix/bug-getopt3.c: Include <stdlib.h>.
14063 (do_test): Use mkstemp instead of tmpnam.
14064 * posix/bug-getopt4.c: Include <stdlib.h>.
14065 (do_test): Use mkstemp instead of tmpnam.
14066 * posix/bug-getopt5.c: Include <stdlib.h>.
14067 (do_test): Use mkstemp instead of tmpnam.
14068 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
14069 (main): Use mkstemp instead of tmpnam.
14070 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
14071 (main): Use mkstemp instead of tmpnam.
14072 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
14073 (main): use mkstemp instead of tmpnam.
14074 * stdlib/isomac.c (macrofile): Change to modifiable array.
14075 (main): Remove macrofile here.
14076 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
14078 (check_header): Do not remove macrofile here.
14080 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14082 * manual/tunables.texi: Document glibc.tune.x86_ibt and
14083 glibc.tune.x86_shstk.
14085 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14087 * NEWS: Mention --enable-cet.
14088 * manual/install.texi: Document --enable-cet.
14089 * INSTALL: Regenerated.
14091 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14093 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
14094 Add _CET_NOTRACK before indirect jump to jump table.
14096 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14098 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
14099 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14102 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14104 * sysdeps/i386/i686/multiarch/strcat-sse2.S
14105 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14108 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14110 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
14111 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14114 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14116 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
14117 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14120 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14122 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
14123 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14125 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
14127 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14129 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
14130 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14133 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14135 * sysdeps/i386/i686/multiarch/memset-sse2.S
14136 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14139 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14141 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
14142 indirect jump to jump table.
14144 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14146 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
14147 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14149 (MEMCPY): Likewise.
14151 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14153 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
14154 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14156 (MEMCPY): Likewise.
14158 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14160 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
14161 _CET_NOTRACK before indirect jump to jump table.
14163 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14165 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
14166 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14169 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14171 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
14172 indirect jump to jump table.
14174 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
14177 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
14178 (LOCALES): Likewise.
14179 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
14180 * localedata/locales/sah_RU: New file.
14181 * localedata/sah_RU.UTF-8.in: New file.
14183 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14185 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
14187 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
14188 _CET_ENDBR to indirect jump targets and adjust jump destination
14190 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
14192 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
14193 _CET_ENDBR to indirect jump targets and adjust jump destination
14195 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
14197 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
14198 _CET_ENDBR to indirect jump targets and adjust jump destination
14201 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14203 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
14206 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14208 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
14210 (_dl_tlsdesc_undefweak): Likewise.
14211 (_dl_tlsdesc_dynamic): Likewise.
14212 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
14213 (_dl_tlsdesc_resolve_rel): Likewise.
14214 (_dl_tlsdesc_resolve_rela): Likewise.
14215 (_dl_tlsdesc_resolve_hold): Likewise.
14216 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
14217 (_dl_tlsdesc_undefweak): Likewise.
14218 (_dl_tlsdesc_dynamic): Likewise.
14219 (_dl_tlsdesc_resolve_rela): Likewise.
14220 (_dl_tlsdesc_resolve_hold): Likewise.
14222 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14224 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
14226 * sysdeps/x86_64/crti.S (_init): Likewise.
14229 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
14232 * localedata/locales/os_RU (mon): Rename to...
14234 (mon): Import from CLDR (genitive case).
14236 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14238 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
14239 cet-tunables.h> when CET is enabled.
14241 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
14244 * configure.ac: Add --enable-cet.
14245 * configure: Regenerated.
14246 * elf/Makefille (all-built-dso): Add a comment.
14247 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
14248 Include <dl-prop.h>.
14249 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
14251 * elf/dl-open.c: Include <dl-prop.h>.
14252 (dl_open_worker): Call _dl_open_check.
14253 * elf/rtld.c: Include <dl-prop.h>.
14254 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
14256 * sysdeps/generic/dl-prop.h: New file.
14257 * sysdeps/i386/dl-cet.c: Likewise.
14258 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
14259 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
14260 * sysdeps/x86/cet-tunables.h: Likewise.
14261 * sysdeps/x86/check-cet.awk: Likewise.
14262 * sysdeps/x86/configure: Likewise.
14263 * sysdeps/x86/configure.ac: Likewise.
14264 * sysdeps/x86/dl-cet.c: Likewise.
14265 * sysdeps/x86/dl-procruntime.c: Likewise.
14266 * sysdeps/x86/dl-prop.h: Likewise.
14267 * sysdeps/x86/libc-start.h: Likewise.
14268 * sysdeps/x86/link_map.h: Likewise.
14269 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
14271 (_dl_runtime_profile): Likewise.
14272 (_dl_runtime_resolve_shstk): New.
14273 (_dl_runtime_profile_shstk): Likewise.
14274 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
14276 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
14277 (CFLAGS-.os): Likewise.
14278 (CFLAGS-.op): Likewise.
14279 (CFLAGS-.oS): Likewise.
14280 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
14282 (tests-special): Add $(objpfx)check-cet.out.
14283 (cet-built-dso): New.
14284 (+$(cet-built-dso:=.note)): Likewise.
14285 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
14286 ($(objpfx)check-cet.out): New.
14287 (generated): Add check-cet.out.
14288 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
14290 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
14291 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
14292 (init_cpu_features): Call get_cet_status to check CET status
14293 and update dl_x86_feature_1 with CET status. Call
14294 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
14295 (set_x86_shstk). Disable and lock CET in libc.a.
14296 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
14297 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
14298 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
14299 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
14300 (_CET_ENDBR): Define if not defined.
14301 (ENTRY): Add _CET_ENDBR.
14302 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
14304 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
14306 (_dl_runtime_profile): Likewise.
14308 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
14311 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
14312 restore r2 on longjmp.
14313 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
14315 Added rules to build test tst-setjmp-bug21895-static.
14316 Added module setjmp-bug21895 and rules to build a shared object from it.
14317 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
14318 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
14320 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
14322 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
14323 * benchtests/bench-strstr.c: Likewise.
14324 * string/memmem.c (FASTSEARCH): Define.
14325 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
14326 Add support for FASTSEARCH.
14327 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
14328 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
14329 (FASTSEARCH): Define.
14330 * string/test-strcasestr.c: Rename __strnlen to strnlen.
14331 * string/test-strstr.c: Likewise.
14333 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
14335 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
14336 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
14338 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
14339 H.J. Lu <hongjiu.lu@intel.com>
14341 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
14342 (__longjmp): Restore shadow stack pointer if shadow stack is
14343 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
14344 isn't defined for __longjmp_cancel.
14345 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
14346 (_setjmp): Save shadow stack pointer if shadow stack is enabled
14347 and SHADOW_STACK_POINTER_OFFSET is defined.
14348 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
14349 (setjmp): Save shadow stack pointer if shadow stack is enabled
14350 and SHADOW_STACK_POINTER_OFFSET is defined.
14351 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
14352 (__sigsetjmp): Save shadow stack pointer if shadow stack is
14353 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14354 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
14356 (____longjmp_chk): Restore shadow stack pointer if shadow stack
14357 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14358 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
14359 Remove jmp_buf-ssp.sym.
14360 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14362 (____longjmp_chk): Restore shadow stack pointer if shadow stack
14363 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14364 * sysdeps/x86/Makefile (gen-as-const-headers): Add
14366 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
14367 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
14368 (__longjmp): Restore shadow stack pointer if shadow stack is
14369 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
14370 isn't defined for __longjmp_cancel.
14371 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
14372 (__sigsetjmp): Save shadow stack pointer if shadow stack is
14373 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14375 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
14378 * nptl/pthread_create.c: Include <tls-setup.h>.
14379 (__pthread_create_2_1): Call tls_setup_tcbhead.
14380 * sysdeps/generic/tls-setup.h: New file.
14381 * sysdeps/x86/nptl/tls-setup.h: Likewise.
14382 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
14383 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
14385 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
14387 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
14388 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
14389 (X86_FEATURE_1_SHSTK): Likewise.
14390 (CET_ENABLED): Likewise.
14391 (IBT_ENABLED): Likewise.
14392 (SHSTK_ENABLED): Likewise.
14394 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
14397 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
14398 (LOCALES): Likewise.
14399 * localedata/dsb_DE.UTF-8.in: New file.
14400 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
14402 2018-07-12 Florian Weimer <fweimer@redhat.com>
14404 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
14405 __mprotect, not mprotect.
14407 2018-07-11 Florian Weimer <fweimer@redhat.com>
14409 * io/Makefile (headers): Add bits/statx.h.
14411 2018-07-10 Mike FABIAN <mfabian@redhat.com>
14413 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
14414 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
14416 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
14417 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
14420 2018-07-10 Florian Weimer <fweimer@redhat.com>
14422 * io/Makefile (routines): Add statx.
14423 (tests-internal): Add tst-statx.
14424 * io/Versions (GLIBC_2.28): Export statx.
14425 * io/bits/statx.h: New file.
14426 * io/sys/stat.h [__USE_GNU]: Include it.
14427 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
14428 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
14430 * io/statx.c: New file.
14431 * io/statx_generic.: Likewise.
14432 * io/tst-statx.: Likewise.
14433 * include/bits/statx.h: Likewise.
14434 * sysdeps/unix/sysv/linux/kernel-features.h
14435 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
14436 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14437 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
14438 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
14440 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14441 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
14442 * sysdeps/unix/sysv/linux/statx.c: New file.
14443 * manual/filesys.texi: Note that statx is undocumented.
14444 * sysdeps/**/libc*.abilist: Update.
14446 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14448 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
14449 a kernel issue which lead to test failure in some cases.
14451 2018-07-10 Florian Weimer <fweimer@redhat.com>
14454 * posix/regexec.c (check_node_accept_bytes): When comparing
14455 weights, do not compare an extra byte after the end of the
14458 2018-07-10 Florian Weimer <fweimer@redhat.com>
14460 * libio/readline.c: Fix copyright year.
14461 * libio/tst-readline.c Likewise.
14462 * nss/tst-nss-files-hosts-getent.c: Likewise.
14464 2018-07-06 Florian Weimer <fweimer@redhat.com>
14467 * nss/nss_files/files-XXX.c (internal_getent): Use
14468 __libc_readline_unlocked. Seek back to the start of the line if
14469 parsing failes with ERANGE.
14470 (get_contents_ret, get_contents): Remove.
14471 * nss/tst-nss-files-hosts-getent.c: New file.
14472 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
14473 (tst-nss-files-hosts-getent): Link with -ldl.
14475 2018-07-06 Florian Weimer <fweimer@redhat.com>
14477 * include/stdio.h (__libc_readline_unlocked): Declare.
14478 (__ftello64, __fseeko64): Declare aliases.
14479 * libio/readline.c: New file.
14480 * libio/tst-readline.c: Likewise.
14481 (routines): Add readline.
14482 (tests-internal): Add tst-readlime.
14483 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
14484 __libc_readline_unlocked.
14485 * libio/fseeko.c (__fseeko): Rename from fseeko.
14486 (fseeko): Add alias.
14487 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
14488 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
14489 (fseeko64): Add alias.
14490 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
14491 * libio/ftello64.c (__ftello64): Rename from ftello64.
14492 (ftello64): Add alias.
14494 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
14496 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
14499 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
14501 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
14502 Use dl_hwcap without masking.
14503 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
14504 Remove HWCAP_CPUID.
14506 2018-07-06 Florian Weimer <fweimer@redhat.com>
14508 * conform/conformtest.pl (checknamespace): Escape literal braces
14509 in regular expressions.
14511 2018-07-06 Amit Pawar <amit.pawar@amd.com>
14513 * sysdeps/x86/cpu-features.c (get_common_indeces):
14514 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
14515 * sysdeps/x86/cpu-features.c (init_cpu_features):
14516 AVX_Fast_Unaligned_Load is disabled for Excavator core.
14518 2018-07-05 Florian Weimer <fweimer@redhat.com>
14520 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
14522 (CFLAGS-elf-init.oS): Likewise.
14524 2018-07-05 Florian Weimer <fweimer@redhat.com>
14525 Carlos O'Donell <carlos@redhat.com>
14527 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
14528 $(no-stack-protector). stack_chk_fail_local.c can be compiled
14529 with stack protector enabled because there is no risk of infinite
14532 2018-07-05 Maciej W. Rozycki <macro@mips.com>
14536 * libc-abis (ABSOLUTE): New ABI.
14537 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
14538 * NEWS: Mention the new ABI.
14540 2018-07-05 Florian Weimer <fweimer@redhat.com>
14543 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
14544 (RENAME_WHITEOUT): Define.
14545 [__USE_GNU] (renameat2): Declare.
14546 * stdio-common/Makefile (routines): Add renameat2.
14547 (tests): Add tst-renameat2.
14548 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
14549 * stdio-common/renameat2.c: New file.
14550 * stdio-common/tst-renameat2.c: Likewise.
14551 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
14552 * manual/filesys.texi (Temporary Files): Note that renameat2 is
14554 * sysdeps/unix/sysv/linux/kernel-features.h
14555 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
14556 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14557 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
14558 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14559 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
14560 * sysdeps/unix/sysv/linux/sh/kernel-features.h
14561 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
14562 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14563 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
14564 * include/stdio.h (__renameat): Add alias for renameat.
14565 * stdio-common/renameat.c (__renameat): Rename from renameat.
14566 Add hidden definition and alias.
14567 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
14568 * sysdeps/mach/hurd/renameat.c: Likewise.
14569 * sysdeps/**/libc*.abilist: Add renameat2.
14571 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14573 * posix/bug-regex33.c: Fix build after regex sync.
14575 2018-07-04 Carlos O'Donell <carlos@redhat.com>
14578 * localedata/tst-langinfo-setlocale.c: New file.
14579 * localedata/tst-langinfo-setlocale-static.c: New file.
14580 * localedata/tst-langinfo-newlocale.c: New file.
14581 * localedata/tst-langinfo-newlocale-static.c: New file.
14582 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
14583 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
14584 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
14585 (tests-static): Remove tst-langinfo-static. Add
14586 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
14587 (tests-special): Remove $(objpfx)tst-langinfo.out,
14588 $(objpfx)tst-langinfo-static.out. Add
14589 $(objpfx)tst-langinfo-setlocale.out,
14590 $(objpfx)tst-langinfo-newlocale.out,
14591 $(objpfx)tst-langinfo-setlocale-static.out,
14592 $(objpfx)tst-langinfo-newlocale-static.out.
14593 ($(objpfx)tst-langinfo.out): Remove.
14594 ($(objpfx)tst-langinfo-static.out): Remove.
14595 ($(objpfx)tst-langinfo-newlocale.out): New target.
14596 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
14597 (test-xfail-tst-langinfo-newlocale-static): Add.
14598 ($(objpfx)tst-langinfo-setlocale.out): New target.
14599 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
14600 * localedata/tst-langinfo.c: Call test_locale.
14601 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
14604 2018-07-04 Florian Weimer <fweimer@redhat.com>
14606 testrun.sh: Implement --tool=strace, --tool=valgrind
14607 * Makefile (testrun-script): Define variable.
14608 (testrun.sh): Use variable.
14609 * manual/install.texi (Tools for Compilation): make 4.0 or later
14611 * configure.ac: Check for make 4.0 or later.
14612 * INSTALL: Regenerate.
14613 * configure: Likewise.
14615 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14621 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
14622 * posix/PCRE.tests: Remove invalid test.
14623 * posix/bug-regex28.c: Fix expected values for used syntax.
14624 * posix/bug-regex37.c: New file.
14625 * posix/bug-regex38.c: Likewise.
14626 * posix/regcomp.c: Sync with gnulib.
14627 * posix/regex.c: Likewise.
14628 * posix/regex.h: Likewise.
14629 * posix/regex_internal.c: Likewise.
14630 * posix/regex_internal.h: Likewise.
14631 * posix/regexec.c: Likewise.
14633 2018-06-26 Mike FABIAN <mfabian@redhat.com>
14636 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
14637 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
14638 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
14639 * localedata/unicode-gen/PropList.txt: likewise.
14640 * localedata/unicode-gen/UnicodeData.txt: likewise.
14641 * localedata/charmaps/UTF-8: Regenerate.
14642 * localedata/locales/i18n_ctype: likewise.
14643 * localedata/locales/tr_TR: likewise.
14644 * localedata/locales/translit_circle: likewise.
14645 * localedata/locales/translit_cjk_compat: likewise.
14646 * localedata/locales/translit_combining: likewise.
14647 * localedata/locales/translit_compat: likewise.
14648 * localedata/locales/translit_font: likewise.
14649 * localedata/locales/translit_fraction: likewise.
14651 2018-07-03 Florian Weimer <fweimer@redhat.com>
14654 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
14655 * stdio-common/tst-printf.sh: Adjust expected output.
14656 * LICENSES: Update.
14658 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14660 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
14663 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14665 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
14666 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
14667 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
14668 * stdio-common/tst-printfsz-islongdouble.c: New file.
14669 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
14670 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
14671 [subdir == stdio-common] (routines): Add ieee128-printf_size.
14672 [subdir == stdio-common] (tests-internal): Add
14673 test-printf-size-ieee128, and test-printf-size-ibm128.
14674 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
14675 (CFLAGS-test-printf-size-ibm128.c): New variables.
14676 [subdir == stdio-common] (tests-special): Add
14677 $(objpfx)test-printf-size-ieee128.out and
14678 $(objpfx)test-printf-size-ibm128.out.
14679 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
14680 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
14681 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
14682 __printf_sizeieee128.
14683 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
14685 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
14687 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
14690 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
14692 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
14693 (exp2f_inline): Likewise.
14694 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
14695 (__math_uflowf): Likewise.
14696 (__math_may_uflowf): Likewise.
14697 (__math_divzerof): Likewise.
14698 (__math_invalidf): Likewise.
14699 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
14700 (__math_oflowf): Likewise.
14701 (__math_uflowf): Likewise.
14702 (__math_may_uflowf): Likewise.
14703 (__math_divzerof): Likewise.
14704 (__math_invalidf): Likewise.
14706 2018-06-29 DJ Delorie <dj@redhat.com>
14707 Carlos O'Donell <carlos@redhat.com>
14710 * include/libc-symbols.h: Comment the freeres framework.
14711 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
14712 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
14713 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
14714 * dlfcn/dlerror.c: Include libc-symbols.h
14715 (__dlerror_main_freeres): New function.
14716 * dlfcn/dlfreeres.c: New file.
14717 * dlfcn/sdlfreeres.c: New file.
14718 * include/dlfcn.h: Declare __dlerror_main_freeres.
14719 * malloc/set-freeres.c: Declare __libdl_freeres, and
14720 __libpthread_freeres.
14721 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
14722 the releavant libraries are loaded.
14723 * malloc/thread-freeres.c: Add comments.
14724 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
14725 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
14726 * nptl/allocatestack.c (__nptl_free_stacks): New function.
14727 (__free_stacks): Rename to...
14728 (free_stacks): ...this. Mark static.
14729 (queue_stack): Call free_stacks.
14730 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
14731 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
14732 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
14733 ptr_freeres element from struct.
14734 (pthread_functions): Remove .ptr_freeres from struct initializer.
14735 [SHARED] (nptl_freeres): Remove.
14736 * nptl/nptlfreeres.c: New file.
14738 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
14739 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
14741 (__free_stacks): Rename to...
14742 (__nptl_stacks_freeres): ...this.
14743 (__shm_directory_freeres): Declare.
14744 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
14745 (__nptl_unwind_freeres): ...this.
14746 * resolv/res-close.c: Add comment.
14747 * resolv/resolv_conf.c: Include libc-symbols.h.
14748 * string/strerror_l.c: Include libc-symbols.h.
14749 * sunrpc/rpc_thread.c: Include libc-symbols.h.
14750 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
14751 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
14752 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
14754 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14756 * stdlib/tst-strfmon_l.c: Add tests for long double.
14758 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
14761 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
14762 * localedata/locales/dsb_DE: New file.
14764 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
14767 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
14769 (alt_mon): New entry, import from CLDR (nominative case).
14771 2018-06-29 Sylvain Lesage <severo@rednegra.net>
14774 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
14776 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
14778 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
14779 Use vector registers.
14781 * sysdeps/aarch64/multiarch/memmove_falkor.S
14782 (__memcpy_falkor): Use vector registers.
14784 2018-06-29 Martin Sebor <msebor@redhat.com>
14786 * manual/stdio.texi (Customizing Printf): Mention interaction
14787 with GCC built-ins.
14789 2018-06-29 Maciej W. Rozycki <macro@mips.com>
14792 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
14793 `st_value' is 0 if `st_shndx' is SHN_ABS.
14794 * elf/tst-absolute-zero.c: New file.
14795 * elf/tst-absolute-zero-lib.c: New file.
14796 * elf/tst-absolute-zero-lib.lds: New file.
14797 * elf/Makefile (tests): Add `tst-absolute-zero'.
14798 (modules-names): Add `tst-absolute-zero-lib'.
14799 (LDLIBS-tst-absolute-zero-lib.so): New variable.
14800 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
14801 ($(objpfx)tst-absolute-zero: New dependency.
14803 2018-06-29 Zack Weinberg <zackw@panix.com>
14805 * configure.ac: New command-line option --disable-crypt.
14806 Force --disable-nss-crypt when --disable-crypt is given, with a
14807 warning if it was explicitly enabled.
14808 * configure: Regenerate.
14809 * config.make.in: New boolean substitution variable $(build-crypt).
14810 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
14811 when $(build-crypt).
14812 * manual/install.texi: Document --disable-crypt.
14813 * INSTALL: Regenerate.
14815 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
14816 which is never set.
14817 * conform/Makefile: Only include libcrypt.a in
14818 linknamespace-libs-xsi and linknamespace-libs-XPG4
14819 when $(build-crypt).
14820 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
14821 USE_CRYPT to 1 when $(build-crypt).
14822 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
14823 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
14824 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
14826 2018-06-29 Zack Weinberg <zackw@panix.com>
14828 * crypt/crypt.h, posix/unistd.h: Update comments and
14829 prototypes for crypt and crypt_r.
14831 * manual/crypt.texi (Cryptographic Functions): New initial
14833 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
14834 (Unpredictable Bytes): Improve initial exposition. Clarify error
14835 behavior of getentropy and getrandom.
14836 * manual/examples/genpass.c: Generate a salt using getentropy
14837 instead of the current time. Use hash $5$ (SHA-2-256).
14838 * manual/examples/testpass.c: Demonstrate validation against
14839 hashes generated with three different one-way functions.
14841 * manual/intro.texi: crypt.texi does not need an overview
14844 * manual/nss.texi, manual/memory.texi, manual/socket.texi
14845 * manual/terminal.texi: Consistently refer to "passphrases"
14846 * instead of "passwords", and to the "user database" instead
14847 * of the "password database".
14848 * manual/users.texi: Similarly. Add notes about how actual
14849 passphrase hashes are now stored in the shadow database.
14850 Remove 20-year-old junk todo note.
14852 2018-06-29 Zack Weinberg <zackw@panix.com>
14854 * manual/crypt.texi: Use a normal top-level @node declaration.
14855 Move most of the introductory text to the 'crypt' section.
14856 Move the example programs below the @deftypefun for 'crypt_r'.
14857 Move the 'getpass' section...
14858 * manual/terminal.texi: ...here.
14860 2018-06-29 Zack Weinberg <zackw@panix.com>
14861 Florian Weimer <fweimer@redhat.com>
14863 * posix/unistd.h: Do not declare encrypt.
14864 (_XOPEN_CRYPT): Remove macro definition.
14865 (crypt): Declare only for _USE_MISC.
14866 * stdlib/stdlib.h: Do not declare setkey.
14867 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
14868 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
14870 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
14871 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
14872 into compat symbols. Don't define initial_perm if it's not
14874 * crypt/cert.c: Link explicitly with the expected versions for
14875 setkey and encrypt. If they are not available at all, mark
14876 the test as unsupported.
14878 * sunrpc/des_crypt.c: Unconditionally block linkage with
14879 cbc_crypt and ecb_crypt for new binaries.
14880 * sunrpc/des_soft.c: Unconditionally block linkage with
14881 des_setparity for new binaries.
14883 * manual/crypt.texi: Remove the entire "DES Encryption"
14884 section. Also remove the paragraph talking about FIPS 140-2
14885 from the introduction.
14886 * manual/string.texi (strfry, memfrob): Revise. Recommend use
14887 of libgcrypt for "real" encryption, not DES.
14888 * manual/conf.texi (Constants for Sysconf): Mention that
14889 _XOPEN_CRYPT is no longer impelemented.
14891 * conform/data/unistd.h-data: Remove crypt function declaration.
14893 2018-06-29 Florian Weimer <fweimer@redhat.com>
14896 * malloc/hooks.c: Update comments on restoring of dumped heaps.
14897 (disallow_malloc_check): Remove variable.
14898 (__malloc_check_init): Adjust.
14899 (malloc_set_state): Update comment.
14900 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
14903 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
14906 * localedata/locales/ast_ES (mon): Rename to...
14908 (mon): Import from CLDR (genitive case).
14910 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
14911 Jakub Sitnicki <jkbs@redhat.com>
14914 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
14915 on NLM_F_DUMP_INTR.
14917 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
14919 * manual/llio.texi: Remove spurious space.
14921 2018-06-28 Florian Weimer <fweimer@redhat.com>
14924 * time/bits/types/struct_timespec.h: Change header inclusion guard to
14927 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14929 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
14930 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
14931 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
14932 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
14933 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
14934 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
14935 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
14937 2018-06-27 Maciej W. Rozycki <macro@mips.com>
14940 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
14941 Copy and null-terminate entries that are not terminated, in
14942 addition to empty ones.
14944 2018-06-27 Florian Weimer <fweimer@redhat.com>
14947 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
14948 (extend_alloca_account): Remove.
14949 * manual/stdio.texi (Variable Arguments Output): Update comment.
14951 2018-06-27 Joseph Myers <joseph@codesourcery.com>
14953 * nptl/sockperf.c: Remove file.
14955 2018-06-27 Florian Weimer <fweimer@redhat.com>
14958 * elf/dl-deps.c (_dl_map_object_deps): Use struct
14959 scratch_buffer instead of extend_alloca.
14961 2018-06-27 Florian Weimer <fweimer@redhat.com>
14964 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
14965 scratch_buffer instead of extend_alloca. Update comments.
14967 2018-06-27 Florian Weimer <fweimer@redhat.com>
14970 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
14971 instead of extend_alloca.
14973 2018-06-26 Joseph Myers <joseph@codesourcery.com>
14976 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
14977 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
14979 * scripts/test-installation.pl: Put temporary files in build
14980 directory, not /tmp.
14981 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
14982 (CFLAGS-bug4.c): Likewise.
14983 (CFLAGS-bug5.c): Likewise.
14984 (CFLAGS-test-fseek.c): Likewise.
14985 (CFLAGS-test-popen.c): Likewise.
14986 (CFLAGS-test_rdwr.c): Likewise.
14987 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
14989 * stdio-common/bug4.c (main): Likewise.
14990 * stdio-common/bug5.c (main): Likewise.
14991 * stdio-common/test-fseek.c (TESTFILE): Likewise.
14992 * stdio-common/test-popen.c (do_test): Likewise.
14993 * stdio-common/test_rdwr.c (main): Likewise.
14995 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
14997 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
14998 (sem_open): Set sem.newsem.pad to zero for valgrind.
15000 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15003 * NEWS: Mention fcntl64 addition.
15004 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
15005 * login/utmp_file.c: Likewise.
15006 * sysdeps/posix/fdopendir.c: Likewise.
15007 * sysdeps/posix/opendir.c: Likewise.
15008 * sysdeps/unix/pt-fcntl.c: Likewise.
15009 * include/fcntl.h (__libc_fcntl64, __fcntl64,
15010 __fcntl64_nocancel_adjusted): New prototype.
15011 (__fcntl_nocancel_adjusted): Remove prototype.
15012 * io/Makefile (routines): Add fcntl64.
15013 (CFLAGS-fcntl64.c): New rule.
15014 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
15015 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
15016 * io/fcntl.h (fcntl64): Add prototype and redirect if
15017 __USE_FILE_OFFSET64 is defined.
15018 * io/fcntl64.c: New file.
15019 * manual/llio.text: Add a note for which commands fcntl acts a
15020 cancellation point.
15021 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
15022 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
15023 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
15025 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
15026 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
15028 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
15029 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
15030 to __fcntl64_nocancel.
15031 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
15032 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
15033 to __fcntl64_nocancel.
15034 * sysdeps/generic/not-cancel.h: Likewise.
15035 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
15036 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
15037 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
15038 (fcntl64): New symbol.
15039 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15040 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15041 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15044 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15045 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15046 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15047 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15048 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15049 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
15050 fcntl64): Likewise.
15051 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15052 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
15053 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15054 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15055 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15056 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15057 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15058 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15059 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15064 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15065 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15066 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15068 2018-06-26 Florian Weimer <fweimer@redhat.com>
15070 Run thread shutdown functions in an explicit order.
15071 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
15073 (__libc_thread_freeres): Call thread shutdown functions
15075 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
15076 * include/string.h (__strerror_thread_freeres): Declare.
15077 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
15078 arena_thread_freeres. No longer static. Remove thread shutdown
15080 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
15082 * resolv/res-close.c (__res_thread_freeres): Renamed from
15083 res_thread_freeres. No longer static. Remove thread shutdown
15085 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
15086 * resolv/resolv_conf.c (freeres): Remove incorrect section
15087 attribute and use libc_freeres_fn.
15088 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
15089 strerror_thread_freeres. No longer static. Remove thread
15090 shutdown hook registration.
15091 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
15092 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
15093 shutdown hook registration.
15094 * Makerules (shlib.lds): Do not provide section boundary symbols
15095 for __libc_thread_subfreeres.
15096 * manual/memory.texi (Basic Allocation): Update comment.
15098 2018-06-26 Florian Weimer <fweimer@redhat.com>
15100 Remove always-defined _RPC_THREAD_SAFE_ macro.
15101 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
15102 Do not define _RPC_THREAD_SAFE_.
15103 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
15105 * sunrpc/clnt_perr.c: Likewise.
15106 * sunrpc/clnt_raw.c: Likewise.
15107 * sunrpc/clnt_simp.c: Likewise.
15108 * sunrpc/key_call.c: Likewise.
15109 * sunrpc/rpc_common.c: Likewise.
15110 * sunrpc/rpc_main.c: Likewise.
15111 * sunrpc/rpc_thread.c: Likewise.
15112 * sunrpc/svc.c: Likewise.
15113 * sunrpc/svc_raw.c: Likewise.
15114 * sunrpc/svc_simple.c: Likewise.
15115 * sumrpc/svcauth_des.c: Likewise.
15117 2018-06-26 Florian Weimer <fweimer@redhat.com>
15119 * libio/Makefile (tests-internal): Add tst-vtables,
15120 tst-vtables-interposed.
15121 * libio/tst-vtables.c: New file.
15122 * libio/tst-vtables-common.c: Likewise.
15123 * libio/tst-vtables-interposed.c: Likewise.
15125 2018-06-26 Florian Weimer <fweimer@redhat.com>
15127 * support/support_test_main.c (support_test_main): Only call
15128 setvbuf if not disables.
15129 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
15130 * support/test-driver.h (struct test_config): Add no_setvbuf member.
15132 2018-06-26 Florian Weimer <fweimer@redhat.com>
15135 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
15137 2018-06-25 Florian Weimer <fweimer@redhat.com>
15140 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15141 Use struct scratch_buffer instead of extend_alloca.
15143 2018-06-25 Florian Weimer <fweimer@redhat.com>
15146 * nss/getent.c (initgroups_keys): Use dynarray instead of
15149 2018-06-25 Florian Weimer <fweimer@redhat.com>
15152 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
15153 Use struct scratch_buffer instead of extend_alloca.
15155 2018-06-25 Florian Weimer <fweimer@redhat.com>
15158 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
15159 back to malloc directly, without stack allocations.
15161 2018-06-25 Florian Weimer <fweimer@redhat.com>
15164 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
15167 2018-06-25 Florian Weimer <fweimer@redhat.com>
15170 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
15172 * nscd/hstcache.c (addhstbyX): Likewise.
15173 * nscd/pwdcache.c (addpwbyX): Likewise.
15174 * nscd/servicescache.c (addservbyX): Likewise.
15176 2018-06-25 Florian Weimer <fweimer@redhat.com>
15179 * nscd/connections.c (read_cmdline): New function.
15180 (restart): Use it. Update comment.
15182 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
15185 * localedata/locales/csb_PL (mon): Rename to...
15187 (abmon): Rename to...
15188 (ab_alt_mon): This.
15189 (mon): Add with proper genitive forms, copy from Wikipedia.
15192 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
15195 * localedata/locales/csb_PL (mon): Fix typos:
15196 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
15197 (yesstr): Add, value is "jo".
15198 (nostr): Add, value is "nié".
15200 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15202 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
15203 all log1p and significand functions on m680x0.
15204 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
15205 of s_significand.c..
15206 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
15207 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
15208 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
15209 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
15210 s_log1p.c and include it..
15212 2018-06-21 Vincent Chen <vincentc@andestech.com>
15214 * elf/elf.h (R_NDS32_NONE): New define.
15215 (R_NDS32_32_RELA): Likewise.
15216 (R_NDS32_COPY): Likewise.
15217 (R_NDS32_GLOB_DAT): Likewise.
15218 (R_NDS32_JUMP_SLOT): Likewise.
15219 (R_NDS32_RELATIVE): Likewise.
15220 (R_NDS32_TLS_TPOFF): Likewise.
15221 (R_NDS32_TLS_DESC): Likewise.
15223 2018-06-21 Mark Wielaard <mark@klomp.org>
15225 * elf/elf.h (R_BPF_MAP_FD): Removed.
15226 (R_BPF_64_64, R_BPF_64_32): New.
15228 2018-06-21 Florian Weimer <fweimer@redhat.com>
15231 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
15232 Renamed from libc_feholdsetround_ctx.
15233 (default_libc_feresetround_ctx): Renamed from
15234 libc_feresetround_ctx.
15235 (default_libc_feholdsetround_noex_ctx): Renamed from
15236 libc_feholdsetround_noex_ctx.
15237 (default_libc_feresetround_noex_ctx): Renamed from
15238 libc_feresetround_noex_ctx.
15239 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
15240 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
15241 forwardning to the old implementations under the new names.
15242 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
15243 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
15244 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
15245 (libc_feresetround_ctx): Forward to default implements for i386
15246 and MATH_SET_BOTH_ROUNDING_MODES.
15247 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
15248 Add -DMATH_SET_BOTH_ROUNDING_MODES.
15250 2018-06-20 Joseph Myers <joseph@codesourcery.com>
15252 * string/tst-cmp.c: Include <libc-diag.h>.
15253 (strncmp_max): Disable -Wstringop-overflow= around call to
15255 (strncasecmp_max): Disable -Wstringop-overflow= around call to
15258 * string/bug-strpbrk1.c: Include <libc-diag.h>.
15259 (main): Disable -Wunused-value around call to strpbrk.
15260 * string/bug-strspn1.c: Include <libc-diag.h>.
15261 (main): Disable -Wunused-value around call to strspn.
15263 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15264 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15266 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
15267 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
15269 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15271 * math/Makefile (libm-calls): Move s_significandF to...
15272 (gen-libm-calls): ... here.
15273 * math/s_significand_template.c: New file.
15274 * math/s_significand.c: Removed.
15275 * math/s_significandf.c: Removed.
15276 * math/s_significandl.c: Removed.
15277 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
15278 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
15280 * math/e_exp2_template.c (declare_mgen_finite_alias,
15281 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
15282 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
15283 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
15285 2018-06-20 Florian Weimer <fweimer@redhat.com>
15287 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
15289 2018-06-19 Joseph Myers <joseph@codesourcery.com>
15292 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
15293 floating-point number to strtod functions rather than possibly
15294 negating result of those functions.
15295 * stdio-common/tst-scanf-round.c: New file.
15296 * stdio-common/Makefile (tests): Add tst-scanf-round.
15297 ($(objpfx)tst-scanf-round): Depend on $(libm).
15299 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15301 * sysdeps/mach/hurd/localplt.data: Move to...
15302 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
15303 R_386_GLOB_DAT like on Linux i386.
15305 2018-06-18 Joseph Myers <joseph@codesourcery.com>
15307 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
15308 (SHM_STAT_ANY): New macro.
15309 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
15310 (SHM_STAT_ANY): Likewise.
15311 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
15312 (SHM_STAT_ANY): Likewise.
15313 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
15314 (SHM_STAT_ANY): Likewise.
15315 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
15316 (SHM_STAT_ANY): Likewise.
15317 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
15318 (SHM_STAT_ANY): Likewise.
15319 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
15320 (SHM_STAT_ANY): Likewise.
15321 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
15322 (SHM_STAT_ANY): Likewise.
15323 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
15324 (SHM_STAT_ANY): Likewise.
15325 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
15326 (SHM_STAT_ANY): Likewise.
15327 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
15328 (SHM_STAT_ANY): Likewise.
15329 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
15330 (SHM_STAT_ANY): Likewise.
15332 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
15333 (SEM_STAT_ANY): New macro.
15334 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
15335 (SEM_STAT_ANY): Likewise.
15336 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
15337 (SEM_STAT_ANY): Likewise.
15338 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
15339 (SEM_STAT_ANY): Likewise.
15340 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
15341 (SEM_STAT_ANY): Likewise.
15342 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
15343 (SEM_STAT_ANY): Likewise.
15344 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
15345 (SEM_STAT_ANY): Likewise.
15346 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
15347 (SEM_STAT_ANY): Likewise.
15348 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
15349 (SEM_STAT_ANY): Likewise.
15350 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
15351 (SEM_STAT_ANY): Likewise.
15353 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
15354 (MSG_STAT_ANY): New macro.
15355 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
15356 (MSG_STAT_ANY): Likewise.
15357 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
15358 (MSG_STAT_ANY): Likewise.
15359 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
15360 (MSG_STAT_ANY): Likewise.
15361 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
15362 (MSG_STAT_ANY): Likewise.
15363 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
15364 (MSG_STAT_ANY): Likewise.
15365 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
15366 (MSG_STAT_ANY): Likewise.
15367 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
15368 (MSG_STAT_ANY): Likewise.
15369 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
15370 (MSG_STAT_ANY): Likewise.
15371 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
15372 (MSG_STAT_ANY): Likewise.
15374 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15375 (MAP_TYPE): Change value to 0x2b.
15377 2018-06-18 Florian Weimer <fweimer@redhat.com>
15380 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
15381 socket with SOCK_CLOEXEC.
15383 2018-06-18 Joseph Myers <joseph@codesourcery.com>
15386 * sysdeps/powerpc/powerpc64/le/Makefile
15387 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
15388 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
15389 (gnulib-tests): Also add $(f128-loader-link) for
15390 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
15392 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
15394 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
15395 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
15397 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
15398 (sendfile64): New strong alias.
15399 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
15400 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
15401 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
15402 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
15404 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
15405 ___pthread_get_cleanup_stack.
15406 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
15407 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
15408 * mach/shortcut.awk: Make syscall stubs include
15409 <mach-shortcuts-hidden.h> and add hidden definition.
15410 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
15411 (__mach_msg): Add hidden prototype.
15412 * mach/msg.c: Include <mach.h>.
15413 (__mach_msg): Add hidden definition.
15414 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
15415 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
15416 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
15417 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
15418 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
15419 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
15420 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
15421 prototype and definition.
15422 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
15423 hidden target for _hurd_self_sigstate.
15425 2018-06-15 Joseph Myers <joseph@codesourcery.com>
15428 * stdlib/tst-strtod-nan-sign-main.c: New file.
15429 * stdlib/tst-strtod-nan-sign.c: Likewise.
15430 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
15431 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
15432 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
15433 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
15434 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
15436 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
15439 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
15442 2018-06-14 Florian Weimer <fweimer@redhat.com>
15445 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
15446 that the result stays within the ISO-8859-1 range.
15447 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
15448 characters are defined in IBM273.
15450 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
15452 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
15453 __mach_task_self): Remove attribute_hidden.
15455 2018-06-14 Joseph Myers <joseph@codesourcery.com>
15457 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
15458 ignore -Wrestrict for one test.
15460 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
15461 Szabolcs Nagy <szabolcs.nagy@arm.com>
15463 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
15465 2018-06-14 Florian Weimer <fweimer@redhat.com>
15467 * scripts/update-abilist.sh: Accept empty list of files to patch.
15469 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
15471 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
15472 test-xfail-check-abi-libmachuser): Add.
15473 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
15474 __libc_read and __libc_write to __read and __write.
15475 * sysdeps/hurd/include/hurd/port.h: New file.
15476 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
15477 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
15478 __thread_switch, __evc_wait): Move declarations to...
15479 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
15481 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
15482 use PLT to call _hurd_self_sigstate.
15484 2018-06-13 Joseph Myers <joseph@codesourcery.com>
15487 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
15488 MAX_EXP as overflowing.
15489 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
15491 (round_str): Output also whether result overflows in each rounding
15493 * stdlib/tst-strtod-round-data: Add more tests.
15494 * stdlib/tst-strtod-round-data.h: Regenerated.
15495 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
15496 (TEST): Handle extra arguments for overflow flags.
15497 (struct test_overflow): New type.
15498 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
15499 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
15500 (test_in_one_mode): Take argument with overflow information.
15501 (do_test): Update calls to test_in_one_mode.
15503 2018-06-12 Carlos O'Donell <carlos@redhat.com>
15505 * elf/dl-load (_dl_dst_substitute): Correct comment.
15506 (_dl_dst_count): Likewise.
15508 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
15509 lll_futex_timed_wait.
15511 2018-06-12 Joseph Myers <joseph@codesourcery.com>
15514 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
15516 * math/test-nan-const.c: New file.
15517 * math/Makefile (tests): Add test-nan-const.
15518 (CFLAGS-test-nan-const.c): New variable.
15520 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
15522 * benchtests/scripts/compare_strings.py (process_results): Add
15523 funcs argument. Compare only functions which are selected.
15524 (main): Check if base function is among selected functions.
15525 Pass selected functions to process_results.
15526 (__main__): Add -f/--functions argument.
15528 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
15529 Hongbo Zhang <hongbo.zhang@linaro.org>
15531 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
15532 __memcpy_falkor for phecda core.
15533 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
15534 __memmove_falkor for phecda core.
15535 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
15536 __memset_falkor for phecda core.
15537 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
15539 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
15540 macro to identify phecda core.
15542 2018-06-12 Carlos O'Donell <carlos@redhat.com>
15543 Andreas Schwab <schwab@suse.de>
15544 Dmitry V. Levin <ldv@altlinux.org>
15545 Florian Weimer <fweimer@redhat.com>
15552 * elf/dl-dst.h: Remove DL_DST_COUNT.
15553 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
15554 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
15555 (is_dst): Comment. Support ELF gABI.
15556 (_dl_dst_count): Comment. Simplify and count DSTs.
15557 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
15558 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
15561 2018-06-12 Zack Weinberg <zackw@panix.com>
15563 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
15564 * sysdeps/unix/sysv/linux/dl-sysdep.c
15565 Include not-cancel.h. Use __close_nocancel instead of __close,
15566 __open64_nocancel instead of __open, __read_nocancel instead of
15567 __libc_read, and __write_nocancel instead of __libc_write.
15569 * csu/check_fds.c (check_one_fd)
15570 * sysdeps/posix/fdopendir.c (__fdopendir)
15571 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
15572 instead of __fcntl and/or __libc_fcntl.
15574 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
15575 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
15576 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
15577 Use __open64_nocancel instead of __open_nocancel.
15579 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
15580 hidden_proto declarations to the end and issue them if either
15581 IS_IN(libc) or IS_IN(rtld).
15582 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
15583 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
15584 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
15585 read_nocancel, waitpid_nocancel, write_nocancel.
15587 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
15588 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
15589 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
15591 * nptl/pt-fcntl.c: New file.
15592 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
15593 (libpthread-routines): Add pt-fcntl.
15594 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
15595 (__libc_fcntl): Remove attribute_hidden.
15596 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
15597 __fcntl_nocancel_adjusted, not fcntl_common.
15598 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
15599 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
15600 to fcntl_nocancel.c.
15601 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
15602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
15603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15604 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
15606 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
15607 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
15608 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
15609 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
15610 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
15611 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
15612 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
15613 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
15614 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
15615 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
15616 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
15617 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
15618 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
15619 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
15620 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
15621 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
15622 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
15623 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
15624 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
15625 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
15627 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
15628 libpthread-routines.
15629 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
15632 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
15633 __libc_read, and __write instead of __libc_write. Define
15634 __open64 in addition to __open.
15636 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
15640 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
15641 to _private_tm[3] and add __glibc_reserved2.
15642 Add _Static_assert of offset of __private_ss == 0x30.
15643 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
15644 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
15646 2018-06-12 Florian Weimer <fweimer@redhat.com>
15648 x86: Make strncmp usable from rtld.
15649 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
15650 __strncmp_ia32 if in libc (and not in rtld).
15651 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
15652 strncmp if not in libc (and not to __strncmp_sse2).
15654 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
15657 * localedata/locales/gd_GB (mon): Rename to...
15659 (mon): Import from CLDR (genitive case).
15660 * localedata/locales/hsb_DE (mon): Rename to...
15662 (mon): Import from CLDR (genitive case).
15663 * localedata/locales/wa_BE (mon): Rename to...
15665 (mon): Add, fill with the proper genitive forms, but CLDR data
15666 is incomplete; completed according to the comments in this file.
15667 (d_t_fmt): Do not use "di" before the month name, no longer needed.
15669 * localedata/locales/wa_BE (country_name): Reword
15670 "Beljike" -> "Beldjike".
15672 2018-06-11 Joseph Myers <joseph@codesourcery.com>
15675 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
15676 cases of non-finite arguments.
15677 * math/libm-test-fma.inc (fma_test_data): Add more tests.
15679 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
15682 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
15684 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15687 * include/unistd.h (__execvpex): New prototype.
15688 * posix/Makefile (tests): Add tst-spawn4.
15689 (tests-internal): Add tst-spawn4-compat.
15690 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
15691 * posix/tst-spawn4-compat.c: New file.
15692 * posix/tst-spawn4.c: Likewise.
15693 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
15694 binaries as shell scripts.
15695 * sysdeps/posix/spawni.c (__spawni): Likewise.
15697 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
15700 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
15701 ($(all-built-dso:=.dynsym): New target.
15702 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
15703 ($(objpfx)check-initfini.out): New target.
15704 (generated): Add check-initfini.out.
15705 * scripts/check-initfini.awk: New file.
15706 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
15708 * sysdeps/alpha/crti.S (_init): Mark as hidden.
15710 * sysdeps/arm/crti.S (_init): Mark as hidden.
15712 * sysdeps/hppa/crti.S (_init): Mark as hidden.
15714 * sysdeps/i386/crti.S (_init): Mark as hidden.
15716 * sysdeps/ia64/crti.S (_init): Mark as hidden.
15718 * sysdeps/m68k/crti.S (_init): Mark as hidden.
15720 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
15722 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
15724 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
15726 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
15728 * sysdeps/nios2/crti.S (_init): Mark as hidden.
15730 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
15732 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
15734 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
15736 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
15738 * sysdeps/sh/crti.S (_init): Mark as hidden.
15740 * sysdeps/sparc/crti.S (_init): Mark as hidden.
15742 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
15745 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15747 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
15748 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
15749 and TF redirection to KFtype and KF only when the default
15750 long double type is not the IEEE 128-bit floating point type.
15752 2018-06-05 Joseph Myers <joseph@codesourcery.com>
15754 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
15756 (HWCAP_USCAT): Likewise.
15757 (HWCAP_ILRCPC): Likewise.
15758 (HWCAP_FLAGM): Likewise.
15759 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
15761 (_dl_aarch64_cap_flags): Add new flag names.
15763 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
15764 (MAP_FIXED_NOREPLACE): New macro.
15765 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
15766 (MAP_FIXED_NOREPLACE): Likewise.
15767 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
15768 (MAP_FIXED_NOREPLACE): Likewise.
15769 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15770 (MAP_FIXED_NOREPLACE): Likewise.
15771 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
15772 (MAP_FIXED_NOREPLACE): Likewise.
15773 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
15774 (MAP_FIXED_NOREPLACE): Likewise.
15775 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
15776 (MAP_FIXED_NOREPLACE): Likewise.
15777 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
15778 (MAP_FIXED_NOREPLACE): Likewise.
15779 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
15780 (MAP_FIXED_NOREPLACE): Likewise.
15781 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
15782 (MAP_FIXED_NOREPLACE): Likewise.
15783 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
15784 (MAP_FIXED_NOREPLACE): Likewise.
15785 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
15786 (MAP_FIXED_NOREPLACE): Likewise.
15787 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
15788 (MAP_FIXED_NOREPLACE): Likewise.
15789 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
15790 (MAP_FIXED_NOREPLACE): Likewise.
15791 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
15792 (MAP_FIXED_NOREPLACE): Likewise.
15794 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15797 2018-06-04 Joseph Myers <joseph@codesourcery.com>
15799 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
15802 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15804 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
15806 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
15808 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15810 * benchtests/scripts/compare_string.py: (process_results) Catch
15811 exception in non-existent base_func and catch exception in
15812 non-existent attribute.
15813 (parse_file) Catch exception if input file does not exist.
15815 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15817 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
15818 options to avoid diff calculation and omit header, respectively.
15819 (main): process --no-diff and --no-header
15821 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15822 H.J. Lu <hongjiu.lu@intel.com>
15824 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15825 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
15827 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15828 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
15829 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
15830 and __wcsncmp_sse2.
15831 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
15832 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
15833 AVX unaligned load is fast and vzeroupper is preferred.
15834 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
15835 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
15836 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
15837 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
15838 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
15839 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
15840 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
15841 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
15842 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
15843 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
15846 2018-06-01 Florian Weimer <fweimer@redhat.com>
15848 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
15849 configuring with --disable-multi-arch, building with
15850 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
15853 2018-06-01 Florian Weimer <fweimer@redhat.com>
15855 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
15856 results from building with “-march=x86-64 -mtune=generic
15857 -mfpmath=sse” and running on a Haswell-era CPU.
15859 2018-06-01 Joseph Myers <joseph@codesourcery.com>
15862 * soft-fp/sqrttf2.c: Remove file.
15863 * soft-fp/sqrtdf2.c: Move to ....
15864 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
15866 (__sqrtdf2): Make conditional on
15867 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
15869 * soft-fp/sqrtsf2.c: Move to ....
15870 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
15872 (__sqrtsf2): Make conditional on
15873 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
15875 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
15876 (gcc-double-routines): Remove sqrtdf2.
15877 (gcc-quad-routines): Remove sqrttf2.
15878 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
15879 Do not filter out sqrtsf2 and sqrtdf2.
15880 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
15881 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
15883 2018-06-01 Florian Weimer <fweimer@redhat.com>
15885 * sysdeps/generic/libcidn.abilist: Remove file.
15887 2018-06-01 Florian Weimer <fweimer@redhat.com>
15890 * libio/strfile.h (struct _IO_str_fields): Rename members to
15891 discourage their use and add comment.
15892 (_IO_STR_DYNAMIC): Remove unused macro.
15893 * libio/strops.c (_IO_str_init_static_internal): Do not use
15894 callback pointers. Call malloc and free.
15895 (_IO_str_overflow): Do not use callback pointers. Call malloc
15897 (enlarge_userbuf): Likewise.
15898 (_IO_str_finish): Call free.
15899 * libio/wstrops.c (_IO_wstr_init_static): Initialize
15900 _allocate_buffer_unused.
15901 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
15903 (enlarge_userbuf): Likewise.
15904 (_IO_wstr_finish): Call free.
15905 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
15906 _allocate_buffer_unused, _free_buffer_unused.
15907 * libio/memstream.c (__open_memstream): Likewise.
15908 * libio/vasprintf.c (_IO_vasprintf): Likewise.
15909 * libio/wmemstream.c (open_wmemstream): Likewise.
15911 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
15913 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
15916 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15918 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
15919 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
15920 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
15922 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
15924 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
15926 2018-05-29 Florian Weimer <fweimer@redhat.com>
15928 * support/Makefile (libsupport-routines): Add
15929 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
15930 xpthread_barrierattr_setpshared.
15931 * support/xpthread_barrierattr_destroy.c: New file.
15932 * support/xpthread_barrierattr_init.c: Likewise.
15933 * support/xpthread_barrierattr_setpshared.c: Likewise.
15935 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
15938 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
15939 _r_debug and update DT_DEBUG for debugger.
15941 2018-05-29 Florian Weimer <fweimer@redhat.com>
15943 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
15944 (tst-strtod5i.out): Likewise.
15946 2018-05-25 Joseph Myers <joseph@codesourcery.com>
15948 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
15949 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
15950 (sparc64-quad-routines): New variable. Moved from ....
15951 [$(subdir) = soft-fp] (sysdep_routines): Add
15952 $(sparc64-quad-routines). Moved from ....
15953 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
15954 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
15955 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
15957 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
15958 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
15959 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
15960 * sysdeps/sparc/sparc64/qp_add.c: ... here.
15961 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
15962 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
15963 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
15964 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
15965 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
15966 * sysdeps/sparc/sparc64/qp_div.c: ... here.
15967 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
15968 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
15969 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
15970 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
15971 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
15972 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
15973 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
15974 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
15975 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
15976 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
15977 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
15978 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
15979 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
15980 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
15981 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
15982 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
15983 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
15984 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
15985 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
15986 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
15987 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
15988 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
15989 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
15990 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
15991 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
15992 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
15993 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
15994 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
15995 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
15996 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
15997 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
15998 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
15999 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
16000 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
16001 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
16002 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
16003 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
16004 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
16005 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
16006 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
16007 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
16008 * sysdeps/sparc/sparc64/qp_util.c: ... here.
16009 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
16010 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
16011 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
16012 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
16013 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
16014 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
16016 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
16017 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
16018 (sparc32-quad-routines): New variable. Moved from ....
16019 [$(subdir) = soft-fp] (sysdep_routines): Add
16020 $(sparc32-quad-routines). Moved from ....
16021 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
16022 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
16024 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
16025 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
16026 * sysdeps/sparc/sparc32/q_add.c: ... here.
16027 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
16028 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
16029 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
16030 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
16031 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
16032 * sysdeps/sparc/sparc32/q_div.c: ... here.
16033 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
16034 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
16035 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
16036 * sysdeps/sparc/sparc32/q_feq.c: ... here.
16037 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
16038 * sysdeps/sparc/sparc32/q_fge.c: ... here.
16039 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
16040 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
16041 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
16042 * sysdeps/sparc/sparc32/q_fle.c: ... here.
16043 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
16044 * sysdeps/sparc/sparc32/q_flt.c: ... here.
16045 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
16046 * sysdeps/sparc/sparc32/q_fne.c: ... here.
16047 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
16048 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
16049 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
16050 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
16051 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
16052 * sysdeps/sparc/sparc32/q_mul.c: ... here.
16053 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
16054 * sysdeps/sparc/sparc32/q_neg.c: ... here.
16055 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
16056 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
16057 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
16058 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
16059 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
16060 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
16061 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
16062 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
16063 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
16064 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
16065 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
16066 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
16067 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
16068 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
16069 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
16070 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
16071 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
16072 * sysdeps/sparc/sparc32/q_sub.c: ... here.
16073 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
16074 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
16075 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
16076 * sysdeps/sparc/sparc32/q_util.c: ... here.
16077 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
16078 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
16079 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
16080 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
16082 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16083 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16085 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
16086 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
16087 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
16088 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
16090 2018-05-24 Joseph Myers <joseph@codesourcery.com>
16092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
16094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16096 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
16097 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
16099 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16102 * math/math.h [C++] (iseqsig): Fix parameter type for the long
16105 2018-05-23 Joseph Myers <joseph@codesourcery.com>
16107 * sysdeps/sh/Implies: Remove sh/soft-fp.
16108 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
16109 * sysdeps/sh/sfp-machine.h: ... here.
16111 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
16113 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16114 (__mempcpy_erms): Skip zero length.
16115 (__memmove_erms): Likewise.
16116 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16117 (__memset_erms): Likewise.
16119 2018-05-23 Joseph Myers <joseph@codesourcery.com>
16121 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
16122 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
16123 Add functions moved from ....
16124 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
16125 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
16126 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
16128 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
16129 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
16130 * sysdeps/alpha/e_sqrtl.c: ... here.
16131 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
16132 * sysdeps/alpha/local-soft-fp.h: ... here.
16133 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
16134 * sysdeps/alpha/ots_add.c: ... here.
16135 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
16136 * sysdeps/alpha/ots_cmp.c: ... here.
16137 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
16138 * sysdeps/alpha/ots_cmpe.c: ... here.
16139 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
16140 * sysdeps/alpha/ots_cvtqux.c: ... here.
16141 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
16142 * sysdeps/alpha/ots_cvtqx.c: ... here.
16143 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
16144 * sysdeps/alpha/ots_cvttx.c: ... here.
16145 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
16146 * sysdeps/alpha/ots_cvtxq.c: ... here.
16147 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
16148 * sysdeps/alpha/ots_cvtxt.c: ... here.
16149 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
16150 * sysdeps/alpha/ots_div.c: ... here.
16151 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
16152 * sysdeps/alpha/ots_mul.c: ... here.
16153 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
16154 * sysdeps/alpha/ots_nintxq.c: ... here.
16155 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
16156 * sysdeps/alpha/ots_sub.c: ... here.
16157 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
16158 * sysdeps/alpha/sfp-machine.h: ... here.
16160 2018-05-23 Florian Weimer <fweimer@redhat.com>
16168 Switch to extern IDNA implementation (libidn2).
16169 * libidn: Remove subdirectory.
16170 * LICENSES: Do not mention licensing conditions for the removed
16172 * config.h.in (HAVE_LIBIDN): Remove.
16173 * include/dlfcn.h (__libc_dlopen): Update comment.
16174 * include/idna.h: Remove file.
16175 * inet/Makefile (routines): Add idna.
16176 (tests-static, tests-internal): Add tst-idna_name_classify.
16177 (LOCALES): Generate locales for tests.
16178 (tst-idna_name_classify.out): Depend on generated locales.
16179 * inet/idna_name_classify.c: New file.
16180 * inet/tst-idna_name_classify.c: Likewise.
16181 * inet/net-internal.h (__idna_to_dns_encoding)
16182 (__idna_from_dns_encoding): Declare.
16183 * inet/net-internal.h (enum idna_name_classification): Define.
16184 (__idna_name_classify): Declare.
16185 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
16186 __idna_from_dns_encoding.
16187 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
16188 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
16189 name as a fallback in case of encoding errors.
16190 (getnameinfo): Use DEPRECATED_NI_IDN.
16191 * inet/idna.c: New file.
16192 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
16193 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
16194 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
16195 (modules-names): Add tst-no-libidn2.
16196 (extra-test-objs): Add tst-no-libidn2.os.
16197 (LDFLAGS-tst-no-libidn2.so): Set soname.
16198 (LOCALES): Set, and generate locales.
16199 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
16200 (tst-resolv-ai_idn-latin1): Likewise.
16201 (tst-resolv-ai_idn-nolibidn2): Likewise.
16202 (tst-resolv-ai_idn.out): Depend on locales.
16203 (tst-resolv-ai_idn-latin1.out): Depend on locales.
16204 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
16206 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
16207 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
16208 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
16209 * resolv/tst-resolv-ai_idn.c: New file.
16210 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
16211 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
16212 * resolv/tst-no-libidn2.c: Likewise.
16213 * support/support_format_addrinfo.c (format_ai_flags): Do not
16214 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
16215 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
16216 (gaih_inet): Call __idna_to_dns_encoding and
16217 __idna_from_dns_encoding, and use the original (punycode) name if
16218 __idna_from_dns_encoding fails due to an encoding error.
16219 (getaddrinfo): Use DEPRECATED_AI_IDN.
16220 * sysdeps/unix/inet/Subdirs (libidn): Remove.
16221 * sysdeps/unix/inet/configure: Remove file.
16222 * sysdeps/unix/inet/configure.ac: Likewise.
16224 2018-05-23 Florian Weimer <fweimer@redhat.com>
16226 Implement allocate_once.
16227 * include/allocate_once.h: New file.
16228 * misc/allocate_once.c: Likewise.
16229 * misc/tst-allocate_once.c: Likewise.
16230 * misc/Makefile (routines): Add allocate_once.
16231 (tests-internal): Add tst-allocate_once.
16232 (generated): Add tst-allocate_once.mtrace,
16233 tst-allocate_once-mem.out.
16234 (tests-special): Add tst-allocate_once-mem.out.
16235 (tst-allocate_once-ENV): Set MALLOC_TRACE.
16236 (tst-allocate_once-mem.out): Call mtrace.
16237 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
16239 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
16242 * string/test-memcpy.c (do_test1): New function.
16243 (test_main): Call it.
16245 2018-05-23 Andreas Schwab <schwab@suse.de>
16249 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
16250 (L(preloop_large)): Save initial destination pointer in %r11 and
16251 use it instead of %rax after the loop.
16252 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
16254 2018-05-22 Joseph Myers <joseph@codesourcery.com>
16256 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
16257 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
16258 -I../soft-fp. Moved from ....
16259 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
16260 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
16261 * sysdeps/aarch64/e_sqrtl.c: ... here.
16262 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
16263 * sysdeps/aarch64/sfp-machine.h: ... here.
16265 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
16266 -Wmaybe-uninitialized around access to fq[0].
16267 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16271 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
16272 aliases for non-libc case of versioned symbols.
16273 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
16274 (llseek): Define as compat symbol if
16275 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
16277 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
16278 Make into a compat symbol, disabled for minimum symbol version
16279 GLIBC_2.28 and later.
16280 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
16282 2018-05-22 Florian Weimer <fweimer@redhat.com>
16284 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
16285 not add -mpreferred-stack-boundary=4.
16286 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
16287 (stack-align-test-flags): Likewise.
16288 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
16290 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
16291 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
16292 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
16293 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
16294 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
16295 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
16296 (CFLAGS-tst-align2.c): Likewise.
16298 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
16300 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
16301 (index_arch_Prefer_FSRM): Likewise.
16302 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
16303 Also check Prefer_FSRM.
16304 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
16305 Also return OPTIMIZE (erms) for Prefer_FSRM.
16307 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
16309 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
16310 (index_cpu_FSRM): Likewise.
16311 (reg_FSRM): Likewise.
16313 2018-05-18 Joseph Myers <joseph@codesourcery.com>
16315 * math/gen-tgmath-tests.py: Import sys.
16316 (Tests.__init__): Initialize macros_seen.
16317 (Tests.add_tests): Add macro to macros_seen. Only generate tests
16318 if requested to do so for this macro.
16319 (Tests.add_all_tests): Take argument for macro for which to
16321 (Tests.check_macro_list): New function.
16322 (main): Handle check-list argument and argument specifying macro
16323 for which to generate tests.
16324 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
16325 [PYTHON] (tgmath3-macro-tests): Likewise.
16326 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
16327 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
16328 not test-tgmath3.c.
16329 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
16330 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
16332 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
16333 [PYTHON] ($(foreach
16334 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
16336 [PYTHON] (tests-special): Add
16337 $(objpfx)test-tgmath3-macro-list.out.
16338 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
16340 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
16341 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
16345 * time/tzset.c (SECSPERDAY): Cast to time_t.
16346 * time/tst-y2039.c: New file.
16347 * time/Makefile (tests): Add tst-y2039.
16349 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16351 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16352 (PREFETCH_ONE_SET): Remove duplicate line.
16354 2018-05-17 Florian Weimer <fweimer@redhat.com>
16356 * sysdeps/generic/math-type-macros-double.h: Include
16357 <math-nan-payload-double.h> after <libm-alias-double.h>.
16358 * sysdeps/generic/math-type-macros-float.h: Include
16359 <math-nan-payload-float.h> after <libm-alias-float.h>.
16360 * sysdeps/generic/math-type-macros-float128.h: Include
16361 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
16362 * sysdeps/generic/math-type-macros-ldouble.h: Include
16363 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
16365 2018-05-17 Andreas Schwab <schwab@suse.de>
16367 * resolv/res_send.c (__res_context_send): Don't set errno when
16368 returing error after malloc failure.
16370 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
16372 * nptl/allocatestack.c (allocate_stack): Remove the
16373 !__ASSUME_PRIVATE_FUTEX paths.
16374 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
16375 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
16377 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
16378 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
16379 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
16380 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
16381 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
16382 !__ASSUME_PRIVATE_FUTEX path.
16383 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
16384 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
16385 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
16386 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
16387 !__ASSUME_PRIVATE_FUTEX macros.
16388 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
16389 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
16390 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
16391 * sysdeps/unix/sysv/linux/kernel-features.h
16392 (__ASSUME_PRIVATE_FUTEX): Removed.
16394 2018-05-17 Joseph Myers <joseph@codesourcery.com>
16396 * math/Makefile (libm-narrow-fns): Add div.
16397 (libm-test-funcs-narrow): Likewise.
16398 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
16399 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
16400 * math/gen-auto-libm-tests.c (test_functions): Add div.
16401 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
16402 (NARROW_DIV_ROUND_TO_ODD): Likewise.
16403 (NARROW_DIV_TRIVIAL): Likewise.
16404 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
16406 (__ddivl): Likewise.
16407 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
16409 (CFLAGS-nldbl-ddiv.c): New variable.
16410 (CFLAGS-nldbl-fdiv.c): Likewise.
16411 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16413 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
16415 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
16416 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
16417 * math/auto-libm-test-in: Add tests of div.
16418 * math/auto-libm-test-out-narrow-div: New generated file.
16419 * math/libm-test-narrow-div.inc: New file.
16420 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
16421 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
16422 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
16423 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
16424 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
16425 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
16426 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
16427 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
16428 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
16429 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
16430 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
16431 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
16432 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
16433 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
16434 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
16435 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
16436 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
16437 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
16438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16439 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16440 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16441 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16442 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16443 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16444 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16445 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16446 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16447 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16448 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16449 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16450 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16451 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16456 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16457 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16458 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16459 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16460 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16461 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16462 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16463 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16465 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16468 * nscd/nscd-client.h (sendfileall): Remove prototype.
16469 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
16470 (handle_request): Use writeall instead of sendfileall.
16471 * nscd/aicache.c (addhstaiX): Likewise.
16472 * nscd/grpcache.c (cache_addgr): Likewise.
16473 * nscd/hstcache.c (cache_addhst): Likewise.
16474 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16475 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
16476 * nscd/pwdcache.c (cache_addpw): Likewise.
16477 * nscd/servicescache.c (cache_addserv): Likewise.
16478 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
16479 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
16480 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
16483 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
16485 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
16486 Include <string/strncat.c>.
16487 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
16489 (__GI___strncat): New hidden alias.
16491 2018-05-16 Joseph Myers <joseph@codesourcery.com>
16493 * sysdeps/mips/mips32/libm-test-ulps: Update.
16494 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16496 2018-05-16 Florian Weimer <fweimer@redhat.com>
16498 * support/Makefile (libsupport-routines): Add support_quote_blob,
16499 support_test_compare_blob.
16500 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
16501 * support/check.h (TEST_COMPARE_BLOB): Define.
16502 (support_test_compare_blob): Declare.
16503 * support/support.h (support_quote_blob): Declare.
16504 * support/support_quote_blob.c: New file.
16505 * support/support_test_compare_blob.c: Likewise.
16506 * support/tst-support_quote_blob.c: Likewise.
16507 * support/tst-test_compare_blob.c: Likewise.
16509 2018-05-16 Florian Weimer <fweimer@redhat.com>
16511 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
16512 of <strtod_nan_double.h>.
16513 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
16514 instead of SET_MANTISSA.
16515 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
16516 of include <strtod_nan_float.h>.
16517 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
16518 instead of <strtod_nan_ldouble.h>.
16519 * stdlib/strtod_nan_double.h: Move to ...
16520 * sysdeps/generic/math-nan-payload-double.h: ... here.
16521 (FLOAT): Remove definition.
16522 (SET_MANTISSA): Rename to ...
16523 (SET_NAN_PAYLOAD): ... this.
16524 * stdlib/strtod_nan_float.h: Move to ...
16525 * sysdeps/generic/math-nan-payload-float.h: ... here.
16526 (FLOAT): Remove definition.
16527 (SET_MANTISSA): Rename to ...
16528 (SET_NAN_PAYLOAD): ... this.
16529 * sysdeps/generic/math-type-macros-double.h: Include
16530 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
16531 instead of <math-svid-compat.h>.
16532 * sysdeps/generic/math-type-macros-float.h: Include
16533 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
16534 instead of <math-svid-compat.h>.
16535 * sysdeps/generic/math-type-macros-float128.h: Include
16536 <math-nan-payload-float128.h>.
16537 * sysdeps/generic/math-type-macros-ldouble.h: Include
16538 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
16539 instead of <math-svid-compat.h>.
16540 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
16541 check for definition.
16542 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
16543 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
16544 Include <ieee754_float128.h>.
16545 (FLOAT): Remove definition.
16546 (SET_MANTISSA): Rename to ...
16547 (SET_NAN_PAYLOAD): ... this.
16548 * sysdeps/ieee754/float128/strtof128_nan.c: Include
16549 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
16550 Do not include <float128_private.h>.
16551 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
16552 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
16553 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
16554 (FLOAT): Remove definition.
16555 (SET_MANTISSA): Rename to ...
16556 (SET_NAN_PAYLOAD): ... this.
16557 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
16558 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
16559 (FLOAT): Remove definition.
16560 (SET_MANTISSA): Rename to ...
16561 (SET_NAN_PAYLOAD): ... this.
16562 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
16563 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
16564 (FLOAT): Remove definition.
16565 (SET_MANTISSA): Rename to ...
16566 (SET_NAN_PAYLOAD): ... this.
16567 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
16568 of "../stdlib/strtod_nan_double.h".
16569 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
16570 of "../stdlib/strtod_nan_float.h".
16571 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
16572 instead of "../stdlib/strtod_nan_ldouble.h".
16573 * manual/arith.texi (Parsing of Floats): Adjust comment.
16575 2018-05-16 Joseph Myers <joseph@codesourcery.com>
16577 * math/Makefile (libm-narrow-fns): Add mul.
16578 (libm-test-funcs-narrow): Likewise.
16579 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
16580 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
16581 * math/gen-auto-libm-tests.c (test_functions): Add mul.
16582 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
16583 (NARROW_MUL_ROUND_TO_ODD): Likewise.
16584 (NARROW_MUL_TRIVIAL): Likewise.
16585 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
16586 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
16588 (__dmull): Likewise.
16589 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
16591 (CFLAGS-nldbl-dmul.c): New variable.
16592 (CFLAGS-nldbl-fmul.c): Likewise.
16593 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16595 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
16597 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
16598 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
16599 * math/auto-libm-test-in: Add tests of mul.
16600 * math/auto-libm-test-out-narrow-mul: New generated file.
16601 * math/libm-test-narrow-mul.inc: New file.
16602 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
16603 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
16604 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
16605 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
16606 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
16607 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
16608 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
16609 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
16610 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
16611 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
16612 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
16613 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
16614 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
16615 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
16616 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
16617 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
16618 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
16619 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
16620 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16621 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16622 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16623 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16624 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16625 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16626 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16627 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16628 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16629 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16630 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16631 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16632 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16633 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16638 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16639 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16640 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16641 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16642 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16643 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16644 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16645 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16647 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
16649 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
16650 with *%eax in call.
16652 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
16654 * sysdeps/i386/ldsodefs.h: Removed.
16655 * sysdeps/x86_64/ldsodefs.h: Moved to ...
16656 * sysdeps/x86/ldsodefs.h: This.
16657 (La_i86_regs): New.
16658 (La_i86_retval): Likewise.
16659 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
16660 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
16662 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
16664 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
16667 2018-05-13 Alan Modra <amodra@gmail.com>
16669 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
16670 R_PARISC_TLS_DTPOFF32 reloc addend.
16672 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16674 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
16675 * math/math.h: Restrict the prototype definition for the functions
16676 issignaling(_Float128) and iszero(_Float128); and template
16677 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
16678 __HAVE_FLOAT128_UNLIKE_LDBL.
16679 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
16680 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
16681 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
16682 __f128() constants; define the type _Float128 as long double;
16683 and reuse long double in __CFLOAT128.
16685 2018-05-11 Joseph Myers <joseph@codesourcery.com>
16687 * sysdeps/generic/math_private.h: Do not include
16689 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
16691 * math/fromfp.h: Include <math-barriers.h>.
16692 * math/math-narrow.h: Likewise.
16693 * math/s_nextafter.c: Likewise.
16694 * math/s_nexttowardf.c: Likewise.
16695 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
16696 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
16697 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
16698 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
16699 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16700 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16701 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16702 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16703 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16704 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16705 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16706 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16707 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16708 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16709 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
16710 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
16711 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16712 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16713 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16714 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16715 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16716 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16717 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16718 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16719 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16720 * sysdeps/ieee754/k_standardl.c: Likewise.
16721 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16722 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16723 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16724 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
16725 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16726 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16727 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16728 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16729 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16730 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
16731 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16732 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16733 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16734 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16735 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16736 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16737 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
16738 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
16739 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16740 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16741 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
16742 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
16744 2018-05-11 Florian Weimer <fweimer@redhat.com>
16746 Use 64-bit epoch values in the time zone file parser.
16747 * include/time.h (internal_time_t): Define.
16748 (__tzfile_compute): Use it.
16749 * time/tzfile.c (struct leap): Use internal_time_t for epoch
16751 (transitions): Switch to internal_time_t.
16752 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
16754 (__tzfile_compute): Use internal_time_t for timer argument. Check
16755 for truncation before calling __offtime.
16757 2018-05-11 Florian Weimer <fweimer@redhat.com>
16760 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
16761 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
16763 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
16764 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
16765 export without --enable-obsolete-rpc.
16766 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
16767 symbol. This should not have been exported, ever.
16769 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
16772 * localedata/locales/gd_GB (abmon): Fix typo in May:
16773 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
16775 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
16777 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
16778 Use multiple registers to copy data in loop tail.
16780 * sysdeps/aarch64/multiarch/memmove_falkor.S
16781 (__memmove_falkor): Use multiple registers to move data in
16784 2018-05-10 Joseph Myers <joseph@codesourcery.com>
16786 * math/math-underflow.h: New file.
16787 * sysdeps/generic/math_private.h: Do not include <float.h>.
16788 (fabs_tg): Remove macro. Moved to math-underflow.h.
16789 (min_of_type_f): Likewise.
16790 (min_of_type_): Likewise.
16791 (min_of_type_l): Likewise.
16792 (min_of_type_f128): Likewise.
16793 (min_of_type): Likewise.
16794 (math_check_force_underflow): Likewise.
16795 (math_check_force_underflow_nonneg): Likewise.
16796 (math_check_force_underflow_complex): Likewise.
16797 * math/e_exp2_template.c: Include <math-underflow.h>.
16798 * math/k_casinh_template.c: Likewise.
16799 * math/s_catan_template.c: Likewise.
16800 * math/s_catanh_template.c: Likewise.
16801 * math/s_ccosh_template.c: Likewise.
16802 * math/s_cexp_template.c: Likewise.
16803 * math/s_clog10_template.c: Likewise.
16804 * math/s_clog_template.c: Likewise.
16805 * math/s_csin_template.c: Likewise.
16806 * math/s_csinh_template.c: Likewise.
16807 * math/s_csqrt_template.c: Likewise.
16808 * math/s_ctan_template.c: Likewise.
16809 * math/s_ctanh_template.c: Likewise.
16810 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16811 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16812 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16813 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16814 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16815 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16816 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16817 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16818 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16819 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16820 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16821 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16822 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16823 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16824 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16825 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16826 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16827 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16828 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16829 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16830 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
16831 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16832 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16833 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16834 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16835 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16836 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16837 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16838 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16839 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16840 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16841 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16842 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16843 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16844 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16845 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16846 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16847 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16848 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16849 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16850 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16851 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16852 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16853 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16854 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16855 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16856 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16857 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16858 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16859 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16860 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16861 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
16862 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16863 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
16864 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16865 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16866 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16867 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16868 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16869 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16870 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16871 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16872 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16873 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
16874 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16875 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16876 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16877 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
16878 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16879 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16880 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16881 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16882 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16883 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
16884 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16885 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16886 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16887 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16888 * sysdeps/x86/fpu/powl_helper.c: Likewise.
16889 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
16890 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
16891 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
16892 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
16893 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
16895 2018-05-09 Joseph Myers <joseph@codesourcery.com>
16897 * sysdeps/generic/math-barriers.h: New file.
16898 * sysdeps/generic/math_private.h [!math_opt_barrier]
16899 (math_opt_barrier): Move to math-barriers.h.
16900 [!math_opt_barrier] (math_force_eval): Likewise.
16901 * sysdeps/aarch64/fpu/math-barriers.h: New file.
16902 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
16904 (math_force_eval): Likewise.
16905 * sysdeps/alpha/fpu/math-barriers.h: New file.
16906 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
16908 (math_force_eval): Likewise.
16909 * sysdeps/x86/fpu/math-barriers.h: New file.
16910 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
16912 (math_force_eval): Likewise.
16913 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
16914 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
16915 multiple-include guard for rename.
16916 * sysdeps/powerpc/fpu/math-barriers.h: New file.
16917 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
16919 (math_force_eval): Likewise.
16921 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
16925 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
16927 * stdlib/Makefile (test-bz22786): New test.
16928 * stdlib/test-bz22786.c: New test.
16930 2018-05-09 Joseph Myers <joseph@codesourcery.com>
16932 * include/math-narrow-eval.h: New file. Contents moved from ....
16933 * sysdeps/generic/math_private.h: ... here.
16934 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
16935 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
16936 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
16937 * stdlib/strtod_l.c: Likewise.
16938 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
16939 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
16940 * sysdeps/i386/fpu/s_fdim.c: Likewise.
16941 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16942 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16943 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16944 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16945 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16946 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16947 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16948 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16949 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
16950 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16951 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
16952 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16953 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16954 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16955 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16956 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
16957 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16958 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16959 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16960 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16961 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16962 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
16963 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16964 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16965 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16966 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16968 2018-05-08 Andreas Schwab <schwab@suse.de>
16970 * sysdeps/nptl/internaltypes.h: Fix comment.
16972 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
16974 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16975 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
16978 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
16980 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
16981 of I into loop header.
16982 * benchtests/bench-memmove-walk.c
16983 (test_main): Likewise.
16985 2018-05-07 Alexandre Oliva <oliva@gnu.org>
16988 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
16989 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
16991 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16994 * elf/dl-load.c (open_verify): Fix stack overflow.
16995 * elf/Makefile (tst-big-note): New test.
16996 * elf/tst-big-note-lib.S: New.
16997 * elf/tst-big-note.c: New.
16999 2018-05-04 Joseph Myers <joseph@codesourcery.com>
17001 * scripts/abilist.awk: Ignore absolute symbols.
17002 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
17003 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
17004 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
17005 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
17006 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
17007 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
17008 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17009 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
17010 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
17011 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
17012 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
17013 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
17014 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
17015 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
17016 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
17017 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
17018 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
17019 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
17020 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17021 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
17022 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
17023 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
17024 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
17025 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
17026 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
17027 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
17028 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
17029 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
17030 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17031 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
17032 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
17033 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17034 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
17035 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
17036 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
17037 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
17038 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
17039 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
17040 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
17041 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
17042 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
17043 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17044 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
17045 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
17046 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17047 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
17048 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
17049 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
17050 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
17051 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
17052 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
17053 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
17054 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
17055 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
17056 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17057 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
17058 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
17059 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17060 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
17061 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
17062 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
17063 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
17064 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
17065 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
17066 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
17067 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
17068 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
17069 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17070 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
17071 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
17072 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17073 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
17074 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
17075 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
17076 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
17077 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
17078 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
17079 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
17080 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
17081 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
17082 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17083 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
17084 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
17085 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17086 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
17087 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
17088 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
17089 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
17090 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
17091 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
17092 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
17093 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
17095 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
17096 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17097 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
17098 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
17099 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17100 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
17101 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
17102 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
17103 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
17104 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
17105 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
17106 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
17107 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
17109 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
17110 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17111 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
17112 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
17113 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17114 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
17115 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
17116 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
17117 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
17118 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
17119 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
17120 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
17121 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
17122 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
17123 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17124 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
17125 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
17126 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17127 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
17128 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
17129 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
17130 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
17131 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
17132 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
17133 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17134 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
17135 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
17137 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
17138 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
17139 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
17140 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
17141 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17142 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
17143 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
17144 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
17145 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
17146 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
17147 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
17148 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
17149 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
17150 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
17151 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
17152 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
17153 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
17154 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
17155 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
17156 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
17158 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
17159 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
17160 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
17161 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17162 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
17163 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
17164 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
17165 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
17166 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
17167 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
17168 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17169 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
17170 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
17171 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17172 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
17173 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
17174 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
17175 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
17176 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17177 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
17178 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
17179 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17180 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
17181 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
17182 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
17183 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
17184 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
17185 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
17186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
17187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
17189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
17191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
17192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
17193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
17194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
17195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
17197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
17199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
17200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
17202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
17203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
17208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
17209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
17211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
17213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
17215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
17216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
17217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
17220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
17221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
17222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
17223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
17227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
17228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
17230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
17232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
17234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
17236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
17237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
17238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
17240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
17242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
17244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
17245 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
17246 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
17248 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
17249 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
17250 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
17251 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
17252 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17253 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
17254 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
17255 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
17256 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
17257 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
17258 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
17259 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
17260 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
17261 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
17263 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17264 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
17265 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
17266 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17267 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
17268 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
17269 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
17270 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
17271 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
17272 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
17273 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
17274 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
17276 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17277 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
17278 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
17279 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17280 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
17281 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
17282 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
17283 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
17284 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
17285 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
17286 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
17287 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
17288 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
17289 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17290 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
17291 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
17292 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17293 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
17294 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
17295 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
17296 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
17297 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
17298 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
17299 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
17300 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
17302 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
17303 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17304 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
17305 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
17306 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17307 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
17308 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
17309 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
17310 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
17311 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
17312 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
17313 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
17314 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
17316 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
17317 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17318 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
17319 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
17320 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17321 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
17322 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
17323 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
17324 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
17325 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
17326 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
17327 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
17328 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
17329 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
17330 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17331 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
17332 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
17333 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17334 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
17335 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
17336 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
17337 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
17338 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
17339 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
17340 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
17341 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
17342 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
17343 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
17344 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17345 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
17346 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
17347 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17348 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
17349 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
17350 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
17351 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
17352 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
17353 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
17355 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
17358 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
17359 Use atomic_load_acquire to load __tid.
17361 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
17363 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
17364 Restore the pointer into %rdx, after syscall and use %rdx,
17365 instead of %rsi, to restore context.
17367 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
17369 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
17370 Pop the pointer into %rdx after syscall and use %rdx, instead
17371 of %rsi, to restore context.
17373 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
17375 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
17376 handlers after setjmp.
17377 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
17379 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
17380 <libc-pointer-arith.h>.
17381 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
17382 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
17383 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
17384 _JUMP_BUF_SIGSET_BITS_PER_WORD.
17385 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
17386 * sysdeps/x86/__longjmp_cancel.S: New file.
17387 * sysdeps/x86/longjmp.c: Likewise.
17388 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
17390 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17392 * NEWS: Add ustat.h deprecation entry.
17393 * bits/ustat.h: Remove file.
17394 * misc/sys/ustat.h: Likewise.
17395 * misc/ustat.h: Likewise.
17396 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
17397 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
17398 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
17399 compatibility mode.
17400 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
17401 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
17402 generic Linux implementation.
17404 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17406 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
17407 * math/w_expl_compat.c: Likewise.
17408 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
17410 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
17412 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
17414 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17416 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
17417 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
17418 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
17420 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
17421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17422 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17423 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
17424 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
17427 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17429 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
17431 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
17432 * math/w_asin_template.c: Likewise.
17433 * math/w_atanh_template.c: Likewise.
17435 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17437 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
17438 to powerpc/powerpc64/be for big-endian.
17439 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
17442 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
17443 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
17444 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
17445 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
17446 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17447 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
17448 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
17449 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
17450 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
17451 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
17452 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
17453 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
17454 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
17455 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
17456 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
17457 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
17458 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
17459 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
17460 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
17461 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
17462 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
17463 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
17464 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
17465 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
17466 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
17467 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
17468 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
17469 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
17470 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
17471 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
17472 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
17473 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
17475 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
17476 adjusted to imply powerpc64 and older processors on powerpc64/be.
17477 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
17478 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
17479 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
17480 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
17481 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
17482 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
17483 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
17484 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
17485 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
17486 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
17487 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
17488 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
17489 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
17490 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
17491 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
17492 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
17493 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
17494 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
17495 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
17496 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
17497 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
17498 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
17499 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
17500 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
17501 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
17502 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
17503 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
17504 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
17505 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
17506 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
17507 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
17509 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
17510 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
17511 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
17512 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
17514 * sysdeps/powerpc/powerpc64/be/Implies: New file.
17515 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
17516 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
17517 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
17519 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
17520 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
17521 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
17522 * sysdeps/powerpc/powerpc64le/configure: Likewise.
17523 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
17524 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
17525 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
17526 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
17527 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
17528 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
17529 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
17531 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
17532 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
17533 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
17534 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
17535 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
17536 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
17537 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
17538 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
17539 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
17540 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
17541 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
17543 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
17544 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
17545 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
17546 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
17547 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
17548 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
17549 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
17550 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
17551 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
17552 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
17553 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
17554 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
17556 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
17557 and adjusted to imply olders processors.
17558 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
17559 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
17560 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
17561 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
17562 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
17563 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
17564 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
17565 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
17566 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
17567 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
17568 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
17570 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
17572 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
17573 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
17575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
17577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
17578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
17580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
17582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
17584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
17586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
17587 powerpc64 and adjusted.
17588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
17589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
17590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
17593 2018-04-27 Joseph Myers <joseph@codesourcery.com>
17595 * sysdeps/tile: Remove.
17596 * sysdeps/unix/sysv/linux/tile: Likewise.
17597 * README (tilegx-*-linux-gnu): Remove from list of supported
17599 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
17600 contribution of support for generic Linux kernel syscall
17602 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
17603 tilegx configurations.
17604 (Config.install_linux_headers): Do not handle tile.
17605 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
17607 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
17608 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
17609 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
17610 conditional undefine and redefine.
17611 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
17613 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
17614 conditional undefine and redefine.
17616 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
17618 * signal/tst-sigaction.c: New file to test BZ #23069.
17619 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
17621 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17624 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
17625 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
17626 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
17627 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
17629 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17631 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
17632 _DIRENT_MATCHES_DIRENT64 is not defined.
17633 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
17634 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
17636 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
17637 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
17639 2018-04-25 Joseph Myers <joseph@codesourcery.com>
17641 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
17642 version to GCC 8 branch.
17644 2018-04-24 Joseph Myers <joseph@codesourcery.com>
17646 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
17647 (check_no_hidden): Use type of original function when declaring
17650 * sysdeps/unix/sysv/linux/sys/ptrace.h
17651 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
17652 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
17653 (struct __ptrace_seccomp_metadata): New type.
17654 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
17655 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17656 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
17657 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17658 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
17659 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17660 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
17661 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17662 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
17663 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17664 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
17665 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17666 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
17667 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17668 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
17669 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17671 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17673 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
17675 * dirent/versionsort.c (versionsort): Likewise.
17676 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
17677 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
17678 * dirent/versionsort64.c (versionsort64): Likewise.
17679 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
17680 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
17681 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
17682 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
17683 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
17684 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
17685 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
17686 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
17687 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
17688 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
17689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
17690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
17691 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
17692 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
17694 2018-04-23 Joseph Myers <joseph@codesourcery.com>
17696 * elf/elf.h (NT_PPC_PKEY): New macro.
17698 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
17701 * localedata/locales/hr_HR: fix thousands_sep and
17704 2018-04-20 Joseph Myers <joseph@codesourcery.com>
17706 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
17707 (XTABS): Define to TAB3.
17709 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17711 * sysdeps/hppa/fpu/libm-test-ulps: Update.
17713 * dirent/scandir-tail-common.c: New file.
17714 * dirent/scandir-tail.c: Use scandir-tail-common.c.
17715 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
17716 * dirent/scandir.c: Use scandir-tail-common.c.
17717 * dirent/scandirat.c: Likewise.
17718 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
17719 * dirent/scandir64.c (scandir64): Always build and alias to scandir
17720 if _DIRENT_MATCHES_DIRENT64 is defined.
17721 * dirent/scandirat64.c (scandirat64): Likewise.
17722 * include/dirent.h (__scandir_tail): Only define iff
17723 _DIRENT_MATCHES_DIRENT64 is not defined.
17724 (__scandir64_tail): Define regardless.
17725 (__scandirat, scandirat64): Remove libc_hidden_proto.
17726 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
17727 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
17728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
17729 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
17730 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
17731 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
17732 * sysdeps/unix/sysv/linux/scandir64.c: New file.
17734 2018-04-20 Joseph Myers <joseph@codesourcery.com>
17736 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
17738 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
17740 (_dl_aarch64_cap_flags): Add asimdfhm.
17742 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
17744 * sysdeps/nios2/libm-test-ulps: Update.
17746 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17748 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
17749 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
17751 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
17753 (_DIRENT_MATCHES_DIRENT64): Undef
17754 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
17755 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
17756 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
17757 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
17758 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
17759 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
17760 use getdents64 syscalls as base.
17761 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
17762 symbol if required.
17763 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
17764 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
17765 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
17766 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
17767 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
17768 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
17769 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
17770 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
17771 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17772 (__get_clockfreq_via_proc_openprom): Use __getdents64.
17773 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
17775 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
17777 * scripts/test_printers_common.py (init_test): Disable lock elision.
17779 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
17781 * math/test-tgmath.c (count_double, count_float,
17782 count_ldouble, count_cdouble, count_cfloat,
17783 count_cldouble): Use volatile int.
17785 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
17787 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
17788 (conformtest-xfail-conds): Add i386-gnu.
17789 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
17791 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
17792 ipc_perm.cuid, ipc_perm.cgid): Likewise.
17793 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
17794 msqid_ds.msg_lrpid): Likewise.
17795 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
17797 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
17798 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
17799 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
17800 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
17802 (struct statvfs64): Likewise.
17803 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
17805 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
17806 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
17807 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
17808 instead of wait_queue.
17809 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
17810 instead of vm_area_struct.
17811 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
17812 struct sched_param definition to it.
17813 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
17814 * bits/types/struct_sched_param.h: New file.
17815 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
17816 <bits/types/struct_sched_param.h> instead of <sched.h>.
17817 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
17818 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
17819 generic version but include <bits/pthreadtypes.h> to make struct
17820 sigevent's sigev_notify_attributes field a pthread_attr_t*.
17821 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
17823 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
17824 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
17825 [__USE_XOPEN] (OFDEL): New macro.
17826 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
17827 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
17828 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
17830 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
17831 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
17832 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
17834 * sysdeps/i386/sys/ucontext.h: Likewise.
17835 * sysdeps/m68k/sys/ucontext.h: Likewise.
17836 * sysdeps/mips/sys/ucontext.h: Likewise.
17837 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
17838 * sysdeps/mach/hurd/i386/Makefile
17839 (test-xfail-POSIX/fcntl.h/conform): Add.
17840 (test-xfail-POSIX/signal.h/conform): Add.
17841 (test-xfail-POSIX/semaphore.h/conform): Add.
17842 (test-xfail-POSIX/regex.h/conform): Add.
17843 (test-xfail-POSIX/aio.h/conform): Add.
17844 (test-xfail-POSIX/mqueue.h/conform): Add.
17845 (test-xfail-POSIX/sys/types.h/conform): Add.
17846 (test-xfail-UNIX98/fcntl.h/conform): Add.
17847 (test-xfail-UNIX98/netdb.h/conform): Add.
17848 (test-xfail-UNIX98/signal.h/conform): Add.
17849 (test-xfail-UNIX98/semaphore.h/conform): Add.
17850 (test-xfail-UNIX98/regex.h/conform): Add.
17851 (test-xfail-UNIX98/aio.h/conform): Add.
17852 (test-xfail-UNIX98/ftw.h/conform): Add.
17853 (test-xfail-UNIX98/mqueue.h/conform): Add.
17854 (test-xfail-UNIX98/netinet/in.h/conform): Add.
17855 (test-xfail-UNIX98/sys/wait.h/conform): Add.
17856 (test-xfail-UNIX98/sys/sem.h/conform): Add.
17857 (test-xfail-UNIX98/sys/uio.h/conform): Add.
17858 (test-xfail-UNIX98/sys/socket.h/conform): Add.
17859 (test-xfail-UNIX98/sys/types.h/conform): Add.
17860 (test-xfail-UNIX98/stdlib.h/conform): Add.
17861 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
17862 (test-xfail-POSIX2008/fcntl.h/conform): Add.
17863 (test-xfail-POSIX2008/netdb.h/conform): Add.
17864 (test-xfail-POSIX2008/signal.h/conform): Add.
17865 (test-xfail-POSIX2008/semaphore.h/conform): Add.
17866 (test-xfail-POSIX2008/regex.h/conform): Add.
17867 (test-xfail-POSIX2008/aio.h/conform): Add.
17868 (test-xfail-POSIX2008/mqueue.h/conform): Add.
17869 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
17870 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
17871 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
17872 (test-xfail-POSIX2008/sys/types.h/conform): Add.
17873 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
17874 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
17875 (test-xfail-XOPEN2K/netdb.h/conform): Add.
17876 (test-xfail-XOPEN2K/signal.h/conform): Add.
17877 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
17878 (test-xfail-XOPEN2K/regex.h/conform): Add.
17879 (test-xfail-XOPEN2K/aio.h/conform): Add.
17880 (test-xfail-XOPEN2K/ftw.h/conform): Add.
17881 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
17882 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
17883 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
17884 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
17885 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
17886 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
17887 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
17888 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
17889 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
17890 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
17891 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
17892 (test-xfail-XOPEN2K8/signal.h/conform): Add.
17893 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
17894 (test-xfail-XOPEN2K8/regex.h/conform): Add.
17895 (test-xfail-XOPEN2K8/aio.h/conform): Add.
17896 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
17897 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
17898 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
17899 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
17900 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
17901 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
17902 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
17903 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
17904 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
17905 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
17906 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
17908 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
17909 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
17911 2018-04-18 Joseph Myers <joseph@codesourcery.com>
17913 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
17914 --enable-obsolete for powerpc-linux-gnuspe.
17916 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
17918 * conform/data/sys/un.h-data: Allow sun_ prefix.
17919 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
17921 * sysdeps/mach/include/mach.h: Likewise.
17922 * sysdeps/mach/include/mach/mig_support.h: Likewise.
17923 * sysdeps/mach/include/mach_error.h: Likewise.
17925 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17927 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
17928 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
17929 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
17930 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
17932 2018-04-16 Andreas Schwab <schwab@suse.de>
17935 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
17937 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17939 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
17940 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
17942 2018-04-12 DJ Delorie <dj@redhat.com>
17944 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
17947 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
17949 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
17950 (struct kernel_sigaction): Use the same definition on 31bit as is used
17953 2018-04-09 Florian Weimer <fweimer@redhat.com>
17956 * resolv/res_send.c (send_dg): Use designated initializers instead
17957 of assignment to zero-initialize other fields of struct mmsghdr.
17959 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17961 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
17962 __READDIR_ALIAS): Undefine after usage.
17963 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
17964 __READDIR_R_ALIAS): Likewise.
17965 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
17966 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
17967 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
17968 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
17969 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
17970 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
17971 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17972 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17973 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
17974 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
17975 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
17976 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
17977 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17978 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
17979 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
17980 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
17981 * sysdeps/unix/sysv/linux/readdir.c: New file.
17982 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
17983 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
17984 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
17986 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
17988 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
17990 * manual/charset.texi (Converting a Character): Fix typo.
17992 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17994 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17996 * sysdeps/arm/libm-test-ulps: Update.
17998 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
17999 as base implementation.
18000 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
18001 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
18002 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18003 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18004 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
18005 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
18006 remove unrequired definitions and update comments.
18007 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
18008 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
18009 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
18010 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
18011 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
18012 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
18013 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
18014 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
18015 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
18016 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
18017 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
18018 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
18019 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
18020 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
18021 and RESET_SA_RESTORER hooks.
18023 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
18025 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18027 2018-04-05 Florian Weimer <fweimer@redhat.com>
18029 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
18030 integer overflow, memory leak on error, and indeterminate errno
18031 value. Add a null wide character to terminate the result string.
18032 * manual/charset.texi (Converting a Character): Mention embedded
18033 null bytes in the mbrtowc input string. Explain what happens in
18034 the -2 result case. Do not claim that mbrtowc is simple or
18035 obvious to use. Adjust the description of the code example. Use
18036 @code, not @var, for concrete variables.
18038 2018-04-05 Florian Weimer <fweimer@redhat.com>
18040 * manual/examples/mbstouwcs.c: New file.
18041 * manual/charset.texi (Converting a Character): Include it.
18043 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18045 * include/dirent.h (dirfd): Add hidden proto.
18046 * dirent/dirfd.c (dirfd): Add hidden def.
18047 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
18048 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
18050 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18052 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
18053 sin, cos and sincos to 1 ULP.
18055 2018-04-04 Maciej W. Rozycki <macro@mips.com>
18058 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
18060 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
18061 * elf/tst-absolute-sym.c: New file.
18062 * elf/tst-absolute-sym-lib.c: New file.
18063 * elf/tst-absolute-sym-lib.lds: New file.
18064 * elf/Makefile (tests): Add `tst-absolute-sym'.
18065 (modules-names): Add `tst-absolute-sym-lib'.
18066 (LDLIBS-tst-absolute-sym-lib.so): New variable.
18067 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
18068 ($(objpfx)tst-absolute-sym): New dependency.
18071 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
18073 (SYMBOL_ADDRESS): New macro.
18074 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
18075 SYMBOL_ADDRESS for symbol address calculation.
18076 * elf/dl-runtime.c (_dl_fixup): Likewise.
18077 (_dl_profile_fixup): Likewise.
18078 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
18079 * elf/rtld.c (dl_main): Likewise.
18080 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
18081 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
18082 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
18083 (elf_machine_rela): Likewise.
18084 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
18085 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
18086 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18087 (elf_machine_rela): Likewise.
18088 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18089 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
18090 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
18091 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
18093 (elf_machine_reloc): Likewise.
18094 (elf_machine_got_rel): Likewise.
18095 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
18096 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
18097 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18099 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18101 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
18102 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18104 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18106 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18107 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18109 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18111 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
18112 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18114 2018-04-04 Zack Weinberg <zackw@panix.com>
18116 * sysdeps/generic/internal-signals.h: Include signal.h,
18117 sigsetops.h, and stdbool.h.
18118 (__libc_signal_block_all): Actually block all signals.
18119 (__libc_signal_block_app): Likewise.
18120 (__libc_signal_restore_set): Actually restore the signal mask.
18122 2018-04-04 Florian Weimer <fweimer@redhat.com>
18124 inet: Actually build and run tst-deadline.
18125 * inet/Makefile (tests-internal): Add tst-deadline and do not
18126 overwrite the variable.
18127 (tests-static-internal): Remove variable.
18129 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
18132 * bits/uio-ext.h (RWF_APPEND): New.
18133 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
18134 * manual/llio.texi: Document RWF_APPEND.
18135 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
18136 (RWF_SUPPORTED): Add RWF_APPEND.
18138 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18141 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
18142 check for internal nptl signals.
18143 * nptl/sigaction.c (__sigaction): Likewise.
18144 * signal/sigaddset.c (sigaddset): Likewise.
18145 * signal/sigdelset.c (sigdelset): Likewise.
18146 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
18147 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
18149 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
18150 to filter out internal nptl signals.
18151 * signal/tst-sigset.c (do_test): Check ech signal indidually and
18152 also check realtime signals using standard macros.
18153 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
18154 __is_internal_signal, __libc_signal_block_all,
18155 __libc_signal_block_app, __libc_signal_restore_set): New functions.
18156 * sysdeps/nptl/sigfillset.c: Remove file.
18157 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
18158 Change return to bool.
18159 (__clear_internal_signals): Remove SIGTIMER clean since it is
18160 equal to SIGCANEL on Linux.
18161 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
18162 signal set was constructed using standard functions.
18164 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18166 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
18167 ifname is too long.
18168 * hurd/hurdsig.c (interrupted_reply_port_location): Use
18169 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
18170 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
18172 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
18173 * signal/sigaddset.c: Include <sigsetopts.h>.
18174 * signal/sigdelset.c: Likewise.
18176 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18178 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
18180 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
18181 logic as sin and cos.
18183 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18185 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
18186 inputs. Return correct sign.
18187 (do_sincos): Remove small input check before do_sin, let do_sin set
18192 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18194 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
18195 (do_cos_slow): Likewise.
18196 (do_sin_slow): Likewise.
18197 (reduce_and_compute): Likewise.
18202 (sloww1): Likewise.
18203 (sloww2): Likewise.
18205 (bslow1): Likewise.
18206 (bslow2): Likewise.
18207 (cslow2): Likewise.
18209 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18211 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
18212 (do_cos): Remove corp parameter and calculations.
18213 (do_sin): Likewise.
18214 (do_sincos): Remove cor variable.
18215 (__sin): Use do_sincos for huge inputs.
18217 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
18218 (reduce_and_compute_sincos): Remove unused function.
18220 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18222 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
18223 reduce_sincos, improve accuracy to 136 bits.
18224 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
18225 (__sin): Use improved reduction and simplified do_sincos calculation.
18227 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
18229 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18231 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
18232 (do_sincos_2): Likewise.
18233 (__sin): Remove middle range reduction case.
18235 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
18238 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18240 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
18241 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
18244 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
18246 2018-04-03 Joseph Myers <joseph@codesourcery.com>
18248 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
18251 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18253 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
18254 Remove definitions.
18255 (opendir_oflags): Use O_DIRECTORY regardless.
18256 (__opendir, __opendirat): Remove need_isdir_precheck usage.
18257 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
18259 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18261 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
18262 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
18264 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
18265 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
18266 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
18267 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
18268 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
18269 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
18271 * htl/Makefile: Bump licence to LGPL 2.1+.
18272 * htl/alloca_cutoff.c: Likewise.
18273 * htl/cthreads-compat.c: Likewise.
18274 * htl/lockfile.c: Likewise.
18275 * htl/pt-alloc.c: Likewise.
18276 * htl/pt-cancel.c: Likewise.
18277 * htl/pt-cleanup.c: Likewise.
18278 * htl/pt-create.c: Likewise.
18279 * htl/pt-dealloc.c: Likewise.
18280 * htl/pt-detach.c: Likewise.
18281 * htl/pt-exit.c: Likewise.
18282 * htl/pt-getattr.c: Likewise.
18283 * htl/pt-initialize.c: Likewise.
18284 * htl/pt-internal.h: Likewise.
18285 * htl/pt-join.c: Likewise.
18286 * htl/pt-self.c: Likewise.
18287 * htl/pt-setcancelstate.c: Likewise.
18288 * htl/pt-setcanceltype.c: Likewise.
18289 * htl/pt-sigmask.c: Likewise.
18290 * htl/pt-spin-inlines.c: Likewise.
18291 * htl/pt-testcancel.c: Likewise.
18292 * htl/pt-yield.c: Likewise.
18293 * htl/tests/test-1.c: Likewise.
18294 * htl/tests/test-10.c: Likewise.
18295 * htl/tests/test-11.c: Likewise.
18296 * htl/tests/test-12.c: Likewise.
18297 * htl/tests/test-13.c: Likewise.
18298 * htl/tests/test-14.c: Likewise.
18299 * htl/tests/test-15.c: Likewise.
18300 * htl/tests/test-16.c: Likewise.
18301 * htl/tests/test-17.c: Likewise.
18302 * htl/tests/test-2.c: Likewise.
18303 * htl/tests/test-3.c: Likewise.
18304 * htl/tests/test-4.c: Likewise.
18305 * htl/tests/test-5.c: Likewise.
18306 * htl/tests/test-6.c: Likewise.
18307 * htl/tests/test-7.c: Likewise.
18308 * htl/tests/test-8.c: Likewise.
18309 * htl/tests/test-9.c: Likewise.
18310 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
18311 * sysdeps/htl/bits/cancelation.h: Likewise.
18312 * sysdeps/htl/bits/pthread-np.h: Likewise.
18313 * sysdeps/htl/bits/pthread.h: Likewise.
18314 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
18315 * sysdeps/htl/bits/semaphore.h: Likewise.
18316 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
18317 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
18318 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
18319 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
18320 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
18321 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
18322 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
18323 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
18324 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
18325 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
18326 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
18327 * sysdeps/htl/old_pt-atfork.c: Likewise.
18328 * sysdeps/htl/pt-atfork.c: Likewise.
18329 * sysdeps/htl/pt-attr-destroy.c: Likewise.
18330 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
18331 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
18332 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
18333 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
18334 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
18335 * sysdeps/htl/pt-attr-getscope.c: Likewise.
18336 * sysdeps/htl/pt-attr-getstack.c: Likewise.
18337 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
18338 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
18339 * sysdeps/htl/pt-attr-init.c: Likewise.
18340 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
18341 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
18342 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
18343 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
18344 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
18345 * sysdeps/htl/pt-attr-setscope.c: Likewise.
18346 * sysdeps/htl/pt-attr-setstack.c: Likewise.
18347 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
18348 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
18349 * sysdeps/htl/pt-attr.c: Likewise.
18350 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
18351 * sysdeps/htl/pt-barrier-init.c: Likewise.
18352 * sysdeps/htl/pt-barrier-wait.c: Likewise.
18353 * sysdeps/htl/pt-barrier.c: Likewise.
18354 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
18355 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
18356 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
18357 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
18358 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
18359 * sysdeps/htl/pt-cond-destroy.c: Likewise.
18360 * sysdeps/htl/pt-cond-init.c: Likewise.
18361 * sysdeps/htl/pt-cond-signal.c: Likewise.
18362 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
18363 * sysdeps/htl/pt-cond-wait.c: Likewise.
18364 * sysdeps/htl/pt-cond.c: Likewise.
18365 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
18366 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
18367 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
18368 * sysdeps/htl/pt-condattr-init.c: Likewise.
18369 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
18370 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
18371 * sysdeps/htl/pt-destroy-specific.c: Likewise.
18372 * sysdeps/htl/pt-equal.c: Likewise.
18373 * sysdeps/htl/pt-getconcurrency.c: Likewise.
18374 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
18375 * sysdeps/htl/pt-getschedparam.c: Likewise.
18376 * sysdeps/htl/pt-getspecific.c: Likewise.
18377 * sysdeps/htl/pt-init-specific.c: Likewise.
18378 * sysdeps/htl/pt-key-create.c: Likewise.
18379 * sysdeps/htl/pt-key-delete.c: Likewise.
18380 * sysdeps/htl/pt-key.h: Likewise.
18381 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
18382 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
18383 * sysdeps/htl/pt-mutex-init.c: Likewise.
18384 * sysdeps/htl/pt-mutex-lock.c: Likewise.
18385 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
18386 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
18387 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
18388 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
18389 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
18390 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
18391 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
18392 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
18393 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
18394 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
18395 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
18396 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
18397 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
18398 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
18399 * sysdeps/htl/pt-mutexattr.c: Likewise.
18400 * sysdeps/htl/pt-once.c: Likewise.
18401 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
18402 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
18403 * sysdeps/htl/pt-rwlock-init.c: Likewise.
18404 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
18405 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
18406 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
18407 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
18408 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
18409 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
18410 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
18411 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
18412 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
18413 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
18414 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
18415 * sysdeps/htl/pt-setconcurrency.c: Likewise.
18416 * sysdeps/htl/pt-setschedparam.c: Likewise.
18417 * sysdeps/htl/pt-setschedprio.c: Likewise.
18418 * sysdeps/htl/pt-setspecific.c: Likewise.
18419 * sysdeps/htl/pt-spin.c: Likewise.
18420 * sysdeps/htl/pt-startup.c: Likewise.
18421 * sysdeps/htl/pthread.h: Likewise.
18422 * sysdeps/htl/sem-close.c: Likewise.
18423 * sysdeps/htl/sem-destroy.c: Likewise.
18424 * sysdeps/htl/sem-getvalue.c: Likewise.
18425 * sysdeps/htl/sem-init.c: Likewise.
18426 * sysdeps/htl/sem-open.c: Likewise.
18427 * sysdeps/htl/sem-post.c: Likewise.
18428 * sysdeps/htl/sem-timedwait.c: Likewise.
18429 * sysdeps/htl/sem-trywait.c: Likewise.
18430 * sysdeps/htl/sem-unlink.c: Likewise.
18431 * sysdeps/htl/sem-wait.c: Likewise.
18432 * sysdeps/hurd/htl/pt-kill.c: Likewise.
18433 * sysdeps/i386/htl/pt-machdep.h: Likewise.
18434 * sysdeps/mach/htl/pt-block.c: Likewise.
18435 * sysdeps/mach/htl/pt-spin.c: Likewise.
18436 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
18437 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
18438 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
18439 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
18440 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
18441 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
18442 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
18443 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
18444 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
18445 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
18446 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
18447 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
18448 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
18449 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
18450 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
18451 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
18452 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
18453 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
18454 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
18455 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
18456 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
18457 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
18458 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
18459 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
18460 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
18461 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
18462 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
18463 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
18464 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
18465 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
18466 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
18467 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
18468 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
18469 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
18470 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
18471 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
18472 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
18473 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
18474 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
18475 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
18476 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
18477 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
18478 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
18480 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
18481 * README: Remove the mention of out-of-tree patches needed for
18484 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
18485 (UTIME_NOW, UTIME_OMIT): Define macros.
18487 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
18488 instead of pthread_detach.
18489 (__cthread_fork): Call __pthread_create instead of pthread_create.
18490 (__cthread_keycreate): Call __pthread_key_create instead of
18491 pthread_key_create.
18492 (__cthread_getspecific): Call __pthread_getspecific instead of
18493 pthread_getspecific.
18494 (__cthread_setspecific): Call __pthread_setspecific instead of
18495 pthread_setspecific.
18496 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
18497 __pthread_mutex_unlock instead of pthread_mutex_lock and
18498 pthread_mutex_unlock.
18499 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
18500 ___pthread_get_cleanup_stack.
18501 (__pthread_get_cleanup_stack): New strong alias.
18502 * htl/pt-create.c: Include <pthreadP.h>.
18503 (entry_point): Call __pthread_exit instead of pthread_exit.
18504 (pthread_create): Rename to __pthread_create.
18505 (pthread_create): New strong alias.
18506 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
18507 (pthread_detach): New strong alias.
18508 (__pthread_detach): Call __pthread_cond_broadcast instead of
18509 pthread_cond_broadcast.
18510 * htl/pt-exit.c: Include <pthreadP.h>.
18511 (__pthread_exit): Call __pthread_setcancelstate and
18512 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
18513 __pthread_get_cleanup_stack.
18514 * htl/pt-testcancel.c: Include <pthreadP.h>.
18515 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
18516 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
18517 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
18518 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
18519 pthread_attr_getstacksize.
18520 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
18521 Rename to __pthread_attr_getstackaddr.
18522 (pthread_attr_getstackaddr): New strong alias.
18523 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
18524 Rename to __pthread_attr_getstacksize.
18525 (pthread_attr_getstacksize): New strong alias.
18526 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
18527 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
18528 (pthread_attr_setstack): New strong alias.
18529 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
18530 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
18531 pthread_attr_getstacksize, pthread_attr_setstacksize and
18532 pthread_attr_setstackaddr.
18533 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
18534 Rename to __pthread_attr_setstackaddr.
18535 (pthread_attr_setstackaddr): New strong alias.
18536 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
18537 Rename to __pthread_attr_setstacksize.
18538 (pthread_attr_setstacksize): New strong alias.
18539 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
18540 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
18542 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
18543 (__pthread_key_create): New hidden def.
18544 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
18545 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
18546 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
18547 __pthread_exit, __pthread_key_create, __pthread_getspecific,
18548 __pthread_setspecific, __pthread_setcancelstate,
18549 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
18550 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
18551 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
18553 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
18554 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
18555 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
18556 (pthread_attr_setstackaddr): New strong alias.
18557 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
18558 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
18559 (pthread_attr_setstacksize): New strong alias.
18560 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
18561 (call_exit): Call __pthread_exit instead of pthread_exit.
18562 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
18563 (_pthread_mutex_init): New hidden definition.
18564 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
18565 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
18566 instead of pthread_attr_init and pthread_attr_setstack.
18568 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
18569 __vm_deallocate instead of vm_allocate and vm_deallocate.
18570 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
18572 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
18574 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
18576 * hurd/siginfo.c: Include <libioP.h>.
18577 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
18578 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
18580 * mach/devstream.c: Include <libioP.h>.
18581 (dealloc_ref): Call __mach_port_deallocate instead of
18582 mach_port_deallocate.
18583 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
18584 Call __mach_port_deallocate instead of mach_port_deallocate.
18585 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
18587 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
18589 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
18590 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
18591 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
18593 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
18595 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
18596 instead of sysconf.
18597 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
18598 __clock_gettime instead of clock_gettime.
18599 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
18600 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
18601 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
18602 * sysdeps/unix/bsd/stty.c (stty): Likewise.
18603 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
18605 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
18606 __clock_gettime and __nanosleep instead of clock_gettime and
18608 * hurd/catch-signal.c (hurd_catch_signal): Rename to
18609 __hurd_catch_signal.
18610 (hurd_catch_signal): New strong alias.
18611 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
18612 __hurd_catch_signal instead of hurd_catch_signal.
18613 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
18614 * hurd/hurdexec.c (_hurd_init): Add hidden def.
18615 * hurd/hurdinit.c (_hurd_init): Add hidden def.
18616 * hurd/hurdsig.c: Include <mach/mig_support.h>.
18617 (_hurd_thread_sigstate): Add hidden def.
18618 (_hurd_internal_post_signal): Use __mutex_unlock instead of
18620 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
18621 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
18622 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
18623 __hurd_file_name_path_lookup.
18624 (hurd_file_name_path_lookup): New strong alias.
18625 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
18626 hurd_file_name_path_lookup.
18627 * mach/errstring.c (mach_error_type): Add hidden def.
18628 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
18629 * mach/mutex-init.c (__mutex_init): Add hidden def.
18630 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
18631 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
18632 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
18633 * sysdeps/mach/hurd/getcwd.c
18634 (_hurd_canonicalize_directory_name_internal): Rename to
18635 __hurd_canonicalize_directory_name_internal.
18636 (_hurd_canonicalize_directory_name_internal): New strong alias.
18637 (__canonicalize_directory_name_internal, __getcwd): Call
18638 __hurd_canonicalize_directory_name_internal instead of
18639 _hurd_canonicalize_directory_name_internal.
18640 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
18641 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
18643 * sysdeps/hurd/include/hurd.h: New file.
18644 * sysdeps/hurd/include/hurd/fd.h: New file.
18645 * sysdeps/hurd/include/hurd/signal.h: New file.
18646 * sysdeps/mach/include/lock-intern.h: New file.
18647 * sysdeps/mach/include/mach.h: New file.
18648 * sysdeps/mach/include/mach/mig_support.h: New file.
18649 * sysdeps/mach/include/mach_error.h: New file.
18650 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
18652 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
18653 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
18654 _HEADER_H_HIDDEN_DEF macro.
18655 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
18656 _hurd_fd_error_signal): Add hidden prototype.
18657 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
18659 * libio/iolibio.h (_IO_puts): New hidden prototype.
18660 * libio/ioputs.c (_IO_puts): New hidden def.
18661 * sysdeps/mach/hurd/localplt.data: New file.
18663 2018-04-02 Agustina Arzille <avarzille@riseup.net>
18664 Amos Jeffries <squid3@treenet.co.nz>
18665 David Michael <fedora.dm0@gmail.com>
18666 Marco Gerards <marco@gnu.org>
18667 Marcus Brinkmann <marcus@gnu.org>
18668 Neal H. Walfield <neal@gnu.org>
18669 Pino Toscano <toscano.pino@tiscali.it>
18670 Richard Braun <rbraun@sceen.net>
18671 Roland McGrath <roland@gnu.org>
18672 Samuel Thibault <samuel.thibault@ens-lyon.org>
18673 Thomas DiModica <ricinwich@yahoo.com>
18674 Thomas Schwinge <tschwinge@gnu.org>
18676 * htl: New directory.
18677 * sysdeps/htl: New directory.
18678 * sysdeps/hurd/htl: New directory.
18679 * sysdeps/i386/htl: New directory.
18680 * sysdeps/mach/htl: New directory.
18681 * sysdeps/mach/hurd/htl: New directory.
18682 * sysdeps/mach/hurd/i386/htl: New directory.
18683 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
18684 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
18685 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
18687 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18689 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
18690 signals in thread created for runing timers.
18692 2018-04-01 Florian Weimer <fweimer@redhat.com>
18694 * support/support_format_addrinfo.c (support_format_addrinfo):
18695 Include unknown error number in formatted result.
18697 2018-03-29 Florian Weimer <fweimer@redhat.com>
18699 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
18702 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18704 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
18705 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
18706 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
18707 (__ASSUME_CLONE_BACKWARDS): Define.
18709 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
18712 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
18713 early when linux sentinel value is set.
18715 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18717 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
18719 2018-03-27 Andreas Schwab <schwab@suse.de>
18722 * resolv/res_send.c (__res_context_send): Return ENOMEM if
18723 allocation of private copy of nsaddr_list fails.
18725 2018-03-26 Joseph Myers <joseph@codesourcery.com>
18728 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
18729 * sysdeps/unix/sysv/linux/umount.c: ... here.
18730 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
18731 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
18732 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
18733 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
18734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
18735 * sysdeps/unix/sysv/linux/umount.S: Likewise.
18736 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
18738 2018-03-26 Andreas Schwab <schwab@suse.de>
18740 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
18741 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
18742 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
18743 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
18744 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
18745 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
18746 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
18747 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
18748 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
18749 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
18750 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
18751 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
18752 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
18753 (R_RISCV_NUM): Define.
18755 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
18757 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
18758 TLS declaration of errno.
18759 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
18761 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
18762 (ARCH_SETUP_TLS): Likewise.
18763 * sysdeps/mach/hurd/libc-start.h: New file copied from
18764 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
18765 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
18766 instead of __libc_setup_tls.
18767 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
18768 __libc_setup_tls before initializing libpthread and running _hurd_init
18769 which starts the signal thread.
18770 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
18772 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18774 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
18777 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
18778 after it is defined.
18780 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
18781 Max Horn <max@quendi.de>
18785 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
18787 * string/test-memmove.c (do_test2): New testcase.
18789 2018-03-22 Joseph Myers <joseph@codesourcery.com>
18791 * sysdeps/generic/frame.h: Remove file.
18792 * sysdeps/arm/frame.h: Likewise.
18793 * sysdeps/hppa/frame.h: Likewise.
18794 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
18796 (GET_FRAME): Likewise.
18797 (GET_STACK): Likewise.
18798 (CALL_SIGHANDLER): Likewise.
18799 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
18801 (GET_FRAME): Likewise.
18802 (GET_STACK): Likewise.
18803 (CALL_SIGHANDLER): Likewise.
18804 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
18805 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18806 (GET_FRAME): Likewise.
18807 (GET_STACK): Likewise.
18808 (CALL_SIGHANDLER): Likewise.
18809 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
18810 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18811 (GET_FRAME): Likewise.
18812 (GET_STACK): Likewise.
18813 (ADVANCE_STACK_FRAME): Likewise.
18814 (CALL_SIGHANDLER): Likewise.
18815 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
18816 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18817 (GET_FRAME): Likewise.
18818 (GET_STACK): Likewise.
18819 (CALL_SIGHANDLER): Likewise.
18820 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
18821 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18822 (GET_FRAME): Likewise.
18823 (GET_STACK): Likewise.
18824 (CALL_SIGHANDLER): Likewise.
18825 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
18826 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18827 (GET_FRAME): Likewise.
18828 (GET_STACK): Likewise.
18829 (CALL_SIGHANDLER): Likewise.
18830 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
18831 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18832 (GET_FRAME): Likewise.
18833 (GET_STACK): Likewise.
18834 (CALL_SIGHANDLER): Likewise.
18835 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
18836 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18837 (GET_FRAME): Likewise.
18838 (GET_STACK): Likewise.
18839 (CALL_SIGHANDLER): Likewise.
18840 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
18841 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18842 (GET_FRAME): Likewise.
18843 (GET_STACK): Likewise.
18844 (CALL_SIGHANDLER): Likewise.
18845 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
18846 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18847 (GET_FRAME): Likewise.
18848 (GET_STACK): Likewise.
18849 (CALL_SIGHANDLER): Likewise.
18850 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
18851 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18852 (GET_FRAME): Likewise.
18853 (GET_STACK): Likewise.
18854 (CALL_SIGHANDLER): Likewise.
18855 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
18856 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18857 (GET_FRAME): Likewise.
18858 (GET_STACK): Likewise.
18859 (CALL_SIGHANDLER): Likewise.
18860 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
18861 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18862 (FIRST_FRAME_POINTER): Likewise.
18863 (ADVANCE_STACK_FRAME): Likewise.
18864 (GET_STACK): Likewise.
18865 (GET_FRAME): Likewise.
18866 (CALL_SIGHANDLER): Likewise.
18867 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
18868 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18869 (ADVANCE_STACK_FRAME): Likewise.
18870 (GET_STACK): Likewise.
18871 (GET_FRAME): Likewise.
18872 (CALL_SIGHANDLER): Likewise.
18873 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
18874 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18875 (GET_FRAME): Likewise.
18876 (GET_STACK): Likewise.
18877 (CALL_SIGHANDLER): Likewise.
18878 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
18879 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18880 (GET_FRAME): Likewise.
18881 (GET_STACK): Likewise.
18882 (CALL_SIGHANDLER): Likewise.
18884 2018-03-21 Joseph Myers <joseph@codesourcery.com>
18886 * sysdeps/x86_64/backtrace.c: Move to ....
18887 * debug/backtrace.c: ... here.
18888 * sysdeps/aarch64/backtrace.c: Remove file.
18889 * sysdeps/alpha/backtrace.c: Likewise.
18890 * sysdeps/hppa/backtrace.c: Likewise.
18891 * sysdeps/ia64/backtrace.c: Likewise.
18892 * sysdeps/mips/backtrace.c: Likewise.
18893 * sysdeps/nios2/backtrace.c: Likewise.
18894 * sysdeps/riscv/backtrace.c: Likewise.
18895 * sysdeps/sh/backtrace.c: Likewise.
18896 * sysdeps/tile/backtrace.c: Likewise.
18898 2018-03-20 Joseph Myers <joseph@codesourcery.com>
18901 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
18904 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
18907 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
18908 possibly overflowing computations.
18910 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
18912 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
18913 values from Linux-specific section now that it is in the GNU section.
18914 * sysdeps/gnu/errlist.c: Regenerate.
18916 2018-03-20 Joseph Myers <joseph@codesourcery.com>
18918 * math/Makefile (libm-narrow-fns): Add sub.
18919 (libm-test-funcs-narrow): Likewise.
18920 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
18921 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
18922 * math/gen-auto-libm-tests.c (test_functions): Add sub.
18923 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
18924 (NARROW_SUB_ROUND_TO_ODD): Likewise.
18925 (NARROW_SUB_TRIVIAL): Likewise.
18926 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
18928 (__dsubl): Likewise.
18929 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
18931 (CFLAGS-nldbl-dsub.c): New variable.
18932 (CFLAGS-nldbl-fsub.c): Likewise.
18933 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
18935 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
18937 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
18938 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
18939 * math/auto-libm-test-in: Add tests of sub.
18940 * math/auto-libm-test-out-narrow-sub: New generated file.
18941 * math/libm-test-narrow-sub.inc: New file.
18942 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
18943 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
18944 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
18945 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
18946 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
18947 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
18948 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
18949 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
18950 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
18951 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
18952 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
18953 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
18954 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
18955 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
18956 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
18957 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
18958 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
18959 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
18960 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18961 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
18962 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18963 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18964 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18965 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18966 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18967 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18968 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18969 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18970 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18971 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18972 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18973 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
18976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18978 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18979 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18980 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18981 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18982 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18983 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18984 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
18985 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
18986 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18987 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18989 2018-03-19 Joseph Myers <joseph@codesourcery.com>
18992 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
18994 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
18996 * benchtests/bench-timing.h (attribute_hidden): Undefine.
18998 2018-03-18 Richard Braun <rbraun@sceen.net>
19000 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
19003 2018-03-18 Agustina Arzille <avarzille@riseup.net>
19005 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
19006 (__libc_cleanup_fct): Define function.
19007 (__libc_cleanup_region_start, __libc_cleanup_region_end,
19008 __libc_cleanup_end): Rewrite implementation using
19009 __attribute__ ((__cleanup__)).
19010 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
19011 * hurd/Makefile (routines): Add hurdlock.
19012 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
19014 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
19015 * hurd/hurdpid.c: Include <lowlevellock.h>
19016 (_S_msg_proc_newids): Use lll_wait to synchronize.
19017 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
19018 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
19019 * mach/Makefile (lock-headers): Remove machine-lock.h.
19020 * mach/lock-intern.h: Include <lowlevellock.h> instead of
19022 (__spin_lock_t): New type.
19023 (__SPIN_LOCK_INITIALIZER): New macro.
19024 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
19025 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
19026 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
19027 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
19028 (__mutex_init): Initialize with lll.
19029 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
19030 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
19032 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19033 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
19034 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
19035 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
19036 (__setpgid): Use lll for synchronization.
19037 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
19038 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
19039 instead of <cthreads.h>.
19040 (_IO_lock_inexpensive): New macro
19041 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
19042 (__libc_lock_self0): New declaration.
19043 (__libc_lock_owner_self): New macro.
19044 (__libc_key_t): Remove type.
19045 (_LIBC_LOCK_INITIALIZER): New macro.
19046 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
19047 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
19048 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
19049 __libc_lock_define_initialized_recursive,
19050 __rtld_lock_define_initialized_recursive,
19051 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
19052 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
19053 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
19054 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
19055 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
19056 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
19057 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
19059 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
19060 * hurd/hurdlock.c: New file.
19061 * hurd/hurdlock.h: New file.
19062 * mach/lowlevellock.h: New file
19064 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
19066 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
19067 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
19068 when opening a symlink with O_NOFOLLOW.
19069 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
19070 path when flags contains O_NOFOLLOW.
19071 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
19072 if flags contains O_DIRECTORY and the result is a directory.
19073 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
19074 oneself when the pointer given in D is nul (as set by ext2fs).
19075 * sysdeps/mach/hurd/mlockall.c: New file.
19076 * sysdeps/mach/hurd/munlockall.c: New file.
19078 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
19080 * hurd/hurdsig.c: Include <pthread.h>.
19081 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
19082 get the signal thread stack layout.
19083 * hurd/Makefile (headers): Remove threadvar.h.
19084 (inline-headers): Remove threadvar.h.
19085 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
19086 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
19087 __hurd_threadvar_max, __hurd_errno_location.
19088 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
19089 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
19090 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
19091 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
19092 unless TLS is not initialized yet, in which case we do not need a
19093 critical section yet anyway.
19094 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
19096 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
19098 (__hurd_threadvar_index): Remove enum.
19099 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
19100 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
19102 (__hurd_reply_port0): New variable declaration.
19103 (__hurd_local_reply_port): New macro.
19104 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
19105 (interrupted_reply_port_location): Add thread_t parameter. Use it
19106 with THREAD_TCB to access thread-local variables.
19107 (_hurdsig_abort_rpcs): Pass ss->thread to
19108 interrupted_reply_port_location.
19109 (_hurd_internal_post_signal): Likewise.
19110 (_hurdsig_init): Use presence of cthread_fork instead of
19111 __hurd_threadvar_stack_mask to start signal thread by hand.
19112 Remove signal thread threadvar initialization.
19113 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
19114 * hurd/sigunwind.c: Include <hurd/threadvar.h>
19115 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
19117 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
19119 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
19120 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
19121 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
19122 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
19123 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
19124 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
19125 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
19127 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
19128 <hurd/threadvar.h>.
19129 [IS_IN(rtld)] (rtld_errno): New variable.
19130 [IS_IN(rtld)] (__errno_location): New weak function.
19131 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
19132 * sysdeps/mach/hurd/errno.c: Remove file.
19133 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
19134 (__fork): Remove THREADVAR_SPACE macro and its use.
19135 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
19137 (init): Do not initialize threadvar.
19138 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
19140 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
19141 __hurd_local_reply_port instead of threadvar.
19142 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
19143 _hurd_sigstate fields.
19144 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
19145 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
19146 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
19147 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
19148 instead of threadvar.
19149 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
19150 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
19151 (use_threadvar, global_reply_port): Remove variables.
19152 (__hurd_reply_port0): New variable.
19153 (__mig_get_reply_port): Use __hurd_local_reply_port and
19154 __hurd_reply_port0 instead of threadvar.
19155 (__mig_dealloc_reply_port): Likewise.
19156 (__mig_init): Do not initialize threadvar.
19157 * sysdeps/mach/hurd/profil.c: Fix comment.
19158 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
19159 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
19160 cthread_keycreate, cthread_getspecific, cthread_setspecific to
19161 __cthread_fork, __cthread_detach, __pthread_getattr_np,
19162 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
19163 __cthread_setspecific.
19164 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
19165 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
19166 __cthread_t instead of cthread_fork, cthread_detach,
19167 pthread_getattr_np, pthread_attr_getstack.
19168 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
19169 __cthread_keycreate.
19170 (cthread_getspecific): Rename to __cthread_getspecific.
19171 (cthread_setspecific): Rename to __cthread_setspecific.
19172 (__libc_getspecific): Use __cthread_getspecific instead of
19173 cthread_getspecific.
19174 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
19175 __cthread_keycreate instead of cthread_keycreate.
19176 (__libc_setspecific): Use __cthread_setspecific instead of
19177 cthread_setspecific.
19178 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
19180 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
19181 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
19182 testing whether it is defined.
19184 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19186 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
19188 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
19189 * sysdeps/mach/i386/thread_state.h
19190 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
19192 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
19194 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
19196 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
19197 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
19199 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
19201 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
19202 descriptor instead of creating a new one.
19203 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
19205 * mach/setup-thread.c: Include <ldsodefs.h>.
19206 (__mach_setup_thread): Call _dl_allocate_tls, pass
19207 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
19208 MACHINE_THREAD_STATE_FLAVOR, before getting
19209 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
19210 MACHINE_THREAD_STATE_FLAVOR with the result.
19211 * hurd/hurdfault.c (_hurdsig_fault_init): Call
19212 MACHINE_THREAD_STATE_FIX_NEW.
19213 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
19214 too. Add original thread parameter.
19216 2018-03-16 Joseph Myers <joseph@codesourcery.com>
19218 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
19219 Remove inline function.
19221 * sysdeps/i386/fpu/libm-test-ulps: Update.
19222 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19224 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
19226 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
19229 2018-03-15 Joseph Myers <joseph@codesourcery.com>
19231 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
19232 (__sincos_code): Remove define and undefine.
19233 [__FAST_MATH__] (__sincos): Remove inline function.
19234 [__FAST_MATH__] (__sincosf): Remove inline function.
19235 [__FAST_MATH__] (__sincosl): Remove inline function.
19236 (__atan2l): Remove inline functions.
19237 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
19238 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
19240 (floor): Remove inline function.
19242 [__FAST_MATH__] (__ldexp_code): Remove macro.
19243 [__FAST_MATH__] (ldexp): Remove inline function.
19244 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
19245 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
19246 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
19247 [__USE_ISOC99] (__lrint_code): Remove macro.
19248 [__USE_ISOC99] (__llrint_code): Likewise.
19249 [__USE_ISOC99] (lrintf): Remove inline function.
19250 [__USE_ISOC99] (lrint): Likewise.
19251 [__USE_ISOC99] (lrintl): Likewise.
19252 [__USE_ISOC99] (llrint): Likewise.
19253 [__USE_ISOC99] (llrintf): Likewise.
19254 [__USE_ISOC99] (llrintl): Likewise.
19256 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19258 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
19259 (__ieee754_sqrtf): Remove.
19260 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
19261 (__ieee754_sqrtf): Remove.
19262 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
19263 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
19264 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
19265 (__ieee754_sqrtf): Remove.
19266 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
19267 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
19270 (__ieee754_sqrt): Remove.
19271 (__ieee754_sqrtf): Remove.
19272 (__ieee754_sqrtl): Remove.
19273 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
19274 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
19275 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
19276 (__ieee754_sqrtf): Remove.
19277 (__ieee754_sqrtl): Remove.
19279 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19281 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
19282 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
19283 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
19284 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
19285 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
19286 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19287 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19288 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19290 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
19291 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
19292 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
19293 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
19294 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
19295 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
19296 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
19297 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
19298 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
19299 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
19300 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
19301 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
19302 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
19303 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
19304 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
19305 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19306 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19307 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
19308 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
19309 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
19310 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19311 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19312 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
19313 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
19314 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
19315 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
19316 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19317 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19318 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
19319 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
19320 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
19321 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
19322 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
19323 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
19324 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19325 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19326 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
19327 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
19328 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
19329 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
19331 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19333 * include/math.h (sqrt): Declare with asm redirect.
19336 (sqrtf128): Likewise.
19337 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
19338 nonlib and libnldbl with -fmath-errno.
19339 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
19340 * math/w_sqrt_template.c: Likewise.
19341 * math/w_sqrtf_compat.c: Likewise.
19342 * math/w_sqrtl_compat.c: Likewise.
19343 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
19344 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
19345 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
19348 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19350 * benchtests/Makefile: Define _ISOMAC.
19351 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
19352 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
19353 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
19354 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
19355 * benchtests/bench-timing.h: Define attribute_hidden.
19357 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
19359 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
19362 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
19365 * localedata/locales/cs_CZ (mon): Rename to...
19367 (mon): Import from CLDR (genitive case).
19369 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
19372 * localedata/locales/el_CY (abmon): Rename to...
19373 (ab_alt_mon): This.
19374 (abmon): Import from CLDR (abbreviated genitive case).
19375 * localedata/locales/el_GR (abmon): Rename to...
19376 (ab_alt_mon): This.
19377 (abmon): Import from CLDR (abbreviated genitive case).
19379 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
19382 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
19384 2018-03-15 Robert Buj <robert.buj@gmail.com>
19387 * localedata/locales/ca_ES (abmon): Rename to...
19388 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
19389 (mon): Rename to...
19391 (abmon): Import from CLDR (genitive case, month names preceded by
19394 (abday): Synchronize with CLDR.
19395 (d_t_fmt): Likewise.
19399 (LC_TIME): Improve indentation.
19400 (LC_TELEPHONE): Likewise.
19401 (LC_NAME): Likewise.
19402 (LC_ADDRESS): Likewise.
19404 2018-03-14 Joseph Myers <joseph@codesourcery.com>
19406 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
19407 (lrintf): Remove definitions used only with old GCC.
19408 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
19409 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
19410 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
19411 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
19412 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
19413 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
19414 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
19415 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
19416 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
19417 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
19418 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
19419 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
19420 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
19421 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
19422 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
19423 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
19424 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
19425 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
19426 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
19427 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
19428 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
19429 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
19430 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
19431 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
19432 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
19433 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
19434 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
19435 [__FAST_MATH__] (__M_SQRT2): Remove macro.
19437 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
19439 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
19440 instruction to unbreak builds with binutils 2.26 and older.
19442 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
19444 * sysdeps/aarch64/strncmp.S (count): New macro.
19445 (strncmp): Store misaligned length in SRC1 in COUNT.
19446 (mutual_align): Adjust.
19447 (misaligned8): Load dword at a time when it is safe.
19449 2018-03-12 Zack Weinberg <zackw@panix.com>
19453 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
19454 if the _IO_EOF_SEEN bit is already set; update commentary.
19455 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
19456 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
19458 * support/support_openpty.c, support/tty.h: New files.
19459 * support/Makefile (libsupport-routines): Add support_openpty.
19461 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
19463 * libio/Makefile (tests): Add tst-fgetc-after-eof.
19464 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
19466 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
19468 * po/pt_BR.po: Update translations.
19470 2018-03-12 David Michael <fedora.dm0@gmail.com>
19472 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
19473 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
19474 get a port to the startup server.
19476 2018-03-11 Zack Weinberg <zackw@panix.com>
19478 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
19479 before nldbl-compat.h.
19481 2018-03-10 Zack Weinberg <zackw@panix.com>
19483 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
19484 math.h or math_private.h.
19486 * sysdeps/alpha/fpu/s_isnan.c
19487 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
19488 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
19489 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
19490 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
19491 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
19492 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
19493 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
19494 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
19495 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
19496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
19497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
19498 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
19499 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
19500 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
19501 Include math_private.h.
19503 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
19504 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
19505 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
19506 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
19507 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
19508 * sysdeps/powerpc/power7/fpu/s_logb.c:
19509 Include math.h and math_private.h.
19511 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
19512 uses of $at in .set noat / .set at.
19514 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
19516 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
19517 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
19518 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
19519 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
19522 2018-03-09 Florian Weimer <fweimer@redhat.com>
19524 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
19527 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
19530 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
19531 Add nop before __startcontext, add explaining comments.
19533 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19536 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
19538 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
19539 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
19540 Do not build hardware transactional code for __SPE__.
19541 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
19542 (__lll_trylock_elision): Likewise.
19543 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
19544 (__lll_unlock_elision): Likewise.
19546 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
19547 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
19548 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
19549 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
19550 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
19551 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
19552 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
19553 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
19554 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
19555 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
19556 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
19557 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
19558 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
19559 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
19560 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
19561 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
19562 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
19563 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
19564 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
19565 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
19566 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
19567 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19568 (__ASSUME_CLONE_BACKWARDS): Define.
19569 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
19570 __clone2 if __NR_clone2 is defined.
19571 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19572 (__ASSUME_CLONE_BACKWARDS): Likewise.
19573 * sysdeps/unix/sysv/linux/i386/kernel-features.h
19574 (__ASSUME_CLONE_BACKWARDS): Likewise.
19575 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19576 (__ASSUME_CLONE2): Likewise.
19577 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19578 (__ASSUME_CLONE_BACKWARDS3): Likewise.
19579 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
19580 variants and the define architecture can use.
19581 (__ASSUME_CLONE_DEFAULT): Define as default.
19582 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19583 (__ASSUME_CLONE_BACKWARDS): Likewise.
19584 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19585 (__ASSUME_CLONE_BACKWARDS): Likewise.
19586 * sysdeps/unix/sysv/linux/s390/kernel-features.h
19587 (__ASSUME_CLONE_BACKWARDS2): Likewise.
19589 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
19591 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
19593 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
19596 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
19597 (do_test_limit): Likewise.
19599 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
19600 for every implementation.
19601 (do_test): Likewise.
19603 * benchtests/bench-strncmp.c: Convert output to json.
19605 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19607 * io/futimens.c: Add missing start-of-file descriptive comment.
19608 * io/utime.c: Likewise.
19609 * misc/futimesat.c: Likewise.
19610 * misc/utimes.c: Likewise.
19611 * sysdeps/mach/hurd/futimesat.c: Likewise.
19612 * sysdeps/mach/hurd/utimes.c: Likewise.
19613 * sysdeps/posix/utime.c: Likewise.
19614 * sysdeps/posix/utimes.c: Likewise.
19615 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
19616 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
19617 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
19618 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
19620 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
19622 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
19624 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
19625 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
19626 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
19627 (__futimens): Move implementation to...
19628 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
19629 utime_tvalue_from_tspec): ... new helper functions.
19630 (hurd_futimens): New function.
19631 * sysdeps/mach/hurd/futimesat.c: New file.
19632 * sysdeps/mach/hurd/utimensat.c: New file.
19634 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
19636 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
19637 UTIME_OMIT): New macros.
19638 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
19639 before reverting to converting time spec to time value and calling
19641 * sysdeps/mach/hurd/utime-helper.c: New file.
19642 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
19643 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
19644 reverting to utime_tvalue_from_tval and __file_utimes.
19645 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
19646 (__lutimes): Just call hurd_futimens after lookup.
19647 * sysdeps/mach/hurd/utimes.c: Likewise.
19649 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
19651 * bits/sigaction.h: Add include guard.
19652 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
19653 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
19654 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
19655 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
19656 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
19657 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
19658 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
19659 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
19660 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
19662 2018-03-05 Joseph Myers <joseph@codesourcery.com>
19664 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
19665 -Wmaybe-uninitialized for -Os.
19666 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
19669 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19671 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
19672 __INO_T_MATCHES_INO64_T is defined.
19673 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
19674 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
19676 * dirent/alphasort64.c: Likewise.
19677 * dirent/scandir.c: Likewise.
19678 * dirent/scandir64-tail.c: Likewise.
19679 * dirent/scandir64.c: Likewise.
19680 * dirent/scandirat.c: Likewise.
19681 * dirent/scandirat64.c: Likewise.
19682 * dirent/versionsort.c: Likewise.
19683 * dirent/versionsort64.c: Likewise.
19684 * include/dirent.h: Likewise.
19686 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
19687 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
19688 for socketpair endpoint.
19689 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
19690 WRITE_BUFFER_SIZE as buffer size for sending socket.
19691 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
19692 issue on system where send is implemented with sendto syscall.
19693 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
19694 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
19695 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
19696 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
19699 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
19700 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
19701 sa_restorer for vDSO case.
19702 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
19704 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19706 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
19707 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
19708 * hurd/hurd/ioctl.h: Include <mach/port.h>
19709 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
19710 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
19711 <mach/mach_types.h> and <mach/message.h>.
19712 (headers): Move mach/param.h to bits/mach/param.h.
19713 * sysdeps/mach/i386/mach/param.h: Move file to ...
19714 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
19715 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
19717 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
19718 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
19719 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
19720 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
19721 trivial, for C++ conformity.
19722 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
19723 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
19724 Process mig output through $(migheadersed).
19725 * hurd/Makefile (migheadersed): Define variable.
19726 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
19727 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
19729 * hurd/hurd.h: Include <bits/types/sigset_t.h>
19730 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
19731 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
19732 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
19733 <bits/types/sigset_t.h>.
19734 [!defined __USE_GNU]: Do not #error out.
19735 (struct hurd_sigstate): Use _NSIG instead of NSIG.
19736 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
19737 Include <stddef.h> and <bits/types/sigset_t.h>
19738 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
19739 instead of sighandler_t.
19740 * stdlib/errno.h (error_t): Move definition to...
19741 * bits/types/error_t.h: ... new header.
19742 * stdlib/Makefile (headers): Add bits/types/error_t.h.
19743 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
19744 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
19745 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
19746 * hurd/hurd.h: Include <bits/types/error_t.h>
19747 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
19748 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
19749 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
19750 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
19751 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
19752 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
19753 * sysdeps/mach/hurd/futimens.c: New file.
19755 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
19758 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
19759 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
19760 * nscd/gai.c (__nss_hosts_database): Readd definition.
19761 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
19762 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
19763 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
19765 2018-03-02 Joseph Myers <joseph@codesourcery.com>
19767 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
19768 (ifunc_one): Likewise.
19770 2018-03-01 DJ Delorie <dj@delorie.com>
19773 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
19776 2018-03-01 Maciej W. Rozycki <macro@mips.com>
19778 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
19779 `match_pid' parameter.
19780 (td_ta_thr_iter): Update accordingly.
19782 2018-03-01 Florian Weimer <fweimer@redhat.com>
19784 * nptl/Makefile (install-lib-ldscripts): Remove.
19785 (install): Remove rule.
19786 ($(inst_libdir)/libpthread.so): Likewise.
19788 2018-03-01 Mike FABIAN <mfabian@redhat.com>
19791 * localedata/locales/an_ES: update month and day names,
19792 improve d_fmt, improve postal_fmt, add country_post,
19795 2018-03-01 Mike FABIAN <mfabian@redhat.com>
19797 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
19798 Ukrainian instead of Bulgarian.
19800 2018-03-01 Florian Weimer <fweimer@redhat.com>
19802 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
19805 2018-03-01 Florian Weimer <fweimer@redhat.com>
19807 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
19808 * nptl/Makefile (routines): Add pthread_atfork.
19809 (static-only-routines): Set to pthread_atfork.
19810 (libpthread-routines): Remove pthread_atfork.
19811 (libpthread-static-only-routines): Remove.
19812 (install): Update comment.
19813 (libpthread.so): Do not install libpthread_nonshared.a.
19814 (tests): Do not link with libpthread_nonshared.a.
19815 (generated): Remove libpthread_nonshared.a.
19816 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
19817 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
19818 with libpthread_nonshared.a.
19820 2018-02-28 Joseph Myers <joseph@codesourcery.com>
19823 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
19824 (libc_feholdexcept_setroundf128): New macro.
19825 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
19828 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
19830 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
19831 * include/inttypes.h: New file.
19833 2018-02-27 Joseph Myers <joseph@codesourcery.com>
19835 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
19836 -Os in two more places.
19838 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19840 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
19841 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
19842 be sorted correctly at the moment because of a bug.
19844 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19846 [BZ #22550] - es_ES locale (and other es_* locales): collation should
19847 treat ñ as a primary different character, sync the collation
19848 for Spanish with CLDR.
19849 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
19850 * localedata/Makefile: Add new test files.
19851 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
19852 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
19854 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
19855 * localedata/am_ET.UTF-8.in: New test file.
19856 * localedata/az_AZ.UTF-8.in: Likewise.
19857 * localedata/be_BY.UTF-8.in: Likewise.
19858 * localedata/ber_DZ.UTF-8.in: Likewise.
19859 * localedata/ber_MA.UTF-8.in: Likewise.
19860 * localedata/bg_BG.UTF-8.in: Likewise.
19861 * localedata/br_FR.UTF-8.in: Likewise.
19862 * localedata/cmn_TW.UTF-8.in: Likewise.
19863 * localedata/crh_UA.UTF-8.in: Likewise.
19864 * localedata/csb_PL.UTF-8.in: Likewise.
19865 * localedata/cv_RU.UTF-8.in: Likewise.
19866 * localedata/cy_GB.UTF-8.in: Likewise.
19867 * localedata/dz_BT.UTF-8.in: Likewise.
19868 * localedata/eo.UTF-8.in: Likewise.
19869 * localedata/es_ES.UTF-8.in: Likewise.
19870 * localedata/fa_IR.UTF-8.in: Likewise.
19871 * localedata/fi_FI.UTF-8.in: Likewise.
19872 * localedata/fil_PH.UTF-8.in: Likewise.
19873 * localedata/fur_IT.UTF-8.in: Likewise.
19874 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
19875 * localedata/ha_NG.UTF-8.in: Likewise.
19876 * localedata/ig_NG.UTF-8.in: Likewise.
19877 * localedata/ik_CA.UTF-8.in: Likewise.
19878 * localedata/kk_KZ.UTF-8.in: Likewise.
19879 * localedata/ku_TR.UTF-8.in: Likewise.
19880 * localedata/ky_KG.UTF-8.in: Likewise.
19881 * localedata/ln_CD.UTF-8.in: Likewise.
19882 * localedata/mi_NZ.UTF-8.in: Likewise.
19883 * localedata/ml_IN.UTF-8.in: Likewise.
19884 * localedata/mn_MN.UTF-8.in: Likewise.
19885 * localedata/mr_IN.UTF-8.in: Likewise.
19886 * localedata/mt_MT.UTF-8.in: Likewise.
19887 * localedata/nb_NO.UTF-8.in: Likewise.
19888 * localedata/om_KE.UTF-8.in: Likewise.
19889 * localedata/os_RU.UTF-8.in: Likewise.
19890 * localedata/ps_AF.UTF-8.in: Likewise.
19891 * localedata/ro_RO.UTF-8.in: Likewise.
19892 * localedata/ru_RU.UTF-8.in: Likewise.
19893 * localedata/sc_IT.UTF-8.in: Likewise.
19894 * localedata/se_NO.UTF-8.in: Likewise.
19895 * localedata/sq_AL.UTF-8.in: Likewise.
19896 * localedata/sv_SE.UTF-8.in: Likewise.
19897 * localedata/szl_PL.UTF-8.in: Likewise.
19898 * localedata/tg_TJ.UTF-8.in: Likewise.
19899 * localedata/tk_TM.UTF-8.in: Likewise.
19900 * localedata/tt_RU.UTF-8.in: Likewise.
19901 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
19902 * localedata/ug_CN.UTF-8.in: Likewise.
19903 * localedata/uz_UZ.UTF-8.in: Likewise.
19904 * localedata/vi_VN.UTF-8.in: Likewise.
19905 * localedata/yi_US.UTF-8.in: Likewise.
19906 * localedata/yo_NG.UTF-8.in: Likewise.
19907 * localedata/zh_CN.UTF-8.in: Likewise.
19908 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
19909 file and fix bugs in the collation.
19910 * localedata/locales/az_AZ: Likewise.
19911 * localedata/locales/be_BY: Likewise.
19912 * localedata/locales/ber_DZ: Likewise.
19913 * localedata/locales/ber_MA: Likewise.
19914 * localedata/locales/bg_BG: Likewise.
19915 * localedata/locales/br_FR: Likewise.
19916 * localedata/locales/br_FR@euro: Likewise.
19917 * localedata/locales/ca_ES: Likewise.
19918 * localedata/locales/cns11643_stroke: Likewise.
19919 * localedata/locales/crh_UA: Likewise.
19920 * localedata/locales/cs_CZ: Likewise.
19921 * localedata/locales/csb_PL: Likewise.
19922 * localedata/locales/cv_RU: Likewise.
19923 * localedata/locales/cy_GB: Likewise.
19924 * localedata/locales/da_DK: Likewise.
19925 * localedata/locales/dz_BT: Likewise.
19926 * localedata/locales/en_CA: Likewise.
19927 * localedata/locales/eo: Likewise.
19928 * localedata/locales/es_CU: Likewise.
19929 * localedata/locales/es_EC: Likewise.
19930 * localedata/locales/es_ES: Likewise.
19931 * localedata/locales/es_US: Likewise.
19932 * localedata/locales/et_EE: Likewise.
19933 * localedata/locales/fa_IR: Likewise.
19934 * localedata/locales/fi_FI: Likewise.
19935 * localedata/locales/fil_PH: Likewise.
19936 * localedata/locales/fur_IT: Likewise.
19937 * localedata/locales/gez_ER@abegede: Likewise.
19938 * localedata/locales/ha_NG: Likewise.
19939 * localedata/locales/hr_HR: Likewise.
19940 * localedata/locales/hsb_DE: Likewise.
19941 * localedata/locales/hu_HU: Likewise.
19942 * localedata/locales/ig_NG: Likewise.
19943 * localedata/locales/ik_CA: Likewise.
19944 * localedata/locales/is_IS: Likewise.
19945 * localedata/locales/iso14651_t1_pinyin: Likewise.
19946 * localedata/locales/kk_KZ: Likewise.
19947 * localedata/locales/ku_TR: Likewise.
19948 * localedata/locales/ky_KG: Likewise.
19949 * localedata/locales/ln_CD: Likewise.
19950 * localedata/locales/lt_LT: Likewise.
19951 * localedata/locales/lv_LV: Likewise.
19952 * localedata/locales/mi_NZ: Likewise.
19953 * localedata/locales/ml_IN: Likewise.
19954 * localedata/locales/mn_MN: Likewise.
19955 * localedata/locales/mr_IN: Likewise.
19956 * localedata/locales/mt_MT: Likewise.
19957 * localedata/locales/nb_NO: Likewise.
19958 * localedata/locales/om_KE: Likewise.
19959 * localedata/locales/os_RU: Likewise.
19960 * localedata/locales/pl_PL: Likewise.
19961 * localedata/locales/ps_AF: Likewise.
19962 * localedata/locales/ro_RO: Likewise.
19963 * localedata/locales/ru_RU: Likewise.
19964 * localedata/locales/ru_UA: Likewise.
19965 * localedata/locales/sc_IT: Likewise.
19966 * localedata/locales/se_NO: Likewise.
19967 * localedata/locales/si_LK: Likewise.
19968 * localedata/locales/sq_AL: Likewise.
19969 * localedata/locales/sv_FI: Likewise.
19970 * localedata/locales/sv_FI@euro: Likewise.
19971 * localedata/locales/sv_SE: Likewise.
19972 * localedata/locales/szl_PL: Likewise.
19973 * localedata/locales/tg_TJ: Likewise.
19974 * localedata/locales/ti_ER: Likewise.
19975 * localedata/locales/tk_TM: Likewise.
19976 * localedata/locales/tl_PH: Likewise.
19977 * localedata/locales/tr_TR: Likewise.
19978 * localedata/locales/tt_RU: Likewise.
19979 * localedata/locales/tt_RU@iqtelif: Likewise.
19980 * localedata/locales/ug_CN: Likewise.
19981 * localedata/locales/uk_UA: Likewise.
19982 * localedata/locales/uz_UZ: Likewise.
19983 * localedata/locales/uz_UZ@cyrillic: Likewise.
19984 * localedata/locales/vi_VN: Likewise.
19985 * localedata/locales/yi_US: Likewise.
19986 * localedata/locales/yo_NG: Likewise.
19988 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19990 * gen-locales.mk: Make test files which contain @ modifiers in their
19992 * localedata/gen-locale.sh: Likewise.
19994 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19996 * posix/tst-fnmatch.input: Fix results for range expressions
19998 * posix/tst-regexloc.c: Do not use a range expression for
19999 de_DE.ISO-8859-1 locale.
20001 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20003 * posix/bug-regex5.c: Fix test case because with the new
20004 iso14651_t1_common file, the da_DK locale now has 6 collating elements
20005 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
20008 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20010 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
20011 downloaded from ISO, the collation order of @-. and space has changed.
20012 Therefore, this test file needed to be adapted.
20013 * localedata/fr_CA.UTF-8.in: Likewise.
20014 * localedata/fr_FR.UTF-8.in: Likewise.
20015 * localedata/uk_UA.UTF-8.in: Likewise.
20017 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20019 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
20020 order of ȥ in the new iso14651_t1_common file.
20021 * localedata/pl_PL.UTF-8.in: Likewise.
20023 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20025 * localedata/locales/iso14651_t1_common: Add sections for various
20026 scripts to the iso14651_t1_common file.
20028 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20030 * localedata/locales/iso14651_t1_common: Use the code point of a
20031 character in the fourth collation level instead of IGNORE for all
20032 entries which have IGNORE on all 4 levels.
20034 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20036 * localedata/locales/iso14651_t1_common: Add some convenient collation
20037 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
20038 rules similar to those in CLDR.
20040 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20042 * localedata/locales/iso14651_t1_common: The new version of this
20043 file downloaded from ISO contained several syntax errors which
20044 are fixed by this patch.
20046 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20048 * localedata/locales/iso14651_t1_common: replace all <U.....>
20049 with <U000.....> because glibc understands only 4 digit or 8 digit
20051 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20053 * localedata/locales/iso14651_t1_common: Necessary changes
20054 to make the file downloaded from ISO usable by glibc.
20056 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20059 * localedata/locales/iso14651_t1_common: Update file to
20060 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
20062 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
20064 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
20065 of <nptl/pthreadP.h>
20066 (thread_attr_compare): Move function to...
20067 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
20068 * sysdeps/nptl/timer_routines.h: ... new header.
20069 * sysdeps/mach/hurd/gai_misc.h: New file.
20071 2018-02-26 Joseph Myers <joseph@codesourcery.com>
20073 * string/strcoll_l.c: Include <libc-diag.h>.
20074 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
20075 declarations of seq1 and seq2.
20078 * stdlib/atoi.c (atoi): Use libc_hidden_def.
20079 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
20081 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
20085 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
20086 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
20087 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
20088 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
20089 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
20090 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
20092 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20094 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
20095 macros used in __ptrace_request.
20097 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
20100 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
20102 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
20103 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
20104 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
20107 2018-02-23 Joseph Myers <joseph@codesourcery.com>
20110 * ctype/ctype.c (tolower): Use libc_hidden_def.
20111 (toupper): Likewise.
20112 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
20113 [!_ISOMAC] (toupper): Likewise.
20115 2018-02-23 Mike FABIAN <mfabian@redhat.com>
20117 * localedata/Makefile: Remove --quiet argument when
20120 2018-02-23 Mike FABIAN <mfabian@redhat.com>
20123 * localedata/locales/pt_BR (LC_TIME): use / instead of -
20125 * localedata/locales/pt_PT (LC_TIME): likewise
20127 2018-02-23 Mike FABIAN <mfabian@redhat.com>
20130 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
20131 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
20132 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
20134 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20138 * nptl/Makefile (routines): Remove unregister-atfork.
20139 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
20140 (fork_handler_alloc): Remove function.
20141 (fork_handlers, fork_handler_init): New variables.
20142 (__fork_lock): Rename to atfork_lock.
20143 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
20144 to use a dynamic array to add/remove atfork handlers.
20145 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
20146 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
20147 Remove declaration.
20148 (fork_handler): Remove next, refcntr, and need_signal member.
20149 (__run_fork_handler_type): New enum.
20150 (__run_fork_handlers): New prototype.
20151 * nptl/register-atfork.c: Remove file.
20152 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
20154 * sysdeps/nptl/nptl-signals.h: Move to ...
20155 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
20157 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
20158 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
20159 unnecessary check for SIGTIMER.
20160 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
20161 remove unnecessary removal of SIGTIMER.
20162 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
20163 include-signals.h rename.
20164 * nptl/pthreadP.h: Likewise.
20165 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
20166 __is_internal_signal instead of __nptl_is_internal_signal.
20168 2018-02-22 Andrew Waterman <andrew@sifive.com>
20171 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
20172 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
20173 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
20174 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
20176 2018-02-22 DJ Delorie <dj@delorie.com>
20178 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
20180 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
20182 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
20183 do_misaligned, not misaligned8.
20185 2018-02-22 Steve Ellcey <sellcey@cavium.com>
20187 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
20188 Add memcpy_thunderx2.
20189 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
20191 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
20192 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
20193 and IS_THUNDERX2PA checks.
20194 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
20195 Use macro to set name appropriately.
20196 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
20197 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
20198 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
20200 (IS_THUNDERX2): New macro.
20202 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
20204 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20206 2018-02-21 Zack Weinberg <zackw@panix.com>
20208 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
20209 Define here, unconditionally.
20210 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
20211 * libio/libioP.h: Remove #if 0 blocks.
20212 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
20213 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
20214 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
20216 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
20217 Assume weak_alias is always defined.
20219 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
20220 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
20221 Remove #if 0 and #ifdef TODO blocks.
20222 Assume text_set_element is always defined.
20224 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
20225 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
20226 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
20228 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
20229 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
20230 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
20231 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
20232 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
20233 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
20234 Reformat bit flags for _flags field to make occupancy clearer.
20236 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
20237 Keep definitions consistent with those in libio/libio.h.
20239 * libio/libio.h (_IO_file_flags): Remove macro.
20240 All uses changed to _flags.
20242 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
20243 (__HAVE_COLUMN, _IO_BE): Don't define.
20244 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
20245 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
20246 * libio/libioP.h (EOF): Don't define.
20247 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
20248 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
20249 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
20250 testing _IO_UNIFIED_JUMPTABLES.
20252 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
20253 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
20254 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
20255 (_IO_size_t): Delete; all uses changed to size_t.
20256 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
20257 (_IO_off_t): Delete; all uses changed to off_t.
20258 (_IO_off64_t): Delete; all uses changed to off64_t.
20259 (_IO_pid_t): Delete; all uses changed to pid_t.
20260 (_IO_uid_t): Delete; all uses changed to uid_t.
20261 (_IO_wint_t): Delete; all uses changed to wint_t.
20262 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
20263 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
20264 (_IO_cookie_io_functions_t): Delete; all uses changed to
20265 cookie_io_functions_t.
20266 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
20267 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
20268 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
20269 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
20271 * libio/iofopncook.c: Remove unnecessary forward declarations.
20272 * libio/iolibio.h: Correct outdated commentary.
20273 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
20274 * stdio-common/fxprintf.c (__fxprintf_nocancel):
20275 Remove unnecessary casts.
20276 * stdio-common/getline.c: Use _IO_getdelim directly.
20277 Don't redefine ssize_t.
20278 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
20279 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
20280 Remove outdated comments.
20281 * stdio-common/vfscanf.c: Don't redefine va_list.
20283 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
20284 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
20285 Remove preprocessor conditionals on _LIBC and __USE_GNU,
20286 which are always true, and __cplusplus, which is always false.
20288 2018-02-21 Joseph Myers <joseph@codesourcery.com>
20292 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
20293 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
20294 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
20295 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
20297 [!_ISOMAC] (putc_unlocked): Likewise.
20298 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
20299 define inline if [__USE_EXTERN_INLINES].
20300 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
20305 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
20306 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
20307 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
20308 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
20309 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
20311 * time/tzfile.c (__tzfile_read): Likewise.
20313 2018-02-21 Mike FABIAN <mfabian@redhat.com>
20316 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
20318 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
20320 * io/fcntl.h: Fix a typo in a comment.
20322 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
20325 * include/features.h: Add _ISOC11_SOURCE to test for whether to
20326 define _DEFAULT_SOURCE.
20327 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
20329 2018-02-21 Florian Weimer <fweimer@redhat.com>
20332 * elf/cache.c (save_cache): Call fsync on temporary file before
20334 (save_aux_cache): Call fdatasync on temporary file before renaming
20337 2018-02-21 Florian Weimer <fweimer@redhat.com>
20340 * include/caller.h: Remove file.
20341 * elf/dl-caller.c: Likewise.
20342 * elf/Makefile (dl-routines): Remove dl-caller.
20343 (shared-only-routines): Do not add dl-caller.
20344 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
20346 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
20348 (dl_open_worker): Do not call __check_caller.
20349 (_dl_open): Do not set caller_dl_open member.
20350 * elf/rtld.c (_rtld_global_ro): Do not initialize
20351 _dl_check_caller member.
20352 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
20353 _dl_check_caller member.
20354 (_dl_check_caller): Remove declaration.
20355 * sysdeps/unix/sysv/linux/dl-execstack.c
20356 (_dl_make_stack_executable): Do not call __check_caller.
20358 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
20360 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
20361 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
20363 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
20365 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
20368 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
20371 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
20372 of 199606L, 200112L, and 200809L.
20373 (_XOPEN_SOURCE): Document special values of 600 and 700.
20374 (_ISOC11_SOURCE): Document macro.
20375 (_ATFILE_SOURCE): Likewise.
20376 (_FORTIFY_SOURCE): Likewise.
20378 2018-02-19 Joseph Myers <joseph@codesourcery.com>
20382 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
20383 and define as weak alias of __ferror_unlocked. Use
20385 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
20387 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
20388 function if [__USE_EXTERN_INLINES].
20389 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
20392 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
20395 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
20397 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
20400 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
20401 the GLIBC_2.1 version.
20403 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
20406 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
20407 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
20408 intl/tst-gettext-de.po from po/de.po by removing the
20409 POT-Creation-Date line.
20410 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
20412 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
20415 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
20417 * mach/Makefile (headers): Add mach/param.h.
20418 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
20419 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
20420 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
20421 (__ptsname_r): Move implementation to...
20422 (__ptsname_internal): ... new function. Add filling the STP
20425 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
20427 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
20430 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
20432 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
20435 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
20437 * nptl/Makefile (tst-mutex8-ENV): Delete.
20438 * nptl/tst-mutex8.c (check_type):
20439 Add runtime check if mutex will be elided.
20441 2018-02-15 Joseph Myers <joseph@codesourcery.com>
20445 * manual/install.texi (Configuring and compiling): Describe
20446 passing CC and CFLAGS on configure command line, not as
20447 environment variables. Use @code markup on those variables.
20448 Specify what options go in CC and what go in CFLAGS. Note the
20449 requirement to compile with optimization.
20450 * INSTALL: Regenerated.
20453 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
20454 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
20455 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
20456 __sigprocmask instead of sigprocmask.
20457 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
20459 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
20460 __sigsetjmp and sigprocmask.
20463 * include/argz.h (argz_next): Use libc_hidden_proto.
20464 (__argz_next): Likewise.
20465 * string-argz-next.c (__argz_next): Use libc_hidden_def.
20466 (argz_next): Use libc_hidden_weak.
20469 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
20471 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
20475 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
20477 * libio/iofputs.c (fputs): Use libc_hidden_weak.
20481 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
20482 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
20483 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
20484 (__feof_unlocked): New declaration, and inline function if
20485 [__USE_EXTERN_INLINES].
20486 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
20487 instead of feof_unlocked.
20488 * intl/localealias.c [_LIBC] (FEOF): Likewise.
20489 * nss/nsswitch.c (nss_parse_file): Likewise.
20490 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
20492 * time/getdate.c (__getdate_r): Likewise.
20493 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
20494 Define as macro to call __feof_unlocked.
20496 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
20498 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
20500 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
20502 * math/Makefile: Remove mpexp.c and mplog.c
20503 * sysdeps/i386/fpu/mpexp.c: Delete file.
20504 * sysdeps/i386/fpu/mplog.c: Likewise.
20505 * sysdeps/ia64/fpu/mpexp.c: Likewise.
20506 * sysdeps/ia64/fpu/mplog.c: Likewise.
20507 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
20508 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
20509 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
20510 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20511 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
20512 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
20513 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
20514 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
20515 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
20516 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20517 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
20518 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
20519 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20520 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
20521 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
20522 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20524 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
20526 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20528 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20530 * sysdeps/sh/libm-test-ulps: Update.
20532 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20534 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
20537 2018-02-12 Zack Weinberg <zackw@panix.com>
20540 * posix/sys/types.h: Don't include sys/sysmacros.h.
20541 * misc/sys/sysmacros.h: Remove the conditional deprecation
20542 warnings for the macros defined by this header.
20544 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20546 * manual/probes.texi: Remove slowexp probes.
20547 * math/Makefile: Remove slowexp.
20548 * sysdeps/generic/math_private.h (__slowexp): Remove.
20549 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
20550 document error bounds.
20551 * sysdeps/i386/fpu/slowexp.c: Remove.
20552 * sysdeps/ia64/fpu/slowexp.c: Remove.
20553 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
20554 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
20555 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
20556 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
20557 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
20558 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
20559 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
20560 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
20561 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
20562 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
20563 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
20565 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
20568 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
20569 * benchtests/pow-inputs: Update comment for slow path cases.
20570 * manual/probes.texi (slowpow_p10): Delete removed probe.
20571 (slowpow_p10): Likewise.
20572 * math/Makefile: Remove halfulp.c and slowpow.c.
20573 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
20574 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
20575 (__halfulp): Remove.
20576 (__slowpow): Remove.
20577 * sysdeps/i386/fpu/halfulp.c: Delete file.
20578 * sysdeps/i386/fpu/slowpow.c: Likewise.
20579 * sysdeps/ia64/fpu/halfulp.c: Likewise.
20580 * sysdeps/ia64/fpu/slowpow.c: Likewise.
20581 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
20582 improve comments and add error analysis.
20583 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
20584 (power1): Remove function:
20585 (log1): Remove error argument, add error analysis.
20586 (my_log2): Remove function.
20587 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
20588 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20589 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
20590 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
20591 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
20592 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
20593 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
20594 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
20595 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
20596 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
20597 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
20598 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20599 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
20600 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20602 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
20604 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
20605 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
20607 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
20610 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
20611 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
20612 and PTRACE_SETHBPREGS.
20614 2018-02-10 Zack Weinberg <zackw@panix.com>
20617 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
20619 * malloc/tst-malloc-stats-cancellation.c: New test case.
20620 * malloc/Makefile: Add new test case.
20622 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
20624 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
20626 2018-02-10 Joseph Myers <joseph@codesourcery.com>
20628 * math/Makefile (libm-narrow-fns): Add add.
20629 (libm-test-funcs-narrow): Likewise.
20630 * math/Versions (GLIBC_2.28): Add narrowing add functions.
20631 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
20632 * math/gen-auto-libm-tests.c (test_functions): Add add.
20633 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
20634 (NARROW_ADD_ROUND_TO_ODD): Likewise.
20635 (NARROW_ADD_TRIVIAL): Likewise.
20636 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
20638 (__daddl): Likewise.
20639 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
20641 (CFLAGS-nldbl-dadd.c): New variable.
20642 (CFLAGS-nldbl-fadd.c): Likewise.
20643 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
20645 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
20647 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
20648 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
20649 * math/auto-libm-test-in: Add tests of add.
20650 * math/auto-libm-test-out-narrow-add: New generated file.
20651 * math/libm-test-narrow-add.inc: New file.
20652 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
20653 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
20654 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
20655 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
20656 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
20657 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
20658 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
20659 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
20660 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
20661 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
20662 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
20663 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
20664 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
20665 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
20666 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
20667 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
20668 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
20669 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
20670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20671 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
20672 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20673 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20674 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20675 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20676 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20677 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20678 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20679 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20680 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20681 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20682 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20683 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
20685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
20686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
20687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
20688 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
20689 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20690 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20691 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20692 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20693 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20694 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
20695 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
20696 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20697 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20699 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
20700 (f128-pairs): New variable.
20701 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
20702 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
20704 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
20705 Also make tests add $(f128-loader-link) to gnulib-tests.
20707 2018-02-09 DJ Delorie <dj@redhat.com>
20710 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
20711 64-bit ELF type for 64-bit ELF objects.
20713 2018-02-09 Joseph Myers <joseph@codesourcery.com>
20715 * math/libm-test-driver.c (snan_tests_arg): New variable.
20716 * math/libm-test-support.h (snan_tests_arg): New declaration.
20717 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
20719 * math/Makefile (test-type-pairs): New variable.
20720 (test-type-pairs-f64xf128-yes): Likewise.
20721 (tests): Add test-narrow-macros.
20722 (libm-test-funcs-narrow): New variable.
20723 (libm-test-c-narrow): Likewise.
20724 (generated): Add $(libm-test-c-narrow).
20725 (libm-tests-base-narrow): New variable.
20726 (libm-tests-narrow): Likewise.
20727 (libm-tests): Add $(libm-tests-narrow).
20728 (libm-tests-for-type): Handle $(libm-tests-narrow).
20729 (libm-test-c-narrow-obj): New variable.
20730 ($(libm-test-c-narrow-obj)): New rule.
20731 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
20732 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
20733 $(o-iterator) to set dependencies and CFLAGS.
20734 * math/gen-auto-libm-tests.c: Document use for narrowing
20736 (output_for_one_input_case): Take argument NARROW.
20737 (generate_output): Likewise. Update call to
20738 output_for_one_input_case.
20739 (main): Take --narrow option. Update call to generate_output.
20740 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
20741 (apply_lit): Update call to _apply_lit.
20742 (apply_arglit): New function.
20743 (parse_args): Handle "a" arguments.
20744 (parse_auto_input): Handle format names using ":".
20745 * math/README.libm-test: Document "a" parameter type.
20746 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
20747 (ARG_TYPE_TRUE_MIN): Likewise.
20748 (ARG_TYPE_MAX): Likwise.
20749 (ARG_MIN_EXP): Likewise.
20750 (ARG_MAX_EXP): Likewise.
20751 (ARG_MANT_DIG): Likewise.
20752 (TEST_COND_arg_ibm128): Likewise.
20753 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
20754 (TEST_COND_arg_fmt): New macro.
20755 (init_max_error): Update prototype.
20756 * math/libm-test-support.c (test_ibm128): New variable.
20757 (init_max_error): Take argument testing_ibm128 and set test_ibm128
20758 instead of using [TEST_COND_ibm128] conditional.
20759 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
20760 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
20761 [TEST_NARROW] (TEST_MSG): New definition.
20762 (arg_plus_zero): New macro.
20763 (arg_minus_zero): Likewise.
20764 (arg_plus_infty): Likewise.
20765 (arg_minus_infty): Likewise.
20766 (arg_qnan_value_pl): Likewise.
20767 (arg_qnan_value): Likewise.
20768 (arg_snan_value_pl): Likewise.
20769 (arg_snan_value): Likewise.
20770 (arg_max_value): Likewise.
20771 (arg_min_value): Likewise.
20772 (arg_min_subnorm_value): Likewise.
20773 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
20774 (RUN_TEST_LOOP_aa_f): New macro.
20775 (TEST_SUFF): New macro.
20776 (TEST_SUFF_STR): Likewise.
20777 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
20778 (TEST_COND_any_ibm128): New macro.
20779 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
20780 this_func. Update call to init_max_error.
20781 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
20782 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
20783 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
20784 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
20785 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
20786 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
20787 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
20788 * math/test-math-scalar.h (TEST_NARROW): Likewise.
20789 * math/test-math-vector.h (TEST_NARROW): Likewise.
20790 * math/test-arg-double.h: New file.
20791 * math/test-arg-float128.h: Likewise.
20792 * math/test-arg-float32x.h: Likewise.
20793 * math/test-arg-float64.h: Likewise.
20794 * math/test-arg-float64x.h: Likewise.
20795 * math/test-arg-ldouble.h: Likewise.
20796 * math/test-math-narrow.h: Likewise.
20797 * math/test-narrow-macros.c: Likewise.
20798 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
20799 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
20800 test-narrow-macros-ldbl-64.
20801 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
20803 * math/bits/mathcalls-narrow.h: New file.
20804 * include/bits/mathcalls-narrow.h: Likewise.
20805 * math/math-narrow.h: Likewise.
20806 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
20807 (__MATHCALL_NARROW_ARGS_2): Likewise.
20808 (__MATHCALL_NARROW_ARGS_3): Likewise.
20809 (__MATHCALL_NARROW_NORMAL): Likewise.
20810 (__MATHCALL_NARROW_REDIR): Likewise.
20811 (__MATHCALL_NARROW): Likewise.
20812 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
20813 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
20815 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
20816 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
20817 (libm-narrow-fns): New variable.
20818 (libm-narrow-types-basic): Likewise.
20819 (libm-narrow-types-ldouble-yes): Likewise.
20820 (libm-narrow-types-float128-yes): Likewise.
20821 (libm-narrow-types-float128-alias-yes): Likewise.
20822 (libm-narrow-types): Likewise.
20823 (libm-routines): Add narrowing functions.
20824 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
20825 (libc_feholdexcept_setroundf128): New macro.
20826 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
20827 * sysdeps/ieee754/float128/float128_private.h: Include
20828 <math/math-narrow.h>.
20829 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
20830 Undefine and redefine.
20831 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
20832 (libm_alias_float_ldouble): Undefine and redefine.
20833 (libm_alias_double_ldouble): Likewise.
20835 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
20837 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
20839 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
20842 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
20844 * manual/creature.texi: Convert references to gcc.info to gcc.
20845 * manual/stdio.texi: Likewise.
20846 * manual/string.texi: Likewise.
20848 2018-02-07 Joseph Myers <joseph@codesourcery.com>
20851 * posix/bits/types.h (__int_least8_t): New typedef.
20852 (__uint_least8_t): Likewise.
20853 (__int_least16_t): Likewise.
20854 (__uint_least16_t): Likewise.
20855 (__int_least32_t): Likewise.
20856 (__uint_least32_t): Likewise.
20857 (__int_least64_t): Likewise.
20858 (__uint_least64_t): Likewise.
20859 * sysdeps/generic/stdint.h (int_least8_t): Define using
20861 (int_least16_t): Define using __int_least16_t.
20862 (int_least32_t): Define using __int_least32_t.
20863 (int_least64_t): Define using __int_least64_t.
20864 (uint_least8_t): Define using __uint_least8_t.
20865 (uint_least16_t): Define using __uint_least16_t.
20866 (uint_least32_t): Define using __uint_least32_t.
20867 (uint_least64_t): Define using __uint_least64_t.
20868 * wcsmbs/uchar.h: Include <bits/types.h>.
20869 (char16_t): Define using __uint_least16_t conditional only on
20871 (char32_t): Define using __uint_least32_t conditional only on
20873 * wcsmbs/test-char-types.c: New file.
20874 * wcsmbs/Makefile (tests): Add test-char-types.
20876 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
20879 2018-02-07 Zack Weinberg <zackw@panix.com>
20881 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
20882 Delete all contents except for definitions of _G_HAVE_MMAP and
20883 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
20884 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
20885 sysdeps/unix/sysv/linux/_G_config.h. Make same content
20888 * libio/libio.h: Don't include bits/_G_config.h here.
20889 Include stddef.h with __need_wchar_t defined. Include
20890 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
20891 Define _IO_iconv_t here, directly.
20892 Don't define _IO_HAVE_ST_BLKSIZE.
20893 * libio/libioP.h: Include _G_config.h here. Move include of
20894 shlib-compat.h up with rest of includes. Simplify conditionals
20895 controlling definition of _IO_JUMPS_OFFSET.
20897 * csu/init.c: Remove always-true #if around entire file.
20898 Don't include stdio.h. Set _IO_stdin_used to hardwired
20899 constant 0x20001, and update commentary.
20900 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
20901 Replace all uses of _G_va_list with __gnuc_va_list.
20902 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
20903 instead of #if _IO_HAVE_ST_BLKSIZE.
20904 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
20905 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
20908 * libio/bits/libio.h: Move back to libio/libio.h and adjust
20909 multiple-include guard to match.
20910 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
20912 Remove preprocessor conditionals that are always true and/or
20913 redundant to other preprocessor conditionals in the same nest.
20914 Include shlib-compat.h unconditionally.
20915 Error out if _LIBC is not defined, or if _ISOMAC is defined,
20916 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
20917 defined after including stdio.h.
20918 Use __BEGIN_DECLS/__END_DECLS.
20920 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
20921 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
20922 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
20924 2018-02-07 Zack Weinberg <zackw@panix.com>
20926 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
20927 New single-type headers split from _G_config.h.
20928 * libio/bits/types/cookie_io_functions_t.h
20929 * libio/bits/types/struct_FILE.h
20930 New single-type headers split from libio.h.
20932 * libio/Makefile: Install the above new headers. Don't install
20933 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
20935 * libio/_G_config.h, libio/libio.h: Delete file.
20937 * libio/bits/libio.h: Remove improper-inclusion guard.
20938 Include stdio.h and don't repeat anything that it does.
20939 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
20940 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
20941 __io_read_fn as cookie_read_function_t,
20942 __io_write_fn as cookie_write_function_t,
20943 __io_seek_fn as cookie_seek_function_t,
20944 __io_close_fn as cookie_close_function_t,
20945 and _IO_cookie_io_functions_t as cookie_io_functions_t.
20946 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
20947 here, in the "compatibility defines" section. Remove an #if 0
20948 block. Use the "body" macros from bits/types/struct_FILE.h to
20949 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
20950 and _IO_ferror_unlocked.
20951 Move prototypes of __uflow and __overflow...
20953 * libio/stdio.h: ...here. Don't include bits/libio.h.
20954 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
20955 directly from stdarg.h. Include bits/types/__fpos_t.h,
20956 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
20957 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
20958 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
20959 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
20960 cookie_io_functions_t, not _IO_cookie_io_functions_t;
20961 __ssize_t, not _IO_ssize_t. Unconditionally define
20962 BUFSIZ as 8192 and EOF as (-1).
20964 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
20965 macros from bits/types/struct_FILE.h instead of _IO_* macros
20966 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
20967 instead of _IO_ssize_t.
20968 * libio/bits/stdio2.h: Similarly.
20970 * libio/iolibio.h: Add multiple-include guard.
20971 Include bits/libio.h after stdio.h.
20972 * libio/libioP.h: Add multiple-include guard.
20973 Include stdio.h and bits/libio.h before iolibio.h.
20975 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
20976 * include/bits/types/cookie_io_functions_t.h
20977 * include/bits/types/struct_FILE.h: New wrappers.
20979 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
20980 Get definitions of _G_fpos_t and _G_fpos64_t from
20981 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
20982 respectively. Remove improper-inclusion guards.
20984 * conform/data/stdio.h-data: Update expectations of va_list.
20985 * scripts/check-installed-headers.sh: Remove special case for
20986 libio.h and _G_config.h.
20988 2018-02-07 Joseph Myers <joseph@codesourcery.com>
20992 * include/sys/sysmacros.h [!_ISOMAC]
20993 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
20994 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
20995 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
20996 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
20998 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
20999 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
21001 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
21002 Undefine and redefine to add use __gnu_dev_ prefix.
21003 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
21005 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
21006 and define as hidden inline function.
21007 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
21009 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
21011 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
21012 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
21013 (gnu_dev_minor): Likewise.
21014 (gnu_dev_makedev): Likewise.
21015 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
21017 * posix/wordexp.c (exec_comm_child): Likewise.
21018 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
21019 instead of minor and __gnu_dev_major instead of major.
21020 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
21021 __gnu_dev_major instead of major.
21022 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
21023 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
21024 instead of gnu_dev_minor.
21025 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
21026 (SLAVE_P): Likewise.
21027 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
21028 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
21032 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
21034 * locale/weightwc.h (findidx): Likewise.
21036 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
21038 * manual/probes.texi (slowlog): Delete documentation of removed probe.
21039 (slowlog_inexact): Likewise
21040 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
21041 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
21043 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
21046 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
21047 missing second underscore to parameter name.
21049 2018-02-06 Joseph Myers <joseph@codesourcery.com>
21055 * bits/byteswap.h: Update file comment. Do not include
21056 <bits/byteswap-16.h>.
21057 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
21059 (__bswap_16): Define as inline function.
21060 (__bswap_constant_32): Reformat definition.
21061 (__bswap_32): Always define as inline function, not macro, using
21062 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
21063 otherwise __bswap_constant_32.
21064 (__bswap_constant_64): Reformat definition. Do not use
21065 __extension__ here.
21066 (__bswap_64): Always define as inline function, not macro. Use
21067 __extension__ on function definition. Use __builtin_bswap64 if
21068 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
21069 * string/test-endian-file-scope.c: New file.
21070 * string/test-endian-sign-conversion.c: Likewise.
21071 * string/Makefile (headers): Remove bits/byteswap-16.h.
21072 (tests): Add test-endian-file-scope and
21073 test-endian-sign-conversion.
21074 (CFLAGS-test-endian-sign-conversion.c): New variable.
21075 * bits/byteswap-16.h: Remove file.
21076 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
21077 * sysdeps/ia64/bits/byteswap.h: Likewise.
21078 * sysdeps/m68k/bits/byteswap.h: Likewise.
21079 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21080 * sysdeps/s390/bits/byteswap.h: Likewise.
21081 * sysdeps/tile/bits/byteswap.h: Likewise.
21082 * sysdeps/x86/bits/byteswap-16.h: Likewise.
21083 * sysdeps/x86/bits/byteswap.h: Likewise.
21086 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
21087 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
21088 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
21089 199901L] (__restrict): Define to restrict.
21092 * string/testcopy.c: Include <support/support.h>. Do not include
21093 <malloc.h>. Use <support/test-driver.c>.
21094 (main): Rename to do_test. Make static. Use xmalloc instead of
21098 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
21099 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
21100 (SSIZE_MAX): Define to INT_MAX.
21101 * posix/test-ssize-max.c: New file.
21102 * posix/Makefile (tests): Add test-ssize-max.
21105 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
21106 <support/support.h>. Do not include <malloc.h>.
21107 (query_auxv): Use xmalloc instead of malloc.
21110 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
21111 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
21114 2018-02-06 Florian Weimer <fweimer@redhat.com>
21117 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21118 Use scratch_buffer instead of extend_alloca.
21120 2018-02-06 Zack Weinberg <zackw@panix.com>
21122 * libio/stdio.h: Don't define getc or putc as macros.
21123 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
21124 not _IO_getc and _IO_putc.
21126 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
21127 * stdio-common/tstgetln.c: Don't redefine ssize_t.
21129 2018-02-06 Joseph Myers <joseph@codesourcery.com>
21131 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
21132 (TCP_FASTOPEN_NO_COOKIE): Likewise.
21134 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
21137 * elf/elf.h (NT_PRFPREG): New macro.
21138 (NT_S390_VXRS_LOW): Likewise.
21139 (NT_S390_VXRS_HIGH): Likewise.
21140 (NT_S390_GS_CB): Likewise.
21141 (NT_S390_GS_BC): Likewise.
21142 (NT_S390_RI_CB): Likewise.
21144 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
21145 (MAP_SYNC): New macro.
21146 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
21148 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
21149 (MAP_SYNC): Likewise.
21150 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
21151 (MAP_SYNC): Likewise.
21152 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
21153 (MAP_SYNC): Likewise.
21154 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
21155 (MAP_SYNC): Likewise.
21156 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
21157 (MAP_SYNC): Likewise.
21158 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
21159 (MAP_SYNC): Likewise.
21160 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
21162 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
21165 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
21166 (MAP_SHARED_VALIDATE): New macro.
21167 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
21168 (MAP_SHARED_VALIDATE): Likewise.
21170 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21172 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
21173 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
21174 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
21176 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21178 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
21179 (DT_NUM): Updated to 35.
21181 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21183 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
21184 __builtin_expect with __glibc_likely and __glibc_unlikely.
21185 (elf_machine_rela): Likewise.
21186 (elf_machine_lazy_rel): Likewise.
21188 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21190 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
21191 __builtin_expect with __glibc_likely and __glibc_unlikely.
21192 (elf_machine_lazy_rel): Likewise.
21194 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21197 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
21199 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
21201 2018-02-05 Andreas Schwab <schwab@suse.de>
21204 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
21207 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21209 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
21210 not check against PTHREAD_STACK_MIN.
21212 2018-02-02 Sean McKean <smckean83@gmail.com>
21215 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
21217 2018-02-02 Florian Weimer <fweimer@redhat.com>
21220 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
21221 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
21222 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
21223 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
21224 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
21225 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
21226 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
21227 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
21228 * manual/llio.texi (Scatter-Gather): Mention offset -1.
21229 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
21230 * misc/tst-preadvwritev2.c (do_test): Call it.
21231 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
21233 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
21235 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
21237 * benchtests/bench-memcmp.c: Print json instead of plain text.
21239 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
21242 2018-02-01 Joseph Myers <joseph@codesourcery.com>
21244 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
21246 (s390_sthyi): New syscall.
21248 * sysdeps/generic/ldbl-classify-compat.h: New file.
21249 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
21250 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
21251 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
21252 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
21253 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
21254 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
21255 * sysdeps/ieee754/dbl-64/s_finite.c: Include
21256 <ldbl-classify-compat.h>.
21257 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21258 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
21259 <ldbl-classify-compat.h>.
21260 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21261 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
21262 <ldbl-classify-compat.h>.
21263 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21264 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
21265 <ldbl-classify-compat.h>.
21266 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21267 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
21268 <ldbl-classify-compat.h>.
21269 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21270 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
21271 <ldbl-classify-compat.h>.
21272 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21273 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
21274 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
21275 * sysdeps/m68k/coldfire/math_private.h: Remove file.
21276 * sysdeps/microblaze/math_private.h: Likewise.
21277 * sysdeps/nios2/math_private.h: Likewise.
21278 * sysdeps/sh/math_private.h: Likewise.
21280 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
21281 * sysdeps/m68k/coldfire/math_private.h: ... here.
21282 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
21283 * sysdeps/tile/math_private.h: Likewise.
21284 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
21286 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
21289 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
21291 (libc_fetestexcept): Likewise.
21292 (libc_feupdateenv_test): Likewise.
21293 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
21294 (libc_fetestexcept): Likewise.
21295 (libc_feupdateenv_test): Likewise.
21296 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
21297 (libc_fetestexcept): Likewise.
21298 (libc_feupdateenv_test): Likewise.
21299 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
21300 (libc_fetestexcept): Likewise.
21301 (libc_feupdateenv_test): Likewise.
21303 * sysdeps/generic/math_private.h
21304 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
21305 New inline function.
21306 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
21309 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
21310 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
21311 * sysdeps/generic/math_private.h
21312 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
21314 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
21316 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
21318 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
21320 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
21322 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
21324 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
21325 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
21326 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
21327 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
21328 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
21329 (__fegetenv): Likewise.
21330 (fesetenv): Likewise.
21331 (__fesetenv): Likewise.
21332 (feupdateenv): Likewise.
21333 (__feupdateenv): Likewise.
21334 (fegetround): Likewise.
21335 (__fegetround): Likewise.
21336 (fesetround): Likewise.
21337 (__fesetround): Likewise.
21339 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
21340 (feraiseexcept): New macro.
21341 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
21342 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
21344 (__feraiseexcept): Likewise.
21345 (feclearexcept): Likewise.
21346 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
21347 (__feraiseexcept): Likewise.
21348 (feclearexcept): Likewise.
21349 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
21350 (__feraiseexcept): Likewise.
21351 (feclearexcept): Likewise.
21352 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
21353 (__feraiseexcept): Likewise.
21354 (feclearexcept): Likewise.
21355 (fetestexcept): Likewise.
21357 * sysdeps/m68k/coldfire/math-tests.h: New file.
21359 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
21360 * sysdeps/m68k/bits/fenv.h: ... here.
21361 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
21363 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
21365 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
21367 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
21369 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
21371 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
21373 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
21374 (__FE_UNDEFINED): New enum constant.
21375 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
21377 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
21379 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
21381 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
21382 to match generic bits/fenv.h.
21383 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
21386 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
21388 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
21389 * soft-fp/half.h (union _FP_UNION_H): Likewise.
21390 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
21391 * soft-fp/single.h (union _FP_UNION_S): Likewise.
21393 2018-02-01 Carlos O'Donell <carlos@redhat.com>
21394 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
21395 Joseph Myers <joseph@codesourcery.com>
21398 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
21399 (__log1p): Disable -Wmaybe-uninitialized for -Os around
21400 computation using c.
21401 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
21402 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
21403 computation using c.
21405 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
21407 * version.h (RELEASE): Set to "development".
21408 (VERSION): Set to "2.27.9000".
21409 * NEWS (2.28): New section.
21411 * version.h (RELEASE): Set to "stable".
21412 (VERSION): Set to "2.27".
21413 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
21415 * NEWS: Add the list of bugs fixed in 2.27.
21417 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21419 * stdlib/test-atexit-race-common.c (do_test): Check stack size
21420 against PTHREAD_STACK_MIN.
21422 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
21424 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
21426 (Rafal Luzynski, Andreas Schwab): Update.
21428 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
21431 * NEWS: List the languages which actually use the alternative
21432 months feature in this release. Also explain that "alt_mon" and
21433 "ab_alt_mon" are optional.
21435 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
21438 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
21440 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
21442 * manual/install.texi (Tools for Compilation): Update the newest
21443 versions of gcc, binutils, texinfo, gawk, bison, and sed.
21444 * INSTALL: Regenerated.
21446 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21448 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
21449 instead of __builtin_expect.
21451 2018-01-30 Florian Weimer <fweimer@redhat.com>
21453 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
21455 * nss/tst-nss-getpwent.c (do_test): Likewise.
21457 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
21460 * localedata/locales/hr_HR (mon): Rename to...
21462 (mon): Import from CLDR (genitive case).
21463 (d_t_fmt): Update the comment.
21465 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
21467 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
21468 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
21469 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
21471 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
21473 * mach/Versions: Fix version when __mach_host_self_ was added.
21474 * hurd/Versions: Fix version when _hurd_exec_paths was added.
21475 * sysdeps/mach/hurd/i386/ld.abilist: New file.
21476 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
21477 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
21478 * sysdeps/mach/hurd/i386/libc.abilist: New file.
21479 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
21480 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
21481 * sysdeps/mach/hurd/i386/libm.abilist: New file.
21482 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
21483 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
21484 * sysdeps/mach/hurd/i386/librt.abilist: New file.
21485 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
21486 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
21487 || to respect codestyle.
21488 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
21489 (do_test_bz20181): Rename accordingly.
21490 * malloc/malloc.c: Include <assert.h>.
21491 (assert): Do not define.
21492 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
21493 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
21494 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
21495 * sysdeps/mach/hurd/hp-timing.h: New file.
21496 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
21498 2018-01-29 Darius Rad <darius@bluespec.com>
21500 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
21502 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
21504 * sysdeps/init_array/crti.S (.section .init_array): Add
21505 PREINIT_FUNCTION when defined.
21506 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
21507 * config.h.in: Regenerate.
21508 * manual/platform.texi: Add RISC-V documenation for
21509 __riscv_flush_icache.
21510 * sysdeps/riscv/__longjmp.S: New file.
21511 * sysdeps/riscv/backtrace.c: Likewise.
21512 * sysdeps/riscv/bits/endian.h: Likewise.
21513 * sysdeps/riscv/bits/setjmp.h: Likewise.
21514 * sysdeps/riscv/bits/wordsize.h: Likewise.
21515 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
21516 * sysdeps/riscv/bsd-setjmp.c: Likewise.
21517 * sysdeps/riscv/dl-trampoline.S: Likewise.
21518 * sysdeps/riscv/gccframe.h: Likewise.
21519 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
21520 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
21521 * sysdeps/riscv/machine-gmon.h: Likewise.
21522 * sysdeps/riscv/memusage.h: Likewise.
21523 * sysdeps/riscv/setjmp.S: Likewise.
21524 * sysdeps/riscv/sys/asm.h: Likewise.
21525 * sysdeps/riscv/tls-macros.h: Likewise.
21526 * sysdeps/riscv/dl-tls.h: New file.
21527 * sysdeps/riscv/libc-tls.c: Likewise.
21528 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
21529 * sysdeps/riscv/nptl/tls.h: Likewise.
21530 * sysdeps/riscv/stackinfo.h: Likewise.
21531 * sysdeps/riscv/bits/fenv.h: New file.
21532 * sysdeps/riscv/e_sqrtl.c: Likewise.
21533 * sysdeps/riscv/fpu_control.h: Likewise.
21534 * sysdeps/riscv/math-tests.h: Likewise.
21535 * sysdeps/riscv/nofpu/Implies: Likewise.
21536 * sysdeps/riscv/sfp-machine.h: Likewise.
21537 * sysdeps/riscv/tininess.h: Likewise.
21538 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
21539 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
21540 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
21541 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
21542 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
21543 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
21544 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
21545 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
21546 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
21547 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
21548 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
21549 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
21550 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
21551 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
21552 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
21553 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
21554 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
21555 * sysdeps/riscv/rvd/s_finite.c: Likewise.
21556 * sysdeps/riscv/rvd/s_fma.c: Likewise.
21557 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
21558 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
21559 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
21560 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
21561 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
21562 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
21563 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
21564 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
21565 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
21566 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
21567 * sysdeps/riscv/rvf/fegetround.c: Likewise.
21568 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
21569 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
21570 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
21571 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
21572 * sysdeps/riscv/rvf/fesetround.c: Likewise.
21573 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
21574 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
21575 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
21576 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
21577 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
21578 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
21579 * sysdeps/riscv/rvf/math_private.h: Likewise.
21580 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
21581 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
21582 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
21583 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
21584 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
21585 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
21586 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
21587 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
21588 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
21589 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
21590 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
21591 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
21592 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
21593 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
21594 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
21595 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
21596 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
21597 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
21598 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
21599 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
21600 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
21601 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
21602 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
21603 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
21604 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
21605 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
21606 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
21607 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
21608 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
21609 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
21610 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
21611 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
21612 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
21613 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
21614 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
21615 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
21616 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
21617 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
21618 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
21619 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
21620 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
21621 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
21622 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
21623 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
21624 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
21625 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
21626 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
21627 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
21628 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
21629 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
21630 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
21631 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
21632 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
21633 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
21634 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
21635 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
21636 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
21637 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
21638 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
21639 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
21640 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
21641 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
21642 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
21643 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
21644 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
21645 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
21646 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
21647 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
21648 * sysdeps/riscv/Implies: New file.
21649 * sysdeps/riscv/Makefile: Likewise.
21650 * sysdeps/riscv/configure: Likewise.
21651 * sysdeps/riscv/configure.ac: Likewise.
21652 * sysdeps/riscv/nptl/Makefile: Likewise.
21653 * sysdeps/riscv/preconfigure: Likewise.
21654 * sysdeps/riscv/rv64/Implies-after: Likewise.
21655 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
21656 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
21657 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
21658 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
21659 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
21660 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
21661 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
21662 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
21663 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
21664 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
21665 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
21666 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
21667 (Config): Likewise.
21669 2018-01-29 Florian Weimer <fweimer@redhat.com>
21672 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
21673 libnsl_hidden_proto.
21674 * include/rpcsvc/yp.h (yp_xdrall): Declare with
21675 libnsl_hidden_proto.
21676 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
21677 * nis/Makefile (libnsl-routines): Add nss-default only for
21678 build-obsolete-nsl.
21679 * nis/nis_defaults.c (__nis_default_ttl): Add
21680 libnsl_hidden_nolink_def.
21681 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
21683 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
21684 * nis/ypclnt.c (yp_maplist): Likewise.
21686 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
21688 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21689 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
21691 2018-01-29 Joseph Myers <joseph@codesourcery.com>
21693 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
21694 clean -dxfq for git updates when replacing sources.
21696 * scripts/build-many-glibcs.py (Config.build_gcc): Use
21697 --disable-libcilkrts unconditionally, not just for the final GCC
21700 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
21703 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
21706 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
21709 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
21712 * localedata/locales/be_BY (mon): Rename to...
21713 (alt_mon): This, then synchronize with CLDR (nominative case).
21714 (abmon): Rename to...
21715 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
21716 (mon): Import from CLDR (genitive case).
21718 * localedata/locales/be_BY@latin (mon): Rename to...
21720 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
21722 * localedata/locales/be_BY@latin (lang_name): Reworded to
21723 "biełaruskaja mova".
21725 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
21728 * localedata/locales/el_CY (mon): Renamed to...
21730 (mon): Import from CLDR (genitive case).
21731 * localedata/locales/el_GR: Likewise.
21733 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
21736 * localedata/locales/ru_RU (mon): Rename to...
21738 (abmon): Rename to...
21739 (ab_alt_mon): This.
21740 (mon): Import from CLDR (genitive case).
21741 (abmon): Copy from the old content except the 5th month which is
21742 now in the genitive case, even when abbreviated.
21743 * localedata/locales/ru_UA: Likewise.
21744 * time/tst-strptime.c (day_tests): Add an actual example of
21745 a difference between %b and %Ob in Russian.
21747 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
21749 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
21750 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
21752 * resolv/res-close.c: Include <stdlib.h>.
21753 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
21754 <sys/wait.h>, <time.h>, <sys/uio.h>.
21755 (NOT_CANCEL_H): Add inclusion guard.
21756 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
21757 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
21758 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
21760 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
21761 vm_address_t * to ElfW(Addr) * for dl_main parameter.
21762 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
21764 * sysdeps/pthread/timer_create.c (timer_create): Do not use
21765 timer_ptr2id to cast struct timer_node * to void *.
21766 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
21767 --disable-libcilkrts to gcc configure.
21768 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
21769 and make them the default for now.
21770 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
21771 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
21772 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
21773 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
21774 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
21776 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
21777 __task_terminate would ever return successfully.
21778 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
21780 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
21781 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
21782 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
21783 critical section to make code simpler and avoid warning.
21784 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
21785 critical section to make code simpler and avoid warning.
21786 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
21787 const char * instead of char *.
21788 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
21789 __hurd_file_name_split, hurd_file_name_split,
21790 __hurd_directory_name_split, hurd_directory_name_split,
21791 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
21792 hurd_file_name_path_lookup): Make lookup function parameter take a
21793 const char *name instead of char *name.
21794 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
21795 __hurd_directory_name_split): Likewise.
21796 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
21797 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
21798 * sysdeps/mach/hurd/check_native.c: New file.
21799 * sysdeps/mach/hurd/check_pf.c: New file.
21800 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
21801 (__freeifaddrs): Define macro to freeifaddrs.
21802 * sysdeps/mach/hurd/libhurduser.abilist: New file.
21803 * sysdeps/mach/libmachuser.abilist: New file.
21804 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
21805 (do_test_bz20181): Rename accordingly.
21806 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
21807 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
21809 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
21810 version only if __USE_EXTERN_INLINES is defined.
21811 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
21812 __hurd_sockfail): Likewise.
21813 (_hurd_fd_get): Always declare functions, and provide inline versions
21814 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
21815 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
21816 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
21817 _hurd_port_set): Always declare functions, and provide inline versions
21818 only if __USE_EXTERN_INLINES and _LIBC are defined and
21820 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
21821 _hurd_critical_section_unlock): Likewise.
21822 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
21823 * __hurd_threadvar_location): Likewise.
21824 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
21825 _hurd_userlink_clear): Likewise.
21826 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
21827 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
21828 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
21829 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
21830 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
21831 __spin_lock_locked): Likewise.
21832 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
21833 __spin_lock_locked): Likewise.
21834 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
21835 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
21836 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
21837 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
21838 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
21839 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
21840 _POSIX_NO_TRUNC): Define to 0.
21841 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
21842 check size against PTHREAD_STACK_MIN.
21843 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
21844 IS_IN(libpthread)]: Include <sigsetops.h>.
21845 * mach/Makefile (user-interfaces): Add mach/gnumach.
21846 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
21847 * sysdeps/mach/configure (mach_interface_list): Regenerate.
21848 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
21849 instead of invalid -1.
21850 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
21851 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
21852 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
21855 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
21857 * hurd/fcntl-internal.h: New file.
21859 2018-01-27 James Clarke <jrtc27@jrtc27.com>
21861 * sysdeps/hppa/fpu/libm-test-ulps: Update.
21863 * sysdeps/alpha/fpu/libm-test-ulps: Update.
21865 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
21868 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
21869 Build only shared objects.
21871 2018-01-26 Carlos O'Donell <carlos@redhat.com>
21873 * README: Update for hppa.
21875 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21877 * sysdeps/sparc/fpu/libm-test-ulps: Update
21878 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
21880 2018-01-26 Carlos O'Donell <carlos@redhat.com>
21884 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21887 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21888 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
21889 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21890 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
21893 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21896 * bits/types/__cancel_jmp_buf_tag.h: New file.
21897 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
21898 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
21899 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
21900 * nptl/Makefile (headers): Add
21901 bits/types/__cancel_jmp_buf_tag.h.
21902 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
21903 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
21904 * sysdeps/nptl/pthread.h: Include
21905 <bits/types/__cancel_jmp_buf_tag.h>.
21906 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
21908 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
21910 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
21913 * localedata/locales/uk_UA (mon): Renamed to...
21915 (alt_digits): "0" removed and then renamed to...
21917 (date_fmt): Definition changed not to use the alternative
21920 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
21922 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
21923 FLAG_RISCV_FLOAT_ABI_DOUBLE.
21924 * elf/elf.h (EF_RISCV_RVC): New define.
21925 (EF_RISCV_FLOAT_ABI): Likewise.
21926 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
21927 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
21928 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
21929 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
21930 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
21932 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
21934 2018-01-25 Andreas Schwab <schwab@suse.de>
21936 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
21938 * sysdeps/gnu/configure: Regenerate.
21939 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
21940 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
21942 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
21943 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
21944 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
21945 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
21946 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
21948 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
21950 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
21951 URL, and run autoconf, make it the default for now.
21953 2018-01-24 Joseph Myers <joseph@codesourcery.com>
21955 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21956 soft-float ColdFire configuration.
21958 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
21959 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
21960 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
21962 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
21965 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
21967 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
21969 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
21972 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
21973 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
21974 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
21977 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
21980 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
21981 Rename to __reserved and add comment.
21982 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
21983 Rename to __reserved.
21985 2018-01-24 Joseph Myers <joseph@codesourcery.com>
21987 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21988 i686-gnu configurations.
21989 (Context.run_builds): Include mig, gnumach and hurd in components
21991 (Context.checkout): Add mig, gnumach and hurd to components.
21992 (Context.checkout_tar): Add URL mappings for mig, gnumach and
21994 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
21995 (Config.build): Install gnumach headers, build mig and install
21996 hurd headers for 'gnu' OS.
21997 (Config.install_gnumach_headers): New function.
21998 (Config.install_hurd_headers): Likewise.
21999 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
22000 when building for 'gnu' OS.
22002 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
22004 * manual/tunables.texi (Hardware Capability Tunables): Fix
22007 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
22009 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
22010 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
22011 (ALTMON_11, ALTMON_12): Improve documentation.
22012 * manual/time.texi (strftime): Likewise.
22014 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
22017 * localedata/locales/pl_PL: Alternative month names added,
22018 primary month names are genitive now.
22019 * time/tst-strptime.c (day_tests): Actually use a genitive case
22020 of a month name in Polish language.
22022 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
22025 * manual/locale.texi: Document ALTMON_1..12 constants for
22026 nl_langinfo. Specify when to use ALTMON instead of MON.
22027 * manual/time.texi (strftime, strptime): Document GNU extension
22028 permitting O modifier with %B and %b. Specify when to use
22031 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
22034 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
22035 names, define them as the same as abbreviated month names explicitly.
22036 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
22037 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
22038 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
22039 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
22040 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
22041 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
22042 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
22043 _NL_WABALTMON_12): New enum constants.
22044 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
22045 wab_alt_mon, and ab_alt_mon_defined members.
22046 (time_output): Output ab_alt_mon and wab_alt_mon members.
22047 (time_read): Read them, initialize them as copies of abmon and wabmon
22048 respectively if they are missing, initialize ab_alt_mon_defined.
22049 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
22050 * locale/programs/locfile-kw.h: Regenerate.
22051 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
22052 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
22054 * time/strftime_l.c (a_altmonth, aam_len): New macros.
22055 [!COMPILE_WIDE] (ABALTMON_1): New macro.
22056 (__strftime_internal): Handle %Ob and %Oh formats.
22057 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
22058 (__strptime_internal): Handle %Ob and %Oh formats.
22059 * time/tst-strptime.c (day_tests): Add more tests to parse different
22060 forms of month names including the new %Ob format specifier.
22062 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
22065 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
22066 define them as the same as primary full month names explicitly.
22067 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
22068 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
22069 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
22070 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
22071 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
22072 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
22073 _NL_WALTMON_12): New enum constants.
22074 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
22075 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
22077 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
22078 walt_mon, and alt_mon_defined members.
22079 (time_output): Output alt_mon and walt_mon members.
22080 (time_read): Read them, initialize them as copies of mon and wmon
22081 respectively if they are missing, initialize alt_mon_defined.
22082 * locale/programs/locfile-kw.gperf (alt_mon): Define.
22083 * locale/programs/locfile-kw.h: Regenerate.
22084 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
22085 * localedata/tst-langinfo.c (map): Add tests for the new constants
22086 ALTMON_1 .. ALTMON_12.
22087 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
22089 * time/strftime_l.c (f_altmonth): New macro.
22090 (__strftime_internal): Handle %OB format.
22091 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
22092 (__strptime_internal): Handle %OB format.
22093 * time/tst-strptime.c (day_tests): Add tests to parse different forms
22094 of month names including the new %OB format specifier.
22096 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22099 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
22100 from ABORT_TRANSACTION.
22101 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
22102 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
22103 ABORT_TRANSACTION_IMPL): Likewise.
22104 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
22105 Linux code, but remove the code that aborts transactions.
22107 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
22109 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
22111 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
22113 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
22114 in date: "2004-14-09" should be "2004-09-14".
22115 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
22116 "2003-15-09" should be "2003-09-15".
22118 2018-01-18 Arjun Shankar <arjun@redhat.com>
22124 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
22126 (_int_memalign): check for integer overflow before calling
22128 * malloc/tst-malloc-too-large.c: New test.
22129 * malloc/Makefile: Add tst-malloc-too-large.
22131 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
22133 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
22134 in date: "2017-24-07" should be "2017-07-24".
22135 * localedata/locales/mai_IN: Likewise.
22136 * localedata/locales/mai_NP: Likewise.
22138 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
22140 * po/ru.po: Update translations.
22142 2018-01-17 Joseph Myers <joseph@codesourcery.com>
22145 * sysdeps/hppa/backtrace.c: New file.
22147 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
22150 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
22151 align La_x86_64_retval to VEC_SIZE.
22153 2018-01-16 Joseph Myers <joseph@codesourcery.com>
22155 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
22156 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
22158 2018-01-16 Florian Weimer <fweimer@redhat.com>
22160 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
22161 Move tst-thread-exit-clobber ...
22162 [$(CXX)] (tests-unsupported): ... to here.
22164 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
22166 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
22167 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
22168 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
22169 (_dl_aarch64_cap_flags): Update.
22170 (_DL_HWCAP_COUNT): Update.
22172 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
22174 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
22175 (_DL_HWCAP_LAST): Remove.
22176 (_DL_HWCAP_COUNT): Move to ...
22177 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
22178 (_DL_HWCAP_COUNT): ... here.
22180 2018-01-16 Florian Weimer <fweimer@redhat.com>
22182 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
22183 mode with GNU extensions.
22185 2018-01-15 Alan Hayward <alan.hayward@arm.com>
22187 * elf/elf.h (NT_ARM_SVE): Define.
22189 2018-01-15 Florian Weimer <fweimer@redhat.com>
22192 * nptl/tst-minstack-throw.cc: New file.
22193 * nptl/Makefile (tests): Add tst-minstack-throw.
22194 (LDLIBS-tst-minstack-throw): Link with libstdc++.
22195 [!CXX] (tests-unsupported): Add tst-minstack-throw.
22197 2018-01-15 Joseph Myers <joseph@codesourcery.com>
22199 * scripts/build-many-glibcs.py (Context.checkout): Default
22200 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
22203 2018-01-13 Carlos O'Donell <carlos@redhat.com>
22206 * elf/elf.h (DF_1_STUB): Define.
22207 (DF_1_PIE): Define.
22209 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22212 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
22213 Do not add 0.5 to integer or out-of-range arguments.
22215 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
22217 * po/bg.po: Update translations.
22218 * po/cs.po: Likewise.
22219 * po/de.po: Likewise.
22220 * po/ko.po: Likewise.
22221 * po/pl.po: Likewise.
22222 * po/sv.po: Likewise.
22223 * po/uk.po: Likewise.
22224 * po/vi.po: Likewise.
22226 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
22228 * aarch64/start.S (_start): Use __wrap_main.
22229 (__wrap_main): New local symbol.
22231 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
22235 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
22236 generic_getcwd if the path returned by getcwd syscall is not absolute.
22237 * io/tst-getcwd-abspath.c: New test.
22238 * io/Makefile (tests): Add tst-getcwd-abspath.
22240 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
22242 * malloc/malloc.c (malloc_consolidate): Add size check.
22244 2018-01-12 Florian Weimer <fweimer@redhat.com>
22246 * support/write_message.c (write_message): Preserve errno.
22247 * support/check.c (print_failure): Likewise.
22248 * support/support_test_verify_impl.c (support_test_verify_impl):
22250 * support/support_test_compare_failure.c
22251 (support_test_compare_failure): Likewise.
22253 2018-01-12 Florian Weimer <fweimer@redhat.com>
22256 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
22257 Prevent installation of libnsl.so.
22258 (libnsl-inhibit-o): Do not build (or install) static libraries.
22260 2018-01-12 Egmont Koblinger <egmont@gmail.com>
22263 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
22264 before the day number which may produce a double space.
22265 (date_fmt): Likewise.
22267 2018-01-12 Joseph Myers <joseph@codesourcery.com>
22269 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
22270 instead of fegetenv.
22272 2018-01-11 Joseph Myers <joseph@codesourcery.com>
22275 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
22276 comment to say exceptions are discarded.
22277 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
22279 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
22282 2018-01-11 Florian Weimer <fweimer@redhat.com>
22284 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
22287 2018-01-11 Florian Weimer <fweimer@redhat.com>
22290 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
22291 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
22293 2018-01-10 Joseph Myers <joseph@codesourcery.com>
22296 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
22297 negative arguments in test for NaN or infinity argument.
22299 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
22301 * po/libc.pot: Regenerate.
22303 2018-01-10 Florian Weimer <fweimer@redhat.com>
22306 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
22307 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
22309 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22311 * hurd/hurd/fd.h: Include <fcntl.h>
22312 (__hurd_at_flags): New function.
22313 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
22314 with call to __hurd_at_flags.
22315 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
22316 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
22318 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
22319 (__access_noerrno): Use __faccessat_common instead of access_common.
22320 (__access): Likewise.
22321 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
22322 with a call to __faccessat.
22323 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
22324 (__faccessat_common): ... this. Move implementation of __access into it when
22325 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
22326 reauthenticate_cwdir_at helper to implement AT mechanism.
22327 (__faccessat_noerrno): New function, just calls __faccessat_common.
22328 (__faccessat): New function, just calls __faccessat_common.
22329 (faccessat): Define weak alias.
22331 2018-01-10 Joseph Myers <joseph@codesourcery.com>
22334 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22335 (CFLAGS-s_fmaxmagl.c): New variable.
22336 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
22339 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
22340 long int for arguments of possibly overflowing addition or
22342 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
22344 2018-01-09 Joseph Myers <joseph@codesourcery.com>
22347 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22348 (CFLAGS-e_remainderl.c): New variable.
22351 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
22353 (CFLAGS-s_cacoshl.c): Likewise.
22354 (CFLAGS-s_casinhl.c): Likewise.
22355 (CFLAGS-s_catanl.c): Likewise.
22356 (CFLAGS-s_catanhl.c): Likewise.
22357 (CFLAGS-s_cexpl.c): Likewise.
22358 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
22359 (CFLAGS-s_csinhl.c): Likewise.
22360 (CFLAGS-s_clogl.c): Likewise.
22361 (CFLAGS-s_clog10l.c): Likewise.
22362 (CFLAGS-s_csinl.c): Likewise.
22363 (CFLAGS-s_csqrtl.c): Likewise.
22365 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
22366 2017-01-09 Svante Signell <svante.signell@gmail.com>
22368 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
22369 (_hurd_exec_paths): New function.
22370 * hurd/hurd.h (_hurd_exec): Deprecate function.
22371 (_hurd_exec_paths): Declare function.
22372 * hurd/Versions: Export _hurd_exec_paths.
22373 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
22374 (__execve): Use __getcwd to build absolute path, and use
22375 _hurd_exec_paths instead of _hurd_exec.
22376 * sysdeps/mach/hurd/spawni.c: Likewise.
22377 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
22380 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
22382 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
22383 test instead of failing in case of ENOENT returned by posix_openpt.
22385 2018-01-08 Florian Weimer <fweimer@redhat.com>
22387 resolv: Support binary labels in test framework.
22388 * support/resolv_test.c (struct to_be_freed): Remove.
22389 (struct compressed_name): New.
22390 (allocate_compressed_name, ascii_tolower)
22391 (compare_compressed_name): New functions.
22392 (struct resolv_response_builder): Update type of
22393 compression_offsets for use with tsearch. Rempve to_be_freed.
22394 (response_push_pointer_to_free): Remove function.
22395 (resolv_response_add_name): Rewrite using struct compressed_name
22396 and tsearch instead of hsearch_r.
22397 (response_builder_allocate): Remove initialization of
22398 compression_offsets.
22399 (response_builder_free): Update for removal of to_be_freed. Use
22400 tdestroy instead of hdestroy_r.
22401 * resolv/Makefile (tests): Add tst-resolv-binary.
22402 (tst-resolv-binary): Link with -lresolv -lpthread.
22404 2018-01-08 Florian Weimer <fweimer@redhat.com>
22406 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
22407 time. Pass positive flag instead of negative flag to
22408 support_test_compare_failure.
22409 (support_test_compare_failure): Change negative parameter to
22411 * support/support_test_compare_failure.c (report)
22412 (support_test_compare_failure): Likewise.
22413 * support/tst-test_compare.c (return_ssize_t, return_int): New.
22414 (do_test): Check int/size_t, ssize_t/size_t comparisons.
22416 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
22419 * nptl/descr.h (stackblock, stackblock_size): Update comments.
22420 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
22421 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
22423 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
22425 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
22427 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22428 Add s_sincosf-sse2 and s_sincosf-fma.
22429 (CFLAGS-s_sincosf-fma.c): New.
22430 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
22431 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
22432 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
22433 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
22434 __sincosf is defined.
22436 2018-01-08 Florian Weimer <fweimer@redhat.com>
22438 * nptl/tst-thread-exit-clobber.cc: New file.
22439 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
22441 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
22442 (tests): Add tst-thread-exit-clobber.
22443 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
22445 2018-01-08 Florian Weimer <fweimer@redhat.com>
22447 * support/check.h (support_static_assert): Define.
22448 (TEST_COMPARE): Use it.
22450 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
22452 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
22453 [!__RLIM_T_MATCHES_RLIM64_T]
22454 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
22455 __getrlimit64. Add libc_hidden_weak.
22457 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
22459 * elf/elf.h (R_RISCV_NONE): New define.
22460 (R_RISCV_32): Likewise.
22461 (R_RISCV_64): Likewise.
22462 (R_RISCV_RELATIVE): Likewise.
22463 (R_RISCV_COPY): Likewise.
22464 (R_RISCV_JUMP_SLOT): Likewise.
22465 (R_RISCV_TLS_DTPMOD32): Likewise.
22466 (R_RISCV_TLS_DTPMOD64): Likewise.
22467 (R_RISCV_TLS_DTPREL32): Likewise.
22468 (R_RISCV_TLS_DTPREL64): Likewise.
22469 (R_RISCV_TLS_TPREL32): Likewise.
22470 (R_RISCV_TLS_TPREL64): Likewise.
22471 * Makerules (make-link-multidir): Make directories before linking into
22473 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
22475 (VDSO_HASH_LINUX_4_15): Likewise.
22476 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
22477 in subdirectories of lib.
22478 * nptl/Makefile (/librt.so): Always depend on
22479 "$(shared-thread-library)".
22481 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22483 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
22484 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
22485 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
22487 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
22488 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
22490 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
22491 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
22492 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
22493 * sysdeps/gnu/glob-lstat-compat.c: New file.
22494 * sysdeps/gnu/glob64-lstat-compat.c: New file.
22495 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
22497 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22499 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
22500 Reserve 16 chars to reloc_addr before calling _itoa_word.
22502 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
22505 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
22506 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
22508 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
22509 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
22511 * resource/tst-getrlimit.c: Add copyright header.
22513 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
22514 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22516 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
22517 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
22518 Define __GI_getrlimit64 as weak alias of __getrlimit64.
22519 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
22521 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
22522 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
22523 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
22524 RLIM64_INFINITY): Fix values to match the kernel ones.
22525 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
22526 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
22527 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
22528 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
22529 getrlimit64@@GLIBC_2_27.
22530 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
22532 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
22533 getrlimit, setrlimit, getrlimit64 and setrlimit64.
22534 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
22535 setrlimit, getrlimit64 and setrlimit64.
22537 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
22540 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
22541 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
22543 2018-01-04 Joseph Myers <joseph@codesourcery.com>
22545 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
22546 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
22547 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
22549 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22553 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
22554 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
22558 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
22559 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
22560 * sysdeps/alpha/fpu/s_floor.c: Likewise.
22561 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
22563 2018-01-04 Florian Weimer <fweimer@redhat.com>
22566 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
22567 Align the stack before calling exit.
22568 * stdlib/tst-makecontext-align.c: New file.
22569 * stdlib/Makefile (tests): Add tst-makecontext-align.
22571 2018-01-04 Florian Weimer <fweimer@redhat.com>
22573 Add support for calling dlvsym from libc.so.
22574 * include/dlfcn.h (__libc_dlvsym): Declare.
22575 * elf/Makefile (tests-static-internal): Add
22576 tst-libc_dlvsym-static.
22577 (tests-internal): Add tst-libc_dlvsym.
22578 (modules-names): Add tst-libc_dlvsym-dso.
22579 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
22580 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
22581 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
22582 object tst-libc_dlvsym-dso.so needs to be built before running
22584 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
22585 * elf/Versions: Export __libc_dlvsym.
22586 * elf/dl-libc.c (struct do_dlvsym_args): New.
22587 (do_dlvsym, __libc_dlvsym): New functions.
22588 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
22589 (_dl_open_hook2): New variable.
22590 (__libc_register_dl_open_hook): Set it.
22591 * elf/tst-libc_dlvsym-dso.c: New file.
22592 * elf/tst-libc_dlvsym-static.c: Likewise.
22593 * elf/tst-libc_dlvsym.c: Likewise.
22594 * elf/tst-libc_dlvsym.h: Likewise.
22596 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
22598 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
22599 include <sys/mount.h>.
22601 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
22603 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
22604 Add __NO_MATH_ERRNO__ check.
22606 2018-01-02 Joseph Myers <joseph@codesourcery.com>
22608 * sysdeps/mips/mips32/libm-test-ulps: Update.
22609 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22611 2018-01-02 Florian Weimer <fweimer@redhat.com>
22613 * misc/tst-pselect.c: Add copyright header.
22615 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
22617 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
22619 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
22621 (settrlimit): Rename into setrlimit.
22622 (__sttrlimit): Rename into __setrlimit.
22624 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
22625 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
22626 never defined in that case.
22628 2018-01-02 Joseph Myers <joseph@codesourcery.com>
22630 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
22632 * sysdeps/arm/libm-test-ulps: Update.
22634 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
22635 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
22637 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22639 * NEWS: Add cosf and sincosf to list of optimized functions.
22641 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
22644 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
22645 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
22646 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
22647 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
22649 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
22652 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
22654 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
22655 making a copy of it.
22657 2018-01-01 Joseph Myers <joseph@codesourcery.com>
22659 * manual/texinfo.tex: Update to version 2017-12-26.21 with
22660 trailing whitespace removed.
22661 * scripts/config.guess: Update to version 2018-01-01.
22662 * scripts/config.sub: Update to version 2018-01-01.
22663 * scripts/move-if-change: Update from gnulib.
22665 * NEWS: Update copyright dates.
22666 * catgets/gencat.c (print_version): Likewise.
22667 * csu/version.c (banner): Likewise.
22668 * debug/catchsegv.sh: Likewise.
22669 * debug/pcprofiledump.c (print_version): Likewise.
22670 * debug/xtrace.sh (do_version): Likewise.
22671 * elf/ldconfig.c (print_version): Likewise.
22672 * elf/ldd.bash.in: Likewise.
22673 * elf/pldd.c (print_version): Likewise.
22674 * elf/sotruss.sh: Likewise.
22675 * elf/sprof.c (print_version): Likewise.
22676 * iconv/iconv_prog.c (print_version): Likewise.
22677 * iconv/iconvconfig.c (print_version): Likewise.
22678 * locale/programs/locale.c (print_version): Likewise.
22679 * locale/programs/localedef.c (print_version): Likewise.
22680 * login/programs/pt_chown.c (print_version): Likewise.
22681 * malloc/memusage.sh (do_version): Likewise.
22682 * malloc/memusagestat.c (print_version): Likewise.
22683 * malloc/mtrace.pl: Likewise.
22684 * manual/libc.texinfo: Likewise.
22685 * nptl/version.c (banner): Likewise.
22686 * nscd/nscd.c (print_version): Likewise.
22687 * nss/getent.c (print_version): Likewise.
22688 * nss/makedb.c (print_version): Likewise.
22689 * posix/getconf.c (main): Likewise.
22690 * scripts/test-installation.pl: Likewise.
22691 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
22693 * All files with FSF copyright notices: Update copyright dates
22694 using scripts/update-copyrights.
22695 * locale/programs/charmap-kw.h: Regenerated.
22696 * locale/programs/locfile-kw.h: Likewise.
22698 2017-12-31 Zack Weinberg <zackw@panix.com>
22700 * libio/bits/libio-ldbl.h: Correct check for improper
22701 inclusion. Add own multiple include guard.
22703 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
22704 Dmitry V. Levin <ldv@altlinux.org>
22708 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
22709 string token expansion. Check for NULL pointer or empty string possibly
22710 returned by expand_dynamic_string_token.
22711 (decompose_rpath): Check for empty path after dynamic string
22714 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
22717 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
22719 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
22720 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
22721 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
22722 and PTRACE_SYSCALL.
22723 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
22724 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22725 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22726 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22727 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22728 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
22730 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
22731 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
22732 __ptrace_peeksiginfo_flags, ptrace): Move to ...
22733 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
22734 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22735 bits/ptrace-shared.h.
22736 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
22737 <bits/ptrace-shared.h>.
22738 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
22739 __ptrace_peeksiginfo_flags, ptrace): Remove.
22740 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22741 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22742 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22743 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22744 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
22746 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
22749 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
22750 end of the loop. Improve comments.
22752 2017-12-29 Zack Weinberg <zackw@panix.com>
22755 * manual/errno.texi (Checking for Errors): Explicitly say that errno
22756 might be set on success.
22758 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
22761 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
22762 is unchanged on success.
22764 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
22766 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
22768 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
22769 expand_dynamic_string_token): Likewise.
22770 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
22773 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
22776 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
22777 is set and name contains ':', and all code depending on these checks.
22779 2017-12-24 Zack Weinberg <zackw@panix.com>
22781 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
22782 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
22784 * libio/libio.h: Rename the original version of this file to
22785 libio/bits/libio.h. Error out if not included by stdio.h or the
22787 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
22788 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
22789 if not included by bits/libio.h or the stub _G_config.h.
22790 * sysdeps/unix/sysv/linux/_G_config.h: Move to
22791 sysdeps/unix/sysv/linux/bits. Error out if not included by
22792 bits/libio.h or the stub _G_config.h.
22793 * libio/stdio.h: Include bits/libio.h, not libio.h.
22794 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
22795 well as libio.h and _G_config.h.
22797 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
22798 * libio/strfile.h, stdio-common/vfscanf.c
22799 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
22800 Include stdio.h, not _G_config.h nor libio.h.
22801 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
22802 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
22804 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
22806 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
22809 * stdlib/getrandom.c (getrandom): Fix comment.
22810 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
22812 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
22815 * manual/arith.texi (strtoul): Fix a typo.
22818 * manual/arith.texi (finite): Fix the description of the return
22821 2017-12-22 Eric Blake <ebb9@byu.net>
22823 Avoid gcc warnings on cygwin
22824 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
22825 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
22826 Avoid unused variable.
22828 2017-12-22 Florian Weimer <fweimer@redhat.com>
22830 * io/Makefile (routines): Add copy_file_range.
22831 (tests): Add tst-copy_file_range.
22832 (tests-static, tests-internal): Add tst-copy_file_range-compat.
22833 * io/Versions (GLIBC_2.27): Export copy_file_range.
22834 * io/copy_file_range-compat.c: New file.
22835 * io/copy_file_range.c: Likewise.
22836 * io/tst-copy_file_range-compat.c: Likewise.
22837 * io/tst-copy_file_range.c: Likewise.
22838 * manual/llio.texi (Copying File Data): New section.
22839 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
22840 * support/Makefile (libsupport-routines): Add support-xfstat,
22841 xftruncate, xlseek.
22842 * support/support-xfstat.c: New file.
22843 * support/xftruncate.c: Likewise.
22844 * support/xlseek.c: Likewise.
22845 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
22846 * sysdeps/unix/sysv/linux/**.abilist: Update.
22847 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
22849 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
22851 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22852 disable-multi-arch variant to aarch64-linux-gnu.
22854 2017-12-20 Joseph Myers <joseph@codesourcery.com>
22856 * manual/texinfo.tex: Update to version 2017-12-18.20 with
22857 trailing whitespace removed.
22858 * scripts/config.guess: Update to version 2017-12-17.
22859 * scripts/config.sub: Update to version 2017-11-23.
22860 * scripts/install-sh: Update to version 2017-09-23.17.
22861 * scripts/move-if-change: Update to version 2017-09-13 06:45.
22863 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22865 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
22866 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
22867 * sysdeps/tile/_mcount.S (__mcount): Likewise.
22868 * sysdeps/tile/crti.S (_init, _fini): Likewise.
22869 * sysdeps/tile/crtn.S: Likewise.
22870 * sysdeps/tile/dl-start.S (_start): Likewise.
22871 * sysdeps/tile/dl-trampoline.S: Likewise.
22872 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
22873 * sysdeps/tile/start.S (_start): Likewise.
22874 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
22875 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
22876 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
22877 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
22878 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
22879 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
22880 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
22882 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
22884 * sysdeps/tile/preconfigure: Remove tilegx folder.
22885 * sysdeps/tile/tilegx/Implies: Move definitions to ...
22886 * sysdeps/tile/Implies: ... here.
22887 * sysdeps/tile/tilegx/Makefile: Move rules to ...
22888 * sysdeps/tile/Makefile: ... here.
22889 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
22890 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
22891 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
22892 * sysdeps/tile/bits/wordsize.h: ... here.
22893 * sysdeps/tile/tilegx/*: Move to ...
22894 * sysdeps/tile/*: ... here.
22895 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
22896 * sysdeps/tile/tilegx32/Implies: ... here.
22897 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
22898 * sysdeps/tile/tilegx64/Implies: ... here.
22899 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
22901 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
22902 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
22903 * sysdeps/unix/sysv/linux/tile/*: ... here.
22904 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
22905 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
22906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
22907 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
22909 * README: Remove tilepro-*-linux-gnu from supported architecture.
22910 * scripts/build-many-glibcs.py: Likewise.
22911 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
22912 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
22913 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
22914 elf_machine_matches_host, elf_machine_dynamic,
22915 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
22916 howto, elf_machine_rela): Likewise.
22917 * sysdeps/tile/dl-start.S (_start): Likewise.
22918 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
22919 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
22920 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
22921 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
22922 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
22923 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
22925 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
22926 * sysdeps/tile/preconfigure: Likewise.
22927 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
22928 POINTER_CHK_GUARD): Likewise.
22929 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
22930 * sysdeps/tile/start.S (_start): Likewise.
22931 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
22933 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
22934 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
22936 * sysdeps/unix/sysv/linux/tile/bits/environments.h
22937 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
22938 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
22940 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
22941 * sysdeps/tile/tilepro/Implies: Remove file.
22942 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
22943 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
22944 * sysdeps/tile/tilepro/memchr.c: Likewise.
22945 * sysdeps/tile/tilepro/memcpy.S: Likewise.
22946 * sysdeps/tile/tilepro/memset.c: Likewise.
22947 * sysdeps/tile/tilepro/memusage.h: Likewise.
22948 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
22949 * sysdeps/tile/tilepro/strchr.c: Likewise.
22950 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
22951 * sysdeps/tile/tilepro/strlen.c: Likewise.
22952 * sysdeps/tile/tilepro/strrchr.c: Likewise.
22953 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
22954 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
22955 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
22956 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
22957 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
22958 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
22960 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
22961 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22962 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
22963 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
22964 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22965 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
22966 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
22967 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
22968 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
22969 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
22970 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
22971 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
22972 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
22973 tilepro mention in comment.
22975 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
22976 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
22977 * nptl/pthread_join_common.c: New file: common function used on
22978 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
22979 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
22980 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
22981 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
22982 (cleanup): Move definition to pthread_join_common.c.
22983 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
22984 Remove superflous checks.
22985 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
22988 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
22990 * sysdeps/aarch64/libm-test-ulps: Update.
22992 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22994 * sysdeps/aarch64/memset.S (MEMSET): Define.
22996 2017-12-20 Florian Weimer <fweimer@redhat.com>
22999 nptl: Provide full implementation of pthread_self in libc.so.
23000 * nptl/Makefile (routines): Add pthread_self.
23001 (libpthread-routines): Replace pthread_self with
23002 compat-pthread_self.
23003 * nptl/forward.c (pthread_self): Remove.
23004 * nptl/nptl-init.c (pthread_functions): Do not initialize
23006 * nptl/pthread_self.c (pthread_self): Remove weak alias.
23007 * nptl/compat-pthread_self.c: New file.
23008 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
23009 Remove ptr_pthread_self.
23011 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
23013 * posix/regcomp.c: Fix spelling in comments.
23014 * posix/regex.h: Likewise.
23015 * posix/regex_internal.c: Likewise.
23016 * posix/regexec.c: Likewise.
23018 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23021 * math/Makefile [C++] (tests): Add test for iseqsig.
23022 * math/math.h [C++] (iseqsig): New implementation, which does
23023 not rely on __MATH_TG/__builtin_types_compatible_p.
23024 * math/test-math-iseqsig.cc: New file.
23025 * sysdeps/powerpc/powerpc64le/Makefile
23026 (CFLAGS-test-math-iseqsig.cc): New variable.
23028 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
23030 * elf/dl-load.c (is_trusted_path): Remove.
23031 (fillin_rpath): Remove check_trusted argument and its use,
23032 all callers changed.
23034 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23037 * Makeconfig (link-pie-before-libc): Replace -pie with
23038 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
23039 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
23040 (tst-dlopen-aout-no-pie): New.
23041 (LDFLAGS-tst-prelink): Removed.
23042 (tst-prelink-no-pie): New.
23043 (LDFLAGS-tst-main1): Removed.
23044 (tst-main1-no-pie): New.
23045 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
23046 (tst-gmon-no-pie): New.
23048 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23050 * manual/install.texi: Document that --enable-static-pie
23052 * INSTALL: Regenerated.
23054 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
23057 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
23060 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23064 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23066 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23068 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23070 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
23071 <errno.h>. Include "eexp.tbl".
23072 (half): New constant.
23074 (__ieee754_exp): Rewrite.
23075 (__slowexp): Remove prototype.
23076 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
23077 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
23078 * sysdeps/i386/fpu/slowexp.c: Likewise.
23079 * sysdeps/ia64/fpu/slowexp.c: Likewise.
23080 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
23081 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
23082 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
23083 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23084 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
23085 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
23087 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
23088 (CPPFLAGS-slowexp.c): Remove variable.
23089 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23090 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
23091 (CFLAGS-slowexp-fma.c): Remove variable.
23092 (CFLAGS-slowexp-fma4.c): Likewise.
23093 (CFLAGS-slowexp-avx.c): Likewise.
23094 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
23096 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
23097 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
23098 * math/Makefile (type-double-routines): Remove slowexp.
23099 * manual/probes.texi (slowexp_p6): Remove.
23100 (slowexp_p32): Likewise.
23102 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23104 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
23107 * lib/glob.c (glob): Do not pass NULL to mempcpy.
23109 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23111 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23113 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23115 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
23116 <errno.h>. Include "eexp.tbl".
23117 (half): New constant.
23119 (__ieee754_exp): Rewrite.
23120 (__slowexp): Remove prototype.
23121 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
23122 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
23123 * sysdeps/i386/fpu/slowexp.c: Likewise.
23124 * sysdeps/ia64/fpu/slowexp.c: Likewise.
23125 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
23126 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
23127 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
23128 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23129 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
23130 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
23132 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
23133 (CPPFLAGS-slowexp.c): Remove variable.
23134 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23135 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
23136 (CFLAGS-slowexp-fma.c): Remove variable.
23137 (CFLAGS-slowexp-fma4.c): Likewise.
23138 (CFLAGS-slowexp-avx.c): Likewise.
23139 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
23141 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
23142 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
23143 * math/Makefile (type-double-routines): Remove slowexp.
23144 * manual/probes.texi (slowexp_p6): Remove.
23145 (slowexp_p32): Likewise.
23147 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23148 James Clarke <jrtc27@jrtc27.com>
23151 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
23154 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23157 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
23160 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23163 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23164 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
23165 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23166 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
23169 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23172 * bits/types/__cancel_jmp_buf_tag.h: New file.
23173 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
23174 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
23175 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
23176 * nptl/Makefile (headers): Add
23177 bits/types/__cancel_jmp_buf_tag.h.
23178 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
23179 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
23180 * sysdeps/nptl/pthread.h: Include
23181 <bits/types/__cancel_jmp_buf_tag.h>.
23182 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
23184 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
23186 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
23188 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23189 --enable-static-pie variants to x86_64, x32 and i686.
23191 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23194 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
23195 argument for attrubutes. All callers changed.
23196 (__inline_mathop1): Likewise. All callers changed.
23197 (__inline_mathop): Likewise. All callers changed.
23198 [__USE_MISC] (scalbn): Use __inline_forward instead of
23199 __inline_forward_c.
23200 [__USE_ISOC99] (scalbln): Likewise.
23201 [__USE_ISOC99] (nearbyint): Likewise.
23202 [__USE_ISOC99] (lrint): Likewise.
23203 [__USE_MISC] (scalbnf): Likewise.
23204 [__USE_ISOC99] (scalblnf): Likewise.
23205 [__USE_ISOC99] (nearbyintf): Likewise.
23206 [__USE_ISOC99] (lrintf): Likewise.
23207 [__USE_MISC] (scalbnl): Likewise.
23208 [__USE_ISOC99] (scalblnl): Likewise.
23209 [__USE_ISOC99] (nearbyintl): Likewise.
23210 [__USE_ISOC99] (lrintl): Likewise.
23211 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
23212 __inline_mathop and __m81_defun changed.
23214 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
23215 CPU or FPU for ARM hard-float configurations.
23217 2017-12-18 Joseph Myers <joseph@codesourcery.com>
23219 * nptl/tst-attr3.c: Include <libc-diag.h>.
23220 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
23222 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
23224 * string/tester.c (test_strncat): Also disable -Warray-bounds
23225 warnings for two tests.
23227 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
23230 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
23231 $(cc-pie-default) == yes.
23232 * config.make.in (cc-pie-default): New.
23233 * configure.ac (libc_cv_pie_default): Renamed to ...
23234 (libc_cv_cc_pie_default): This.
23235 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
23236 * configure: Regenerated.
23238 2017-12-18 Florian Weimer <fweimer@redhat.com>
23241 ld.so: Harden dl-libc/libdl hooks.
23242 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
23243 (rtld_active): New function.
23244 * dlfcn/dladdr.c (__dladdr): Call it.
23245 * dlfcn/dladdr1.c (__dladdr1): Likewise.
23246 * dlfcn/dlclose.c (__dlcose): Likewise.
23247 * dlfcn/dlerror.c (__dlerror): Likewise.
23248 * dlfcn/dlinfo.c (__dlinfo): Likewise.
23249 * dlfcn/dlmopen.c (__dlmopen): Likewise.
23250 * dlfcn/dlopen.c (__dlopen): Likewise.
23251 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
23252 * dlfcn/dlsym.c (__dlsym): Likewise.
23253 * dlfcn/dlvsym.c (__dlvsym): Likewise.
23254 * libio/vtables.c (_IO_vtable_check): Likewise.
23255 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
23256 (__libc_dlclose): Likewise.
23257 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
23260 2017-12-18 Joseph Myers <joseph@codesourcery.com>
23263 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
23264 buffers for readlink input and output.
23266 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
23269 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
23270 inhibit_stack_protector.
23273 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
23274 inhibit_stack_protector.
23276 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
23279 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
23280 code and invocation.
23282 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
23284 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
23286 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
23289 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
23291 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23293 * sysdeps/s390/fpu/libm-test-ulps: Update.
23295 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23299 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23301 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
23302 constants to s_sincosf.h file.
23303 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23304 * sysdeps/ieee754/flt-32/s_sincosf.c: New
23306 * sysdeps/ieee754/flt-32/s_sincosf.h:
23309 2017-12-12 Carlos O'Donell <carlos@redhat.com>
23312 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
23315 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
23318 * INSTALL: Regenerated.
23319 * Makeconfig (real-static-start-installed-name): New.
23320 (pic-default): Updated for --enable-static-pie.
23321 (pie-default): New for --enable-static-pie.
23322 (default-pie-ldflag): Likewise.
23323 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
23324 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
23325 Replace $(static-start-installed-name) with
23326 $(real-static-start-installed-name).
23327 (+prectorT): Updated for --enable-static-pie.
23328 (+postctorT): Likewise.
23329 (CFLAGS-.o): Add $(pie-default).
23330 (CFLAGS-.op): Likewise.
23331 * NEWS: Mention --enable-static-pie.
23332 * config.h.in (ENABLE_STATIC_PIE): New.
23333 * configure.ac (--enable-static-pie): New configure option.
23334 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
23335 (have-static-pie): Likewise.
23336 Enable static PIE if linker supports --no-dynamic-linker.
23337 (ENABLE_STATIC_PIE): New AC_DEFINE.
23338 (enable-static-pie): New LIBC_CONFIG_VAR.
23339 * configure: Regenerated.
23340 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
23341 gr$(start-installed-name) for --enable-static-pie.
23342 (extra-objs): Likewise.
23343 (install-lib): Likewise.
23344 (extra-objs): Add static-reloc.o and static-reloc.os
23345 ($(objpfx)$(start-installed-name)): Also depend on
23346 $(objpfx)static-reloc.o.
23347 ($(objpfx)r$(start-installed-name)): New.
23348 ($(objpfx)g$(start-installed-name)): Also depend on
23349 $(objpfx)static-reloc.os.
23350 ($(objpfx)gr$(start-installed-name)): New.
23351 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
23353 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
23355 * csu/static-reloc.c: New file.
23356 * elf/Makefile (routines): Add dl-reloc-static-pie.
23357 (elide-routines.os): Likewise.
23358 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
23359 (tst-tls1-static-non-pie-no-pie): New.
23360 * elf/dl-reloc-static-pie.c: New file.
23361 * elf/dl-support.c (_dl_get_dl_main_map): New function.
23362 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
23363 STATIC_PIE_BOOTSTRAP.
23364 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
23365 * gmon/Makefile (tests): Add tst-gmon-static-pie.
23366 (tests-static): Likewise.
23367 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
23368 (tst-gmon-static-no-pie): New.
23369 (CFLAGS-tst-gmon-static-pie.c): Likewise.
23370 (CRT-tst-gmon-static-pie): Likewise.
23371 (tst-gmon-static-pie-ENV): Likewise.
23372 (tests-special): Likewise.
23373 ($(objpfx)tst-gmon-static-pie.out): Likewise.
23374 (clean-tst-gmon-static-pie-data): Likewise.
23375 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
23376 * gmon/tst-gmon-static-pie.c: New file.
23377 * manual/install.texi: Document --enable-static-pie.
23378 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
23379 (_dl_get_dl_main_map): Likewise.
23380 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
23381 * sysdeps/x86_64/configure.ac: Likewise.
23382 * sysdeps/i386/configure: Regenerated.
23383 * sysdeps/x86_64/configure: Likewise.
23384 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
23385 (ASFLAGS-.op): Likewise.
23387 2017-12-15 Joseph Myers <joseph@codesourcery.com>
23389 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
23390 * posix/tst-mmap-offset.c (fname): Use /tmp.
23391 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
23393 2017-12-15 Steve Ellcey <sellcey@cavium.com>
23395 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
23397 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
23399 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
23402 2017-12-15 Joseph Myers <joseph@codesourcery.com>
23404 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
23405 --with-float=hard for arm-linux-gnueabihf configurations.
23408 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
23409 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
23410 ($(mo-installed)): Use $(objpfx)%.mo.
23411 (realclean): Remove rule.
23413 * po/Makefile (linguas): Remove rule and dependencies.
23414 (linguas.mo): Likewise.
23415 (.PHONY): Do not depend on linguas and linguas.mo.
23416 (podir): Remove variable.
23417 (pofiles): Likewise.
23418 [$(pofiles)] (%.po): Remove rule.
23420 * sysdeps/sparc/sparc32/Makefile
23421 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
23422 start-of-line whitespace in argument of echo.
23423 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
23424 with whitespace. Generate __wrap_.udiv alias.
23425 * sysdeps/sparc/sparc32/rem.S: Regenerated.
23426 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
23427 * sysdeps/sparc/sparc32/udiv.S: Likewise.
23428 * sysdeps/sparc/sparc32/urem.S: Likewise.
23430 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23432 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
23433 for aligned inputs.
23435 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
23437 * benchtests/bench-strcmp.c: Print output in JSON format.
23439 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
23441 2017-12-14 Florian Weimer <fweimer@redhat.com>
23445 * elf/dl-load.c (_dl_init_paths): Compute number of components in
23446 the expanded path string.
23448 2017-12-14 Florian Weimer <fweimer@redhat.com>
23452 * elf/dl-load.c (system_dirs): Update comment.
23453 (nsystem_dirs_len): Use array_length.
23454 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
23456 2017-12-14 Florian Weimer <fweimer@redhat.com>
23458 Simplify compiling most of support/ outside of glibc.
23459 * support/check_addrinfo.c: Include <string.h>.
23460 * support/check_dns_packet.c: Likewise.
23461 * support/check_hostent.c: Likewise.
23462 * support/support_can_chroot.c: Include <support/xunistd.h>.
23463 * support/support_format_addrinfo.c: Include <stdlib.h>
23464 * support/support_format_dns_packet.c: Include <stdbool.h>.
23465 * support/support_format_hostent.c: Include <stdlib.h>.
23466 * support/support_format_netent.c: Likewise.
23467 * support/support_write_string.c: Include <support/xunistd.h>.
23468 * support/xdlfcn.c: Include <stddef.h>.
23470 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
23472 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
23474 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23475 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23477 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23478 (sysdeps_routines): Add memset-niagara7.
23479 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
23481 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
23483 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
23484 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
23485 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
23486 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
23487 Add niagara7 option.
23488 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
23491 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23492 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
23493 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
23495 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
23497 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
23498 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
23499 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
23500 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
23501 and __memmove_niagara7.
23502 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
23503 Add niagara7 option.
23504 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
23505 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
23506 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
23507 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
23508 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
23510 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
23512 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
23513 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
23514 * sysdeps/sparc/sparc64/memmove.S: Likewise.
23515 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
23517 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
23518 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
23519 _dl_sparc_cap_flags array.
23520 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
23522 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
23524 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
23525 time whenever possible.
23527 2017-12-12 Carlos O'Donell <carlos@redhat.com>
23529 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
23530 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
23532 2017-12-12 Joseph Myers <joseph@codesourcery.com>
23534 * soft-fp/fmadf4.c: Move to ....
23535 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
23536 * soft-fp/fmasf4.c: Move to ....
23537 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
23538 * soft-fp/fmatf4.c: Move to ....
23539 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
23540 * sysdeps/ieee754/soft-fp/Makefile: New file.
23541 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
23542 * sysdeps/arm/preconfigure: Regenerated.
23543 * sysdeps/arm/nofpu/Implies: New file.
23544 * sysdeps/arm/s_fma.c: Remove file.
23545 * sysdeps/arm/s_fmaf.c: Likewise.
23546 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
23547 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
23548 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
23549 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
23550 * sysdeps/microblaze/s_fma.c: Remove file.
23551 * sysdeps/microblaze/s_fmaf.c: Likewise.
23552 * sysdeps/mips/mips32/nofpu/Implies: New file.
23553 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
23554 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
23555 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
23556 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
23557 * sysdeps/mips/ieee754/s_fma.c: Remove file.
23558 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
23559 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
23561 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
23562 * sysdeps/nios2/s_fma.c: Remove file.
23563 * sysdeps/nios2/s_fmaf.c: Likewise.
23564 * sysdeps/sh/nofpu/Implies: New file.
23565 * sysdeps/sh/s_fma.c: Remove file.
23566 * sysdeps/sh/s_fmaf.c: Likewise.
23567 * sysdeps/tile/Implies: Add ieee754/soft-fp.
23568 * sysdeps/tile/s_fma.c: Remove file.
23569 * sysdeps/tile/s_fmaf.c: Likewise.
23571 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
23573 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23574 Add s_cosf-sse2 and s_cosf-fma.
23575 (CFLAGS-s_cosf-fma.c): New.
23576 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
23577 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
23578 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
23580 2017-12-12 Steve Ellcey <sellcey@cavium.com>
23582 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
23584 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23586 * libio/Makefile (tests): Add tst-bz22415.
23587 (tst-bz22415-ENV): New rule.
23588 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
23589 (tests-special): Add tst-bz22415-mem.out.
23590 ($(objpfx)tst-bz22415-mem.out): New rule.
23591 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
23592 in case of a successful seek operation.
23593 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23594 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
23595 buffer is required.
23596 * libio/tst-bz22415.c: New test.
23598 * sysdeps/ia64/fpu/libm-test-ulps: Update.
23600 2017-12-12 James Clarke <jrtc27@jrtc27.com>
23602 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
23603 __IPC_64 to 0 to avoid IPC_64 being set.
23605 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
23608 * math/bits/mathcalls.h (nextafter): Remove const.
23609 (nexttoward): Likewise.
23611 2017-12-12 Joseph Myers <joseph@codesourcery.com>
23613 * configure.ac (--with-fp): Remove configure option.
23614 (with_fp_cond): New variable.
23615 (libc_cv_with_fp): New configure test. Use this variable instead
23617 * configure: Regenerated.
23618 * config.make.in (with-fp): Use @libc_cv_with_fp@.
23619 * manual/install.texi (Configuring and compiling): Remove
23621 * INSTALL: Regenerated.
23622 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
23623 * sysdeps/mips/preconfigure (with_fp_cond): Define.
23624 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
23625 * sysdeps/sh/preconfigure (with_fp_cond): Define.
23626 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
23627 use --without-fp to configure glibc.
23629 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
23631 * manual/locale.texi (nl_langinfo): Fix a typo.
23633 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
23636 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
23638 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
23640 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
23641 (CFLAGS-argp-parse.c): Likewise.
23642 (CFLAGS-argp-fmtstream.c): Likewise.
23643 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
23644 (CPPFLAGS-sha512-crypt.c): Likewise.
23645 (CPPFLAGS-md5-crypt.c): Likewise.
23646 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
23647 (CFLAGS-stack_chk_fail_local.c): Likewise.
23648 (CFLAGS-backtrace.c): Likewise.
23649 (CFLAGS-sprintf_chk.c): Likewise.
23650 (CFLAGS-snprintf_chk.c): Likewise.
23651 (CFLAGS-vsprintf_chk.c): Likewise.
23652 (CFLAGS-vsnprintf_chk.c): Likewise.
23653 (CFLAGS-asprintf_chk.c): Likewise.
23654 (CFLAGS-vasprintf_chk.c): Likewise.
23655 (CFLAGS-obprintf_chk.c): Likewise.
23656 (CFLAGS-dprintf_chk.c): Likewise.
23657 (CFLAGS-vdprintf_chk.c): Likewise.
23658 (CFLAGS-printf_chk.c): Likewise.
23659 (CFLAGS-fprintf_chk.c): Likewise.
23660 (CFLAGS-vprintf_chk.c): Likewise.
23661 (CFLAGS-vfprintf_chk.c): Likewise.
23662 (CFLAGS-gets_chk.c): Likewise.
23663 (CFLAGS-fgets_chk.c): Likewise.
23664 (CFLAGS-fgets_u_chk.c): Likewise.
23665 (CFLAGS-fread_chk.c): Likewise.
23666 (CFLAGS-fread_u_chk.c): Likewise.
23667 (CFLAGS-swprintf_chk.c): Likewise.
23668 (CFLAGS-vswprintf_chk.c): Likewise.
23669 (CFLAGS-wprintf_chk.c): Likewise.
23670 (CFLAGS-fwprintf_chk.c): Likewise.
23671 (CFLAGS-vwprintf_chk.c): Likewise.
23672 (CFLAGS-vfwprintf_chk.c): Likewise.
23673 (CFLAGS-fgetws_chk.c): Likewise.
23674 (CFLAGS-fgetws_u_chk.c): Likewise.
23675 (CFLAGS-read_chk.c): Likewise.
23676 (CFLAGS-pread_chk.c): Likewise.
23677 (CFLAGS-pread64_chk.c): Likewise.
23678 (CFLAGS-recv_chk.c): Likewise.
23679 (CFLAGS-recvfrom_chk.c): Likewise.
23680 (CFLAGS-tst-longjmp_chk.c): Likewise.
23681 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
23682 (CFLAGS-tst-longjmp_chk2.c): Likewise.
23683 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
23684 (CFLAGS-tst-longjmp_chk3.c): Likewise.
23685 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
23686 (CFLAGS-tst-chk1.c): Likewise.
23687 (CFLAGS-tst-chk2.c): Likewise.
23688 (CFLAGS-tst-chk3.c): Likewise.
23689 (CFLAGS-tst-chk4.cc): Likewise.
23690 (CFLAGS-tst-chk5.cc): Likewise.
23691 (CFLAGS-tst-chk6.cc): Likewise.
23692 (CFLAGS-tst-lfschk1.c): Likewise.
23693 (CFLAGS-tst-lfschk2.c): Likewise.
23694 (CFLAGS-tst-lfschk3.c): Likewise.
23695 (CFLAGS-tst-lfschk4.cc): Likewise.
23696 (CFLAGS-tst-lfschk5.cc): Likewise.
23697 (CFLAGS-tst-lfschk6.cc): Likewise.
23698 (CFLAGS-tst-ssp-1.c): Likewise.
23699 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
23700 (CFLAGS-scandir64.c): Likewise.
23701 (CFLAGS-scandir-tail.c): Likewise.
23702 (CFLAGS-scandir64-tail.c): Likewise.
23703 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
23704 (CFLAGS-dl-tunables.c): Likewise.
23705 (CFLAGS-dl-runtime.c): Likewise.
23706 (CFLAGS-dl-lookup.c): Likewise.
23707 (CFLAGS-dl-iterate-phdr.c): Likewise.
23708 (CFLAGS-vismain.c): Likewise.
23709 (CFLAGS-tst-linkall-static.c): Likewise.
23710 (CFLAGS-tst-linkall-static.c): Likewise.
23711 (CPPFLAGS-dl-load.c): Likewise.
23712 (CFLAGS-ldconfig.c): Likewise.
23713 (CFLAGS-dl-cache.c): Likewise.
23714 (CFLAGS-cache.c): Likewise.
23715 (CFLAGS-rtld.c): Likewise.
23716 (CFLAGS-multiload.c): Likewise.
23717 (CFLAGS-filtmod1.c): Likewise.
23718 (CFLAGS-tst-align.c): Likewise.
23719 (CFLAGS-tst-align2.c): Likewise.
23720 (CFLAGS-tst-alignmod.c): Likewise.
23721 (CFLAGS-tst-alignmod2.c): Likewise.
23722 (CPPFLAGS-tst-execstack.c): Likewise.
23723 (CFLAGS-tst-ptrguard1-static.c): Likewise.
23724 (CFLAGS-tst-latepthreadmod.c): Likewise.
23725 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
23726 (CFLAGS-getgrnam_r.c): Likewise.
23727 (CFLAGS-getgrent_r.c): Likewise.
23728 (CFLAGS-getgrent.c): Likewise.
23729 (CFLAGS-fgetgrent.c): Likewise.
23730 (CFLAGS-fgetgrent_r.c): Likewise.
23731 (CFLAGS-putgrent.c): Likewise.
23732 (CFLAGS-initgroups.c): Likewise.
23733 (CFLAGS-getgrgid.c): Likewise.
23734 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
23735 (CFLAGS-getsgent.c): Likewise.
23736 (CFLAGS-fgetsgent.c): Likewise.
23737 (CFLAGS-fgetsgent_r.c): Likewise.
23738 (CFLAGS-putsgent.c): Likewise.
23739 (CFLAGS-getsgnam.c): Likewise.
23740 (CFLAGS-getsgnam_r.c): Likewise.
23741 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
23742 (CFLAGS-iconv_charmap.c): Likewise.
23743 (CFLAGS-dummy-repertoire.c): Likewise.
23744 (CFLAGS-charmap.c): Likewise.
23745 (CFLAGS-linereader.c): Likewise.
23746 (CFLAGS-simple-hash.c): Likewise.
23747 (CFLAGS-gconv_conf.c): Likewise.
23748 (CFLAGS-iconvconfig.c): Likewise.
23749 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23750 (CFLAGS-gethstbyad.c): Likewise.
23751 (CFLAGS-gethstbynm_r.c): Likewise.
23752 (CFLAGS-gethstbynm.c): Likewise.
23753 (CFLAGS-gethstbynm2_r.c): Likewise.
23754 (CFLAGS-gethstbynm2.c): Likewise.
23755 (CFLAGS-gethstent_r.c): Likewise.
23756 (CFLAGS-gethstent.c): Likewise.
23757 (CFLAGS-rcmd.c): Likewise.
23758 (CFLAGS-getnetbynm_r.c): Likewise.
23759 (CFLAGS-getnetbynm.c): Likewise.
23760 (CFLAGS-getnetbyad_r.c): Likewise.
23761 (CFLAGS-getnetbyad.c): Likewise.
23762 (CFLAGS-getnetent_r.c): Likewise.
23763 (CFLAGS-getnetent.c): Likewise.
23764 (CFLAGS-getaliasent_r.c): Likewise.
23765 (CFLAGS-getaliasent.c): Likewise.
23766 (CFLAGS-getrpcent_r.c): Likewise.
23767 (CFLAGS-getrpcent.c): Likewise.
23768 (CFLAGS-getservent_r.c): Likewise.
23769 (CFLAGS-getservent.c): Likewise.
23770 (CFLAGS-getprtent_r.c): Likewise.
23771 (CFLAGS-getprtent.c): Likewise.
23772 (CFLAGS-either_ntoh.c): Likewise.
23773 (CFLAGS-either_hton.c): Likewise.
23774 (CFLAGS-getnetgrent.c): Likewise.
23775 (CFLAGS-getnetgrent_r.c): Likewise.
23776 (CFLAGS-tst-checks-posix.c): Likewise.
23777 (CFLAGS-tst-sockaddr.c): Likewise.
23778 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
23779 (CFLAGS-tst-translit.c): Likewise.
23780 (CFLAGS-tst-gettext2.c): Likewise.
23781 (CFLAGS-tst-codeset.c): Likewise.
23782 (CFLAGS-tst-gettext3.c): Likewise.
23783 (CFLAGS-tst-gettext4.c): Likewise.
23784 (CFLAGS-tst-gettext5.c): Likewise.
23785 (CFLAGS-tst-gettext6.c): Likewise.
23786 * io/Makefile (CFLAGS-open.c): Likewise.
23787 (CFLAGS-open64.c): Likewise.
23788 (CFLAGS-creat.c): Likewise.
23789 (CFLAGS-creat64.c): Likewise.
23790 (CFLAGS-fcntl.c): Likewise.
23791 (CFLAGS-poll.c): Likewise.
23792 (CFLAGS-ppoll.c): Likewise.
23793 (CFLAGS-lockf.c): Likewise.
23794 (CFLAGS-statfs.c): Likewise.
23795 (CFLAGS-fstatfs.c): Likewise.
23796 (CFLAGS-statvfs.c): Likewise.
23797 (CFLAGS-fstatvfs.c): Likewise.
23798 (CFLAGS-fts.c): Likewise.
23799 (CFLAGS-fts64.c): Likewise.
23800 (CFLAGS-ftw.c): Likewise.
23801 (CFLAGS-ftw64.c): Likewise.
23802 (CFLAGS-lockf.c): Likewise.
23803 (CFLAGS-posix_fallocate.c): Likewise.
23804 (CFLAGS-posix_fallocate64.c): Likewise.
23805 (CFLAGS-fallocate.c): Likewise.
23806 (CFLAGS-fallocate64.c): Likewise.
23807 (CFLAGS-read.c): Likewise.
23808 (CFLAGS-write.c): Likewise.
23809 (CFLAGS-test-stat.c): Likewise.
23810 (CFLAGS-test-lfs.c): Likewise.
23811 * libio/Makefile (CFLAGS-fileops.c): Likewise.
23812 (CFLAGS-fputc.c): Likewise.
23813 (CFLAGS-fputwc.c): Likewise.
23814 (CFLAGS-freopen64.c): Likewise.
23815 (CFLAGS-freopen.c): Likewise.
23816 (CFLAGS-fseek.c): Likewise.
23817 (CFLAGS-fseeko64.c): Likewise.
23818 (CFLAGS-fseeko.c): Likewise.
23819 (CFLAGS-ftello64.c): Likewise.
23820 (CFLAGS-ftello.c): Likewise.
23821 (CFLAGS-fwide.c): Likewise.
23822 (CFLAGS-genops.c): Likewise.
23823 (CFLAGS-getc.c): Likewise.
23824 (CFLAGS-getchar.c): Likewise.
23825 (CFLAGS-getwc.c): Likewise.
23826 (CFLAGS-getwchar.c): Likewise.
23827 (CFLAGS-iofclose.c): Likewise.
23828 (CFLAGS-iofflush.c): Likewise.
23829 (CFLAGS-iofgetpos64.c): Likewise.
23830 (CFLAGS-iofgetpos.c): Likewise.
23831 (CFLAGS-iofgets.c): Likewise.
23832 (CFLAGS-iofgetws.c): Likewise.
23833 (CFLAGS-iofputs.c): Likewise.
23834 (CFLAGS-iofputws.c): Likewise.
23835 (CFLAGS-iofread.c): Likewise.
23836 (CFLAGS-iofsetpos64.c): Likewise.
23837 (CFLAGS-iofsetpos.c): Likewise.
23838 (CFLAGS-ioftell.c): Likewise.
23839 (CFLAGS-iofwrite.c): Likewise.
23840 (CFLAGS-iogetdelim.c): Likewise.
23841 (CFLAGS-iogetline.c): Likewise.
23842 (CFLAGS-iogets.c): Likewise.
23843 (CFLAGS-iogetwline.c): Likewise.
23844 (CFLAGS-ioputs.c): Likewise.
23845 (CFLAGS-ioseekoff.c): Likewise.
23846 (CFLAGS-ioseekpos.c): Likewise.
23847 (CFLAGS-iosetbuffer.c): Likewise.
23848 (CFLAGS-iosetvbuf.c): Likewise.
23849 (CFLAGS-ioungetc.c): Likewise.
23850 (CFLAGS-ioungetwc.c): Likewise.
23851 (CFLAGS-oldfileops.c): Likewise.
23852 (CFLAGS-oldiofclose.c): Likewise.
23853 (CFLAGS-oldiofgetpos64.c): Likewise.
23854 (CFLAGS-oldiofgetpos.c): Likewise.
23855 (CFLAGS-oldiofsetpos64.c): Likewise.
23856 (CFLAGS-oldiofsetpos.c): Likewise.
23857 (CFLAGS-peekc.c): Likewise.
23858 (CFLAGS-putc.c): Likewise.
23859 (CFLAGS-putchar.c): Likewise.
23860 (CFLAGS-putwc.c): Likewise.
23861 (CFLAGS-putwchar.c): Likewise.
23862 (CFLAGS-rewind.c): Likewise.
23863 (CFLAGS-wfileops.c): Likewise.
23864 (CFLAGS-wgenops.c): Likewise.
23865 (CFLAGS-oldiofopen.c): Likewise.
23866 (CFLAGS-iofopen.c): Likewise.
23867 (CFLAGS-iofopen64.c): Likewise.
23868 (CFLAGS-oldtmpfile.c): Likewise.
23869 (CFLAGS-tst_putwc.c): Likewise.
23870 * locale/Makefile (CFLAGS-md5.c): Likewise.
23871 (CFLAGS-charmap.c): Likewise.
23872 (CFLAGS-locfile.c): Likewise.
23873 (CFLAGS-charmap-dir.c): Likewise.
23874 * login/Makefile (CFLAGS-grantpt.c): Likewise.
23875 (CFLAGS-getpt.c): Likewise.
23876 (CFLAGS-pt_chown.c): Likewise.
23877 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
23878 (CFLAGS-obstack.c): Likewise.
23879 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
23880 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
23881 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
23882 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
23883 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
23884 (CFLAGS-test-tgmath.c): Likewise.
23885 (CFLAGS-test-tgmath2.c): Likewise.
23886 (CFLAGS-test-tgmath-ret.c): Likewise.
23887 (CFLAGS-test-powl.c): Likewise.
23888 (CFLAGS-test-snan.c): Likewise.
23889 (CFLAGS-test-signgam-finite.c): Likewise.
23890 (CFLAGS-test-signgam-finite-c99.c): Likewise.
23891 (CFLAGS-test-signgam-finite-c11.c): Likewise.
23892 (CFLAGS-test-signgam-uchar.c): Likewise.
23893 (CFLAGS-test-signgam-uchar-init.c): Likewise.
23894 (CFLAGS-test-signgam-uchar-static.c): Likewise.
23895 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
23896 (CFLAGS-test-signgam-uint.c): Likewise.
23897 (CFLAGS-test-signgam-uint-init.c): Likewise.
23898 (CFLAGS-test-signgam-uint-static.c): Likewise.
23899 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
23900 (CFLAGS-test-signgam-ullong.c): Likewise.
23901 (CFLAGS-test-signgam-ullong-init.c): Likewise.
23902 (CFLAGS-test-signgam-ullong-static.c): Likewise.
23903 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
23904 (CFLAGS-test-math-cxx11.cc): Likewise.
23905 (CFLAGS-test-math-isinff.cc): Likewise.
23906 (CFLAGS-test-math-iszero.cc): Likewise.
23907 (CFLAGS-test-math-issignaling.cc): Likewise.
23908 (CFLAGS-test-math-iscanonical.cc): Likewise.
23909 (CFLAGS-test-iszero-excess-precision.c): Likewise.
23910 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
23911 (CFLAGS-test-flt-eval-method.c): Likewise.
23912 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
23913 (CFLAGS-test-finite-macros.c): Likewise.
23914 * misc/Makefile (CFLAGS-select.c): Likewise.
23915 (CFLAGS-tsearch.c): Likewise.
23916 (CFLAGS-lsearch.c): Likewise.
23917 (CFLAGS-pselect.c): Likewise.
23918 (CFLAGS-readv.c): Likewise.
23919 (CFLAGS-writev.c): Likewise.
23920 (CFLAGS-preadv.c): Likewise.
23921 (CFLAGS-preadv64.c): Likewise.
23922 (CFLAGS-pwritev.c): Likewise.
23923 (CFLAGS-pwritev64.c): Likewise.
23924 (CFLAGS-preadv2.c): Likewise.
23925 (CFLAGS-preadv64v2.c): Likewise.
23926 (CFLAGS-pwritev2.c): Likewise.
23927 (CFLAGS-pwritev64v2.c): Likewise.
23928 (CFLAGS-usleep.c): Likewise.
23929 (CFLAGS-syslog.c): Likewise.
23930 (CFLAGS-error.c): Likewise.
23931 (CFLAGS-getpass.c): Likewise.
23932 (CFLAGS-mkstemp.c): Likewise.
23933 (CFLAGS-mkstemp64.c): Likewise.
23934 (CFLAGS-getsysstats.c): Likewise.
23935 (CFLAGS-getusershell.c): Likewise.
23936 (CFLAGS-err.c): Likewise.
23937 (CFLAGS-tst-tsearch.c): Likewise.
23938 (CFLAGS-msync.c): Likewise.
23939 (CFLAGS-fdatasync.c): Likewise.
23940 (CFLAGS-fsync.c): Likewise.
23941 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
23942 (CFLAGS-unwind.c): Likewise.
23943 (CFLAGS-unwind-forcedunwind.c): Likewise.
23944 (CFLAGS-pthread_cancel.c): Likewise.
23945 (CFLAGS-pthread_setcancelstate.c): Likewise.
23946 (CFLAGS-pthread_setcanceltype.c): Likewise.
23947 (CFLAGS-cancellation.c): Likewise.
23948 (CFLAGS-libc-cancellation.c): Likewise.
23949 (CFLAGS-pthread_exit.c): Likewise.
23950 (CFLAGS-forward.c): Likewise.
23951 (CFLAGS-pthread_testcancel.c): Likewise.
23952 (CFLAGS-pthread_join.c): Likewise.
23953 (CFLAGS-pthread_timedjoin.c): Likewise.
23954 (CFLAGS-pthread_once.c): Likewise.
23955 (CFLAGS-pthread_cond_wait.c): Likewise.
23956 (CFLAGS-sem_wait.c): Likewise.
23957 (CFLAGS-sem_timedwait.c): Likewise.
23958 (CFLAGS-fcntl.c): Likewise.
23959 (CFLAGS-lockf.c): Likewise.
23960 (CFLAGS-pread.c): Likewise.
23961 (CFLAGS-pread64.c): Likewise.
23962 (CFLAGS-pwrite.c): Likewise.
23963 (CFLAGS-pwrite64.c): Likewise.
23964 (CFLAGS-wait.c): Likewise.
23965 (CFLAGS-waitpid.c): Likewise.
23966 (CFLAGS-sigwait.c): Likewise.
23967 (CFLAGS-msgrcv.c): Likewise.
23968 (CFLAGS-msgsnd.c): Likewise.
23969 (CFLAGS-tcdrain.c): Likewise.
23970 (CFLAGS-open.c): Likewise.
23971 (CFLAGS-open64.c): Likewise.
23972 (CFLAGS-pause.c): Likewise.
23973 (CFLAGS-recv.c): Likewise.
23974 (CFLAGS-send.c): Likewise.
23975 (CFLAGS-accept.c): Likewise.
23976 (CFLAGS-sendto.c): Likewise.
23977 (CFLAGS-connect.c): Likewise.
23978 (CFLAGS-recvfrom.c): Likewise.
23979 (CFLAGS-recvmsg.c): Likewise.
23980 (CFLAGS-sendmsg.c): Likewise.
23981 (CFLAGS-close.c): Likewise.
23982 (CFLAGS-read.c): Likewise.
23983 (CFLAGS-write.c): Likewise.
23984 (CFLAGS-nanosleep.c): Likewise.
23985 (CFLAGS-sigsuspend.c): Likewise.
23986 (CFLAGS-msync.c): Likewise.
23987 (CFLAGS-fdatasync.c): Likewise.
23988 (CFLAGS-fsync.c): Likewise.
23989 (CFLAGS-pt-system.c): Likewise.
23990 (CFLAGS-tst-cleanup2.c): Likewise.
23991 (CFLAGS-tst-cleanupx2.c): Likewise.
23992 (CFLAGS-flockfile.c): Likewise.
23993 (CFLAGS-ftrylockfile.c): Likewise.
23994 (CFLAGS-funlockfile.c): Likewise.
23995 (CFLAGS-tst-initializers1.c): Likewise.
23996 (CFLAGS-tst-initializers1-c89.c): Likewise.
23997 (CFLAGS-tst-initializers1-c99.c): Likewise.
23998 (CFLAGS-tst-initializers1-c11.c): Likewise.
23999 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
24000 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
24001 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
24002 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
24003 (CFLAGS-nscd_getgr_r.c): Likewise.
24004 (CFLAGS-nscd_gethst_r.c): Likewise.
24005 (CFLAGS-nscd_getai.c): Likewise.
24006 (CFLAGS-nscd_initgroups.c): Likewise.
24007 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
24008 (CFLAGS-pause.c): Likewise.
24009 (CFLAGS-pread.c): Likewise.
24010 (CFLAGS-pread64.c): Likewise.
24011 (CFLAGS-pwrite.c): Likewise.
24012 (CFLAGS-pwrite64.c): Likewise.
24013 (CFLAGS-sleep.c): Likewise.
24014 (CFLAGS-wait.c): Likewise.
24015 (CFLAGS-waitid.c): Likewise.
24016 (CFLAGS-waitpid.c): Likewise.
24017 (CFLAGS-getopt.c): Likewise.
24018 (CFLAGS-wordexp.c): Likewise.
24019 (CFLAGS-sysconf.c): Likewise.
24020 (CFLAGS-pathconf.c): Likewise.
24021 (CFLAGS-fpathconf.c): Likewise.
24022 (CFLAGS-spawn.c): Likewise.
24023 (CFLAGS-spawnp.c): Likewise.
24024 (CFLAGS-spawni.c): Likewise.
24025 (CFLAGS-glob.c): Likewise.
24026 (CFLAGS-glob64.c): Likewise.
24027 (CFLAGS-getconf.c): Likewise.
24028 (CFLAGS-nanosleep.c): Likewise.
24029 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
24030 (CFLAGS-getpwent.c): Likewise.
24031 (CFLAGS-getpw.c): Likewise.
24032 (CFLAGS-fgetpwent_r.c): Likewise.
24033 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
24034 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
24035 (CFLAGS-mq_timedreceive.c): Likewise.
24036 (CFLAGS-mq_timedsend.c): Likewise.
24037 (CFLAGS-clock_nanosleep.c): Likewise.
24038 (CFLAGS-librt-cancellation.c): Likewise.
24039 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
24040 (CFLAGS-getspent.c): Likewise.
24041 (CFLAGS-fgetspent.c): Likewise.
24042 (CFLAGS-fgetspent_r.c): Likewise.
24043 (CFLAGS-putspent.c): Likewise.
24044 (CFLAGS-getspnam.c): Likewise.
24045 (CFLAGS-getspnam_r.c): Likewise.
24046 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
24047 (CFLAGS-sigsuspend.c): Likewise.
24048 (CFLAGS-sigtimedwait.c): Likewise.
24049 (CFLAGS-sigwait.c): Likewise.
24050 (CFLAGS-sigwaitinfo.c): Likewise.
24051 (CFLAGS-sigreturn.c): Likewise.
24052 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
24053 (CFLAGS-vfwprintf.c): Likewise.
24054 (CFLAGS-tmpfile.c): Likewise.
24055 (CFLAGS-tmpfile64.c): Likewise.
24056 (CFLAGS-tempname.c): Likewise.
24057 (CFLAGS-psignal.c): Likewise.
24058 (CFLAGS-vprintf.c): Likewise.
24059 (CFLAGS-cuserid.c): Likewise.
24060 (CFLAGS-errlist.c): Likewise.
24061 (CFLAGS-siglist.c): Likewise.
24062 (CFLAGS-scanf15.c): Likewise.
24063 (CFLAGS-scanf17.c): Likewise.
24064 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
24065 (CFLAGS-msort.c): Likewise.
24066 (CFLAGS-qsort.c): Likewise.
24067 (CFLAGS-system.c): Likewise.
24068 (CFLAGS-fmtmsg.c): Likewise.
24069 (CFLAGS-strfmon.c): Likewise.
24070 (CFLAGS-strfmon_l.c): Likewise.
24071 (CFLAGS-strfromd.c): Likewise.
24072 (CFLAGS-strfromf.c): Likewise.
24073 (CFLAGS-strfroml.c): Likewise.
24074 (CFLAGS-tst-bsearch.c): Likewise.
24075 (CFLAGS-tst-qsort.c): Likewise.
24076 (CFLAGS-tst-makecontext2.c): Likewise.
24077 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
24078 (CFLAGS-xnlm_prot.c): Likewise.
24079 (CFLAGS-xrstat.c): Likewise.
24080 (CFLAGS-xyppasswd.c): Likewise.
24081 (CFLAGS-xklm_prot.c): Likewise.
24082 (CFLAGS-xrex.c): Likewise.
24083 (CFLAGS-xsm_inter.c): Likewise.
24084 (CFLAGS-xmount.c): Likewise.
24085 (CFLAGS-xrusers.c): Likewise.
24086 (CFLAGS-xspray.c): Likewise.
24087 (CFLAGS-xnfs_prot.c): Likewise.
24088 (CFLAGS-xrquota.c): Likewise.
24089 (CFLAGS-xkey_prot.c): Likewise.
24090 (CFLAGS-auth_unix.c): Likewise.
24091 (CFLAGS-key_call.c): Likewise.
24092 (CFLAGS-pmap_rmt.c): Likewise.
24093 (CFLAGS-clnt_perr.c): Likewise.
24094 (CFLAGS-openchild.c): Likewise.
24095 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
24096 (CFLAGS-msgsnd.c): Likewise.
24097 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
24098 * time/Makefile (CFLAGS-tzfile.c): Likewise.
24099 (CFLAGS-tzset.c): Likewise.
24100 (CFLAGS-getdate.c): Likewise.
24101 (CFLAGS-test_time.c): Likewise.
24102 (CPPFLAGS-tst-tzname.c): Likewise.
24103 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
24104 (CFLAGS-zic.c): Likewise.
24105 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
24106 (CFLAGS-wcswidth.c): Likewise.
24107 (CFLAGS-wcstol.c): Likewise.
24108 (CFLAGS-wcstoul.c): Likewise.
24109 (CFLAGS-wcstoll.c): Likewise.
24110 (CFLAGS-wcstoull.c): Likewise.
24111 (CFLAGS-wcstod.c): Likewise.
24112 (CFLAGS-wcstold.c): Likewise.
24113 (CFLAGS-wcstof128.c): Likewise.
24114 (CFLAGS-wcstof.c): Likewise.
24115 (CFLAGS-wcstol_l.c): Likewise.
24116 (CFLAGS-wcstoul_l.c): Likewise.
24117 (CFLAGS-wcstoll_l.c): Likewise.
24118 (CFLAGS-wcstoull_l.c): Likewise.
24119 (CFLAGS-wcstod_l.c): Likewise.
24120 (CFLAGS-wcstold_l.c): Likewise.
24121 (CFLAGS-wcstof128_l.c): Likewise.
24122 (CFLAGS-wcstof_l.c): Likewise.
24123 (CPPFLAGS-tst-wchar-h.c): Likewise.
24124 (CPPFLAGS-wcstold_l.c): Likewise.
24126 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
24128 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
24130 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24131 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24133 * manual/tunables.texi (Hardware Capability Tunables): Document
24134 glibc.tune.cached_memopt.
24135 * sysdeps/powerpc/cpu-features.c: New file.
24136 * sysdeps/powerpc/cpu-features.h: New file.
24137 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
24138 _dl_powerpc_cpu_features.
24139 * sysdeps/powerpc/dl-tunables.list: New file.
24140 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
24141 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
24142 (INIT_ARCH): Initialize use_aligned_memopt.
24143 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
24144 IS_IN(rtld))]: Restrict dl_platform_init availability and
24145 initialize CPU features used by tunables.
24146 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
24147 Add memcpy-power8-cached.
24148 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
24149 __memcpy_power8_cached.
24150 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
24151 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
24154 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
24156 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
24157 (CFLAGS-noinl-tester.c): Likewise.
24158 (CFLAGS-tst-strlen.c): Likewise.
24159 (CFLAGS-stratcliff.c): Likewise.
24160 (CFLAGS-test-ffs.c): Likewise.
24161 (CFLAGS-tst-inlcall.c): Likewise.
24162 (CFLAGS-tst-xbzero-opt.c): Likewise.
24163 (CFLAGS-memcpy.c): Likewise.
24164 (CFLAGS-wordcopy.c): Likewise.
24166 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
24168 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
24169 Store r15 on stack and add cfi rule.
24170 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
24173 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
24176 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
24179 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
24181 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24182 Add s_sinf-sse2 and s_sinf-fma.
24183 (CFLAGS-s_sinf-fma.c): New.
24184 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
24185 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
24186 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
24188 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
24190 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
24192 2017-12-07 Joseph Myers <joseph@codesourcery.com>
24195 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
24196 part of result to imaginary part of argument if it is zero and the
24197 real part of the argument is not finite.
24198 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
24199 of result to real part of argument if it is zero and the imaginary
24200 part of the argument is not finite.
24202 2017-12-07 Mike FABIAN <mfabian@redhat.com>
24205 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
24206 and to the list of locales to be built for testing.
24207 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
24208 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
24209 and build the collation rules upon that.
24211 2017-12-07 Joseph Myers <joseph@codesourcery.com>
24213 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
24214 * manual/math.texi (Mathematics): Document support for _Float32.
24215 * math/Makefile (test-types): Add float32.
24216 * math/Versions (GLIBC_2.27): Add _Float32 functions.
24217 * stdlib/Versions (GLIBC_2.27): Likewise.
24218 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24219 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24220 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24221 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24222 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24223 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
24224 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24225 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
24226 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24227 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24228 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24229 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24230 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24231 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
24232 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24233 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
24234 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24235 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
24236 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24237 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
24238 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24239 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
24241 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24242 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24243 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24244 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
24245 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
24248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
24259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24263 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24264 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24265 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24266 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24267 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
24268 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24269 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24270 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24271 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24272 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24273 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
24275 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24277 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
24279 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24281 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24282 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24283 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24284 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24285 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24286 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24287 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24288 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24290 2017-12-06 Joseph Myers <joseph@codesourcery.com>
24292 * stdlib/strtof.c: Include <bits/floatn.h>
24293 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
24294 and later undefine as macro. Define as weak alias if
24296 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
24297 and later undefine as macro. Define as weak alias if
24299 * stdlib/strtof_l.c: Include <bits/floatn.h>
24300 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
24301 and later undefine as macro. Define as weak alias if
24303 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
24304 and later undefine as macro. Define as weak alias if
24307 * stdlib/strfromf.c: Include <bits/floatn.h>.
24308 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
24309 and later undefine as macro and define as weak alias.
24311 * math/test-float32.h: New file.
24313 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
24314 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
24315 (libm_alias_float_other_r): Create f32 alias.
24316 (libm_alias_float_r): Use semicolon before call to
24317 libm_alias_float_other_r.
24319 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
24320 second argument to libm_alias_float_other.
24321 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
24322 second argument to libm_alias_float_other.
24323 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
24324 argument to libm_alias_float_other.
24327 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
24328 real part of result for argument 0 + i * NaN.
24329 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
24330 results for tests of 0 + i * NaN.
24332 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24334 * sysdeps/alpha/fpu/libm-test-ulps: Update.
24336 2017-12-06 David S. Miller <davem@davemloft.net>
24338 * sysdeps/sparc/fpu/libm-test-ulps: Update
24339 exp_{downward,towardzero,upward} ulps.
24341 2017-12-06 Joseph Myers <joseph@codesourcery.com>
24343 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
24346 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
24348 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
24350 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
24352 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
24355 2017-12-06 Mike FABIAN <mfabian@redhat.com>
24358 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
24359 and to the list of locales to be built for testing.
24360 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
24361 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
24362 and build the collation rules upon that.
24364 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24366 * NEWS: Add sinf to list of optimized functions.
24368 2017-12-06 Joseph Myers <joseph@codesourcery.com>
24370 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
24371 (__HAVE_FLOAT32X): Likewise.
24372 * manual/math.texi (Mathematics): Document support for _Float64
24374 * math/Makefile (test-types): Add float64 and float32x.
24375 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
24377 * stdlib/Versions (GLIBC_2.27): Likewise.
24378 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24379 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24380 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24381 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24382 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24383 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
24384 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24385 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
24386 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24387 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24388 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24389 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24390 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24391 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
24392 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24393 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
24394 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24395 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
24396 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24397 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
24398 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24399 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
24401 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24402 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24403 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24404 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
24405 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
24408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
24418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24422 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24423 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24424 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24425 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24426 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
24427 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24428 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24429 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24430 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24431 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24432 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
24434 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24436 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
24438 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24440 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24441 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24442 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24443 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24444 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24445 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24446 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24447 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24449 2017-12-05 Joseph Myers <joseph@codesourcery.com>
24451 * bits/floatn-common.h: Include <bits/long-double.h>.
24452 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
24453 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
24454 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
24455 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
24456 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
24457 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
24458 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
24459 (__builtin_huge_valf64): Use __builtin_huge_vall.
24460 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
24461 (__builtin_inff64): Use __builtin_infl.
24462 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
24463 (__builtin_nanf64): Use __builtin_nanl.
24464 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
24465 (__builtin_nansf64): Use __builtin_nansl.
24467 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
24468 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24469 Carlos O'Donnell <carlos@redhat.com>
24471 * elf/dl-tunables.list: Add elision parameters.
24472 * manual/tunables.texi: Add entries about elision tunable.
24473 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
24474 Add callback functions to dynamically enable/disable elision.
24475 Add multiple callbacks functions to set elision parameters.
24476 Deleted __libc_enable_secure check.
24477 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
24478 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
24479 * configure: Regenerated.
24480 * configure.ac: Option enable_lock_elision was deleted.
24481 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
24482 * config.make.in: Remove references to enable_lock_elision.
24483 * manual/install.texi: Elision configure option was removed.
24484 * INSTALL: Regenerated to remove enable_lock_elision.
24486 Disable elision so it can verify error case for destroying a mutex.
24487 * sysdeps/powerpc/nptl/elide.h:
24488 Cleanup ENABLE_LOCK_ELISION check.
24489 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
24490 * sysdeps/s390/configure: Regenerated.
24491 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
24492 * nptl/tst-mutex8.c:
24493 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
24494 * sysdeps/powerpc/powerpc32/sysdep.h:
24495 Deleted all ENABLE_LOCK_ELISION checks.
24496 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24497 * sysdeps/powerpc/sysdep.h: Likewise.
24498 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
24499 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
24500 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
24501 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
24502 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24503 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
24504 enable-lock-elision.
24506 2017-12-05 Joseph Myers <joseph@codesourcery.com>
24508 * stdlib/strtod.c: Include <bits/floatn.h>.
24509 (BUILD_DOUBLE): New macro.
24510 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24511 (strtof64): Define and later undefine as macro. Define as weak
24512 alias if [!USE_WIDE_CHAR].
24513 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24514 (wcstof64): Define and later undefine as macro. Define as weak
24515 alias if [USE_WIDE_CHAR].
24516 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24517 (strtof32x): Define and later undefine as macro. Define as weak
24518 alias if [!USE_WIDE_CHAR].
24519 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24520 (wcstof32x): Define and later undefine as macro. Define as weak
24521 alias if [USE_WIDE_CHAR].
24522 * stdlib/strtod_l.c: Include <bits/floatn.h>.
24523 (BUILD_DOUBLE): New macro.
24524 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24525 (strtof64_l): Define and later undefine as macro. Define as weak
24526 alias if [!USE_WIDE_CHAR].
24527 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24528 (wcstof64_l): Define and later undefine as macro. Define as weak
24529 alias if [USE_WIDE_CHAR].
24530 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24531 (strtof32x_l): Define and later undefine as macro. Define as weak
24532 alias if [!USE_WIDE_CHAR].
24533 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24534 (wcstof32x_l): Define and later undefine as macro. Define as weak
24535 alias if [USE_WIDE_CHAR].
24537 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24539 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
24540 (reduced): Use ones as double instead of integer.
24542 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
24544 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
24546 2017-12-05 Joseph Myers <joseph@codesourcery.com>
24548 * stdlib/strfromd.c: Include <bits/floatn.h>.
24549 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
24550 and later undefine as macro and define as weak alias.
24551 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
24554 * math/test-float32x.h: New file.
24555 * math/test-float64.h: Likewise.
24557 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
24558 (libm_alias_double_other_r_f64): New macro.
24559 (libm_alias_double_other_r_f32x): Likewise.
24560 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
24561 libm_alias_double_other_r_f32x.
24562 (libm_alias_double_r): Use semicolon before call to
24563 libm_alias_double_other_r.
24564 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
24566 (libm_alias_double_other_r_f64): New macro.
24567 (libm_alias_double_other_r_f32x): Likewise.
24568 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
24569 libm_alias_double_other_r_f32x.
24571 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
24573 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
24575 (SINF_FUNC): Likewise. Replace floor with simple casts.
24577 2017-12-05 Mike FABIAN <mfabian@redhat.com>
24580 * localedata/Makefile: Add et_EE.UTF-8 to test-input
24581 and to the list of locales to be built for testing.
24582 * localedata/et_EE.UTF-8.in: New file for testing the collation.
24583 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
24584 and build the collation rules upon that.
24586 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
24588 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
24589 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
24590 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
24591 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
24592 instead of __insn__xxx.
24593 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
24594 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
24595 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
24596 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
24597 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
24598 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
24600 2017-12-05 Florian Weimer <fweimer@redhat.com>
24602 Linux: Implement interfaces for memory protection keys
24603 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
24605 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
24606 * support/xunistd.h (xsysconf): Declare.
24607 * support/xraise.c: New file.
24608 * support/xsigaction.c: Likewise.
24609 * support/xsignal.c: Likewise.
24610 * support/xsysconf.c: Likewise.
24611 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
24612 pkey_set, pkey_get, pkey_mprotect.
24613 [misc] (tests): Add tst-pkey.
24614 (tst-pkey): Link with -lpthread.
24615 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
24616 pkey_free, pkey_set, pkey_get, pkey_mprotect.
24617 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
24618 (PKEY_DISABLE_WRITE): Define.
24619 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
24621 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
24622 (SEGV_PKUERR): Add.
24623 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
24624 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
24625 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
24626 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
24628 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
24629 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
24630 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
24631 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
24632 * sysdeps/unix/sysv/linux/**.abilist: Update.
24634 2017-12-05 Florian Weimer <fweimer@redhat.com>
24636 * support/tst-test_compare.c (subprocess): Use long long instead
24637 of long argument for consistent type width across 32-bit and
24638 64-bit architectures.
24639 (do_test): Adjust expected output.
24641 2017-12-05 Joseph Myers <joseph@codesourcery.com>
24643 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
24644 (cosf): Define using libm_alias_float.
24645 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
24646 (fabsf): Define using libm_alias_float.
24647 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
24648 (fmaf): Define using libm_alias_float.
24649 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
24650 (rintf): Define using libm_alias_float.
24651 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
24652 (sinf): Define using libm_alias_float.
24653 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
24654 <libm-alias-float.h>.
24655 (modff): Define using libm_alias_float.
24656 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
24657 <libm-alias-float.h>.
24658 (logbf): Define using libm_alias_float.
24659 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
24660 <libm-alias-float.h>.
24661 (ceilf): Define using libm_alias_float.
24662 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
24663 <libm-alias-float.h>.
24664 (copysignf): Define using libm_alias_float.
24665 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
24666 <libm-alias-float.h>.
24667 (floorf): Define using libm_alias_float.
24668 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
24669 <libm-alias-float.h>.
24670 (llrintf): Define using libm_alias_float.
24671 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
24672 <libm-alias-float.h>.
24673 (llroundf): Define using libm_alias_float.
24674 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
24675 <libm-alias-float.h>.
24676 (lrintf): Define using libm_alias_float.
24677 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
24678 <libm-alias-float.h>.
24679 (lroundf): Define using libm_alias_float.
24680 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
24681 <libm-alias-float.h>.
24682 (nearbyintf): Define using libm_alias_float.
24683 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
24684 <libm-alias-float.h>.
24685 (rintf): Define using libm_alias_float.
24686 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
24687 <libm-alias-float.h>.
24688 (roundf): Define using libm_alias_float.
24689 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
24690 <libm-alias-float.h>.
24691 (truncf): Define using libm_alias_float.
24692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
24693 Include <libm-alias-float.h>.
24694 (ceilf): Define using libm_alias_float.
24695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
24696 Include <libm-alias-float.h>.
24697 (copysignf): Define using libm_alias_float.
24698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
24699 Include <libm-alias-float.h>.
24700 (floorf): Define using libm_alias_float.
24701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
24702 Include <libm-alias-float.h>.
24703 (llrintf): Define using libm_alias_float.
24704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
24705 Include <libm-alias-float.h>.
24706 (llroundf): Define using libm_alias_float.
24707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
24708 Include <libm-alias-float.h>.
24709 (logbf): Define using libm_alias_float.
24710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
24711 Include <libm-alias-float.h>.
24712 (lrintf): Define using libm_alias_float.
24713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
24714 Include <libm-alias-float.h>.
24715 (lroundf): Define using libm_alias_float.
24716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
24717 Include <libm-alias-float.h>.
24718 (modff): Define using libm_alias_float.
24719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
24720 Include <libm-alias-float.h>.
24721 (roundf): Define using libm_alias_float.
24722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
24723 Include <libm-alias-float.h>.
24724 (truncf): Define using libm_alias_float.
24725 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
24726 <libm-alias-float.h>.
24727 (llrintf): Define using libm_alias_float.
24728 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
24729 <libm-alias-float.h>.
24730 (llroundf): Define using libm_alias_float.
24731 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
24732 <libm-alias-float.h>.
24733 (ceilf): Define using libm_alias_float.
24734 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
24735 <libm-alias-float.h>.
24736 (floorf): Define using libm_alias_float.
24737 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
24738 <libm-alias-float.h>.
24739 (llroundf): Define using libm_alias_float.
24740 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
24741 <libm-alias-float.h>.
24742 (lroundf): Define using libm_alias_float.
24743 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
24744 <libm-alias-float.h>.
24745 (roundf): Define using libm_alias_float.
24746 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
24747 <libm-alias-float.h>.
24748 (truncf): Define using libm_alias_float.
24749 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
24750 <libm-alias-float.h>.
24751 (copysignf): Define using libm_alias_float.
24752 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
24753 <libm-alias-float.h>.
24754 (llrintf): Define using libm_alias_float.
24755 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
24756 <libm-alias-float.h>.
24757 (llroundf): Define using libm_alias_float.
24758 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
24759 <libm-alias-float.h>.
24760 (lrintf): Define using libm_alias_float.
24761 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
24762 <libm-alias-float.h>.
24763 (lroundf): Define using libm_alias_float.
24764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
24765 <libm-alias-float.h>.
24766 (ceilf): Define using libm_alias_float.
24767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
24768 <libm-alias-float.h>.
24769 (copysignf): Define using libm_alias_float.
24770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
24771 <libm-alias-float.h>.
24772 (cosf): Define using libm_alias_float.
24773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
24774 <libm-alias-float.h>.
24775 (floorf): Define using libm_alias_float.
24776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
24777 <libm-alias-float.h>.
24778 (llrintf): Define using libm_alias_float.
24779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
24780 <libm-alias-float.h>.
24781 (llroundf): Define using libm_alias_float.
24782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
24783 <libm-alias-float.h>.
24784 (logbf): Define using libm_alias_float.
24785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
24786 <libm-alias-float.h>.
24787 (modff): Define using libm_alias_float.
24788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
24789 <libm-alias-float.h>.
24790 (roundf): Define using libm_alias_float.
24791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
24792 <libm-alias-float.h>.
24793 (sinf): Define using libm_alias_float.
24794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
24795 <libm-alias-float.h>.
24796 (truncf): Define using libm_alias_float.
24797 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
24798 <libm-alias-float.h>.
24799 (ceilf): Define using libm_alias_float.
24800 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
24801 <libm-alias-float.h>.
24802 (copysignf): Define using libm_alias_float.
24803 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
24804 <libm-alias-float.h>.
24805 (floorf): Define using libm_alias_float.
24806 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
24807 <libm-alias-float.h>.
24808 (llrintf): Define using libm_alias_float.
24809 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
24810 <libm-alias-float.h>.
24811 (llroundf): Define using libm_alias_float.
24812 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
24813 <libm-alias-float.h>.
24814 (nearbyintf): Define using libm_alias_float.
24815 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
24816 <libm-alias-float.h>.
24817 (rintf): Define using libm_alias_float.
24818 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
24819 <libm-alias-float.h>.
24820 (roundf): Define using libm_alias_float.
24821 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
24822 <libm-alias-float.h>.
24823 (truncf): Define using libm_alias_float.
24824 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
24825 <libm-alias-float.h>.
24826 (ceilf): Define using libm_alias_float.
24827 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
24828 <libm-alias-float.h>.
24829 (floorf): Define using libm_alias_float.
24830 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
24831 <libm-alias-float.h>.
24832 (llroundf): Define using libm_alias_float.
24833 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
24834 <libm-alias-float.h>.
24835 (roundf): Define using libm_alias_float.
24836 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
24837 <libm-alias-float.h>.
24838 (truncf): Define using libm_alias_float.
24839 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
24840 <libm-alias-float.h>.
24841 (copysignf): Define using libm_alias_float.
24842 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
24843 <libm-alias-float.h>.
24844 (llrintf): Define using libm_alias_float.
24845 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
24846 <libm-alias-float.h>.
24847 (llroundf): Define using libm_alias_float.
24848 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
24849 <libm-alias-float.h>.
24850 (cosf): Define using libm_alias_float.
24851 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
24852 <libm-alias-float.h>.
24853 (llrintf): Define using libm_alias_float.
24854 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
24855 <libm-alias-float.h>.
24856 (llroundf): Define using libm_alias_float.
24857 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
24858 <libm-alias-float.h>.
24859 (sinf): Define using libm_alias_float.
24861 2017-12-04 Florian Weimer <fweimer@redhat.com>
24863 * support/check.h (TEST_COMPARE): Define.
24864 (support_test_compare_failure): Declare.
24865 * support/Makefile (libsupport-routines): Add
24866 support_test_compare_failure.
24867 (tests): Add tst-test_compare.
24868 * support /support_test_compare_failure.c: New file.
24869 * support/tst-test_compare.c: Likewise.
24871 2017-12-04 Mike FABIAN <mfabian@redhat.com>
24874 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
24875 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
24876 available, this rewrite of the collation rules does reproduce
24877 the test file in the same order.
24879 2017-12-04 Mike FABIAN <mfabian@redhat.com>
24882 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
24883 digraphs in the month and day names. Using single code points for
24884 digraphs is deprecated. While there are dedicated Unicode
24885 codepoints, for the digraphs, these are included for backwards
24886 compatibility and modern texts use a sequence of Basic Latin
24887 characters. See: https://www.unicode.org/faq/ligature_digraph.html
24888 This makes the month and day names agree exactly with CLDR now,
24889 CLDR does not use the single code points for the digraphs either.
24891 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
24893 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
24895 2017-12-04 Joseph Myers <joseph@codesourcery.com>
24897 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
24900 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
24902 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
24903 Define only for libc.so.
24905 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
24907 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24908 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
24909 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
24910 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
24911 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24913 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24916 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
24918 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
24921 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
24922 PREINIT_FUNCTION_WEAK is nonzero.
24923 (gmon_initializer): New function. Put procedure label for it in
24924 .init_array section.
24925 (_init): Don't call PREINIT_FUNCTION.
24926 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
24927 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
24928 value when map argument is null.
24930 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
24931 depi instruction from PIC pc-relative sequence.
24932 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
24933 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
24934 (elf_machine_load_address): Likewise.
24935 (elf_machine_runtime_setup): Likewise.
24937 2017-12-02 Joseph Myers <joseph@codesourcery.com>
24939 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
24940 <libm-alias-double.h>.
24941 (logb): Define using libm_alias_double.
24942 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
24943 <libm-alias-double.h>.
24944 (copysign): Define using libm_alias_double.
24945 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
24946 <libm-alias-double.h>.
24947 (llrint): Define using libm_alias_double.
24948 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
24949 <libm-alias-double.h>.
24950 (llround): Define using libm_alias_double.
24951 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
24952 <libm-alias-double.h>.
24953 (lrint): Define using libm_alias_double.
24954 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
24955 <libm-alias-double.h>.
24956 (lround): Define using libm_alias_double.
24957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
24958 Include <libm-alias-double.h>.
24959 (copysign): Define using libm_alias_double.
24960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
24961 Include <libm-alias-double.h>.
24962 (llrint): Define using libm_alias_double.
24963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
24964 Include <libm-alias-double.h>.
24965 (llround): Define using libm_alias_double.
24966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
24967 <libm-alias-double.h>.
24968 (logb): Define using libm_alias_double.
24969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
24970 Include <libm-alias-double.h>.
24971 (lrint): Define using libm_alias_double.
24972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
24973 Include <libm-alias-double.h>.
24974 (lround): Define using libm_alias_double.
24975 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
24976 <libm-alias-double.h>.
24977 (llrint): Define using libm_alias_double.
24978 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
24979 <libm-alias-double.h>.
24980 (llround): Define using libm_alias_double.
24981 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
24982 <libm-alias-double.h>.
24983 (llround): Define using libm_alias_double.
24984 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
24985 <libm-alias-double.h>.
24986 (lround): Define using libm_alias_double.
24987 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
24988 <libm-alias-double.h>.
24989 (copysign): Define using libm_alias_double.
24990 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
24991 <libm-alias-double.h>.
24992 (llrint): Define using libm_alias_double.
24993 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
24994 <libm-alias-double.h>.
24995 (llround): Define using libm_alias_double.
24996 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
24997 <libm-alias-double.h>.
24998 (lrint): Define using libm_alias_double.
24999 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25000 <libm-alias-double.h>.
25001 (lround): Define using libm_alias_double.
25002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
25003 <libm-alias-double.h>.
25004 (copysign): Define using libm_alias_double.
25005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
25006 <libm-alias-double.h>.
25007 (llrint): Define using libm_alias_double.
25009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
25010 <libm-alias-double.h>.
25011 (llround): Define using libm_alias_double.
25012 (lround): Likewise.
25013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
25014 <libm-alias-double.h>.
25015 (logb): Define using libm_alias_double.
25016 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25017 <libm-alias-double.h>.
25018 (copysign): Define using libm_alias_double.
25019 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25020 <libm-alias-double.h>.
25021 (llrint): Define using libm_alias_double.
25023 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
25024 <libm-alias-double.h>.
25025 (llround): Define using libm_alias_double.
25026 (lround): Likewise.
25027 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25028 <libm-alias-double.h>.
25029 (llround): Define using libm_alias_double.
25030 (lround): Likewise.
25031 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25032 <libm-alias-double.h>.
25033 (copysign): Define using libm_alias_double.
25034 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25035 <libm-alias-double.h>.
25036 (llrint): Define using libm_alias_double.
25038 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25039 <libm-alias-double.h>.
25040 (llround): Define using libm_alias_double.
25041 (lround): Likewise.
25042 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25043 <libm-alias-double.h>.
25044 (llrint): Define using libm_alias_double.
25046 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25047 <libm-alias-double.h>.
25048 (llround): Define using libm_alias_double.
25049 (lround): Likewise.
25051 2017-12-01 Joseph Myers <joseph@codesourcery.com>
25053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
25054 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
25055 compat symbol based on llround.
25057 * sysdeps/powerpc/power7/fpu/s_logb.c
25058 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
25059 symbol based on __logb, not on logb.
25060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
25061 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
25063 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25065 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
25066 (rint): Define using libm_alias_double.
25067 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
25068 <libm-alias-double.h>.
25069 (modf): Define using libm_alias_double.
25070 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
25071 <libm-alias-double.h>.
25072 (ceil): Define using libm_alias_double.
25073 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
25074 <libm-alias-double.h>.
25075 (floor): Define using libm_alias_double.
25076 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
25077 <libm-alias-double.h>.
25078 (nearbyint): Define using libm_alias_double.
25079 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
25080 <libm-alias-double.h>.
25081 (rint): Define using libm_alias_double.
25082 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
25083 <libm-alias-double.h>.
25084 (round): Define using libm_alias_double.
25085 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
25086 <libm-alias-double.h>.
25087 (trunc): Define using libm_alias_double.
25088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
25089 <libm-alias-double.h>.
25090 (ceil): Define using libm_alias_double.
25091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
25092 Include <libm-alias-double.h>.
25093 (floor): Define using libm_alias_double.
25094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
25095 <libm-alias-double.h>.
25096 (modf): Define using libm_alias_double.
25097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
25098 Include <libm-alias-double.h>.
25099 (round): Define using libm_alias_double.
25100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
25101 Include <libm-alias-double.h>.
25102 (trunc): Define using libm_alias_double.
25103 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
25104 <libm-alias-double.h>.
25105 (ceil): Define using libm_alias_double.
25106 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
25107 <libm-alias-double.h>.
25108 (floor): Define using libm_alias_double.
25109 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
25110 <libm-alias-double.h>.
25111 (round): Define using libm_alias_double.
25112 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
25113 <libm-alias-double.h>.
25114 (trunc): Define using libm_alias_double.
25115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
25116 <libm-alias-double.h>.
25117 (ceil): Define using libm_alias_double.
25118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
25119 <libm-alias-double.h>.
25120 (floor): Define using libm_alias_double.
25121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
25122 <libm-alias-double.h>.
25123 (modf): Define using libm_alias_double.
25124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
25125 <libm-alias-double.h>.
25126 (round): Define using libm_alias_double.
25127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
25128 <libm-alias-double.h>.
25129 (trunc): Define using libm_alias_double.
25130 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
25131 <libm-alias-double.h>.
25132 (ceil): Define using libm_alias_double.
25133 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
25134 <libm-alias-double.h>.
25135 (floor): Define using libm_alias_double.
25136 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
25137 <libm-alias-double.h>.
25138 (nearbyint): Define using libm_alias_double.
25139 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
25140 <libm-alias-double.h>.
25141 (rint): Define using libm_alias_double.
25142 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
25143 <libm-alias-double.h>.
25144 (round): Define using libm_alias_double.
25145 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
25146 <libm-alias-double.h>.
25147 (trunc): Define using libm_alias_double.
25148 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
25149 <libm-alias-double.h>.
25150 (ceil): Define using libm_alias_double.
25151 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
25152 <libm-alias-double.h>.
25153 (floor): Define using libm_alias_double.
25154 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
25155 <libm-alias-double.h>.
25156 (round): Define using libm_alias_double.
25157 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
25158 <libm-alias-double.h>.
25159 (trunc): Define using libm_alias_double.
25161 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
25162 (fabs): Define using libm_alias_double.
25163 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
25164 (fma): Define using libm_alias_double.
25165 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
25166 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
25167 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
25168 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
25170 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25172 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
25174 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
25175 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
25176 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
25178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
25179 due redirect macro.
25181 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
25183 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
25185 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25187 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
25188 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
25189 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
25190 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
25192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25193 (libm-sysdep_routines): Add s_nearbyintf-generic and
25194 s_nearbyint-generic.
25195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
25197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
25198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
25200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
25202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
25204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
25207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25208 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
25209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
25211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
25212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
25214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
25215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
25216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25219 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
25220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
25222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
25223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
25225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
25226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
25227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
25229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25230 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
25231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
25233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
25234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
25236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
25237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
25238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25241 (sysdep_calls): New rule.
25242 (sysdep_routines): Use sysdep_calls as base.
25243 (libm-sysdep_routines): Add generic rule for symbols shared with
25244 libc. Add s_copysign-generic and s_copysign-generic objects.
25245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
25247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
25248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
25250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
25251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
25252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
25254 2017-12-01 Mike FABIAN <mfabian@redhat.com>
25257 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
25258 the list of locales to be built for testing.
25259 * localedata/is_IS.UTF-8.in: New file.
25260 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
25263 2017-12-01 Joseph Myers <joseph@codesourcery.com>
25265 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
25266 <libm-alias-float.h>.
25267 (fabsf): Define using libm_alias_float.
25269 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
25271 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
25273 2017-11-30 Joseph Myers <joseph@codesourcery.com>
25275 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
25276 <libm-alias-float.h>.
25277 (fabsf): Define using libm_alias_float.
25278 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
25279 <libm-alias-float.h>.
25280 (lrintf): Define using libm_alias_float.
25281 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
25282 <libm-alias-float.h>.
25283 (rintf): Define using libm_alias_float.
25285 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
25286 <libm-alias-double.h>.
25287 (fabs): Define using libm_alias_double.
25288 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
25289 <libm-alias-double.h>.
25290 (lrint): Define using libm_alias_double.
25291 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
25292 <libm-alias-double.h>.
25293 (rint): Define using libm_alias_double.
25295 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
25296 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
25297 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
25298 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
25299 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
25300 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
25301 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
25302 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
25303 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
25304 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
25305 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
25306 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
25307 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
25308 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
25309 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
25310 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
25311 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
25312 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
25314 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
25315 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
25316 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
25318 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
25319 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
25320 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
25322 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
25323 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
25324 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
25325 s_expm1_template.c.
25326 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
25327 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
25328 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
25330 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
25331 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
25332 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
25333 s_floor_template.c.
25334 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
25335 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
25336 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
25337 s_frexp_template.c.
25338 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
25339 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
25340 s_lrint_template.c.
25341 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
25342 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
25343 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
25345 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
25346 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
25347 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
25348 s_nearbyint_template.c.
25349 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
25350 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
25351 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
25352 s_remquo_template.c.
25353 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
25354 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
25355 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
25357 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
25358 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
25359 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
25361 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
25362 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
25363 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
25364 s_sincos_template.c.
25365 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
25366 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
25367 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
25369 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
25370 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
25371 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
25373 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
25374 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
25375 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
25376 s_trunc_template.c.
25377 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
25378 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
25379 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
25380 s_atan.c instead of including s_atan.c.
25381 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
25382 s_atanf.c instead of including s_atanf.c.
25383 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
25384 s_atanl.c instead of including s_atanl.c.
25385 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
25386 instead of s_atan.c.
25387 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
25388 instead of s_atanf.c.
25389 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
25390 instead of s_atanl.c.
25392 * scripts/update-copyrights: Do not handle intl/plural.c
25395 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
25398 * configure.ac (BISON): Require to be present.
25399 * configure: Regenerated.
25400 * intl/Makefile (generated): Add plural.c.
25401 [$(BISON) != no]: Make code unconditional.
25402 (plural.c): Change rule to $(objpfx)plural.c.
25403 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
25404 * intl/plural.c: Remove.
25405 * manual/install.texi (Tools for Compilation): Document bison as
25407 * INSTALL: Regenerated.
25409 2017-11-30 Joseph Myers <joseph@codesourcery.com>
25411 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
25412 <libm-alias-double.h>.
25413 (llrint): Define using libm_alias_double.
25414 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
25415 <libm-alias-float.h>.
25416 (llrintf): Define using libm_alias_float.
25417 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
25418 <libm-alias-ldouble.h>.
25419 (llrintl): Define using libm_alias_ldouble.
25421 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
25422 declare_mgen_alias instead of weak_alias.
25423 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
25424 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
25425 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
25427 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25429 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25431 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
25432 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
25433 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
25435 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25436 Add submul_1-generic.
25437 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
25438 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
25439 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
25441 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25442 Add addmul_1-generic.
25443 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
25444 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
25445 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
25447 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25449 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
25450 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
25451 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
25453 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25455 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
25456 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
25457 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
25459 2017-11-30 Mike FABIAN <mfabian@redhat.com>
25461 According to CLDR, collation rules for Serbian and Bosnian
25462 should be the same as for Croatian.
25465 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
25466 and to the list of locales to be built for testing.
25467 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
25468 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
25469 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
25470 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
25472 2017-11-30 Mike FABIAN <mfabian@redhat.com>
25474 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
25475 to make test case pass.
25476 * localedata/hr_HR.UTF-8.in: Add more test strings.
25478 2017-11-30 Mike FABIAN <mfabian@redhat.com>
25480 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
25482 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
25484 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
25485 the list of locales to built for testing.
25486 * localedata/hr_HR.UTF-8.in: New file.
25488 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
25491 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
25493 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
25494 CLDR (except use ligatures for the digraphs, CLDR does not use
25495 the ligatures), add first_workday, some fixes in the date and time
25497 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
25499 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
25500 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
25501 Add int_p_cs_precedes and int_n_cs_precedes.
25502 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
25503 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
25505 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
25506 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
25508 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
25509 and lang_lib. Change postal_fmt.
25511 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
25513 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
25515 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
25516 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
25517 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
25518 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
25519 * sysdeps/generic/setjmpP.h: New file.
25520 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
25521 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
25522 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
25523 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
25524 Add jmp_buf-ssp.sym.
25525 (tests): Add tst-saved_mask-1.
25527 2017-11-30 Arjun Shankar <arjun@redhat.com>
25531 * malloc/malloc.c (__libc_malloc): Use checked_request2size
25532 instead of request2size.
25534 2017-11-30 Joseph Myers <joseph@codesourcery.com>
25536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
25537 (__lllrint): Remove alias.
25538 (lllrint): Likewise.
25539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
25540 (__lllrintf): Likewise.
25541 (lllrintf): Likewise.
25543 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
25544 <libm-alias-float.h>.
25545 (copysignf): Define using libm_alias_float.
25546 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
25547 <libm-alias-float.h>.
25548 (fabsf): Define using libm_alias_float.
25549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25550 Include <libm-alias-float.h>.
25551 (copysignf): Define using libm_alias_float.
25552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
25553 <libm-alias-float.h>.
25554 (fabsf): Define using libm_alias_float.
25555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
25556 <libm-alias-float.h>.
25557 (fdimf): Define using libm_alias_float.
25558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
25559 <libm-alias-float.h>.
25560 (fmaf): Define using libm_alias_float.
25561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
25562 <libm-alias-float.h>.
25563 (llrintf): Define using libm_alias_float.
25564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
25565 Include <libm-alias-float.h>.
25566 (nearbyintf): Define using libm_alias_float.
25567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
25568 <libm-alias-float.h>.
25569 (rintf): Define using libm_alias_float.
25570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
25571 <libm-alias-float.h>.
25572 (llrintf): Define using libm_alias_float.
25573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
25574 <libm-alias-float.h>.
25575 (lrintf): Define using libm_alias_float.
25576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
25577 <libm-alias-float.h>.
25578 (nearbyintf): Define using libm_alias_float.
25579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
25580 <libm-alias-float.h>.
25581 (rintf): Define using libm_alias_float.
25582 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
25583 <libm-alias-float.h>.
25584 (ceilf): Define using libm_alias_float.
25585 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
25586 <libm-alias-float.h>.
25587 (floorf): Define using libm_alias_float.
25588 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
25589 <libm-alias-float.h>.
25590 (fmaf): Define using libm_alias_float.
25591 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
25592 <libm-alias-float.h>.
25593 (lrintf): Define using libm_alias_float.
25594 (llrintf): Likewise.
25595 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
25596 <libm-alias-float.h>.
25597 (nearbyintf): Define using libm_alias_float.
25598 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
25599 <libm-alias-float.h>.
25600 (rintf): Define using libm_alias_float.
25601 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
25602 <libm-alias-float.h>.
25603 (truncf): Define using libm_alias_float.
25604 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
25605 <libm-alias-float.h>.
25606 (copysignf): Define using libm_alias_float.
25607 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
25608 <libm-alias-float.h>.
25609 (fabsf): Define using libm_alias_float.
25610 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
25611 <libm-alias-float.h>.
25612 (lrintf): Define using libm_alias_float.
25613 (llrintf): Likewise.
25614 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
25615 <libm-alias-float.h>.
25616 (nearbyintf): Define using libm_alias_float.
25617 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
25618 <libm-alias-float.h>.
25619 (rintf): Define using libm_alias_float.
25621 2017-11-29 Joseph Myers <joseph@codesourcery.com>
25623 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
25624 <libm-alias-double.h>.
25625 (copysign): Define using libm_alias_double.
25626 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
25627 <libm-alias-double.h>.
25628 (fabs): Define using libm_alias_double.
25629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25630 Include <libm-alias-double.h>.
25631 (copysign): Define using libm_alias_double.
25632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
25633 <libm-alias-double.h>.
25634 (fabs): Define using libm_alias_double.
25635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
25636 <libm-alias-double.h>.
25637 (fdim): Define using libm_alias_double.
25638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
25639 <libm-alias-double.h>.
25640 (fma): Define using libm_alias_double.
25641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
25642 <libm-alias-double.h>.
25643 (llrint): Define using libm_alias_double.
25644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
25645 Include <libm-alias-double.h>.
25646 (nearbyint): Define using libm_alias_double.
25647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
25648 <libm-alias-double.h>.
25649 (rint): Define using libm_alias_double.
25650 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
25651 <libm-alias-double.h>.
25652 (fabs): Define using libm_alias_double.
25653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
25654 <libm-alias-double.h>.
25655 (llrint): Define using libm_alias_double.
25656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
25657 <libm-alias-double.h>.
25658 (nearbyint): Define using libm_alias_double.
25659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
25660 <libm-alias-double.h>.
25661 (rint): Define using libm_alias_double.
25662 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
25663 <libm-alias-double.h>.
25664 (ceil): Define using libm_alias_double.
25665 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
25666 <libm-alias-double.h>.
25667 (floor): Define using libm_alias_double.
25668 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
25669 <libm-alias-double.h>.
25670 (fma): Define using libm_alias_double.
25671 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
25672 <libm-alias-double.h>.
25673 (lrint): Define using libm_alias_double.
25674 (llrint): Likewise.
25675 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
25676 <libm-alias-double.h>.
25677 (nearbyint): Define using libm_alias_double.
25678 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
25679 <libm-alias-double.h>.
25680 (rint): Define using libm_alias_double.
25681 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
25682 <libm-alias-double.h>.
25683 (trunc): Define using libm_alias_double.
25684 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
25685 <libm-alias-double.h>.
25686 (copysign): Define using libm_alias_double.
25687 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
25688 <libm-alias-double.h>.
25689 (fabs): Define using libm_alias_double.
25690 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
25691 <libm-alias-double.h>.
25692 (lrint): Define using libm_alias_double.
25693 (llrint): Likewise.
25694 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
25695 <libm-alias-double.h>.
25696 (nearbyint): Define using libm_alias_double.
25697 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
25698 <libm-alias-double.h>.
25699 (rint): Define using libm_alias_double.
25702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
25704 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25706 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
25707 SPARC --disable-multi-arch glibc variants.
25709 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
25710 <libm-alias-float.h>.
25711 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25713 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
25714 <libm-alias-float.h>.
25715 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25717 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
25718 <libm-alias-float.h>.
25719 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25721 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
25722 <libm-alias-float.h>.
25723 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25725 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
25726 <libm-alias-float.h>.
25727 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25729 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
25730 <libm-alias-float.h>.
25731 (ceilf): Define using libm_alias_float.
25732 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
25733 <libm-alias-float.h>.
25734 (floorf): Define using libm_alias_float.
25735 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
25736 <libm-alias-float.h>.
25737 (fmaf): Define using libm_alias_float.
25738 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
25739 <libm-alias-float.h>.
25740 (nearbyintf): Define using libm_alias_float.
25741 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
25742 <libm-alias-float.h>.
25743 (rintf): Define using libm_alias_float.
25744 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
25745 <libm-alias-float.h>.
25746 (truncf): Define using libm_alias_float.
25747 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
25748 (copysignf): Define using libm_alias_float.
25749 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
25750 (cosf): Define using libm_alias_float.
25751 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
25752 (fabsf): Define using libm_alias_float.
25753 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
25754 (fmaxf): Define using libm_alias_float.
25755 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
25756 (fminf): Define using libm_alias_float.
25757 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
25758 (llrintf): Define using libm_alias_float.
25759 [!__ILP32__] (lrintf): Likewise.
25760 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
25761 (sincosf): Define using libm_alias_float.
25762 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
25763 (sinf): Define using libm_alias_float.
25764 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
25765 (lrintf): Define using libm_alias_float.
25767 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
25768 <libm-alias-double.h>.
25769 (atan): Define using libm_alias_double.
25770 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
25771 <libm-alias-double.h>.
25772 (ceil): Define using libm_alias_double.
25773 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
25774 <libm-alias-double.h>.
25775 (floor): Define using libm_alias_double.
25776 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
25777 <libm-alias-double.h>.
25778 (fma): Define using libm_alias_double.
25779 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
25780 <libm-alias-double.h>.
25781 (nearbyint): Define using libm_alias_double.
25782 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
25783 <libm-alias-double.h>.
25784 (rint): Define using libm_alias_double.
25785 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
25786 <libm-alias-double.h>.
25787 (sin): Define using libm_alias_double.
25789 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
25790 <libm-alias-double.h>.
25791 (tan): Define using libm_alias_double.
25792 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
25793 <libm-alias-double.h>.
25794 (trunc): Define using libm_alias_double.
25795 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
25796 (copysign): Define using libm_alias_double.
25797 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
25798 (fabs): Define using libm_alias_double.
25799 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
25800 (fmax): Define using libm_alias_double.
25801 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
25802 (fmin): Define using libm_alias_double.
25803 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
25804 (llrint): Define using libm_alias_double.
25805 [!__ILP32__] (lrint): Likewise.
25806 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
25807 (lrint): Define using libm_alias_double.
25809 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25811 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
25812 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
25814 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
25815 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
25816 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
25817 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
25818 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
25819 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25821 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
25822 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
25824 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
25825 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
25826 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
25827 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
25828 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
25829 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25831 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
25832 (libm-sysdep_routines): Add s_nearbyint-generic and
25833 s_nearbyintf-generic objects.
25834 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
25835 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
25836 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
25837 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
25838 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
25839 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
25841 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
25842 Add s_finitef-generic and s_finite-generic objects.
25843 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
25844 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
25845 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
25846 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
25847 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
25848 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
25850 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
25851 Add s_isinff-generic and s_isinf-generic objects.
25852 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
25853 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
25854 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
25855 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
25856 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
25857 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25859 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
25860 Add s_isnanf-generic and s_isnan-generic objects.
25861 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
25862 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
25863 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
25864 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
25865 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
25866 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25868 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
25870 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
25872 (sysdep_routines): Use sysdep_calls as base.
25873 (libm-sysdep_routines): Add generic rule for symbols shared with
25874 libc. Add s_signbit-generic and s_signbitf-generic objects.
25875 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
25876 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
25877 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
25878 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
25879 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
25880 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25882 2017-11-29 Joseph Myers <joseph@codesourcery.com>
25884 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
25885 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
25886 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
25887 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
25888 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
25889 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
25890 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
25891 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
25892 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
25893 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
25894 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
25895 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
25896 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
25897 libm_alias_float_r.
25898 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
25899 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
25901 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
25902 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
25903 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
25904 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
25905 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
25906 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
25907 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
25908 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
25909 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
25910 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
25912 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
25914 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
25915 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
25916 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
25917 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
25918 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
25919 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
25920 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
25921 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
25922 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
25923 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
25924 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
25925 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
25926 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
25927 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
25928 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
25929 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
25930 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
25931 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
25932 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
25934 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
25935 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
25936 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
25937 * sysdeps/ia64/fpu/w_lgammaf_main.c
25938 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
25939 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
25941 2017-11-28 Mike FABIAN <mfabian@redhat.com>
25942 Alexandre Oliva <aoliva@redhat.com>
25945 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
25946 * localedata/fr_CA.UTF-8.in: New file with test data for backward
25948 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
25950 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
25951 * localedata/locales/de_DE (LC_COLLATE): Likewise.
25952 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
25953 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
25954 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
25955 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
25956 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
25957 instead of “ifdef DIACRIT_BACKWARD”.
25959 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25961 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
25962 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
25963 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
25964 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
25965 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
25966 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
25967 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
25968 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
25969 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
25970 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
25971 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
25972 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
25973 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
25974 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
25975 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
25976 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
25977 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
25978 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
25979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25980 ($(have-as-vis3) == yes): Remove conditional.
25981 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
25983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
25985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
25987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
25989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
25991 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
25992 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
25993 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
25994 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
25995 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
25996 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
25997 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
25998 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
26000 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26002 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
26003 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
26004 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
26005 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
26006 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
26007 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
26008 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
26009 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
26010 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
26011 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
26012 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
26013 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
26014 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
26015 libm_alias_double_r.
26016 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
26018 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
26019 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
26020 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
26021 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
26022 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
26023 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
26024 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
26025 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
26026 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
26027 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
26028 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
26030 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
26032 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
26033 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
26034 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
26035 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
26036 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
26037 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
26038 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
26039 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
26040 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
26041 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
26042 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
26043 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
26044 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
26045 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
26046 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
26047 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
26048 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
26049 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
26051 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
26052 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
26053 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
26054 * sysdeps/ia64/fpu/w_lgamma_main.c
26055 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
26056 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
26058 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
26060 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
26061 address of $global$ into %dp register earlier. Use pc-relative
26062 instruction sequence for PIC case.
26064 2017-11-28 Joseph Myers <joseph@codesourcery.com>
26066 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
26067 (asinhf): Define using libm_alias_float.
26068 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
26069 (atanf): Define using libm_alias_float.
26070 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
26071 (cbrtf): Define using libm_alias_float.
26072 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
26073 (ceilf): Define using libm_alias_float.
26074 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26075 (copysignf): Define using libm_alias_float.
26076 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
26077 (expm1f): Define using libm_alias_float.
26078 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
26079 (fabsf): Define using libm_alias_float.
26080 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
26081 (floorf): Define using libm_alias_float.
26082 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26083 (fmaxf): Define using libm_alias_float.
26084 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
26085 (fminf): Define using libm_alias_float.
26086 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
26087 (frexpf): Define using libm_alias_float.
26088 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
26089 (llrintf): Define using libm_alias_float.
26090 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
26091 (logbf): Define using libm_alias_float.
26092 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
26093 (lrintf): Define using libm_alias_float.
26094 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
26095 (nearbyintf): Define using libm_alias_float.
26096 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
26097 (remquof): Define using libm_alias_float.
26098 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
26099 (rintf): Define using libm_alias_float.
26100 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
26101 (truncf): Define using libm_alias_float.
26102 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
26103 <libm-alias-float.h>.
26104 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26106 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
26107 <libm-alias-float.h>.
26108 (expf): Define using libm_alias_float, or libm_alias_float_other
26110 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
26111 <libm-alias-float.h>.
26112 (log2f): Define using libm_alias_float, or libm_alias_float_other
26114 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
26115 <libm-alias-float.h>.
26116 (logf): Define using libm_alias_float, or libm_alias_float_other
26118 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
26119 <libm-alias-float.h>.
26120 (powf): Define using libm_alias_float, or libm_alias_float_other
26122 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
26123 <libm-alias-float.h>.
26124 (cosf): Define using libm_alias_float.
26125 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
26126 <libm-alias-float.h>.
26127 (sincosf): Define using libm_alias_float.
26128 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
26129 <libm-alias-float.h>.
26130 (sinf): Define using libm_alias_float.
26131 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26132 (fmaxf): Define using libm_alias_float.
26133 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
26134 (fminf): Define using libm_alias_float.
26135 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26136 <libm-alias-float.h>.
26137 (fmaf): Define using libm_alias_float.
26139 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
26140 (asinh): Define using libm_alias_double.
26141 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
26142 (atan): Define using libm_alias_double.
26143 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
26144 (cbrt): Define using libm_alias_double.
26145 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
26146 (ceil): Define using libm_alias_double.
26147 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
26148 (copysign): Define using libm_alias_double.
26149 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
26150 (expm1): Define using libm_alias_double.
26151 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
26152 (fabs): Define using libm_alias_double.
26153 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
26154 (fdim): Define using libm_alias_double.
26155 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
26156 (floor): Define using libm_alias_double.
26157 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
26158 (fmax): Define using libm_alias_double.
26159 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
26160 (fmin): Define using libm_alias_double.
26161 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
26162 (frexp): Define using libm_alias_double.
26163 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
26164 (llrint): Define using libm_alias_double.
26165 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
26166 (logb): Define using libm_alias_double.
26167 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
26168 (lrint): Define using libm_alias_double.
26169 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
26170 (nearbyint): Define using libm_alias_double.
26171 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
26172 (remquo): Define using libm_alias_double.
26173 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
26174 (rint): Define using libm_alias_double.
26175 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
26176 (trunc): Define using libm_alias_double.
26177 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
26178 (fmax): Define using libm_alias_double.
26179 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
26180 (fmin): Define using libm_alias_double.
26181 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
26182 (fma): Define using libm_alias_double.
26184 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
26187 * elf/dl-hwcaps.c (ROUND): Removed.
26188 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
26189 and ELF_NOTE_NEXT_OFFSET.
26190 * elf/dl-load.c (ROUND): Removed.
26191 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
26192 * elf/readelflib.c (ROUND): Removed.
26193 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
26194 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
26195 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
26196 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
26198 2017-11-28 Joseph Myers <joseph@codesourcery.com>
26200 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
26201 [!__fmaf] (fmaf): Define using libm_alias_float.
26203 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
26204 [!__fma] (fma): Define using libm_alias_double.
26205 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
26207 2017-11-28 Mike FABIAN <mfabian@redhat.com>
26210 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
26211 and implement the collation rules for cs from CLDR on top of that.
26212 * Makefile: Add cs_CZ.UTF-8 to test-input.
26213 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
26215 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
26217 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
26219 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
26220 Icarus Sparry <icarus.w.sparry@intel.com>
26222 * benchtests/Makefile:Add BENCHSET to allow subsets of
26223 benchmarks to be run.
26224 * benchtests/README: Add documentation for: Running subsets of
26227 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
26229 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
26230 range of tests names.
26232 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
26233 result from property and remove "max", min" and "mean" from
26234 required properties based on benchtests/bench-skeleton.c.
26236 2017-11-28 Florian Weimer <fweimer@redhat.com>
26239 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
26240 due to Internet requirement.
26241 * posix/Makefile (tests): Remove tst-getaddrinfo4,
26243 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
26245 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26247 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
26248 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
26249 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
26250 (sysdep_routines): Add memset-ultra1.
26251 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
26253 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
26254 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
26255 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
26256 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
26257 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
26258 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
26259 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
26260 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26262 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
26264 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
26265 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
26266 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
26267 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
26268 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
26269 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
26270 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
26272 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
26273 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
26274 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
26275 (sysdep_routines): Add memcpy-ultra1.
26276 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
26277 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
26279 2017-11-28 Joseph Myers <joseph@codesourcery.com>
26281 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
26282 (cfloat_versions): Take function argument without trailing 'f'.
26283 Call libm_alias_float_other.
26284 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
26285 * sysdeps/alpha/fpu/cargf.c: Likewise.
26286 * sysdeps/alpha/fpu/cimagf.c: Likewise.
26287 * sysdeps/alpha/fpu/conjf.c: Likewise.
26288 * sysdeps/alpha/fpu/crealf.c: Likewise.
26289 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
26290 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
26291 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
26292 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
26293 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
26294 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
26295 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
26296 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
26297 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
26298 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
26299 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
26300 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
26301 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
26302 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
26303 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
26304 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
26305 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
26306 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
26307 (clog10f): Use libm_alias_float_other.
26308 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
26309 (ceilf): Define using libm_alias_float.
26310 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
26311 (copysignf): Define using libm_alias_float.
26312 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
26313 (fabsf): Define using libm_alias_float.
26314 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
26315 (floorf): Define using libm_alias_float.
26316 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
26317 (fmaxf): Define using libm_alias_float.
26318 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
26319 (fminf): Define using libm_alias_float.
26320 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
26321 (lrintf): Define using libm_alias_float.
26322 (llrintf): Likewise.
26323 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
26324 (lroundf): Define using libm_alias_float.
26325 (llroundf): Likewise.
26326 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
26327 (rintf): Define using libm_alias_float.
26328 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
26329 (truncf): Define using libm_alias_float.
26331 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
26332 (ceilf): Define using libm_alias_float.
26333 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
26334 (floorf): Define using libm_alias_float.
26335 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
26336 (fmaf): Define using libm_alias_float.
26337 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
26338 (fmaxf): Define using libm_alias_float.
26339 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
26340 (fminf): Define using libm_alias_float.
26341 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
26342 (llrintf): Define using libm_alias_float.
26343 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
26344 (llroundf): Define using libm_alias_float.
26345 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
26346 (lrintf): Define using libm_alias_float.
26347 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
26348 (lroundf): Define using libm_alias_float.
26349 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
26350 <libm-alias-float.h>.
26351 (nearbyintf): Define using libm_alias_float.
26352 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
26353 (rintf): Define using libm_alias_float.
26354 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
26355 (roundf): Define using libm_alias_float.
26356 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
26357 (truncf): Define using libm_alias_float.
26359 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
26360 (ceil): Define using libm_alias_double.
26361 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
26362 (copysign): Define using libm_alias_double.
26363 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
26364 (fabs): Define using libm_alias_double.
26365 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
26366 (floor): Define using libm_alias_double.
26367 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
26368 (fmax): Define using libm_alias_double.
26369 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
26370 (fmin): Define using libm_alias_double.
26371 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
26372 (lrint): Define using libm_alias_double.
26373 (llrint): Likewise.
26374 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
26375 (lround): Define using libm_alias_double.
26376 (llround): Likewise.
26377 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
26378 (rint): Define using libm_alias_double.
26379 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
26380 (trunc): Define using libm_alias_double.
26382 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
26383 (libm_alias_double_r): Add semicolon after weak_alias call.
26385 2017-11-27 Joseph Myers <joseph@codesourcery.com>
26387 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
26388 (ceil): Define using libm_alias_double.
26389 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
26390 (floor): Define using libm_alias_double.
26391 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
26392 (fma): Define using libm_alias_double.
26393 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
26394 (fmax): Define using libm_alias_double.
26395 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
26396 (fmin): Define using libm_alias_double.
26397 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
26398 (llrint): Define using libm_alias_double.
26399 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
26400 (llround): Define using libm_alias_double.
26401 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
26402 (lrint): Define using libm_alias_double.
26403 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
26404 (lround): Define using libm_alias_double.
26405 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
26406 (nearbyint): Define using libm_alias_double.
26407 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
26408 (rint): Define using libm_alias_double.
26409 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
26410 (round): Define using libm_alias_double.
26411 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
26412 (trunc): Define using libm_alias_double.
26414 2017-11-27 Florian Weimer <fweimer@redhat.com>
26416 * sysdeps/unix/sysv/linux/mlock2.c: New file.
26417 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
26418 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
26419 (tests): Add tst-mlock2.
26420 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
26421 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
26422 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
26423 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
26424 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
26425 for mlock. Document mlock2.
26427 2017-11-27 Joseph Myers <joseph@codesourcery.com>
26429 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
26430 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
26432 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
26434 * sysdeps/x86/Makeconfig: New file.
26435 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
26436 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26437 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
26438 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26439 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
26440 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26441 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
26443 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26444 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
26445 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26446 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
26447 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26448 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
26449 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26450 * manual/math.texi (Mathematics): Document support for _Float64x.
26451 * math/Versions (GLIBC_2.27): Add _Float64x functions.
26452 * stdlib/Versions (GLIBC_2.27): Likewise.
26453 * wcsmbs/Versions (GLIBC_2.27): Likewise.
26454 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
26455 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26456 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26457 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26458 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26459 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26460 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26461 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26462 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26463 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26464 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
26467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26469 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26470 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26471 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26472 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26473 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26474 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26475 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26476 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26477 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26478 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26479 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26480 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26481 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
26482 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26484 2017-11-27 Andreas Schwab <schwab@suse.de>
26486 * elf/Makefile (dl-routines): Add dl-sort-maps.
26487 * elf/dl-sort-maps.c: New file.
26488 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
26489 (_dl_sort_maps): Declare.
26490 * elf/dl-fini.c (_dl_sort_fini): Remove.
26491 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
26492 * elf/dl-close.c (_dl_close_worker): Likewise.
26493 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
26495 * elf/dl-open.c (dl_open_worker): Likewise.
26497 2017-11-24 Joseph Myers <joseph@codesourcery.com>
26499 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
26500 using libm_alias_float128.
26501 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
26503 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
26505 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
26506 (setpayloadsigf128): Likewise.
26507 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
26509 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
26512 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
26513 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
26514 -mfloat128 to CFLAGS.
26516 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
26518 (CFLAGS-libm-test-support-float64x.c): New variable.
26519 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
26520 $(f128-loader-link) to gnulib-tests.
26522 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
26523 (libm_alias_float128_other_r): If
26524 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
26526 (libm_alias_float128_r): Add semicolon after weak_alias call.
26527 * sysdeps/generic/libm-alias-ldouble.h
26528 (libm_alias_ldouble_other_r_f128): New macro.
26529 (libm_alias_ldouble_other_r_f64x): Likewise.
26530 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
26531 and libm_alias_ldouble_other_r_f64x.
26532 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
26533 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
26534 (libm_alias_ldouble_other_r_f128): New macro.
26535 (libm_alias_ldouble_other_r_f64x): Likewise.
26536 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
26537 and libm_alias_ldouble_other_r_f64x.
26539 * stdlib/strfroml.c: Always include <stdlib.h>.
26540 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
26541 undefine as macro and define as weak alias.
26542 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
26543 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
26545 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
26546 Define and later undefine as macro and define as weak alias.
26548 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
26549 Define and later undefine as macro. Define as weak alias if
26551 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
26552 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
26553 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
26554 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
26555 Define and later undefine as macro. Define as weak alias if
26557 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
26558 Define and later undefine as macro. Define as weak alias if
26560 * sysdeps/ieee754/float128/strtof128_l.c
26561 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
26562 Define and later undefine as macro. Define as weak alias if
26564 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
26565 Define and later undefine as macro. Define as weak alias if
26567 * sysdeps/ieee754/ldbl-128/strtold_l.c
26568 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
26569 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26570 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
26571 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
26572 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
26573 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
26574 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26575 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
26576 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
26577 * sysdeps/ieee754/ldbl-96/strtold_l.c
26578 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
26579 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26580 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
26581 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
26583 * math/test-float64x.h: New file.
26584 * math/Makefile (type-float64x-yes): New variable.
26585 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
26587 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
26588 function-like macro.
26589 (min_of_type_): Likewise.
26590 (min_of_type_l): Likewise.
26591 (min_of_type_f128): Likewise.
26592 (min_of_type): Pass () as last argument of __MATH_TG.
26594 * stdlib/tst-strtod-round-skeleton.c
26595 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
26598 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
26599 for combinations of long double with _Float64 and _Float64x.
26601 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
26602 (__DECL_SIMD_cosf32): Likewise.
26603 (__DECL_SIMD_cosf64): Likewise.
26604 (__DECL_SIMD_cosf32x): Likewise.
26605 (__DECL_SIMD_cosf64x): Likewise.
26606 (__DECL_SIMD_cosf128x): Likewise.
26607 (__DECL_SIMD_sinf16): Likewise.
26608 (__DECL_SIMD_sinf32): Likewise.
26609 (__DECL_SIMD_sinf64): Likewise.
26610 (__DECL_SIMD_sinf32x): Likewise.
26611 (__DECL_SIMD_sinf64x): Likewise.
26612 (__DECL_SIMD_sinf128x): Likewise.
26613 (__DECL_SIMD_sincosf16): Likewise.
26614 (__DECL_SIMD_sincosf32): Likewise.
26615 (__DECL_SIMD_sincosf64): Likewise.
26616 (__DECL_SIMD_sincosf32x): Likewise.
26617 (__DECL_SIMD_sincosf64x): Likewise.
26618 (__DECL_SIMD_sincosf128x): Likewise.
26619 (__DECL_SIMD_logf16): Likewise.
26620 (__DECL_SIMD_logf32): Likewise.
26621 (__DECL_SIMD_logf64): Likewise.
26622 (__DECL_SIMD_logf32x): Likewise.
26623 (__DECL_SIMD_logf64x): Likewise.
26624 (__DECL_SIMD_logf128x): Likewise.
26625 (__DECL_SIMD_expf16): Likewise.
26626 (__DECL_SIMD_expf32): Likewise.
26627 (__DECL_SIMD_expf64): Likewise.
26628 (__DECL_SIMD_expf32x): Likewise.
26629 (__DECL_SIMD_expf64x): Likewise.
26630 (__DECL_SIMD_expf128x): Likewise.
26631 (__DECL_SIMD_powf16): Likewise.
26632 (__DECL_SIMD_powf32): Likewise.
26633 (__DECL_SIMD_powf64): Likewise.
26634 (__DECL_SIMD_powf32x): Likewise.
26635 (__DECL_SIMD_powf64x): Likewise.
26636 (__DECL_SIMD_powf128x): Likewise.
26638 * stdlib/Versions (libc): Move entries for wcstof128 and
26639 wcstof128_l to ....
26640 * wcsmbs/Versions (libc): ... here.
26641 Include <float128-abi.h>.
26643 2017-11-24 Florian Weimer <fweimer@redhat.com>
26645 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26646 bits/mman-shared.h.
26647 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
26648 <bits/mman-shared.h>.
26649 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
26651 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
26652 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
26653 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
26654 <bits/mman-shared.h>.
26656 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26659 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
26660 posix_memalign/free.
26661 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
26663 2017-11-22 Mike FABIAN <mfabian@redhat.com>
26666 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
26667 and implement the collation rules for pl from CLDR on top of that.
26668 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
26669 of locales to be built for testing.
26670 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
26672 2017-11-23 Joseph Myers <joseph@codesourcery.com>
26674 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
26675 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
26676 libm_alias_ldouble_other.
26677 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
26678 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
26679 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
26680 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
26681 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
26682 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
26683 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
26684 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
26685 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
26686 libm_alias_ldouble_r.
26687 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
26688 libm_alias_ldouble_other.
26689 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
26690 (log10l): Likewise.
26691 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
26692 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
26693 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
26694 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
26695 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
26696 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
26697 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
26698 (atan2l): Likewise.
26699 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
26700 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
26701 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
26702 libm_alias_ldouble.
26703 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
26705 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
26706 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
26707 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
26709 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
26710 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
26711 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
26712 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
26713 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
26714 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
26715 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
26716 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
26717 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
26718 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
26719 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
26720 libm_alias_ldouble.
26721 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
26722 libm_alias_ldouble_other.
26723 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
26724 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
26725 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
26726 libm_alias_ldouble.
26727 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
26728 libm_alias_ldouble_other.
26729 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
26730 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
26731 * sysdeps/ia64/fpu/w_lgammal_main.c
26732 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
26733 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
26735 2017-11-23 Florian Weimer <fweimer@redhat.com>
26737 * malloc/malloc.c (tcache_thread_shutdown): Rename from
26738 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
26739 alike. Remove freeres marker.
26740 * malloc/arena.c (arena_thread_freeres): Call
26741 tcache_thread_shutdown.
26743 2017-11-23 Florian Weimer <fweimer@redhat.com>
26746 Export nscd hash function as __nss_hash.
26747 * include/nss.h (__nss_hash): Declare.
26748 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
26750 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
26751 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
26753 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
26754 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
26755 * nss/Makefiles (routines): Add nss_hash.
26756 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
26757 * nss/nss_hash.c: Rename from nis/nis_hash.c.
26758 (__nss_hash): Rename from __nis_hash. Define hidden alias.
26759 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
26761 2017-11-23 Florian Weimer <fweimer@redhat.com>
26764 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
26765 Return error code, not -1.
26766 * signal/tst-sigwait-eintr.c: New file.
26767 * signal/Makefile (tests): Add tst-sigwait-eintr.
26769 2017-11-23 Florian Weimer <fweimer@redhat.com>
26771 Linux: Add memfd_create system call wrapper
26772 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
26774 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
26775 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
26776 [__USE_GNU] (memfd_create): Declare.
26777 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
26778 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
26779 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
26780 * sysdeps/unix/sysv/linux/**.abilist: Update.
26781 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
26783 2017-11-22 Joseph Myers <joseph@codesourcery.com>
26785 * localedata/gen-locale.sh: Fix typo in variable name.
26787 * resolv/res_debug.c (p_secstodate): Condition definition on
26788 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
26789 directly as __p_secstodate, and as a compat symbol. Do not use
26790 libresolv_hidden_def.
26791 * resolv/resolv.h (p_secstodate): Remove macro and function
26793 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
26794 using p_secstodate.
26795 * include/resolv.h (__p_secstodate): Do not use
26796 libresolv_hidden_proto.
26797 * resolv/Makefile (tests): Move tst-p_secstodate to ....
26798 (tests-internal): ... here.
26799 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
26800 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
26801 and declare and use __p_secstodate and use compat_symbol_reference
26803 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
26804 implementation returning 77.
26807 * resolv/res_debug.c: Include <libc-diag.h>.
26808 (p_secstodate): Assert time_t at least as wide as u_long. On
26809 overflow, use integer seconds since the epoch as output, or use
26810 "<overflow>" as output and set errno to EOVERFLOW if integer
26811 seconds since the epoch would be 14 or more characters.
26812 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
26814 * resolv/tst-p_secstodate.c: New file.
26815 * resolv/Makefile (tests): Add tst-p_secstodate.
26816 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
26818 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
26819 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
26820 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
26822 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
26824 * posix/regcomp.c (init_word_char): Add comments.
26826 2017-11-22 Joseph Myers <joseph@codesourcery.com>
26829 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
26830 strlen to compute length of ut_user and set trailing NUL byte of
26833 2017-11-21 Mike FABIAN <mfabian@redhat.com>
26836 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
26837 using “copy "iso14651_t1"” and then implementing the
26838 collation rules for lv from CLDR on top of that.
26839 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
26840 of locales to be built for testing.
26841 * lv_LV.UTF-8.in: New file with test data to test the Latvian
26844 2017-11-21 Joseph Myers <joseph@codesourcery.com>
26846 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
26847 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
26848 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
26849 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
26850 [__USE_MISC] (MADV_HWPOISON): New macro.
26851 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
26853 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26855 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
26856 -Wmissing-braces on GCC 4.9.
26858 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
26860 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
26861 * sysdeps/s390/s390-32/start.S (_start): Likewise
26862 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
26863 (thread_start): Likewise.
26864 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
26865 (thread_start): Likewise.
26866 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
26867 (__makecontext_ret): Likewise.
26868 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
26869 (__makecontext_ret): Likewise.
26871 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
26873 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
26874 __wcschrnul): Remove attribute_hidden.
26876 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
26878 regex: don't assume uint64_t or uint32_t
26879 This avoids -Werror=overflow errors for 32-bit systems in
26880 the 64-bit case. Problem reported by Joseph Myers in:
26881 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
26882 Also, when this code is used in Gnulib it ports to platforms
26883 that lack uint64_t and uint32_t. The C standard doesn't guarantee
26884 them, and on some 32-bit compilers there is no uint64_t.
26885 Problem reported by Gianluigi Tiesi in:
26886 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
26887 * posix/regcomp.c (init_word_char): Don't assume that the types
26888 uint64_t and uint32_t exist. Adapted from Gnulib patch
26889 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
26890 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
26892 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
26894 * sysdeps/aarch64/memset-reg.h: New file.
26895 * sysdeps/aarch64/memset.S: Use it.
26896 (__memset): Rename to MEMSET macro.
26897 [ZVA_MACRO]: Use zva_macro.
26898 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
26899 Add memset_generic and memset_falkor.
26900 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
26901 (__libc_ifunc_impl_list): Add memset ifuncs.
26902 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
26903 local variable zva_size.
26904 * sysdeps/aarch64/multiarch/memset.c: New file.
26905 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
26906 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
26907 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
26908 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
26909 (DCZID_DZP_MASK): New macro.
26910 (DCZID_BS_MASK): Likewise.
26911 (init_cpu_features): Read and set zva_size.
26912 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
26913 (struct cpu_features): New member zva_size.
26915 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
26916 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
26917 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
26919 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
26920 backwards. Fix timing computation.
26921 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
26922 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
26923 on memset by N at a time. Fix timing computation.
26925 2017-11-20 Florian Weimer <fweimer@redhat.com>
26927 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
26928 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
26930 2017-11-19 Florian Weimer <fweimer@redhat.com>
26932 manual: Document mprotect
26933 * manual/memory.texi (Memory Protection): New section.
26934 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
26935 documentation of PROT_* flags and reference the Memory Protection
26938 2017-11-19 Florian Weimer <fweimer@redhat.com>
26940 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
26941 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
26942 (Scatter-Gather): ... to here. Remove misleading comment.
26944 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
26946 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
26949 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
26950 when /proc/<pid>/setgroups does not exist.
26952 2017-11-18 Florian Weimer <fweimer@redhat.com>
26954 * sysdeps/unix/sysv/linux/tst-ttyname.c
26955 (become_root_in_mount_ns): Remove.
26956 (do_in_chroot_1): Call support_enter_mount_namespace.
26957 (do_in_chroot_2): Likewise.
26958 (do_test): Call support_become_root early.
26960 2017-11-18 Florian Weimer <fweimer@redhat.com>
26962 * support/namespace.h (support_enter_mount_namespace): Declare.
26963 * support/support_enter_mount_namespace.c: New file.
26964 * support/Makefile (libsupport-routines): Add
26965 support_enter_mount_namespace.
26967 2017-11-18 Florian Weimer <fweimer@redhat.com>
26969 * support/temp_file.c (support_create_temp_directory): Use
26970 test_dir and do not rely on the presence of the XXXXXX suffix.
26971 * support/temp_file.h (support_create_temp_directory): Update
26973 * support/tst-xreadlink.c (do_test): Adjust.
26974 * support/support_chroot.c (support_chroot_create): Likewise.
26976 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26978 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
26980 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
26983 2017-11-17 Joseph Myers <joseph@codesourcery.com>
26985 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
26986 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
26987 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
26988 (ceill): Define using libm_alias_ldouble.
26989 * sysdeps/x86_64/fpu/s_copysignl.S: Include
26990 <libm-alias-ldouble.h>.
26991 (copysignl): Define using libm_alias_ldouble.
26992 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
26993 (fabsl): Define using libm_alias_ldouble.
26994 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
26995 (floorl): Define using libm_alias_ldouble.
26996 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
26997 (fmaxl): Define using libm_alias_ldouble.
26998 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
26999 (fminl): Define using libm_alias_ldouble.
27000 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27001 (llrintl): Define using libm_alias_ldouble.
27002 (lrintl): Likewise.
27003 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
27004 <libm-alias-ldouble.h>.
27005 (nearbyintl): Define using libm_alias_ldouble.
27006 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27007 (truncl): Define using libm_alias_ldouble.
27008 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
27009 <libm-alias-ldouble.h>.
27010 (lrintl): Define using libm_alias_ldouble.
27012 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27013 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27014 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
27015 (asinhl): Define using libm_alias_ldouble.
27016 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
27017 (atanl): Define using libm_alias_ldouble.
27018 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
27019 (cbrtl): Define using libm_alias_ldouble.
27020 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27021 (ceill): Define using libm_alias_ldouble.
27022 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
27023 (copysignl): Define using libm_alias_ldouble.
27024 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27025 (fabsl): Define using libm_alias_ldouble.
27026 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27027 (floorl): Define using libm_alias_ldouble.
27028 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27029 (fmaxl): Define using libm_alias_ldouble.
27030 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27031 (fminl): Define using libm_alias_ldouble.
27032 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
27033 (frexpl): Define using libm_alias_ldouble.
27034 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27035 (llrintl): Define using libm_alias_ldouble.
27036 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
27037 (logbl): Define using libm_alias_ldouble.
27038 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
27039 (lrintl): Define using libm_alias_ldouble.
27040 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
27041 (nearbyintl): Define using libm_alias_ldouble.
27042 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
27043 (nextafterl): Define using libm_alias_ldouble.
27044 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
27045 (remquol): Define using libm_alias_ldouble.
27046 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
27047 (rintl): Define using libm_alias_ldouble.
27048 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27049 (truncl): Define using libm_alias_ldouble.
27050 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27051 (fmaxl): Define using libm_alias_ldouble.
27052 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27053 (fminl): Define using libm_alias_ldouble.
27055 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
27056 to C syntax instead of availability and properties of types.
27057 * bits/floatn.h [!__ASSEMBLER]: Likewise.
27058 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
27059 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
27060 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
27061 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
27062 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
27064 2017-11-17 Florian Weimer <fweimer@redhat.com>
27066 support_become_root: Enable file creation in namespaces.
27067 * support/support_become_root.c (setup_mapping): New function.
27068 (support_become_root): Call it.
27070 2017-11-17 Joseph Myers <joseph@codesourcery.com>
27072 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
27075 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27077 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
27078 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
27080 2017-11-16 Joseph Myers <joseph@codesourcery.com>
27082 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
27084 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
27087 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
27089 * INSTALL: Fix botched up regeneration.
27091 * NEWS: Update sourceare link to https.
27092 * configure.ac: Likewise.
27093 * crypt/md5test-giant.c: Likewise.
27094 * dlfcn/bug-atexit1.c: Likewise.
27095 * dlfcn/bug-atexit2.c: Likewise.
27096 * localedata/README: Likewise.
27097 * malloc/tst-mallocfork.c: Likewise.
27098 * manual/install.texi: Likewise.
27099 * nptl/tst-pthread-getattr.c: Likewise.
27100 * stdio-common/tst-fgets.c: Likewise.
27101 * stdio-common/tst-fwrite.c: Likewise.
27102 * sunrpc/Makefile: Likewise.
27103 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
27104 * wcsmbs/tst-mbrtowc2.c: Likewise.
27105 * configure: Regenerate.
27106 * INSTALL: Regenerate.
27108 2017-11-15 Martin Sebor <msebor@redhat.com>
27110 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
27111 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
27112 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
27114 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
27117 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
27118 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
27121 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
27122 Defer is_pty check until end of the function.
27123 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27126 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
27127 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
27128 (ttyname): Likewise.
27129 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
27130 (__ttyname_r): Likewise.
27132 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
27135 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
27137 * manual/terminal.texi (Is It a Terminal):
27138 Mention ENODEV for ttyname and ttyname_r.
27140 2017-11-15 Joseph Myers <joseph@codesourcery.com>
27142 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
27143 constant and macro.
27145 * sysdeps/unix/sysv/linux/bits/mman-linux.h
27146 [__USE_MISC] (MADV_WIPEONFORK): New macro.
27147 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
27148 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
27149 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
27150 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
27152 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27154 * signal/sigrelse.c (sigrelse): Optimize implementation.
27156 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
27157 (__sigpause): Rely on __sigsuspend to implement single thread
27158 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
27160 2017-11-15 Joseph Myers <joseph@codesourcery.com>
27162 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
27163 kernel version to 4.14.
27165 2017-11-15 Steve Ellcey <sellcey@cavium.com>
27168 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
27169 Check if ifname is too long.
27171 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
27173 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
27175 2017-11-15 Mike FABIAN <mfabian@redhat.com>
27177 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
27178 was accidentally lost.
27180 2017-11-15 Mike FABIAN <mfabian@redhat.com>
27182 * localedata/locales/az_IR: Add standard copyright header.
27184 2017-11-15 Florian Weimer <fweimer@redhat.com>
27187 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
27188 not just the top one. Output a new "subheaps" statistic.
27190 2017-11-15 Florian Weimer <fweimer@redhat.com>
27193 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
27194 under the per-arena lock.
27195 * malloc/Makefile (tests): Add tst-malloc_info.
27196 (tst-malloc_info): Link with libpthread.
27197 * malloc/tst-malloc_info.c: New file.
27199 2017-11-15 Joseph Myers <joseph@codesourcery.com>
27202 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
27203 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
27204 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
27205 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
27206 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
27207 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
27208 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
27209 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
27210 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
27211 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
27212 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
27213 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
27214 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
27215 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
27216 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
27217 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
27218 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
27219 (__floating_type): Likewise.
27220 (__real_integer_type): Likewise.
27221 (__complex_integer_type): Likewise.
27222 (__expr_is_real): Likewise.
27223 (__tgmath_real_type_sub): Likewise.
27224 (__tgmath_real_type): Likewise.
27225 (__tgmath_complex_type_sub): Likewise.
27226 (__tgmath_complex_type): Likewise.
27227 (__TGMATH_F128): Likewise.
27228 (__TGMATH_CF128): Likewise.
27229 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
27231 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
27232 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
27234 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
27236 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
27237 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
27238 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
27239 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
27241 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
27242 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
27244 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
27245 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
27246 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
27248 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
27249 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
27250 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
27254 2017-11-14 Joseph Myers <joseph@codesourcery.com>
27256 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
27257 for stpncpy calls for GCC 8.
27258 (test_strncat): Disable -Wstringop-truncation warning for strncat
27259 calls for GCC 8. Disable -Wstringop-overflow= warning for one
27260 strncat call for GCC 7.
27261 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
27263 (test_memcmp): Use memcpy instead of strncpy for calls not copying
27266 * string/bug-strncat1.c: Include <libc-diag.h>.
27267 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
27269 2017-11-13 Claude Paroz <claude@2xlibre.net>
27272 * localedata/locales/aa_DJ: Improved readibility by replacing
27273 <Uxxxx> sequences in the ASCII printable range by their ASCII
27274 character equivalents.
27275 * localedata/locales/aa_ER: Likewise.
27276 * localedata/locales/aa_ER@saaho: Likewise.
27277 * localedata/locales/aa_ET: Likewise.
27278 * localedata/locales/af_ZA: Likewise.
27279 * localedata/locales/agr_PE: Likewise.
27280 * localedata/locales/ak_GH: Likewise.
27281 * localedata/locales/am_ET: Likewise.
27282 * localedata/locales/anp_IN: Likewise.
27283 * localedata/locales/ar_AE: Likewise.
27284 * localedata/locales/ar_BH: Likewise.
27285 * localedata/locales/ar_DZ: Likewise.
27286 * localedata/locales/ar_EG: Likewise.
27287 * localedata/locales/ar_IN: Likewise.
27288 * localedata/locales/ar_IQ: Likewise.
27289 * localedata/locales/ar_JO: Likewise.
27290 * localedata/locales/ar_KW: Likewise.
27291 * localedata/locales/ar_LB: Likewise.
27292 * localedata/locales/ar_LY: Likewise.
27293 * localedata/locales/ar_MA: Likewise.
27294 * localedata/locales/ar_OM: Likewise.
27295 * localedata/locales/ar_QA: Likewise.
27296 * localedata/locales/ar_SA: Likewise.
27297 * localedata/locales/ar_SD: Likewise.
27298 * localedata/locales/ar_SS: Likewise.
27299 * localedata/locales/ar_SY: Likewise.
27300 * localedata/locales/ar_TN: Likewise.
27301 * localedata/locales/ar_YE: Likewise.
27302 * localedata/locales/as_IN: Likewise.
27303 * localedata/locales/ast_ES: Likewise.
27304 * localedata/locales/ayc_PE: Likewise.
27305 * localedata/locales/az_AZ: Likewise.
27306 * localedata/locales/az_IR: Likewise.
27307 * localedata/locales/be_BY: Likewise.
27308 * localedata/locales/be_BY@latin: Likewise.
27309 * localedata/locales/bem_ZM: Likewise.
27310 * localedata/locales/ber_DZ: Likewise.
27311 * localedata/locales/ber_MA: Likewise.
27312 * localedata/locales/bg_BG: Likewise.
27313 * localedata/locales/bhb_IN: Likewise.
27314 * localedata/locales/bho_IN: Likewise.
27315 * localedata/locales/bi_VU: Likewise.
27316 * localedata/locales/bn_BD: Likewise.
27317 * localedata/locales/bn_IN: Likewise.
27318 * localedata/locales/bo_CN: Likewise.
27319 * localedata/locales/bo_IN: Likewise.
27320 * localedata/locales/br_FR: Likewise.
27321 * localedata/locales/brx_IN: Likewise.
27322 * localedata/locales/bs_BA: Likewise.
27323 * localedata/locales/byn_ER: Likewise.
27324 * localedata/locales/ca_AD: Likewise.
27325 * localedata/locales/ca_ES: Likewise.
27326 * localedata/locales/ca_FR: Likewise.
27327 * localedata/locales/ca_IT: Likewise.
27328 * localedata/locales/ce_RU: Likewise.
27329 * localedata/locales/chr_US: Likewise.
27330 * localedata/locales/cmn_TW: Likewise.
27331 * localedata/locales/crh_UA: Likewise.
27332 * localedata/locales/cs_CZ: Likewise.
27333 * localedata/locales/csb_PL: Likewise.
27334 * localedata/locales/cv_RU: Likewise.
27335 * localedata/locales/cy_GB: Likewise.
27336 * localedata/locales/da_DK: Likewise.
27337 * localedata/locales/de_AT: Likewise.
27338 * localedata/locales/de_BE: Likewise.
27339 * localedata/locales/de_CH: Likewise.
27340 * localedata/locales/de_DE: Likewise.
27341 * localedata/locales/de_IT: Likewise.
27342 * localedata/locales/de_LI: Likewise.
27343 * localedata/locales/de_LU: Likewise.
27344 * localedata/locales/doi_IN: Likewise.
27345 * localedata/locales/dv_MV: Likewise.
27346 * localedata/locales/dz_BT: Likewise.
27347 * localedata/locales/el_CY: Likewise.
27348 * localedata/locales/el_GR: Likewise.
27349 * localedata/locales/en_AG: Likewise.
27350 * localedata/locales/en_AU: Likewise.
27351 * localedata/locales/en_BW: Likewise.
27352 * localedata/locales/en_CA: Likewise.
27353 * localedata/locales/en_DK: Likewise.
27354 * localedata/locales/en_GB: Likewise.
27355 * localedata/locales/en_HK: Likewise.
27356 * localedata/locales/en_IE: Likewise.
27357 * localedata/locales/en_IL: Likewise.
27358 * localedata/locales/en_IN: Likewise.
27359 * localedata/locales/en_NG: Likewise.
27360 * localedata/locales/en_NZ: Likewise.
27361 * localedata/locales/en_PH: Likewise.
27362 * localedata/locales/en_SG: Likewise.
27363 * localedata/locales/en_US: Likewise.
27364 * localedata/locales/en_ZA: Likewise.
27365 * localedata/locales/en_ZM: Likewise.
27366 * localedata/locales/en_ZW: Likewise.
27367 * localedata/locales/eo: Likewise.
27368 * localedata/locales/es_AR: Likewise.
27369 * localedata/locales/es_BO: Likewise.
27370 * localedata/locales/es_CL: Likewise.
27371 * localedata/locales/es_CO: Likewise.
27372 * localedata/locales/es_CR: Likewise.
27373 * localedata/locales/es_CU: Likewise.
27374 * localedata/locales/es_DO: Likewise.
27375 * localedata/locales/es_EC: Likewise.
27376 * localedata/locales/es_ES: Likewise.
27377 * localedata/locales/es_GT: Likewise.
27378 * localedata/locales/es_HN: Likewise.
27379 * localedata/locales/es_MX: Likewise.
27380 * localedata/locales/es_NI: Likewise.
27381 * localedata/locales/es_PA: Likewise.
27382 * localedata/locales/es_PE: Likewise.
27383 * localedata/locales/es_PR: Likewise.
27384 * localedata/locales/es_PY: Likewise.
27385 * localedata/locales/es_SV: Likewise.
27386 * localedata/locales/es_US: Likewise.
27387 * localedata/locales/es_UY: Likewise.
27388 * localedata/locales/es_VE: Likewise.
27389 * localedata/locales/et_EE: Likewise.
27390 * localedata/locales/eu_ES: Likewise.
27391 * localedata/locales/eu_ES@euro: Likewise.
27392 * localedata/locales/fa_IR: Likewise.
27393 * localedata/locales/ff_SN: Likewise.
27394 * localedata/locales/fi_FI: Likewise.
27395 * localedata/locales/fil_PH: Likewise.
27396 * localedata/locales/fo_FO: Likewise.
27397 * localedata/locales/fr_BE: Likewise.
27398 * localedata/locales/fr_CA: Likewise.
27399 * localedata/locales/fr_CH: Likewise.
27400 * localedata/locales/fr_FR: Likewise.
27401 * localedata/locales/fr_LU: Likewise.
27402 * localedata/locales/fur_IT: Likewise.
27403 * localedata/locales/fy_DE: Likewise.
27404 * localedata/locales/fy_NL: Likewise.
27405 * localedata/locales/ga_IE: Likewise.
27406 * localedata/locales/gd_GB: Likewise.
27407 * localedata/locales/gez_ER: Likewise.
27408 * localedata/locales/gez_ET: Likewise.
27409 * localedata/locales/gl_ES: Likewise.
27410 * localedata/locales/gu_IN: Likewise.
27411 * localedata/locales/gv_GB: Likewise.
27412 * localedata/locales/ha_NG: Likewise.
27413 * localedata/locales/hak_TW: Likewise.
27414 * localedata/locales/he_IL: Likewise.
27415 * localedata/locales/hi_IN: Likewise.
27416 * localedata/locales/hif_FJ: Likewise.
27417 * localedata/locales/hne_IN: Likewise.
27418 * localedata/locales/hr_HR: Likewise.
27419 * localedata/locales/hsb_DE: Likewise.
27420 * localedata/locales/ht_HT: Likewise.
27421 * localedata/locales/hu_HU: Likewise.
27422 * localedata/locales/hy_AM: Likewise.
27423 * localedata/locales/i18n: Likewise.
27424 * localedata/locales/ia_FR: Likewise.
27425 * localedata/locales/id_ID: Likewise.
27426 * localedata/locales/ig_NG: Likewise.
27427 * localedata/locales/ik_CA: Likewise.
27428 * localedata/locales/is_IS: Likewise.
27429 * localedata/locales/it_CH: Likewise.
27430 * localedata/locales/it_IT: Likewise.
27431 * localedata/locales/iu_CA: Likewise.
27432 * localedata/locales/ja_JP: Likewise.
27433 * localedata/locales/ka_GE: Likewise.
27434 * localedata/locales/kk_KZ: Likewise.
27435 * localedata/locales/kl_GL: Likewise.
27436 * localedata/locales/kn_IN: Likewise.
27437 * localedata/locales/ko_KR: Likewise.
27438 * localedata/locales/kok_IN: Likewise.
27439 * localedata/locales/ks_IN: Likewise.
27440 * localedata/locales/ks_IN@devanagari: Likewise.
27441 * localedata/locales/ku_TR: Likewise.
27442 * localedata/locales/kw_GB: Likewise.
27443 * localedata/locales/ky_KG: Likewise.
27444 * localedata/locales/lb_LU: Likewise.
27445 * localedata/locales/lg_UG: Likewise.
27446 * localedata/locales/li_BE: Likewise.
27447 * localedata/locales/li_NL: Likewise.
27448 * localedata/locales/lij_IT: Likewise.
27449 * localedata/locales/ln_CD: Likewise.
27450 * localedata/locales/lo_LA: Likewise.
27451 * localedata/locales/lt_LT: Likewise.
27452 * localedata/locales/lv_LV: Likewise.
27453 * localedata/locales/lzh_TW: Likewise.
27454 * localedata/locales/mag_IN: Likewise.
27455 * localedata/locales/mai_IN: Likewise.
27456 * localedata/locales/mg_MG: Likewise.
27457 * localedata/locales/mhr_RU: Likewise.
27458 * localedata/locales/mi_NZ: Likewise.
27459 * localedata/locales/mk_MK: Likewise.
27460 * localedata/locales/ml_IN: Likewise.
27461 * localedata/locales/mn_MN: Likewise.
27462 * localedata/locales/mni_IN: Likewise.
27463 * localedata/locales/mr_IN: Likewise.
27464 * localedata/locales/ms_MY: Likewise.
27465 * localedata/locales/mt_MT: Likewise.
27466 * localedata/locales/my_MM: Likewise.
27467 * localedata/locales/nan_TW: Likewise.
27468 * localedata/locales/nan_TW@latin: Likewise.
27469 * localedata/locales/nb_NO: Likewise.
27470 * localedata/locales/nds_DE: Likewise.
27471 * localedata/locales/nds_NL: Likewise.
27472 * localedata/locales/ne_NP: Likewise.
27473 * localedata/locales/nhn_MX: Likewise.
27474 * localedata/locales/niu_NU: Likewise.
27475 * localedata/locales/niu_NZ: Likewise.
27476 * localedata/locales/nl_AW: Likewise.
27477 * localedata/locales/nl_BE: Likewise.
27478 * localedata/locales/nl_NL: Likewise.
27479 * localedata/locales/nn_NO: Likewise.
27480 * localedata/locales/nr_ZA: Likewise.
27481 * localedata/locales/nso_ZA: Likewise.
27482 * localedata/locales/oc_FR: Likewise.
27483 * localedata/locales/om_ET: Likewise.
27484 * localedata/locales/om_KE: Likewise.
27485 * localedata/locales/or_IN: Likewise.
27486 * localedata/locales/os_RU: Likewise.
27487 * localedata/locales/pa_IN: Likewise.
27488 * localedata/locales/pa_PK: Likewise.
27489 * localedata/locales/pap_AW: Likewise.
27490 * localedata/locales/pap_CW: Likewise.
27491 * localedata/locales/pl_PL: Likewise.
27492 * localedata/locales/ps_AF: Likewise.
27493 * localedata/locales/pt_BR: Likewise.
27494 * localedata/locales/pt_PT: Likewise.
27495 * localedata/locales/quz_PE: Likewise.
27496 * localedata/locales/raj_IN: Likewise.
27497 * localedata/locales/ro_RO: Likewise.
27498 * localedata/locales/ru_RU: Likewise.
27499 * localedata/locales/ru_UA: Likewise.
27500 * localedata/locales/rw_RW: Likewise.
27501 * localedata/locales/sa_IN: Likewise.
27502 * localedata/locales/sat_IN: Likewise.
27503 * localedata/locales/sc_IT: Likewise.
27504 * localedata/locales/sd_IN: Likewise.
27505 * localedata/locales/sd_IN@devanagari: Likewise.
27506 * localedata/locales/se_NO: Likewise.
27507 * localedata/locales/sgs_LT: Likewise.
27508 * localedata/locales/shs_CA: Likewise.
27509 * localedata/locales/si_LK: Likewise.
27510 * localedata/locales/sid_ET: Likewise.
27511 * localedata/locales/sk_SK: Likewise.
27512 * localedata/locales/sl_SI: Likewise.
27513 * localedata/locales/sm_WS: Likewise.
27514 * localedata/locales/so_DJ: Likewise.
27515 * localedata/locales/so_ET: Likewise.
27516 * localedata/locales/so_KE: Likewise.
27517 * localedata/locales/so_SO: Likewise.
27518 * localedata/locales/sq_AL: Likewise.
27519 * localedata/locales/sq_MK: Likewise.
27520 * localedata/locales/sr_ME: Likewise.
27521 * localedata/locales/sr_RS: Likewise.
27522 * localedata/locales/sr_RS@latin: Likewise.
27523 * localedata/locales/ss_ZA: Likewise.
27524 * localedata/locales/st_ZA: Likewise.
27525 * localedata/locales/sv_FI: Likewise.
27526 * localedata/locales/sv_SE: Likewise.
27527 * localedata/locales/sw_KE: Likewise.
27528 * localedata/locales/sw_TZ: Likewise.
27529 * localedata/locales/szl_PL: Likewise.
27530 * localedata/locales/ta_IN: Likewise.
27531 * localedata/locales/ta_LK: Likewise.
27532 * localedata/locales/tcy_IN: Likewise.
27533 * localedata/locales/te_IN: Likewise.
27534 * localedata/locales/tg_TJ: Likewise.
27535 * localedata/locales/th_TH: Likewise.
27536 * localedata/locales/the_NP: Likewise.
27537 * localedata/locales/ti_ER: Likewise.
27538 * localedata/locales/ti_ET: Likewise.
27539 * localedata/locales/tig_ER: Likewise.
27540 * localedata/locales/tk_TM: Likewise.
27541 * localedata/locales/tl_PH: Likewise.
27542 * localedata/locales/tn_ZA: Likewise.
27543 * localedata/locales/to_TO: Likewise.
27544 * localedata/locales/tpi_PG: Likewise.
27545 * localedata/locales/tr_CY: Likewise.
27546 * localedata/locales/tr_TR: Likewise.
27547 * localedata/locales/ts_ZA: Likewise.
27548 * localedata/locales/tt_RU: Likewise.
27549 * localedata/locales/tt_RU@iqtelif: Likewise.
27550 * localedata/locales/ug_CN: Likewise.
27551 * localedata/locales/uk_UA: Likewise.
27552 * localedata/locales/unm_US: Likewise.
27553 * localedata/locales/ur_IN: Likewise.
27554 * localedata/locales/ur_PK: Likewise.
27555 * localedata/locales/uz_UZ: Likewise.
27556 * localedata/locales/uz_UZ@cyrillic: Likewise.
27557 * localedata/locales/ve_ZA: Likewise.
27558 * localedata/locales/vi_VN: Likewise.
27559 * localedata/locales/wa_BE: Likewise.
27560 * localedata/locales/wae_CH: Likewise.
27561 * localedata/locales/wal_ET: Likewise.
27562 * localedata/locales/wo_SN: Likewise.
27563 * localedata/locales/xh_ZA: Likewise.
27564 * localedata/locales/yi_US: Likewise.
27565 * localedata/locales/yo_NG: Likewise.
27566 * localedata/locales/yue_HK: Likewise.
27567 * localedata/locales/yuw_PG: Likewise.
27568 * localedata/locales/zh_CN: Likewise.
27569 * localedata/locales/zh_HK: Likewise.
27570 * localedata/locales/zh_SG: Likewise.
27571 * localedata/locales/zh_TW: Likewise.
27572 * localedata/locales/zu_ZA: Likewise.
27574 2017-11-13 Florian Weimer <fweimer@redhat.com>
27576 * support/next_to_fault.h, support/next_to_fault.c: New files.
27577 * support/Makefile (libsupport-routines): Add next_to_fault.
27578 * resolv/tst-inet_pton.c (struct next_to_fault)
27579 (next_to_fault_allocate, next_to_fault_free): Remove.
27580 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
27582 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
27584 * elf/dl-support.c: Include <dl-procruntime.c>.
27585 * include/link.h: Include <link_map.h>.
27586 * sysdeps/generic/dl-procruntime.c: New file.
27587 * sysdeps/generic/link_map.h: Likewise.
27588 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
27589 the writable ld.so namespace.
27591 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
27593 timezone: pacify GCC -Wstringop-truncation
27594 Problem reported by Martin Sebor in:
27595 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
27596 * timezone/zic.c (writezone): Use memcpy, not strncpy.
27598 2017-11-12 Florian Weimer <fweimer@redhat.com>
27600 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
27602 (tests): Add tst-xreadlink.
27603 * support/support.h (xstrndup): Declare.
27604 * support/xunistd.h (xunlink, xreadlink): Declare.
27605 * support/temp_file.h (support_create_temp_directory): Declare.
27606 * support/temp_file.c (support_create_temp_directory): New function.
27607 * support/support_chroot.c (support_chroot_create): Use it.
27608 * support/xreadlink.c: New file.
27609 * support/xstrndup.c: Likewise.
27610 * support/xunlink.c: Likewise.
27611 * support/tst-xreadlink.c: Likewise.
27613 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
27615 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
27617 2017-11-11 Florian Weimer <fweimer@redhat.com>
27621 * resolv/res_comp.c (printable_string, binary_hnok)
27622 (binary_leading_dash): New functions.
27623 (res_hnok): Reimplement using these functions and ns_name_pton.
27624 (res_ownok): Likewise.
27625 (res_mailok): Reimplement using printable_string, ns_name_pton and
27627 (res_dnok): Reimplement using printable_string and ns_name_pton.
27628 * resolv/tst-res_hnok.c (tests): Add additional tests.
27629 (LETTERDIGITS, PRINTABLE): Define.
27630 (do_test): Adjust one_char results.
27632 2017-11-11 Florian Weimer <fweimer@redhat.com>
27635 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
27636 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
27638 2017-11-11 Florian Weimer <fweimer@redhat.com>
27640 * resolv/tst-ns_name_pton.c: New file.
27641 * resolv/Makefile (tests): Add tst-ns_name_pton.
27642 (tst-ns_name_pton): Link against libresolv.
27644 2017-11-11 Florian Weimer <fweimer@redhat.com>
27646 * resolv/tst-res_hnok.c: New file.
27647 * resolv/Makefile (tests): Add tst-res_hnok.
27648 (tst-res_hnok): Link against libresolv.
27650 2017-11-11 Florian Weimer <fweimer@redhat.com>
27652 * resolv/tst-resolv-network.c: Use test framework instead explicit
27655 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
27657 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
27658 <jmp_buf-macros.h>.
27659 [!_ISOMAC] (STR_HELPER): New.
27660 [!_ISOMAC] (STR): Likewise.
27661 [!_ISOMAC] (TEST_SIZE): Likewise.
27662 [!_ISOMAC] (TEST_ALIGN): Likewise.
27663 [!_ISOMAC] (TEST_OFFSET): Likewise.
27664 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
27665 field offsets of jmp_buf as well as sigjmp_buf.
27666 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
27667 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
27668 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
27669 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
27670 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
27671 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
27672 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
27673 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
27674 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
27675 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
27677 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
27679 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
27680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
27682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
27684 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
27685 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
27686 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
27687 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
27688 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
27689 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
27691 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
27693 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
27694 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
27695 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
27697 2017-11-07 Joseph Myers <joseph@codesourcery.com>
27700 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27701 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
27702 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27703 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
27704 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27705 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
27706 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27707 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
27708 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27709 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
27710 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27711 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
27712 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27713 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
27714 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27715 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
27716 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27717 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
27718 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27719 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
27720 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27721 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
27722 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27723 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
27724 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27725 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
27726 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27727 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
27728 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27729 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
27730 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27731 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
27732 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27733 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
27734 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27735 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
27736 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27737 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
27738 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27739 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
27740 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27741 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
27742 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27743 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
27744 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27745 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
27746 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27747 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
27748 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27749 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
27750 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27751 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
27752 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27753 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
27754 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27755 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
27756 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27757 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
27758 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27759 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
27760 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27761 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
27762 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27763 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
27764 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27765 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
27766 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27767 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
27768 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27769 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
27770 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27771 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
27772 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27773 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
27774 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27775 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
27776 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27777 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
27778 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27779 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
27780 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27781 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
27782 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27783 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
27784 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27785 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
27786 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27787 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
27789 * stdlib/tst-strtod.h (F16): New macro.
27795 (IF_FLOAT16): Likewise.
27796 (IF_FLOAT32): Likewise.
27797 (IF_FLOAT64): Likewise.
27798 (IF_FLOAT32X): Likewise.
27799 (IF_FLOAT64X): Likewise.
27800 (IF_FLOAT128X): Likewise.
27801 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
27802 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
27803 (STRTOD_TEST_FOREACH): Likewise.
27804 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
27805 (CHOOSE_f64): Likewise.
27806 (CHOOSE_f32x): Likewise.
27807 (CHOOSE_f64x): Likewise.
27809 2017-11-07 Andreas Schwab <schwab@suse.de>
27811 * nptl/Makefile (tests-internal): Remove tst-typesizes.
27813 2017-11-07 Mike FABIAN <mfabian@redhat.com>
27816 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
27818 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
27821 2017-11-07 Claude Paroz <claude@2xlibre.net>
27824 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
27826 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
27828 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
27831 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27834 * nptl/allocatestack.c (allocate_stack): Check if
27835 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
27836 __PTHREAD_MUTEX_HAVE_PREV is defined.
27837 * nptl/descr.h (pthread): Likewise.
27838 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
27840 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
27841 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
27842 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
27843 * sysdeps/nptl/bits/thread-shared-types.h
27844 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
27846 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
27847 of __WORDSIZE for internal layout.
27848 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
27849 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
27850 instead of __WORDSIZE whether to use an union for __spins and __list
27852 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
27854 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
27855 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
27857 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
27858 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27860 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
27861 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27863 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
27864 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27866 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
27867 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27869 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
27870 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27872 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
27873 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27875 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
27876 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27878 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
27879 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27881 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
27882 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27884 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
27885 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27887 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
27888 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27890 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
27891 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27893 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
27894 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27896 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
27897 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27900 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
27902 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
27903 checks for expected input type size.
27904 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
27905 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
27907 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
27908 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
27909 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
27910 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
27911 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
27912 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
27913 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
27914 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
27915 superflous runtime assert check.
27916 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
27918 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
27920 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
27922 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
27924 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
27926 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
27928 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
27929 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
27930 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
27932 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
27934 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
27936 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
27938 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
27940 * nptl/pthread_attr_setinheritsched.c
27941 (__pthread_attr_setinheritsched): Likewise.
27942 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
27944 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
27946 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
27947 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
27948 __old_pthread_attr_setstack): Likewise.
27949 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
27951 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
27953 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
27955 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
27956 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
27958 * nptl/tst-typesizes.c: Remove file.
27960 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
27961 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
27962 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
27963 checks for internal pthread_mutex_t offsets.
27964 * sysdeps/aarch64/nptl/pthread-offsets.h
27965 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
27966 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
27967 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
27968 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
27969 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
27970 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
27971 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
27972 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
27973 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
27974 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
27975 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
27976 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
27977 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
27978 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
27979 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
27980 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
27981 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
27982 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
27984 2017-11-07 Florian Weimer <fweimer@redhat.com>
27986 * bits/mman-linux.h: Move ...
27987 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
27989 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
27992 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27994 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
27995 Redefine STRNLEN as __strnlen_power8.
27997 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27999 * signal/sighold.c (sighold): Optimize implementation.
28001 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
28002 __NR_rt_sigqueueinfo.
28004 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
28006 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
28007 assume __NR_rt_sigtimedwait.
28008 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
28009 and add LIBC_CANCEL_HANDLED for cancellation marking.
28010 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
28012 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28013 (sysdeps_routines): Add memchr_noneon.
28014 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
28015 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
28016 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
28017 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
28018 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
28019 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
28020 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
28022 * sysdeps/arm/arm-ifunc.h: New file.
28023 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
28024 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
28025 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
28026 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
28027 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
28028 (__memcpy_neon): Avoid create hidden alias.
28029 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
28030 (__memcpy_vfp): Likewise.
28031 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28032 (sysdep_routines): Add memcpy_arm.
28033 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
28035 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
28038 * Makerules (make-link-multidir): New.
28039 * config.make.in (multidir): New.
28040 * configure.ac (libc_cv_multidir): New. AC_SUBST.
28041 * configure: Regenerated.
28042 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
28043 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
28044 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
28047 2017-11-06 Joseph Myers <joseph@codesourcery.com>
28050 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
28051 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
28053 2017-11-04 Mike FABIAN <mfabian@redhat.com>
28055 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
28058 2017-11-04 Florian Weimer <fweimer@redhat.com>
28060 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
28062 2017-11-03 Joseph Myers <joseph@codesourcery.com>
28064 * math/math.h [__HAVE_DISTINCT_FLOAT16
28065 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
28066 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
28067 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
28068 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
28069 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
28070 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
28071 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28072 (__MATH_TG_F32): New macro.
28073 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28074 (__MATH_TG_F64X): Likewise.
28075 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28076 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
28078 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
28080 * po/de.po: Update translations.
28081 * po/ru.po: Likewise.
28083 2017-11-03 Florian Weimer <fweimer@redhat.com>
28085 * manual/filesys.texi (Hard Links): Document linkat.
28087 2017-11-03 Joseph Myers <joseph@codesourcery.com>
28089 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
28090 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
28091 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
28092 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
28093 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
28094 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
28095 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
28096 the same as _Float128.
28097 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
28098 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
28099 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
28102 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
28104 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
28106 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
28108 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28109 (strtof32x): Likewise.
28110 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28111 (strtof64x): Likewise.
28112 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28113 (strtof128x): Likewise.
28114 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28115 (strfromf16): Likewise.
28116 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28117 (strfromf32): Likewise.
28118 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28119 (strfromf64): Likewise.
28120 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28121 (strfromf32x): Likewise.
28122 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28123 (strfromf64x): Likewise.
28124 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28125 (strfromf128x): Likewise.
28126 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
28127 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
28128 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
28129 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
28130 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
28131 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
28133 2017-11-03 Richard Henderson <rth@twiddle.net>
28135 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
28137 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28139 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
28141 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28143 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
28144 DT_TLSDESC_GOT initialization.
28145 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
28146 (_dl_tlsdesc_resolve_hold): Likewise.
28147 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
28148 (_dl_tlsdesc_resolve_hold): Likewise.
28149 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
28150 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
28152 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28154 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
28156 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28159 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
28160 non-lazily for R_ARM_TLS_DESC.
28162 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28165 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
28166 R_ARM_TLS_DESC case.
28167 (elf_machine_lazy_rel): Remove the prelink check.
28169 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28171 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
28172 DT_TLSDESC_GOT initialization.
28173 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
28174 (_dl_tlsdesc_resolve_rela): Likewise.
28175 (_dl_tlsdesc_resolve_hold): Likewise.
28176 (_dl_tlsdesc_undefweak): Remove ldar.
28177 (_dl_tlsdesc_dynamic): Likewise.
28178 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
28179 (_dl_tlsdesc_resolve_rela): Likewise.
28180 (_dl_tlsdesc_resolve_hold): Likewise.
28181 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
28182 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
28183 (_dl_tlsdesc_resolve_rela): Likewise.
28184 (_dl_tlsdesc_resolve_hold): Likewise.
28186 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28188 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
28189 binding and initialization non-lazily for R_AARCH64_TLSDESC.
28191 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28193 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
28194 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
28196 2017-11-02 Joseph Myers <joseph@codesourcery.com>
28198 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
28200 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
28201 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
28202 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
28203 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
28204 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
28205 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
28206 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
28207 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
28208 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
28209 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
28210 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
28212 2017-11-02 Mike FABIAN <mfabian@redhat.com>
28215 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
28216 * localedata/locales/tpi_PG: Add standard header.
28218 2017-11-02 Florian Weimer <fweimer@redhat.com>
28220 test-errno-linux: quotactl can fail with EPERM in containers.
28221 * sysdeps/unix/sysv/linux/test-errno-linux.c
28222 (LIST, LIST_FORWARD): New macros.
28223 (check_error_in_list): New function.
28224 (test_wrp_rv): Accept list of permitted error codes.
28225 (test_wrp_rv2): Remove.
28226 (test_wrp): Call test_wrp_rv with list of error codes.
28227 (test_wrp2): Accept list of error codes.
28228 (do_test): Adjust. Allow EPERM for quotactl.
28230 2017-11-02 Florian Weimer <fweimer@redhat.com>
28232 * stdio-common/bug16.c (do_test): Use array_length.
28233 * stdio-common/errlist.c (_sys_nerr): Likewise.
28234 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
28235 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
28236 * stdio-common/psiginfo.c (psiginfo): Use array_length.
28237 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
28238 (do_test): Use array_length.
28239 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
28240 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
28241 * stdio-common/tst-printf-round.c (do_test): Likewise.
28242 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
28243 (CHECK): Use array_length.
28244 * stdio-common/tstdiomisc.c (t3, F): Likewise.
28245 * stdio-common/tstscanf.c (main): Likewise.
28246 * stdio-common/vfprintf.c (process_string_arg): Likewise.
28248 2017-11-02 Florian Weimer <fweimer@redhat.com>
28250 Add array_length and array_end macros.
28251 * include/array_length.h: New file.
28253 2017-11-02 Florian Weimer <fweimer@redhat.com>
28256 * posix/tst-glob-tilde.c (do_noescape): New variable.
28257 (one_test): Process it.
28258 (do_test): Set do_noescape. Add unescaping test case.
28260 2017-11-01 Joseph Myers <joseph@codesourcery.com>
28263 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
28264 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
28265 with appropriate macros defined and undefined.
28266 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
28267 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28268 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
28269 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28270 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
28271 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28272 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
28273 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28274 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
28275 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28278 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
28279 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
28280 that for long double. Do not condition define and undefine of
28281 _Mdouble_complex_ on [__CFLOAT128].
28283 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
28285 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
28286 of <sysdeps/generic/sysdep.h>.
28287 (ALIGNARG): Removed.
28288 (ASM_SIZE_DIRECTIVE): Likewise.
28291 (ENTRY_CHK): Likewise.
28292 (END_CHK): Likewise.
28293 (syscall_error): Likewise.
28294 (mcount): Likewise.
28295 (PSEUDO_END): Likewise.
28297 (atom_text_section): Likewise.
28298 * sysdeps/x86/sysdep.h: New file.
28299 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
28300 of <sysdeps/generic/sysdep.h>.
28301 (ALIGNARG): Removed.
28302 (ASM_SIZE_DIRECTIVE): Likewise.
28305 (ENTRY_CHK): Likewise.
28306 (END_CHK): Likewise.
28307 (syscall_error): Likewise.
28308 (mcount): Likewise.
28309 (PSEUDO_END): Likewise.
28311 (atom_text_section): Likewise.
28313 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
28315 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
28316 category of LC_CTYPE set to "i18n:2012".
28317 * localedata/locales/i18n_ctype: Regenerate.
28319 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
28321 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
28322 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
28323 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
28324 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
28326 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
28327 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
28328 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
28329 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
28331 2017-10-31 Joseph Myers <joseph@codesourcery.com>
28334 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
28336 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
28338 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
28340 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28341 (CMPLXF32X): Likewise.
28342 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28343 (CMPLXF64X): Likewise.
28344 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28345 (CMPLXF128X): Likewise.
28348 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
28349 (__MATH_EVAL_FMT2): Define to add 0.0f.
28351 2017-10-31 Alan Modra <amodra@gmail.com>
28353 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
28355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
28356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
28357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
28358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
28359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
28360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
28361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
28362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
28363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
28364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
28365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
28366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
28367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
28368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
28369 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
28370 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
28371 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
28372 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
28373 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
28374 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
28375 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
28376 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
28377 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
28378 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
28379 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
28380 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
28381 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
28382 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
28383 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
28384 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
28385 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
28386 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
28387 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
28388 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
28389 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
28390 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
28391 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
28392 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
28393 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
28394 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
28395 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
28396 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
28397 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
28398 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
28399 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
28400 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
28401 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
28402 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
28403 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
28404 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
28405 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
28406 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
28407 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
28408 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
28409 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
28410 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
28411 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
28412 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
28413 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
28414 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
28415 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
28416 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
28417 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
28418 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
28419 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
28420 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
28421 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
28422 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
28423 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
28425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
28426 include sysdep.h and math_ldbl_opt.h.
28428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
28429 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
28430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
28431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
28432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
28433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
28434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
28435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
28436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
28437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
28438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
28439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
28440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
28441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
28442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
28443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
28444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
28445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
28446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
28447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
28448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
28449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
28450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
28451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
28452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
28453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
28455 2017-10-31 Alan Modra <amodra@gmail.com>
28457 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
28458 string/strncase_l.c, not string/strncase.c.
28459 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
28460 (libc_hidden_def): Redefine.
28462 2017-10-31 Alan Modra <amodra@gmail.com>
28464 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
28465 (__STRCMP, STRCMP, __strcasecmp_l): Define.
28466 (__strcasecmp): Don't define.
28468 2017-10-31 Alan Modra <amodra@gmail.com>
28470 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
28472 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
28473 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
28474 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
28476 2017-10-31 Alan Modra <amodra@gmail.com>
28478 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
28481 2017-10-31 Alan Modra <amodra@gmail.com>
28483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
28484 Redefine only when SHARED.
28486 2017-10-30 Joseph Myers <joseph@codesourcery.com>
28488 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
28489 Include <bits/math-finite.h> with appropriate macros defined and
28491 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
28492 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
28493 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
28494 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
28495 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
28497 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
28498 [!_Mlong_double_] (_Mlong_double_): Likewise.
28499 [!_Mfloat16_] (_Mfloat16_): Likewise.
28500 [!_Mfloat32_] (_Mfloat32_): Likewise.
28501 [!_Mfloat64_] (_Mfloat64_): Likewise.
28502 [!_Mfloat128_] (_Mfloat128_): Likewise.
28503 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
28504 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
28505 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
28506 (_Mdouble_): Define without indirection through those macros.
28507 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
28508 [!_Mfloat128_] (_Mfloat128_): Likewise.
28509 [_Mlong_double_] (_Mlong_double_): Likewise.
28510 (_Mdouble_): Define without indirection through those macros.
28511 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
28512 not add -D_Mlong_double_=double.
28513 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
28514 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
28516 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
28518 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
28520 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
28522 * sysdeps/x86/libc-start.c: Reformat.
28524 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
28527 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
28528 (1): Renamed to ...
28531 (L(Src2)): Likewise.
28532 (L(1)): Renamed to ...
28535 2017-10-30 Joseph Myers <joseph@codesourcery.com>
28537 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
28538 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
28539 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
28540 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
28541 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
28542 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
28543 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
28544 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
28545 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
28546 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
28547 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
28548 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
28549 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
28550 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
28551 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
28552 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
28553 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
28554 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
28555 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
28556 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
28557 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
28558 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
28559 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
28560 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
28561 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
28562 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
28563 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
28564 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
28565 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
28566 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
28567 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
28568 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
28569 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
28570 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
28571 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
28572 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
28573 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
28574 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
28575 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
28576 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
28577 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
28578 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
28579 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
28580 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
28581 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
28582 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
28583 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
28584 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
28585 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
28586 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
28587 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
28588 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
28589 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
28590 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
28591 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
28592 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
28593 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
28594 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
28595 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
28596 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
28597 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
28598 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
28599 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
28600 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
28601 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
28602 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
28604 2017-10-30 Florian Weimer <fweimer@redhat.com>
28606 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
28608 * io/tst-mkdirat.c (do_test): Likewise.
28609 * io/tst-mkfifoat.c (do_test): Likewise.
28610 * io/tst-mknodat.c (do_test): Likewise.
28611 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
28612 * locale/programs/locale.c (select_dirs): Likewise.
28613 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
28614 * posix/bug-glob2.c (my_readdir): Likewise.
28615 * posix/tst-dir.c (main): Likewise.
28616 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
28617 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
28619 2017-10-30 Florian Weimer <fweimer@redhat.com>
28621 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
28624 2017-10-30 Florian Weimer <fweimer@redhat.com>
28626 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
28627 Convert to support/test-driver.c.
28628 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
28629 New macro parameters.
28630 (PRINTF): Remove macro. Use test_verbose conditionals instead.
28631 * posix/tst-gnuglob.c: New file.
28632 * posix/tst-gnuglob64.c: Likewise.
28633 * posix/Makefile (tests): Add tst-gnuglob64.
28635 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
28638 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
28639 and use a better translation for March in “mon”.
28640 * localedata/locales/csb_PL: Use more ASCII to improve the
28641 readability of the source.
28643 2017-10-30 Mike FABIAN <mfabian@redhat.com>
28646 * localedata/locales/km_KH: Use ASCII as much
28647 as possible for better readability of the source and
28648 remove useless comments.
28649 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
28650 was commented out and apparently wrong anyway because it was
28651 using Lao characters. If Buddhist era should be used
28652 for km_KH, a native speaker should write the correct formaat
28654 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
28655 (According to CLDR, the first weekday for Cambodia is Sunday).
28656 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
28657 (These were using Lao characters which must be wrong. If we get
28658 the correct data from a native speaker, we could add it back, until
28659 then it is better not to have name_mr and name_mrs at all than
28662 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
28664 * locale/loadlocale.c: Correct size of
28665 _nl_value_type_LC_<category> arrays.
28667 2017-10-27 Joseph Myers <joseph@codesourcery.com>
28669 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
28670 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
28671 with appropriate macros defined and undefined.
28672 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
28673 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
28674 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
28675 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
28676 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
28678 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
28680 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
28683 2017-10-27 Mike FABIAN <mfabian@redhat.com>
28685 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
28686 with lowercase letters to make it agree with CLDR.
28688 2017-10-27 Mike FABIAN <mfabian@redhat.com>
28691 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
28692 first letters of yesstr and nostr in yesexpr and noexpr,
28693 not for the full words.
28694 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
28695 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
28696 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
28697 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
28698 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
28699 first letters of yesstr and nostr in yesexpr and noexpr,
28700 until now only English was matched in yesexpr and noexpr.
28701 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
28702 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
28703 fil but not for tl. As tl and fil are very similar, using fil
28704 is probably better than using English.
28706 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
28709 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
28710 in yesstr and nostr.
28712 2017-10-26 Joseph Myers <joseph@codesourcery.com>
28714 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
28715 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
28716 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
28718 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
28720 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
28722 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
28724 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28725 (SNANF128X): Likewise.
28727 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
28728 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
28729 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28730 (HUGE_VAL_F32): Likewise.
28731 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28732 (HUGE_VAL_F64): Likewise.
28733 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28734 (HUGE_VAL_F32X): Likewise.
28735 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28736 (HUGE_VAL_F64X): Likewise.
28737 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28738 (HUGE_VAL_F128X): Likewise.
28740 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
28742 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
28743 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
28744 for the br_FR locale.
28746 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
28749 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
28751 2017-10-25 Carlos O'Donell <carlos@redhat.com>
28753 * locale/programs/record-status.h: Define globals, and function
28754 prototypes. Move function bodies...
28755 * locale/programs/record-status.c: ... to here. New file.
28756 * iconv/Makefile (iconv_prog-modules): Add record-status.
28757 * locale/Makefile (lib-modules): Likewise.
28758 * iconv/iconv_prog.c: Remove verbose.
28759 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
28760 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
28761 record a warning about ASCII compatibility.
28762 * locale/programs/ld-monetary.c (monetary_finish): If
28763 warn_int_curr_symbol is true then record a warning about the symbol
28764 not being in our ISO 4217 list.
28765 * locale/programs/locale.c: Include record-status.h. Remove verbose.
28766 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
28767 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
28768 (OPT_NO_WARN): Define.
28769 (OPT_WARN): Define.
28770 (options): Add entry for --no-warnings, and --warnings.
28771 (set_warnings): New function to enable/disable warnings.
28772 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
28773 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
28774 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
28775 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
28776 Pass flags to generate_locale.
28777 (generate_locale): Accept new flag argument and pass it to localedef
28779 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
28780 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
28782 * localedata/Makefile (test-input-data): Use full file name.
28783 * localedata/da_DK.in: Rename to...
28784 * localedata/da_DK.ISO-8859-1.in: ...this.
28785 * localedata/de_DE.in: Rename to...
28786 * localedata/de_DE.ISO-8859-1.in: ...this.
28787 * localedata/en_US.in: Rename to...
28788 * localedata/en_US.ISO-8859-1.in: ...this.
28789 * localedata/fr_FR.in: Rename to...
28790 * localedata/fr_FR.UTF-8.in: ... this.
28791 * localedata/hr_HR.in: Rename to...
28792 * localedata/hr_HR.ISO-8859-2.in: ...this.
28793 * localedata/hu_HU.in: Rename to...
28794 * localedata/hu_HU.UTF-8.in: ...this.
28795 * localedata/si_LK.in: Rename to...
28796 * localedata/si_LK.UTF-8.in: ...this.
28797 * localedata/sv_SE.in: Rename to...
28798 * localedata/sv_SE.ISO-8859-1.in: ...this.
28799 * localedata/tr_TR.in: Rename to...
28800 * localedata/tr_TR.UTF-8.in: ...this.
28801 * localedata/uk_UA.in: Rename to...
28802 * localedata/uk_UA.UTF-8.in: ...this.
28803 * localedata/sort-test.sh: Test file is locale name with the
28806 * localedata/unicode-gen/Makefile (check_i18n): Rename to
28807 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
28809 * localedata/locales/i18n_ctype: Regenerate.
28810 * localedata/locales/tr_TR: Likewise.
28811 * localedata/locales/translit_circle: Likewise.
28812 * localedata/locales/translit_cjk_compat: Likewise.
28813 * localedata/locales/translit_combining: Likewise.
28814 * localedata/locales/translit_compat: Likewise.
28815 * localedata/locales/translit_font: Likewise.
28816 * localedata/locales/translit_fraction: Likewise.
28818 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28820 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
28821 lxvd2x/stxvd2x with lvx/stvx.
28822 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
28824 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
28826 * include/alloc_buffer.h: Replace "if if " with "if " in
28828 * sysdeps/mips/memcpy.S: Likkewise.
28829 * sysdeps/mips/memset.S: Likewise.
28830 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
28832 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
28834 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
28837 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28840 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
28841 yesexpr and noexpr.
28842 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
28843 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
28844 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
28845 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
28846 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
28847 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
28848 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
28850 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28852 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
28853 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
28854 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
28855 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
28856 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
28857 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
28858 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
28859 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
28860 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
28861 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
28862 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
28863 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
28865 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28867 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
28868 as possible for better readability of the source.
28869 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
28870 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
28871 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
28872 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
28873 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
28874 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
28875 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
28876 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
28877 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
28878 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
28879 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
28880 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
28881 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
28882 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
28883 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
28884 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
28885 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
28886 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
28887 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
28888 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
28889 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
28890 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
28891 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
28892 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
28893 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
28894 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
28895 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
28896 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
28897 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
28898 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
28899 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
28900 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
28901 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
28902 * localedata/locales/en_US (LC_MESSAGES): Likewise.
28903 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
28904 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
28905 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
28906 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
28907 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
28908 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
28909 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
28910 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
28911 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
28912 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
28913 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
28914 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
28915 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
28916 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
28917 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
28918 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
28919 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
28920 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
28921 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
28922 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
28923 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
28924 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
28925 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
28926 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
28927 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
28928 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
28929 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
28930 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
28931 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
28932 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
28933 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
28934 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
28935 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
28936 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
28937 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
28938 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
28939 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
28940 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
28941 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
28942 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
28943 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
28944 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
28945 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
28946 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
28947 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
28948 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
28949 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
28950 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
28951 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
28952 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
28953 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
28954 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
28955 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
28956 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
28957 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
28958 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
28959 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
28960 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
28961 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
28962 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
28963 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
28964 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
28965 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
28966 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
28967 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
28968 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
28969 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
28970 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
28971 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
28972 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
28973 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
28974 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
28975 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
28976 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
28977 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
28978 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
28979 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
28980 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
28981 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
28982 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
28983 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
28984 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
28985 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
28986 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
28987 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
28988 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
28989 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
28990 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
28991 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
28992 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
28993 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
28994 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
28995 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
28996 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
28997 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
28998 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
28999 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
29000 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
29001 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
29002 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
29003 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
29004 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
29005 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
29006 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
29007 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
29008 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
29009 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
29010 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
29011 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
29012 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
29013 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
29014 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29015 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
29016 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
29017 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
29018 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
29019 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
29020 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
29021 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
29022 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
29023 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29024 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
29025 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
29026 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
29027 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
29028 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
29029 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
29030 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
29031 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
29032 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
29033 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
29034 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29035 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
29036 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
29037 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
29038 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
29039 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29040 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29041 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29042 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
29044 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29046 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
29047 (Use first letters of yesstr and nostr correctly instead of using
29050 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29052 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
29053 (Use first letters of yesstr and nostr correctly).
29055 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29057 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
29058 also check for the first characters of yesstr and nostr.
29059 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
29060 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
29062 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29064 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
29065 also check for Chinese characters.
29067 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29069 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
29070 match also for the contents of yesstr and nostr. As the first letter
29071 of yesstr and nostr is equal, checking only for the first letter
29074 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29076 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
29077 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
29079 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29081 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
29082 of main contributor.
29084 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29086 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
29087 instead of using English.
29089 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29091 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
29092 by including the first letters of nostr and yesexpr in the regexp.
29093 Also make it more readable by using ASCII where possible.
29095 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29097 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
29098 the first letter of nostr in the regexp. It agrees with CLDR now.
29099 Also make it more readable by using ASCII where possible.
29101 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29103 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
29104 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
29105 these strings contain a U+17D6 (which somewhat looks like a colon)
29106 instead of a real colon to separate the full words for “yes”
29107 and “no” from the single letter responses.
29109 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29111 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
29112 it agree with CLDR (include the first letter of yesstr).
29113 Also make it more readable by using ASCII where possible.
29115 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29117 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
29118 and improve yesexpr and noexpr. The yesstr and nostr apparently
29119 came from CLDR. And CLDR has a bug there: these strings contain
29120 a U+0903 (which looks like a colon) instead of a real colon
29121 to separate the full words for “yes” and “no” from the single
29124 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29126 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
29127 letters of the full yesstr and nostr in yesexpr and noexpr.
29129 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29131 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
29132 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
29133 * localedata/locales/an_ES: Make source more readable by using ASCII
29136 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29139 * localedata/locales/yuw_PG: New file.
29140 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
29141 * locale/iso-639.def: Add Yau (Uruwa).
29143 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
29145 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
29147 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
29149 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
29150 (__libc_realloc): Likewise.
29151 (_mid_memalign): Likewise.
29152 (__libc_calloc): Likewise.
29154 2017-10-23 Mike FABIAN <mfabian@redhat.com>
29156 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
29157 by adding the generic +1 and -0 as in all other locales.
29158 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
29159 day names and make it more readable by using ASCII where possible.
29161 2017-10-24 Joseph Myers <joseph@codesourcery.com>
29163 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
29164 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
29166 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29168 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
29169 WNOHANG in waitpid call.
29171 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
29173 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
29174 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
29176 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
29177 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
29178 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
29179 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
29180 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
29181 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
29182 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
29183 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
29186 2017-10-23 Michael Collison <michael.collison@arm.com>
29188 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
29189 with __builtin_sqrt.
29190 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
29191 with __builtin_sqrtf.
29192 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
29193 with __builtin_ceil.
29194 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
29195 with __builtin_ceilf.
29196 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
29197 with __builtin_floor.
29198 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
29199 with __builtin_floorf.
29200 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
29201 with __builtin_fma.
29202 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
29203 with __builtin_fmaf.
29204 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
29205 with __builtin_fmax.
29206 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
29207 with __builtin_fmaxf.
29208 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
29209 with __builtin_fmin.
29210 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
29211 with __builtin_fminf.
29212 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
29213 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
29214 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
29215 with builtin_rint and conversion to int.
29216 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
29217 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
29218 with builtin_llround.
29219 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
29220 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
29221 with builtin_rint and conversion to long int.
29222 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
29223 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
29224 with builtin_lround.
29225 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
29226 with builtin_lroundf.
29227 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
29228 statements with __builtin_nearbyint.
29229 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
29230 statements with __builtin_nearbyintf.
29231 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
29232 with __builtin_rint.
29233 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
29234 with __builtin_rintf.
29235 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
29236 with __builtin_round.
29237 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
29238 with __builtin_roundf.
29239 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
29240 with __builtin_trunc.
29241 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
29242 with __builtin_truncf.
29243 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
29244 and s_l[l]round[f].c too.
29246 2017-10-23 Alan Modra <amodra@gmail.com>
29248 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
29249 Adjust stack after restoring regs. Add missing LR cfi_restore.
29251 2017-10-23 Alan Modra <amodra@gmail.com>
29253 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
29254 Move LR save and frame setup/teardown and LR restore to
29255 immediately around memset call. Provide cfi.
29257 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29259 * sysdeps/i386/fpu/e_powf.S: Removed.
29260 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
29261 * sysdeps/i386/fpu/w_powf.c: Likewise.
29262 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
29263 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29264 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29266 (CFLAGS-e_powf-sse2.c): New.
29267 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
29268 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
29270 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29272 * sysdeps/i386/fpu/e_log2f.S: Removed.
29273 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
29274 * sysdeps/i386/fpu/w_log2f.c: Likewise.
29275 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
29276 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29277 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29279 (CFLAGS-e_log2f-sse2.c): New.
29280 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
29281 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
29283 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29285 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29287 (CFLAGS-e_powf-fma.c): New.
29288 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
29289 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
29291 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29293 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29295 (CFLAGS-e_log2f-fma.c): New.
29296 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
29297 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
29299 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29301 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29303 (CFLAGS-e_logf-fma.c): New.
29304 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
29305 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
29307 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29309 * sysdeps/i386/fpu/e_logf.S: Removed.
29310 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
29311 * sysdeps/i386/fpu/w_logf.c: Likewise.
29312 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
29313 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
29314 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29315 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29317 (CFLAGS-e_logf-sse2.c): New.
29318 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
29319 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
29321 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29323 * sysdeps/i386/fpu/e_exp2f.S: Removed.
29324 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
29325 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
29326 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29327 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29329 (CFLAGS-e_exp2f-sse2.c): New.
29330 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
29331 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
29333 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29335 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29337 (CFLAGS-e_exp2f-fma.c): New.
29338 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
29339 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
29341 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29343 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
29344 * sysdeps/i386/fpu/e_expf.S: Likewise.
29345 * sysdeps/i386/fpu/math_errf.c: Likewise.
29346 * sysdeps/i386/fpu/w_expf.c: Likewise.
29347 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
29348 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29349 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
29350 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
29351 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29352 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29353 Remove e_expf-ia32.
29354 (CFLAGS-e_expf-sse2.c): New.
29355 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
29356 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
29358 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29360 * sysdeps/x86_64/fpu/e_expf.S: Removed.
29361 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
29362 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
29363 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
29365 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
29367 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
29368 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
29370 (__redirect_expf): This.
29371 (SYMBOL_NAME): Changed to expf.
29372 (__ieee754_expf): Renamed to ...
29374 (__GI___expf): This.
29375 (__ieee754_expf): Add strong_alias.
29376 (__expf_finite): Likewise.
29378 Include <sysdeps/ieee754/flt-32/e_expf.c>.
29380 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
29383 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
29386 2017-10-21 Florian Weimer <fweimer@redhat.com>
29388 * posix/Makefile (tests): Add tst-glob-tilde.
29389 (tests-special): Add tst-glob-tilde-mem.out
29390 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
29391 (tst-glob-tilde-mem.out): Add mtrace check.
29392 * posix/tst-glob-tilde.c: New file.
29394 2017-10-20 Joseph Myers <joseph@codesourcery.com>
29396 * bits/floatn-common.h: New file.
29397 * math/Makefile (headers): Add bits/floatn-common.h.
29398 * bits/floatn.h: Include <bits/floatn-common.h>.
29399 * sysdeps/ia64/bits/floatn.h: Likewise.
29400 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
29401 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
29402 * sysdeps/powerpc/bits/floatn.h: Likewise.
29403 * sysdeps/x86/bits/floatn.h: Likewise.
29405 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29407 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
29408 indicates whether compiler emits an warning for alias for
29409 functions with incompatible types.
29412 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
29413 the auxiliary process is terminated by a signal before calling _exit
29416 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
29419 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
29421 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
29422 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
29423 and bit_arch_XSAVEC_Usable if needed.
29424 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
29425 and bit_arch_Use_dl_runtime_resolve_opt.
29426 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
29428 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
29429 (bit_arch_Prefer_No_AVX512): Updated.
29430 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
29431 (bit_arch_XSAVEC_Usable): New.
29432 (STATE_SAVE_OFFSET): Likewise.
29433 (STATE_SAVE_MASK): Likewise.
29434 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
29435 (cpu_features): Add xsave_state_size and xsave_state_full_size.
29436 (index_arch_Use_dl_runtime_resolve_opt): Removed.
29437 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
29438 (index_arch_XSAVEC_Usable): New.
29439 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
29440 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
29441 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
29443 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
29444 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
29445 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
29446 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
29447 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
29448 _dl_runtime_resolve_xsavec.
29449 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
29451 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
29452 instead of VEC_SIZE.
29453 (REGISTER_SAVE_BND0): Removed.
29454 (REGISTER_SAVE_BND1): Likewise.
29455 (REGISTER_SAVE_BND3): Likewise.
29456 (REGISTER_SAVE_RAX): Always defined to 0.
29458 (_dl_runtime_resolve_avx): Likewise.
29459 (_dl_runtime_resolve_avx_slow): Likewise.
29460 (_dl_runtime_resolve_avx_opt): Likewise.
29461 (_dl_runtime_resolve_avx512): Likewise.
29462 (_dl_runtime_resolve_avx512_opt): Likewise.
29463 (_dl_runtime_resolve_sse): Likewise.
29464 (_dl_runtime_resolve_sse_vex): Likewise.
29466 (_dl_runtime_resolve_fxsave): Likewise.
29467 (USE_XSAVE): Likewise.
29468 (_dl_runtime_resolve_xsave): Likewise.
29469 (USE_XSAVEC): Likewise.
29470 (_dl_runtime_resolve_xsavec): Likewise.
29471 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
29473 (_dl_runtime_resolve_avx512_opt): Likewise.
29474 (_dl_runtime_resolve_avx): Likewise.
29475 (_dl_runtime_resolve_avx_opt): Likewise.
29476 (_dl_runtime_resolve_sse): Likewise.
29477 (_dl_runtime_resolve_sse_vex): Likewise.
29478 (_dl_runtime_resolve_fxsave): New.
29479 (_dl_runtime_resolve_xsave): Likewise.
29480 (_dl_runtime_resolve_xsavec): Likewise.
29482 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
29486 * posix/glob.c (__glob): Fix one-byte overflow.
29488 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
29490 * malloc/malloc.c (sysdep-cancel.h): Add include.
29492 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
29494 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
29496 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
29498 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
29499 (tests): Remove $(objpfx)ga_test depdendency.
29500 * resolv/ga_test.c: Remove file.
29502 2017-10-20 Mike FABIAN <mfabian@redhat.com>
29505 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
29506 * localedata/locales/kab_DZ: New file.
29508 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
29510 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
29511 _dl_relocate_static_pie instead of _dl_start to compute load
29512 address in static PIE.
29514 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
29516 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
29518 2017-10-20 Mike FABIAN <mfabian@redhat.com>
29521 * localedata/SUPPORTED: Add shn_MM/UTF-8.
29522 * localedata/locales/shn_MM: New file.
29524 2017-10-20 Florian Weimer <fweimer@redhat.com>
29527 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
29528 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
29529 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
29530 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
29531 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
29532 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
29534 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
29536 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29538 2017-10-19 Joseph Myers <joseph@codesourcery.com>
29540 * sysdeps/mips/ieee754/bits/floatn.h: New file.
29543 * sysdeps/mips/bits/long-double.h: Move to ....
29544 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
29546 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
29548 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
29550 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
29551 H.J. Lu <hongjiu.lu@intel.com>
29554 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
29555 GLRO(dl_platform) to NULL.
29556 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
29557 (modules-names): Add tst-platformmod-1 and
29558 x86_64/tst-platformmod-2.
29559 (CFLAGS-tst-platform-1.c): New.
29560 (CFLAGS-tst-platformmod-1.c): Likewise.
29561 (CFLAGS-tst-platformmod-2.c): Likewise.
29562 (LDFLAGS-tst-platformmod-2.so): Likewise.
29563 ($(objpfx)tst-platform-1): Likewise.
29564 ($(objpfx)tst-platform-1.out): Likewise.
29565 (tst-platform-1-ENV): Likewise.
29566 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
29567 * sysdeps/x86_64/tst-platform-1.c: New file.
29568 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
29569 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
29571 2017-10-19 Mike FABIAN <mfabian@redhat.com>
29574 * locale/iso-639.def: Add Karbi.
29575 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
29576 * localedata/locales/mjw_IN: New file.
29578 2017-10-18 Joseph Myers <joseph@codesourcery.com>
29580 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
29581 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
29582 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
29583 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
29584 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
29585 (libm_alias_ldouble_other_r): Also create _Float128 alias.
29586 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
29588 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
29589 (libm_alias_ldouble_other_r): Also create _Float128 alias.
29590 * manual/math.texi (Mathematics): Document additional architecture
29591 support for _Float128.
29592 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
29593 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
29594 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
29595 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29596 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29597 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
29598 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
29599 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
29600 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29601 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
29602 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29603 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
29604 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29605 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
29606 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29608 2017-10-18 Renlin Li <renlin.li@arm.com>
29610 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
29611 _DYNAMIC symbol to calculate load address.
29613 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
29615 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
29616 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
29618 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
29619 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
29621 2017-10-18 Mike FABIAN <mfabian@redhat.com>
29624 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
29625 and improve readability by using more ASCII.
29626 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
29627 and improve readability by using more ASCII.
29629 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
29631 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
29632 not all targets support atomics on bool.
29634 2017-10-17 Joseph Myers <joseph@codesourcery.com>
29636 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
29637 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
29639 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
29640 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
29641 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
29642 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
29643 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
29644 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
29646 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29648 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
29651 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
29654 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
29655 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
29656 (do_check_remalloced_chunk): Fix build bug.
29657 (do_check_malloc_state): Add assert that checks arena->top.
29658 (malloc_consolidate): Remove initialization.
29659 (int_mallinfo): Remove call to malloc_consolidate.
29660 (__libc_mallopt): Clarify why malloc_consolidate is needed.
29662 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
29664 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
29665 (have_fastchunks): Remove.
29666 (clear_fastchunks): Remove.
29667 (set_fastchunks): Remove.
29668 (malloc_state): Add have_fastchunks.
29669 (malloc_init_state): Use have_fastchunks.
29670 (do_check_malloc_state): Remove incorrect invariant checks.
29671 (_int_malloc): Use have_fastchunks.
29672 (_int_free): Likewise.
29673 (malloc_consolidate): Likewise.
29675 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
29677 * malloc/malloc.c (tcache_put): Inline.
29678 (tcache_get): Inline.
29680 2017-10-17 Jordi Mallach <jordi@gnu.org>
29682 Aurelien Jarno <aurelien@aurel32.net>
29684 * localedata/locales/ca_ES@valencia: New file.
29685 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
29687 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
29690 * math/math.h: Let signbit use the builtin in C++ mode with gcc
29693 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29695 * scripts/build-many-glibcs.py (Context.add_all_configs):
29696 Add arm-linux-gnueabihf multiarch extra_glibcs.
29698 * sysdeps/generic/ifunc-init.h: New file.
29699 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
29701 2017-10-17 Mike FABIAN <mfabian@redhat.com>
29704 * localedata/locales/el_GR: Set n_cs_precedes to 0.
29705 * localedata/locales/el_CY: copy "el_GR" because it is identical.
29706 * stdlib/tst-strfmon_l.c: adapt test case.
29708 2017-10-16 Joseph Myers <joseph@codesourcery.com>
29710 * sysdeps/generic/float128-abi.h: New file.
29711 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
29712 non-__prefixed symbols to ....
29713 * math/Versions: ... here. Include <float128-abi.h>.
29714 * stdlib/Versions ... and here. Include <float128-abi.h>
29716 2017-10-16 Florian Weimer <fweimer@redhat.com>
29718 * version.h (VERSION): Switch to ".9000" as the development
29721 2017-10-16 Florian Weimer <fweimer@redhat.com>
29724 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
29725 compat_symbol_reference to access non-default version.
29727 2017-10-16 Florian Weimer <fweimer@redhat.com>
29729 * malloc/Makefile (others-extras): Set to mcheck-init.o.
29731 2017-10-16 Carlos O'Donell <carlos@redhat.com>
29733 * include/shlib-compat.h (compat_symbol_reference): Update
29736 2017-10-16 Joseph Myers <joseph@codesourcery.com>
29738 * math/Makefile (test-types): Add
29739 $(type-float128-$(float128-alias-fcts)).
29740 * math/test-float128.h (TYPE_STR): Define conditional on
29741 [FLT128_MANT_DIG == LDBL_MANT_DIG].
29742 (ULP_IDX): Likewise.
29743 (ULP_I_IDX): Likewise.
29745 * stdlib/strtold.c: Include <bits/floatn.h>
29746 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
29747 and later undefine as macro. Define as weak alias if
29749 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
29750 and later undefine as macro. Define as weak alias if
29752 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
29753 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
29754 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
29755 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
29756 Define and later undefine as macro. Define as weak alias if
29758 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
29760 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
29761 Define and later undefine as macro. Define as weak alias if
29763 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
29764 Define and later undefine as macro. Define as weak alias if
29767 2017-10-15 Carlos O'Donell <carlos@redhat.com>
29769 * localedata/collate-test.c (allocate_arrays): Don't use \n in
29770 record_verbose messages.
29772 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
29775 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
29776 to silence -O3 -Wall warning with GCC 7.
29778 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
29780 * Makeconfig (+link-static-before-libc): Use the first of
29781 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
29782 * gmon/Makefile (tests): Add tst-gmon-static.
29783 (tests-static): Likewise.
29784 (CFLAGS-tst-gmon-static.c): New.
29785 (CRT-tst-gmon-static): Likewise.
29786 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
29787 (tst-gmon-static-ENV): Likewise.
29788 (tests-special): Likewise.
29789 ($(objpfx)tst-gmon-static.out): Likewise.
29790 (clean-tst-gmon-static-data): Likewise.
29791 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
29792 * gmon/tst-gmon-static-gprof.sh: New file.
29793 * gmon/tst-gmon-static.c: Likewise.
29795 2017-10-13 Carlos O'Donell <carlos@redhat.com>
29798 * locale/programs/linereader.c (get_string): Don't warn on
29799 non-symbolic character.
29802 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
29806 * locale/programs/record-status.h: New file
29807 * locale/programs/locale.c: Add comment.
29808 * locale/programs/charmap-dir.c: Don't include error.h.
29809 (charmap_opendir): Use record_error.
29810 * locale/programs/charmap.c: Don't include error.h.
29811 (charmap_read): Use record_error, and record_warning.
29812 (parse_charmap): Likewise.
29813 * locale/programs/ld-address.c: Don't include error.h.
29814 (address_finish): Use record_error, and record_warning.
29815 * locale/programs/ld-collate.c: Don't include error.h.
29816 (collate_finish): Use record_error, and record_error_at_line.
29817 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
29818 (ctype_class_new): Likewise.
29819 (ctype_map_new): Likewise.
29820 (set_one_default): Likewise.
29821 (set_class_defaults): Likewise.
29822 (translit_flatten): Likewise.
29823 (allocate_arrays): Use record_error, and record_verbose.
29824 * locale/programs/ld-identification.c: Don't include error.h.
29825 (indentation_finish): Use record_error and record_warning.
29826 * locale/programs/ld-measurement.c: Don't include error.h.
29827 (measurement_finish): Use record_error.
29828 * locale/programs/ld-messages.c
29829 (message_finish): Likewise.
29830 * locale/programs/ld-monetary.c
29831 (monetary_finish): Likewise.
29832 * locale/programs/ld-name.c (name_finish): Use record_error
29833 and record_warning.
29834 * locale/programs/ld-numeric.c
29835 (numeric_finish): Use record_error.
29836 * locale/programs/ld-paper.c: Don't include error.h.
29837 (paper_finish): Use record_error.
29838 * locale/programs/ld-telephone.c: Don't include error.h.
29839 (telephone_finish): Use record_error.
29840 * locale/programs/ld-time.c (time_finish): Likewise.
29841 * locale/programs/linereader.h (lr_error): Make inline func.
29842 * locale/programs/localedef.c: Define recorded_warning_count,
29843 and recorded_error_count.
29844 (main): Use record_error. Use recorded_error_count and
29845 recorded_warning_count to issue correct error returns.
29846 (add_to_readlist): Use record_error.
29847 (find_locale): Likewise.
29848 (load_locale): Likewise.
29849 * locale/programs/localedef.h: Remove be_quiet
29850 and WITH_CUR_LOCALE.
29851 * locale/programs/locarchive.c (compare_from_file): Use
29853 * locale/programs/locfile.c (write_locale_data): Use
29855 * locale/programs/repertoire.c: Dont include error.h.
29856 (repertoire_complain): Use record_error.
29857 * localedata/tst-fmon.sh: Expect failures from localedef.
29858 * localedata/tst-locale.sh: Likewise.
29859 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
29861 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
29862 (REPORTS): Likewise.
29864 (i18n): Rename to...
29865 (i18n_ctype): ...this.
29866 (i18n-report): Rename to...
29867 (i18n_ctype-report): ...this.
29868 * localedata/locales/i18n_ctype: Regenerate.
29869 * localedata/locales/i18n: copy i18n_ctype.
29871 2017-10-13 Joseph Myers <joseph@codesourcery.com>
29873 * stdlib/strfroml.c: Include <bits/floatn.h>.
29874 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
29875 Define before include of <stdlib.h> and undefine afterwards, then
29876 define as weak alias.
29878 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
29879 Undefine and restore default definition. Use
29880 libm_alias_ldouble_other.
29882 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
29885 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
29888 2017-10-13 James Clarke <jrtc27@jrtc27.com>
29890 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29891 Assign sym_map to be map for local symbols, as TLS relocations
29892 use sym_map to determine whether the symbol is defined and to
29893 extract the TLS information.
29894 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29895 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29897 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29900 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
29901 (math_force_eval): Add powerpc version.
29904 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
29906 (do_test): Likewise.
29907 * stdio-common/tst-printf.sh: Likewise.
29908 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
29909 ifdef clause in order to set the carry bit right. Replace r0 by
29910 0 without changing the behavior.
29912 2017-10-13 Joseph Myers <joseph@codesourcery.com>
29914 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
29915 <libm-alias-ldouble.h>.
29916 (fabsl): Define using libm_alias_ldouble.
29917 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
29918 <libm-alias-ldouble.h>.
29919 (fabsl): Define using libm_alias_ldouble.
29921 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
29922 Remove conditional code.
29924 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
29925 Rename to __clog10_internal_l.
29926 (__clog10_internal_l): Define aliases using
29927 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
29930 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29932 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
29933 * benchtests/sincosf-inputs: New file.
29934 * benchtests/cosf-inputs: New file.
29935 * benchtests/sinf-inputs: New file.
29937 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
29939 * posix/tst-spawn.c (do_test): Wait for both children.
29941 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
29944 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
29945 tests-pie): Add tst-gmon-pie.
29946 (CFLAGS-tst-gmon-pie.c): New.
29947 (CRT-tst-gmon-pie): Likewise.
29948 (tst-gmon-pie-ENV): Likewise.
29949 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
29950 ($(objpfx)tst-gmon-pie.out): Likewise.
29951 (clean-tst-gmon-pie-data): Likewise.
29952 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
29953 * gmon/gmon.c [PIC]: Include <link.h>.
29954 [PIC] (callback): New function.
29955 (write_hist): Add an argument for load address. Subtract load
29957 (write_call_graph): Likewise.
29958 (write_gmon): Call __dl_iterate_phdr to get load address, pass
29959 it to write_hist and write_call_graph.
29960 * gmon/tst-gmon-pie.c: New file.
29962 2017-10-11 Joseph Myers <joseph@codesourcery.com>
29964 * math/Makefile (test-types-basic): New variable.
29965 (test-types): Likewise.
29966 (libm-test-support): Use $(test-types) instead of $(types).
29967 (libm-tests-base-normal): Likewise.
29968 (libm-tests-base-finite): Likewise.
29969 (libm-tests-base-inline): Likewise.
29970 (generated): Likewise.
29971 ($(objpfx)libm-test-support-$(t).c): Likewise.
29972 (libm-tests-for-type iterator): Likewise.
29973 (libm-test-support iterator): Likewise.
29974 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
29975 (ulp_idx): Use ULP_IDX.
29976 * math/test-ldouble.h: Include <float.h>.
29977 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
29978 (ULP_IDX): New macro.
29979 (ULP_I_IDX): Likewise.
29980 * math/test-double.h (ULP_IDX): Likewise.
29981 (ULP_I_IDX): Likewise.
29982 * math/test-float.h (ULP_IDX): Likewise.
29983 (ULP_I_IDX): Likewise.
29984 * math/test-float128.h (ULP_IDX): Likewise.
29985 (ULP_I_IDX): Likewise.
29987 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29989 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
29990 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
29991 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
29992 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
29993 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
29994 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
29995 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
29996 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
29997 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
29998 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
29999 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
30000 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30001 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30002 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30003 (SINGLE_THREAD_BY_GLOBAL): Define.
30004 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30006 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30008 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30010 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30012 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
30013 (SINGLE_THREAD_BY_GLOBAL): Likewise.
30014 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30017 2017-10-11 Andreas Schwab <schwab@suse.de>
30019 * nis/Makefile (aux): Remove.
30020 * nscd/Makefile (aux): Add nscd_hash.
30021 (nscd-modules): Likewise.
30022 ($(objpfx)nscd): Don't depend on libnsl.
30023 * nscd/nscd_hash.c: New file.
30024 * nscd/nscd_hash.h: Likewise.
30025 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
30026 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
30027 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
30028 instead of <nis/rpcsvc/nis.h>.
30029 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
30031 2017-10-11 Florian Weimer <fweimer@redhat.com>
30034 Avoid large NSS buffers with many addresses, aliases.
30035 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
30036 using dynarrays and struct alloc_buffer.
30037 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
30038 (tst-nss-files-hosts-multi): Link with -ldl.
30039 * nss/tst-nss-files-hosts-multi.c: New file.
30041 2017-10-11 Florian Weimer <fweimer@redhat.com>
30044 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
30045 scratch_buffer. Eliminate gotos.
30047 2017-10-11 Joseph Myers <joseph@codesourcery.com>
30049 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
30050 libm_alias_ldouble_other.
30051 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
30052 undefine and redefine.
30053 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
30054 (exp10l): Do not define here.
30055 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
30056 (weak_alias): Undefine and redefine.
30057 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
30058 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30059 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
30060 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
30062 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
30063 [!__fma] (fma): Define using libm_alias_double.
30064 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
30065 [!__fmaf] (fmaf): Define using libm_alias_float.
30066 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
30067 (fmal): Define using libm_alias_ldouble.
30069 2017-10-10 Joseph Myers <joseph@codesourcery.com>
30071 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
30073 (libm_alias_double_other): Likewise.
30074 (libm_alias_double_r): Use libm_alias_double_other_r.
30075 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
30077 (libm_alias_float_other): Likewise.
30078 (libm_alias_float_r): Use libm_alias_float_other_r.
30079 * sysdeps/generic/libm-alias-float128.h
30080 (libm_alias_float128_other_r): New macro.
30081 (libm_alias_float128_other): Likewise.
30082 (libm_alias_float128_r): Use libm_alias_float128_other_r.
30083 * sysdeps/generic/libm-alias-ldouble.h
30084 (libm_alias_ldouble_other_r): New macro.
30085 (libm_alias_ldouble_other): Likewise.
30086 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
30087 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
30088 (libm_alias_double_other_r): New macro.
30089 (libm_alias_double_other): Likewise.
30090 (libm_alias_double_r): Use libm_alias_double_other_r.
30091 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
30092 (libm_alias_ldouble_other_r): New macro.
30093 (libm_alias_ldouble_other): Likewise.
30094 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
30095 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
30096 [!USE_AS_COMPAT]: Use libm_alias_double_other.
30097 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
30098 [!USE_AS_COMPAT]: Use libm_alias_float_other.
30099 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
30100 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
30101 * math/w_exp2f.c: Use libm_alias_float_other.
30102 * math/w_expf.c: Likewise.
30103 * math/w_log2f.c: Likewise.
30104 * math/w_logf.c: Likewise.
30105 * math/w_powf.c: Likewise.
30106 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
30107 [!__exp2f]: Use libm_alias_float_other.
30108 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
30109 [!__expf]: Use libm_alias_float_other.
30110 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
30111 [!__log2f]: Use libm_alias_float_other.
30112 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
30113 [!__logf]: Use libm_alias_float_other.
30114 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
30115 [!__powf]: Use libm_alias_float_other.
30117 2017-10-10 Florian Weimer <fweimer@redhat.com>
30119 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
30121 (_nss_files_gethostbyname3_r): Call it.
30123 2017-10-09 Joseph Myers <joseph@codesourcery.com>
30125 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
30126 error. Remove default definition of declare_mgen_alias.
30127 [!declare_mgen_alias_r]: Likewise.
30128 * sysdeps/generic/math-type-macros-double.h
30129 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
30130 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
30131 (declare_mgen_alias_r): Likewise.
30132 * sysdeps/generic/math-type-macros-float128.h
30133 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
30134 * sysdeps/generic/math-type-macros-ldouble.h
30135 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
30136 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
30138 (declare_mgen_alias_r_s): Likewise.
30139 (declare_mgen_alias_r): Likewise.
30140 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
30141 (lgamma_r): Define using libm_alias_double_r.
30142 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
30143 (lgammaf_r): Define using libm_alias_float_r.
30144 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
30145 (lgammal_r): Define using libm_alias_ldouble_r.
30146 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
30147 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
30149 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30151 * lib/glob.c (__glob_pattern_type): Remove now-spurious
30152 extern declaration.
30154 2017-10-09 Joseph Myers <joseph@codesourcery.com>
30156 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
30158 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
30161 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
30162 [__cplusplus >= 201103] (__USE_ISOC99): Define.
30163 * math/Makefile (test-math-cxx11): New test.
30164 * math/test-math-cxx11.cc: New file.
30166 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
30168 * login/openpty.c (openpty): Close slave pty file descriptor on error.
30170 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
30171 call to allocate the slave pty file descriptor.
30173 2017-10-06 Joseph Myers <joseph@codesourcery.com>
30175 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
30176 [!__fma] (fma): Define using libm_alias_double.
30177 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
30178 [!__fma] (fma): Define using libm_alias_double.
30180 * sysdeps/ieee754/float128/float128_private.h: Include
30181 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
30182 (libm_alias_ldouble_r): Undefine and redefine.
30183 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
30184 <libm-alias-ldouble.h>.
30185 (asinhl): Define using libm_alias_ldouble.
30186 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
30187 <libm-alias-ldouble.h>.
30188 (atanl): Define using libm_alias_ldouble.
30189 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
30190 <libm-alias-ldouble.h>.
30191 (cbrtl): Define using libm_alias_ldouble.
30192 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
30193 <libm-alias-ldouble.h>.
30194 (ceill): Define using libm_alias_ldouble.
30195 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
30196 <libm-alias-ldouble.h>.
30197 (copysignl): Define using libm_alias_ldouble.
30198 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
30199 <libm-alias-ldouble.h>.
30200 (cosl): Define using libm_alias_ldouble.
30201 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
30202 <libm-alias-ldouble.h>.
30203 (erfl): Define using libm_alias_ldouble.
30205 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
30206 <libm-alias-ldouble.h>.
30207 (expm1l): Define using libm_alias_ldouble.
30208 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
30209 <libm-alias-ldouble.h>.
30210 (fabsl): Define using libm_alias_ldouble.
30211 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
30212 <libm-alias-ldouble.h>.
30213 (floorl): Define using libm_alias_ldouble.
30214 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
30215 <libm-alias-ldouble.h>.
30216 (fmal): Define using libm_alias_ldouble.
30217 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
30218 <libm-alias-ldouble.h>.
30219 (frexpl): Define using libm_alias_ldouble.
30220 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
30221 libm_alias_ldouble.
30222 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
30223 <libm-alias-ldouble.h>.
30224 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
30225 libm_alias_ldouble.
30226 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
30227 <libm-alias-ldouble.h>.
30228 (getpayloadl): Define using libm_alias_ldouble.
30229 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
30230 <libm-alias-ldouble.h>.
30231 (llrintl): Define using libm_alias_ldouble.
30232 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
30233 <libm-alias-ldouble.h>.
30234 (llroundl): Define using libm_alias_ldouble.
30235 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
30236 <libm-alias-ldouble.h>.
30237 (logbl): Define using libm_alias_ldouble.
30238 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
30239 <libm-alias-ldouble.h>.
30240 (lrintl): Define using libm_alias_ldouble.
30241 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
30242 <libm-alias-ldouble.h>.
30243 (lroundl): Define using libm_alias_ldouble.
30244 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
30245 <libm-alias-ldouble.h>.
30246 (modfl): Define using libm_alias_ldouble.
30247 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
30248 <libm-alias-ldouble.h>.
30249 (nearbyintl): Define using libm_alias_ldouble.
30250 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
30251 <libm-alias-ldouble.h>.
30252 (nextafterl): Define using libm_alias_ldouble.
30253 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
30254 <libm-alias-ldouble.h>.
30255 (nextupl): Define using libm_alias_ldouble.
30256 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
30257 <libm-alias-ldouble.h>.
30258 (remquol): Define using libm_alias_ldouble.
30259 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
30260 <libm-alias-ldouble.h>.
30261 (rintl): Define using libm_alias_ldouble.
30262 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
30263 <libm-alias-ldouble.h>.
30264 (roundevenl): Define using libm_alias_ldouble.
30265 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
30266 <libm-alias-ldouble.h>.
30267 (roundl): Define using libm_alias_ldouble.
30268 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
30269 using libm_alias_ldouble.
30270 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
30271 <libm-alias-ldouble.h>.
30272 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
30273 Define using libm_alias_ldouble.
30274 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
30275 <libm-alias-ldouble.h>.
30276 (sincosl): Define using libm_alias_ldouble.
30277 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
30278 <libm-alias-ldouble.h>.
30279 (sinl): Define using libm_alias_ldouble.
30280 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
30281 <libm-alias-ldouble.h>.
30282 (tanhl): Define using libm_alias_ldouble.
30283 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
30284 <libm-alias-ldouble.h>.
30285 (tanl): Define using libm_alias_ldouble.
30286 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
30287 <libm-alias-ldouble.h>.
30288 (totalorderl): Define using libm_alias_ldouble.
30289 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
30290 <libm-alias-ldouble.h>.
30291 (totalordermagl): Define using libm_alias_ldouble.
30292 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
30293 <libm-alias-ldouble.h>.
30294 (truncl): Define using libm_alias_ldouble.
30295 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
30296 libm_alias_ldouble.
30297 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
30298 libm_alias_ldouble.
30299 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
30300 <libm-alias-ldouble.h>.
30301 (weak_alias): Do not undefine and redefine.
30302 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
30303 (copysignl): Define with long_double_symbol only if [IS_IN
30305 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
30306 <libm-alias-ldouble.h>.
30307 (weak_alias): Do not undefine and redefine.
30308 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
30309 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
30310 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
30311 <libm-alias-ldouble.h>.
30312 (weak_alias): Do not undefine and redefine.
30313 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
30314 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
30315 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
30316 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
30317 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
30318 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
30319 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
30320 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
30321 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
30322 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
30323 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
30324 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
30325 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
30326 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
30327 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
30328 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
30329 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
30330 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
30331 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
30332 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
30333 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
30334 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
30335 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
30336 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
30337 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
30338 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
30340 2017-10-06 Carlos O'Donell <carlos@redhat.com>
30343 * malloc/malloc.c (tcache_shutting_down): Use bool type.
30344 (tcache_thread_freeres): Set tcache_shutting_down before
30345 freeing the tcache.
30346 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
30347 * malloc/tst-malloc-tcache-leak.c: New file.
30349 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30351 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
30352 back to powerpc32 file.
30353 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
30354 (memrchr): Add __memrchr_power8 to ifunc list.
30355 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
30356 extra bytes for unaligned inputs.
30358 2017-10-06 Joseph Myers <joseph@codesourcery.com>
30360 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
30361 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
30362 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
30363 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
30364 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
30366 2017-10-05 Joseph Myers <joseph@codesourcery.com>
30368 * sysdeps/arm/libm-test-ulps: Update.
30370 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
30371 <libm-alias-ldouble.h>.
30372 (asinhl): Define using libm_alias_ldouble.
30373 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
30374 <libm-alias-ldouble.h>.
30375 (cbrtl): Define using libm_alias_ldouble.
30376 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
30377 <libm-alias-ldouble.h>.
30378 (copysignl): Define using libm_alias_ldouble.
30379 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
30380 <libm-alias-ldouble.h>.
30381 (cosl): Define using libm_alias_ldouble.
30382 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
30383 <libm-alias-ldouble.h>.
30384 (erfl): Define using libm_alias_ldouble.
30386 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
30387 <libm-alias-ldouble.h>.
30388 (fmal): Define using libm_alias_ldouble.
30389 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
30390 <libm-alias-ldouble.h>.
30391 (frexpl): Define using libm_alias_ldouble.
30392 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
30393 libm_alias_ldouble.
30394 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
30395 <libm-alias-ldouble.h>.
30396 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
30397 libm_alias_ldouble.
30398 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
30399 <libm-alias-ldouble.h>.
30400 (getpayloadl): Define using libm_alias_ldouble.
30401 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
30402 <libm-alias-ldouble.h>.
30403 (llrintl): Define using libm_alias_ldouble.
30404 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
30405 <libm-alias-ldouble.h>.
30406 (llroundl): Define using libm_alias_ldouble.
30407 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
30408 <libm-alias-ldouble.h>.
30409 (lrintl): Define using libm_alias_ldouble.
30410 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
30411 <libm-alias-ldouble.h>.
30412 (lroundl): Define using libm_alias_ldouble.
30413 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
30414 <libm-alias-ldouble.h>.
30415 (modfl): Define using libm_alias_ldouble.
30416 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
30417 <libm-alias-ldouble.h>.
30418 (nextupl): Define using libm_alias_ldouble.
30419 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
30420 <libm-alias-ldouble.h>.
30421 (remquol): Define using libm_alias_ldouble.
30422 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
30423 <libm-alias-ldouble.h>.
30424 (roundevenl): Define using libm_alias_ldouble.
30425 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
30426 <libm-alias-ldouble.h>.
30427 (roundl): Define using libm_alias_ldouble.
30428 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
30429 using libm_alias_ldouble.
30430 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
30431 <libm-alias-ldouble.h>.
30432 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
30433 <libm-alias-ldouble.h>.
30434 (setpayloadsigl): Define using libm_alias_ldouble.
30435 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
30436 <libm-alias-ldouble.h>.
30437 (sincosl): Define using libm_alias_ldouble.
30438 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
30439 <libm-alias-ldouble.h>.
30440 (sinl): Define using libm_alias_ldouble.
30441 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
30442 <libm-alias-ldouble.h>.
30443 (tanhl): Define using libm_alias_ldouble.
30444 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
30445 <libm-alias-ldouble.h>.
30446 (tanl): Define using libm_alias_ldouble.
30447 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
30448 <libm-alias-ldouble.h>.
30449 (totalorderl): Define using libm_alias_ldouble.
30450 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
30451 <libm-alias-ldouble.h>.
30452 (totalordermagl): Define using libm_alias_ldouble.
30453 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
30454 libm_alias_ldouble.
30455 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
30456 libm_alias_ldouble.
30458 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
30460 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
30462 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
30463 (__libc_ifunc_impl_list): Likewise.
30464 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
30465 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
30467 * benchtests/bench-memmove-walk.c: New file.
30468 * benchtests/Makefile (string-benchset): Add it.
30470 * benchtests/bench-memset-walk.c: New file.
30471 * benchtests/Makefile (string-benchset): Add it.
30473 * benchtests/bench-memcpy-walk.c: New file.
30474 * benchtests/Makefile (string-benchset): Add it.
30476 2017-10-05 Florian Weimer <fweimer@redhat.com>
30478 nscd: Eliminate compilation time dependency in the build output.
30479 * nscd/nscd_stat.c (STATDATA_VERSION)
30480 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
30481 (STATDATA_VERSION_FULL): New macro definitions.
30482 (compilation): Remove.
30483 (struct statdata): Adjust version member.
30484 (send_stats): Set version from STATDATA_VERSION_FULL.
30485 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
30487 2017-10-05 Joseph Myers <joseph@codesourcery.com>
30489 * configure.ac (--enable-add-ons): Remove option.
30490 (machine): Do not mention add-ons in comment.
30491 (LIBC_PRECONFIGURE): Likewise.
30492 (add_ons): Remove variable and sanity checks and logic to locate
30494 (add_ons_automatic): Remove variable.
30495 (configured_add_ons): Likewise.
30496 (add_ons_sfx): Likewise.
30497 (add_ons_pfx): Likewise.
30498 (add_on_subdirs): Likewise.
30499 (sysnames_add_ons): Likewise. Remove loop over add-ons and
30500 consideration of add-ons in Implies handling.
30501 (sysdeps_add_ons): Likewise.
30502 * configure: Regenerated.
30503 * libidn/configure.ac: Remove.
30504 * libidn/configure: Likewise.
30505 * sysdeps/unix/inet/configure.ac: New file.
30506 * sysdeps/unix/inet/configure: New generated file.
30507 * sysdeps/unix/inet/Subdirs: Add libidn.
30508 * Makeconfig (sysdeps-srcdirs): Remove variable.
30509 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
30510 ($(common-objpfx)config.status): Do not depend on add-on files.
30511 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
30513 (all-subdirs): Do not include $(add-on-subdirs).
30514 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
30515 * config.make.in (add-ons): Remove variable.
30516 (add-on-subdirs): Likewise.
30517 (sysdeps-add-ons): Likewise.
30518 * manual/Makefile (add-chapters): Remove.
30519 ($(objpfx)texis): Do not depend on $(add-chapters).
30520 (nonexamples): Do not handle $(add-chapters).
30521 (examples): Do not handle $(add-ons).
30522 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
30524 * manual/install.texi (Installation): Do not mention add-ons.
30525 (--enable-add-ons): Do not document configure option.
30526 * INSTALL: Regenerated.
30527 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
30528 * manual/maint.texi (Hierarchy Conventions): Do not mention
30530 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
30532 * scripts/gen-sorted.awk: Do not handle Subdirs files from
30534 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
30535 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
30537 2017-10-05 Andreas Schwab <schwab@suse.de>
30540 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
30541 (_IO_flush_all_lockp): Always lock list_all_lock.
30542 (_IO_flush_all_linebuffered): Likewise.
30543 (_IO_unbuffer_all): Likewise.
30545 2017-10-05 Florian Weimer <fweimer@redhat.com>
30548 Do not flush stdio streams on abort.
30549 * stdlib/abort.c (fflush): Remove macro definition.
30550 (abort): Remove stages related to stdio flushing.
30552 2017-10-05 Florian Weimer <fweimer@redhat.com>
30554 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
30556 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
30558 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
30560 2017-10-05 Florian Weimer <fweimer@redhat.com>
30562 * support/support_format_hostent.c (support_format_hostent): Add
30563 more error information for NETDB_INTERNAL.
30565 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
30567 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
30568 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
30569 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
30570 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
30571 AC_DEFINE if multi-arch is enabled.
30572 * sysdeps/i386/configure: Regenerated.
30574 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
30576 * Makeconfig (+link-static-before-libc): Use
30577 $(DEFAULT-LDFLAGS-$(@F)).
30578 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
30579 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
30580 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
30582 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
30584 * elf/Makefile (tests): Add tst-main1.
30585 (modules-names): Add tst-main1mod.
30586 ($(objpfx)tst-main1): New.
30587 (CRT-tst-main1): Likewise.
30588 (LDFLAGS-tst-main1): Likewise.
30589 (LDLIBS-tst-main1): Likewise.
30590 (tst-main1mod.so-no-z-defs): Likewise.
30591 * elf/tst-main1.c: New file.
30592 * elf/tst-main1mod.c: Likewise.
30594 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
30596 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
30598 2017-10-04 Joseph Myers <joseph@codesourcery.com>
30600 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
30601 (fma): Define using libm_alias_double.
30602 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
30603 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
30605 (fmal): Do not define as compat symbol here.
30606 * sysdeps/alpha/fpu/s_fma.c: New file.
30608 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
30610 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
30612 2017-10-04 Joseph Myers <joseph@codesourcery.com>
30615 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
30617 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
30619 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
30620 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
30621 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
30622 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
30623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
30624 Include <math_ldbl_opt.h>
30625 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
30627 (compat_symbol): Undefine and redefine.
30628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
30630 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
30631 (compat_symbol): Undefine and redefine.
30632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
30633 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
30634 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
30635 GLIBC_2_1 for libm.
30636 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
30637 GLIBC_2.0 copysignl symbol.
30638 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
30639 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
30641 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
30643 2017-10-04 Florian Weimer <fweimer@redhat.com>
30645 * scripts/check-local-headers.sh: Ignore nspr4 header file
30646 directory in addition to nspr.
30648 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
30651 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
30652 * configure: Regenerate.
30653 * crypt/Makefile (nss-cpp-flags): New variable.
30654 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
30655 (CPPFLAGS-md5-crypt.c): Use it.
30656 * scripts/check-local-headers.sh: Ignore nspr header file
30659 2017-10-04 Andreas Schwab <schwab@suse.de>
30661 * nis/Makefile (services): Remove compat.
30662 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
30663 ($(objpfx)libnss_compat.so): Remove rule.
30664 * nis/Versions (libnss_compat): Remove.
30665 * nss/Makefile (services): Add compat.
30666 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
30667 * nss/Versions (libnss_compat): Define.
30668 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
30669 Don't include <rpc/types.h>. Replace bool_t by bool.
30670 * nss/nss_compat/compat-initgroups.c: Likewise.
30671 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
30672 instead of <rpcsrv/ypclnt.h>.
30673 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
30674 yp_get_default_domain.
30675 * nss/nss_compat/compat-pwd.c: Likewise.
30676 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
30677 yp_get_default_domain.
30678 * nss/nss_compat/nisdomain.c: New file.
30679 * nss/nss_compat/nisdomain.h: Likewise.
30681 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
30684 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
30685 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30687 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
30690 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
30691 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
30693 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30695 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
30696 "movl main@GOTOFF(%ebx), %eax".
30698 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30700 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
30701 allow undefined _DYNAMIC in PIE libc.a.
30702 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
30705 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30707 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
30710 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30712 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
30715 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30717 * math/test-math-iscanonical.cc (error): Replace bool with int.
30719 2017-10-03 Joseph Myers <joseph@codesourcery.com>
30721 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
30722 (modf): Define using libm_alias_double, only if [!__modf].
30723 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
30724 <libm-alias-double.h>.
30725 (modf): Define using libm_alias_double, only if [!__modf].
30726 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
30727 compat symbol here.
30728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
30729 (weak_alias): Do not undefine and redefine.
30730 (strong_alias): Likewise.
30731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
30732 (weak_alias): Likewise.
30733 (strong_alias): Likewise.
30735 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
30736 (logb): Define using libm_alias_double, only if [!__logb].
30737 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
30738 <libm-alias-double.h>.
30739 (logb): Define using libm_alias_double, only if [!__logb].
30740 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
30741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
30742 (weak_alias): Do not undefine and redefine.
30743 (strong_alias): Likewise.
30744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
30745 (weak_alias): Likewise.
30746 (strong_alias): Likewise.
30748 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30750 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
30751 Check SHARED instead PIC.
30753 2017-10-03 Joseph Myers <joseph@codesourcery.com>
30755 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
30756 [!__fmaf] (fmaf): Define using libm_alias_float.
30758 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
30759 (frexp): Define using libm_alias_double.
30760 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
30761 <libm-alias-double.h>.
30762 (frexp): Define using libm_alias_double.
30763 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
30764 compat symbol here.
30766 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30769 * math/math.h: Trivial fix for unbalanced parentheses in comment.
30770 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
30771 (CFLAGS-test-math-iscanonical.cc): New variable.
30772 * math/test-math-iscanonical.cc: New file.
30773 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
30774 Provide a C++ implementation based on function overloading,
30775 rather than using __MATH_TG, which uses C-only builtins.
30776 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
30778 * sysdeps/powerpc/powerpc64le/Makefile
30779 (CFLAGS-test-math-iscanonical.cc): New variable.
30781 2017-10-03 Joseph Myers <joseph@codesourcery.com>
30783 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
30784 (ceil): Define using libm_alias_double.
30785 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
30786 (floor): Define using libm_alias_double.
30787 * sysdeps/ieee754/dbl-64/s_llround.c: Include
30788 <libm-alias-double.h>.
30789 (llround): Define using libm_alias_double.
30790 * sysdeps/ieee754/dbl-64/s_lround.c: Include
30791 <libm-alias-double.h>.
30792 (lround): Define using libm_alias_double.
30793 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
30794 <libm-alias-double.h>.
30795 (nearbyint): Define using libm_alias_double.
30796 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
30797 <libm-alias-double.h>.
30798 (remquo): Define using libm_alias_double.
30799 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
30800 (rint): Define using libm_alias_double.
30801 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
30802 (round): Define using libm_alias_double.
30803 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
30804 (trunc): Define using libm_alias_double.
30805 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
30806 <libm-alias-double.h>.
30807 (ceil): Define using libm_alias_double.
30808 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
30809 <libm-alias-double.h>.
30810 (floor): Define using libm_alias_double.
30811 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
30812 <libm-alias-double.h>.
30813 (llround): Define using libm_alias_double.
30814 [_LP64] (lround): Likewise.
30815 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
30816 <libm-alias-double.h>.
30817 [!_LP64] (lround): Define using libm_alias_double.
30818 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
30819 <libm-alias-double.h>.
30820 (nearbyint): Define using libm_alias_double.
30821 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
30822 <libm-alias-double.h>.
30823 (remquo): Define using libm_alias_double.
30824 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
30825 <libm-alias-double.h>.
30826 (rint): Define using libm_alias_double.
30827 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
30828 <libm-alias-double.h>.
30829 (round): Define using libm_alias_double.
30830 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
30831 <libm-alias-double.h>.
30832 (trunc): Define using libm_alias_double.
30833 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
30834 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
30835 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
30836 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
30837 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
30838 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
30839 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
30840 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
30841 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
30843 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
30845 * math/w_remainder.c: New file.
30846 * math/w_remainderf.c: New file.
30847 * math/w_remainderl.c: New file.
30849 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30851 * elf/rtld.c (BOOTSTRAP_MAP): New.
30852 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
30853 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
30855 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
30857 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
30860 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
30862 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
30863 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
30864 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
30865 rtld_hidden_data_ver): Define to empty.
30866 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
30867 __assert_perror_fail): Likewise.
30868 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
30869 (__rewinddir): Likewise.
30870 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
30871 (__profile_frequency): Likewise.
30872 * include/setjmp.h (__sigsetjmp): Likewise.
30873 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
30874 __libc_sigaction): Likewise.
30875 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
30876 not set hidden attribute.
30877 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
30878 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
30879 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
30880 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
30881 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
30882 __fxstatat64): Likewise.
30883 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
30884 (__uname): Likewise.
30885 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
30886 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
30887 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
30888 (NO_RTLD_HIDDEN): Set.
30889 * sysdeps/mach/hurd/configure: Refresh.
30890 * config.h.in: Refresh.
30892 2017-10-02 Joseph Myers <joseph@codesourcery.com>
30894 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
30895 (atan): Define using libm_alias_double.
30896 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
30897 (tan): Define using libm_alias_double.
30898 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
30899 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
30901 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
30902 define as weak alias of __atan. Do not define any aliases if
30904 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
30905 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
30906 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
30907 as weak alias of __tan. Do not define any aliases if [__tan].
30908 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
30909 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
30910 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
30912 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
30913 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
30914 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
30915 and define as weak alias of __atan.
30916 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
30918 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
30919 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
30920 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
30921 define as weak alias of __tan.
30923 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
30925 * math/w_lgamma.c: New file.
30926 * math/w_lgammaf.c: New file.
30927 * math/w_lgammal.c: New file.
30929 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
30931 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
30932 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
30933 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
30934 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
30935 * sysdeps/ieee754/flt-32/w_logf.c: New file.
30936 * sysdeps/ieee754/flt-32/w_powf.c: New file.
30937 * sysdeps/i386/fpu/w_log2f.c: New file.
30938 * sysdeps/i386/fpu/w_logf.c: New file.
30939 * sysdeps/i386/fpu/w_powf.c: New file.
30940 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
30941 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
30942 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
30944 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
30945 H.J. Lu <hongjiu.lu@intel.com>
30947 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
30948 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
30949 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
30950 * sysdeps/ieee754/flt-32/w_expf.c: New file.
30951 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
30953 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
30954 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
30955 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
30956 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
30957 * sysdeps/i386/fpu/w_exp2f.c: New file.
30958 * sysdeps/i386/fpu/w_expf.c: New file.
30959 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
30960 * sysdeps/x86_64/fpu/w_expf.c: New file.
30962 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
30964 * math/Versions (logf): New libm symbol at GLIBC_2.27.
30967 * math/w_log2f.c: New file.
30968 * math/w_logf.c: New file.
30969 * math/w_powf.c: New file.
30970 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
30971 * math/w_logf_compat.c (__logf_compat): Likewise.
30972 * math/w_powf_compat.c (__powf_compat): Likewise.
30973 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
30974 * sysdeps/ia64/fpu/e_logf.S: Likewise.
30975 * sysdeps/ia64/fpu/e_powf.S: Likewise.
30976 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
30977 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30978 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
30979 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
30980 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
30981 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
30982 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
30983 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
30984 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
30985 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
30986 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30987 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
30988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
30990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
30994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
30996 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30997 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30998 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
30999 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
31000 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
31001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
31003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
31005 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
31006 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
31007 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
31009 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31011 * sysdeps/powerpc/powerpc64/multiarch/Makefile
31012 (sysdep_routines): Add memrchr_power8.
31013 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31014 (memrchr): Add __memrchr_power8 to list of memrchr functions.
31015 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
31017 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
31018 (memrchr): Add __memrchr_power8 to ifunc list.
31019 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
31021 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31024 * sysdeps/unix/sysv/linux/posix_fadvise64.c
31025 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
31027 * sysdeps/unix/sysv/linux/posix_fallocate64.c
31028 (__posix_fallocate64_l64): Likewise.
31030 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31033 * sysdeps/unix/sysv/linux/sched_setaffinity.c
31034 (__sched_setaffinity_new): Add libc_hidden_proto and
31037 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31040 * include/glob.h (__glob64): Add libc_hidden_proto.
31041 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
31044 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31047 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
31050 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31053 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
31055 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31058 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
31061 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31064 * csu/version.c (__libc_print_version): Add attribute_hidden.
31066 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31069 * include/libc-internal.h (__init_misc): Add attribute_hidden.
31071 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31074 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
31076 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31079 * nscd/nscd_helper.c (__nis_hash): New prototype.
31081 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31084 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
31085 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
31087 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
31088 * termios/tcgetattr.c (__tcgetattr): Likewise.
31090 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31093 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
31094 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
31095 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
31096 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
31097 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
31099 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31102 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
31104 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31107 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
31108 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
31110 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31113 * intl/hash-string.h (__hash_string): Add attribute_hidden.
31115 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31118 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
31119 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
31121 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31124 * include/ifreq.h: New file.
31125 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
31126 (__ifreq): Likewise.
31127 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
31128 (__ifreq): Likewise.
31130 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31133 * include/idna.h: New file.
31134 * inet/getnameinfo.c: Include <idna.h> instead of
31136 (__idna_to_unicode_lzlz): Removed.
31137 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
31139 (__idna_to_ascii_lz): Removed.
31140 (__idna_to_unicode_lzlz): Likewise.
31142 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31145 * include/plural-exp.h: New file.
31146 * intl/plural-exp.c: Include <plural-exp.h> instead of
31149 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31152 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
31153 "getsourcefilter.h".
31154 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
31155 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
31156 "getsourcefilter.h".
31157 (__get_sol): Removed.
31159 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31162 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
31164 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
31166 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31169 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
31172 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31175 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
31177 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31180 * include/search.h (__tdestroy): Add libc_hidden_proto.
31181 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
31183 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31186 * include/assert.h (__assert_fail_base): Add attribute_hidden.
31188 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31191 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
31194 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31197 * include/signal.h (__kill): Add libc_hidden_proto.
31198 (__sigblock): Likewise.
31199 (__sigprocmask): Likewise.
31200 (__sigaltstack): Likewise.
31201 * signal/kill.c (__kill): Add libc_hidden_def.
31202 * signal/sigblock.c (__sigblock): Likewise.
31203 * signal/sigprocmask.c (__sigprocmask): Likewise.
31204 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
31205 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
31206 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
31207 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
31208 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
31210 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
31212 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
31213 (__sigprocmask): Likewise.
31214 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
31216 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
31217 (__sigprocmask): Likewise.
31218 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
31221 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31224 * include/string.h (__strsep): Add libc_hidden_proto.
31225 * string/strsep.c (__strsep): Add libc_hidden_def.
31227 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31230 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
31232 (__spawni): Likewise.
31234 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31237 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
31238 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
31241 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31244 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
31246 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31249 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
31250 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
31251 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
31252 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
31253 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
31255 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
31256 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
31258 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31261 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
31262 (__dcigettext): Likewise.
31264 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31267 * include/sys/sysinfo.h (__get_nprocs_conf): Add
31269 (__get_nprocs): Likewise.
31270 (__get_phys_pages): Likewise.
31271 (__get_avphys_pages): Likewise.
31272 (__get_child_max): Add attribute_hidden.
31273 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
31274 (__get_nprocs): Likewise.
31275 (__get_phys_pages): Likewise.
31276 (__get_avphys_pages): Likewise.
31277 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
31279 (__get_nprocs): Likewise.
31280 (__get_phys_pages): Likewise.
31281 (__get_avphys_pages): Likewise.
31282 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
31284 (__get_nprocs_conf): Likewise.
31285 (__get_phys_pages): Likewise.
31286 (__get_avphys_pages): Likewise.
31288 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31291 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
31293 (__netlink_close): Likewise.
31294 (__netlink_free_handle): Likewise.
31295 (__netlink_request): Likewise.
31297 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31300 * include/rpc/rpc.h (__rpc_thread_variables): Add
31302 (__rpc_thread_svc_cleanup): Likewise.
31303 (__rpc_thread_clnt_cleanup): Likewise.
31304 (__rpc_thread_key_cleanup): Likewise.
31306 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31309 * include/sys/uio.h (__readv): Add libc_hidden_proto.
31310 (__writev): Likewise.
31311 * misc/readv.c (__readv): Add libc_hidden_def.
31312 * misc/writev.c (__writev): Likewise.
31313 * sysdeps/posix/readv.c (__readv): Likewise.
31314 * sysdeps/posix/writev.c (__writev): Likewise.
31315 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
31316 (__readv): Likewise.
31317 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
31318 (__writev): Likewise.
31320 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31323 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
31324 (__regcomp): Add libc_hidden_proto.
31325 (__regexec): Likewise.
31326 (__regfree): Likewise.
31327 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
31328 (__regfree): Likewise.
31329 * posix/regexec.c (__regexec): Likewise.
31331 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31334 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
31335 (__getutent): Likewise.
31336 (__getutid): Likewise.
31337 (__getutline): Likewise.
31338 (__pututline): Likewise.
31339 (__getutent_r): Likewise.
31340 (__getutid_r): Likewise.
31341 (__getutline_r): Likewise.
31342 (__utmpname): Add attribute_hidden.
31343 (__setutent): Likewise.
31344 (__endutent): Likewise.
31345 * login/getutent.c (__getutent): Add libc_hidden_def.
31346 * login/getutent_r.c (__getutent_r): Likewise.
31347 (__pututline): Likewise.
31348 * login/getutid.c (__getutid): Likewise.
31349 * login/getutid_r.c (__getutid_r): Likewise.
31350 * login/getutline.c (__getutline): Likewise.
31351 * login/getutline_r.c (__getutline_r): Likewise.
31352 * login/updwtmp.c (__updwtmp): Likewise.
31354 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31357 * include/dirent.h (__opendir): Always add attribute_hidden.
31358 (__fdopendir): Likewise.
31359 (__closedir): Likewise.
31360 (__readdir): Likewise.
31361 (__readdir64): Add libc_hidden_proto.
31362 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
31363 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
31364 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
31365 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
31368 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31371 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
31372 * include/netdb.h (__gethostbyaddr_r): Likewise.
31373 (__gethostbyname_r): Likewise.
31374 (__gethostbyname2_r): Likewise.
31375 (__getnetbyaddr_r): Likewise.
31376 (__getnetbyname_r): Likewise.
31377 (__getservbyname_r): Likewise.
31378 (__getservbyport_r): Likewise.
31379 (__getprotobyname_r): Likewise.
31380 (__getprotobynumber_r): Likewise.
31381 (__getnetgrent_r): Likewise.
31382 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
31383 (__getrpcbynumber_r): Likewise.
31384 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
31386 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31389 * include/stdio.h (__fcloseall): Add attribute_hidden.
31390 (__getline): Likewise.
31391 (__path_search): Likewise.
31392 (__gen_tempname): Likewise.
31393 (__libc_message): Likewise.
31394 (__flockfile): Likewise.
31395 (__funlockfile): Likewise.
31396 (__fxprintf): Likewise.
31397 (__fxprintf_nocancel): Likewise.
31399 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31402 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
31403 (__sgetsgent_r): Likewise.
31405 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31408 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
31409 (__statfs64): Likewise.
31410 (__fstatfs64): Likewise.
31411 * include/sys/statvfs.h (__statvfs64): Likewise.
31412 (__fstatvfs64): Likewise.
31413 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
31414 (__statfs_filesize_max): Likewise.
31415 (__statfs_symlinks): Likewise.
31416 (__statfs_chown_restricted): Likewise.
31418 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31421 * include/time.h (__tzstring): Add attribute_hidden.
31422 (__tzfile_read): Likewise.
31423 (__tzfile_compute): Likewise.
31424 (__tzfile_default): Likewise.
31425 (__tzset_parse_tz): Likewise.
31426 (__offtime): Likewise.
31427 (__asctime_r): Likewise.
31428 (__tzset): Likewise.
31429 (__tz_convert): Likewise.
31430 (__getdate_r): Likewise.
31431 (__getclktck): Likewise.
31433 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31436 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
31437 (__nscd_unmap): Likewise.
31438 (__nscd_cache_search): Likewise.
31439 (__nscd_get_nl_timestamp): Likewise.
31440 (__nscd_getpwnam_r): Likewise.
31441 (__nscd_getpwuid_r): Likewise.
31442 (__nscd_getgrnam_r): Likewise.
31443 (__nscd_getgrgid_r): Likewise.
31444 (__nscd_gethostbyname_r): Likewise.
31445 (__nscd_gethostbyname2_r): Likewise.
31446 (__nscd_gethostbyaddr_r): Likewise.
31447 (__nscd_getai): Likewise.
31448 (__nscd_getgrouplist): Likewise.
31449 (__nscd_getservbyname_r): Likewise.
31450 (__nscd_getservbyport_r): Likewise.
31451 (__nscd_innetgr): Likewise.
31452 (__nscd_setnetgrent): Likewise.
31454 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31457 * include/gmp.h: Declare internal functions only if _ISOMAC is
31459 (__mpn_extract_double): Add attribute_hidden.
31460 (__mpn_extract_long_double): Likewise.
31461 (__mpn_extract_float128): Likewise.
31462 (__mpn_construct_float): Likewise.
31463 (__mpn_construct_double): Likewise.
31464 (__mpn_construct_long_double): Likewise.
31465 (__mpn_construct_float128): Likewise.
31466 (mpn_add_1): Likewise.
31467 (mpn_addmul_1): Likewise.
31468 (mpn_add_n): Likewise.
31469 (mpn_cmp): Likewise.
31470 (mpn_divrem): Likewise.
31471 (mpn_lshift): Likewise.
31472 (mpn_mul): Likewise.
31473 (mpn_mul_1): Likewise.
31474 (mpn_rshift): Likewise.
31475 (mpn_sub_1): Likewise.
31476 (mpn_submul_1): Likewise.
31477 (mpn_sub_n): Likewise.
31479 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31482 * include/wchar.h (__wcsnlen): Add attribute_hidden.
31483 (__wcscat): Likewise.
31484 (__btowc): Likewise.
31485 (__wcrtomb): Likewise.
31486 (__mbsrtowcs): Likewise.
31487 (__wcsrtombs): Likewise.
31488 (__mbsnrtowcs): Likewise.
31489 (__wcsnrtombs): Likewise.
31490 (__wcsncpy): Likewise.
31491 (__wcpncpy): Likewise.
31492 (__wmemcpy): Likewise.
31493 (__wmempcpy): Likewise.
31494 (__wmemmove): Likewise.
31495 (__wcschrnul): Likewise.
31496 (__vfwscanf): Likewise.
31497 (__vswprintf): Likewise.
31498 (__fwprintf): Likewise.
31499 (__vfwprintf): Likewise.
31501 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31504 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
31505 (__getgrgid_r): Likewise.
31506 (__getgrnam_r): Likewise.
31507 * include/pwd.h (__getpwuid_r): Likewise.
31508 (__getpwnam_r): Likewise.
31509 (__fgetpwent_r): Likewise.
31510 * include/shadow.h (__getspnam_r): Likewise.
31511 (__sgetspent_r): Likewise.
31512 (__fgetspent_r): Likewise.
31514 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31517 * include/unistd.h (__access): Add attribute_hidden.
31518 (__lseek64): Likewise.
31519 (__libc_pread64): Likewise.
31520 (__pipe2): Likewise.
31521 (__sleep): Likewise.
31522 (__chdir): Likewise.
31523 (__fchdir): Likewise.
31524 (__getcwd): Likewise.
31525 (__rmdir): Likewise.
31526 (__execvpe): Likewise.
31527 (__execve): Likewise.
31528 (__setsid): Likewise.
31529 (__getuid): Likewise.
31530 (__geteuid): Likewise.
31531 (__getgid): Likewise.
31532 (__getegid): Likewise.
31533 (__getgroups): Likewise.
31534 (__group_member): Likewise.
31535 (__ttyname_r): Likewise.
31536 (__isatty): Likewise.
31537 (__readlink): Likewise.
31538 (__unlink): Likewise.
31539 (__gethostname): Likewise.
31540 (__profil): Likewise.
31541 (__getdtablesize): Likewise.
31543 (__ftruncate): Likewise.
31544 (__ftruncate64): Likewise.
31546 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31549 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
31550 * argp/argp-fs-xinl.c: Likewise.
31551 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
31552 * argp/argp-parse.c: Include <argp.h>.
31553 * argp/argp-xinl.c: Likewise.
31554 * include/argp-fmtstream.h: New file.
31555 * include/argp.h (__argp_error): Add attribute_hidden.
31556 (__argp_failure): Likewise.
31557 (__argp_input): Likewise.
31558 (__argp_state_help): Likewise.
31560 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31563 * include/wchar.h (____wcstof_l_internal): New prototype.
31564 (____wcstod_l_internal): Likewise.
31565 (____wcstold_l_internal): Likewise.
31566 (____wcstol_l_internal): Likewise.
31567 (____wcstoul_l_internal): Likewise.
31568 (____wcstoll_l_internal): Likewise.
31569 (____wcstoull_l_internal): Likewise.
31570 (____wcstof128_l_internal): Likewise.
31571 * sysdeps/ieee754/float128/wcstof128.c
31572 (____wcstof128_l_internal): Removed.
31573 * sysdeps/ieee754/float128/wcstof128_l.c
31574 (____wcstof128_l_internal): Likewise.
31575 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
31576 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
31577 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
31578 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
31579 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
31580 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
31581 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
31582 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
31583 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
31584 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
31586 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31589 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
31590 instead of <sys/statvfs.h>.
31591 (__internal_statvfs): Removed.
31592 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
31593 instead of <sys/statvfs.h>.
31594 (__internal_statvfs64): Removed.
31595 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
31596 "internal_statvfs.h" instead of <sys/statvfs.h>.
31597 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
31598 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
31599 instead of <sys/statvfs.h>.
31600 (__internal_statvfs): Removed.
31601 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
31602 instead of <sys/statvfs.h>.
31603 (__internal_statvfs64): Removed.
31605 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31608 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
31609 (__gconv_close): Likewise.
31610 (__gconv): Likewise.
31611 (__gconv_find_transform): Likewise.
31612 (__gconv_lookup_cache): Likewise.
31613 (__gconv_compare_alias_cache): Likewise.
31614 (__gconv_load_cache): Likewise.
31615 (__gconv_get_path): Likewise.
31616 (__gconv_close_transform): Likewise.
31617 (__gconv_release_cache): Likewise.
31618 (__gconv_find_shlib): Likewise.
31619 (__gconv_release_shlib): Likewise.
31620 (__gconv_get_builtin_trans): Likewise.
31621 (__gconv_compare_alias): Likewise.
31622 * include/dlfcn.h (_dlerror_run): Likewise.
31623 * include/stdio.h (__fortify_fail_abort): Likewise.
31624 * include/time.h (__tz_compute): Likewise.
31625 (__strptime_internal): Likewise.
31626 * intl/gettextP.h (_nl_find_domain): Likewise.
31627 (_nl_load_domain): Likewise.
31628 (_nl_find_msg): Likewise.
31629 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
31630 (EXTRACT_PLURAL_EXPRESSION): Likewise.
31631 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
31632 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
31633 (__gai_find_request): Likewise.
31634 (__gai_remove_request): Likewise.
31635 (__gai_notify): Likewise.
31636 (__gai_notify_only): Likewise.
31637 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
31638 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
31639 (_dl_non_dynamic_init): Likewise.
31640 (_dl_aux_init): Likewise.
31641 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
31642 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
31644 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
31645 (__wcsmbs_clone_conv): Likewise.
31646 (__wcsmbs_named_conv): Likewise.
31648 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31651 * include/stdlib.h (__random): Add attribute_hidden.
31652 (__random_r): Likewise.
31653 (__srandom_r): Likewise.
31654 (__initstate_r): Likewise.
31655 (__setstate_r): Likewise.
31656 (__erand48_r): Likewise.
31657 (__nrand48_r): Likewise.
31658 (__jrand48_r): Likewise.
31659 (__srand48_r): Likewise.
31660 (__seed48_r): Likewise.
31661 (__lcong48_r): Likewise.
31662 (__drand48_iterate): Likewise.
31663 (__setenv): Likewise.
31664 (__unsetenv): Likewise.
31665 (__clearenv): Likewise.
31666 (__ptsname_r): Likewise.
31667 (__posix_openpt): Likewise.
31668 (__add_to_environ): Likewise.
31669 (__realpath): Add libc_hidden_proto.
31670 (__ecvt_r): Likewise.
31671 (__fcvt_r): Likewise.
31672 (__qecvt_r): Likewise.
31673 (__qfcvt_r): Likewise.
31674 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
31675 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
31677 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31680 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
31681 * include/time.h (__mktime_internal): Likewise.
31682 * libio/iolibio.h (__fopen_internal): Likewise.
31684 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
31686 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
31688 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
31689 Correct offset used to restore PIC register.
31691 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
31694 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
31695 code to load address of __getcontext_ret when generating PIC code.
31697 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
31699 * elf/Makefile (tests-static-internal): Add
31700 tst-tls1-static-non-pie.
31701 (LDFLAGS-tst-tls1-static-non-pie): New.
31702 * elf/tst-tls1-static-non-pie.c: New file.
31704 2017-09-29 Joseph Myers <joseph@codesourcery.com>
31706 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
31707 (asinh): Define using libm_alias_double.
31708 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
31709 (cbrt): Define using libm_alias_double.
31710 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
31711 <libm-alias-double.h>.
31712 (copysign): Define using libm_alias_double.
31713 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
31714 (erf): Define using libm_alias_double.
31716 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
31717 (expm1): Define using libm_alias_double.
31718 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
31719 (fabs): Define using libm_alias_double.
31720 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
31722 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
31723 <libm-alias-double.h>.
31724 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
31726 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
31727 <libm-alias-double.h>.
31728 (getpayload): Define using libm_alias_double.
31729 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
31730 <libm-alias-double.h>.
31731 (llrint): Define using libm_alias_double.
31732 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
31733 (lrint): Define using libm_alias_double.
31734 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
31735 <libm-alias-double.h>.
31736 (nextup): Define using libm_alias_double.
31737 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
31738 <libm-alias-double.h>.
31739 (roundeven): Define using libm_alias_double.
31740 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
31742 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
31743 <libm-alias-double.h>.
31744 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
31745 using libm_alias_double.
31746 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
31747 (cos): Define using libm_alias_double.
31749 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
31750 <libm-alias-double.h>.
31751 (sincos): Define using libm_alias_double.
31752 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
31753 (tanh): Define using libm_alias_double.
31754 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
31755 <libm-alias-double.h>.
31756 (totalorder): Define using libm_alias_double.
31757 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
31758 <libm-alias-double.h>.
31759 (totalordermag): Define using libm_alias_double.
31760 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
31762 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
31764 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
31765 <libm-alias-double.h>.
31766 (getpayload): Define using libm_alias_double.
31767 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
31768 <libm-alias-double.h>.
31769 (roundeven): Define using libm_alias_double.
31770 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
31771 <libm-alias-double.h>.
31772 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
31773 <libm-alias-double.h>.
31774 (totalorder): Define using libm_alias_double.
31775 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
31776 <libm-alias-double.h>.
31777 (totalordermag): Define using libm_alias_double.
31778 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
31779 libc compat symbol here.
31780 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
31781 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
31782 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
31783 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
31784 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
31785 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
31786 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
31787 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
31788 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
31789 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
31791 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
31793 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
31794 _dl_relocate_static_pie instead of _dl_start to compute load
31795 address in static PIE. Return 0 if _DYNAMIC is undefined for
31798 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
31800 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
31801 _DYNAMIC is undefined for static executable.
31803 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
31805 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
31807 2017-09-29 Joseph Myers <joseph@codesourcery.com>
31809 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31811 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
31813 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
31814 (__ieee754_lgamma_r): Use fabs rather than __fabs.
31815 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
31816 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
31817 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
31818 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
31819 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
31820 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
31821 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
31822 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
31823 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
31824 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
31825 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
31826 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
31827 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
31828 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
31829 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
31831 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
31833 * math/bits/cmathcalls.h (cimag): Remove inline.
31834 (creal): Remove inline.
31835 (conj): Remove inline.
31837 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31839 * math/Makefile (type-float-routines): Add e_powf_log2_data.
31840 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
31841 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
31842 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
31843 (issignalingf_inline): Likewise.
31844 (POWF_LOG2_TABLE_BITS): Likewise.
31845 (POWF_LOG2_POLY_ORDER): Likewise.
31846 (POWF_SCALE_BITS): Likewise.
31847 (POWF_SCALE): Likewise.
31848 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
31849 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
31850 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
31852 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31854 * math/Makefile (type-float-routines): Add e_log2f_data.
31855 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
31856 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
31857 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
31858 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
31859 * sysdeps/i386/fpu/e_log2f_data.c: New file.
31860 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
31861 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
31863 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31865 * math/Makefile (type-float-routines): Add e_logf_data.
31866 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
31867 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
31868 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
31869 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
31870 * sysdeps/i386/fpu/e_logf_data.c: New file.
31871 * sysdeps/ia64/fpu/e_logf_data.c: New file.
31872 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
31874 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
31876 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
31877 undefined _DYNAMIC in PIE libc.a.
31878 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
31881 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
31883 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
31884 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
31885 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
31886 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
31887 (__signbit): Remove.
31888 (__signbitl): Remove.
31889 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
31890 (__signbit): Remove.
31891 (__signbitl): Remove.
31892 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
31893 (__signbit): Remove.
31894 (__signbitl): Remove.
31895 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
31896 (__signbit): Remove.
31897 (__signbitl): Remove.
31898 * sysdeps/tile/bits/mathinline.h: Delete file.
31899 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
31900 (__signbit): Remove.
31901 (__signbitl): Remove.
31903 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
31905 * math/math.h: Improve handling of C99 isgreater macros.
31906 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
31907 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
31908 * sysdeps/powerpc/bits/mathinline.h: Likewise.
31909 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31910 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
31912 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
31914 * sysdeps/aarch64/libm-test-ulps: Update.
31916 2017-09-28 Joseph Myers <joseph@codesourcery.com>
31919 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31920 math_opt_barrier on argument when doing arithmetic on it.
31921 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
31922 Likewise. Use math_force_eval not math_opt_barrier after
31924 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
31925 math_opt_barrier on argument when doing arithmetic on it.
31926 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31929 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
31931 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
31933 (__freeifaddrs): Likewise.
31935 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
31937 * include/dirent.h (__dirfd): New declaration.
31938 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
31940 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
31941 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
31942 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
31943 * include/unistd.h (__revoke): New declaration.
31944 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
31946 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
31947 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
31949 * include/dirent.h (__seekdir): New declaration.
31950 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
31951 redefine as weak alias.
31952 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
31954 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
31955 and use libc_hidden_def on them.
31956 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
31958 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
31959 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
31960 instead of getifaddrs and freeifaddrs.
31962 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
31965 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
31966 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
31967 (__dso_handle): Remove declaration.
31968 * dlfcn/tstatexit.c (__dso_handle): Removed.
31969 (main): Don't check __dso_handle.
31970 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
31971 (main): Don't check __dso_handle.
31972 * include/dso_handle.h: New file.
31973 * malloc/mtrace.c: Include <dso_handle.h>.
31974 (mtrace): Pass __dso_handle directly.
31975 * nptl/pthread_atfork.c: Include <dso_handle.h>.
31976 (__dso_handle): Remove declaration.
31977 (__pthread_atfork): Pass __dso_handle directly.
31978 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
31979 (__dso_handle): Removed.
31980 * posix/wordexp-test.c: Include <dso_handle.h>.
31981 (__dso_handle): Remove declaration.
31982 (__app_register_atfork): Pass __dso_handle directly.
31983 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
31984 (__dso_handle): Remove declaration.
31985 (at_quick_exit): Pass __dso_handle directly.
31986 * stdlib/atexit.c: Include <dso_handle.h>.
31987 (__dso_handle): Remove declaration.
31988 (atexit): Pass __dso_handle directly.
31989 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
31990 (__dso_handle): Removed.
31992 2017-09-26 Joseph Myers <joseph@codesourcery.com>
31994 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
31997 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
31999 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
32000 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
32001 values to correct default value for given type.
32003 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32006 * elf/Makefile (tests): Add tst-debug1.
32007 ($(objpfx)tst-debug1): New.
32008 ($(objpfx)tst-debug1.out): Likewise.
32009 ($(objpfx)tst-debug1mod1.so): Likewise.
32010 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
32011 with p_filesz == 0.
32012 * elf/tst-debug1.c: New file.
32014 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32016 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
32017 Define using __ifunc.
32019 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32021 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
32024 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32027 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
32029 2017-09-26 Florian Weimer <fweimer@redhat.com>
32031 * resolv/Makefile (tests-internal): Fix typo in comment.
32033 2017-09-26 Florian Weimer <fweimer@redhat.com>
32035 * resolv/nss_dns/dns-host.c: Fix typo in comment.
32037 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32039 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
32040 Use an union instead of a max_align_t array for __space,
32041 so that __space is the same size on all platforms.
32042 * malloc/scratch_buffer_grow_preserve.c
32043 (__libc_scratch_buffer_grow_preserve): Likewise.
32046 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
32048 * posix/Makefile (routines): Add glob-lstat-compat and
32049 glob64-lstat-compat.
32050 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
32051 * posix/glob-lstat-compat.c: New file.
32052 * posix/glob64-lstat-compat.c: Likewise.
32053 * posix/tst-glob_lstat_compat.c: Likewise.
32054 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
32055 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
32056 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
32057 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
32059 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
32060 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
32061 * posix/glob.c (glob_lstat): New function.
32062 (glob): Rename to __glob and add versioned symbol to 2.27.
32063 (glob_in_dir): Use glob_lstat.
32064 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
32065 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
32066 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
32068 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
32069 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
32070 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
32071 gl_lstat on glob call.
32072 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
32073 and glob64 symbols.
32074 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
32075 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
32076 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
32077 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
32078 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
32079 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
32080 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
32081 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
32082 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
32083 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
32084 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
32085 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
32086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
32088 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
32089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
32090 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
32091 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
32092 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
32093 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
32094 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
32095 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
32096 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
32097 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
32098 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
32099 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
32101 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
32103 * configure.ac (AS): Require binutils 2.25 or later.
32104 * configure: Regenerated.
32106 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
32109 * stdlib/test-atexit-race-common.c (do_test): Minimize required
32112 2017-09-25 DJ Delorie <dj@redhat.com>
32115 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
32118 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
32120 * sysdeps/ieee754/dbl-64/sincos32.h
32121 [SINCCOS32_H]: Remove define.
32122 [SINCOS32_H]: Define.
32124 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32126 * math/Versions (expf): New libm symbol at GLIBC_2.27.
32128 * math/w_exp2f.c: New file.
32129 * math/w_expf.c: New file.
32130 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
32131 * math/w_expf_compat.c (__expf_compat): Likewise.
32132 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
32133 * sysdeps/ia64/fpu/e_expf.S: Likewise.
32134 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
32135 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
32136 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
32137 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
32138 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
32139 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
32140 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
32141 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
32142 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
32143 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
32144 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
32145 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
32146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
32148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
32150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
32152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
32154 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
32155 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
32156 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
32157 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
32158 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
32159 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
32161 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
32163 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
32164 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
32165 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
32167 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32169 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
32170 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
32171 (roundtoint, converttoint): Likewise.
32172 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
32173 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
32174 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
32175 * sysdeps/ieee754/flt-32/math_config.h: New file.
32176 * sysdeps/ieee754/flt-32/math_errf.c: New file.
32177 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
32178 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
32179 * sysdeps/i386/fpu/math_errf.c: New file.
32180 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
32181 * sysdeps/ia64/fpu/math_errf.c: New file.
32182 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
32183 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
32185 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
32187 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
32188 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
32189 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
32190 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
32191 to make sure that these symbols are defined.
32192 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
32194 (__need_NULL): Do not define.
32195 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
32197 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
32198 CMGROUP_MAX, cmsgcred): Do not define.
32199 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
32201 * bits/socket.h: Likewise.
32202 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
32203 __gettimeofday instead of gettimeofday.
32204 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
32205 instead of settimeofday.
32207 2017-09-22 Joseph Myers <joseph@codesourcery.com>
32209 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
32210 (asinhf): Define using libm_alias_float.
32211 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
32212 (atanf): Define using libm_alias_float.
32213 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
32214 (cbrtf): Define using libm_alias_float.
32215 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
32216 (ceilf): Define using libm_alias_float.
32217 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
32218 <libm-alias-float.h>.
32219 (copysignf): Define using libm_alias_float.
32220 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
32221 (cosf): Define using libm_alias_float.
32222 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
32223 (erff): Define using libm_alias_float.
32225 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
32226 (expm1f): Define using libm_alias_float.
32227 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
32228 (fabsf): Define using libm_alias_float.
32229 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
32230 (floorf): Define using libm_alias_float.
32231 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
32232 (frexpf): Define using libm_alias_float.
32233 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
32235 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
32236 <libm-alias-float.h>.
32237 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
32239 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
32240 <libm-alias-float.h>.
32241 (getpayloadf): Define using libm_alias_float.
32242 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
32243 <libm-alias-float.h>.
32244 (llrintf): Define using libm_alias_float.
32245 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
32246 <libm-alias-float.h>.
32247 (llroundf): Define using libm_alias_float.
32248 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
32249 (logbf): Define using libm_alias_float.
32250 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
32251 (lrintf): Define using libm_alias_float.
32252 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
32253 (lroundf): Define using libm_alias_float.
32254 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
32255 (modff): Define using libm_alias_float.
32256 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
32257 <libm-alias-float.h>.
32258 (nearbyintf): Define using libm_alias_float.
32259 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
32260 <libm-alias-float.h>.
32261 (nextafterf): Define using libm_alias_float.
32262 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
32263 <libm-alias-float.h>.
32264 (nextupf): Define using libm_alias_float.
32265 * sysdeps/ieee754/flt-32/s_remquof.c: Include
32266 <libm-alias-float.h>.
32267 (remquof): Define using libm_alias_float.
32268 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
32269 (rintf): Define using libm_alias_float.
32270 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
32271 <libm-alias-float.h>.
32272 (roundevenf): Define using libm_alias_float.
32273 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
32274 (roundf): Define using libm_alias_float.
32275 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
32276 using libm_alias_float.
32277 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
32278 <libm-alias-float.h>.
32279 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
32280 Define using libm_alias_float.
32281 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
32282 <libm-alias-float.h>.
32283 (sincosf): Define using libm_alias_float.
32284 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
32285 (sinf): Define using libm_alias_float.
32286 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
32287 (tanf): Define using libm_alias_float.
32288 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
32289 (tanhf): Define using libm_alias_float.
32290 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
32291 <libm-alias-float.h>.
32292 (totalorderf): Define using libm_alias_float.
32293 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
32294 <libm-alias-float.h>.
32295 (totalordermagf): Define using libm_alias_float.
32296 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
32297 (truncf): Define using libm_alias_float.
32298 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
32300 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
32303 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32306 math/math.h: Let fpclassify use the builtin in C++ mode, even
32307 when optimazing for size.
32309 2017-09-22 Joseph Myers <joseph@codesourcery.com>
32311 * csu/Makefile (generated): Do not add version-info.h.
32312 (before-compile): Likewise.
32313 (all-Banner-files): Remove variable.
32314 ($(objpfx)version-info.h): Remove rule.
32315 * csu/version.c (banner): Do not include "version-info.h".
32316 * libidn/Banner: Remove.
32317 * manual/contrib.texi (Simon Josefsson): New entry.
32319 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32321 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
32322 Remove conditionals on LDBL_MANT_DIG.
32323 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
32324 (__ieee754_lgammal_r): Likewise.
32326 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32328 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
32330 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
32331 _Float128 and L(). Replace _Float128 with long double and L(x)
32332 with xL, throughout the file.
32333 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
32334 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
32335 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
32336 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
32338 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32340 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
32341 sysdeps/ieee754/ldbl-128ibm.
32342 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
32343 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
32344 of including it. Keep _Float128 and L() intact. These will be
32345 reviewed by a separate patch.
32346 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
32347 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
32348 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
32349 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
32351 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
32354 (__finitef128): Define to __redirect___finitef128.
32355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
32356 (__isinff128): Define to __redirect___isinff128.
32357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
32358 (__isnanf128): Define to __redirect___isnanf128.
32360 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32362 * sysdeps/powerpc/powerpc64le/Makefile
32363 (CFLAGS-tst-strtod-nan-locale.c): New variable.
32364 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
32366 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
32367 Carlos O'Donell <carlos@redhat.com>
32370 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
32371 * stdlib/test-dlclose-exit-race.c: New file.
32372 * stdlib/test-dlclose-exit-race-helper.c: New file.
32373 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
32375 2017-09-21 Joseph Myers <joseph@codesourcery.com>
32377 * crypt/Banner: Remove file.
32378 * nptl/Banner: Likewise.
32379 * resolv/Banner: Likewise.
32380 * soft-fp/Banner: Likewise.
32381 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
32382 ($(objpfx)version.d): Remove dependency on banner.h.
32383 ($(objpfx)version.os): Likewise.
32384 * nptl/version.c (banner): Do not include banner.h.
32385 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
32386 Jelinek and BIND code.
32388 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
32389 Carlos O'Donell <carlos@redhat.com>
32391 * support/xdlfcn.h: New file.
32392 * support/xdlfcn.c: New file.
32393 * support/Makefile (libsupport-routines): Add xdlfcn.
32394 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
32396 2017-09-20 Joseph Myers <joseph@codesourcery.com>
32399 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32400 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
32401 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
32402 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
32403 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
32404 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
32405 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
32406 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
32408 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
32409 Ricky Zhou <rickyz@google.com>
32410 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
32413 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
32415 (__new_exitfn): Fail registration when we finished at_exit processing.
32416 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
32417 * stdlib/on_exit.c (__on_exit): Likewise.
32418 * stdlib/exit.c (__exit_funcs_done): New variable.
32419 (__run_exit_handlers): Use __exit_funcs_lock.
32420 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
32422 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
32423 (test-cxa_atexit-race, test-on_exit-race): New tests.
32424 * stdlib/test-atexit-race-common.c: New file.
32425 * stdlib/test-atexit-race.c: New file.
32426 * stdlib/test-at_quick_exit-race.c: New file.
32427 * stdlib/test-cxa_atexit-race.c: New file.
32428 * stdlib/test-on_exit-race.c: New file.
32430 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
32432 * benchtests/Makefile: Add exp2f and log2f benchmarks.
32433 * benchtests/exp2f-inputs: Copy of expf-inputs.
32434 * benchtests/log2f-inputs: Copy of logf-inputs.
32436 2017-09-19 Joseph Myers <joseph@codesourcery.com>
32438 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
32439 Explicitly take address of first element of array arguments in
32440 call to INLINE_SYSCALL.
32442 2017-09-19 Andreas Schwab <schwab@suse.de>
32445 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
32447 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
32449 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
32450 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
32451 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32452 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
32453 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32454 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
32455 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32456 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
32457 * posix/Makefile (tests): Add tst-fexecve.
32458 * posix/tst-fexecve.c: New file.
32460 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
32462 * benchtests/Makefile: Add logf benchmark.
32463 * benchtests/logf-inputs: Add reduced trace from wrf_r.
32465 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
32467 * benchtests/Makefile: Add expf benchmark.
32468 * benchtests/expf-inputs: Add reduced trace from wrf_r.
32470 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
32472 * csu/Makefile: Add -funwind-tables to libc-start.c.
32473 * debug/Makefile: Add -funwind-tables to backtrace.c.
32474 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
32475 * sysdeps/arm/Makefile: Likewise.
32476 * sysdeps/i386/Makefile: Likewise.
32477 * sysdeps/m68k/Makefile: Likewise.
32478 * sysdeps/mips/Makefile: Likewise.
32479 * sysdeps/nios2/Makefile: Likewise.
32480 * sysdeps/sh/Makefile: Likewise.
32481 * sysdeps/sparc/Makefile: Likewise.
32483 2017-09-19 Joseph Myers <joseph@codesourcery.com>
32485 * benchtests/Makefile (bench-math): Add trunc and truncf.
32486 (CFLAGS-bench-trunc.c): New variable.
32487 (CFLAGS-bench-truncf.c): Likewise.
32488 * benchtests/trunc-inputs: New file.
32489 * benchtests/truncf-inputs: Likewise.
32491 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32493 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
32495 2017-09-18 Joseph Myers <joseph@codesourcery.com>
32497 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
32498 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
32500 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
32501 (exp10l): Define as weak alias.
32502 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
32503 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
32505 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
32506 (remainderl): Define as weak alias.
32508 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
32509 (fmal): Define using libm_alias_ldouble.
32510 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
32511 (acoshl): Define using libm_alias_ldouble.
32512 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
32513 (acosl): Define using libm_alias_ldouble.
32514 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
32515 (asinl): Define using libm_alias_ldouble.
32516 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
32517 (atan2l): Define using libm_alias_ldouble.
32518 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
32519 (atanhl): Define using libm_alias_ldouble.
32520 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
32521 (coshl): Define using libm_alias_ldouble.
32522 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
32523 (exp10l): Define using libm_alias_ldouble.
32524 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
32525 (exp2l): Define using libm_alias_ldouble.
32526 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
32527 (expl): Define using libm_alias_ldouble.
32528 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
32529 (fmodl): Define using libm_alias_ldouble.
32530 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
32531 (hypotl): Define using libm_alias_ldouble.
32532 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
32533 (j0l): Define using libm_alias_ldouble.
32535 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
32536 (j1l): Define using libm_alias_ldouble.
32538 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
32539 (jnl): Define using libm_alias_ldouble.
32541 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
32542 (log10l): Define using libm_alias_ldouble.
32543 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
32544 (log2l): Define using libm_alias_ldouble.
32545 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
32546 (logl): Define using libm_alias_ldouble.
32547 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
32548 (powl): Define using libm_alias_ldouble.
32549 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
32550 (remainderl): Define using libm_alias_ldouble.
32551 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
32552 (sinhl): Define using libm_alias_ldouble.
32553 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
32554 (sqrtl): Define using libm_alias_ldouble.
32555 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
32556 (tgammal): Define using libm_alias_ldouble.
32557 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
32558 (exp10l): Do not use long_double_symbol here.
32559 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
32560 [LIBM_SVID_COMPAT] (remainderl): Likewise.
32561 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
32562 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
32563 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
32564 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
32565 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
32566 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
32567 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
32568 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
32569 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
32570 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
32571 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
32572 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
32573 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
32574 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
32575 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
32576 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
32577 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
32578 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
32579 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
32580 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
32582 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
32584 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
32585 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
32587 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
32589 * io/read.c (read): Add libc_hidden_weak.
32590 * sysdeps/mach/hurd/read.c (read): Likewise.
32591 * io/write.c (write): Likewise.
32592 * sysdeps/mach/hurd/write.c (write): Likewise.
32593 * io/pread64.c (__pread64): Likewise.
32594 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
32595 * posix/pread64.c (__pread64): Add libc_hidden_def.
32597 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
32599 * benchtests/scripts/compare_strings.py: New option -g.
32600 (draw_graph): Print a message that a graph is being generated.
32601 (process_results): Generate graph only if -g is passed.
32602 (main): Process option -g.
32604 * benchtests/scripts/compare_strings.py (process_results):
32605 Better spacing for output.
32607 * benchtests/scripts/compare_strings.py: Use argparse.
32608 * benchtests/README: Document existence of compare_strings.py.
32610 2017-09-15 Joseph Myers <joseph@codesourcery.com>
32612 * math/s_fma.c: Include <libm-alias-double.h>.
32613 (fma): Define using libm_alias_double.
32614 * math/s_nextafter.c: Include <libm-alias-double.h>.
32615 (nextafter): Define using libm_alias_double.
32616 * math/w_acos_compat.c: Include <libm-alias-double.h>.
32617 (acos): Define using libm_alias_double.
32618 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
32619 (aocsh): Define using libm_alias_double.
32620 * math/w_asin_compat.c: Include <libm-alias-double.h>.
32621 (asin): Define using libm_alias_double.
32622 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
32623 (atan2): Define using libm_alias_double.
32624 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
32625 (atanh): Define using libm_alias_double.
32626 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
32627 (cosh): Define using libm_alias_double.
32628 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
32629 (exp10): Define using libm_alias_double.
32630 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
32631 (exp2): Define using libm_alias_double.
32632 * math/w_exp_compat.c: Include <libm-alias-double.h>.
32633 (exp): Define using libm_alias_double.
32634 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
32635 (fmod): Define using libm_alias_double.
32636 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
32637 (hypot): Define using libm_alias_double.
32638 * math/w_j0_compat.c: Include <libm-alias-double.h>.
32639 (j0): Define using libm_alias_double.
32641 * math/w_j1_compat.c: Include <libm-alias-double.h>.
32642 (j1): Define using libm_alias_double.
32644 * math/w_jn_compat.c: Include <libm-alias-double.h>.
32645 (jn): Define using libm_alias_double.
32647 * math/w_log10_compat.c: Include <libm-alias-double.h>.
32648 (log10): Define using libm_alias_double.
32649 * math/w_log2_compat.c: Include <libm-alias-double.h>.
32650 (log2): Define using libm_alias_double.
32651 * math/w_log_compat.c: Include <libm-alias-double.h>.
32652 (log): Define using libm_alias_double.
32653 * math/w_pow_compat.c: Include <libm-alias-double.h>.
32654 (pow): Define using libm_alias_double.
32655 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
32656 (remainder): Define using libm_alias_double.
32657 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
32658 (sinh): Define using libm_alias_double.
32659 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
32660 (sqrt): Define using libm_alias_double.
32661 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
32662 (tgamma): Define using libm_alias_double.
32663 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
32664 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
32665 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
32666 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
32667 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
32668 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
32669 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
32670 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
32671 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
32672 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
32673 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
32674 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
32675 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
32676 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
32677 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
32678 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
32679 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
32680 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
32681 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
32682 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
32683 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
32684 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
32685 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
32686 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
32687 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
32689 * math/e_acoshl.c: Remove.
32690 * math/e_acosl.c: Likewise.
32691 * math/e_asinl.c: Likewise.
32692 * math/e_atan2l.c: Likewise.
32693 * math/e_atanhl.c: Likewise.
32694 * math/e_coshl.c: Likewise.
32695 * math/e_expl.c: Likewise.
32696 * math/e_fmodl.c: Likewise.
32697 * math/e_gammal_r.c: Likewise.
32698 * math/e_hypotl.c: Likewise.
32699 * math/e_j0l.c: Likewise.
32700 * math/e_j1l.c: Likewise.
32701 * math/e_jnl.c: Likewise.
32702 * math/e_lgammal_r.c: Likewise.
32703 * math/e_log10l.c: Likewise.
32704 * math/e_log2l.c: Likewise.
32705 * math/e_logl.c: Likewise.
32706 * math/e_powl.c: Likewise.
32707 * math/e_rem_pio2l.c: Likewise.
32708 * math/e_sinhl.c: Likewise.
32709 * math/e_sqrtf128.c: Likewise.
32710 * math/e_sqrtl.c: Likewise.
32711 * math/k_cosl.c: Likewise.
32712 * math/k_sinl.c: Likewise.
32713 * math/k_tanl.c: Likewise.
32714 * math/s_asinhl.c: Likewise.
32715 * math/s_atanl.c: Likewise.
32716 * math/s_cbrtl.c: Likewise.
32717 * math/s_erfl.c: Likewise.
32718 * math/s_expm1l.c: Likewise.
32719 * math/s_log1pl.c: Likewise.
32720 * math/s_tanhl.c: Likewise.
32722 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32725 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
32726 [$(subdir) = math] (sysdep_calls): New variable. Has the
32727 previous contents of sysdep_routines, but re-sorted..
32728 [$(subdir) = math] (sysdep_routines): Re-use the contents from
32730 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
32731 defined in sysdep_calls and replace by the respective m_* names.
32732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
32733 (compat_symbol): Undefine to avoid duplicated compat symbols in
32736 2017-09-15 Joseph Myers <joseph@codesourcery.com>
32738 * math/s_fmaf.c: Include <libm-alias-float.h>.
32739 (fmaf): Define using libm_alias_float.
32740 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
32741 (acosf): Define using libm_alias_float.
32742 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
32743 (acoshf): Define using libm_alias_float.
32744 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
32745 (asinf): Define using libm_alias_float.
32746 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
32747 (atan2f): Define using libm_alias_float.
32748 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
32749 (atanhf): Define using libm_alias_float.
32750 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
32751 (coshf): Define using libm_alias_float.
32752 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
32753 (exp10f): Define using libm_alias_float.
32754 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
32755 (fmodf): Define using libm_alias_float.
32756 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
32757 (hypotf): Define using libm_alias_float.
32758 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
32759 (j0f): Define using libm_alias_float.
32761 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
32762 (j1f): Define using libm_alias_float.
32764 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
32765 (jnf): Define using libm_alias_float.
32767 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
32768 (log10f): Define using libm_alias_float.
32769 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
32770 (log2f): Define using libm_alias_float.
32771 * math/w_logf_compat.c: Include <libm-alias-float.h>.
32772 (logf): Define using libm_alias_float.
32773 * math/w_powf_compat.c: Include <libm-alias-float.h>.
32774 (powf): Define using libm_alias_float.
32775 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
32776 (remainderf): Define using libm_alias_float.
32777 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
32778 (sinhf): Define using libm_alias_float.
32779 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
32780 (sqrtf): Define using libm_alias_float.
32781 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
32782 (tgammaf): Define using libm_alias_float.
32784 2017-09-14 Joseph Myers <joseph@codesourcery.com>
32786 * include/math.h (roundeven): Change hidden_proto call to
32788 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
32790 [NO_LONG_DOUBLE] (__j0l): New strong alias.
32791 (y0): Rename to __y0 and define as weak alias.
32792 [NO_LONG_DOUBLE] (__y0l): New strong alias.
32793 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
32795 (y0f): Rename to __y0f and define as weak alias.
32796 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
32798 [NO_LONG_DOUBLE] (__j1l): New strong alias.
32799 (y1): Rename to __y1 and define as weak alias.
32800 [NO_LONG_DOUBLE] (__y1l): New strong alias.
32801 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
32803 (y1f): Rename to __y1f and define as weak alias.
32804 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
32806 [NO_LONG_DOUBLE] (__jnl): New strong alias.
32807 (yn): Rename to __yn and define as weak alias.
32808 [NO_LONG_DOUBLE] (__ynl): New strong alias.
32809 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
32811 (ynf): Rename to __ynf and define as weak alias.
32812 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
32813 (fromfp): Define as weak alias.
32814 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
32815 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
32816 (fromfpx): Define as weak alias.
32817 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
32818 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
32819 __getpayload and define as weak alias.
32820 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
32821 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
32822 __roundeven and define as weak alias.
32823 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
32824 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
32826 (setpayload): Define as weak alias.
32827 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
32828 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
32830 (setpayloadsig): Define as weak alias.
32831 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
32832 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
32833 __totalorder and define as weak alias.
32834 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
32835 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
32836 to __totalordermag and define as weak alias.
32837 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
32838 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
32839 (ufromfp): Define as weak alias.
32840 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
32841 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
32843 (ufromfpx): Define as weak alias.
32844 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
32845 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
32846 Rename to __getpayload and define as weak alias.
32847 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
32848 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
32849 Rename to __roundeven and define as weak alias.
32850 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
32851 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
32852 Rename to __totalorder and define as weak alias.
32853 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
32854 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
32855 (totalordermag): Rename to __totalordermag and define as weak
32857 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
32858 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
32860 (__roundevenl): Likewise.
32861 (__totalorderl): Likewise.
32862 (__totalordermagl): Likewise
32863 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
32865 (fromfpf128): Define as weak alias.
32866 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
32868 (fromfpxf128): Define as weak alias.
32869 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
32871 (setpayloadf128): Define as weak alias.
32872 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
32873 __setpayloadsigf128.
32874 (setpayloadsigf128): Define as weak alias.
32875 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
32877 (ufromfpf128): Define as weak alias.
32878 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
32880 (ufromfpxf128): Define as weak alias.
32881 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
32882 (fromfpf): Define as weak alias.
32883 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
32885 (fromfpxf): Define as weak alias.
32886 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
32887 __getpayloadf and define as weak alias.
32888 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
32889 __roundevenf and define as weak alias.
32890 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
32892 (setpayloadf): Define as weak alias.
32893 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
32895 (setpayloadsigf): Define as weak alias.
32896 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
32897 __totalorderf and define as weak alias.
32898 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
32899 Rename to __totalordermagf and define as weak alias.
32900 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
32902 (ufromfpf): Define as weak alias.
32903 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
32905 (ufromfpxf): Define as weak alias.
32906 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
32908 (fromfpl): Define as weak alias.
32909 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
32911 (fromfpxl): Define as weak alias.
32912 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
32913 to __getpayloadl and define as weak alias.
32914 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
32915 __roundevenl and define as weak alias.
32916 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
32918 (setpayloadl): Define as weak alias.
32919 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
32921 (setpayloadsigl): Define as weak alias.
32922 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
32923 to __totalorderl and define as weak alias.
32924 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
32925 Rename to __totalordermagl and define as weak alias.
32926 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
32928 (ufromfpl): Define as weak alias.
32929 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
32931 (ufromfpxl): Define as weak alias.
32932 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
32934 (fromfpl): Define as weak alias.
32935 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
32937 (fromfpxl): Define as weak alias.
32938 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
32939 Rename to __getpayloadl and define as weak alias.
32940 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
32941 to __roundevenl and define as weak alias. Call __roundeven
32942 instead of roundeven.
32943 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
32945 (setpayloadl): Define as weak alias.
32946 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
32948 (setpayloadsigl): Define as weak alias.
32949 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
32950 Rename to __totalorderl and define as weak alias.
32951 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
32952 Rename to __totalordermagl and define as weak alias.
32953 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
32955 (ufromfpl): Define as weak alias.
32956 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
32958 (ufromfpxl): Define as weak alias.
32959 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
32961 (fromfpl): Define as weak alias.
32962 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
32964 (fromfpxl): Define as weak alias.
32965 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
32966 __getpayloadl and define as weak alias.
32967 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
32968 __roundevenl and define as weak alias.
32969 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
32971 (setpayloadl): Define as weak alias.
32972 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
32974 (setpayloadsigl): Define as weak alias.
32975 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
32976 __totalorderl and define as weak alias.
32977 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
32978 Rename to __totalordermagl and define as weak alias.
32979 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
32981 (ufromfpl): Define as weak alias.
32982 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
32984 (ufromfpxl): Define as weak alias.
32986 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
32988 * benchtests/bench-string.h (realloc_bufs): New function.
32989 (test_init): Call it.
32990 * benchtests/bench-memset-large.c (do_test): Likewise.
32991 * benchtests/bench-memset.c (do_test): Likewise.
32993 * benchtests/bench-memset-large.c: Print output in JSON
32995 * benchtests/bench-memset.c: Likewise.
32997 2017-09-14 Mike FABIAN <mfabian@redhat.com>
33000 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
33001 * iconvdata/Makefile: Add IBM858.
33002 * iconvdata/gconv-modules: Likewise.
33003 * iconvdata/tst-tables.sh: Likewise.
33004 * iconvdata/ibm858.c: New file.
33005 * localedata/charmaps/IBM858: Likewise.
33007 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
33010 * locales/niu_NZ (LC_TIME): copy "niu_NU".
33011 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
33013 2017-09-14 Mike FABIAN <mfabian@redhat.com>
33016 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
33017 and add tel_int_fmt.
33019 2017-09-14 Joseph Myers <joseph@codesourcery.com>
33021 * sysdeps/generic/libm-alias-float128.h: New file.
33022 * sysdeps/generic/math-type-macros-float128.h: Include
33023 <libm-alias-float128.h>.
33024 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
33026 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33028 * sysdeps/generic/libm-alias-ldouble.h: New file.
33029 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
33030 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
33031 * sysdeps/generic/math-type-macros-ldouble.h: Include
33032 <libm-alias-ldouble.h>.
33033 [!declare_mgen_alias] (declare_mgen_alias): Define to use
33034 libm_alias_ldouble.
33036 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
33038 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
33039 * math/w_exp_compat.c: ... here.
33040 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
33041 * math/w_expf_compat.c: ... here.
33042 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
33043 * math/w_expl_compat.c: ... here.
33044 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
33045 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
33046 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
33047 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33049 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33051 * math/w_scalbln_template.c (strong_alias): Do not undefine and
33053 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
33055 (ldexpl): Only define as compat symbol for libc, not libm.
33056 (scalbnl): Define as compat symbol for libc here.
33057 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
33058 define for [IS_IN (libc)].
33059 (__ldexpl_2): Remove alias.
33060 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
33061 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
33062 name in long_double_symbol call.
33063 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
33064 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
33065 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
33066 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
33067 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
33069 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
33070 Define as compat symbol.
33072 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33074 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
33075 * sysdeps/unix/sysv/linux/alpha/Makefile
33076 [$(subdir) = csu] (sysdep_routines): Remove rule.
33078 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33080 * sysdeps/generic/libm-alias-double.h: New file.
33081 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
33082 * sysdeps/generic/math-type-macros-double.h: Include
33083 <libm-alias-double.h>.
33084 [declare_mgen_alias] (declare_mgen_alias): Define to use
33086 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
33087 (M_LIBM_NEED_COMPAT): Remove macro.
33088 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
33089 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
33090 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
33092 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33093 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33094 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33095 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33096 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33097 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33098 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33099 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33100 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33101 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33102 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33103 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33104 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33105 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33106 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33107 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33108 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33109 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33110 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33111 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33112 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33113 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33114 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33115 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33116 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33117 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33118 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33119 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
33120 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
33122 (declare_mgen_alias): New macro.
33123 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
33124 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
33125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
33126 (M_LIBM_NEED_COMPAT): Remove macro.
33127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
33128 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
33129 <first-versions.h>.
33130 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
33131 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
33133 2017-09-12 Joseph Myers <joseph@codesourcery.com>
33135 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
33136 (declare_mgen_alias_2): Remove.
33137 * sysdeps/generic/math-type-macros-double.h
33138 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
33140 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
33142 (ldexp): Define with declare_mgen_alias.
33143 (scalbn): Likewise.
33145 2017-09-12 Steve Ellcey <sellcey@cavium.com>
33147 * grp/initgroups.c: Include config.h.
33148 (DEFAULT_CONFIG): New macro.
33149 (internal_getgrouplist): Use DEFAULT_CONFIG.
33150 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33151 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
33152 (DEFAULT_DEFCONFIG): New macro.
33153 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
33154 * nss/grp-lookup.c: Include config.h
33155 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
33156 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
33157 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
33158 * manual/nss.texi: Update default values section.
33160 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
33163 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
33165 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
33166 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
33167 Handle MathVec_Prefer_No_AVX512.
33168 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
33169 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
33172 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
33174 * posix/sched_primax.c (__sched_get_priority_max): Add
33176 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
33177 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
33178 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
33179 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
33180 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
33181 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
33182 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
33183 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
33186 2017-09-11 Joseph Myers <joseph@codesourcery.com>
33188 * sysdeps/generic/libm-alias-float.h: New file.
33189 * sysdeps/generic/math-type-macros-float.h: Include
33190 <libm-alias-float.h>.
33191 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
33193 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
33196 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
33197 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
33198 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
33199 (HWCAP_IMPORTANT): Likewise.
33200 (HWCAP_X86_64): New enum.
33201 (HWCAP_X86_AVX512_1): Updated.
33202 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
33203 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
33204 (modules-names): Add x86_64/tst-x86_64mod-1.
33205 (LDFLAGS-tst-x86_64mod-1.so): New.
33206 ($(objpfx)tst-x86_64-1): Likewise.
33207 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
33208 (tst-x86_64-1-clean): Likewise.
33209 * sysdeps/x86_64/tst-x86_64-1.c: New file.
33210 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
33212 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
33214 * po/sv.po: Update translations.
33215 * po/fr.po: Likewise.
33217 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33219 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
33221 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
33223 * elf/rtld-Rules: Fix $(error) use.
33225 2017-09-09 Mike FABIAN <mfabian@redhat.com>
33228 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
33229 * locale/iso-639.def: Change “Bengali” to “Bangla”.
33230 * localedata/locales/bn_BD: “Bengali” was still used in some
33231 comments. Change it to “Bangla”.
33233 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
33235 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
33237 2017-09-08 Steve Ellcey <sellcey@cavium.com>
33239 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
33240 thunderx2t99p1 to list of cpu names.
33241 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
33242 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
33244 2017-09-08 Steve Ellcey <sellcey@cavium.com>
33246 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
33247 Use strcmp instead of tunable_is_name.
33249 2017-09-08 Joseph Myers <joseph@codesourcery.com>
33251 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33252 (F_GET_RW_HINT): New macro.
33253 [__USE_GNU] (F_SET_RW_HINT): Likewise.
33254 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
33255 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
33256 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
33257 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
33258 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
33259 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
33260 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
33261 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
33263 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33264 (F_ADD_SEALS): New macro.
33265 [__USE_GNU] (F_GET_SEALS): Likewise.
33266 [__USE_GNU] (F_SEAL_SEAL): Likewise.
33267 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
33268 [__USE_GNU] (F_SEAL_GROW): Likewise.
33269 [__USE_GNU] (F_SEAL_WRITE): Likewise.
33271 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33273 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
33274 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
33275 * posix/glob_internal.h (__glob_pattern_type):
33276 * posix/glob.c (glob):
33277 * posix/glob_pattern_p.c (__glob_pattern_p):
33280 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
33281 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
33282 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
33283 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
33284 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
33285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
33286 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
33287 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
33288 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
33289 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33290 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
33291 * sysdeps/wordsize-64/glob.c: Likewise.
33292 * sysdeps/wordsize-64/glob64.c: Likewise.
33293 * sysdeps/wordsize-64/globfree.c: Likewise.
33294 * sysdeps/wordsize-64/globfree64.c: Likewise.
33295 * sysdeps/unix/sysv/linux/glob.c: New file.
33296 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
33297 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
33298 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
33299 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
33300 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
33301 adds !GLOB_NO_OLD_VERSION as an extra condition.
33302 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
33303 using relative path instead of absolute one.
33304 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
33305 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33306 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33307 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
33308 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
33309 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
33312 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
33313 (glob): Use the same scratch buffer for both getlogin_r and
33314 getpwnam_r. Don’t require preallocation of the login name. This
33315 simplifies storage allocation, and corrects the handling of
33319 * posix/glob.c (glob): Port recent patches to platforms
33320 lacking getpwnam_r.
33321 (glob): Fix longstanding misuse of errno after getpwnam_r, which
33322 returns an error number rather than setting errno.
33324 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
33325 instead of GCC extension.
33326 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
33327 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
33328 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
33332 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
33333 * posix/bug-glob1.c: Remove file.
33334 * posix/tst-glob_symlinks.c: New file.
33335 * posix/glob.c (__lstat64): New macro.
33336 (is_dir): New function.
33337 (glob, glob_in_dir): Match symlinks even if they are dangling.
33338 (link_stat, link_exists_p): Remove. All uses removed.
33342 * posix/glob.c (struct readdir_result): Remove skip_entry member.
33343 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
33348 * posix/Makefile (routines): Add globfree, globfree64, and
33350 * posix/flexmember.h: New file.
33351 * posix/glob_internal.h: Likewise.
33352 * posix/glob_pattern_p.c: Likewise.
33353 * posix/globfree.c: Likewise.
33354 * posix/globfree64.c: Likewise.
33355 * sysdeps/gnu/globfree64.c: Likewise.
33356 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
33357 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
33358 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
33359 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
33360 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
33361 * sysdeps/wordsize-64/globfree.c: Likewise.
33362 * sysdeps/wordsize-64/globfree64.c: Likewise.
33363 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
33364 [NDEBUG): Remove comments.
33365 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
33366 (dirent_type): New type. Use uint_fast8_t not
33367 uint8_t, as C99 does not require uint8_t.
33368 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
33369 (struct readdir_result): Use dirent_type. Do not define skip_entry
33370 unless it is needed; this saves a byte on platforms lacking d_ino.
33371 (readdir_result_type, readdir_result_skip_entry):
33372 New functions, replacing ...
33373 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
33374 these functions, which were removed. This makes the callers
33375 easier to read. All callers changed.
33376 (D_INO_TO_RESULT): Now empty if there is no d_ino.
33377 (size_add_wrapv, glob_use_alloca): New static functions.
33378 (glob, glob_in_dir): Check for size_t overflow in several places,
33379 and fix some size_t checks that were not quite right.
33380 Remove old code using SHELL since Bash no longer
33382 (glob, prefix_array): Separate MS code better.
33383 (glob_in_dir): Remove old Amiga and VMS code.
33384 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
33386 (glob_in_dir): Do not rely on undefined behavior in accessing
33387 struct members beyond their bounds. Use a flexible array member
33389 (link_stat): Rename from link_exists2_p and return -1/0 instead of
33390 0/1. Caller changed.
33391 (glob): Fix memory leaks.
33392 * posix/glob64 (globfree64): Move to separate file.
33393 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
33394 (globfree64): Remove hidden alias.
33395 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
33397 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
33399 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
33401 Move compat code to separate file.
33402 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
33405 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
33407 * resolv/tst-resolv-qtypes.c (domain): Changed to
33408 "const char domain[] =".
33410 2017-09-07 Joseph Myers <joseph@codesourcery.com>
33412 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
33415 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
33416 (TCP_MD5SIG_EXT): Likewise.
33417 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
33418 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
33419 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
33421 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
33423 2017-09-07 Mike FABIAN <mfabian@redhat.com>
33425 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
33427 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
33430 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
33432 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
33434 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
33435 before assuming that the file is empty. Avoid testing buffer content
33438 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33441 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
33443 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
33445 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
33447 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
33449 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
33451 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
33453 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
33456 2017-09-06 Florian Weimer <fweimer@redhat.com>
33458 * malloc/dynarray_emplace_enlarge.c
33459 (__libc_dynarray_emplace_enlarge): Add missing else.
33461 2017-09-06 Florian Weimer <fweimer@redhat.com>
33464 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
33465 case of failure to obtain the global conf object.
33467 2017-09-06 Florian Weimer <fweimer@redhat.com>
33470 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
33471 dynarray allocation failure.
33473 2017-09-06 Florian Weimer <fweimer@redhat.com>
33475 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
33476 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
33477 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
33479 (response): Call them. Add 'p', '6' flag processing.
33480 (test_reverse): New function.
33481 (test_get2_any): Call it.
33482 (test_no_inet6): Add 'p' test.
33483 (test_inet6): Likewise.
33485 2017-09-06 Florian Weimer <fweimer@redhat.com>
33487 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
33488 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
33490 (test_gai): Adjust query names. Add additional tests.
33491 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
33492 test_get2. Adjust query names. Add additional tests.
33493 (test_no_inet6): New function, extracted from threadfunc.
33494 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
33495 Add additional tests.
33497 2017-09-06 Mike FABIAN <mfabian@redhat.com>
33500 * localedata/unicode-gen/utf8_gen.py: Set the width for
33501 characters with Prepended_Concatenation_Mark property to 1
33502 * localedata/charmaps/UTF-8: Updated using the improved script.
33504 2017-09-06 Mike FABIAN <mfabian@redhat.com>
33507 * localedata/unicode-gen/utf8_gen.py: Improve the script to
33508 use the range notation for all ranges of neighbouring characters
33509 with the same width.
33511 2017-09-05 Joseph Myers <joseph@codesourcery.com>
33513 * sysdeps/generic/math-type-macros-double.h: Include
33514 <math-svid-compat.h>.
33515 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
33516 * sysdeps/generic/math-type-macros-float.h: Include
33517 <math-svid-compat.h>.
33518 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
33519 * sysdeps/generic/math-type-macros-ldouble.h: Include
33520 <math-svid-compat.h>.
33521 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
33522 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
33524 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
33525 * math/w_acosf_compat.c: Likewise.
33526 * math/w_acosh_compat.c: Likewise.
33527 * math/w_acoshf_compat.c: Likewise.
33528 * math/w_acoshl_compat.c: Likewise.
33529 * math/w_acosl_compat.c: Likewise.
33530 * math/w_asin_compat.c: Likewise.
33531 * math/w_asinf_compat.c: Likewise.
33532 * math/w_asinl_compat.c: Likewise.
33533 * math/w_atan2_compat.c: Likewise.
33534 * math/w_atan2f_compat.c: Likewise.
33535 * math/w_atan2l_compat.c: Likewise.
33536 * math/w_atanh_compat.c: Likewise.
33537 * math/w_atanhf_compat.c: Likewise.
33538 * math/w_atanhl_compat.c: Likewise.
33539 * math/w_cosh_compat.c: Likewise.
33540 * math/w_coshf_compat.c: Likewise.
33541 * math/w_coshl_compat.c: Likewise.
33542 * math/w_exp10_compat.c: Likewise.
33543 * math/w_exp10f_compat.c: Likewise.
33544 * math/w_exp10l_compat.c: Likewise.
33545 * math/w_exp2_compat.c: Likewise.
33546 * math/w_exp2f_compat.c: Likewise.
33547 * math/w_exp2l_compat.c: Likewise.
33548 * math/w_fmod_compat.c: Likewise.
33549 * math/w_fmodf_compat.c: Likewise.
33550 * math/w_fmodl_compat.c: Likewise.
33551 * math/w_hypot_compat.c: Likewise.
33552 * math/w_hypotf_compat.c: Likewise.
33553 * math/w_hypotl_compat.c: Likewise.
33554 * math/w_j0_compat.c: Likewise.
33555 * math/w_j0f_compat.c: Likewise.
33556 * math/w_j0l_compat.c: Likewise.
33557 * math/w_j1_compat.c: Likewise.
33558 * math/w_j1f_compat.c: Likewise.
33559 * math/w_j1l_compat.c: Likewise.
33560 * math/w_jn_compat.c: Likewise.
33561 * math/w_jnf_compat.c: Likewise.
33562 * math/w_jnl_compat.c: Likewise.
33563 * math/w_lgamma_r_compat.c: Likewise.
33564 * math/w_lgammaf_r_compat.c: Likewise.
33565 * math/w_lgammal_r_compat.c: Likewise.
33566 * math/w_log10_compat.c: Likewise.
33567 * math/w_log10f_compat.c: Likewise.
33568 * math/w_log10l_compat.c: Likewise.
33569 * math/w_log2_compat.c: Likewise.
33570 * math/w_log2f_compat.c: Likewise.
33571 * math/w_log2l_compat.c: Likewise.
33572 * math/w_log_compat.c: Likewise.
33573 * math/w_logf_compat.c: Likewise.
33574 * math/w_logl_compat.c: Likewise.
33575 * math/w_pow_compat.c: Likewise.
33576 * math/w_powf_compat.c: Likewise.
33577 * math/w_powl_compat.c: Likewise.
33578 * math/w_remainder_compat.c: Likewise.
33579 * math/w_remainderf_compat.c: Likewise.
33580 * math/w_remainderl_compat.c: Likewise.
33581 * math/w_sinh_compat.c: Likewise.
33582 * math/w_sinhf_compat.c: Likewise.
33583 * math/w_sinhl_compat.c: Likewise.
33584 * math/w_sqrt_compat.c: Likewise.
33585 * math/w_sqrtf_compat.c: Likewise.
33586 * math/w_sqrtl_compat.c: Likewise.
33587 * math/w_tgamma_compat.c: Likewise.
33588 * math/w_tgammaf_compat.c: Likewise.
33589 * math/w_tgammal_compat.c: Likewise.
33590 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
33591 [LIBM_SVID_COMPAT].
33592 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
33593 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
33594 [LIBM_SVID_COMPAT].
33595 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
33596 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
33597 [LIBM_SVID_COMPAT].
33598 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
33599 * sysdeps/i386/fpu/w_sqrt.c: New file.
33600 * sysdeps/ia64/fpu/w_acos.c: Likewise.
33601 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
33602 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
33603 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
33604 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
33605 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
33606 * sysdeps/ia64/fpu/w_asin.c: Likewise.
33607 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
33608 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
33609 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
33610 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
33611 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
33612 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
33613 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
33614 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
33615 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
33616 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
33617 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
33618 * sysdeps/ia64/fpu/w_exp.c: Likewise.
33619 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
33620 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
33621 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
33622 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
33623 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
33624 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
33625 * sysdeps/ia64/fpu/w_expf.c: Likewise.
33626 * sysdeps/ia64/fpu/w_expl.c: Likewise.
33627 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
33628 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
33629 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
33630 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
33631 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
33632 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
33633 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
33634 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
33635 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
33636 * sysdeps/ia64/fpu/w_log.c: Likewise.
33637 * sysdeps/ia64/fpu/w_log10.c: Likewise.
33638 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
33639 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
33640 * sysdeps/ia64/fpu/w_log2.c: Likewise.
33641 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
33642 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
33643 * sysdeps/ia64/fpu/w_logf.c: Likewise.
33644 * sysdeps/ia64/fpu/w_logl.c: Likewise.
33645 * sysdeps/ia64/fpu/w_pow.c: Likewise.
33646 * sysdeps/ia64/fpu/w_powf.c: Likewise.
33647 * sysdeps/ia64/fpu/w_powl.c: Likewise.
33648 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
33649 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
33650 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
33651 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
33652 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
33653 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
33654 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
33655 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
33656 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
33657 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
33658 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
33659 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
33660 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
33661 [LIBM_SVID_COMPAT].
33662 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
33663 * sysdeps/ieee754/k_standard.c: Likewise.
33664 * sysdeps/ieee754/k_standardf.c: Likewise.
33665 * sysdeps/ieee754/k_standardl.c: Likewise.
33666 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
33667 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
33668 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
33669 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
33670 long_double_symbol call on [LIBM_SVID_COMPAT].
33671 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
33672 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
33673 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
33674 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
33675 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
33676 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
33677 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
33678 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
33679 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
33680 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
33681 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
33682 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
33683 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
33684 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
33685 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
33686 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
33687 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
33688 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
33689 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
33690 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
33691 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
33692 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
33694 2017-09-05 Steve Ellcey <sellcey@cavium.com>
33696 * include/shlib-compat.h (TEST_COMPAT): New Macro.
33697 * malloc/tst-mallocstate.c: Convert from test-skeleton
33698 to test-driver. Ifdef code using TEST_COMPAT macro.
33699 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
33700 * math/test-matherr.c: Likewise.
33702 2017-09-05 Joseph Myers <joseph@codesourcery.com>
33705 * debug/pcprofiledump.c (main): Use byte-swapped mask when
33706 comparing word with byte-swapped constant.
33708 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
33711 * locale/iso-639.def: add Miskito.
33712 * localedata/SUPPORTED: Add miq_NI/UTF-8.
33713 * localedata/locales/miq_NI: New file.
33715 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
33718 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
33719 (__mkdir): Likewise.
33720 * io/chmod.c (__chmod): Add libc_hidden_def.
33721 * io/mkdir.c (__mkdir): Likewise.
33722 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
33723 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
33724 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
33725 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
33727 2017-09-04 Joseph Myers <joseph@codesourcery.com>
33729 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
33733 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
33734 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
33736 2017-09-04 Florian Weimer <fweimer@redhat.com>
33738 * math/math.h: Issue warning if log is defined.
33740 2017-09-04 Joseph Myers <joseph@codesourcery.com>
33742 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
33743 kernel version to 4.13.
33745 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
33747 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
33748 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
33750 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
33751 just <bits/types.h>.
33752 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
33753 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
33754 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
33755 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
33756 * misc/preadv2.c: Include <errno.h>.
33757 * misc/preadv64v2.c: Include <errno.h>.
33758 * misc/pwritev2.c: Include <errno.h>.
33759 * misc/pwritev64v2.c: Include <errno.h>.
33760 * sysdeps/posix/preadv2.c: Include <errno.h>.
33761 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
33762 Fix <unistd.h> inclusion.
33763 * sysdeps/posix/pwritev2.c: Include <errno.h>.
33764 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
33765 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
33766 __strtoul_internal): New functions.
33767 * sysdeps/posix/pause.c: Include <sigsetops.h>.
33768 * sysdeps/posix/system.c: Include <sigsetops.h>.
33769 * sysdeps/mach/hurd/i386/Makefile
33770 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
33771 [$(subdir) = csu] (sysdep-only-routines): Likewise.
33772 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
33773 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
33774 __feraiseexcept_renamed to feraiseexcept instead of
33775 __GI_feraiseexcept.
33776 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
33777 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
33778 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
33779 RWF_NOWAIT): Define to 0 if undefined already.
33780 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
33782 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
33783 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
33785 2017-09-01 Joseph Myers <joseph@codesourcery.com>
33787 * manual/math.texi (pow10): Do not document.
33788 (pow10f): Likewise.
33789 (pow10l): Likewise.
33790 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
33791 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
33792 * math/libm-test-exp10.inc (pow10_test): Remove.
33793 (do_test): Do not call pow10.
33794 * math/w_exp10_compat.c (pow10): Make into compat symbol.
33795 [NO_LONG_DOUBLE] (pow10l): Likewise.
33796 * math/w_exp10f_compat.c (pow10f): Likewise.
33797 * math/w_exp10l_compat.c (pow10l): Likewise.
33798 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
33799 (pow10): Make into compat symbol.
33800 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
33801 (pow10f): Make into compat symbol.
33802 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
33803 (pow10l): Make into compat symbol.
33804 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
33806 (CFLAGS-nldbl-pow10.c): Remove variable..
33807 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
33808 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
33809 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
33810 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
33811 Undefine and redefine.
33812 (pow10l): Make into compat symbol.
33813 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
33814 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
33815 * sysdeps/arm/libm-test-ulps: Likewise.
33816 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
33817 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
33818 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
33819 * sysdeps/microblaze/libm-test-ulps: Likewise.
33820 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
33821 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
33822 * sysdeps/nios2/libm-test-ulps: Likewise.
33823 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33824 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
33825 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33826 * sysdeps/sh/libm-test-ulps: Likewise.
33827 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33828 * sysdeps/tile/libm-test-ulps: Likewise.
33829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33831 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
33833 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
33835 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
33837 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
33838 "../ChangeLog.old/ChangeLog.8".
33839 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
33840 "../ChangeLog.old/ChangeLog.14".
33842 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
33844 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
33847 2017-09-01 Joseph Myers <joseph@codesourcery.com>
33849 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
33851 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
33853 * csu/version.c (banner): Remove "by Roland McGrath et al.".
33854 * nptl/Banner: Remove "by Ulrich Drepper et al.".
33856 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
33858 * stdlib/tst-atexit-common.c (do_test): Test support for at least
33859 32 atexit handlers.
33861 2017-09-01 Zack Weinberg <zackw@panix.com>
33863 * math/math.h (HUGE_VAL): Improve commentary.
33865 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33866 Andreas Schwab <schwab@suse.de>
33869 * include/stdio.h (__gen_tempfd): New function.
33870 * stdio-common/Makefile (routines): Add gentempfd.
33871 * stdio-common/gentempfd.c: New file.
33872 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
33873 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
33874 unnamed file first.
33876 2017-09-01 Florian Weimer <fweimer@redhat.com>
33880 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
33881 result to determine success or failure, not the errno value.
33882 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
33883 (tst-nss-files-hosts-erange): Link with -ldl.
33884 * nss/tst-nss-files-hosts-erange.c: New file.
33885 * nss/tst-resolv-basic.c (response): Handle nodata.example.
33886 (do_test): Add NO_DATA tests.
33887 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
33888 (do_test): Call it.
33890 2017-09-01 Florian Weimer <fweimer@redhat.com>
33893 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
33894 coming from gethostbyname2_r.
33896 2017-09-01 Florian Weimer <fweimer@redhat.com>
33898 * support/namespace.h (struct support_chroot_configuration): Add
33900 (struct support_chroot): Add path_hosts, path_host_conf.
33901 * support/support_chroot.c (write_file): New function.
33902 (support_chroot_create): Call it to process /etc/resolv.conf,
33903 /etc/hosts, /etc/host.conf.
33904 (support_chroot_free): Update.
33906 2017-09-01 Florian Weimer <fweimer@redhat.com>
33908 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
33909 status indicates it is set.
33911 2017-09-01 Florian Weimer <fweimer@redhat.com>
33914 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
33915 function lookup failures more reliable.
33917 2017-09-01 Florian Weimer <fweimer@redhat.com>
33919 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
33920 (getcanonname): Likewise.
33921 (gaih_inet): Likewise.
33923 2017-09-01 Florian Weimer <fweimer@redhat.com>
33925 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
33926 (getcanonname): Likewise.
33927 (gaih_inet): Likewise.
33929 2017-08-31 Steve Ellcey <sellcey@cavium.com>
33930 Richard Henderson <rth@twiddle.net>
33932 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
33933 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
33934 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
33935 (IREG_SIZE, OREG_SIZE): New macros.
33936 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
33937 (IREG_SIZE, OREG_SIZE): New macros.
33938 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
33939 (IREG_SIZE): New macro.
33940 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
33941 (IREG_SIZE): New macro.
33942 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
33944 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
33945 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
33946 (__CONCATX): Handle exceptions correctly on large values that may
33948 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
33949 Initialize if not already set.
33950 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
33952 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33954 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
33955 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
33957 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
33959 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
33961 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
33963 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
33965 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
33967 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
33969 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
33970 (NO_CANCELLATION): Likewise.
33971 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
33973 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
33975 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
33977 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
33978 (NO_CANCELLATION): Likewise.
33979 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
33980 (NO_CANCELLATION): Likewise.
33981 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
33983 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
33985 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
33987 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
33989 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
33991 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
33992 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
33994 2017-08-31 Steve Ellcey <sellcey@cavium.com>
33996 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
33999 2017-08-31 Florian Weimer <fweimer@redhat.com>
34001 * include/libc-symbols.h (internal_function): Remove.
34003 2017-08-31 Florian Weimer <fweimer@redhat.com>
34005 * stdlib/fmtmsg.c (internal_addseverity): Remove
34008 2017-08-31 Florian Weimer <fweimer@redhat.com>
34010 * stdio-common/printf_fp.c (group_number): Remove
34012 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
34014 2017-08-31 Florian Weimer <fweimer@redhat.com>
34016 * posix/fnmatch.c (internal_function): Remove definition.
34017 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
34018 * posix/regcomp.c (peek_token, init_word_char)
34019 (duplicate_node_closure, fetch_token, peek_token)
34020 (peek_token_bracket, build_range_exp, build_collating_symbol):
34022 * posix/regex_internal.c (re_string_construct_common)
34023 (create_ci_newstate, create_cd_newstate, re_string_allocate)
34024 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
34025 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
34026 (re_string_translate_buffer, re_string_reconstruct)
34027 (re_string_peek_byte_case, re_string_fetch_byte_case)
34028 (re_string_destruct, re_string_context_at, re_node_set_alloc)
34029 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
34030 (re_node_set_add_intersect, re_node_set_init_union)
34031 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
34032 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
34033 (re_dfa_add_node, calc_state_hash, re_acquire_state)
34034 (re_acquire_state_context): Likewise.
34035 * posix/regex_internal.h (internal_function): Remove definition.
34036 (re_string_realloc_buffers, build_wcs_buffer)
34037 (build_wcs_upper_buffer, build_upper_buffer)
34038 (re_string_translate_buffer, re_string_context_at)
34039 (re_string_char_size_at, re_string_wchar_at)
34040 (re_string_elem_size_at): Likewise.
34041 * posix/regexec.c (match_ctx_init, match_ctx_clean)
34042 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
34043 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
34044 (re_search_internal, re_search_2_stub, re_search_stub)
34045 (re_copy_regs, prune_impossible_nodes, check_matching)
34046 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
34047 (free_fail_stack_return, sift_states_iter_mb)
34048 (sift_states_backward, build_sifted_states)
34049 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
34050 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
34051 (check_subexp_limits, sift_states_bkref, merge_state_array)
34052 (find_recover_state, transit_state, merge_state_with_log)
34053 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
34054 (transit_state_mb, transit_state_bkref, get_subexp)
34055 (get_subexp_sub, find_subexp_node, check_arrival)
34056 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
34057 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
34058 (check_node_accept_bytes, find_collation_sequence_value)
34059 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
34060 (acquire_init_state_context, check_halt_node_context)
34061 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
34062 (sub_epsilon_src_nodes): Likewise.
34063 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
34064 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
34065 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
34066 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
34067 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
34068 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
34069 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
34070 * sysdeps/posix/ttyname.c (getttyname): Likewise.
34071 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
34072 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
34073 (PREADV): Likewise.
34074 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
34075 (PREADV): Likewise.
34076 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
34077 (PWRITEV): Likewise.
34078 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
34079 (PWRITEV): Likewise.
34080 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
34081 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
34083 2017-08-31 Florian Weimer <fweimer@redhat.com>
34085 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
34086 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
34087 Remove internal_function.
34088 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
34089 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
34090 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
34091 (__deallocate_stack, __libc_pthread_init)
34092 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
34093 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
34094 (__libc_disable_asynccancel, __librt_disable_asynccancel):
34096 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
34097 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
34098 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
34100 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
34101 (__pthread_mutex_unlock_usercnt): Likewise.
34103 2017-08-31 Florian Weimer <fweimer@redhat.com>
34105 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
34106 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
34107 (fts_safe_changedir): Remove internal_function.
34108 * io/ftw.c (internal_function): Remove definition.
34109 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
34111 2017-08-31 Florian Weimer <fweimer@redhat.com>
34113 * inet/deadline.c (__deadline_current_time)
34114 (__deadline_from_timeval, __deadline_to_ms): Remove
34116 * inet/getnameinfo.c (nrl_domainname): Likewise.
34117 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
34118 * inet/inet6_option.c (add_pad): Likewise.
34119 * inet/net-internal.h (__deadline_current_time)
34120 (__deadline_from_timeval, __deadline_to_ms): Likewise.
34121 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
34122 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
34123 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
34125 2017-08-31 Joseph Myers <joseph@codesourcery.com>
34127 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
34128 include <bits/nan.h>.
34129 * math/Makefile (headers): Remove bits/nan.h.
34130 * bits/nan.h: Remove.
34131 * sysdeps/ieee754/bits/nan.h: Likewise.
34132 * sysdeps/mips/bits/nan.h: Likewise.
34134 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
34135 not include <bits/inf.h>.
34136 * math/Makefile (headers): Remove bits/inf.h.
34137 * bits/inf.h: Remove.
34138 * sysdeps/ieee754/bits/inf.h: Likewise.
34140 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
34141 bits/huge_vall.h or bits/huge_val_flt128.h.
34142 (HUGE_VAL): Define directly here.
34143 [__USE_ISOC99] (HUGE_VALF): Likewise.
34144 [__USE_ISOC99] (HUGE_VALL): Likewise.
34145 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34146 (HUGE_VAL_F128): Likewise.
34147 * math/Makefile (headers): Remove bits/huge_val.h,
34148 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
34149 * bits/huge_val.h: Remove.
34150 * bits/huge_val_flt128.h: Likewise.
34151 * bits/huge_valf.h: Likewise.
34152 * bits/huge_vall.h: Likewise.
34153 * sysdeps/ia64/bits/huge_vall.h: Likewise.
34154 * sysdeps/ieee754/bits/huge_val.h: Likewise.
34155 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
34156 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
34157 * sysdeps/sh/bits/huge_val.h: Likewise.
34158 * sysdeps/sparc/bits/huge_vall.h: Likewise.
34159 * sysdeps/x86/bits/huge_vall.h: Likewise.
34161 2017-08-31 Florian Weimer <fweimer@redhat.com>
34163 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
34165 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
34167 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
34168 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
34169 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
34170 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
34171 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34172 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
34173 * elf/dl-libc.c (dlerror_run): Likewise.
34174 * elf/dl-load.c (add_name_to_object, decompose_rpath)
34175 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
34176 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
34177 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
34179 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
34180 (_dl_higher_prime_number, _dl_strtoul): Likewise.
34181 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
34182 * elf/dl-profile.c (_dl_start_profile): Likewise.
34183 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
34184 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
34186 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
34187 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
34188 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
34189 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
34190 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
34191 (_dl_allocate_tls_storage): Likewise.
34192 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
34193 (_dl_check_all_versions): Likewise.
34194 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
34195 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
34196 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
34197 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
34198 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
34199 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
34200 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
34201 internal_function from __dl_start.
34202 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
34203 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
34204 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
34205 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
34206 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
34207 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
34208 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
34209 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
34210 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
34211 (_dl_next_ld_env_entry, _dl_important_hwcaps)
34212 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
34213 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
34214 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
34215 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
34216 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
34218 (struct rtld_global_ro): Remove internal_function from the
34219 _dl_lookup_symbol_x member.
34220 (_dl_symbol_value): Remove. No longer defined anywhere.
34221 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
34223 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
34224 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
34225 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
34226 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
34227 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
34228 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
34229 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
34230 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
34231 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
34232 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
34233 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
34234 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
34236 2017-08-31 Florian Weimer <fweimer@redhat.com>
34238 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
34239 Remove internal_function.
34240 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
34242 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
34245 2017-08-31 Florian Weimer <fweimer@redhat.com>
34247 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
34248 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
34249 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
34251 2017-08-31 Florian Weimer <fweimer@redhat.com>
34253 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
34254 (__gai_enqueue_request): Remove internal_function.
34255 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
34256 (__gai_remove_request, __gai_notify, __gai_notify_only)
34257 (__gai_sigqueue): Likewise.
34258 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
34259 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
34260 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
34261 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
34264 2017-08-31 Florian Weimer <fweimer@redhat.com>
34266 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
34267 * include/dirent.h (__opendirat, __getdents, __getdents64)
34268 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
34269 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
34270 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34271 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
34273 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
34275 2017-08-31 Florian Weimer <fweimer@redhat.com>
34277 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
34279 (GETCWD_RETURN_TYPE): Likewise.
34281 2017-08-31 Florian Weimer <fweimer@redhat.com>
34283 * include/time.h (__tz_compute, __strptime_internal): Remove
34285 * time/strptime_l.c (__strptime_internal): Likewise.
34286 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
34288 2017-08-31 Florian Weimer <fweimer@redhat.com>
34290 * iconv/gconv.c (__gconv): Remove internal_function.
34291 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
34292 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
34293 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
34294 (__gconv_release_cache): Likewise.
34295 * iconv/gconv_close.c (__gconv_close): Likewise.
34296 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
34297 (read_conf_file, __gconv_get_path): Likewise.
34298 * iconv/gconv_db.c (derivation_lookup, add_derivation)
34299 (__gconv_release_step, gen_steps, increment_counter)
34300 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
34301 (__gconv_close_transform, free_modules_db): Likewise.
34302 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
34304 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
34305 (__gconv_find_transform, __gconv_lookup_cache)
34306 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
34307 (__gconv_close_transform, __gconv_release_cache)
34308 (__gconv_loaded_object, __gconv_release_shlib)
34309 (__gconv_compare_alias): Likewise.
34310 * iconv/gconv_open.c (__gconv_open): Likewise.
34311 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
34312 * iconv/iconvconfig.c (add_module): Likewise.
34313 * intl/dcigettext.c (plural_lookup, guess_category_value)
34314 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
34315 * intl/eval-plural.h (plural_eval): Likewise.
34316 * intl/finddomain.c (_nl_find_domain): Likewise.
34317 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
34318 (_nl_load_domain, _nl_find_msg): Likewise.
34319 (internal_function): Remove definition.
34320 * intl/loadinfo.h (internal_function): Likewise.
34321 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
34323 * intl/localealias.c (internal_function): Remove definition.
34324 (read_alias_file): Remove internal_function.
34325 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
34326 * intl/plural-exp.h (internal_function): Remove definition.
34327 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
34329 * intl/plural.c: Regenerate.
34330 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
34331 * locale/coll-lookup.c (__collidx_table_lookup)
34332 (__collseq_table_lookup): Likewise.
34333 * locale/coll-lookup.h (__collidx_table_lookup)
34334 (__collseq_table_lookup): Likewise.
34335 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
34336 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34337 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
34338 (_nl_unload_locale): Likewise.
34339 * locale/localeinfo.h (struct __locale_data): Remove
34340 internal_function from cleanup member.
34341 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
34342 (_nl_remove_locale, _nl_load_locale_from_archive)
34343 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
34344 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
34345 (_nl_cleanup_time): Remove internal_function.
34346 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
34347 (_nl_parse_alt_digit): Likewise.
34348 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
34349 (_nl_select_era_entry): Likewise.
34350 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
34351 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
34352 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
34353 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
34354 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
34356 2017-08-31 Florian Weimer <fweimer@redhat.com>
34358 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
34359 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
34360 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
34361 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
34363 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
34364 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
34365 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
34366 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
34368 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
34370 2017-08-31 Florian Weimer <fweimer@redhat.com>
34372 * misc/getttyent.c (skip, value): Remove internal_function.
34373 * misc/syslog.c (openlog_internal): Likewise.
34374 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
34376 2017-08-31 Florian Weimer <fweimer@redhat.com>
34378 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
34379 (__nss_rewrite_field): Remove internal_function.
34380 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34381 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
34382 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34383 * nss/nsswitch.c (nss_parse_file, nss_getline)
34384 (nss_parse_service_list, nss_new_service): Likewise.
34385 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
34386 * nss/valid_field.c (__nss_valid_field): Likewise.
34387 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
34389 2017-08-31 Florian Weimer <fweimer@redhat.com>
34391 * malloc/arena.c (__malloc_fork_lock_parent)
34392 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
34393 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
34394 internal_function from defintions.
34395 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
34396 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
34397 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
34398 internal_function from declarations.
34399 * malloc/malloc.c (internal_function): Do not define.
34400 (mem2mem_check): Remove internal_function from declaration.
34401 (munmap_chunk, mremap_chunk): Remove internal_function.
34402 * malloc/mtrace.c (tr_where): Likewise.
34404 2017-08-31 Florian Weimer <fweimer@redhat.com>
34406 * include/rpc/pmap_clnt.h (__get_socket): Remove
34408 * sunrpc/auth_des.c (synchronize): Likewise.
34409 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
34410 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
34411 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
34412 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
34413 (key_call): Likewise.
34414 * sunrpc/pm_getport.c (__get_socket): Likewise.
34415 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
34416 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
34417 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
34418 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
34419 (invalidate): Likewise.
34420 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
34421 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
34422 (set_input_fragment, get_input_bytes): Likewise.
34424 2017-08-31 Florian Weimer <fweimer@redhat.com>
34426 * malloc/malloc.c (_int_free): Remove locked variable and related
34429 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
34432 * Makerules (build-module-helper-objlist): Filter out
34433 $(elf-objpfx)sofini.os.
34434 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
34437 2017-08-31 Florian Weimer <fweimer@redhat.com>
34439 * libio/fcloseall.c: Assume weak_alias is defined.
34440 * libio/feof.c: Likewise.
34441 * libio/fileno.c: Likewise.
34442 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
34443 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
34445 (_IO_file_open): Call __open directly.
34446 (_IO_new_file_sync): Assume ESPIPE is defined.
34447 (_IO_file_seekoff_maybe_mmap): Call __read directly.
34448 (_IO_new_file_write): Call __write directly.
34449 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
34450 * libio/ftello64.c (__ftello64): Assume EIO is defined.
34451 * libio/genops.c: Assume _LIBC is defined.
34452 (save_for_backup): Remove internal_function.
34453 * libio/getc.c: Assume weak_alias is defined.
34454 * libio/getwc.c: Likewise.
34455 * libio/iofclose.c: Assume _LIBC is defined.
34456 * libio/iofdopen.c: Likewise.
34457 (_IO_fcntl): Remove macro definition.
34458 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
34459 Call __fcntl directly.
34460 * libio/iofflush.c: Assume weak_alias is defined.
34461 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
34463 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
34464 * libio/iofgets.c: Likewise.
34465 * libio/iofopen.c: Assume _LIBC is defined.
34466 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
34467 * libio/iofputs.c: Assume weak_alias is defined.
34468 * libio/iofread.c: Likewise.
34469 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
34470 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
34471 * libio/ioftell.c: Assume weak_alias is defined.
34472 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
34473 * libio/iofwide.c: Assume _LIBC is defined.
34474 (_IO_fwide): Drop SHARED conditional because it is implied by
34476 * libio/iofwrite.c: Assume weak_alias is defined.
34477 * libio/iogetdelim.c: Likewise.
34478 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
34479 * libio/iogetwline.c (wmemcpy): Remove macro definition.
34480 (_IO_getwline): Call __wmemcpy directly.
34481 * libio/iopopen.c: Assume _LIBC is defined.
34482 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
34483 (_IO_close): Remove macro definitions.
34484 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
34486 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
34488 * libio/ioputs.c: Assume weak_alias is defined.
34489 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
34490 * libio/iosetbuffer.c: Assume weak_alias is defined.
34491 * libio/iosetvbuf.c: Likewise.
34492 * libio/ioungetc.c: Likewise.
34493 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
34494 libc_hidden_def, libc_hidden_weak, NULL are defined.
34495 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
34496 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
34498 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
34500 (_IO_old_file_init_internal): Drop SHARED conditional because it
34501 is implied by SHLIB_COMPAT.
34502 (_IO_old_file_fopen): Call __open directly.
34503 (_IO_old_file_sync): Assume ESPIPE is defined.
34504 (_IO_old_file_write): Call __write directly.
34505 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
34506 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
34507 Call __fcntl directly.
34508 * libio/oldiofgetpos.c: Assume weak_alias is defined.
34509 (_IO_old_fgetpos): Assume EIO is defined.
34510 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
34511 (_IO_old_fgetpos64): Assume EIO is defined.
34512 * libio/oldiofsetpos.c: Assume weak_alias is defined.
34513 (_IO_old_fsetpos): Assume EIO is defined.
34514 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
34515 (_IO_old_fsetpos64): Assume EIO is defined.
34516 * libio/oldiopopen.c: Assume _LIBC is defined.
34517 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
34518 (_IO_close): Remove macro definitions.
34519 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
34521 (_IO_old_proc_close): Call __close, __waitpid directly.
34522 * libio/put.c: Assume weak_alias is defined.
34523 * libio/stdfiles.c: Assume _LIBC is defined.
34524 * libio/stdio.c: Likewise.
34525 * libio/wfileops.c: Likewise.
34526 (_IO_wfile_sync): Assume ESPIPE is defined.
34527 * libio/wgenops.c: Assume _LIBC is defined.
34528 (save_for_wbackup): Remove internal_function.
34530 2017-08-31 Florian Weimer <fweimer@redhat.com>
34532 * malloc/malloc.c (top_check): Change return type to void. Remove
34534 * malloc/hooks.c (top_check): Likewise.
34535 (malloc_check, realloc_check, memalign_check): Adjust.
34537 2017-08-30 Joseph Myers <joseph@codesourcery.com>
34540 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
34541 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
34542 sigcontext and namespace requirements.
34543 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
34544 * sysdeps/m68k/sys/ucontext.h: Likewise.
34545 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
34546 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
34547 <bits/sigcontext.h>.
34548 (__ctx): Define earlier.
34549 (mcontext_t): Define structure contents rather than using struct
34551 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
34552 __glibc_reserved1 instead of __reserved.
34553 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
34554 <bits/sigcontext.h>.
34555 (__ctx): Define earlier.
34556 (mcontext_t): Define structure contents rather than using struct
34558 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
34559 mcontext_t instead of struct sigcontext.
34560 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
34561 <bits/sigcontext.h>.
34562 (__ctx): Define earlier.
34563 (mcontext_t): Define structure contents rather than using struct
34565 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
34566 <bits/sigcontext.h>.
34567 (__ctx): Define earlier.
34568 (mcontext_t): Define structure contents rather than using struct
34570 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
34571 mcontext_t instead of struct sigcontext.
34572 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
34573 mcontext_t instead of struct sigcontext.
34574 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
34575 <bits/sigcontext.h>.
34576 (__ctx): New macro.
34577 (struct __ia64_fpreg_mcontext): New type.
34578 (mcontext_t): Define structure contents rather than using struct
34580 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
34581 (uc_sigmask): Define using __ctx.
34582 (uc_stack): Likewise.
34583 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
34584 <bits/sigcontext.h>.
34585 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34586 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
34587 <bits/sigcontext.h>.
34588 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
34589 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
34590 <bits/sigcontext.h>.
34591 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
34592 <bits/sigcontext.h>.
34593 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
34594 <bits/sigcontext.h>.
34595 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
34596 <bits/sigcontext.h>.
34597 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
34598 <bits/sigcontext.h>.
34599 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
34600 <bits/sigcontext.h>.
34601 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
34602 <bits/sigcontext.h>.
34603 (__ctx): Define earlier.
34604 (mcontext_t): Define structure contents rather than using struct
34606 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
34607 <bits/sigcontext.h>. Include <bits/types.h>.
34608 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
34609 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
34610 (test-xfail-XPG42/ucontext.h/conform): Likewise.
34611 (test-xfail-UNIX98/signal.h/conform): Likewise.
34612 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
34613 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
34614 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
34615 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
34616 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
34617 (test-xfail-POSIX2008/signal.h/conform): Likewise.
34618 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
34619 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
34620 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
34622 2017-08-30 Florian Weimer <fweimer@redhat.com>
34624 * malloc/dynarray_emplace_enlarge.c
34625 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
34626 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
34627 * malloc/tst-dynarray.c (test_long_overflow): New function.
34628 (do_test): Call it.
34630 2017-08-30 Florian Weimer <fweimer@redhat.com>
34632 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
34633 (set_arena_corrupt): Remove definitions.
34634 (mtrim): Do not check for corrupt arena.
34635 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
34638 2017-08-30 Florian Weimer <fweimer@redhat.com>
34641 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
34643 (ptmalloc_init): Do not set or use check_action.
34644 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
34645 call to malloc_printerr. Remove return statement.
34646 (free_check): Likewise. Remove arena unlock.
34647 (top_check): Update comment. Adjust call to malloc_printerr.
34648 Remove heap repair code.
34649 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
34650 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
34651 (sysmalloc): Adjust call to malloc_printerr.
34652 (munmap_chunk, __libc_realloc): Likewise. Remove return
34654 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
34655 Remove errout label and corresponding gotos.
34656 (_int_free): Likewise. Remove arena unlock.
34657 (do_set_mallopt_check): Do not set check_action.
34658 (malloc_printerr): Adjust parameter list. Do not mark arena as
34660 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
34662 * manual/probes.texi (Memory Allocation Probes): Remove
34663 memory_mallopt_check_action.
34665 2017-08-30 Steve Ellcey <sellcey@cavium.com>
34667 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
34668 Use pointer to uint64_t instead of long int for sp.
34670 2017-08-30 Florian Weimer <fweimer@redhat.com>
34673 * malloc/malloc.c (malloc_printerr): Always terminate the process,
34674 without printing a backtrace. Do not leak any information in the
34676 * manual/memory.texi (Heap Consistency Checking): Update.
34677 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
34679 2017-08-30 Florian Weimer <fweimer@redhat.com>
34681 Do not scale NPTL tests with available number of CPUs.
34682 * nptl/tst-cond16.c (count): Set to constant value of 8.
34683 * nptl/tst-cond18.c (count): Likewise.
34685 2017-08-29 Joseph Myers <joseph@codesourcery.com>
34688 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
34689 Define to take a second argument that is a macro that
34690 concatentates a suffix, not the suffix itself.
34691 (__CONCAT_d): New macro.
34692 (__CONCAT_f): Likewise.
34693 (__CONCAT_l): Likewise.
34695 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
34697 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
34700 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34701 Aurelien Jarno <aurelien@aurel32.net>
34702 Maciej W. Rozycki <macro@imgtec.com>
34705 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
34706 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
34707 `mips16-syscall6' and `mips16-syscall7'.
34708 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
34709 (CFLAGS-mips16-syscall7.c): Remove.
34710 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
34711 Remove `__mips16_syscall5', `__mips16_syscall6' and
34712 `__mips16_syscall7'.
34713 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
34714 (__mips16_syscall0): Rename `__mips16_syscall_return' to
34715 `__mips_syscall_return'.
34716 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
34717 (__mips16_syscall1): Likewise.
34718 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
34719 (__mips16_syscall2): Likewise.
34720 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
34721 (__mips16_syscall3): Likewise.
34722 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
34723 (__mips16_syscall4): Likewise.
34724 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
34726 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
34728 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
34730 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
34731 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
34732 `__mips16_syscall5'. Remove prototype.
34733 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
34734 `__mips16_syscall6'. Remove prototype.
34735 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
34736 `__mips16_syscall7'. Remove prototype.
34737 (__nomips16, __mips16_syscall_return): Move to...
34738 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
34739 (__nomips16, __mips_syscall_return): ... here.
34740 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
34741 `__mips16_syscall_return' to `__mips_syscall_return'.
34742 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
34743 `internal_syscall##nr'.
34744 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
34745 `internal_syscall##nr'.
34746 (FORCE_FRAME_POINTER): Remove.
34747 (__mips_syscall5): New prototype.
34748 (internal_syscall5): Rewrite to call `__mips_syscall5'.
34749 (__mips_syscall6): New prototype.
34750 (internal_syscall6): Rewrite to call `__mips_syscall6'.
34751 (__mips_syscall7): New prototype.
34752 (internal_syscall7): Rewrite to call `__mips_syscall7'.
34753 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
34754 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
34755 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
34756 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
34757 (sysdep_routines): Add libc-do-syscall.
34758 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
34759 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
34761 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34764 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
34765 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
34766 (advise_stack_range): New function.
34767 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
34768 stack non required to advise_stack_range at allocatestack.c
34770 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
34772 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
34774 2017-08-29 Florian Weimer <fweimer@redhat.com>
34777 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
34778 __end_fct. Mangle __end_fct after setting it to NULL.
34779 * iconv/Makefile (tests): Add tst-gconv-init-failure.
34780 (modules-names, modules-names-tests): Add
34781 tst-gconv-init-failure-mod.
34782 (gconv-modules): New target.
34783 (tst-gconv-init-failure-mod.so): Link against libsupport.
34784 (tst-gconv-init-failure): Depend on gconv-modules,
34785 tst-gconv-init-failure-mod.so.
34786 * iconv/tst-gconv-init-failure-mod.c: New file.
34787 * iconv/tst-gconv-init-failure.c: Likewise.
34788 * iconv/test-gconv-modules: Likewise.
34790 2017-08-29 Florian Weimer <fweimer@redhat.com>
34793 * iconv/gconv_db.c (free_derivation): Remove redundant
34795 (gen_steps): Unconditionally mangle __btowc_fct after
34797 (increment_counter): Likewise. Do not call init_fct for internal
34800 2017-08-29 Joseph Myers <joseph@codesourcery.com>
34803 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
34804 (_MSUF_): Remove macro.
34805 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
34807 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
34808 (__REDIRFROM_X): New macro.
34809 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
34811 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
34812 (__REDIRTO_X): Likewise.
34813 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
34815 (__MATH_REDIRCALL_2): Likewise.
34816 (__MATH_REDIRCALL_INTERNAL): Likewise.
34817 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
34818 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
34819 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
34820 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
34821 * math/test-finite-macros.c: New file.
34822 * math/Makefile (tests): Add test-finite-macros.
34823 (CFLAGS-test-finite-macros.c): New variable.
34825 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
34826 Jeff Law <law@redhat.com>
34829 Mangle NULL pointers in iconv/gconv.
34830 * iconv/gconv_cache.c (find_module): Demangle init_fct before
34831 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
34832 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
34833 is non-NULL before demangling the end_fct. Check for NULL
34834 end_fct after demangling.
34835 (__gconv_release_step): Demangle the end_fct before checking
34836 it for NULL. Remove assert on __shlibc_handle != NULL.
34837 (gen_steps): Don't check btowc_fct for NULL before mangling.
34838 Demangle init_fct before checking for NULL.
34839 (increment_counter): Likewise.
34840 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
34841 end_fct for NULL before mangling.
34842 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
34845 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
34848 * locale/iso-639.def: add Morisyen.
34850 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34853 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
34854 (iszero): New C++ implementation that does not use
34855 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
34856 signaling nans are enabled, since __builtin_types_compatible_p
34857 is a C-only feature.
34858 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
34859 defined, include ieee754_float128.h for access to the union and
34860 member ieee854_float128.ieee.
34861 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
34862 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
34863 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
34864 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
34865 options of test-math-zero on powerpc64le.
34867 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
34869 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
34870 Change double to float.
34872 2017-08-28 Joseph Myers <joseph@codesourcery.com>
34874 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
34876 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
34877 conditional code; define contents only for [LIBM_SVID_COMPAT].
34879 2017-08-28 Florian Weimer <fweimer@redhat.com>
34881 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
34882 (abi-lp64_be-options): Remove.
34883 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
34884 (abi-hard-options): Likewise.
34885 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
34886 (abi-o32_hard-options, abi-o32_soft_2008-options)
34887 (abi-o32_hard_2008-options, abi-n32_soft-options)
34888 (abi-n32_hard-options, abi-n32_soft_2008-options)
34889 (abi-n32_hard_2008-options, abi-n64_soft-options)
34890 (abi-n64_hard-options, abi-n64_soft_2008-options)
34891 (abi-n64_hard_2008-options): Likewise.
34892 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
34893 (abi-64-v1-options, abi-64-v2-options): Likewise.
34894 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
34895 (abi-64-options): Likewise.
34896 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
34897 (abi-64-options): Likewise.
34898 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
34899 (abi-64-options): Likewise.
34900 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
34901 (abi-64-options, abi-x32-options): Likewise.
34903 2017-08-28 Florian Weimer <fweimer@redhat.com>
34905 Store supported list of SYS_* system calls in the source tree.
34906 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
34907 (bits/syscall.h): Generate from list file.
34908 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
34909 [$(subdir) = misc] (tests): Add tst-syscall-list.
34910 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
34911 [$(subdir) = misc] (tst-syscall-list-macros.list)
34912 [$(subdir) = misc] (tst-syscall-list-nr.list)
34913 (tst-syscall-list-sys.list): Helper targets for new
34914 tst-syscall-list test.
34915 [$(subdir) = misc] (tst-syscall-list.out): Run test script
34916 tst-syscall-list.sh.
34917 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
34918 target. Do not include bits/syscall.d.
34919 [$(subdir) = misc] (generated): Do not update.
34920 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
34921 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
34922 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
34923 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
34925 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
34927 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
34928 (tst-cxa_atexit, tst-on_exit): Likewise.
34929 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
34930 tst-cxa_atexit, and tst-on_exit.
34931 * stdlib/tst-atexit-common.c: New file.
34932 * stdlib/tst-atexit.c: New file.
34933 * stdlib/tst-at_quick_exit.c: New file.
34934 * stdlib/tst-cxa_atexit.c: New file.
34935 * stdlib/tst-on_exit.c: New file.
34937 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
34939 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
34940 * mach/stack_chk_fail_local.c: New file.
34941 * hurd/stack_chk_fail_local.c: New file.
34942 * mach/Machrules ($(interface-library)-routines): Add
34943 stack_chk_fail_local.
34944 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
34945 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
34946 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
34947 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
34948 * hurd/Makefile (CFLAGS-hurdstartup.o,
34949 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
34951 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
34953 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
34954 (index_cpu_*, index_arch_*): Removed.
34956 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
34958 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
34959 Use uint64_t instead of unsigned long.
34961 2017-08-25 Joseph Myers <joseph@codesourcery.com>
34963 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
34964 [__HAVE_DISTINCT_FLOAT128].
34966 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
34967 of <bits/math-finite.h>.
34968 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
34969 inclusion of <bits/math-finite.h>.
34970 * math/bits/math-finite.h (__REDIRTO_X): Do not define
34971 conditionally on [__MATH_DECLARING_LDOUBLE && defined
34972 __NO_LONG_DOUBLE_MATH].
34973 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
34974 (__MATH_REDIRCALL_2): Likewise.
34975 (__MATH_REDIRCALL_INTERNAL): Likewise.
34976 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
34977 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
34978 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
34980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
34982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
34984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
34986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
34988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
34990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
34992 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
34993 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
34994 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
34995 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
34996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
34997 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
34998 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
34999 w_sqrtf_compat-ppc32.
35001 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35003 * math/math.h [defined __cplusplus] (issignaling): In the long
35004 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
35005 is not defined. Call __issignaling, otherwise.
35007 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35009 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
35010 syscall definitions and replace __builtin_expect with __glibc_likely.
35011 * sysdeps/unix/syscall-template.S: Update comment about cancellable
35013 (SYSCALL_CANCELLABLE): Removedefinition
35014 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
35016 (PSEUDO_END): Likewise.
35017 [IS_IN (libpthread)] (CENABLE): Likewise.
35018 [IS_IN (libpthread)] (CDISABLE): Likewise.
35019 [IS_IN (libc)] (CENABLE): Likewise.
35020 [IS_IN (libc)] (CENABLE): Likewise.
35021 [IS_IN (librt)] (CDISABLE): Likewise.
35022 [IS_IN (librt)] (CDISABLE): Likewise.
35023 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35024 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
35026 (PSEUDO_END): Likewise.
35027 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
35028 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
35029 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35030 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35031 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35032 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35033 (CENABLE): Likewise.
35034 (CDISABLE): Likewise.
35035 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35036 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
35038 (PSEUDO_END): Likewise.
35039 [IS_IN (libpthread)] (CENABLE): Likewise.
35040 [IS_IN (libpthread)] (CDISABLE): Likewise.
35041 [IS_IN (libc)] (CENABLE): Likewise.
35042 [IS_IN (libc)] (CENABLE): Likewise.
35043 [IS_IN (librt)] (CDISABLE): Likewise.
35044 [IS_IN (librt)] (CDISABLE): Likewise.
35045 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35046 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
35048 (PSEUDO_END): Likewise.
35049 [IS_IN (libpthread)] (CENABLE): Likewise.
35050 [IS_IN (libpthread)] (CDISABLE): Likewise.
35051 [IS_IN (libc)] (CENABLE): Likewise.
35052 [IS_IN (libc)] (CENABLE): Likewise.
35053 [IS_IN (librt)] (CDISABLE): Likewise.
35054 [IS_IN (librt)] (CDISABLE): Likewise.
35055 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35056 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
35058 (PSEUDO_END): Likewise.
35059 [IS_IN (libpthread)] (CENABLE): Likewise.
35060 [IS_IN (libpthread)] (CDISABLE): Likewise.
35061 [IS_IN (libc)] (CENABLE): Likewise.
35062 [IS_IN (libc)] (CENABLE): Likewise.
35063 [IS_IN (librt)] (CDISABLE): Likewise.
35064 [IS_IN (librt)] (CDISABLE): Likewise.
35065 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35066 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
35068 (PSEUDO_END): Likewise.
35069 [IS_IN (libpthread)] (CENABLE): Likewise.
35070 [IS_IN (libpthread)] (CDISABLE): Likewise.
35071 [IS_IN (libc)] (CENABLE): Likewise.
35072 [IS_IN (libc)] (CENABLE): Likewise.
35073 [IS_IN (librt)] (CDISABLE): Likewise.
35074 [IS_IN (librt)] (CDISABLE): Likewise.
35075 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35076 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
35078 (PSEUDO_END): Likewise.
35079 [IS_IN (libpthread)] (CENABLE): Likewise.
35080 [IS_IN (libpthread)] (CDISABLE): Likewise.
35081 [IS_IN (libc)] (CENABLE): Likewise.
35082 [IS_IN (libc)] (CENABLE): Likewise.
35083 [IS_IN (librt)] (CDISABLE): Likewise.
35084 [IS_IN (librt)] (CDISABLE): Likewise.
35085 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35086 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
35088 (PSEUDO_END): Likewise.
35089 [IS_IN (libpthread)] (CENABLE): Likewise.
35090 [IS_IN (libpthread)] (CDISABLE): Likewise.
35091 [IS_IN (libc)] (CENABLE): Likewise.
35092 [IS_IN (libc)] (CENABLE): Likewise.
35093 [IS_IN (librt)] (CDISABLE): Likewise.
35094 [IS_IN (librt)] (CDISABLE): Likewise.
35095 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35096 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
35098 (PSEUDO_END): Likewise.
35099 [IS_IN (libpthread)] (CENABLE): Likewise.
35100 [IS_IN (libpthread)] (CDISABLE): Likewise.
35101 [IS_IN (libc)] (CENABLE): Likewise.
35102 [IS_IN (libc)] (CENABLE): Likewise.
35103 [IS_IN (librt)] (CDISABLE): Likewise.
35104 [IS_IN (librt)] (CDISABLE): Likewise.
35105 (SINGLE_THREAD_P): Likewise.
35106 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
35108 (PSEUDO_END): Likewise.
35109 [IS_IN (libpthread)] (CENABLE): Likewise.
35110 [IS_IN (libpthread)] (CDISABLE): Likewise.
35111 [IS_IN (libc)] (CENABLE): Likewise.
35112 [IS_IN (libc)] (CENABLE): Likewise.
35113 [IS_IN (librt)] (CDISABLE): Likewise.
35114 [IS_IN (librt)] (CDISABLE): Likewise.
35115 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35116 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
35118 (PSEUDO_END): Likewise.
35119 [IS_IN (libpthread)] (CENABLE): Likewise.
35120 [IS_IN (libpthread)] (CDISABLE): Likewise.
35121 [IS_IN (libc)] (CENABLE): Likewise.
35122 [IS_IN (libc)] (CENABLE): Likewise.
35123 [IS_IN (librt)] (CDISABLE): Likewise.
35124 [IS_IN (librt)] (CDISABLE): Likewise.
35125 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35126 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
35127 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
35128 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
35129 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
35131 (PSEUDO_END): Likewise.
35132 [IS_IN (libpthread)] (CENABLE): Likewise.
35133 [IS_IN (libpthread)] (CDISABLE): Likewise.
35134 [IS_IN (libc)] (CENABLE): Likewise.
35135 [IS_IN (libc)] (CENABLE): Likewise.
35136 [IS_IN (librt)] (CDISABLE): Likewise.
35137 [IS_IN (librt)] (CDISABLE): Likewise.
35138 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35139 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
35141 (PSEUDO_END): Likewise.
35142 [IS_IN (libpthread)] (CENABLE): Likewise.
35143 [IS_IN (libpthread)] (CDISABLE): Likewise.
35144 [IS_IN (libc)] (CENABLE): Likewise.
35145 [IS_IN (libc)] (CENABLE): Likewise.
35146 [IS_IN (librt)] (CDISABLE): Likewise.
35147 [IS_IN (librt)] (CDISABLE): Likewise.
35148 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35149 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
35151 (PSEUDO_END): Likewise.
35152 [IS_IN (libpthread)] (CENABLE): Likewise.
35153 [IS_IN (libpthread)] (CDISABLE): Likewise.
35154 [IS_IN (libc)] (CENABLE): Likewise.
35155 [IS_IN (libc)] (CENABLE): Likewise.
35156 [IS_IN (librt)] (CDISABLE): Likewise.
35157 [IS_IN (librt)] (CDISABLE): Likewise.
35158 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35159 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
35160 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
35161 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
35162 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
35164 (PSEUDO_END): Likewise.
35165 [IS_IN (libpthread)] (CENABLE): Likewise.
35166 [IS_IN (libpthread)] (CDISABLE): Likewise.
35167 [IS_IN (libc)] (CENABLE): Likewise.
35168 [IS_IN (libc)] (CENABLE): Likewise.
35169 [IS_IN (librt)] (CDISABLE): Likewise.
35170 [IS_IN (librt)] (CDISABLE): Likewise.
35171 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35172 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
35174 (PSEUDO_END): Likewise.
35175 [IS_IN (libpthread)] (CENABLE): Likewise.
35176 [IS_IN (libpthread)] (CDISABLE): Likewise.
35177 [IS_IN (libc)] (CENABLE): Likewise.
35178 [IS_IN (libc)] (CENABLE): Likewise.
35179 [IS_IN (librt)] (CDISABLE): Likewise.
35180 [IS_IN (librt)] (CDISABLE): Likewise.
35181 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35183 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
35185 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
35187 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
35189 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35191 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
35194 * string/stratcliff.c (do_test): Declare size, nchars, inner,
35195 middle and outer with size_t instead of int. Repleace %d and
35196 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
35197 "MAX (outer, nchars - 64)" to support unsigned outer and
35198 nchars. Also exit loop when outer == 0.
35200 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35202 * include/fcntl.h (__fcntl_nocancel): Remove definition.
35203 * include/signal.h (__sigsuspend_nocancel): Likewise.
35204 * include/time.h (__nanosleep_nocancel): Likewise.
35205 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
35206 * login/utmp_file.c: Include non cancellable syscall header.
35207 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
35210 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
35212 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
35213 .byte sequences with AVX512F instructions.
35214 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
35215 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
35216 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
35217 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
35219 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
35222 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
35223 Steve Ellcey <sellcey@cavium.com>
35225 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
35226 Use PTR_REG macro in cmp instruction.
35228 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35230 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
35231 Change the return type of the ifunc resolver to match the return
35232 type of the target function.
35234 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35236 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
35237 (preadv64): Likewise.
35238 (pwrite64(: Likewise.
35239 (pwritev64): Likewise.
35241 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
35242 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
35243 (LOAD_ARGS_0): Likewise.
35244 (LOAD_ARGS_1): Likewise.
35245 (LOAD_ARGS_2): Likewise.
35246 (LOAD_ARGS_3): Likewise.
35247 (LOAD_ARGS_4): Likewise.
35248 (LOAD_ARGS_5): Likewise.
35249 (LOAD_ARGS_6): Likewise.
35250 (LOAD_REGS_0): Likewise.
35251 (LOAD_REGS_1): Likewise.
35252 (LOAD_REGS_2): Likewise.
35253 (LOAD_REGS_3): Likewise.
35254 (LOAD_REGS_4): Likewise.
35255 (LOAD_REGS_5): Likewise.
35256 (LOAD_REGS_6): Likewise.
35257 (ASM_ARGS_0): Likewise.
35258 (ASM_ARGS_1): Likewise.
35259 (ASM_ARGS_2): Likewise.
35260 (ASM_ARGS_3): Likewise.
35261 (ASM_ARGS_4): Likewise.
35262 (ASM_ARGS_5): Likewise.
35263 (ASM_ARGS_6): Likewise.
35264 (LOAD_ARGS_TYPES_1): Likewise.
35265 (LOAD_ARGS_TYPES_2): Likewise.
35266 (LOAD_ARGS_TYPES_3): Likewise.
35267 (LOAD_ARGS_TYPES_4): Likewise.
35268 (LOAD_ARGS_TYPES_5): Likewise.
35269 (LOAD_ARGS_TYPES_6): Likewise.
35270 (LOAD_REGS_TYPES_1): Likewise.
35271 (LOAD_REGS_TYPES_2): Likewise.
35272 (LOAD_REGS_TYPES_3): Likewise.
35273 (LOAD_REGS_TYPES_4): Likewise.
35274 (LOAD_REGS_TYPES_5): Likewise.
35275 (LOAD_REGS_TYPES_6): Likewise.
35276 (TYPEFY): New define.
35277 (ARGIFY): Likewise.
35278 (internal_syscall0): Likewise.
35279 (internal_syscall1): Likewise.
35280 (internal_syscall2): Likewise.
35281 (internal_syscall3): Likewise.
35282 (internal_syscall4): Likewise.
35283 (internal_syscall5): Likewise.
35284 (internal_syscall6): Likewise.
35285 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
35286 (INTERNAL_SYSCALL_NCS): Remove define.
35287 (internal_syscall1): Add define.
35289 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35291 * math/w_remainder_compat.c: Remove duplicate inclusion of
35292 math-svid-compat.h.
35293 * math/w_remainderf_compat.c: Likewise.
35294 * math/w_remainderl_compat.c: Likewise.
35296 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35298 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35300 2017-08-22 Joseph Myers <joseph@codesourcery.com>
35303 * math/tgmath.h (__floating_type): Simplify definitions.
35304 (__real_integer_type): New macro.
35305 (__complex_integer_type): Likewise.
35306 (__expr_is_real): Likewise.
35307 (__tgmath_real_type_sub): Update comment to describe handling of
35309 (__tgmath_complex_type_sub): New macro.
35310 (__tgmath_complex_type): Likewise.
35311 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35312 (__TGMATH_CF128): Use __expr_is_real.
35313 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
35315 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35316 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
35317 * math/gen-tgmath-tests.py (Type.create_type): Create complex
35320 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35322 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
35324 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
35326 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
35329 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
35330 nanosleep_not_cancel with __nanosleep_nocancel.
35331 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
35332 (__nanosleep_nocancel): New macro.
35333 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
35335 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
35337 (__nanosleep_nocancel): New prototype.
35339 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
35340 pause_not_cancel with __pause_nocancel.
35341 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
35342 (__pause_nocancel): New macro.
35343 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
35345 (__pause_nocancel): New prototype.
35346 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
35348 2017-08-22 Martin Sebor <msebor@redhat.com>
35350 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
35351 to return a pointer to the same type as the target function.
35353 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
35357 * include/printf.h (__printf_fphex): Add attribute_hidden.
35358 (__guess_grouping): New prototype.
35359 * stdio-common/printf_fp.c (__guess_grouping): Removed.
35360 * stdio-common/reg-printf.c (__register_printf_specifier): Add
35361 libc_hidden_proto and libc_hidden_def.
35362 * stdlib/strfmon_l.c (__guess_grouping): Removed.
35363 (__vstrfmon_l): Remove the third argument passed to
35366 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35368 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
35369 definition for issignaling that does not rely on __MATH_TG,
35370 since __MATH_TG uses __builtin_types_compatible_p, which is only
35371 available in C mode.
35372 (CFLAGS-test-math-issignaling.cc): New variable.
35373 * math/Makefile [CXX] (tests): Add test-math-issignaling.
35374 * math/test-math-issignaling.cc: New test for C++ implementation
35375 of type-generic issignaling.
35376 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
35377 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
35378 options of test-math-issignaling on powerpc64le.
35380 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
35382 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
35384 (hidden_proto): Likewise.
35385 (hidden_tls_proto): Likewise.
35386 (__hidden_proto): Likewise.
35388 2017-08-22 Florian Weimer <fweimer@redhat.com>
35390 math: Statically link tests of internal functionality.
35391 * math/Makefile (tests): Remove atest-exp, atest-sincos,
35393 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
35394 (gmp-objs): Remove assignment.
35395 (atest-exp, atest-sincos, atest-exp2): Remove targets.
35397 2017-08-22 Joseph Myers <joseph@codesourcery.com>
35400 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
35402 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
35404 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
35407 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
35408 variable definitions above inclusion of ../Rules.
35410 2017-08-21 Joseph Myers <joseph@codesourcery.com>
35412 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
35413 case calling __builtin_unreachable.
35415 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35417 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
35418 __waitpid_nocancel.
35419 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
35420 (__waitpid_nocancel): New macro.
35421 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
35423 (__waitpid_nocancel): Replace macro with a function.
35424 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
35427 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
35429 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
35430 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
35432 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
35433 __writev_nocancel_nostatus.
35434 (write_call_graph): Likewise.
35435 (write_bb_counts): Likewise.
35436 * resolv/herror.c (herror): Likewise.
35437 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
35439 (__writev_nocancel_nostatus): New macro.
35440 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
35442 (__writev_nocancel_nostatus): New function.
35444 2017-08-21 Joseph Myers <joseph@codesourcery.com>
35447 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35449 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
35451 (hidden_proto): Likewise.
35452 (hidden_tls_proto): Likewise.
35453 (__hidden_proto): Likewise.
35456 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
35457 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
35458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
35460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
35462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
35464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
35466 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
35467 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
35468 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
35469 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
35470 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
35471 GLIBC_2.0 sqrtl symbol.
35473 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
35474 [__USE_MISC] (_LIB_VERSION): Likewise.
35475 [__USE_MISC] (struct exception): Likewise.
35476 [__USE_MISC] (matherr): Likewise.
35477 [__USE_MISC] (DOMAIN): Likewise.
35478 [__USE_MISC] (SING): Likewise.
35479 [__USE_MISC] (OVERFLOW): Likewise.
35480 [__USE_MISC] (UNDERFLOW): Likewise.
35481 [__USE_MISC] (TLOSS): Likewise.
35482 [__USE_MISC] (PLOSS): Likewise.
35483 [__USE_MISC] (HUGE): Likewise.
35484 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
35485 * math/math-svid-compat.h: New file.
35486 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
35488 * include/math.h [!_ISOMAC] (__matherr): Remove.
35489 * manual/arith.texi (FP Exceptions): Do not document matherr.
35490 * math/Makefile (tests): Change test-matherr to test-matherr-3.
35491 (tests-internal): New variable.
35492 (install-lib): Do not add libieee.a.
35493 (non-lib.a): Likewise.
35494 (extra-objs): Do not add libieee.a and ieee-math.o.
35495 (CPPFLAGS-s_lib_version.c): Remove variable.
35496 ($(objpfx)libieee.a): Remove rule.
35497 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
35498 * math/ieee-math.c: Remove.
35499 * math/libm-test-support.c (matherr): Remove.
35500 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
35501 and license notices. Include <math-svid-compat.h> and
35503 (matherr): Undefine as macro. Use compat_symbol_reference.
35504 (_LIB_VERSION): Likewise.
35505 * math/test-matherr-2.c: New file.
35506 * math/test-matherr-3.c: Likewise.
35507 * sysdeps/generic/math_private.h (__kernel_standard): Remove
35509 (__kernel_standard_f): Likewise.
35510 (__kernel_standard_l): Likewise.
35511 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
35512 <math_private.h>. Include <math-svid-compat.h>.
35513 (_LIB_VERSION): Undefine as macro.
35514 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
35515 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
35516 [LIBM_SVID_COMPAT], use compat_symbol.
35517 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
35518 <math_private.h>. Include <math-svid-compat.h>.
35519 (matherr): Undefine as macro.
35520 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
35522 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
35523 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
35524 compat_symbol_reference.
35525 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
35526 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
35527 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
35528 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
35529 (MATHERR_D): Remove declaration.
35530 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
35531 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
35532 [LIBM_BUILD] (pmatherrf): Likewise.
35533 [LIBM_BUILD] (pmatherr): Likewise.
35534 [LIBM_BUILD] (pmatherrl): Likewise.
35535 (DOMAIN): Likewise.
35537 (OVERFLOW): Likewise.
35538 (UNDERFLOW): Likewise.
35541 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
35542 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
35544 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
35545 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
35547 * math/lgamma-compat.h: Include <math-svid-compat.h>.
35548 * math/w_acos_compat.c: Likewise.
35549 * math/w_acosf_compat.c: Likewise.
35550 * math/w_acosh_compat.c: Likewise.
35551 * math/w_acoshf_compat.c: Likewise.
35552 * math/w_acoshl_compat.c: Likewise.
35553 * math/w_acosl_compat.c: Likewise.
35554 * math/w_asin_compat.c: Likewise.
35555 * math/w_asinf_compat.c: Likewise.
35556 * math/w_asinl_compat.c: Likewise.
35557 * math/w_atan2_compat.c: Likewise.
35558 * math/w_atan2f_compat.c: Likewise.
35559 * math/w_atan2l_compat.c: Likewise.
35560 * math/w_atanh_compat.c: Likewise.
35561 * math/w_atanhf_compat.c: Likewise.
35562 * math/w_atanhl_compat.c: Likewise.
35563 * math/w_cosh_compat.c: Likewise.
35564 * math/w_coshf_compat.c: Likewise.
35565 * math/w_coshl_compat.c: Likewise.
35566 * math/w_exp10_compat.c: Likewise.
35567 * math/w_exp10f_compat.c: Likewise.
35568 * math/w_exp10l_compat.c: Likewise.
35569 * math/w_exp2_compat.c: Likewise.
35570 * math/w_exp2f_compat.c: Likewise.
35571 * math/w_exp2l_compat.c: Likewise.
35572 * math/w_fmod_compat.c: Likewise.
35573 * math/w_fmodf_compat.c: Likewise.
35574 * math/w_fmodl_compat.c: Likewise.
35575 * math/w_hypot_compat.c: Likewise.
35576 * math/w_hypotf_compat.c: Likewise.
35577 * math/w_hypotl_compat.c: Likewise.
35578 * math/w_j0_compat.c: Likewise.
35579 * math/w_j0f_compat.c: Likewise.
35580 * math/w_j0l_compat.c: Likewise.
35581 * math/w_j1_compat.c: Likewise.
35582 * math/w_j1f_compat.c: Likewise.
35583 * math/w_j1l_compat.c: Likewise.
35584 * math/w_jn_compat.c: Likewise.
35585 * math/w_jnf_compat.c: Likewise.
35586 * math/w_jnl_compat.c: Likewise.
35587 * math/w_lgamma_main.c: Likewise.
35588 * math/w_lgamma_r_compat.c: Likewise.
35589 * math/w_lgammaf_main.c: Likewise.
35590 * math/w_lgammaf_r_compat.c: Likewise.
35591 * math/w_lgammal_main.c: Likewise.
35592 * math/w_lgammal_r_compat.c: Likewise.
35593 * math/w_log10_compat.c: Likewise.
35594 * math/w_log10f_compat.c: Likewise.
35595 * math/w_log10l_compat.c: Likewise.
35596 * math/w_log2_compat.c: Likewise.
35597 * math/w_log2f_compat.c: Likewise.
35598 * math/w_log2l_compat.c: Likewise.
35599 * math/w_log_compat.c: Likewise.
35600 * math/w_logf_compat.c: Likewise.
35601 * math/w_logl_compat.c: Likewise.
35602 * math/w_pow_compat.c: Likewise.
35603 * math/w_powf_compat.c: Likewise.
35604 * math/w_powl_compat.c: Likewise.
35605 * math/w_remainder_compat.c: Likewise.
35606 * math/w_remainderf_compat.c: Likewise.
35607 * math/w_remainderl_compat.c: Likewise.
35608 * math/w_scalb_compat.c: Likewise.
35609 * math/w_scalbf_compat.c: Likewise.
35610 * math/w_scalbl_compat.c: Likewise.
35611 * math/w_sinh_compat.c: Likewise.
35612 * math/w_sinhf_compat.c: Likewise.
35613 * math/w_sinhl_compat.c: Likewise.
35614 * math/w_sqrt_compat.c: Likewise.
35615 * math/w_sqrtf_compat.c: Likewise.
35616 * math/w_sqrtl_compat.c: Likewise.
35617 * math/w_tgamma_compat.c: Likewise.
35618 * math/w_tgammaf_compat.c: Likewise.
35619 * math/w_tgammal_compat.c: Likewise.
35620 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
35621 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
35622 * sysdeps/ieee754/k_standard.c: Likewise.
35623 * sysdeps/ieee754/k_standardf.c: Likewise.
35624 * sysdeps/ieee754/k_standardl.c: Likewise.
35625 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
35626 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
35627 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
35628 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
35629 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
35630 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
35631 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
35632 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
35633 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
35634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
35636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
35638 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
35639 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
35640 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
35641 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
35643 2017-08-21 Florian Weimer <fweimer@redhat.com>
35646 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
35647 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
35648 Move before inclusion of ../Rules.
35650 2017-08-21 Florian Weimer <fweimer@redhat.com>
35653 * assert/assert.h (assert): Use static_cast (bool) for C++.
35654 Use the ternary operator in the warning branch for GNU C.
35655 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
35656 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
35657 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
35658 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
35659 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
35661 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35664 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35665 (__syscall_clock_gettime): Add attribute_hidden.
35666 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
35667 (__start_context): Likewise.
35669 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35671 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
35673 (hidden_proto): Likewise.
35674 (hidden_tls_proto): Likewise.
35675 (__hidden_proto): Likewise.
35677 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35679 * include/libc-symbols.h (attribute_hidden): Enable hidden
35680 visibility in libc.a compiled with PIE.
35682 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35685 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
35686 Add attribute_hidden.
35688 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35691 * Makerules (all-nonlib): Add $(others-extras).
35692 * catgets/Makefile (others-extras): New.
35693 * elf/Makefile (others-extras): Likewise.
35694 * nss/Makefile (others-extras): Likewise.
35696 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35699 * csu/libc-start.c (__libc_multiple_libcs): Removed.
35700 * elf/dl-open.c: Include <libc-internal.h>.
35701 (__libc_multiple_libcs): Removed.
35702 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
35704 * include/libc-internal.h (__libc_multiple_libcs): New.
35705 * misc/sbrk.c: Include <libc-internal.h>.
35706 (__libc_multiple_libcs): Removed.
35708 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35711 * grp/initgroups.c (__nss_group_database): Removed.
35712 (__nss_initgroups_database): Likewise.
35713 * nscd/gai.c (__nss_hosts_database): Likewise.
35714 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
35715 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
35716 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
35717 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
35718 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
35719 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
35721 * nss/nsswitch.c (__nss_database_custom): Define only if
35722 USE_NSCD is defined.
35723 (__nss_configure_lookup): Use __nss_database_custom only if
35724 USE_NSCD is defined.
35725 * nss/nsswitch.h (__nss_database_custom): Declare only if
35726 USE_NSCD is defined. Add attribute_hidden.
35727 (__nss_setent): Add attribute_hidden.
35728 (__nss_endent): Likewise.
35729 (__nss_getent_r): Likewise.
35730 (__nss_getent): Likewise.
35731 (DEFINE_DATABASE): Declare __nss_##arg##_database.
35733 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
35736 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
35737 libc_hidden_proto and libc_hidden_def.
35739 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
35742 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
35743 Add libc_hidden_proto.
35744 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
35745 Add libc_hidden_def.
35747 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
35750 * gmon/Makefile (routines): Remove bb_init_func and
35752 (elide-routines.os): Removed.
35753 * gmon/bb_exit_func.c: Likewise.
35754 * gmon/bb_init_func.c: Likewise.
35755 * include/sys/gmon.h (__bb): Likewise.
35756 (__bb_init_func): Likewise.
35757 (__bb_exit_func): Likewise.
35758 * sysdeps/alpha/bb_init_func.S: Likewise.
35760 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
35762 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
35763 * include/setjmp.h (____longjmp_chk): Here. Add
35766 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
35769 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
35771 (__strspn_sse2): Likewise.
35773 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35775 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
35776 (close_not_cancel_no_status): Likewise.
35777 (__close_nocancel): New macro.
35778 (__close_nocancel_nostatus): Likewise.
35779 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
35781 (close_not_cancel): Likewise.
35782 (close_not_cancel_no_status): Likewise.
35783 (__close_nocancel): New prototype.
35784 (__close_nocancel_nostatus): New function.
35785 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
35786 * catgets/open_catalog.c (__open_catalog): Replace
35787 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
35788 * gmon/gmon.c (write_gmon): Likewise.
35789 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
35790 * intl/loadmsgcat.c (close): Likewise.
35791 * io/ftw.c (open_dir_stream): Likewise.
35792 (ftw_startup): Likewise.
35793 * libio/fileops.c (_IO_file_open): Likewise.
35794 (_IO_file_close_mmap): Likewise.
35795 (_IO_file_close): Likewise.
35796 * libio/iopopen.c (_IO_dup2): Likewise.
35797 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35798 * locale/loadlocale.c (_nl_load_locale): Likewise.
35799 * login/utmp_file.c (pututline_file): Likewise.
35800 (endutent_file): Likewise.
35801 * misc/daemon.c (daemon): Likewise.
35802 * nscd/nscd_getai.c (__nscd_getai): Likewise.
35803 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35804 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
35805 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
35806 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35807 * nscd/nscd_helper.c (open_socket): Likewise.
35808 (__nscd_open_socket): Likewise.
35809 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
35810 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
35811 (__nscd_innetgr): Likewise.
35812 * nss/nss_db/db-open.c (internal_setent): Likewise.
35813 * resolv/res-close.c (__res_iclose): Likewise.
35814 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
35815 * sysdeps/posix/closedir.c (__closedir): Likewise.
35816 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
35817 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
35818 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
35819 (opendir_tail): Likewise.
35820 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
35821 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
35822 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
35823 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
35824 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
35825 (gethostid): Likewise.
35826 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
35827 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35829 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
35830 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
35831 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
35832 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
35834 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
35835 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
35836 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
35838 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
35839 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
35841 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
35843 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
35844 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
35845 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
35848 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
35849 (openat_not_cancel_3): Likewise.
35850 (openat64_not_cancel_3): Likewise).
35851 (openat_not_cancel_3): Likewise).
35852 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
35854 (openat_not_cancel_3): Likewise.
35855 (openat64_not_cancel): Likewise.
35856 (openat64_not_cancel_3): Likewise.
35857 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
35858 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
35859 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
35860 __open{64}_nocancel.
35861 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
35862 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
35863 * sysdeps/posix/opendir.c (__opendirat): Likewise.
35865 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
35868 * include/argz.h (__argz_create_sep): New function prototype.
35869 (__argz_append): Likewise.
35870 (__argz_add): Likewise.
35871 (__argz_add_sep): Likewise.
35872 (__argz_delete): Likewise.
35873 (__argz_insert): Likewise.
35874 (__argz_replace): Likewise.
35875 * string/argz.h (__argz_create_sep): Removed.
35876 (__argz_append): Likewise.
35877 (__argz_add): Likewise.
35878 (__argz_add_sep): Likewise.
35879 (__argz_delete): Likewise.
35880 (__argz_insert): Likewise.
35881 (__argz_replace): Likewise.
35883 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
35885 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
35886 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
35887 (GNU_PROPERTY_STACK_SIZE): Likewie.
35888 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
35889 (GNU_PROPERTY_LOPROC): Likewise.
35890 (GNU_PROPERTY_HIPROC): Likewise.
35891 (GNU_PROPERTY_LOUSER): Likewise.
35892 (GNU_PROPERTY_HIUSER): Likewise.
35893 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
35894 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
35895 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
35896 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
35897 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
35898 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
35899 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
35900 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
35901 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
35902 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
35903 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
35904 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
35905 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
35906 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
35907 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
35908 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
35909 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
35910 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
35911 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
35912 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
35913 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
35914 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
35915 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
35917 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35919 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
35922 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35925 * math/math.h (isinf): Check if in C or C++ mode before using
35926 __builtin_types_compatible_p, since this is a C mode feature.
35928 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35930 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
35931 (__write_nocancel): New macro.
35932 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
35933 Rewrite as a function prototype.
35934 (write_not_cancel): Remove macro.
35935 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
35936 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
35937 (write_gmon): Likewise.
35938 * libio/fileops.c (_IO_new_file_write): Likewise.
35939 * login/utmp_file.c (pututline_file): Likewise.
35940 (updwtmp_file): Likewise.
35941 * stdio-common/psiginfo.c (psiginfo): Likewise.
35942 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
35943 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
35944 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
35946 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
35949 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
35950 (__read_nocancel): New macro.
35951 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
35953 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
35955 (__read_nocancel): New prototype.
35956 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
35957 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
35958 with __read_nocancel.
35959 * intl/loadmsgcat.c (read): Likewise.
35960 * libio/fileops.c (_IO_file_read): Likewise.
35961 * locale/loadlocale.c (_nl_load_locale): Likewise.
35962 * login/utmp_file.c (getutent_r_file): Likewise.
35963 (internal_getut_r): Likewise.
35964 (getutline_r_file): Likewise.
35965 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
35966 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
35967 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
35968 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35970 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
35971 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
35972 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
35974 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
35976 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
35978 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
35980 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
35982 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
35985 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
35986 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
35989 2017-08-17 DJ Delorie <dj@redhat.com>
35991 * bug17079.c: Update to new test harness.
35992 * test-digits-dots.c: Likewise.
35993 * test-netdb.c: Likewise.
35994 * tst-field.c: Likewise.
35995 * tst-nss-getpwent.c: Likewise.
35996 * tst-nss-static.c: Likewise.
35997 * tst-nss-test1.c: Likewise.
35998 * tst-nss-test2.c: Likewise.
35999 * tst-nss-test3.c: Likewise.
36000 * tst-nss-test4.c: Likewise.
36001 * tst-nss-test5.c: Likewise.
36003 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36005 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
36006 (open_not_cancel_2): Likewise.
36007 (open_nocancel): New macro.
36008 (open64_nocancel): Likewise.
36009 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
36010 (open_not_cancel_2): Likewise.
36011 (__open_nocancel): New prototype.
36012 (__open64_nocancel): Likewise.
36013 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36015 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
36016 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
36017 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
36018 with __open_nocancel.
36019 * csu/check_fds.c (check_one_fd): Likewise.
36020 * gmon/gmon.c (write_gmon): Likewise.
36021 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
36022 * intl/loadmsgcat.c (open): Likewise.
36023 * libio/fileops.c (_IO_file_open): Likewise.
36024 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36025 * locale/loadlocale.c (_nl_load_locale): Likewise.
36026 * login/utmp_file.c (setutent_file): Likewise.
36027 * misc/daemon.c (daemon): Likewise.
36028 * nss/nss_db/db-open.c (internal_setent): Likewise.
36029 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36030 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
36031 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36032 (__opendir): Likewise.
36033 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36034 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36035 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36036 (gethostid): Likewise.
36037 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36038 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36040 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36041 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
36042 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36043 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36045 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36047 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36049 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
36051 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36053 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36055 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36056 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36058 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
36060 * benchtests/bench-skeleton.c (main): Add support for
36061 latency benchmarking.
36062 * benchtests/scripts/bench.py: Add support for latency benchmarking.
36064 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
36066 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
36067 the startup object.
36069 2017-08-17 Florian Weimer <fweimer@redhat.com>
36071 * include/sys/socket.h (__opensock): Remove internal_function.
36072 * socket/opensock.c (__opensock): Likewise.
36073 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
36075 2017-08-16 Joseph Myers <joseph@codesourcery.com>
36078 * signal/bits/types/__sigval_t.h: New file.
36079 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
36080 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
36081 and define sigval_t using __sigval_t.
36082 * include/bits/types/__sigval_t.h: New file.
36083 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
36084 instead of <bits/types/__sigval_t.h>.
36085 (struct sigevent): Use __sigval_t instead of sigval_t.
36086 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
36087 instead of <bits/types/__sigval_t.h>.
36088 (siginfo_t): Use __sigval_t instead of sigval_t.
36089 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
36090 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
36091 (struct sigevent): Use __sigval_t instead of sigval_t.
36092 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
36093 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
36094 (siginfo_t): Use __sigval_t instead of sigval_t.
36095 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
36097 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36099 * NEWS: Remove "[Add new features here]" for 2.27.
36101 2017-08-16 Joseph Myers <joseph@codesourcery.com>
36103 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
36106 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36108 * NEWS: Mention x86-64 FMA optimization.
36110 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36113 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36115 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
36116 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
36117 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
36119 2017-08-16 Andreas Schwab <schwab@suse.de>
36123 * elf/ldd.bash.in: Never run file directly.
36125 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
36128 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
36129 (L(SP_INF_0)): Likewise.
36131 2017-08-15 Florian Weimer <fweimer@redhat.com>
36133 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
36136 2017-08-15 Florian Weimer <fweimer@redhat.com>
36138 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
36139 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
36140 BROKEN_THREAD_SIGNALS code.
36141 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
36142 request_list): Remove caller_pid member used for
36143 BROKEN_THREAD_SIGNALS.
36144 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
36145 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
36146 Remove BROKEN_THREAD_SIGNALS support.
36147 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
36148 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
36150 2017-08-15 Florian Weimer <fweimer@redhat.com>
36152 * gmon/Makefile (tests): Add tst-gmon.
36153 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
36155 (tests-special): Add tst-gmon-prof.out.
36156 (tst-gmon.out): Depend on clean-tst-gmon-data.
36157 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
36158 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
36159 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
36161 * aclocal.m4 (GPROF): Set and substitute.
36162 * config.amke.in (GPROF): Set.
36163 * configure: Regenerate.
36165 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
36167 * elf/elf.h A (NT_PPC_TAR): New macro.
36168 (NT_PPC_PPR): Likewise.
36169 (NT_PPC_DSCR): Likewise.
36170 (NT_PPC_EBB): Likewise.
36171 (NT_PPC_PMU): Likewise.
36172 (NT_PPC_TM_CGPR): Likewise.
36173 (NT_PPC_TM_CFPR): Likewise.
36174 (NT_PPC_TM_CVMX): Likewise.
36175 (NT_PPC_TM_CVSX): Likewise.
36176 (NT_PPC_TM_SPR): Likewise.
36177 (NT_PPC_TM_CTAR): Likewise.
36178 (NT_PPC_TM_CPPR): Likewise.
36179 (NT_PPC_TM_CDSCR): Likewise.
36181 2017-08-15 Florian Weimer <fweimer@redhat.com>
36183 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
36184 regparm (2) instead of internal_function.
36185 (_MCOUNT_DECL): Adjust.
36187 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
36189 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
36190 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
36192 2017-08-14 Joseph Myers <joseph@codesourcery.com>
36194 * conform/data/sys/wait.h-data (si_value): Do not expect for
36197 2017-08-14 Florian Weimer <fweimer@redhat.com>
36200 NSS: Create stubs for accidentally exported lookup functions.
36201 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
36202 Remove declaration.
36203 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
36204 (ether_hostton): Call __nss_ethers_lookup2 instead.
36205 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
36206 (ether_ntohost): Call __nss_ethers_lookup2 instead.
36207 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
36208 (setup): Call __nss_netgroup_lookup2 instead.
36209 * nss/Makefile (routines): Add compat-lookup.
36210 * nss/Versions (GLIBC_2.27): Add symbol version.
36211 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
36212 (DB_COMPAT_FCT): Remove.
36213 * nss/compat-lookup.c: New file.
36214 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
36215 from databases.def.
36216 * nss/service-lookup.c (NO_COMPAT): Remove definition.
36217 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
36218 (netname2user): Call __nss_publickey_lookup2 instead.
36219 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
36220 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
36223 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36224 Sergei Trofimovich <slyfox@inbox.ru>
36227 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
36228 Rename to MMAP2_PAGE_UNIT.
36229 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
36230 __OFF_T_MATCHES_OFF64_T is not defined.
36231 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
36233 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
36234 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
36236 2017-08-14 Florian Weimer <fweimer@redhat.com>
36238 i386: Do not set internal_function.
36239 * config.h.in (USE_REGPARMS, internal_function): Remove.
36240 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
36241 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
36243 2017-08-14 Florian Weimer <fweimer@redhat.com>
36245 * elf/dl-init.c (_dl_init): Remove internal_function.
36246 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
36247 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
36249 2017-08-14 Florian Weimer <fweimer@redhat.com>
36251 * elf/rtld.c (_dl_start): Remove internal_function.
36252 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
36255 2017-08-14 Florian Weimer <fweimer@redhat.com>
36257 * elf/dl-fini.c (_dl_fini): Remove internal_function
36258 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
36260 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
36262 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
36263 (bit_cpu_SHSTK): Likewise.
36264 (index_cpu_IBT): Likewise.
36265 (index_cpu_SHSTK): Likewise.
36266 (reg_IBT): Likewise.
36267 (reg_SHSTK): Likewise.
36268 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
36269 Handle index_cpu_IBT and index_cpu_SHSTK.
36271 2017-08-14 Mike FABIAN <mfabian@redhat.com>
36274 * po/fr.po: Fix spelling mistake.
36276 2017-08-13 Florian Weimer <fweimer@redhat.com>
36278 * elf/dl-addr.c (_dl_addr): Remove internal_function.
36279 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
36280 (_dl_catch_error, _dl_receive_error): Likewise.
36281 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
36282 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
36283 (_dl_deallocate_tls): Likewise.
36284 * include/dlfcn.h (_dl_addr): Likewise.
36285 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
36286 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
36287 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
36290 2017-08-13 Florian Weimer <fweimer@redhat.com>
36292 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
36293 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
36295 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
36297 2017-08-13 Florian Weimer <fweimer@redhat.com>
36299 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
36301 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
36302 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
36303 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
36304 internal_function from _dl_make_stack_executable_hook member.
36305 (_dl_make_stack_executable): Remove internal_function.
36306 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
36308 * sysdeps/unix/sysv/linux/dl-execstack.c
36309 (_dl_make_stack_executable): Likewise.
36311 2017-08-13 Florian Weimer <fweimer@redhat.com>
36313 * sysdeps/unix/sysv/linux/netlinkaccess.h
36314 (__netlink_assert_response): Remove internal_function.
36315 * sysdeps/unix/sysv/linux/netlink_assert_response.c
36316 (__netlink_assert_response): Likewise.
36318 2017-08-13 Florian Weimer <fweimer@redhat.com>
36320 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
36322 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
36324 2017-08-13 Florian Weimer <fweimer@redhat.com>
36326 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
36328 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
36329 * inet/netgroup.h (__internal_setnetgrent)
36330 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
36331 * inet/getnetgrent_r.c (__internal_setnetgrent)
36332 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
36333 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
36334 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
36335 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
36336 * nss/nsswitch.h (db_lookup_function): Likewise.
36338 2017-08-13 Florian Weimer <fweimer@redhat.com>
36340 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
36341 Remove internal_function.
36342 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
36343 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
36344 message argument on the stack.
36345 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
36348 2017-08-12 Mike FABIAN <mfabian@redhat.com>
36350 Adapt test case data to the changes in the thousands
36354 * localedata/tst-langinfo.sh: Adapt test case data.
36355 * stdlib/tst-strfmon_l.c: Likewise.
36356 * stdlib/tst-strtod4.c: Likewise.
36357 * stdlib/tst-strtod5i.c: Likewise.
36359 2017-08-11 Florian Weimer <fweimer@redhat.com>
36362 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
36363 Suppress pedantic warning resulting from statement expression.
36364 (__ASSERT_FUNCTION): Add missing __extension__.
36366 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
36368 * benchtests/bench-memmove-large.c: Print output in JSON
36370 * benchtests/bench-memmove.c: Likewise.
36372 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
36373 * benchtests/bench-memchr.c (do_one_test): Likewise.
36374 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
36375 * benchtests/bench-memcpy.c (do_one_test): Likewise.
36376 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
36377 * benchtests/bench-memmove.c (do_one_test): Likewise.
36378 * benchtests/bench-memset-large.c (do_one_test): Likewise.
36379 * benchtests/bench-memset.c (do_one_test): Likewise.
36380 * benchtests/bench-string.h (test_init): Remove memsets.
36382 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
36385 (Computing the Width of an Integer Data Type): Rename section to
36386 "Width of an Integer Type". Remove inaccurate statement regarding
36387 lack of C language facilities for determining width of integer
36388 types, and reorder content to improve flow and context of
36391 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
36393 * lang.texi (va_copy): Change standard from ISO to C99.
36394 (__va_copy): Add standard and header annotation.
36395 Update description for clarity of origins and current use.
36397 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36400 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
36401 xssqrtqp requires operands to be in Vector Registers
36402 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
36403 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
36404 (__ieee754_sqrtf128): Likewise.
36406 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
36408 * sysdeps/aarch64/memcmp.S (memcmp):
36409 Rewrite of optimized memcmp.
36411 2017-08-10 Florian Weimer <fweimer@redhat.com>
36413 Introduce ld.so exceptions.
36414 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
36415 (_dl_exception_create, _dl_exception_create_format)
36416 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
36417 (_dl_catch_exception): Declare.
36418 (_dl_catch_error): Update comment.
36419 * elf/dl-error-skeleton.c (struct catch): Replace objname,
36420 errstring, malloced members with exception member.
36421 (_dl_out_of_memory): Remove.
36422 (fatal_error): New function, extracted from _dl_signal_error.
36423 (_dl_signal_exception, _dl_signal_cexception): New functions.
36424 (_dl_signal_error): Call _dl_exception_create to allocate an
36426 (_dl_catch_exception): New function, based on _dl_catch_error.
36427 (_dl_catch_error): Implement using _dl_catch_exception.
36428 * elf/dl-exception.c: New file.
36429 * elf/Makefile (dl-routines): Add dl-exception.
36430 (elide-routines.os): Likewise.
36431 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
36432 _dl_exception_create_format, _dl_exception_free.
36433 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
36434 _dl_signal_exception.
36435 * elf/dl-lookup.c (make_string): Remove.
36436 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
36437 _dl_signal_cexception, _dl_exception_free.
36438 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
36439 _dl_signal_exception.
36440 * elf/dl-sym.c (do_sym): Likewise.
36441 * elf/dl-version.c (make_string): Remove.
36442 (match_symbol): Use _dl_exception_create_format,
36443 _dl_signal_cexception, _dl_exception_free.
36444 (_dl_check_map_versions): Likewise.
36445 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
36446 _dl_catch_exception.
36447 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
36448 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
36449 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
36450 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
36451 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
36452 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
36453 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
36454 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
36456 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
36457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
36459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
36461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
36463 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
36464 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
36465 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
36467 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
36469 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
36471 2017-08-10 Florian Weimer <fweimer@redhat.com>
36473 * inet/net-internal.h (__inet6_scopeid_pton): Remove
36474 attribute_hidden, internal_function.
36475 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
36478 2017-08-10 Florian Weimer <fweimer@redhat.com>
36480 * malloc/malloc.c (get_max_fast): Reimplement as an inline
36481 function which calls __builtin_unreachable.
36483 2017-08-10 Mike FABIAN <mfabian@redhat.com>
36485 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
36486 Indian monetary formatting
36487 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
36490 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
36492 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
36493 Fix typo in comment.
36496 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
36497 PTRACE_SEIZE_DEVEL): Remove.
36498 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
36499 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36500 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36501 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36502 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36504 2017-08-09 Joseph Myers <joseph@codesourcery.com>
36506 * posix/bits/types.h (__qaddr_t): Remove.
36509 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
36510 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36512 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
36513 (ucontext_t): Use __ctx with uc_flags.
36514 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
36515 (__ctxt): Likewise.
36516 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36518 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
36519 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36521 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
36522 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36524 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
36526 (ucontext_t): Use __ctx with uc_flags.
36527 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
36528 (ucontext_t): Use __ctx with uc_flags.
36529 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
36530 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
36531 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
36532 (ucontext_t): Use __ctx with uc_flags.
36533 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
36534 undefine further down.
36535 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36537 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
36538 undefine further down.
36539 (ucontext_t): Use __ctx with uc_flags.
36540 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
36541 undefine further down.
36542 (ucontext_t): Use __ctx with uc_flags.
36543 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
36544 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
36545 Rename uc_pad to __glibc_reserved1.
36546 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
36547 undefine further down.
36548 (ucontext_t): Use __ctx with uc_flags.
36549 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
36551 (ucontext_t): Use __ctx with uc_flags.
36552 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
36553 __ctx with uc_flags.
36554 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
36555 (ucontext_t): Use __ctx with uc_flags.
36556 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
36557 __ctx with uc_flags.
36559 2017-08-09 Florian Weimer <fweimer@redhat.com>
36562 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
36563 before early return.
36565 2017-08-09 Andreas Schwab <schwab@suse.de>
36568 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
36572 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
36573 tst-compat-forwarder.
36574 (modules-names): Add tst-compat-forwarder-mod.
36575 ($(objpfx)tst-compat-forwarder): Depend on
36576 $(objpfx)tst-compat-forwarder-mod.so.
36577 * nptl/tst-compat-forwarder.c: New file.
36578 * nptl/tst-compat-forwarder-mod.c: New file.
36580 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
36582 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
36585 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
36586 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
36588 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
36590 (__libc_ifunc_impl_list): Add __memcpy_falkor.
36591 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
36592 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
36593 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
36595 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
36598 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36601 * manual/setjmp.texi (getcontex): Document uc_stack value
36602 compatibility differences.
36604 2017-08-08 Joseph Myers <joseph@codesourcery.com>
36606 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
36607 (old_malloc_hook): Likewise.
36608 (old_memalign_hook): Likewise.
36609 (old_realloc_hook): Likewise.
36610 (struct hdr): Likewise.
36612 (freehook): Likewise.
36613 (mallochook): Likewise.
36614 (memalignhook): Likewise.
36615 (reallochook): Likewise.
36616 (mprobe): Likewise.
36617 * malloc/mtrace.c (mallwatch): Likewise.
36618 (tr_old_free_hook): Likewise.
36619 (tr_old_malloc_hook): Likewise.
36620 (tr_old_realloc_hook): Likewise.
36621 (tr_old_memalign_hook): Likewise.
36622 (tr_where): Likewise.
36623 (lock_and_info): Likewise.
36624 (tr_freehook): Likewise.
36625 (tr_mallochook): Likewise.
36626 (tr_reallochook): Likewise.
36627 (tr_memalignhook): Likewise.
36628 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
36629 * misc/mmap.c (__mmap): Likewise.
36630 * misc/mmap64.c (__mmap64): Likewise.
36631 * misc/mprotect.c (__mprotect): Likewise.
36632 * misc/msync.c (msync): Likewise.
36633 * misc/munmap.c (__munmap): Likewise.
36634 * posix/posix_madvise.c (posix_madvise): Likewise.
36635 * socket/send.c (__send): Likewise.
36636 * socket/sendto.c (__sendto): Likewise.
36637 * socket/setsockopt.c (__setsockopt): Likewise.
36638 * string/memcmp.c (__ptr_t): Remove macro.
36639 (MEMCMP): Use void * instead of ptr_t.
36640 * string/memrchr.c (__ptr_t): Remove macro.
36641 (__memrchr): Use void * instead of ptr_t.
36642 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
36643 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
36644 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
36645 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
36646 * sysdeps/mach/msync.c (msync): Likewise.
36647 * sysdeps/mach/munmap.c (__munmap): Likewise.
36648 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
36650 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36651 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
36652 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
36653 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
36654 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
36655 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
36656 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
36657 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
36659 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
36660 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
36661 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
36662 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
36663 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
36664 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
36665 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
36666 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
36667 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
36669 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
36670 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
36671 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
36672 (MEMCMP): Use void * instead of ptr_t.
36673 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
36674 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
36676 2017-08-08 Florian Weimer <fweimer@redhat.com>
36678 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
36681 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
36684 * csu/libc-tls.c: Include <startup.h> first.
36685 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
36686 * elf/dl-tunables.c: Include <startup.h> first.
36687 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
36688 * sysdeps/generic/startup.h: New file.
36689 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
36690 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
36691 (I386_USE_SYSENTER): New. Defined to 0.
36693 2017-08-08 Andreas Schwab <schwab@suse.de>
36696 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
36697 * nptl/pt-system.c (system): Likewise.
36699 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36702 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
36704 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
36705 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
36706 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
36707 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
36708 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
36709 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
36710 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
36712 2017-08-07 Joseph Myers <joseph@codesourcery.com>
36715 * bits/sigaction.h (struct sigaction): Define sa_handler and
36716 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
36717 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36718 [__USE_XOPEN_EXTENDED].
36719 (SA_RESTART): Likewise.
36720 (SA_NODEFER): Likewise.
36721 (SA_RESETHAND): Likewise.
36722 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
36723 (struct sigaction): Define sa_handler and sa_sigaction using union
36724 also for [__USE_XOPEN_EXTENDED].
36725 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36726 [__USE_XOPEN_EXTENDED].
36727 (SA_RESTART): Likewise.
36728 (SA_NODEFER): Likewise.
36729 (SA_RESETHAND): Likewise.
36730 * sysdeps/unix/sysv/linux/bits/sigaction.h
36731 (struct sigaction): Define sa_handler and sa_sigaction using union
36732 also for [__USE_XOPEN_EXTENDED].
36733 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36734 [__USE_XOPEN_EXTENDED].
36735 (SA_RESTART): Likewise.
36736 (SA_NODEFER): Likewise.
36737 (SA_RESETHAND): Likewise.
36738 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
36739 (struct sigaction): Define sa_handler and sa_sigaction using union
36740 also for [__USE_XOPEN_EXTENDED].
36741 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36742 [__USE_XOPEN_EXTENDED].
36743 (SA_RESTART): Likewise.
36744 (SA_NODEFER): Likewise.
36745 (SA_RESETHAND): Likewise.
36746 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
36747 (struct sigaction): Define sa_handler and sa_sigaction using union
36748 also for [__USE_XOPEN_EXTENDED].
36749 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36750 [__USE_XOPEN_EXTENDED].
36751 (SA_RESTART): Likewise.
36752 (SA_NODEFER): Likewise.
36753 (SA_RESETHAND): Likewise.
36754 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
36755 (struct sigaction): Define sa_handler and sa_sigaction using union
36756 also for [__USE_XOPEN_EXTENDED].
36757 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36758 [__USE_XOPEN_EXTENDED].
36759 (SA_RESTART): Likewise.
36760 (SA_NODEFER): Likewise.
36761 (SA_RESETHAND): Likewise.
36762 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
36763 (struct sigaction): Define sa_handler and sa_sigaction using union
36764 also for [__USE_XOPEN_EXTENDED].
36765 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36766 [__USE_XOPEN_EXTENDED].
36767 (SA_RESTART): Likewise.
36768 (SA_NODEFER): Likewise.
36769 (SA_RESETHAND): Likewise.
36770 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
36771 (struct sigaction): Define sa_handler and sa_sigaction using union
36772 also for [__USE_XOPEN_EXTENDED].
36773 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36774 [__USE_XOPEN_EXTENDED].
36775 (SA_RESTART): Likewise.
36776 (SA_NODEFER): Likewise. Define directly rather than as alias.
36777 (SA_RESETHAND): Likewise.
36778 (SA_INTERRUPT): Define only for [__USE_MISC].
36779 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
36780 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
36782 (SA_STACK): Define only for [__USE_MISC].
36783 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
36784 (struct sigaction): Define sa_handler and sa_sigaction using union
36785 also for [__USE_XOPEN_EXTENDED].
36786 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36787 [__USE_XOPEN_EXTENDED].
36788 (SA_RESTART): Likewise.
36789 (SA_NODEFER): Likewise.
36790 (SA_RESETHAND): Likewise.
36791 (SA_NOPTRACE): Define only for [__USE_MISC].
36793 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
36794 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
36795 (struct catalog_info): Likewise.
36796 * inet/htontest.c (lo): Likewise.
36798 * inet/inet_lnaof.c (inet_lnaof): Likewise.
36799 * inet/inet_net.c (inet_network): Likewise.
36800 * inet/inet_netof.c (inet_netof): Likewise.
36801 * inet/rcmd.c (__ivaliduser): Likewise.
36802 (iruserok): Likewise.
36803 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
36804 * locale/programs/locale-spec.c (locale_special): Likewise.
36805 * nis/nis_findserv.c (struct findserv_req): Likewise.
36806 (__nis_findfastest_with_timeout): Likewise.
36807 * nss/test-netdb.c (test_network): Likewise.
36808 * resolv/inet_neta.c (inet_neta): Likewise.
36809 * resolv/ns_date.c (ns_datetosecs): Likewise.
36810 (SECS_PER_DAY): Likewise.
36811 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
36813 * resolv/res_comp.c (__putlong): Likewise.
36814 (__putshort): Likewise.
36815 (_getlong): Likewise.
36816 (_getshort): Likewise.
36817 * resolv/res_debug.c (p_time): Likewise.
36818 (precsize_ntoa): Likewise.
36819 (precsize_aton): Likewise.
36820 (latlon2ul): Likewise.
36821 (loc_aton): Likewise.
36822 (loc_ntoa): Likewise.
36823 * resolv/res_hconf.c (struct netaddr): Likewise.
36824 (_res_hconf_reorder_addrs): Likewise.
36825 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
36826 (clnttcp_control): Likewise.
36827 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36828 (clntudp_control): Likewise.
36829 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
36830 (clntunix_control): Likewise.
36831 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
36832 * sunrpc/rpc/auth.h (union des_block): Likewise.
36833 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
36834 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
36835 (xdrrec_create): Likewise.
36836 (xdrrec_endofrecord): Likewise.
36837 (flush_out): Likewise.
36838 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
36839 (xdrstdio_putlong): Likewise.
36840 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
36843 * misc/sys/cdefs.h (__long_double_t): Remove.
36844 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
36845 instead of __long_double_t,
36846 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
36848 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
36850 * benchtests/scripts/compare_strings.py: Avoid display error when
36851 running on a text terminal.
36853 * benchtests/scripts/compare_strings.py (main): Add an
36854 optional -base option.
36855 (process_results): New argument base_func.
36857 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
36859 * benchtests/bench-memcpy-large.c (test_name): Likewise.
36860 * benchtests/bench-memcpy-random.c (test_name): Likewise.
36862 2017-08-07 Andreas Schwab <schwab@suse.de>
36864 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
36865 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
36866 * intl/Makefile ($(objpfx)tst-gettext.out)
36867 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
36868 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
36869 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
36870 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
36871 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
36872 * posix/Makefile ($(objpfx)globtest.out)
36873 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
36874 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
36875 ($(objpfx)tst-printf.out): Likewise.
36876 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
36877 ($(objpfx)tst-setcontext3.out): Likewise.
36879 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
36881 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36882 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
36883 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
36884 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
36885 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
36887 (CFLAGS-doasin-fma.c): New.
36888 (CFLAGS-dosincos-fma.c): Likewise.
36889 (CFLAGS-e_asin-fma.c): Likewise.
36890 (CFLAGS-e_atan2-fma.c): Likewise.
36891 (CFLAGS-e_exp-fma.c): Likewise.
36892 (CFLAGS-e_log-fma.c): Likewise.
36893 (CFLAGS-e_pow-fma.c): Likewise.
36894 (CFLAGS-halfulp-fma.c): Likewise.
36895 (CFLAGS-mpa-fma.c): Likewise.
36896 (CFLAGS-mpatan-fma.c): Likewise.
36897 (CFLAGS-mpatan2-fma.c): Likewise.
36898 (CFLAGS-mpexp-fma.c): Likewise.
36899 (CFLAGS-mplog-fma.c): Likewise.
36900 (CFLAGS-mpsqrt-fma.c): Likewise.
36901 (CFLAGS-mptan-fma.c): Likewise.
36902 (CFLAGS-s_atan-fma.c): Likewise.
36903 (CFLAGS-sincos32-fma.c): Likewise.
36904 (CFLAGS-slowexp-fma.c): Likewise.
36905 (CFLAGS-slowpow-fma.c): Likewise.
36906 (CFLAGS-s_sin-fma.c): Likewise.
36907 (CFLAGS-s_tan-fma.c): Likewise.
36908 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
36909 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
36910 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
36911 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
36912 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
36913 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
36914 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
36915 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
36916 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
36917 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
36918 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
36919 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
36920 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
36921 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
36922 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
36923 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
36924 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
36925 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
36926 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
36927 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
36928 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
36929 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
36930 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
36931 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
36932 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36933 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36934 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36935 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
36936 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36937 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36938 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36940 2017-08-04 Joseph Myers <joseph@codesourcery.com>
36942 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
36943 (min_of_type_f): New macro.
36944 (min_of_type_): Likewise.
36945 (min_of_type_l): Likewise.
36946 (min_of_type_f128): Likewise.
36947 (min_of_type): Define using __MATH_TG and taking an expression
36949 (math_check_force_underflow): Pass expression instead of type to
36951 (math_check_force_underflow_nonneg): Likewise.
36953 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36955 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
36956 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
36957 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
36959 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36961 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36962 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
36963 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
36964 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
36965 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
36966 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
36967 memcpy_chk-nonshared, mempcpy_chk-nonshared,
36968 memmove_chk-nonshared and memset_chk-nonshared
36969 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
36970 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
36971 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
36972 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
36973 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
36974 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
36975 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
36976 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
36977 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
36978 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
36979 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
36980 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
36981 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
36982 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
36983 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
36984 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
36985 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
36986 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
36987 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
36988 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
36989 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
36990 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
36991 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
36992 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
36993 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
36994 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
36995 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
36996 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
36997 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
36998 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
36999 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
37000 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
37001 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
37002 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37003 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37004 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
37005 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
37006 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
37007 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
37008 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
37009 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
37010 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
37011 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
37012 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
37013 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
37014 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
37015 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
37016 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
37017 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
37018 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
37019 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
37020 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
37021 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
37022 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
37023 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
37024 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
37025 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
37026 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
37027 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
37028 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
37029 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
37030 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
37031 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
37032 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
37033 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
37034 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
37035 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
37036 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
37037 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
37038 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
37039 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
37040 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37041 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37042 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37043 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37044 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37045 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37046 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37047 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37048 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37049 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37050 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37051 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37052 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37053 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37054 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37055 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37056 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37057 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37058 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37059 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37060 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37061 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37062 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37063 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37064 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37065 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37066 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37067 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37068 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37069 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37070 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37071 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37072 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37073 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37074 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37075 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37076 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37078 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37080 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
37081 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
37082 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
37083 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
37084 svml_d_log2_core-sse2, svml_d_log4_core-sse,
37085 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
37086 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
37087 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
37088 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
37089 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
37090 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
37091 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
37092 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
37093 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
37094 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
37095 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
37096 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
37097 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
37098 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
37099 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
37100 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
37101 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
37102 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
37103 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
37104 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
37105 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
37106 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
37107 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
37108 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
37109 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
37110 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
37111 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
37112 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
37113 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
37114 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
37115 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
37116 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
37117 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
37118 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
37119 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
37120 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
37121 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
37122 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
37123 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
37124 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
37125 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
37126 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
37127 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
37128 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
37129 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
37130 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
37131 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
37132 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
37133 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
37134 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
37135 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
37136 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
37137 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
37138 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
37140 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
37141 Don't include <sysdep.h> nor <init-arch.h>.
37142 (_ZGVbN2v_cos): Removed.
37143 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
37145 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
37146 Don't include <sysdep.h> nor <init-arch.h>.
37147 (_ZGVdN4v_cos): Removed.
37148 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
37150 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
37151 Don't include <sysdep.h> nor <init-arch.h>.
37152 (_ZGVeN8v_cos): Removed.
37153 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
37155 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
37156 Don't include <sysdep.h> nor <init-arch.h>.
37157 (_ZGVbN2v_exp): Removed.
37158 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
37160 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
37161 Don't include <sysdep.h> nor <init-arch.h>.
37162 (_ZGVdN4v_exp): Removed.
37163 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
37165 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
37166 Don't include <sysdep.h> nor <init-arch.h>.
37167 (_ZGVeN8v_exp): Removed.
37168 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
37170 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
37171 Don't include <sysdep.h> nor <init-arch.h>.
37172 (_ZGVbN2v_log): Removed.
37173 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
37175 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
37176 Don't include <sysdep.h> nor <init-arch.h>.
37177 (_ZGVdN4v_log): Removed.
37178 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
37180 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
37181 Don't include <sysdep.h> nor <init-arch.h>.
37182 (_ZGVeN8v_log): Removed.
37183 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
37185 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
37186 Don't include <sysdep.h> nor <init-arch.h>.
37187 (_ZGVbN2vv_pow): Removed.
37188 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
37190 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
37191 Don't include <sysdep.h> nor <init-arch.h>.
37192 (_ZGVdN4vv_pow): Removed.
37193 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
37195 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
37196 Don't include <sysdep.h> nor <init-arch.h>.
37197 (_ZGVeN8vv_pow): Removed.
37198 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
37200 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
37201 Don't include <sysdep.h> nor <init-arch.h>.
37202 (_ZGVbN2v_sin): Removed.
37203 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
37205 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
37206 Don't include <sysdep.h> nor <init-arch.h>.
37207 (_ZGVbN4v_sin): Removed.
37208 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
37210 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
37211 Don't include <sysdep.h> nor <init-arch.h>.
37212 (_ZGVbN8v_sin): Removed.
37213 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
37215 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
37216 Don't include <sysdep.h> nor <init-arch.h>.
37217 (_ZGVbN2vvv_sincos): Removed.
37218 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
37220 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
37221 Don't include <sysdep.h> nor <init-arch.h>.
37222 (_ZGVdN4vvv_sincos): Removed.
37223 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
37225 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
37226 Don't include <sysdep.h> nor <init-arch.h>.
37227 (_ZGVeN8vvv_sincos): Removed.
37228 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
37230 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
37231 Don't include <sysdep.h> nor <init-arch.h>.
37232 (_ZGVeN16v_cosf): Removed.
37233 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
37235 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
37236 Don't include <sysdep.h> nor <init-arch.h>.
37237 (_ZGVbN4v_cosf): Removed.
37238 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
37240 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
37241 Don't include <sysdep.h> nor <init-arch.h>.
37242 (_ZGVdN8v_cosf): Removed.
37243 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
37245 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
37246 Don't include <sysdep.h> nor <init-arch.h>.
37247 (_ZGVeN16v_expf): Removed.
37248 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
37250 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
37251 Don't include <sysdep.h> nor <init-arch.h>.
37252 (_ZGVbN4v_expf): Removed.
37253 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
37255 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
37256 Don't include <sysdep.h> nor <init-arch.h>.
37257 (_ZGVdN8v_expf): Removed.
37258 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
37260 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
37261 Don't include <sysdep.h> nor <init-arch.h>.
37262 (_ZGVeN16v_logf): Removed.
37263 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
37265 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
37266 Don't include <sysdep.h> nor <init-arch.h>.
37267 (_ZGVbN4v_logf): Removed.
37268 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
37270 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
37271 Don't include <sysdep.h> nor <init-arch.h>.
37272 (_ZGVdN8v_logf): Removed.
37273 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
37275 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
37276 Don't include <sysdep.h> nor <init-arch.h>.
37277 (_ZGVeN16vv_powf): Removed.
37278 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
37280 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
37281 Don't include <sysdep.h> nor <init-arch.h>.
37282 (_ZGVbN4vv_powf): Removed.
37283 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
37285 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
37286 Don't include <sysdep.h> nor <init-arch.h>.
37287 (_ZGVdN8vv_powf): Removed.
37288 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
37290 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
37291 Don't include <sysdep.h> nor <init-arch.h>.
37292 (_ZGVeN16vvv_sincosf): Removed.
37293 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
37295 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
37296 Don't include <sysdep.h> nor <init-arch.h>.
37297 (_ZGVbN4vvv_sincosf): Removed.
37298 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
37300 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
37301 Don't include <sysdep.h> nor <init-arch.h>.
37302 (_ZGVdN8vvv_sincosf): Removed.
37303 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
37305 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
37306 Don't include <sysdep.h> nor <init-arch.h>.
37307 (_ZGVeN16v_sinf): Removed.
37308 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
37310 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
37311 Don't include <sysdep.h> nor <init-arch.h>.
37312 (_ZGVbN4v_sinf): Removed.
37313 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
37315 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
37316 Don't include <sysdep.h> nor <init-arch.h>.
37317 (_ZGVdN8v_sinf): Removed.
37319 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37321 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37322 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
37323 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
37324 s_rint-sse4_1 and s_rintf-sse4_1.
37325 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
37326 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
37327 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
37328 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
37329 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
37330 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
37331 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
37332 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
37333 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
37334 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
37335 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
37336 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37338 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
37339 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
37340 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37341 (__ceilf): Removed.
37342 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
37343 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
37344 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37345 (__floor): Removed.
37346 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
37347 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
37348 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37349 (__floorf): Removed.
37350 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
37351 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
37352 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37353 (__nearbyint): Removed.
37354 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
37355 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
37356 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37357 (__nearbyintf): Removed.
37358 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
37359 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
37360 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37362 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
37363 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
37364 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37365 (__rintf): Removed.
37367 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37369 * sysdeps/i386/start.S (_start): Check Check PIC instead of
37370 SHARED. Avoid dynamic relocation against main in static PIE.
37372 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37375 * elf/Makefile (CFLAGS-tst-prelink.c): New.
37376 (LDFLAGS-tst-prelink): Likewise.
37378 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37380 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
37381 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
37382 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
37383 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
37384 (INTERNAL_SYSCALL_NCS): Likewise.
37385 (LOADARGS_1): Likewise.
37386 (LOADARGS_5): Likewise.
37387 (RESTOREARGS_1): Likewise.
37388 (RESTOREARGS_5): Likewise.
37390 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37392 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
37393 (MEMPCPY_SYMBOL): Likewise.
37394 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
37395 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
37396 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
37398 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37399 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
37401 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
37402 (__hidden_ver1): Don't use in libc.a.
37403 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
37404 (__mempcpy): Don't create a weak alias in libc.a.
37405 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
37407 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
37408 (__hidden_ver1): Don't use in libc.a.
37410 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37412 * config.make.in (have-insert): New.
37413 * configure.ac (libc_cv_insert): New. Set to yes if linker
37414 supports INSERT in linker script.
37415 (AC_SUBST(libc_cv_insert): New.
37416 * configure: Regenerated.
37417 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
37418 if $(have-insert) == yes.
37420 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37422 * elf/Makefile (tests): Add vismain only if
37423 $(have-protected-data) == yes.
37424 (tests-pie): Likewise.
37426 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37429 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
37430 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
37432 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37435 * sysdeps/i386/i586/memset.S
37436 (__memset_zero_constant_len_parameter): Removed.
37437 * sysdeps/i386/i686/memset.S
37438 (__memset_zero_constant_len_parameter): Likewise.
37439 * sysdeps/i386/i686/multiarch/memset_chk.S
37440 (__memset_zero_constant_len_parameter): Likewise.
37441 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
37444 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
37446 * stdlib/getentropy.c (getentropy): Change return type to int.
37448 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
37450 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
37452 2017-08-03 Joseph Myers <joseph@codesourcery.com>
37454 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
37456 * math/s_nexttowardf.c (__nexttowardf): Likewise.
37457 * sysdeps/generic/math_private.h (ieee_double_shape_type):
37459 (ieee_float_shape_type): Likewise.
37460 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
37461 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
37462 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
37463 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37464 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
37465 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
37466 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
37467 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
37468 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
37470 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
37471 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
37472 (__ieee754_yn): Likewise.
37473 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
37474 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
37475 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
37477 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
37478 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
37479 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
37480 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
37481 (__erfc): Likewise.
37482 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
37483 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
37484 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
37485 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
37486 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
37487 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
37489 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
37490 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
37491 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
37492 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
37493 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
37494 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
37495 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
37496 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
37497 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
37498 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
37499 (__issignaling): Likewise.
37500 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
37501 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
37502 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
37504 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37505 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
37506 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
37507 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
37509 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
37511 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
37512 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
37513 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
37514 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
37515 (__erfcf): Likewise.
37516 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
37517 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
37518 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
37519 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
37521 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
37522 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
37524 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
37525 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
37526 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
37527 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
37528 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
37529 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
37530 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
37531 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
37533 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
37535 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
37537 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
37538 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
37540 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
37542 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
37543 (__ieee754_ynl): Likewise.
37544 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
37545 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
37547 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
37549 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
37550 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
37551 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37553 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
37554 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
37555 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
37556 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
37557 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
37558 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
37559 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
37560 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
37562 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
37563 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
37564 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
37566 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
37567 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
37568 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
37569 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
37570 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
37571 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
37573 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
37575 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37577 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37579 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
37580 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
37581 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37582 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
37583 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
37584 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
37585 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
37587 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
37589 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
37590 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37592 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
37593 (__ieee754_remainderl): Likewise.
37594 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37595 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37596 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
37597 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
37599 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
37600 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37602 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
37603 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
37604 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
37605 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
37606 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
37607 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
37609 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
37610 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
37611 (__ieee754_y0l): Likewise.
37614 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37615 (__ieee754_y1l): Likewise.
37618 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
37619 (__ieee754_ynl): Likewise.
37620 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
37621 (__ieee754_lgammal_r): Likewise.
37622 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
37624 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
37625 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
37626 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
37627 (__erfcl): Likewise.
37628 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
37629 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
37631 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
37632 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
37633 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
37634 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
37635 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
37636 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37637 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37639 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
37640 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
37641 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
37642 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
37643 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37645 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
37646 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
37648 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
37649 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
37650 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
37651 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
37652 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
37654 2017-08-03 Florian Weimer <fweimer@redhat.com>
37657 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
37658 on memory allocation failure.
37660 2017-08-03 Alan Modra <amodra@gmail.com>
37662 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
37663 tst-tlsopt-powerpc.c with function name change and no test harness.
37664 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
37665 Call tls_get_addr_opt_test.
37666 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
37667 (modules-names): Add mod-tlsopt-powerpc.
37668 (mod-tlsopt-powerpc.so-no-z-defs): Define.
37669 (tst-tlsopt-powerpc): Depend on .so.
37670 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
37671 define. Expand use in TLS_GD and TLS_LD.
37673 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37675 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
37677 * sysdeps/posix/shm_open.c: Include <pthread.h>.
37679 2017-08-02 Joseph Myers <joseph@codesourcery.com>
37682 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
37683 comparing size with that of double.
37684 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
37685 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
37686 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
37687 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
37688 (__TGMATH_BINARY_REAL_IMAG): Likewise.
37689 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
37690 unsigned __int128 types.
37692 2017-08-02 Steve Ellcey <sellcey@cavium.com>
37694 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
37695 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
37696 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
37697 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
37698 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
37700 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
37702 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
37704 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
37706 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
37708 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
37709 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37710 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37711 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37712 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37713 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37714 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37716 2017-08-02 Joseph Myers <joseph@codesourcery.com>
37719 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
37720 bit-field expressions passed to sizeof or typeof.
37721 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
37722 (__TGMATH_F128): Likewise.
37723 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
37724 (__TGMATH_CF128): Likewise.
37725 (__TGMATH_UNARY_REAL_ONLY): Likewise.
37726 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
37727 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
37728 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
37729 (__TGMATH_BINARY_REAL_ONLY): Likewise.
37730 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
37731 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
37732 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
37733 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
37734 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
37735 (__TGMATH_UNARY_REAL_IMAG): Likewise.
37736 (__TGMATH_UNARY_IMAG): Likewise.
37737 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
37738 (__TGMATH_BINARY_REAL_IMAG): Likewise.
37739 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
37741 (define_vars_for_type): Handle bit_field type specially.
37742 (Tests.__init__): Declare structure with bit-field element.
37744 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
37747 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
37748 (MEMCPY_CHK): Define only if SHARED is defined.
37749 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
37751 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
37754 See ChangeLog.18 for earlier changes.