1 2019-08-28 Florian Weimer <fweimer@redhat.com>
4 * login/Makefile (tests): Add tst-pututxline-lockfail.
5 (tst-pututxline-lockfail): Link with -lpthread.
6 * login/utmp_file.c (internal_getut_r): Remove buffer argument.
7 (__libc_getutid_r): Adjust.
8 (__libc_pututline): Likewise. Check for file_offset == -1.
9 * login/tst-pututxline-lockfail.c: New file.
11 2019-08-28 Stefan Liebler <stli@linux.ibm.com>
13 * posix/tst-regex.c (do_test): Use tst-regex.input as input file.
14 * posix/tst-regex.input: New file.
16 2019-08-23 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
19 * sysdeps/mips/Makefile [$(subdir) = elf] (tests): Add
21 [$(subdir) = elf] (modules-names): Add tst-undefined-weak-lib.
22 [$(subdir) = elf] ($(objpfx)tst-undefined-weak): Add dependency.
23 * sysdeps/mips/tst-undefined-weak-lib.S: New file.
24 * sysdeps/mips/tst-undefined-weak.c: Likewise.
25 * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
26 Increment highest valid ABIVERSION value.
28 2019-08-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
30 * sysdeps/unix/sysv/linux/mips/Makefile
31 (test-xfail-check-execstack):
32 Move under mips-has-gnustack != yes.
33 (CFLAGS-.o*, ASFLAGS-.o*): New rules.
34 Apply -Wa,-execstack if mips-force-execstack == yes.
35 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
36 * sysdeps/unix/sysv/linux/mips/configure.ac
37 (mips-force-execstack): New var.
38 Set to yes for hard-float builds with minimum_kernel < 4.8.0
39 or minimum_kernel not set at all.
40 (mips-has-gnustack): New var.
41 Use value of libc_cv_as_noexecstack
42 if mips-force-execstack != yes, otherwise set to no.
44 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
45 Florian Weimer <fweimer@redhat.com>
47 * gmon/Versions (libc) [GLIBC_2.31]: New entry.
48 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
50 * sysdeps/unix/sysv/linux/sparc/profil-counter.h
51 (__profil_counter_global): Likewise.
53 * debug/segfault.c (install_handler): Use SA_SIGINFO if defined.
54 * sysdeps/generic/profil-counter.h (__profil_counter): Cast to
56 * sysdeps/generic/sigcontextinfo.h (GET_PC): Rename to
57 sigcontext_get_pc and return aligned cast to uintptr_t.
58 * sysdeps/mach/hurd/i386/sigcontextinfo.h (GET_PC): Likewise.
59 * sysdeps/posix/profil.c (profil_count): Change PC argument to
61 (__profil): Use SA_SIGINFO.
62 * sysdeps/posix/sprofil.c (profil_count): Change PCP argument to
64 (__sprofil): Use SA_SIGINFO.
65 * sysdeps/unix/sysv/linux/profil-counter.h: New file.
66 * sysdeps/unix/sysv/linux/aarch64/profil-counter.h: Remove file.
67 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
68 * sysdeps/unix/sysv/linux/hppa/profil-counter.h: Likewise.
69 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
70 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: Likewise.
71 * sysdeps/unix/sysv/linux/microblaze/profil-counter.h: Likewise.
72 * sysdeps/unix/sysv/linux/mips/profil-counter.h: Likewise.
73 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: Likewise.
74 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Likewise.
75 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: Likewise.
76 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
77 * sysdeps/sysv/linux/s390/s390-32/profil-counter.h: Likewise.
78 * sysdeps/sysv/linux/s390/s390-64/profil-counter.h: Likewise.
79 * sysdeps/unix/sysv/linux/sh/profil-counter.h: Likewise.
80 * sysdeps/unix/sysv/linux/arm/profil-counter.h (__profil_counter):
81 Assume SA_SIGINFO and use sigcontext_get_pc instead of GET_PC.
82 * sysdeps/unix/sysv/linux/sparc/profil-counter.h: New file.
83 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Remove file.
84 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Likewise.
85 * sysdpes/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT,
86 GET_PC, __sigaction, sigaction): Remove defines.
87 (sigcontext_get_pc): New function.
88 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
89 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
90 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
91 * sysdeps/unix/sysv/linux/hppa/sigcontextinfo.h: Likewise.
92 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
93 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h: Likewise.
94 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
95 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
96 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: Likewise.
97 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
98 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h: Likewise.
99 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
100 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
101 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
102 * sysdeps/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
103 * sysdeps/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
104 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Likewise.
105 * sysdeps/unix/sysv/linux/alpha/register-dump.h (register_dump):
106 Handle CTX argument as ucontext_t.
107 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
109 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Likewise.
110 * sysdeps/sysv/linux/s390/s390-32/register-dump.h: Likewise.
111 * sysdeps/sysv/linux/s390/s390-64/register-dump.h: Likewise.
112 * sysdeps/unix/sysv/linux/sh/register-dump.h: New file.
113 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Remove File.
114 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
115 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
116 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
117 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
118 tst-sigcontextinfo-get_pc.
119 * sysdeps/unix/sysv/linux/tst-sigcontextinfo-get_pc.c: New file.
120 (CFLAGS-tst-sigcontextinfo-get_pc.c): New rule.
122 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
124 * sysdeps/generic/single-thread.h (RTLD_SINGLE_THREAD_P): Add
127 2019-08-23 Rafal Luzynski <digitalfreak@lingonborough.com>
130 * localedata/locales/bo_CN (first_weekday): Add, set to 2 (Monday).
131 * localedata/locales/ug_CN (first_weekday): Likewise.
132 * localedata/locales/zh_CN (first_weekday): Likewise.
134 2019-08-22 Gustavo Romero <gromero@linux.vnet.ibm.com>
136 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix typos and
137 field name in mcontext_t struct.
139 2019-08-22 Joseph Myers <joseph@codesourcery.com>
141 * resolv/tst-resolv-ai_idn-latin1.c (do_test): Mark test
142 unsupported with libidn2 before 2.0.5.
143 * resolv/tst-resolv-ai_idn.c (do_test): Likewise.
145 * manual/time.texi (strftime): Document %Ob and %OB as C2X
148 2019-08-21 Paul Eggert <eggert@cs.ucla.edu>
150 Remove dead regex code
151 * posix/regex_internal.c (re_node_set_insert):
152 Remove unnecessary assignment. Reported by Tim Rühsen in:
153 https://lists.gnu.org/r/bug-gnulib/2019-08/msg00026.html
155 Fix bad pointer / leak in regex code
156 This was found by Coverity (CID 1484201). [BZ#24844]
157 * posix/regex_internal.c (create_cd_newstate): Fix use of bad
158 pointer and/or memory leak when storage is exhausted.
160 2019-08-21 Zack Weinberg <zackw@panix.com>
162 * misc/syslog.c (__vsyslog_internal)
163 * time/getdate.c (__getdate_r)
164 * time/tst_wcsftime.c (main):
165 Use return value of time, not its argument.
167 * string/strfry.c (strfry)
168 * sysdeps/mach/sleep.c (__sleep):
169 Remove unnecessary casts of NULL in calls to time.
171 2019-08-21 Joseph Myers <joseph@codesourcery.com>
173 * math/tgmath.h [__HAVE_FLOAT128X]: Give error.
174 [(__HAVE_FLOAT64X && !__HAVE_FLOAT128)
175 || (__HAVE_FLOAT128 && !__HAVE_FLOAT64X)]: Likewise.
176 (__TGMATH_2_NARROW_F): Likewise.
177 (__TGMATH_2_NARROW_D): New macro.
178 (__TGMATH_2_NARROW_F16): Likewise.
179 (__TGMATH_2_NARROW_F32): Likewise.
180 (__TGMATH_2_NARROW_F64): Likewise.
181 (__TGMATH_2_NARROW_F32X): Likewise.
182 (__TGMATH_2_NARROW_F64X): Likewise.
183 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F): Likewise.
184 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F16): Likewise.
185 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32): Likewise.
186 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F64): Likewise.
187 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32X): Likewise.
188 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fadd): Likewise.
189 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dadd): Likewise.
190 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fdiv): Likewise.
191 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (ddiv): Likewise.
192 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fmul): Likewise.
193 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dmul): Likewise.
194 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fsub): Likewise.
195 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dsub): Likewise.
196 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16add):
198 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16div):
200 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16mul):
202 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16sub):
204 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32add):
206 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32div):
208 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32mul):
210 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32sub):
212 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
213 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64add): Likewise.
214 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
215 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64div): Likewise.
216 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
217 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64mul): Likewise.
218 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
219 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64sub): Likewise.
220 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xadd):
222 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xdiv):
224 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xmul):
226 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xsub):
228 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
229 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xadd): Likewise.
230 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
231 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xdiv): Likewise.
232 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
233 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xmul): Likewise.
234 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
235 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xsub): Likewise.
236 * math/gen-tgmath-tests.py (Type): Add members
237 non_standard_real_argument_types_list, long_double_type,
238 complex_float64_type and float32x_ext_type.
239 (Type.__init__): Set the new members.
240 (Type.floating_type): Add new argument floatn.
241 (Type.real_floating_type): Likewise.
242 (Type.can_combine_types): Likewise.
243 (Type.combine_types): Likewise.
244 (Type.init_types): Create internal Float32x_ext type.
245 (Tests.__init__): Define Float32x_ext in generated C code.
246 (Tests.add_tests): Handle narrowing functions.
247 (Tests.add_all_tests): Likewise.
248 (Tests.tests_text): Allow variation in mant_dig for narrowing
249 functions with compilers before GCC 8.
250 * math/Makefile (tgmath3-narrow-types): New variable.
251 (tgmath3-narrow-macros): Likewise.
252 (tgmath3-macros): Add $(tgmath3-narrow-macros).
254 2019-08-20 Andreas Schwab <schwab@suse.de>
256 * sysdeps/i386/fpu/libm-test-ulps: Update.
258 2019-08-19 Carlos O'Donell <carlos@redhat.com>
260 * nscd/nscd.conf: Add warning and comment about shared option.
262 2019-08-19 Carlos O'Donell <carlos@redhat.com>
264 * nss/nsswitch.conf: Expand comments, and simplify defaults.
265 * manual/nss.texi (NSS Basics): List all known databases.
266 (Services in the NSS configuration): Mention automount.
268 2019-08-19 Florian Weimer <fweimer@redhat.com>
270 Do not print backtraces on fatal errors.
271 * debug/fortify_fail.c (__libc_argv): Remove declaration.
272 (__fortify_fail_abort): Remove definition.
273 (__fortify_fail): Call __libc_message directly.
274 * debug/stack_chk_fail.c (__libc_argv): Remove declaration.
275 (__stack_chk_fail): Call __fortify_fail instead of
276 __fortify_fail_abort.
277 * include/stdio.h (__fortify_fail_abort): Remove declaration.
278 * sysdeps/posix/libc_fatal.c (BEFORE_ABORT, before_abort): Remove
280 (__libc_message): Do not handle do_backtrace. Do not call
282 (__libc_fatal): Do not pass do_backtrace to __libc_message.
283 * sysdeps/unix/sysv/linux/libc_fatal.c (BEFORE_ABORT)
284 (before_abort): Remove definitions.
286 2019-08-16 Florian Weimer <fweimer@redhat.com>
288 nptl: Move pthread_attr_getdetachstate implementation into libc.
289 * nptl/Makefile (routines): Add pthread_attr_getdetachstate.
290 (libpthread-routines): Remove pthread_attr_getdetachstate.
291 * nptl/Versions (libpthread GLIBC_2.0): Remove
292 pthread_attr_getdetachstate.
293 * nptl/forward.c (pthread_attr_getdetachstate): Remove definition.
294 * nptl/nptl-init.c (pthread_functions): Remove initializer for
295 ptr_pthread_attr_getdetachstate.
296 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
297 Remove ptr_pthread_attr_getdetachstate member.
298 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
299 Remove pthread_attr_getdetachstate.
300 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
302 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
304 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
306 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
308 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
310 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
312 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
313 (GLIBC_2.4): Likewise.
314 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
315 (GLIBC_2.0): Likewise.
316 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
317 (GLIBC_2.18): Likewise.
318 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
319 (GLIBC_2.0): Likewise.
320 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
321 (GLIBC_2.0): Likewise.
322 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
325 (GLIBC_2.0): Likewise.
326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
327 (GLIBC_2.3): Likewise.
328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
329 (GLIBC_2.17): Likewise.
330 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
331 (GLIBC_2.27): Likewise.
332 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
333 (GLIBC_2.0): Likewise.
334 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
335 (GLIBC_2.2): Likewise.
336 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
338 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
339 (GLIBC_2.0): Likewise.
340 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
341 (GLIBC_2.2): Likewise.
342 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
343 (GLIBC_2.2.5): Likewise.
344 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
345 (GLIBC_2.16): Likewise.
347 2019-08-16 Joseph Myers <joseph@codesourcery.com>
349 * math/libm-test-compat_totalorder.inc (do_test)
350 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Change condition to
351 [TEST_COMPAT (libm, COMPAT_VER, GLIBC_2_31)].
352 * math/libm-test-compat_totalordermag.inc (do_test)
353 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Likewise.
355 2019-08-15 Florian Weimer <fweimer@redhat.com>
357 nptl: Move pthread_attr_init implementation into libc.
358 * nptl/Makefile (routines): Add pthread_attr_init.
359 (libpthread-routines): Remove pthread_attr_init.
360 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_attr_init.
361 (libpthread GLIBC_2.0): Likewise.
362 * nptl/pthread_attr_init.c: Check for libc compat version instead
363 of libpthread compat version.
364 * nptl/forward.c (__pthread_attr_init_2_0)
365 (__pthread_attr_init_2_1): Remove definitions.
366 * nptl/nptl-init.c (pthread_functions): Remove initializers for
367 ptr___pthread_attr_init_2_0, ptr___pthread_attr_init_2_1.
368 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
369 Remove members ptr___pthread_attr_init_2_0,
370 ptr___pthread_attr_init_2_1.
371 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
372 Remove pthread_attr_init.
373 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
375 (GLIBC_2.1): Likewise.
376 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
378 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
380 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
382 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
384 (GLIBC_2.1): Likewise.
385 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
387 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
388 (GLIBC_2.4): Likewise.
389 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
390 (GLIBC_2.0): Likewise.
391 (GLIBC_2.1): Likewise.
392 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
393 (GLIBC_2.18): Likewise.
394 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
395 (GLIBC_2.0): Likewise.
396 (GLIBC_2.1): Likewise.
397 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
398 (GLIBC_2.0): Likewise.
399 (GLIBC_2.1): Likewise.
400 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
403 (GLIBC_2.0): Likewise.
404 (GLIBC_2.1): Likewise.
405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
406 (GLIBC_2.3): Likewise.
407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
408 (GLIBC_2.17): Likewise.
409 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
410 (GLIBC_2.27): Likewise.
411 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
412 (GLIBC_2.0): Likewise.
413 (GLIBC_2.1): Likewise.
414 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
415 (GLIBC_2.2): Likewise.
416 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
418 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
419 (GLIBC_2.0): Likewise.
420 (GLIBC_2.1): Likewise.
421 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
422 (GLIBC_2.2): Likewise.
423 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
424 (GLIBC_2.2.5): Likewise.
425 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
426 (GLIBC_2.16): Likewise.
428 2019-08-15 Florian Weimer <fweimer@redhat.com>
431 * elf/dl-object.c (_dl_new_object): Do not store pathnames in the
432 new object in __RTLD_OPENEXEC mode (except for the origin).
433 * elf/tst-dlopen-aout.c (check_dlopen_failure): New function with
434 check for the error message.
435 (do_test): Call it. Add check using relative path.
436 * elf/Makefile (tests-container): Add tst-dlopen-aout-container.
437 (tst-dlopen-aout-container): Link with libpthread.
438 (LDFLAGS-tst-dlopen-aout-container): Set RPATH to $ORIGIN.
440 2019-08-15 Joseph Myers <joseph@codesourcery.com>
442 * math/bits/mathcalls.h
443 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
444 (totalorder): Take pointer arguments.
445 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
446 (totalordermag): Likewise.
447 * manual/arith.texi (totalorder): Likewise.
448 (totalorderf): Likewise.
449 (totalorderl): Likewise.
450 (totalorderfN): Likewise.
451 (totalorderfNx): Likewise.
452 (totalordermag): Likewise.
453 (totalordermagf): Likewise.
454 (totalordermagl): Likewise.
455 (totalordermagfN): Likewise.
456 (totalordermagfNx): Likewise.
457 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): Remove macro.
458 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder): Likewise.
459 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag): Likewise.
460 * math/Versions (GLIBC_2.31): Add totalorder, totalorderf,
461 totalorderl, totalordermag, totalordermagf, totalordermagl,
462 totalorderf32, totalorderf64, totalorderf32x, totalordermagf32,
463 totalordermagf64, totalordermagf32x, totalorderf64x,
464 totalordermagf64x, totalorderf128 and totalordermagf128.
465 * math/Makefile (libm-test-funcs-noauto): Add compat_totalorder
466 and compat_totalordermag.
467 (libm-test-funcs-compat): New variable.
468 (libm-tests-compat): Likewise.
469 (tests): Do not include compat tests.
470 (tests-internal): Add compat tests.
471 ($(foreach t,$(libm-tests-base),
472 $(objpfx)$(t)-compat_totalorder.o)): Depend
473 on $(objpfx)libm-test-totalorder.c.
474 ($(foreach t,$(libm-tests-base),
475 $(objpfx)$(t)-compat_totalordermag.o): Depend on
476 $(objpfx)libm-test-totalordermag.c.
477 (tgmath3-macros): Remove totalorder and totalordermag.
478 * math/libm-test-compat_totalorder.inc: New file.
479 * math/libm-test-compat_totalordermag.inc: Likewise.
480 * math/libm-test-driver.c (struct test_ff_i_data): Update comment.
481 (RUN_TEST_fpfp_b): New macro.
482 (RUN_TEST_LOOP_fpfp_b): Likewise.
483 * math/libm-test-totalorder.inc (totalorder_test_data): Use
485 (totalorder_test): Condition on [!COMPAT_TEST].
487 * math/libm-test-totalordermag.inc (totalordermag_test_data): Use
489 (totalordermag_test): Condition on [!COMPAT_TEST].
491 * math/gen-tgmath-tests.py (Tests.add_all_tests): Remove
492 totalorder and totalordermag.
493 * math/test-tgmath.c (NCALLS): Change to 132.
494 (F(compile_test)): Do not call totalorder or totalordermag.
495 (F(totalorder)): Remove.
496 (F(totalordermag)): Likewise.
497 * include/float.h (__STDC_WANT_IEC_60559_TYPES_EXT__): Do not
498 define if [__STDC_WANT_IEC_60559_TYPES_EXT__].
499 * include/setjmp.h [!_ISOMAC] (STR_HELPER): Rename to
501 [!_ISOMAC] (STR): Rename to SJSTR. Update call to STR_HELPER.
502 [!_ISOMAC] (TEST_SIZE): Update call to STR.
503 [!_ISOMAC] (TEST_ALIGN): Likewise.
504 [!_ISOMAC] (TEST_OFFSET): Likewise.
505 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include <shlib-compat.h>
506 and <first-versions.h>.
507 (__totalorder): Take pointer arguments. Add symbol versions and
509 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
510 <shlib-compat.h> and <first-versions.h>.
511 (__totalordermag): Take pointer arguments. Add symbol versions
513 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
514 <shlib-compat.h> and <first-versions.h>.
515 (__totalorder): Take pointer arguments. Add symbol versions and
517 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
518 <shlib-compat.h> and <first-versions.h>.
519 (__totalordermag): Take pointer arguments. Add symbol versions
521 * sysdeps/ieee754/float128/float128_private.h
522 (__totalorder_compatl): New macro.
523 (__totalordermag_compatl): Likewise.
524 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include <shlib-compat.h>
525 and <first-versions.h>.
526 (__totalorderf): Take pointer arguments. Add symbol versions and
528 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
529 <shlib-compat.h> and <first-versions.h>.
530 (__totalordermagf): Take pointer arguments. Add symbol versions
532 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
533 <shlib-compat.h> and <first-versions.h>.
534 (__totalorderl): Take pointer arguments. Add symbol versions and
536 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
537 <shlib-compat.h> and <first-versions.h>.
538 (__totalordermagl): Take pointer arguments. Add symbol versions
540 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
542 (__totalorderl): Take pointer arguments. Add symbol versions and
544 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
546 (__totalordermagl): Take pointer arguments. Add symbol versions
548 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
549 <shlib-compat.h> and <first-versions.h>.
550 (__totalorderl): Take pointer arguments. Add symbol versions and
552 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
553 <shlib-compat.h> and <first-versions.h>.
554 (__totalordermagl): Take pointer arguments. Add symbol versions
556 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c (totalorderl): Take
558 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c (totalordermagl):
560 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
561 (do_test): Update calls to totalorderl and totalordermagl.
562 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
563 Update calls to totalorderl and totalordermagl.
564 * sysdeps/mach/hurd/i386/libm.abilist: Update.
565 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
566 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
567 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
568 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
569 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
570 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
571 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
572 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
573 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
574 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
575 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
576 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
577 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libm.abilist:
584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libm.abilist:
586 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
587 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
588 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
589 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
590 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
591 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
592 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
593 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
595 2019-08-15 Florian Weimer <fweimer@redhat.com>
598 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Add
599 __attribute_nonstring__ to ut_line, ut_id, ut_user, ut_host.
600 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmpx):
602 * sysdeps/gnu/bits/utmp.h (struct utmp): Add
603 __attribute_nonstring__ to ut_id.
604 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmp):
607 2019-08-15 Florian Weimer <fweimer@redhat.com>
610 * login/utmp_file.c (file_locking_failed): Use struct flock64.
611 (file_locking_unlock): Likewise.
613 2019-08-15 Florian Weimer <fweimer@redhat.com>
616 login: Disarm timer after utmp lock acquisition.
617 * login/utmp_file.c (struct file_locking): Remove.
618 (try_file_lock): Adjust.
619 (file_lock_restore): Remove function.
620 (__libc_getutent_r): .
621 (internal_getut_r): Likewise.
622 (__libc_getutline_r): Likewise.
623 (__libc_pututline): Likewise.
624 (__libc_updwtmp): Likewise.
626 2019-08-15 Florian Weimer <fweimer@redhat.com>
628 nptl: Remove pthread_self compatibility symbol from libpthread.
629 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_self,
631 * nptl/Makefile (libpthread-routines): Remove compat-pthread_self.
632 * nptl/compat-pthread_self.c: Remove file.
633 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
635 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
637 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
639 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
641 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
643 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
645 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
646 (GLIBC_2.4): Likewise.
647 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
648 (GLIBC_2.0): Likewise.
649 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
650 (GLIBC_2.18): Likewise.
651 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
652 (GLIBC_2.0): Likewise.
653 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
654 (GLIBC_2.0): Likewise.
655 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
658 (GLIBC_2.0): Likewise.
659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
660 (GLIBC_2.3): Likewise.
661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
662 (GLIBC_2.17): Likewise.
663 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
664 (GLIBC_2.0): Likewise.
665 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
666 (GLIBC_2.2): Likewise.
667 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
669 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
670 (GLIBC_2.0): Likewise.
671 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
672 (GLIBC_2.2): Likewise.
673 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
674 (GLIBC_2.2.5): Likewise.
675 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
676 (GLIBC_2.16): Likewise.
678 2019-08-15 Florian Weimer <fweimer@redhat.com>
680 nptl: Move pthread_attr_destroy implementation into libc.
681 * nptl/Makefile (routines): Add pthread_attr_destroy.
682 (libpthread-routines): Remove pthread_attr_destroy.
683 * nptl/Versions (libpthread GLIBC_2.0): Remove
684 pthread_attr_destroy.
685 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Check for
686 libc compat version instead of libpthread compat version.
687 * nptl/forward.c (pthread_attr_destroy): Remove definition.
688 * nptl/nptl-init.c (pthread_functions): Remove initializer for
689 ptr_pthread_attr_destroy.
690 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
691 Remove ptr_pthread_attr_destroy member.
692 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
693 Remove pthread_attr_destroy.
694 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
696 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
698 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
700 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
702 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
704 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
706 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
707 (GLIBC_2.4): Likewise.
708 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
709 (GLIBC_2.0): Likewise.
710 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
711 (GLIBC_2.18): Likewise.
712 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
713 (GLIBC_2.0): Likewise.
714 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
715 (GLIBC_2.0): Likewise.
716 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
719 (GLIBC_2.0): Likewise.
720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
721 (GLIBC_2.3): Likewise.
722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
723 (GLIBC_2.17): Likewise.
724 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
725 (GLIBC_2.27): Likewise.
726 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
727 (GLIBC_2.0): Likewise.
728 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
729 (GLIBC_2.2): Likewise.
730 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
732 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
733 (GLIBC_2.0): Likewise.
734 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
735 (GLIBC_2.2): Likewise.
736 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
737 (GLIBC_2.2.5): Likewise.
738 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
739 (GLIBC_2.16): Likewise.
741 2019-08-15 Andreas Schwab <schwab@suse.de>
743 * sysdeps/i386/fpu/libm-test-ulps: Update.
745 2019-08-15 Florian Weimer <fweimer@redhat.com>
747 * malloc/Makefile (tests): Only add tst-mxfast for
749 * malloc/tst-mxfast.c: Fix copyright year.
750 (do_test): Fix GNU style issues. Use TEST_COMPARE instead of
753 2019-08-15 Florian Weimer <fweimer@redhat.com>
755 * login/utmp_file.c (__libc_updwtmp): Unlock the right file
757 * login/Makefile (tests): Add tst-updwtmpx.
758 * login/tst-updwtmpx.c: New file.
760 2019-08-15 Florian Weimer <fweimer@redhat.com>
762 nptl: Move pthread_equal implementation into libc.
763 * nptl/Makefile (routines): Add pthread_equal.
764 * nptl/forward.c (pthread_equal): Remove definition.
765 * nptl/nptl-init.c (pthread_functions): Remove initializer for
767 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
768 Remove ptr_pthread_equal member.
769 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
770 Remove pthread_equal.
771 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
773 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
775 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
777 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
779 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
781 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
783 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
784 (GLIBC_2.4): Likewise.
785 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
786 (GLIBC_2.0): Likewise.
787 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
788 (GLIBC_2.18): Likewise.
789 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
790 (GLIBC_2.0): Likewise.
791 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
792 (GLIBC_2.0): Likewise.
793 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
796 (GLIBC_2.0): Likewise.
797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
798 (GLIBC_2.3): Likewise.
799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
800 (GLIBC_2.17): Likewise.
801 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
802 (GLIBC_2.27): Likewise.
803 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
804 (GLIBC_2.0): Likewise.
805 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
806 (GLIBC_2.2): Likewise.
807 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
809 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
810 (GLIBC_2.0): Likewise.
811 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
812 (GLIBC_2.2): Likewise.
813 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
814 (GLIBC_2.2.5): Likewise.
815 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
816 (GLIBC_2.16): Likewise.
818 2019-08-14 Florian Weimer <fweimer@redhat.com>
820 * support/support_descriptors.c: Include <support/descriptors.h>.
822 2019-08-14 Feng Xue <fxue@os.amperecomputing.com>
824 * sysdeps/aarch64/multiarch/memset_base64.S (DC_ZVA_THRESHOLD):
825 Disable DC ZVA code if this macro is defined as zero.
826 * sysdeps/aarch64/multiarch/memset_emag.S (DC_ZVA_THRESHOLD):
827 Change to zero to disable using DC ZVA.
829 2019-08-13 Joseph Myers <joseph@codesourcery.com>
831 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT):
833 (__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X): New macro.
834 * bits/math-finite.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]: Change
835 to [__GLIBC_USE (IEC_60559_FUNCS_EXT_C2X)].
836 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]:
839 2019-08-13 Florian Weimer <fweimer@redhat.com>
841 * login/utmp_file.c (LOCK_FILE, LOCKING_FAILED, UNLOCK_FILE):
843 (struct file_locking): New.
844 (try_file_lock, file_unlock, file_lock_restore): New functions.
845 (__libc_getutent_r): Use the new functions.
846 (internal_getut_r): Likewise.
847 (__libc_getutline_r): Likewise.
848 (__libc_pututline): Likewise.
849 (__libc_updwtmp): Likewise.
851 2019-08-13 Joseph Myers <joseph@codesourcery.com>
853 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): Update
855 (__GLIBC_USE_IEC_60559_BFP_EXT_C2X): New macro.
856 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Change to
857 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)].
858 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
859 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
860 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
861 * stdlib/bits/stdlib-ldbl.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
863 * stdlib/stdint.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
864 * stdlib/stdlib.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
865 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
867 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
869 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
871 * sysdeps/csky/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
873 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
875 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
877 * sysdeps/m68k/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
879 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE
880 (IEC_60559_BFP_EXT)]: Likewise.
881 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
883 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
885 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
887 * sysdeps/riscv/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
889 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
891 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
893 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
895 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
897 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
898 Likewise, except for totalorder, totalordermag, getpayload,
899 setpayload and setpayloadsig.
900 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise,
901 except for totalorder and totalordermag.
903 * string/string.h (memccpy): Also declare if [__GLIBC_USE (ISOC2X)].
907 * include/features.h (_ISOC2X_SOURCE): New feature test macro.
908 Undefine and define to 1 if [_GNU_SOURCE].
909 (__GLIBC_USE_ISOC2X): New macro. Undefine and redefine depending
910 on [_ISOC2X_SOURCE] and [__STDC_VERSION__ > 201710L].
911 (__USE_ISOC11): Also define to 1 if [_ISOC2X_SOURCE].
912 (__USE_ISOC99): Likewise.
913 (__USE_ISOC95): Likewise.
914 * manual/creature.texi (_ISOC2X_SOURCE): Document.
916 2019-08-13 Florian Weimer <fweimer@redhat.com>
918 * login/getutid_r.c (__getutid_r): _HAVE_UT_ID and _HAVE_UT_TYPE
920 * login/getutmp.c (getutmp): _HAVE_UT_TYPE, _HAVE_UT_PID,
921 _HAVE_UT_ID, _HAVE_UT_HOST, _HAVE_UT_TV are always true.
922 * login/getutmpx.c (getutmpx): Likewise.
923 * login/login.c (login): _HAVE_UT_TYPE, _HAVE_UT_PID are always
925 * login/logout.c (logout): _HAVE_UT_TYPE, _HAVE_UT_HOST,
926 _HAVE_UT_TV are always true.
927 * login/logwtmp.c (logwtmp): _HAVE_UT_PID, _HAVE_UT_TYPE,
928 _HAVE_UT_HOST, _HAVE_UT_TV are always true.
929 * login/tst-utmp.c: _HAVE_UT_TYPE, _HAVE_UT_TV are always true.
930 * login/utmp_file.c (__libc_setutent): _HAVE_UT_TYPE, _HAVE_UT_ID
932 (internal_getut_r): _HAVE_UT_TYPE is always true.
933 (__libc_pututline): Likewise.
934 * login/programs/utmpdump.c (print_entry): Assume that
935 _HAVE_UT_TYPE, _HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST,
936 _HAVE_UT_TV are always true.
937 * sysdeps/generic/utmp-equal.h (__utmp_equal): _HAVE_UT_TYPE,
938 _HAVE_UT_ID are always true.
939 * sysdeps/gnu/bits/utmp.h: Move to ...
940 * bits/utmp.h: ... here, replacing the old file.
942 2019-08-12 Florian Weimer <fweimer@redhat.com>
944 * elf/Makefile (tests): Unconditionally add tst-dlopen-aout.
945 [$(build-hardcoded-path-in-tests)] (tst-dlopen-aout-no-pie): Do
947 * elf/tst-dlopen-aout.c: Do not included <assert.h>.
948 (do_test): Open the executable using an absolute path. Print
949 error message to standard output.
951 2019-08-09 DJ Delorie <dj@redhat.com>
953 * elf/dl-tunables.list: Add glibc.malloc.mxfast.
954 * manual/tunables.texi: Document it.
955 * malloc/malloc.c (do_set_mxfast): New.
956 (__libc_mallopt): Call it.
957 * malloc/arena.c: Add mxfast tunable.
958 * malloc/tst-mxfast.c: New.
959 * malloc/Makefile: Add it.
961 2019-08-08 Niklas Hambüchen <mail@nh2.me>
962 Carlos O'Donell <carlos@redhat.com>
965 * malloc/malloc.c (__malloc_info): Account for top chunk.
967 2019-08-07 Joseph Myers <joseph@codesourcery.com>
969 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
970 (SYNC_FILE_RANGE_WRITE_AND_WAIT): New macro.
972 2019-08-06 Joseph Myers <joseph@codesourcery.com>
974 * io/fcntl.h [__USE_GNU] (AT_RECURSIVE): New macro.
976 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
978 * sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define.
980 2019-08-05 Joseph Myers <joseph@codesourcery.com>
982 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU] (CLONE_PIDFD):
985 2019-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
988 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (ALWAYS_USE_VSYSCALL):
990 * sysdeps/unix/sysv/linux/arm/sysdep.h (ALWAYS_USE_VSYSCALL):
992 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
994 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (ALWAYS_USE_VSYSCALL):
996 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
997 (ALWAYS_USE_VSYSCALL): Likewise.
998 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
999 (ALWAYS_USE_VSYSCALL): Likewise.
1000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1001 (ALWAYS_USE_VSYSCALL): Likewise.
1002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1003 (ALWAYS_USE_VSYSCALL): Likewise.
1004 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
1006 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1007 (ALWAYS_USE_VSYSCALL): Likewise.
1008 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1009 (ALWAYS_USE_VSYSCALL): Likewise.
1010 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
1012 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
1014 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Remove #if USE_VSYSCALL.
1015 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Likewise.
1016 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL,
1017 USE_VSYSCALL): Remove defitions.
1020 * sysdeps/unix/sysv/linux/sparc/init-first.c: Remove #ifdef SHARED.
1021 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
1022 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
1026 * sysdeps/unix/sysv/linux/s390/init-first.c: Remove #ifdef SHARED.
1027 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
1028 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1029 (ALWAYS_USE_VSYSCALL): Define.
1030 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1031 (ALWAYS_USE_VSYSCALL): Likewise.
1034 * sysdeps/unix/sysv/linux/riscv/init-first.c: Remove #ifdef SHARED.
1035 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
1036 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
1039 * sysdeps/sh/libm-test-ulps: Update.
1041 2019-08-05 Florian Weimer <fweimer@redhat.com>
1044 * login/uptmp-private.h (struct ufuncs): Remove definition.
1045 (__libc_utmp_file_functions, __libc_utmp_unknown_functions)
1046 (__libc_utmp_jump_table): Remove declarations.
1047 (__libc_setutent, __libc_getutent_r, __libc_getutid_r)
1048 (__libc_getutline_r, __libc_pututline, __libc_endutent)
1049 (__libc_updwtmp): Declare.
1050 * login/getutent_r.c (__libc_utmp_unknown_functions)
1051 (__libc_utmp_jump_table, setutent_unknown, getutent_r_unknown)
1052 (getutid_r_unknown, getutline_r_unknown, pututline_unknown)
1053 (endutent_unknown): Remove definitions.
1054 (__setutent): Call __libc_setutent.
1055 (__getutent_r): Call __libc_getutent_r.
1056 (__pututline): Call __libc_pututline.
1057 (__endutent): Call __libc_endutent.
1058 * login/getutid_r.c (__getutid_r): Call __libc_getutid_r.
1059 * login/getutline_r.c (__getutline_r): Call __libc_getutline_r.
1060 * login/updwtmp.c (__updwtmp): Call __libc_updwtmp.
1061 * login/utmp_file.c (__libc_utmp_file_functions): Remove definition
1062 (__libc_setutent): Rename from stetutent_file. Drop static.
1063 (maybe_setutent): New function.
1064 (__libc_getutent_r): Rename from getutent_r_file. Drop static.
1065 Check for initialization.
1066 (__libc_getutid_r): Rename from getutid_r_file. Drop static.
1067 Check for initialization.
1068 (__libc_getutline_r): Rename from getutline_r_file. Drop static.
1069 Check for initialization.
1070 (__libc_pututline): Rename from pututline_file. Drop static.
1071 Check for initialization.
1072 (__libc_endutent): Rename from endutent_file. Drop static. Check
1074 (__libc_updwtmp): Rename from updwtmp_file. Drop static.
1075 * login/utmpname.c (__utmpname): Call __libc_endutent.
1076 * sysdeps/unix/getlogin_r (__getlogin_r): Call __libc_setutent,
1077 __libc_getutlien_r, __libc_endutent.
1078 * manual/users.texi (Who Logged In, Manipulating the Database):
1081 2019-08-05 Alexandra Hajkova <ahajkova@redhat.com>
1083 * elf/tst-ldconfig-bad-aux-cache.c: Use support_capture_subprocess.
1085 2019-08-02 Joseph Myers <joseph@codesourcery.com>
1087 * sysdeps/unix/sysv/linux/syscall-names.list: Update comment.
1089 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
1090 kernel version number to 5.2.
1092 2019-08-01 Raoni Fassina Firmino <raoni@linux.ibm.com>
1094 * sysdeps/powerpc/powerpc64/power8/memchr.S: Update power8
1095 mnemonics and set .machine power8.
1096 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
1097 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Likewise.
1098 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
1099 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
1100 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
1101 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
1102 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
1103 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
1104 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
1105 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
1107 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1109 * sysdeps/hppa/fpu/libm-test-ulps: Update.
1111 2019-08-01 Florian Weimer <fweimer@redhat.com>
1114 * malloc/malloc.c (__malloc_info): Remove unwanted leading
1117 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1120 sysdeps/posix/tempname.c (__gen_tempname): get entropy on each
1123 2019-08-01 Carlos O'Donell <carlos@redhat.com>
1125 * version.h (RELEASE): Set to "stable".
1126 (VERSION): Set to "2.30".
1127 * include/features.h (__GLIBC_MINOR__): Set to 2.30.
1129 * manual/install.texi: Update component versions.
1130 * INSTALL: Regenerate.
1133 2019-07-31 Carlos O'Donell <carlos@redhat.com>
1135 * po/be.po: Update translations.
1136 * po/bg.po: Likewise.
1137 * po/ca.po: Likewise.
1138 * po/cs.po: Likewise.
1139 * po/da.po: Likewise.
1140 * po/de.po: Likewise.
1141 * po/el.po: Likewise.
1142 * po/eo.po: Likewise.
1143 * po/es.po: Likewise.
1144 * po/fi.po: Likewise.
1145 * po/fr.po: Likewise.
1146 * po/gl.po: Likewise.
1147 * po/hr.po: Likewise.
1148 * po/hu.po: Likewise.
1149 * po/ia.po: Likewise.
1150 * po/id.po: Likewise.
1151 * po/it.po: Likewise.
1152 * po/ja.po: Likewise.
1153 * po/ko.po: Likewise.
1154 * po/lt.po: Likewise.
1155 * po/nb.po: Likewise.
1156 * po/nl.po: Likewise.
1157 * po/pl.po: Likewise.
1158 * po/pt_BR.po: Likewise.
1159 * po/ru.po: Likewise.
1160 * po/rw.po: Likewise.
1161 * po/sk.po: Likewise.
1162 * po/sl.po: Likewise.
1163 * po/sv.po: Likewise.
1164 * po/tr.po: Likewise.
1165 * po/uk.po: Likewise.
1166 * po/vi.po: Likewise.
1167 * po/zh_CN.po: Likewise.
1168 * po/zh_TW.po: Likewise.
1170 2019-07-31 Florian Weimer <fweimer@redhat.com>
1174 iconv, libio: Revert reference counting changes.
1175 * iconv/gconv_cache.c (__gconv_release_cache): Unconditionally
1176 free the steps array.
1177 * libio/Makefile (tests): Remove tst-wfile-gconv.
1178 (tests-container): Do not add tst-wfile-ascii.
1179 (tst-wfile-gconv-ENV): Do not set.
1180 (generated): Do not add tst-wfile-gconv.mtrace,
1181 tst-wfile-gconv.check.
1182 [($run-built-tests)] (tests-special): Do not add
1183 tst-wfile-gconv-mem.out.
1184 (tst-wfile-gconv.out, tst-wfile-gconv-mem.out): Remove targets.
1185 * libio/iofclose.c (_IO_new_fclose): Call __gconv_release_step
1186 instead of __wcsmbs_clone_conv.
1187 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Remove definition.
1188 * wcsmbs/wcsmbsload.h (__wcsmbs_clone_conv): Remove declaration.
1190 2019-07-30 Joseph Myers <joseph@codesourcery.com>
1192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1193 (__CONTEXT_FUNC_NAME): Restore setting of r31.
1195 2019-07-30 Florian Weimer <fweimer@redhat.com>
1197 * nptl/tst-pthread-getattr.c (allocate_and_test): Change return
1198 type to uintptr_t. Update comment.
1199 (check_stack_top): Adjust.
1201 2019-07-29 Florian Weimer <fweimer@redhat.com>
1203 Linux: Move declaration of getdents64 to <dirent.h>.
1204 * bits/dirent_ext.h: New file.
1205 * dirent/Makefile (headers): Add bits/dirent_ext.h.
1206 * dirent/dirent.h: Include <bits/dirent_ext.h>.
1207 * sysdeps/unix/sysv/linux/bits/dirent_ext.h: New file.
1208 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Remove
1210 * manual/filesys.texi (Low-level Directory Access): Update header
1213 2019-07-29 DJ Delorie <dj@redhat.com>
1214 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1217 * Makeconfig (all-subdirs): Improved source comments.
1218 * Makefile (testroot.pristine/install.stamp): Pass
1219 subdirs='$(sorted-subdirs)' to make install.
1221 2019-07-25 Florian Weimer <fweimer@redhat.com>
1224 * iconv/gconv_cache.c (__gconv_release_cache): Check reference
1225 counter before freeing array.
1227 2019-07-24 H.J. Lu <hongjiu.lu@intel.com>
1230 * sysdeps/x86_64/configure.ac: Check if -mprefer-vector-width=128
1232 * sysdeps/x86_64/configure: Regenerated.
1233 * sysdeps/x86_64/fpu/Makefile (CFLAGS-branred.c): New. Set
1234 to -mprefer-vector-width=128 if supported.
1236 2019-07-24 Florian Weimer <fweimer@redhat.com>
1238 * scripts/build-many-glibcs.py (Context.checkout): Default to
1241 2019-07-24 Florian Weimer <fweimer@redhat.com>
1244 Linux: Use in-tree copy of SO_ constants for !__USE_MISC.
1245 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == socket]
1246 (sysdep_headers): Add bits/socket-constants.h.
1247 (tests-special): Add tst-socket-consts.out.
1248 (tst-socket-consts.out): New target.
1249 * sysdeps/unix/sysv/linux/bits/socket.h: Remove macro tracking
1250 around <asm/unistd.h>.
1251 [__USE_MISC]: Include <bits/types/time_t.h> before <asm/socket.h>.
1252 [!__USE_MISC]: Include <sys/socket-constants.h> instead of
1254 * sysdeps/unix/sysv/linux/bits/tst-socket-consts.py: New file.
1255 * sysdeps/unix/sysv/linux/bits/socket-constants.h: Likewise.
1256 * sysdeps/unix/sysv/linux/alpha/bits/socket-constants.h: Likewise.
1257 * sysdeps/unix/sysv/linux/hppa/bits/socket-constants.h: Likewise.
1258 * sysdeps/unix/sysv/linux/mips/bits/socket-constants.h: Likewise.
1259 * sysdeps/unix/sysv/linux/powerpc/bits/socket-constants.h:
1261 * sysdeps/unix/sysv/linux/sparc/bits/socket-constants.h: Likewise.
1263 2019-07-23 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1266 * Makefile (testroot.pristine/install.stamp): Pass
1267 subdirs='$(all-subdirs)' to make install.
1269 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
1270 the same arguments used in all tests.
1272 2019-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
1274 * NEWS: Mention the AArch64 IFUNC resolver ABI change.
1276 2019-07-20 Egor Kobylkin <egor@kobylkin.com>
1279 * locale/C-translit.h.in: Add Cyrillic transliteration.
1281 2019-07-19 Florian Weimer <fweimer@redhat.com>
1283 * sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
1285 (fsconfig): Add system call name.
1286 (fsmount): Likewise.
1289 (move_mount): Likewise.
1290 (open_tree): Likewise.
1292 2019-07-18 Carlos O'Donell <carlos@redhat.com>
1294 * po/libc.pot: Regenerate.
1296 2019-07-18 Mike Crowe <mac@mcrowe.com>
1298 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
1299 functions recently added to sysdeps/nptl/pthread.h:
1300 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
1301 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
1303 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
1304 pthread_cond_clockwait forwarding functions. There are no internal
1305 users, so it is unnecessary to expose these functions in libc.so.
1306 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
1307 unnecessary ptr___pthread_cond_clockwait member.
1308 * nptl/nptl-init.c (pthread_functions): Remove assignment of
1311 2019-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
1314 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
1315 begin with an uppercase letter now.
1317 (mon): Update from CLDR, reword February from "Kudo" to
1318 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
1319 and August from "Liiqen" to "Leqeeni".
1320 * localedata/locales/aa_ER (mon): Update from CLDR, reword
1321 April from "Agda Baxisso" to "Agda Baxis" and August from
1322 "Leqeeni" to "Liiqen".
1323 * localedata/locales/aa_ER@saaho (mon): Likewise.
1324 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
1325 abbreviated February from "Kud" to "Nah".
1326 (mon): Update from CLDR, reword February from "Kudo" to
1327 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
1329 2019-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
1332 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
1334 2019-07-17 PanderMusubi <pander@users.sourceforge.net>
1337 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
1338 name_mrs, name_miss, and name_ms.
1339 * localedata/locales/nl_NL (LC_NAME): Likewise.
1341 2019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
1344 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
1345 * localedata/locales/en_IE (first_weekday): Likewise.
1347 2019-07-12 Mike Crowe <mac@mcrowe.com>
1349 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
1350 that is only useful if futex_supports_exact_relative_timeouts ()
1352 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
1354 * sysdeps/nptl/futex-internal.h: Remove comment about relative
1355 timeouts potentially being imprecise since it's no longer true.
1356 Remove declaration of futex_supports_exact_relative_timeouts.
1357 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
1358 of futex_supports_exact_relative_timeouts.
1360 * NEWS: Mention recently-added pthread_cond_clockwait,
1361 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
1362 sem_clockwait functions.
1364 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
1365 works like pthread_mutex_timedlock but takes a clockid parameter to
1366 measure the abstime parameter against.
1367 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
1368 * nptl/DESIGN-systemtap-probes.txt: Likewise.
1369 * nptl/pthread_mutex_timedlock.c
1370 (__pthread_mutex_clocklock_common): Rename from
1371 __pthread_mutex_timedlock and add clockid parameter. Pass this
1372 parameter to lll_clocklock and lll_clocklock_elision in place of
1373 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
1374 LIBC_PROBE and validate clockid parameter before calling
1375 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
1376 implementation to add LIBC_PROBE and calls
1377 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
1379 * nptl/Makefile: Add tst-mutex11.c.
1380 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
1381 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
1382 clockid parameters to pthread_mutex_clocklock.
1383 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
1384 clockid parameter to indicate which clock to be used. Call
1385 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
1386 (do_test): Call do_test_clock to separately test
1387 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
1388 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
1389 * nptl/tst-mutex9.c: Likewise.
1390 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
1391 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
1393 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
1395 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
1397 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
1399 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
1401 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
1403 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
1405 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1406 (GLIBC_2.30): Likewise.
1407 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1408 (GLIBC_2.30): Likewise.
1409 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1410 (GLIBC_2.30): Likewise.
1411 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1412 (GLIBC_2.30): Likewise.
1413 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1414 (GLIBC_2.30): Likewise.
1415 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
1417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1418 (GLIBC_2.30): Likewise.
1419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1420 (GLIBC_2.30): Likewise.
1421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1422 (GLIBC_2.30): Likewise.
1423 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1424 (GLIBC_2.30): Likewise.
1425 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1426 (GLIBC_2.30): Likewise.
1427 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1428 (GLIBC_2.30): Likewise.
1429 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
1431 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1432 (GLIBC_2.30): Likewise.
1433 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1434 (GLIBC_2.30): Likewise.
1435 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1436 (GLIBC_2.30): Likewise.
1437 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1438 (GLIBC_2.30): Likewise.
1440 nptl: Rename lll_timedlock to lll_clocklock and add clockid
1441 parameter to indicate the clock that the abstime parameter should
1442 be measured against in preparation for adding
1443 pthread_mutex_clocklock.
1444 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
1445 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
1446 from __lll_timedlock and add clockid parameter.
1447 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
1449 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
1450 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
1451 rather than __gettimeofday so that clockid can be used. This means
1452 that conversion from struct timeval is no longer required.
1453 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
1455 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
1456 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
1457 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
1458 from lll_timedlock_elision, add clockid parameter and use
1459 meaningful names for other parameters. (__pthread_mutex_timedlock):
1460 Pass CLOCK_REALTIME where necessary to lll_clocklock and
1461 lll_clocklock_elision.
1462 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
1463 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
1464 clockid parameter. (__lll_clocklock_elision): Rename from
1465 __lll_timedlock_elision and add clockid parameter.
1466 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1467 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
1468 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
1469 (__lll_lock_elision): Call __lll_clocklock_elision rather than
1470 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
1471 (LLL_LOCK): Likewise.
1472 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1473 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
1475 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
1476 pthread_rwlock_clockwrlock which behave like
1477 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
1478 respectively, except they always measure abstime against the
1479 supplied clockid. The functions currently support CLOCK_REALTIME
1480 and CLOCK_MONOTONIC and return EINVAL if any other clock is
1482 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
1483 pthread_wrlock_clockwrlock.
1484 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
1485 pthread_rwlock_clockwrlock.c.
1486 * nptl/pthread_rwlock_clockrdlock.c: Implement
1487 pthread_rwlock_clockrdlock.
1488 * nptl/pthread_rwlock_clockwrlock.c: Implement
1489 pthread_rwlock_clockwrlock.
1490 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
1491 clockid parameter and verify that it indicates a supported clock on
1492 entry so that we fail even if it doesn't end up being used. Pass
1493 that clock on to futex_abstimed_wait when necessary.
1494 (__pthread_rwlock_wrlock_full): Likewise.
1495 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
1496 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
1497 be used because there's no timeout.
1498 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
1499 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
1500 be used because there is no timeout.
1501 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1502 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
1504 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1505 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
1507 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
1508 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
1509 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
1510 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
1511 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
1512 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
1513 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
1514 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1515 (GLIBC_2.30): Likewise.
1516 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1517 (GLIBC_2.30): Likewise.
1518 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1519 (GLIBC_2.30): Likewise.
1520 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1521 (GLIBC_2.30): Likewise.
1522 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1523 (GLIBC_2.30): Likewise.
1524 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
1525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1526 (GLIBC_2.30): Likewise.
1527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1528 (GLIBC_2.30): Likewise.
1529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1530 (GLIBC_2.30): Likewise.
1531 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1532 (GLIBC_2.30): Likewise.
1533 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1534 (GLIBC_2.30): Likewise.
1535 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1536 (GLIBC_2.30): Likewise.
1537 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
1538 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1539 (GLIBC_2.30): Likewise.
1540 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1541 (GLIBC_2.30): Likewise.
1542 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1543 (GLIBC_2.30): Likewise.
1544 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1545 (GLIBC_2.30): Likewise.
1546 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
1547 pthread_rwlock_clockwrlock timeout tests to match the existing
1548 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
1549 * nptl/tst-rwlock14.c (do_test): Likewise.
1550 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
1551 ancillary output throughout. (tf): Accept thread_args structure so
1552 that rwlock, a clockid and function name can be passed to the
1553 thread. (do_test_clock): Rename from do_test. Accept clockid
1554 parameter to specify test clock. Use the magic clockid value of
1555 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
1556 pthread_rwlock_timedwrlock should be tested, otherwise pass the
1557 specified clockid to pthread_rwlock_clockrdlock and
1558 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
1559 (do_test): Call do_test_clock to test each clockid in turn.
1560 * nptl/tst-rwlock7.c: Likewise.
1561 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
1562 thread_args structure so that the (now int) thread number, the
1563 clockid and the function name can be passed to the thread.
1564 (do_test_clock): Renamed from do_test. Pass the necessary
1565 thread_args when creating the reader and writer threads. Use
1566 xpthread_create and xpthread_join.
1567 (do_test): Call do_test_clock to test each clockid in turn.
1568 * manual/threads.texi: Add documentation for
1569 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
1571 nptl: pthread_rwlock: Move timeout validation into _full functions
1572 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
1573 Check validity of abstime parameter.
1574 (__pthread_rwlock_rwlock_full): Likewise.
1575 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1576 Remove check for validity of abstime parameter.
1577 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1580 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
1581 like pthread_cond_timedwait except it always measures abstime
1582 against the supplied clockid.
1583 * nptl/Makefile: Add tst-cond26 and tst-cond27
1584 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
1585 * sysdeps/nptl/pthread.h: Likewise
1586 * nptl/forward.c: Add __pthread_cond_clockwait
1587 * nptl/forward.c: Likewise
1588 * nptl/pthreadP.h: Likewise
1589 * sysdeps/nptl/pthread-functions.h: Likewise
1590 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
1591 clockid parameter and comment describing why we don't need to check
1592 its value. Use that value when calling
1593 futex_abstimed_wait_cancelable rather than reading the clock from
1594 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
1595 (__pthread_cond_timedwait): Read clock from flags and pass it to
1596 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
1597 function with weak alias from pthread_cond_clockwait.
1598 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
1599 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
1600 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
1601 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
1602 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
1603 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
1604 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
1605 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1606 (GLIBC_2.30): Likewise.
1607 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1608 (GLIBC_2.30): Likewise.
1609 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1610 (GLIBC_2.30): Likewise.
1611 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1612 (GLIBC_2.30): Likewise.
1613 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1614 (GLIBC_2.30): Likewise.
1615 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
1616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1617 (GLIBC_2.30): Likewise.
1618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1619 (GLIBC_2.30): Likewise.
1620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1621 (GLIBC_2.30): Likewise.
1622 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1623 (GLIBC_2.30): Likewise.
1624 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1625 (GLIBC_2.30): Likewise.
1626 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1627 (GLIBC_2.30): Likewise.
1628 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
1629 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1630 (GLIBC_2.30): Likewise.
1631 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1632 (GLIBC_2.30): Likewise.
1633 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1634 (GLIBC_2.30): Likewise.
1635 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1636 (GLIBC_2.30): Likewise.
1637 * nptl/tst-cond11.c (run_test): Support testing
1638 pthread_cond_clockwait too by using a special magic
1639 CLOCK_USE_ATTR_CLOCK value to determine whether to call
1640 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
1641 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
1642 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
1643 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
1644 clocks to pthread_cond_clockwait.
1645 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
1646 struct timespec and pthread_cond_clockwait.
1647 * manual/threads.texi: Document pthread_cond_clockwait.
1649 nptl: Add POSIX-proposed sem_clockwait which behaves just like
1650 sem_timedwait, but measures abstime against the specified clock.
1651 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
1652 clockid parameters to indicate the clock which abstime should be
1654 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
1655 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
1656 __new_sem_wait_slow.
1657 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
1659 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
1660 sem_clockwait.c to match those used for sem_timedwait.c.
1661 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
1662 * nptl/Versions (GLIBC_2.30): Likewise.
1663 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
1664 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
1665 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
1666 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
1667 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
1668 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
1669 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
1670 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1671 (GLIBC_2.30): Likewise.
1672 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1673 (GLIBC_2.30): Likewise.
1674 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1675 (GLIBC_2.30): Likewise.
1676 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1677 (GLIBC_2.30): Likewise.
1678 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1679 (GLIBC_2.30): Likewise.
1680 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
1681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1682 (GLIBC_2.30): Likewise.
1683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1684 (GLIBC_2.30): Likewise.
1685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1686 (GLIBC_2.30): Likewise.
1687 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1688 (GLIBC_2.30): Likewise.
1689 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1690 (GLIBC_2.30): Likewise.
1691 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1692 (GLIBC_2.30): Likewise.
1693 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
1694 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1695 (GLIBC_2.30): Likewise.
1696 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1697 (GLIBC_2.30): Likewise.
1698 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1699 (GLIBC_2.30): Likewise.
1700 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1701 (GLIBC_2.30): Likewise.
1702 * nptl/tst-sem17.c: Add new test for passing invalid clock to
1704 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
1705 tests to also test sem_clockwait.
1706 * manual/threads.texi: Document sem_clockwait.
1708 nptl: Add clockid parameter to futex timed wait calls
1709 * sysdeps/nptl/lowlevellock-futex.h,
1710 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
1711 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
1712 takes a clockid rather than a special clockbit.
1713 * sysdeps/nptl/lowlevellock-futex.h: Add
1714 lll_futex_supported_clockid so that client functions can check
1715 whether their clockid parameter is valid even if they don't
1716 ultimately end up calling lll_futex_clock_wait_bitset.
1717 * sysdeps/nptl/futex-internal.h,
1718 sysdeps/unix/sysv/linux/futex-internal.h
1719 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
1720 clockid_t parameter to indicate which clock the absolute time
1721 passed should be measured against. Pass that clockid onto
1722 lll_futex_clock_wait_bitset. Add invalid clock as reason for
1724 * sysdeps/nptl/futex-internal.h,
1725 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
1726 futex_abstimed_supported_clockid so that client functions can check
1727 whether their clockid parameter is valid even if they don't
1728 ultimately end up calling futex_abstimed_wait.
1729 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
1730 code to calculate relative timeout for
1731 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
1732 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
1733 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
1734 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
1735 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
1736 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
1737 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
1739 2019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1742 * posix/tst-mmap-offset.c: Mention BZ #24699.
1743 (do_test_bz21270): Rename to do_test_large_offset and use
1744 mmap64_maximum_offset to check for maximum expected offset value.
1745 * sysdeps/generic/mmap_info.h: New file.
1746 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
1747 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
1750 2019-07-10 DJ Delorie <dj@redhat.com>
1751 Sergei Trofimovich <slyfox@inbox.ru>
1755 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
1757 * nss/tst-nss-db-endgrent.c: New.
1758 * nss/tst-nss-db-endgrent.root: New.
1759 * nss/tst-nss-db-endpwent.c: New.
1760 * nss/tst-nss-db-endpwent.root: New.
1761 * nss/Makefile: Add new tests.
1762 * support/links-dso-program-c.c: Add selinux dependency.
1763 * support/links-dso-program.cc: Add selinux dependency.
1764 * support/Makefile: Build those with -lselinux if enabled.
1766 2019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
1768 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
1769 DT_AARCH64_VARIANT_PCS check.
1770 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
1771 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
1774 2019-07-10 Andreas Schwab <schwab@suse.de>
1777 * malloc/malloc.h (__malloc_check_init): Don't declare.
1778 * include/malloc.h (__malloc_check_init): Likewise.
1779 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
1780 * manual/memory.texi (__malloc_check_init): Don't mention it.
1782 2019-07-10 Mao Han <han_mao@c-sky.com>
1784 * locale/Makefile: Fix tst-locale-locpath arguments passing.
1786 2019-07-09 Paul A. Clarke <pc@us.ibm.com>
1788 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
1789 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
1791 2019-07-08 DJ Delorie <dj@redhat.com>
1794 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
1795 * io/tst-ftw-lnk.c: New test.
1796 * io/Makefile: Run it.
1798 2019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1800 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
1801 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
1802 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
1803 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
1804 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
1805 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
1806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
1807 Adjust implementation path.
1808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
1809 Adjust implementation path.
1810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
1811 Adjust implementation path.
1812 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1813 (libm-sysdep_routines): Add s_log* objects.
1814 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
1815 CFLAGS-s_logb-power7.c): New fule.
1816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
1818 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
1820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
1822 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
1824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
1825 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
1826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
1828 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
1830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
1832 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
1834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
1835 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
1836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
1838 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
1840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
1842 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
1844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
1845 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
1846 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
1847 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
1848 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1849 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1851 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
1852 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
1853 powerpc32 integer 0 converting to -0.
1855 * benchtests/Makefile (bench-math): Add logb.
1856 * benchtests/logb-inputs: New file.
1857 * benchtests/logbf-inputs: New file.
1859 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
1860 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
1861 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
1862 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
1863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1867 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
1868 sysdep_routines): Add s_modf* objects.
1869 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
1870 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
1871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
1873 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
1875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
1877 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
1879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
1880 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
1881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
1883 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
1885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
1886 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
1888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
1889 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
1891 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
1892 twoM500, twoM600, two60factor, pdnum): Remove.
1893 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
1894 (__ieee754_hypot): Replace static variables with inline definition,
1895 remove ununsed branches.
1896 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1897 (libm-sysdep_routines): Remove e_hypot-* objects.
1898 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
1899 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
1901 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
1902 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
1903 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
1904 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
1905 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
1907 * benchtests/Makefile (bench-math): Add hypot.
1908 * benchtests/hypot-inputs: New file.
1910 2019-07-08 Vincent Chen <vincentc@andestech.com>
1912 * sysdeps/unix/sysv/linux/dl-vdso.h
1913 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
1915 2019-07-04 Andreas Schwab <schwab@suse.de>
1918 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
1920 2019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1922 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
1923 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
1924 * sysdeps/aarch64/sys/ifunc.h: New file.
1925 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
1926 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
1928 2019-07-01 Florian Weimer <fweimer@redhat.com>
1931 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
1932 Replace __vfork with __libpthread_version_placeholder for
1934 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
1935 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
1937 * nptl/pt-vfork.c: Remove file.
1938 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
1939 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
1940 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
1941 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
1942 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
1943 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
1944 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
1945 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
1946 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
1947 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
1948 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
1949 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
1950 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
1951 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1952 Remove vfork, __vfork.
1953 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1955 (GLIBC_2.1.2): Replace __vfork with
1956 __libpthread_version_placeholder.
1957 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1958 Remove vfork, __vfork.
1959 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1961 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1963 (GLIBC_2.1.2): Replace __vfork with
1964 __libpthread_version_placeholder.
1965 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1967 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1968 (GLIBC_2.4): Remove vfork, __vfork.
1969 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1970 (GLIBC_2.0): Remove vfork.
1971 (GLIBC_2.1.2): Replace __vfork with
1972 __libpthread_version_placeholder.
1973 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1974 (GLIBC_2.18): Remove vfork, __vfork.
1975 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1976 (GLIBC_2.0): Remove vfork.
1977 (GLIBC_2.2): Remove __vfork.
1978 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
1979 (GLIBC_2.2): Remove vfork, __vfork.
1980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
1981 (GLIBC_2.0): Remove vfork.
1982 (GLIBC_2.1.2): Replace __vfork with
1983 __libpthread_version_placeholder.
1984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1985 (GLIBC_2.3): Remove vfork, __vfork.
1986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1987 (GLIBC_2.17): Likewise.
1988 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1989 (GLIBC_2.0): Remove vfork.
1990 (GLIBC_2.1.2): Replace __vfork with
1991 __libpthread_version_placeholder.
1992 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1993 (GLIBC_2.2): Remove vfork, __vfork.
1994 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1996 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1997 (GLIBC_2.0): Remove vfork.
1998 (GLIBC_2.1.2): Replace __vfork with
1999 __libpthread_version_placeholder.
2000 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2001 (GLIBC_2.2): Remove vfork, __vfork.
2002 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2003 (GLIBC_2.2.5): Likewise.
2004 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2005 (GLIBC_2.16): Likewise.
2006 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
2007 Remove __errno_location.
2009 2019-07-02 Florian Weimer <fweimer@redhat.com>
2012 * malloc/Depend: Add nptl and htl, due to potential indirect
2013 libpthread dependency of memusagestat.
2015 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
2017 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
2020 2019-07-01 Florian Weimer <fweimer@redhat.com>
2022 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
2023 variant for arm-linux-gnueabi.
2025 2019-07-01 H.J. Lu <hongjiu.lu@intel.com>
2028 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
2030 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
2031 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
2032 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
2033 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
2034 and tst-cet-legacy-mod-6c.
2035 (CFLAGS-tst-cet-legacy-5a.c): New.
2036 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
2037 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
2038 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
2039 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
2040 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
2041 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
2042 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
2043 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
2044 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
2045 ($(objpfx)tst-cet-legacy-5a): Likewise.
2046 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
2047 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
2048 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
2049 ($(objpfx)tst-cet-legacy-5b): Likewise.
2050 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
2051 (tst-cet-legacy-5b-ENV): Likewise.
2052 ($(objpfx)tst-cet-legacy-6a): Likewise.
2053 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
2054 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
2055 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
2056 ($(objpfx)tst-cet-legacy-6b): Likewise.
2057 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
2058 (tst-cet-legacy-6b-ENV): Likewise.
2059 * sysdeps/x86/tst-cet-legacy-5.c: New file.
2060 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
2061 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
2062 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
2063 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
2064 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
2065 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
2066 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
2067 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
2068 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
2069 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
2070 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
2071 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
2072 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
2074 2019-06-30 Paul A. Clarke <pc@us.ibm.com>
2076 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
2077 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
2078 (__fegetround_ISA300) New.
2079 (__fegetround_ISA2) New.
2080 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
2081 (_FPU_MFFS): Move implementation...
2083 (_FPU_MFFSL): Move implementation....
2084 (_FPU_GET_RC_ISA300): Here. New.
2085 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
2086 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
2087 (fegetenv_status): New.
2088 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
2089 instead of fegetenv_register().
2090 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
2092 2019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
2094 * benchtests/bench-math-inlines.c: Increase iterations.
2095 * benchtests/bench-memcmp.c: Likewise.
2096 * benchtests/bench-rawmemchr.c: Likewise.
2097 * benchtests/bench-strcmp.c: Likewise.
2098 * benchtests/bench-strcpy_chk.c: Likewise.
2099 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
2100 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
2101 (INNER_LOOP_ITERS_SMALL): Likewise.
2102 * benchtests/bench-strncat.c: Increase iterations.
2103 * benchtests/bench-strncmp.c: Increase iterations.
2104 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
2105 * benchtests/bench-strrchr.c: Increase iterations.
2106 * benchtests/bench-strstr.c: Keep iterations unchanged.
2107 * benchtests/bench-strtod.c: Increase iterations.
2109 2019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2111 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
2112 with INNER_LOOP_ITERS_LARGE.
2113 * benchtests/bench-memchr.c: Likewise.
2114 * benchtests/bench-rawmemchr.c: Likewise.
2115 * benchtests/bench-strcat.c: Likewise.
2116 * benchtests/bench-strchr.c: Likewise.
2117 * benchtests/bench-string.h: Likewise.
2118 * benchtests/bench-strlen.c: Likewise.
2119 * benchtests/bench-strncpy.c: Likewise.
2120 * benchtests/bench-strnlen.c: Likewise.
2122 2019-06-28 Florian Weimer <fweimer@redhat.com>
2124 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
2125 Use mmap instead of malloc. malloc with M_PERTURB writes to the
2126 entire allocated memory range.
2128 2019-06-28 Tobias Klauser <tklauser@distanz.ch>
2130 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
2131 (prepare_version_base): New helper inline function.
2132 (prepare_version): New macro replacing PREPARE_VERSION.
2133 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
2135 2019-06-28 Florian Weimer <fweimer@redhat.com>
2138 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
2139 mismatch in a versioned symbol reference.
2140 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
2141 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
2142 tst-sonamemove-dlopen.
2143 (module-names): Add tst-sonamemove-linkmod1,
2144 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
2145 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
2146 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
2147 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
2148 (tst-sonamemove-runmod1.so): Link against
2149 tst-sonamemove-runmod2.so.
2150 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
2151 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
2152 tst-sonamemove-runmod2.so.
2153 (tst-sonamemove-dlopen): Link with -ldl.
2154 (tst-sonamemove-dlopen.out): Likewise.
2155 * elf/tst-sonamemove-link.c: New file.
2156 * elf/tst-sonamemove-dlopen.c: Likewise.
2157 * elf/tst-sonamemove-linkmod1.c: Likewise.
2158 * elf/tst-sonamemove-linkmod1.map: Likewise.
2159 * elf/tst-sonamemove-runmod1.c: Likewise.
2160 * elf/tst-sonamemove-runmod1.map: Likewise.
2161 * elf/tst-sonamemove-runmod2.c: Likewise.
2162 * elf/tst-sonamemove-runmod2.map: Likewise.
2164 2019-06-28 Florian Weimer <fweimer@redhat.com>
2166 * support/xdlfcn.h (xdlvsym): Declare function.
2167 * support/xdlfcn.c (xdlvsym): Define funciton.
2169 2019-06-28 Florian Weimer <fweimer@redhat.com>
2172 io: Remove the copy_file_range emulation.
2173 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
2174 not define and call copy_file_range_compat.
2175 * io/Makefile (tests-static, tests-internal): Do not add
2176 tst-copy_file_range-compat.
2177 * io/copy_file_range-compat.c: Remove file.
2178 * io/copy_file_range.c (copy_file_range): Define as stub.
2179 * io/tst-copy_file_range-compat.c: Remove file.
2180 * io/tst-copy_file_range.c (xdevfile): Remove variable.
2181 (typical_sizes): Update comment. Remove 16K sizes.
2182 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
2184 (find_maximum_offset, pipe_as_source, pipe_as_destination)
2185 (delayed_write_failure_beginning, delayed_write_failure_end)
2186 (cross_device_failure, enospc_failure_1, enospc_failure)
2187 (oappend_failure): Remove functions.
2188 (tests): Adjust test case list.
2189 (do_test): Remove file system search code. Check for ENOSYS from
2190 copy_file_range. Do not free xdevfile.
2191 * manual/llio.texi (Copying File Data): Document ENOSYS error from
2192 copy_file_range. Do not document the EXDEV error, which future
2193 kernels may not report. Update the wording to reflect that
2194 further errors are possible.
2195 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2196 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
2198 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2199 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
2201 * sysdeps/unix/sysv/linux/kernel-features.h
2202 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
2204 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2205 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
2207 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2208 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
2211 2019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
2213 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
2214 used as a mask for the mode argument of __vfprintf_internal.
2215 * stdio-common/printf-parse.h (printf_arg): New union member:
2217 * stdio-common/vfprintf-internal.c
2218 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
2219 (PARSE_FLOAT_VA_ARG): Likewise.
2220 (SETUP_FLOAT128_INFO): Likewise.
2221 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
2222 SETUP_FLOAT128_INFO.
2223 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
2224 floating-point value to the new union member, pa_float128.
2225 (printf_positional): Zero-initialize args_value[cnt] with memset.
2227 2019-06-27 Florian Weimer <fweimer@redhat.com>
2230 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
2231 buffer size if necessary.
2232 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
2234 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
2236 (large_buffer_checks): Likewise.
2237 (do_test): Call large_buffer_checks.
2239 2019-06-26 H.J. Lu <hongjiu.lu@intel.com>
2241 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
2242 * sysdeps/x86/dl-lookupcfg.h: Here.
2243 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
2245 2019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2247 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2248 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
2249 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
2251 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
2252 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
2253 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
2254 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2255 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
2257 * sysdeps/powerpc/powerpc32/fpu/Makefile
2258 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
2259 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
2260 and fctidz optimization.
2261 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
2262 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
2263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2264 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
2265 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
2266 CFLAGS-s_lround-power5+.c): New rule.
2267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
2269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
2271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
2273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
2275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
2277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2287 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2288 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
2289 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2290 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
2291 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2292 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2293 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
2295 2019-06-26 Vincent Chen <vincentc@andestech.com>
2297 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
2298 specific system calls, fp_udfiex_crtl and udftrap.
2300 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
2302 * nptl/tst-eintr1.c (tf1): Add return statement.
2303 (do_test): Remove unused th variable.
2305 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
2307 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
2308 Return error if get_character fails.
2310 2019-06-25 Stefan Liebler <stli@linux.ibm.com>
2312 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2314 2019-06-24 Rafal Luzynski <digitalfreak@lingonborough.com>
2317 * localedata/locales/szl_PL (day): Use the correct Unicode
2318 sequences instead of non-ASCII characters.
2320 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
2323 * localedata/locales/szl_PL (abday): Spelling corrections.
2327 (alt_mon): This, then apply spelling corrections.
2328 (mon): New entry, month names in the genitive case.
2330 2019-06-21 Rafal Luzynski <digitalfreak@lingonborough.com>
2333 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
2334 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
2335 (thousands_sep): Likewise.
2336 (grouping): Set to 3;3.
2338 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
2340 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
2341 PREPARE_VERSION_KNOWN.
2342 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
2343 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
2345 (VDSO_HASH_LINUX_2_6_39): Likewise.
2346 (VDSO_NAME_LINUX_4_9): Likewise.
2347 (VDSO_HASH_LINUX_4_9): Likewise.
2348 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
2349 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2350 (_libc_vdso_platform_setup): Likewise.
2351 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
2352 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
2354 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
2357 2019-06-20 Mike Crowe <mac@mcrowe.com>
2359 * nptl/eintr.c: Use libsupport.
2360 * nptl/tst-eintr1.c: Likewise.
2361 * nptl/tst-eintr2.c: Likewise.
2362 * nptl/tst-eintr3.c: Likewise.
2363 * nptl/tst-eintr4.c: Likewise.
2364 * nptl/tst-eintr5.c: Likewise.
2365 * nptl/tst-mutex-errorcheck.c: Likewise.
2366 * nptl/tst-mutex5.c: Likewise.
2368 * support/test-driver.h: Add verbose_printf macro.
2370 * support/xtime.h: Add xclock_now() helper function.
2372 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
2373 Florian Weimer <fweimer@redhat.com>
2376 * libio/genops.c (_IO_unbuffer_all)
2377 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
2378 buffers and access _IO_FILE_complete members of legacy libio streams.
2379 * libio/tst-bz24228.c: New file.
2380 * libio/tst-bz24228.map: Likewise.
2381 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
2382 [build-shared] (generated): Add tst-bz24228.mtrace and
2384 [run-built-tests && build-shared] (tests-special): Add
2385 $(objpfx)tst-bz24228-mem.out.
2386 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
2387 ($(objpfx)tst-bz24228-mem.out): New rule.
2389 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
2391 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
2392 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
2393 (__FPU_MFFSL): Likewise.
2394 (_FPU_SETCW): Likewise.
2396 2019-06-19 Stan Shebs <stanshebs@google.com>
2397 Raoni Fassina Firmino <raoni@linux.ibm.com>
2400 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
2401 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
2402 static-linking version.
2403 * sysdeps/unix/sysv/linux/powerpc/Makefile
2404 (tests-static): Add test-gettimebasefreq-static.
2406 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
2409 2019-06-19 Rafal Luzynski <digitalfreak@lingonborough.com>
2412 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
2413 between the currency symbol and the minus sign).
2414 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
2416 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
2419 * string/test-strcasestr.c (check_result): Add NULL check.
2420 * nss/tst-field.c (check_rewrite): Likewise.
2421 * benchtests/bench-strstr.c (do_one_test): Likewise.
2422 * string/test-strstr.c (check_result): Likewise.
2423 * argp/argp-test.c (popt): Increase size of buf to 12.
2424 * benchtests/bench-malloc-simple.c (bench):
2425 Do not initialize tests array out of bounds.
2427 2019-06-19 Florian Weimer <fweimer@redhat.com>
2430 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
2433 2019-06-18 Florian Weimer <fweimer@redhat.com>
2436 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
2437 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
2438 fail when called from dlopen.
2439 * elf/Makefile [have-fpie && build-shared] (tests): Add
2441 (tst-dlopen-pie): Link with -ldl.
2442 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
2443 * elf/tst-dlopen-pie.c (do_test): New file.
2445 2019-06-17 Rafal Luzynski <digitalfreak@lingonborough.com>
2448 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
2449 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
2450 between the currency symbol and the minus sign).
2451 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
2452 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
2454 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2456 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
2457 sysdep-rtld-routines): Remove rules.
2458 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
2459 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
2460 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
2461 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
2462 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
2463 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
2464 vDSO path for SHARED.
2465 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
2466 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
2467 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2468 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
2469 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
2470 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
2472 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2473 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
2474 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
2475 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
2476 CFLAGS-s_llround-power5+.c): New rule.
2477 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
2479 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
2481 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
2483 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
2485 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
2487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
2488 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
2489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
2490 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
2491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
2492 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
2493 * sysdeps/powerpc/powerpc64/fpu/Makefile
2494 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
2495 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2496 (libm-sysdep_routines): Remove s_llround-* objects.
2497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
2499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
2501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
2503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
2505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
2507 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2508 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2509 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
2510 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
2511 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
2512 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
2513 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
2514 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
2515 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2516 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
2517 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2518 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
2519 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2520 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
2522 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
2523 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
2524 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
2525 * sysdeps/powerpc/powerpc32/fpu/Makefile
2526 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
2527 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
2529 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
2530 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
2531 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
2532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2533 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
2534 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
2535 CFLAGS-s_lrint-ppc32.c): New rule.
2536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2546 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2547 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2548 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2549 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
2552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
2554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
2556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
2558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
2561 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2562 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
2564 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
2565 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
2567 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
2569 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
2571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
2572 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
2573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
2574 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
2575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
2576 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
2577 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
2578 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
2579 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2580 (libm-sysdep_routines): Remove s_llrint-* objects.
2581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
2583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
2585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
2586 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
2587 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
2588 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
2589 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
2590 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
2591 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2592 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
2593 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2594 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2596 2019-06-14 Florian Weimer <fweimer@redhat.com>
2598 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
2599 argument to __glibc_has_include to inhibit macro expansion.
2601 2019-06-14 Florian Weimer <fweimer@redhat.com>
2603 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
2604 function-like macro, so that __has_include can inhibit expansion
2607 2019-06-13 Joseph Myers <joseph@codesourcery.com>
2609 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
2612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2613 Allow memset in libc.so.
2615 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2617 * sysdeps/aarch64/dl-dtprocnum.h: New file.
2618 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
2619 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
2620 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
2621 symbols at load time.
2622 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
2624 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2626 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
2627 (DT_AARCH64_VARIANT_PCS): Define.
2629 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2632 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
2634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
2638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
2639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
2642 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2643 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
2644 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
2645 Remove s_finite* objects.
2646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
2647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
2648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
2649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
2651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
2652 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2653 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
2654 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2655 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
2657 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
2658 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
2660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2661 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
2663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
2665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
2667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
2668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
2671 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2672 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
2673 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
2674 Remove s_isinf* and s_isinf* objects.
2675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
2676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
2677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
2678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
2680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
2681 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2682 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
2683 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2684 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
2686 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
2687 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
2689 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
2690 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
2691 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2693 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
2695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
2697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
2699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
2701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
2703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
2704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
2706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
2709 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2710 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
2711 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2712 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
2713 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2714 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
2715 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
2716 Remove s_isnan-* and s_isnanf-* objects.
2717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
2718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
2719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
2721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
2722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
2723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
2724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
2726 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2727 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2728 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2729 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2730 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2731 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
2732 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2733 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
2735 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
2736 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
2738 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
2739 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
2740 CFLAGS-bench-isfinite.c): New rule.
2741 * benchtests/isnan-input: New file.
2742 * benchtests/isinf-input: New file.
2743 * benchtests/isfinite-input: New file.
2745 * sysdeps/powerpc/fpu/s_copysign.c: New file.
2746 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
2747 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
2748 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
2749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2750 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
2752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
2760 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2761 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
2762 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
2763 Remove s_copysign-power6 s_copysign-ppc64.
2764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
2766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
2768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
2770 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2771 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
2772 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2773 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
2775 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
2776 round_to_integer_float, round_mode): Add RINT handling.
2777 (reset_fenv_mode): New symbol.
2778 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
2779 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
2780 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
2781 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2782 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2783 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2785 2019-06-12 Florian Weimer <fweimer@redhat.com>
2788 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
2789 * libio/freopen.c (freopen): Use it.
2791 2019-06-12 Florian Weimer <fweimer@redhat.com>
2793 Linux: Deprecate sysctl.
2794 * include/sysctl.h (__sysctl): Remove declaration.
2795 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
2797 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
2798 (sysctl): Add deprecation attribute.
2799 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
2800 directly, to avoid the deprecation warning. Do not include
2802 (__sysctl): Remove hidden alias.
2804 2019-06-12 Florian Weimer <fweimer@redhat.com>
2806 Linux: Use kernel headers for statx definitions if available.
2807 * include/bits/statx-generic.h: New file.
2808 * include/bits/types/struct_statx.h: Likewise.
2809 * include/bits/types/struct_statx_timestamp.h: Likewise.
2810 * io/Makefile (headers): Add bits/statx-generic.h.
2811 * io/bits/statx-generic.h: New file. Partly copied from
2813 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
2814 define original_statx.
2815 * io/bits/types/struct_statx.h: Likewise.
2816 * io/bits/types/struct_statx_timestamp.h: Likewise.
2817 (statx_generic): Use original_statx.
2818 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
2819 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
2821 2019-06-12 Florian Weimer <fweimer@redhat.com>
2823 * misc/sys/cdefs.h (__glibc_has_include): Define.
2825 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2827 * string/memmem.c (__memmem): Rewrite to improve performance.
2829 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2831 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
2833 (two_way_long_needle): Block inlining.
2834 * string/strstr.c (strstr2): Add new function.
2835 (strstr3): Likewise.
2836 (STRSTR): Completely rewrite strstr to improve performance.
2838 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
2840 * benchtests/bench-strstr.c (test_hard_needle): New function.
2842 2019-06-10 Joseph Myers <joseph@codesourcery.com>
2844 * malloc/tst-calloc.c: Include <libc-diag.h>.
2845 (null_test): Ignore -Wunused-result around calls to calloc.
2846 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
2847 (do_test): Ignore -Wunused-result around call to malloc.
2849 2019-06-07 Florian Weimer <fweimer@redhat.com>
2851 Linux: Add getdents64 system call.
2852 * include/dirnent.h (getdents): Add comment and change buffer
2853 argument type to void *.
2854 (getdents64): Likewise. Add hidden prototype.
2855 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
2857 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
2859 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
2860 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
2861 argument type to void *.
2862 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
2863 Add hidden definition and getdents64 alias.
2864 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
2866 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
2867 * manual/filesys.texi (Accessing Directories): Add Low-level
2868 Directory Access node reference.
2869 (Opening a Directory): Cross-reference it.
2870 (Low-level Directory Access): New node.
2871 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
2873 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2875 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2876 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
2878 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
2880 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
2882 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
2884 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2886 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2888 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2890 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2891 (GLIBC_2.30): Likewise.
2892 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2893 (GLIBC_2.30): Likewise.
2894 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2895 (GLIBC_2.30): Likewise.
2896 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2897 (GLIBC_2.30): Likewise.
2898 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2901 (GLIBC_2.30): Likewise.
2902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2903 (GLIBC_2.30): Likewise.
2904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2905 (GLIBC_2.30): Likewise.
2906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2907 (GLIBC_2.30): Likewise.
2908 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2910 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2912 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2914 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2915 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2917 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2919 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2921 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2924 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
2926 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
2930 (_FPU_GETCW): Use __FPU_MFFS().
2931 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
2933 2019-06-06 Florian Weimer <fweimer@redhat.com>
2935 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
2936 internal GCC preprocessor identifier __has_include__.
2938 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
2940 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
2941 with call to equivalent function.
2943 2019-06-04 Florian Weimer <fweimer@redhat.com>
2945 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
2946 (do_release_shlib): Adjust for __twalk_r.
2947 (__gconv_release_shlib): Call __twalk_r.
2949 2019-06-04 Andreas Schwab <schwab@suse.de>
2952 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
2953 no irreversible characters occurred.
2954 * iconv/gconv_simple.c (internal_ucs4_loop)
2955 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
2956 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
2957 (ucs4_internal_loop_single, internal_ucs4le_loop)
2958 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
2959 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
2960 (ucs4le_internal_loop_single): Add const to outend.
2961 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
2962 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
2963 * iconv/Makefile (tests): Add tst-iconv7.
2964 * iconv/tst-iconv7.c: New file.
2966 2019-06-03 Joseph Myers <joseph@codesourcery.com>
2968 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
2970 2019-06-01 Florian Weimer <fweimer@redhat.com>
2972 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
2973 * sysdeps/unix/sysv/linux/arm/Makefile
2974 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
2975 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
2976 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
2977 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
2978 compatibility symbols.
2980 2019-05-31 Florian Weimer <fweimer@redhat.com>
2982 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
2983 system calls for the arm architecture: breakpoint, get_tls,
2984 set_tls, usr26, usr32.
2986 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
2988 * sysdeps/powerpc/Makefile
2989 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
2990 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
2991 Declare '.machine power7' to get support for ldbrx.
2992 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
2993 directive based on the directory of the file.
2994 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2995 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2996 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
2997 '.machine' directive.
2998 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
2999 (VADDUQM_V7_V8): Remove.
3000 (__STRCASECMP): Replace macros with actual instructions.
3001 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
3002 '.machine' directive.
3003 (VCLZD_V8_v7): Remove.
3004 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
3006 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3008 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
3010 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
3012 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3014 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
3016 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
3017 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
3018 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
3019 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
3020 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
3021 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3023 2019-05-28 mansayk <6688000@gmail.com>
3026 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
3028 2019-05-28 mansayk <6688000@gmail.com>
3031 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
3032 (abmon): Likewise, but remove the trailing dots.
3034 2019-05-28 Joseph Myers <joseph@codesourcery.com>
3036 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
3038 2019-05-27 Florian Weimer <fweimer@redhat.com>
3040 * nptl/nptl-init.c: Add comment.
3042 2019-05-24 Florian Weimer <fweimer@redhat.com>
3044 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
3045 struct in_addr/struct in6_addr alignment.
3047 2019-05-23 Joseph Myers <joseph@codesourcery.com>
3049 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3050 (F_SEAL_FUTURE_WRITE): New macro.
3052 2019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
3054 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
3055 * elf/tst-ldconfig-bad-aux-cache.c: New file.
3056 * elf/tst-ldconfig_aux-cache.root: New directory.
3057 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
3058 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
3059 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
3061 2019-05-22 Zack Weinberg <zackw@panix.com>
3063 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
3065 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
3066 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
3068 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
3069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
3070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
3073 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
3074 Issue an #error if used with a compiler in SPE-float mode.
3075 * sysdeps/powerpc/powerpc32/__longjmp_common.S
3076 * sysdeps/powerpc/powerpc32/setjmp_common.S
3077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
3079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
3080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
3081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3083 Remove code to preserve SPE register state.
3085 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3086 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3087 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
3088 Remove __SPE__ ifndefs.
3090 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
3092 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
3093 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
3094 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
3095 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
3096 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
3097 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
3098 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
3099 (INNER_LOOP_ITERS_MEDIUM): New define.
3100 (INNER_LOOP_ITERS_SMALL): New define.
3101 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
3102 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
3103 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
3104 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
3105 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
3107 2019-05-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3109 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
3111 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
3112 (SEMTIMEDOP_IPC_ARGS): Likewise.
3114 2019-05-21 Florian Weimer <fweimer@redhat.com>
3117 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
3118 before updating __counter field and release it afterwards. Add
3120 * iconv/gconv.h (struct __gconv_step): Mention synchronization
3121 requirement for __counter member.
3123 2019-05-21 Florian Weimer <fweimer@redhat.com>
3126 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
3127 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
3128 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
3129 instead of __gconv_release_step.
3130 * libio/Makefile (tests): Add tst-wfile-gconv.
3131 (tests-container): Add tst-wfile-ascii.
3132 (tst-wfile-gconv-ENV): Enable mtrace.
3133 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
3134 (tests-special): Add tst-wfile-gconv-mem.out.
3135 (tst-wfile-gconv.out): Depend on locales.
3136 (tst-wfile-gconv-mem.out): Add mtrace rule.
3137 * libio/tst-wfile-ascii.c: New file.
3138 * libio/tst-wfile-gconv.c: Likewise.
3140 2019-05-20 Florian Weimer <fweimer@redhat.com>
3143 libio: Remove codecvt vtable.
3144 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
3146 * libio/iofgetpos.c (_IO_new_fgetpos): Call
3147 __libio_codecvt_encoding.
3148 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
3149 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
3150 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
3151 * libio/iofwide.c (__libio_codecvt): Remove variable.
3152 (_IO_fwide): Do not copy __libio_codecvt.
3153 (__libio_codecvt_out): Rename from do_out and export.
3154 (do_unshift): Remove function.
3155 (__libio_codecvt_in): Rename from do_in and export.
3156 (__libio_codecvt_encoding): Rename from do_encoding and export.
3157 (do_always_noconv): Remove function.
3158 (__libio_codecvt_length): Rename from do_length and export.
3159 (do_max_length): Remove function.
3160 * libio/libio.h (enum __codecvt_result): Remove definition; moved
3162 (struct _IO_codecvt): Remove fields __codecvt_destr,
3163 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
3164 __codecvt_do_encoding, __codecvt_do_always_noconv,
3165 __codecvt_do_length, __codecvt_do_max_length.
3166 * libio/libioP.h (enum __codecvt_result): Define; moved from
3168 (__libio_codecvt_out, __libio_codecvt_in)
3169 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
3171 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
3172 (_IO_wfile_underflow): Call __libio_codecvt_in.
3173 (_IO_wfile_underflow): Likewise.
3174 (_IO_wfile_underflow_mmap): Likewise.
3175 (_IO_wfile_sync): Call __libio_codecvt_encoding,
3176 __libio_codecvt_length.
3177 (adjust_wide_data): Call __libio_codecvt_encoding,
3179 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
3180 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
3181 __libio_codecvt_length.
3183 2019-05-20 Florian Weimer <fweimer@redhat.com>
3185 * support/support.h (support_sbindir_prefix): Declare.
3186 (support_install_rootsbindir): Update comment.
3187 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
3188 * support/support_paths.c (support_sbindir_prefix): Define.
3190 2019-05-20 Mike Crowe <mac@mcrowe.com>
3192 * support/timespec.c: Add backslash to correct newline in failure
3195 * support/timespec.h: Correct confusing comment.
3197 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3199 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
3201 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
3202 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
3203 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
3204 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
3207 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
3210 2019-05-20 Joseph Myers <joseph@codesourcery.com>
3212 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
3213 (NT_ARM_PACG_KEYS): Likewise.
3215 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
3217 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
3218 (tcache_put): Remove redundant assert.
3219 (tcache_get): Remove redundant asserts.
3220 (__libc_malloc): Check tcache count is not zero.
3221 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
3223 2019-05-17 Florian Weimer <fweimer@redhat.com>
3225 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
3227 2019-05-16 Joseph Myers <joseph@codesourcery.com>
3229 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3230 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
3232 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
3234 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3235 (__ASSUME_STATX): Likewise.
3237 2019-05-16 Florian Weimer <fweimer@redhat.com>
3239 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
3241 (LINE_PARSER): Do not map IPv4 addresses.
3242 (internal_nis_gethostent_r): Remove flags argument. Adjust call
3244 (_nss_nis_gethostent_r): Always pass AF_INET to
3245 internal_nis_gethostent_r.
3246 (internal_gethostbyname2_r): Remove flags argument. Adjust call
3248 (_nss_nis_gethostbyname2_r): Adjust call to
3249 internal_nis_gethostent_r.
3250 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
3251 call to internal_nis_gethostent_r.
3252 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
3254 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
3255 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
3256 Remove flags argument. Do not map IPv4 addresses.
3257 (internal_nisplus_gethostent_r): Adjust call to
3258 _nss_nisplus_parse_hostent.
3259 (internal_gethostbyname2_r): Remove flags argument. Adjust call
3260 to _nss_nisplus_parse_hostent.
3261 (_nss_nisplus_gethostbyname2_r): Adjust call to
3262 internal_gethostbyname2_r.
3263 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
3264 Adjust call to internal_gethostbyname2_r.
3265 (_nss_nisplus_gethostbyaddr_r): Adjust call to
3266 _nss_nisplus_parse_hostent.
3267 (_nss_nisplus_gethostbyname4_r): Adjust call to
3268 internal_gethostbyname2_r.
3270 2019-05-16 Florian Weimer <fweimer@redhat.com>
3272 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
3274 (LINE_PARSER): Remove address mapping.
3275 (EXTRA_ARGS_VALUE): Remove flags argument.
3276 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
3277 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
3278 gethostbyname3_multi.
3279 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
3280 _nss_files_gethostbyname3_r.
3281 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
3283 2019-05-16 Florian Weimer <fweimer@redhat.com>
3285 * support/support_test_compare_blob.c (report_blob): Report
3286 incorrect NULL blobs.
3288 2019-05-15 Mark Wielaard <mark@klomp.org>
3291 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
3292 __libc_once_get (once) and static_buf == NULL.
3293 (__dlerror): Check we have a valid key, set result to static_buf
3296 2019-05-15 Andreas Schwab <schwab@suse.de>
3299 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
3300 __codecvt_do_length.
3301 * libio/Makefile (tests): Add tst-wfile-sync.
3302 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
3303 * libio/tst-wfile-sync.c: New file.
3304 * libio/tst-wfile-sync.input: New file.
3306 2019-05-15 Florian Weimer <fweimer@redhat.com>
3308 nss: Turn __nss_database_lookup into a compatibility symbol.
3309 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
3310 __nss_database_lookup.
3311 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
3312 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
3313 __nss_database_lookup.
3314 (__nss_next): Move to …
3315 * nss/compat-lookup.c (nss_next): … here. Change it to fail
3317 (__nss_database_lookup): New function.
3318 * nss/Versions (GLIBC_2.0): Update comment.
3319 (GLIBC_PRIVATE): Export __nss_database_lookup2.
3320 * grp/initgroups.c (internal_getgrouplist): Call
3321 __nss_database_lookup2 instead of __nss_database_lookup.
3322 * nscd/aicache.c (addhstaiX): Likewise.
3323 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3324 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3325 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
3326 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
3327 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
3329 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
3330 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
3331 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3333 2019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
3335 * support/support.h (support_install_rootsbindir): New variable.
3336 * support/support_paths.c: Likewise.
3337 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
3339 2019-05-15 Florian Weimer <fweimer@redhat.com>
3341 * iconv/gconv.h (__gconv_transliterate): Move declaration …
3342 * iconv/gconv_int.h (__gconv_transliterate): … here.
3343 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
3344 * iconv/skeleton.c: Likewise.
3346 2019-05-14 Florian Weimer <fweimer@redhat.com>
3348 Linux: Add the tgkill function.
3349 * bits/signal_ext.h: New file.
3350 * manual/signal.texi (Signaling Another Process): Document tgkill.
3351 * signal/Makefile (headers): Add bits/signal_ext.h.
3352 * signal/signal.h: Include <bits/signal_ext.h>.
3353 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
3354 (tst-tgkill): Link with libpthread.
3355 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
3356 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
3357 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
3358 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
3360 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3361 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3362 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
3363 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3364 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3365 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3366 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3367 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3368 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3369 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3370 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
3372 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3373 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3374 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
3381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
3383 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
3384 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3385 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3386 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3387 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3388 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3389 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3390 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3392 2019-05-14 Carlos O'Donell <carlos@redhat.com>
3394 * manual/search.texi (Tree Search Function): Adjust twalk_r
3397 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3400 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
3403 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
3404 * support/support.h (support_bindir_prefix): New variable.
3405 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
3407 * config.make.in (bindir): New variable.
3409 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
3410 (lll_trylock): Call __lll_trylock.
3411 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
3412 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
3413 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
3414 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3415 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
3416 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
3417 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3418 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3419 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
3420 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
3421 lowlevellock-futex.h.
3423 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
3424 initialization for LLL_LOCK_INITIALIZER different than 0.
3425 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
3426 Assume LLL_LOCK_INITIALIZER being 0.
3427 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
3428 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
3430 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
3431 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
3433 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
3434 Optimize futex call and add systemtap probe.
3436 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
3437 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
3438 __libc_disable_asynccancel, __librt_enable_asynccancel,
3439 __libc_disable_asynccancel, __librt_enable_asynccancel,
3440 __librt_disable_asynccancel): Move to ...
3441 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
3442 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
3443 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
3444 * sysdeps/generic/single-thread.h: New file.
3445 * sysdeps/unix/sysdep.h: Include single-thread.h.
3446 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
3447 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3449 2019-05-08 Mike FABIAN <mfabian@redhat.com>
3452 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
3453 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
3455 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
3456 * localedata/unicode-gen/PropList.txt: Likewise.
3457 * localedata/unicode-gen/UnicodeData.txt: Likewise.
3458 * localedata/charmaps/UTF-8: Regenerate.
3459 * localedata/locales/i18n_ctype: Likewise.
3460 * localedata/locales/tr_TR: Likewise.
3461 * localedata/locales/translit_circle: Likewise.
3462 * localedata/locales/translit_cjk_compat: Likewise.
3463 * localedata/locales/translit_combining: Likewise.
3464 * localedata/locales/translit_compat: Likewise.
3465 * localedata/locales/translit_font: Likewise.
3466 * localedata/locales/translit_fraction: Likewise.
3468 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
3471 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
3472 (do_set_tcache_count): Only update if count is small enough.
3473 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
3475 2019-05-10 Florian Weimer <fweimer@redhat.com>
3477 * nptl/sem_close.c (struct walk_closure): Define.
3478 (walker): Adjust for __twalk_r.
3479 (sem_close): Call __twalk_r.
3481 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3483 * support/timespec.c (test_timespec_before_impl,
3484 test_timespec_equal_or_after_impl): print timespec member as intmax_t
3487 2019-05-09 Mike Crowe <mac@mcrowe.com>
3489 * nptl/tst-abstime.c: Use libsupport.
3491 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
3492 small bug where only tv.tv_usec was checked which could cause an
3493 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
3496 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
3499 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
3500 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
3502 * nptl/tst-cond11.c: Use libsupport.
3504 * support/timespec.h: New file. Provide timespec helper functions
3505 along with macros in the style of those in check.h.
3506 * support/timespec.c: New file. Implement check functions declared
3507 in support/timespec.h.
3508 * support/timespec-add.c: New file from gnulib containing
3509 timespec_add implementation that handles overflow.
3510 * support/timespec-sub.c: New file from gnulib containing
3511 timespec_sub implementation that handles overflow.
3512 * support/README: Mention timespec.h.
3514 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3517 * nptl/Makefile: Move tst-eintr1 to xtests.
3519 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3521 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
3523 (round_mode): Add definition for TRUNC.
3524 * sysdeps/powerpc/fpu/s_trunc.c: New file.
3525 * sysdeps/powerpc/fpu/s_truncf.c: New file.
3526 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
3527 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3528 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
3530 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
3532 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
3534 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
3536 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
3538 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
3540 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
3542 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
3544 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
3545 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
3546 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
3547 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
3548 s_truncf-power5+, and s_truncf-ppc64.
3549 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
3550 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
3552 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
3553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
3554 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
3555 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
3557 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
3559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
3560 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
3561 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3562 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
3563 s_truncf-power5+, and s_truncf-ppc64.
3564 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
3566 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
3567 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
3569 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
3570 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3571 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3572 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
3573 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
3575 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
3577 (round_mode): Add definition for ROUND.
3578 (round_to_integer_float): Likewise.
3579 * sysdeps/powerpc/fpu/s_round.c: New file.
3580 * sysdeps/powerpc/fpu/s_roundf.c: New file.
3581 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
3582 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3583 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
3585 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
3587 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
3589 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
3591 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
3593 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
3595 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
3597 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
3599 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
3600 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
3601 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
3602 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
3603 s_roundf-power5+, and s_roundf-ppc64.
3604 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
3605 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
3607 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
3608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
3609 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
3610 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
3612 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
3614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
3615 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
3616 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3617 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
3618 s_roundf-power5+, and s_roundf-ppc64.
3619 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
3621 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
3622 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
3624 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
3625 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3626 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3627 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
3628 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
3630 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
3632 (round_mode): Add definition for FLOOR.
3633 * sysdeps/powerpc/fpu/s_floor.c: New file.
3634 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
3635 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
3636 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
3639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
3641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
3643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
3645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
3647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
3649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
3651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
3653 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
3654 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
3655 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3656 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
3657 s_floorf-power5+, and s_floorf-ppc64.
3658 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
3659 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
3661 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
3662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
3663 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
3664 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
3666 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
3668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
3669 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
3670 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3671 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
3672 s_floorf-power5+, and s_floorf-ppc64.
3673 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
3675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
3677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
3679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
3681 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3682 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3683 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
3684 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
3686 2019-05-08 Mike Crowe <mac@mcrowe.com>
3688 * support/xclock_gettime.c (xclock_gettime): New file. Provide
3689 clock_gettime wrapper for use in tests that fails the test rather
3690 than returning failure.
3692 * support/xtime.h: New file to declare xclock_gettime.
3694 * support/Makefile: Add xclock_gettime.c.
3696 * support/README: Mention xtime.h.
3698 2019-05-08 Florian Weimer <fweimer@redhat.com>
3700 malloc/tst-mallocfork2: Use process-shared barriers.
3701 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
3702 (signal_count, sigusr1_sender_pid): Remove.
3703 (iterations): Define constant.
3704 (shared): New variable.
3705 (sigusr1_received): Update comment.
3706 (sigusr1_handler): Do not send SIGSTOP to the sender process.
3707 (signal_sender): Optional use barriers to avoid sending signals
3708 during irrelevant times.
3709 (do_it): Initialize variable shared. Use xfork for error
3710 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
3711 the iteration count, independent of signal delivery. Check for
3712 deadlocks in fork. Introduce barriers for reducing signal
3713 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
3714 replaced by the barriers. Count signals during fork/free/malloc
3716 * malloc/Makefile (tst-mallocfork): Link with libpthread.
3718 2019-05-07 Joseph Myers <joseph@codesourcery.com>
3720 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3722 (clock_adjtime64) New syscall.
3723 (clock_getres_time64) Likewise.
3724 (clock_gettime64) Likewise.
3725 (clock_nanosleep_time64) Likewise.
3726 (clock_settime64) Likewise.
3727 (futex_time64) Likewise.
3728 (io_pgetevents_time64) Likewise.
3729 (io_uring_enter) Likewise.
3730 (io_uring_register) Likewise.
3731 (io_uring_setup) Likewise.
3732 (mq_timedreceive_time64) Likewise.
3733 (mq_timedsend_time64) Likewise.
3734 (pidfd_send_signal) Likewise.
3735 (ppoll_time64) Likewise.
3736 (pselect6_time64) Likewise.
3737 (recvmmsg_time64) Likewise.
3738 (rt_sigtimedwait_time64) Likewise.
3739 (sched_rr_get_interval_time64) Likewise.
3740 (semtimedop_time64) Likewise.
3741 (timer_gettime64) Likewise.
3742 (timer_settime64) Likewise.
3743 (timerfd_gettime64) Likewise.
3744 (timerfd_settime64) Likewise.
3745 (utimensat_time64) Likewise.
3747 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
3748 version to 9 branch.
3750 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
3752 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
3753 __memmove_thunderx2 to the list of implementations
3754 * sysdeps/aarch64/multiarch/memmove.c: Likewise
3755 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
3756 (__memmove_thunderx2): Rewritten using SIMD ld/st
3757 (__memcpy_thunderx2): Fixed handling overlapping cases.
3758 Used ldp/stp instead of ldr/str if possible. Made loops
3761 2019-05-03 Florian Weimer <fweimer@redhat.com>
3763 * misc/tst-tsearch.c (walk_tree): Add more error checking.
3765 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3768 * elf/tst-pldd.c (in_str_list): New function.
3769 (do_test): Add default names for ld and libc as one option.
3771 2019-05-02 Florian Weimer <fweimer@redhat.com>
3773 misc: Add twalk_r function.
3774 * include/search.h (__twalk_r): Declare.
3775 * manual/examples/twalk.c: New file.
3776 * manual/search.texi (Tree Search Function): Document twalk_r.
3777 * misc/Versions (2.30): Export twalk_r.
3778 (GLIBC_PRIVATE): Export __twalk_r.
3779 * misc/search.h [__USE_GNU] (twalk_r): Declare.
3780 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
3781 (twalk_r): Add weak alias.
3782 * misc/tst-tsearch.c (struct walk_trace_element): Define.
3783 (walk_trace): New variable.
3784 (struct twalk_with_twalk_r_closure): Define.
3785 (twalk_with_twalk_r_action): New function.
3786 (twalk_with_twalk_r): Likewise.
3787 (walk_action): Call walk_trace_add.
3788 (walk_tree_with): Rename from walk_tree. Add walk argument.
3789 (walk_tree): New function.
3790 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
3791 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
3793 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3795 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3796 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
3797 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
3798 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
3799 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
3800 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3802 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3804 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3806 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3807 (GLIBC_2.30): Likewise.
3808 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3809 (GLIBC_2.30): Likewise.
3810 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3811 (GLIBC_2.30): Likewise.
3812 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3813 (GLIBC_2.30): Likewise.
3814 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3817 (GLIBC_2.30): Likewise.
3818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3819 (GLIBC_2.30): Likewise.
3820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3821 (GLIBC_2.30): Likewise.
3822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3823 (GLIBC_2.30): Likewise.
3824 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3826 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3828 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3830 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3831 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3833 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3835 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3837 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3840 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
3842 Make mktime etc. compatible with __time64_t
3843 Keep these functions compatible with Gnulib while adding
3844 __time64_t support. The basic idea is to move private API
3845 declarations from include/time.h to time/mktime-internal.h, since
3846 the former file cannot easily be shared with Gnulib whereas the
3848 Also, do some other minor cleanup while in the neighborhood.
3849 * include/time.h: Include stdbool.h, time/mktime-internal.h.
3850 (__mktime_internal): Move this prototype to time/mktime-internal.h,
3851 since Gnulib needs it.
3852 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
3853 Move these macros to time/mktime-internal.h, since Gnulib needs them.
3854 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
3855 (in_time_t_range): New static function.
3856 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
3857 so that glibc users are not tempted to use __time64_t.
3858 * time/mktime-internal.h: Rewrite so that it does both glibc
3859 and Gnulib work. Include time.h if not _LIBC.
3860 (mktime_offset_t) [!_LIBC]: Define for gnulib.
3861 (__time64_t): New type or macro, moved here from
3863 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
3864 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
3865 from include/time.h.
3866 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
3867 New macros, taken from GNulib.
3868 (__mktime_internal): New prototype, moved here from include/time.h.
3869 * time/mktime.c (mktime_min, mktime_max, convert_time)
3870 (ranged_convert, __mktime_internal, __mktime64):
3871 * time/timegm.c (__timegm64):
3872 Use __time64_t, not time_t.
3873 * time/mktime.c: Stop worrying about whether time_t is floating-point.
3874 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
3876 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
3877 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
3878 for libc_hidden_def.
3880 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
3882 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
3884 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
3887 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
3888 from `-Wmaybe-uninitialized'.
3889 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
3891 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3893 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
3895 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
3896 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
3897 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
3898 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
3899 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
3900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3901 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
3902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
3904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
3906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
3908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
3910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
3912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
3914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
3916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
3918 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
3919 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
3920 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
3921 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
3923 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
3925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
3926 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
3927 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
3929 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
3931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
3932 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
3934 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3935 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
3936 s_ceilf-power5+, and s_ceilf-ppc64.
3937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
3939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
3940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
3941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
3942 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
3943 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
3944 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
3945 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
3947 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
3948 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
3949 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
3951 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
3953 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
3954 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
3955 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
3956 (sem_getvalue): Likewise.
3958 2019-04-26 Florian Weimer <fweimer@redhat.com>
3960 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
3961 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
3963 2019-04-26 Florian Weimer <fweimer@redhat.com>
3965 Makeconfig: Move -Wl,-rpath-link options before library references.
3966 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
3967 (link-libc): Remove $(link-libc-rpath-link).
3969 2019-04-25 Florian Weimer <fweimer@redhat.com>
3971 * Makeconfig (+link-pie-before-libc): Remove $(CC).
3972 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
3973 (+link-static-before-libc): Remove $(CC).
3974 (+link-static, +link-static-tests): Add $(CC).
3975 (+link-before-libc): Remove $(CC).
3976 (+link, +link-pie, +link-pie-printers): Add $(CC).
3978 2019-04-26 Florian Weimer <fweimer@redhat.com>
3980 * Makeconfig (+link-pie-before-libc): Remove $(CC).
3981 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
3982 (+link-static-before-libc): Remove $(CC).
3983 (+link-static, +link-static-tests): Add $(CC).
3984 (+link-before-libc): Remove $(CC).
3985 (+link, +link-pie, +link-pie-printers): Add $(CC).
3987 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
3990 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
3992 2019-04-25 Florian Weimer <fweimer@redhat.com>
3994 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
3995 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
3996 (bench-link-targets): New variable.
3997 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
3999 2019-04-25 Florian Weimer <fweimer@redhat.com>
4001 Also enable BIND_NOW for programs if --enable-bind-now.
4002 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
4003 (+link-pie): Use $(link-extra-flags).
4004 (+link-static): Likewise.
4005 [! $(build-pie-default)] (+link): Likewise.
4006 * manual/install.texi (Configuring and compiling): Update
4007 --enable-bind-now description.
4008 * INSTALL: Regenerated.
4010 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
4012 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
4013 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
4015 2019-04-24 Mike Frysinger <vapier@gentoo.org>
4018 * malloc/Makefile (others): Add memusagestat.
4019 ($(objpfx)memusagestat): Delete rule.
4020 (LDLIBS-memusagestat): New variable.
4022 2019-04-24 Florian Weimer <fweimer@redhat.com>
4024 * locale/Makefile (tests-special): Guard setting by
4025 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
4026 to run while cross-compiling.
4028 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4031 * elf/Makefile (tests-container): Add tst-pldd.
4032 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
4033 (E(find_maps)): Avoid use alloca, use default read file operations
4034 instead of explicit LFS names, and fix infinite loop.
4035 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
4036 (get_process_info): Use _Static_assert instead of assert, use default
4037 directory operations instead of explicit LFS names, and free some
4039 * elf/tst-pldd.c: New file.
4041 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
4043 * malloc/arena.c (do_set_mallopt_check): Removed.
4045 2019-04-23 Florian Weimer <fweimer@redhat.com>
4047 locale: Add LOCPATH diagnostics to the locale program.
4048 * locale/programs/locale.c (setlocale_failed): New variable.
4049 (try_setlocale): New function.
4050 (quote_string): Likewise.
4051 (setlocale_diagnostics): Likewise.
4052 (main): Call try_setlocale instead of setlocale. Call
4053 setlocale_diagnostics.
4054 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
4055 (tst-locale-locpath.out): New target.
4056 * locale/tst-locale-locpath.sh: New file.
4058 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4060 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
4063 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4066 * malloc/hooks.c (malloc_check, realloc_check): Use
4067 __builtin_add_overflow on overflow check and adapt to
4068 checked_request2size change.
4069 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
4070 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
4071 allocation size to PTRDIFF_MAX.
4072 (REQUEST_OUT_OF_RANGE): Remove macro.
4073 (checked_request2size): Change to inline function and limit maximum
4074 requested size to PTRDIFF_MAX.
4075 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
4076 maximum allocation size to PTRDIFF_MAX.
4077 (_mid_memalign): Use _int_memalign call for overflow check.
4078 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
4079 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
4080 limit maximum requested size to PTRDIFF_MAX.
4081 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
4082 valloc, pvalloc): Add __attribute_alloc_size__.
4083 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
4084 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
4085 larger than PTRDIFF_MAX.
4086 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
4087 around tests of malloc with negative sizes.
4088 * malloc/tst-posix_memalign.c (do_test): Likewise.
4089 * malloc/tst-pvalloc.c (do_test): Likewise.
4090 * malloc/tst-valloc.c (do_test): Likewise.
4091 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
4092 with resulting size allocation larger than PTRDIFF_MAX with
4093 reallocarray_nowarn.
4094 (reallocarray_nowarn): New function.
4095 * NEWS: Mention the malloc function semantic change.
4097 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4099 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
4100 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4102 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
4103 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
4104 * sysdeps/powerpc/fpu/s_fma.c: New file.
4105 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4107 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
4108 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
4110 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
4111 the magic flag store.
4112 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
4114 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
4116 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
4117 Remove rt_sigreturn call.
4119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4120 Remove rt_sigreturn call.
4121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
4124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4126 * support/Makefile (libsupport-routines): Add support_subprocess,
4127 xposix_spawn, xposix_spawn_file_actions_addclose, and
4128 xposix_spawn_file_actions_adddup2.
4129 (tst-support_capture_subprocess-ARGS): New rule.
4130 * support/capture_subprocess.h (support_capture_subprogram): New
4132 * support/support_capture_subprocess.c (support_capture_subprocess):
4133 Refactor to use support_subprocess and support_capture_poll.
4134 (support_capture_subprogram): New function.
4135 * support/tst-support_capture_subprocess.c (write_mode_to_str,
4136 str_to_write_mode, test_common, parse_int, handle_restart,
4137 do_subprocess, do_subprogram, do_multiple_tests): New functions.
4138 (do_test): Add support_capture_subprogram tests.
4139 * support/subprocess.h: New file.
4140 * support/support_subprocess.c: Likewise.
4141 * support/xposix_spawn.c: Likewise.
4142 * support/xposix_spawn_file_actions_addclose.c: Likewise.
4143 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
4144 * support/xspawn.h: Likewise.
4146 2019-04-17 Mike Gerow <gerow@google.com>
4148 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
4151 2019-04-11 Florian Weimer <fweimer@redhat.com>
4153 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
4154 domain with empty string.
4155 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4157 2019-04-11 Florian Weimer <fweimer@redhat.com>
4159 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
4161 (alloc_buffer_next): Change return type to non-const. Update
4164 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
4166 * manual/time.texi (Formatting Calendar Time): Add missing percent
4167 sign to conversion specifier.
4169 2019-04-09 Carlos O'Donell <carlos@redhat.com>
4170 Kwok Cheung Yeung <kcy@codesourcery.com>
4173 * malloc/mtrace.c: Define prototypes for all hooks.
4174 (set_default_hooks): New function.
4175 (set_trace_hooks): Likewise.
4176 (save_default_hooks): Likewise.
4177 (tr_freehook): Use new s*_hooks functions.
4178 (tr_mallochook): Likewise.
4179 (tr_reallochook): Likewise.
4180 (tr_memalignhook): Likewise.
4182 (muntrace): Likewise.
4184 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4186 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
4187 (generic_stpcpy): New function.
4188 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
4189 (generic_stpncpy): New function.
4190 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
4191 (generic_strcat): New function.
4192 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
4193 (generic_strcpy): New function.
4194 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
4195 (STUPID_STRNCAT): Remove function.
4196 (generic_strncat): New function.
4197 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
4198 (STUPID_STRNCPY): Remove function.
4199 (generic_strncpy): New function.
4200 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
4201 (generic_strnlen): New function.
4202 (memchr_strnlen): New function.
4203 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
4204 (memchr_strlen): Likewise.
4206 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4208 * benchtests/bench-strstr.c (input): Add realistic input text.
4209 (stupid_strstr): Remove function.
4210 (basic_strstr): Add function.
4211 (twoway_strstr): Add function.
4212 (do_one_test): Add result checking.
4213 (do_test): Use new input text. Remove accidental early matches.
4214 (test_main): Improve range of tests, reduce unaligned cases.
4216 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4218 * benchtests/bench-memmem.c (simple_memmem): Remove function.
4219 (basic_memmem): Add function.
4220 (twoway_memmem): Add function.
4222 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4224 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
4225 * benchtests/bench-malloc-thread.c: Likewise.
4226 * benchtests/bench-skeleton.c: Likewise.
4227 * benchtests/bench-strtod.c: Likewise.
4228 * benchtests/bench-timing.h: Likewise.
4230 2019-04-08 Florian Weimer <fweimer@redhat.com>
4232 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
4234 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
4235 RES_INSECURE2 security checks.
4236 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
4237 RES_INSECURE2 handling.
4239 2019-04-08 Florian Weimer <fweimer@redhat.com>
4241 resolv: Remove support for RES_USE_INET6 and the inet6 option.
4242 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
4243 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
4245 * resolv/Makefile (tests): Remove tst-res_use_inet6.
4246 (tests-internal): Update justification for tst-resolv-res_init,
4247 tst-resolv-res_init-thread.
4248 (tst-res_use_inet6): Remove target.
4249 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
4250 * resolv/res_debug.c (p_option): Remove "inet6" support.
4251 * resolv/res_init.c (res_setoptions): Likewise.
4252 * resolv/res_use_inet6.h: Remove file.
4253 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
4255 (res_use_inet6): Always return false.
4256 * resolv/resolv.h (RES_USE_INET6): Remove definition.
4257 * resolv/resolv_context.h: Adjust file comment.
4258 (struct resolv_context): Update comment on __next field.
4259 (__resolv_context_put): Update comment.
4260 * resolv/tst-res_use_inet6.c: Remove file.
4261 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
4263 (test_cases): Adjust test case.
4264 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
4265 (thread_byname2_af_inet6): Use old byname_inet6 code.
4266 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
4267 (gai): Remove do_inet6 argument.
4268 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
4269 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
4270 (thread_gai_unspec_inet6): Remove functions.
4271 (do_test): Adjust thread_funcs.
4272 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
4274 (gaih_inet): Do not disable RES_USE_INET6 flag.
4276 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4278 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
4279 and remove redundant code.
4281 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4283 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
4285 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
4286 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
4288 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
4290 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
4292 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4293 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
4294 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
4295 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
4296 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4297 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
4298 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4299 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
4301 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
4302 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4303 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4304 Remove wcsrchr optimizations.
4305 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4307 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
4310 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
4312 * sysdeps/powerpc/power6/wcschr.c: Remove file.
4313 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
4315 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
4317 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
4319 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4320 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
4321 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
4322 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
4323 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4324 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
4325 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4326 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
4328 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
4329 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4330 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4331 Remove wcschr optimizations.
4332 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4334 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
4337 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
4339 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
4340 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
4342 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
4344 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
4346 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4347 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
4348 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
4349 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
4350 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4351 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
4352 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4353 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
4355 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
4356 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4357 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4358 Remove wcscpy optimizations.
4359 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4361 * include/loop_unroll.h: New file.
4362 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
4363 besides generic implementation.
4365 2019-04-03 DJ Delorie <dj@redhat.com>
4367 * time/tst-strftime3.c (tm_to_printed): Disable warning about
4368 snprintf truncating output.
4370 2019-04-02 DJ Delorie <dj@redhat.com>
4372 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
4375 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
4378 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
4380 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
4381 (mkreftable): Add rules for the new Japanese era and the new dates.
4383 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
4384 Rafal Luzynski <digitalfreak@lingonborough.com>
4386 * time/tst-strftime2.c (date_t): Explicitly define the type.
4387 (dates): Use natural month and year numbers to express a date.
4388 (is_before): New function to compare dates.
4389 (mkreftable): Minor improvements to simplify maintenance.
4390 (do_test): Reflect the changes in dates array.
4393 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
4394 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
4395 * time/tst-strftime2.c (locales): Likewise.
4396 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
4397 2010-04-01, and 2011-04-01.
4398 (mkreftable): Add rules for the new locales and the new dates.
4400 2019-04-01 Carlos O'Donell <carlos@redhat.com>
4402 * localedata/locales/ja_JP: Add comments to era entries.
4404 2019-04-01 DJ Delorie <dj@redhat.com>
4407 * time/strptime_l.c (%Ey): Fix fencepost error.
4408 * time/tst-strftime3.c: New.
4409 * time/Makefile (tests): Add tst-strftime3.
4411 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
4413 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
4414 conditional branch to DIVBYZERO. Fix unwind info.
4415 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
4416 excb after conditional branch to $powerof2. Add missing unop
4417 instructions and .align directives and reorder instructions to
4420 2019-04-01 Richard Henderson <rth@twiddle.net>
4422 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
4424 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
4427 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
4429 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
4430 $libc_cv_riscv_float_abi in `test' invocation.
4431 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
4433 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
4435 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
4437 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
4439 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4440 (_GET_SI_FPSCR): Likewise.
4441 (_SET_SI_FPSCR): Likewise.
4443 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4445 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
4447 (signbit): Use builtin for clang 3.3.
4448 (isinf): Use builtin for clang 3.7.
4450 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4452 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
4454 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
4456 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
4459 2019-03-25 Mike Crowe <mac@mcrowe.com>
4461 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
4462 pthread_rwlock_timedrdlock with calls to
4463 pthread_rwlock_timedwrlock to ensure that the latter is tested
4464 too. Use new function name in diagnostic messages too.
4466 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
4467 (do_test) Use libsupport test macros rather than hand-coded
4468 conditionals and error messages. Ensure that sem_init returns zero
4469 rather than not -1. Use <support/test-driver.c> rather than
4472 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
4473 test macros rather than hand-coded conditionals and error messages.
4474 Use <support/test-driver.c> rather than test-skeleton.c.
4476 2019-03-25 Joseph Myers <joseph@codesourcery.com>
4478 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
4480 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
4481 (NT_MIPS_MSA): Likewise.
4483 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4485 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
4486 * benchtests/README: Update description.
4487 * benchtests/bench-timing.h: Default to hp-timing.
4488 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
4489 HP_TIMING_PRINT): Remove.
4490 (HP_TIMING_NOW): Add generic implementation.
4491 (hp_timing_t): Change to uint64_t.
4493 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
4495 * nptl/descr.h: Likewise.
4496 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
4497 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
4498 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
4499 Abstract hp-timing usage with RTLD_* macros.
4500 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
4501 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
4502 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
4503 HP_TIMING_NONAVAIL): Likewise.
4504 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
4506 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
4507 HP_SMALL_TIMING_AVAIL): Likewise.
4508 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
4509 HP_SMALL_TIMING_AVAIL): Likewise.
4510 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
4511 HP_SMALL_TIMING_AVAIL): Likewise.
4512 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
4513 HP_SMALL_TIMING_AVAIL): Likewise.
4514 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
4516 * sysdeps/generic/hp-timing-common.h: Update comment with
4517 HP_TIMING_AVAIL removal.
4519 * include/random-bits.h: New file.
4520 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
4521 (__res_context_mkquery): Remove usage hp-timing usage and replace with
4523 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
4524 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
4527 * include/libc-internal.h (__get_clockfreq): Remove prototype.
4528 * rt/Makefile (clock-routines): Remove get_clockfreq.
4529 * rt/get_clockfreq.c: Remove file.
4530 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
4531 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
4532 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
4533 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
4534 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
4536 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
4537 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
4538 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
4539 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
4540 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
4542 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
4543 pthread_clock_settime.
4544 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
4545 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
4546 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
4547 * elf/rtld.c (_dl_start_final): Likewise.
4548 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
4549 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
4551 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
4552 (_dl_cpuclock_offset): Remove.
4553 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
4554 cpuclock_offset_ununsed.
4555 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
4556 cpuclock_offset set.
4557 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
4558 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4559 * nptl/pthread_clock_gettime.c: Remove file.
4560 * nptl/pthread_clock_settime.c: Likewise.
4561 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
4562 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
4563 and CLOCK_PROCESS_CPUTIME_ID support.
4564 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
4565 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
4566 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
4567 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
4568 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
4570 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
4572 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4574 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
4575 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
4576 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
4578 * sysdeps/s390/memmem-arch13.S: New file.
4579 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
4580 if it is only used as fallback.
4581 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
4582 * sysdeps/s390/multiarch/ifunc-impl-list.c
4583 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
4585 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4587 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
4588 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
4589 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
4591 * sysdeps/s390/multiarch/ifunc-impl-list.c
4592 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
4593 * sysdeps/s390/strstr-arch13.S: New file.
4594 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
4595 if it is only used as fallback.
4596 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
4598 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4600 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
4601 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
4602 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
4603 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
4605 * sysdeps/s390/multiarch/ifunc-impl-list.c
4606 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
4607 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
4608 S390_IS_ARCH13_MIE3): New defines.
4610 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4612 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
4613 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
4614 * sysdeps/s390/configure.ac: Add checks for arch13 support.
4615 * sysdeps/s390/configure: Regenerated.
4617 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4619 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
4620 Add vxe2, vxp, dflt, sort flags.
4621 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
4622 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
4624 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
4625 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
4626 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
4627 HWCAP_S390_DFLT): Define.
4629 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4632 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
4633 of compiler warning.
4634 * locale/programs/ld-collate.c (collate_output): Likewise.
4636 2019-03-21 DJ Delorie <dj@redhat.com>
4639 * iconv/iconvconfig.c (write_output): Replace floating point math
4640 with integer math to avoid imprecise results.
4641 * locale/programs/ld-collate.c (collate_output): Likewise.
4643 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
4645 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
4646 Add HWCAP_S390_VX and HWCAP_S390_VXE.
4648 2019-03-20 mansayk <6688000@gmail.com>
4651 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
4652 (abday): Likewise, but remove the trailing dots.
4654 2019-03-19 Joseph Myers <joseph@codesourcery.com>
4656 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
4658 (HWCAP_PACA): Likewise.
4659 (HWCAP_PACG): Likewise.
4660 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
4662 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
4664 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4666 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
4669 2019-03-15 Joseph Myers <joseph@codesourcery.com>
4671 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4673 (old_getpagesize): New syscall.
4675 2019-03-15 Felix Yan <felixonmars@archlinux.org>
4678 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
4679 * localedata/locales/cmn_TW (era): Likewise.
4680 * localedata/locales/hak_TW (era): Likewise.
4681 * localedata/locales/lzh_TW (era): Likewise.
4682 * localedata/locales/nan_TW (era): Likewise.
4684 2019-03-14 Adam Maris <amaris@redhat.com>
4686 * malloc/malloc.c (_int_malloc): Check for large bin list
4687 corruption when inserting unsorted chunk.
4689 2019-03-14 Florian Weimer <fweimer@redhat.com>
4691 Remove obsolete, never-implemented XSI STREAMS declarations.
4692 * manual/terminal.texi (Allocation): Remove portability note and
4694 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
4696 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
4697 * sysdeps/unix/inet/Subdirs (streams): Remove.
4698 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
4699 (conformtest-headers-UNIX98): Likewise.
4700 (conformtest-headers-XOPEN2K): Likewise.
4701 (conformtest-headers-POSIX2008): Likewise.
4702 * posix/compat-streams.c: New file.
4703 * posix/Makefile (routines): Add it.
4704 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
4705 getpmsg, isastream, putmsg, putpmsg.
4706 (GLIBC_2.30): New section.
4707 * bits/stropts.h: Remove file.
4708 * bits/xtitypes.h: Likewise.
4709 * conform/data/stropts.h-data: Likewise.
4710 * include/stropts.h: Likewise.
4711 * include/sys/stropts.h: Likewise.
4712 * include/xtitypes.h: Likewise.
4713 * streams/Makefile: Likewise.
4714 * streams/fattach.c: Likewise.
4715 * streams/fdetach.c: Likewise.
4716 * streams/getmsg.c: Likewise.
4717 * streams/getpmsg.c: Likewise.
4718 * streams/isastream.c: Likewise.
4719 * streams/putmsg.c: Likewise.
4720 * streams/putpmsg.c: Likewise.
4721 * streams/stropts.h: Likewise.
4722 * streams/sys/stropts.h: Likewise.
4723 * sysdeps/ia64/bits/xtitypes.h: Likewise.
4724 * sysdeps/s390/bits/xtitypes.h: Likewise.
4725 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
4726 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
4727 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
4728 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
4729 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
4730 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
4731 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
4732 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
4733 * sysdeps/x86/bits/xtitypes.h: Likewise.
4735 2019-03-14 Florian Weimer <fweimer@redhat.com>
4737 * nss/tst-nss-files-alias-truncated.c (do_test): Load
4739 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
4740 but not with libnss_files.
4741 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
4743 2019-03-14 Zack Weinberg <zackw@panix.com>
4745 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
4746 Specify encoding="utf-8" when opening headers to check.
4748 2019-03-13 Joseph Myers <joseph@codesourcery.com>
4750 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4752 (Context.checkout_tar): Handle variable major version for Linux
4755 2019-03-13 Florian Weimer <fweimer@redhat.com>
4758 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
4760 2019-03-13 Zack Weinberg <zackw@panix.com>
4762 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
4764 * include/inttypes.h: Adjust to match.
4765 * include/stdint.h: New wrapper.
4767 2019-03-13 Zack Weinberg <zackw@panix.com>
4769 * scripts/check-obsolete-constructs.py: New test script.
4770 * scripts/check-installed-headers.sh: Remove tests for
4771 obsolete typedefs, superseded by check-obsolete-constructs.py.
4772 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
4773 as a special test. Update commentary.
4774 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
4775 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
4777 * posix/sys/types.h (__u_intN_t): Remove.
4778 (u_int8_t): Typedef using __uint8_t.
4779 (u_int16_t): Typedef using __uint16_t.
4780 (u_int32_t): Typedef using __uint32_t.
4781 (u_int64_t): Typedef using __uint64_t.
4783 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
4785 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
4787 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
4788 Ignore types other than AT_HWCAP.
4789 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
4790 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
4792 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
4793 in the case of falling back to generic output mechanism.
4794 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
4797 2019-03-12 Florian Weimer <fweimer@redhat.com>
4799 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
4801 2019-03-12 Florian Weimer <fweimer@redhat.com>
4804 resolv: Enable full ICMP errors for UDP DNS sockets
4805 * resolv/res_enable_icmp.c: New file.
4806 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
4807 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
4808 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
4811 2019-03-11 Mao Han <han_mao@c-sky.com>
4813 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
4814 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
4816 2019-03-11 Mao Han <han_mao@c-sky.com>
4818 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
4819 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
4820 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
4822 2019-03-11 Mao Han <han_mao@c-sky.com>
4824 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
4826 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
4829 2019-03-11 Mao Han <han_mao@c-sky.com>
4831 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
4832 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
4835 2019-03-08 Mike FABIAN <mfabian@redhat.com>
4838 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
4839 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
4841 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
4842 * localedata/unicode-gen/PropList.txt: Likewise.
4843 * localedata/unicode-gen/UnicodeData.txt: Likewise.
4844 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
4845 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
4846 * localedata/charmaps/UTF-8: Regenerate.
4847 * localedata/locales/i18n_ctype: Likewise.
4848 * localedata/locales/tr_TR: Likewise.
4849 * localedata/locales/translit_circle: Likewise.
4850 * localedata/locales/translit_cjk_compat: Likewise.
4851 * localedata/locales/translit_combining: Likewise.
4852 * localedata/locales/translit_compat: Likewise.
4853 * localedata/locales/translit_font: Likewise.
4854 * localedata/locales/translit_fraction: Likewise.
4856 2019-03-07 Joseph Myers <joseph@codesourcery.com>
4858 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
4859 than after operators.
4860 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
4861 (setitimer_locked): Likewise.
4862 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
4863 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
4864 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
4865 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
4866 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
4867 (PPC_CPU_SUPPORTED): Likewise.
4868 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
4869 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
4870 (stat_overflow): Likewise.
4871 (statfs_overflow): Likewise.
4872 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
4873 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
4874 (eq_ttyname_r): Likewise.
4875 (run_chroot_tests): Likewise.
4877 2019-03-07 Florian Weimer <fweimer@redhat.com>
4879 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
4882 2019-03-07 Martin Liska <mliska@suse.cz>
4884 * math/Makefile: Change location where math-vector-fortran.h is
4886 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
4887 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
4888 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
4889 * scripts/check-installed-headers.sh: Skip Fortran header files.
4890 * scripts/check-wrapper-headers.py: Likewise.
4892 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4894 * nptl/nptl-init.c (__have_futex_clock_realtime,
4895 __have_futex_clock_realtime): Remove definition.
4896 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
4897 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
4898 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
4899 __ASSUME_FUTEX_CLOCK_REALTIME support.
4900 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
4901 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4902 * sysdeps/unix/sysv/linux/kernel-features.h
4903 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
4904 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
4907 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4909 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
4910 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
4911 __GI___wcscpy and wcscpy.
4913 2019-03-04 Florian Weimer <fweimer@redhat.com>
4915 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
4917 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
4920 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
4922 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
4923 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4925 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
4928 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
4929 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
4931 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4933 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
4935 (do_test): Likewise.
4936 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
4937 (do_test_call_varg): Likewise.
4938 (do_test_call_rarg): Likewise.
4939 * sysdeps/ieee754/ldbl-opt/Makefile
4940 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
4942 ($(objpfx)tst-nldbl-warn.c): New rule.
4943 ($(objpfx)tst-nldbl-error.c): Likewise.
4944 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
4947 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4950 * include/bits/error-ldbl.h: New file.
4951 * include/error.h: Include stdarg.h. Declare internal functions
4952 __error_internal and __error_at_line_internal.
4953 * misc/Makefile (headers): Add bits/error-ldbl.h.
4954 * misc/bits/error-ldbl.h: New file.
4955 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
4956 avoid the inclusion of bits/error.h.
4957 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
4958 and __nldbl_error_at_line.
4959 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
4960 (__nldbl_error, __ndlbl_error_at_line): New functions.
4961 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
4962 Redirect error and error_at_line.
4963 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
4964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4972 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4973 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4974 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4976 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4979 * include/bits/err-ldbl.h: New file.
4980 * include/err.h: Add prototypes for the internal functions:
4981 __vwarnx_internal and __vwarn_internal.
4982 * misc/Makefile (headers): Add bits/err-ldbl.h.
4983 * misc/bits/err-ldbl.h: New file.
4984 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
4985 defined, i.e.: when -mlong-double-64 is in use.
4986 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
4987 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
4988 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
4989 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
4990 (VA_CALL): New macro.
4991 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
4992 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
4994 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
4995 declare prototypes for the new functions.
4996 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
4997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5005 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5006 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5007 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5009 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5011 * sysdeps/ieee754/ldbl-opt/Makefile
5012 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
5013 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
5014 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
5016 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5019 * argp/Makefile (headers): Add bits/argp-ldbl.h.
5020 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
5021 * argp/bits/argp-ldbl.h: New file.
5022 * include/argp.h: Include stdarg.h. Add prototypes for internal
5023 functions: __argp_error_internal and __argp_failure_internal.
5024 * include/bits/argp-ldbl.h: New file.
5025 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
5026 __nldbl_argp_error and __nldbl_argp_failure.
5027 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
5028 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
5029 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
5030 Redirect argp_error and argp_failure calls.
5031 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5040 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5041 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5042 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5044 2019-03-01 Florian Weimer <fweimer@redhat.com>
5047 * elf/tst-big-note-lib.S: Create a syntactically valid note.
5048 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
5049 code, to avoid creating an ABI tag note.
5050 (modules-names-nobuild): Add tst-big-note-lib.
5052 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
5054 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
5055 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
5057 2019-03-01 Florian Weimer <fweimer@redhat.com>
5060 * sysdeps/unix/sysv/linux/netlink_assert_response.c
5061 (__netlink_assert_response): Add additional missing newlines.
5063 2019-02-28 Joseph Myers <joseph@codesourcery.com>
5065 * sysdeps/powerpc/powerpc32/dl-machine.c
5066 (__elf_machine_fixup_plt): Use space before '('.
5067 (__process_machine_rela): Likewise.
5068 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
5070 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
5072 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
5074 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
5075 (pattern): Likewise.
5077 (check_result): Likewise.
5078 (check_excepts): Likewise.
5079 (check_op): Likewise.
5080 (fail_xr): Likewise.
5081 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
5082 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
5084 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
5087 (__makecontext): Likewise.
5088 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
5091 2019-02-28 Florian Weimer <fweimer@redhat.com>
5094 elf: Add test with a local IFUNC resolver.
5095 * elf/ifuncmain9.c: New file.
5096 * elf/ifuncmain9pic.c: Likewise.
5097 * elf/ifuncmain9picstatic.c: Likewise.
5098 * elf/ifuncmain9pie.c: Likewise.
5099 * elf/ifuncmain9static.c: Likewise.
5100 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
5101 ifuncmain9static, ifuncmain9picstatic.
5102 * elf/Makefile [multi-arch && build-shared] (tests-internal):
5103 Add ifuncmain9, ifuncmain9pic.
5104 * elf/Makefile [multi-arch && build-shared && have-fpie]
5105 (ifunc-pie-tests): Add ifuncmain9pie.
5106 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
5107 (CFLAGS-ifuncmain9picstatic.c): Likewise.
5108 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
5110 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
5112 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
5113 * configure: Regenerated.
5114 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
5116 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5118 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
5119 symbol as __wcspcy instead of wcscpy.
5121 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5123 * include/stdio.h (__renameat2): New hidden prototype.
5124 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
5125 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
5126 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
5127 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
5129 2019-02-27 Joseph Myers <joseph@codesourcery.com>
5131 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
5134 * benchtests/bench-strcpy.c (do_test): Use space before '('.
5135 * benchtests/bench-string.h (cmdline_process_function): Likewise.
5136 * benchtests/bench-strlen.c (do_test): Likewise.
5137 (test_main): Likewise.
5138 * catgets/gencat.c (read_old): Likewise.
5139 * elf/cache.c (load_aux_cache): Likewise.
5140 * iconvdata/bug-iconv8.c (do_test): Likewise.
5141 * math/test-tgmath-ret.c (do_test): Likewise.
5142 * nis/nis_call.c (rec_dirsearch): Likewise.
5143 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5144 * nptl/tst-audit-threads.c (do_test): Likewise.
5145 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
5146 * nss/nss_test1.c (init): Likewise.
5147 * nss/test-netdb.c (test_hosts): Likewise.
5148 * posix/execvpe.c (maybe_script_execute): Likewise.
5149 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
5150 * stdio-common/tst-printf.c (do_test): Likewise.
5151 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
5152 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
5153 * stdlib/qsort.c (STACK_SIZE): Likewise.
5154 * stdlib/test-canon.c (do_test): Likewise.
5155 * stdlib/tst-swapcontext1.c (do_test): Likewise.
5156 * string/memcmp.c (OPSIZ): Likewise.
5157 * string/test-strcpy.c (do_test): Likewise.
5158 (do_random_tests): Likewise.
5159 * string/test-strlen.c (do_test): Likewise.
5160 (test_main): Likewise.
5161 * string/test-strrchr.c (do_test): Likewise.
5162 (do_random_tests): Likewise.
5163 * string/tester.c (test_memrchr): Likewise.
5164 (test_memchr): Likewise.
5165 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
5166 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
5167 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
5168 (read_encoded_value_with_base): Likewise.
5169 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
5170 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
5171 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
5172 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
5173 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
5174 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
5176 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
5178 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
5179 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
5180 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
5182 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
5184 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
5186 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
5188 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
5189 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5190 (FP_XSTATE_MAGIC2_SIZE): Likewise.
5191 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
5192 * time/test_time.c (main): Likewise.
5194 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5196 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
5198 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
5201 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
5204 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
5206 * include/wchar.h (__wcscpy): New prototype.
5207 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
5208 (__wcscpy): Route internal symbol to generic implementation.
5209 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
5210 Add internal __wcscpy alias.
5211 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
5212 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
5213 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
5214 * wcsmbs/wcscpy.c (wcscpy): Add
5215 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
5216 use generic implementation.
5217 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
5219 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
5222 * sysdeps/m68k/wcpcpy.c: Remove file.
5223 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
5225 2019-02-26 Joseph Myers <joseph@codesourcery.com>
5227 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
5228 than after operators.
5229 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
5230 * sysdeps/mach/hurd/getcwd.c
5231 (__hurd_canonicalize_directory_name_internal): Likewise.
5232 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
5233 (pthread_mutex_consistent): Likewise.
5234 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
5236 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
5237 (__pthread_mutex_transfer_np): Likewise.
5238 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
5239 (__pthread_mutex_unlock): Likewise.
5240 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
5241 (mtx_owned_p): Likewise.
5242 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
5243 (pthread_mutexattr_getrobust): Likewise.
5244 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
5245 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
5247 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5248 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
5249 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
5250 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
5251 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
5252 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5253 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
5255 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
5257 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
5258 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
5259 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
5260 (____longjmp_chk): Likewise.
5261 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
5263 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5264 (INTERNAL_SYSCALL): Likewise.
5265 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5266 (INTERNAL_SYSCALL): Likewise.
5267 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5268 (__get_clockfreq_via_cpuinfo): Likewise.
5270 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
5272 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
5273 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
5274 (WORD_COPY_BWD): Likewise.
5275 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5276 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5278 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
5279 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
5281 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
5283 2019-02-25 Joseph Myers <joseph@codesourcery.com>
5285 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
5286 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
5287 rather than after operators.
5288 * elf/cache.c (print_cache): Likewise.
5289 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
5290 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
5291 * hurd/hurdinit.c (_hurd_setproc): Likewise.
5292 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
5293 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
5294 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
5295 (reauth_proc): Likewise.
5296 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
5297 (__file_name_split_at): Likewise.
5298 (__directory_name_split_at): Likewise.
5299 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
5300 * hurd/port2fd.c (_hurd_port2fd): Likewise.
5301 * iconv/gconv_dl.c (do_print): Likewise.
5302 * inet/netinet/in.h (struct sockaddr_in): Likewise.
5303 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
5304 * locale/setlocale.c (new_composite_name): Likewise.
5305 * malloc/memusagestat.c (main): Likewise.
5306 * misc/fstab.c (fstab_convert): Likewise.
5307 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
5309 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
5310 (getgrent_next_file): Likewise.
5311 (internal_getgrnam_r): Likewise.
5312 (internal_getgrgid_r): Likewise.
5313 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
5315 (internal_getgrent_r): Likewise.
5316 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
5317 (getpwent_next_nss): Likewise.
5318 (getpwent_next_file): Likewise.
5319 (internal_getpwnam_r): Likewise.
5320 (internal_getpwuid_r): Likewise.
5321 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
5323 (getspent_next_nss): Likewise.
5324 (internal_getspnam_r): Likewise.
5325 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
5326 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
5327 * string/strchr.c (STRCHR): Likewise.
5328 * string/strchrnul.c (STRCHRNUL): Likewise.
5329 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
5330 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5331 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
5332 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
5333 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
5335 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
5336 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
5337 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
5338 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
5339 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
5340 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
5341 (open_file): Likewise.
5342 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
5343 (pthread_mutexattr_setprotocol): Likewise.
5344 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5345 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
5346 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
5347 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
5348 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
5350 (elf_machine_rela): Likewise.
5351 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5352 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5353 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
5354 * sysdeps/posix/rename.c (rename): Likewise.
5355 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
5356 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
5357 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
5358 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
5359 * sysdeps/unix/grantpt.c (grantpt): Likewise.
5360 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
5361 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
5363 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
5365 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
5366 * time/tzfile.c (__tzfile_compute): Likewise.
5368 2019-02-22 Joseph Myers <joseph@codesourcery.com>
5370 * benchtests/bench-memmem.c (simple_memmem): Break lines before
5371 rather than after operators.
5372 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
5373 * crypt/md5.c (md5_finish_ctx): Likewise.
5374 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
5375 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
5376 * elf/cache.c (load_aux_cache): Likewise.
5377 * elf/dl-load.c (open_verify): Likewise.
5378 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
5379 * elf/readelflib.c (process_elf_file): Likewise.
5380 * elf/rtld.c (dl_main): Likewise.
5381 * elf/sprof.c (generate_call_graph): Likewise.
5382 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
5383 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
5384 * hurd/dtable.c (reauth_dtable): Likewise.
5385 * hurd/getdport.c (__getdport): Likewise.
5386 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
5387 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
5388 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
5390 * hurd/hurdioctl.c (fioctl): Likewise.
5391 * hurd/hurdselect.c (_hurd_select): Likewise.
5392 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
5393 (STOPSIGS): Likewise.
5394 * hurd/hurdstartup.c (_hurd_startup): Likewise.
5395 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
5396 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
5397 * hurd/msgportdemux.c (msgport_server): Likewise.
5398 * hurd/setauth.c (_hurd_setauth): Likewise.
5399 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
5400 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
5401 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
5402 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
5403 * login/tst-utmp.c (do_check): Likewise.
5404 (simulate_login): Likewise.
5405 * mach/lowlevellock.h (lll_lock): Likewise.
5406 (lll_trylock): Likewise.
5407 * math/test-fenv.c (ALL_EXC): Likewise.
5408 * math/test-fenvinline.c (ALL_EXC): Likewise.
5409 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
5410 * nis/nis_call.c (__do_niscall3): Likewise.
5411 * nis/nis_callback.c (cb_prog_1): Likewise.
5412 * nis/nis_defaults.c (searchaccess): Likewise.
5413 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5414 * nis/nis_ismember.c (internal_ismember): Likewise.
5415 * nis/nis_local_names.c (nis_local_principal): Likewise.
5416 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
5417 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
5419 * nis/ypclnt.c (yp_match): Likewise.
5420 (yp_first): Likewise.
5421 (yp_next): Likewise.
5422 (yp_master): Likewise.
5423 (yp_order): Likewise.
5424 * nscd/hstcache.c (cache_addhst): Likewise.
5425 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5426 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
5427 (internal_getpwuid_r): Likewise.
5428 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
5429 * posix/glob.h (__GLOB_FLAGS): Likewise.
5430 * posix/regcomp.c (peek_token): Likewise.
5431 (peek_token_bracket): Likewise.
5432 (parse_expression): Likewise.
5433 * posix/regexec.c (sift_states_iter_mb): Likewise.
5434 (check_node_accept_bytes): Likewise.
5435 * posix/tst-spawn3.c (do_test): Likewise.
5436 * posix/wordexp-test.c (testit): Likewise.
5437 * posix/wordexp.c (parse_tilde): Likewise.
5438 (exec_comm): Likewise.
5439 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
5440 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
5441 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
5442 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
5443 * stdio-common/tst-fileno.c (do_test): Likewise.
5444 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
5445 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
5446 * stdlib/strtod_l.c (round_and_return): Likewise.
5447 (____STRTOF_INTERNAL): Likewise.
5448 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
5449 * string/strcspn.c (STRCSPN): Likewise.
5450 * string/test-memmem.c (simple_memmem): Likewise.
5451 * termios/tcsetattr.c (tcsetattr): Likewise.
5452 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
5453 * time/asctime.c (asctime_internal): Likewise.
5454 * time/strptime_l.c (__strptime_internal): Likewise.
5455 * time/sys/time.h (timercmp): Likewise.
5456 * time/tzfile.c (__tzfile_compute): Likewise.
5458 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
5461 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
5463 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5465 * argp/argp-help.c (__argp_error_internal): New function,
5466 renamed from __argp_error, but that takes a 'mode_flags'
5467 parameter to control the format of long double parameters.
5468 (__argp_error): Converted into a call __argp_error_internal.
5469 (__argp_failure_internal): New function, renamed from
5470 __argp_failure, but that takes a 'mode_flags' parameter.
5471 (__argp_failure): Converted into a call __argp_failure_internal.
5472 * misc/err.c (__vwarnx_internal): New function, renamed from
5473 vwarnx, but that takes a 'mode_flags' parameter.
5474 (vwarnx): Converted into a call to __vwarnx_internal.
5475 (__vwarn_internal): New function, renamed from vwarn, but that
5476 takes a 'mode_flags' parameter.
5477 (vwarn): Converted into a call to __vwarn_internal.
5478 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
5479 call to __vfxprintf with 'mode_flags'.
5480 (__error_internal): New function, renamed from error, but that
5481 takes a 'mode_flags' parameter.
5482 (error): Converted into a call to __error_internal.
5483 (__error_at_line_internal): New function, renamed from
5484 error_at_line, but that takes a 'mode_flags' parameter.
5485 (error_at_line): Converted into a call to
5486 __error_at_line_internal.
5487 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
5488 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
5491 2019-02-20 Martin Liska <mliska@suse.cz>
5493 * math/Makefile: Install math-vector-fortran.h.
5494 * bits/math-vector-fortran.h: New file.
5495 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
5497 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5499 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
5500 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
5502 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
5504 * nptl/pthread_mutex_trylock.c: Fix comment.
5506 2019-02-19 Carlos O'Donell <carlos@redhat.com>
5508 * nptl/pthread_tryjoin.c: Fix comment.
5510 2019-02-18 Joseph Myers <joseph@codesourcery.com>
5513 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
5514 after R_SPARC_H34 case.
5516 2019-02-18 Florian Weimer <fweimer@redhat.com>
5518 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
5519 (getanswer): Do not call Dprintf.
5520 (res_gethostbyname2_context): Likewise.
5521 (res_gethostbyaddr_context): Likewise.
5523 2019-02-18 Florian Weimer <fweimer@redhat.com>
5525 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
5527 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
5529 * libio/stdfiles.c: Update comment.
5530 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
5531 set _IO_stdin, _IO_stdout, _IO_stderr.
5532 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
5533 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
5535 (_IO_deallocate_file): New inline function.
5536 * libio/iolibio.h (_IO_vprintf): Remove definition.
5537 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
5538 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
5539 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
5541 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
5542 __builtin_expect. Use _IO_legacy_file.
5544 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
5546 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
5547 Initialize ctid with a known value and remove update of ctid
5549 (wait_tid): Adjust arguments and call futex_wait with ctid_val
5550 as assumed current value of ctid_ptr.
5552 2019-02-16 Florian Weimer <fweimer@redhat.com>
5554 Check that non-sysdeps headers have wrapper headers.
5555 * scripts/check-wrapper-headers.py: New file.
5556 * Makefile (tests-special): Add check-wrapper-headers.out.
5557 (check-wrapper-headers.out): New target.
5558 * Rules (tests-special): Add check-wrapper-headers.out.
5559 (check-wrapper-headers.out): New target.
5561 2019-02-16 Florian Weimer <fweimer@redhat.com>
5563 Add missing header wrappers under include/.
5564 * include/ar.h: New file.
5565 * include/bits/mqueue2.h: Likewise.
5566 * include/bits/stdio.h: Likewise.
5567 * include/bits/stdio2.h: Likewise.
5568 * include/fstab.h: Likewise.
5569 * include/fts.h: Likewise.
5570 * include/lastlog.h: Likewise.
5571 * include/netinet/icmp6.h: Likewise.
5572 * include/netinet/igmp.h: Likewise.
5573 * include/netinet/ip6.h: Likewise.
5574 * include/re_comp.h: Likewise.
5575 * include/regexp.h: Likewise.
5576 * include/rpcsvc/bootparam.h: Likewise.
5577 * include/rpcsvc/yp_prot.h: Likewise.
5578 * include/sys/random.h: Likewise.
5579 * include/sys/stropts.h: Likewise.
5580 * include/sys/ttychars.h: Likewise.
5581 * include/sys/vfs.h: Likewise.
5582 * include/wait.h: Likewise.
5584 2019-02-16 Florian Weimer <fweimer@redhat.com>
5586 * nptl_db/proc_service.h: Move to ...
5587 * sysdeps/nptl/proc_service.h: ... here.
5588 * nptl_db/thread_db.h: Move to ...
5589 * sysdeps/nptl/thread_db.h: ... here.
5590 * nptl/descr.h: Include <thread_db.h>.
5592 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5594 * io/Makefile (tests): Add tst-lockf.
5595 * io/lockf.c (lockf): Use __fcntl and only define for
5596 !__OFF_T_MATCHES_OFF64_T.
5597 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
5598 __OFF_T_MATCHES_OFF64_T case.
5599 * io/tst-lockf.c: New file.
5600 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
5601 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
5602 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
5603 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
5604 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
5605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
5606 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
5607 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
5608 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
5610 2019-02-15 Florian Weimer <fweimer@redhat.com>
5613 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
5614 pd->result after the thread descriptor has been freed.
5616 2019-02-15 Joseph Myers <joseph@codesourcery.com>
5618 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
5619 from function return type.
5621 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
5623 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5625 * scripts/test_printers_common.py: Set TERM to a known harmless
5628 2019-02-14 Joseph Myers <joseph@codesourcery.com>
5630 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
5631 (xdr_u_int): Likewise.
5632 (xdr_enum): Likewise.
5633 (xdr_bytes): Reword fall-through comment.
5634 (xdr_string): Likewise.
5636 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5639 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
5640 (tests): Add tst-join8 tst-join9.
5641 * nptl/lll_timedwait_tid.c: Remove file.
5642 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
5643 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
5644 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
5645 * nptl/pthread_join_common.c (timedwait_tid): New function.
5646 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
5648 * nptl/tst-join5.c (thread_join): New function.
5649 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
5651 * nptl/tst-join8.c: New file.
5652 * nptl/tst-join9.c: Likewise.
5653 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
5654 lll_futex_timed_wait_cancel): Add generic macros.
5655 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
5657 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5658 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5659 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5660 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
5662 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
5664 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5665 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
5666 (lll_futex_timed_wait_cancel): New macro.
5668 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
5670 * benchtests/Makefile: Add malloc-simple benchmark.
5671 * benchtests/bench-malloc-simple.c: New benchmark.
5673 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
5675 * benchtests/bench-memmove.c (do_one_test): Remove unused
5678 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
5682 2019-01-13 Jim Wilson <jimw@sifive.com>
5685 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
5686 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
5688 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
5690 * nptl/Makefile (tests): Add tst-unwind-thread.
5691 (CFLAGS-tst-unwind-thread.c): Define.
5692 * nptl/tst-unwind-thread.c: New file.
5693 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
5696 2019-02-13 Joseph Myers <joseph@codesourcery.com>
5698 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
5700 * nis/nis_call.c (__do_niscall3): Likewise.
5702 * catgets/gencat.c (normalize_line): Use braces around empty
5704 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
5705 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
5706 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
5707 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
5708 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
5709 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
5710 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
5713 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
5716 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
5718 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
5719 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
5720 * benchtests/bench-strchr.c (stupid_strchr): Remove.
5721 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
5722 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
5723 * benchtests/bench-strlen.c (builtin_strlen): Remove.
5724 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
5725 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
5726 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
5727 * benchtests/bench-strspn.c (stupid_strspn): Remove.
5728 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
5729 * benchtests/bench-bcopy.c: Delete file.
5730 * benchtests/bench-bzero.c: Likewise.
5731 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
5732 (simple_memccpy): Remove.
5733 (generic_memccpy): Add function.
5734 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
5735 * benchtests/bench-memmove.c (simple_bcopy): Remove.
5736 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
5737 (generic_mempcpy): Add new function.
5738 * benchtests/bench-memset.c (simple_bzero): Remove.
5739 (builtin_bzero): Remove.
5740 (builtin_memset): Remove.
5741 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
5742 (generic_rawmemchr): Add new function.
5744 2019-02-12 Florian Weimer <fweimer@redhat.com>
5746 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
5748 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5751 * elf/Makefile (tests): Add tst-audit13.
5752 (modules-names): Add tst-audit13mod1.
5753 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
5755 * elf/tst-audit13.c: New file.
5756 * elf/tst-audit13mod1.c: Likewise.
5758 2019-02-12 Florian Weimer <fweimer@redhat.com>
5761 * elf/rtld.c (unload_audit_module): New function.
5762 (report_audit_module_load_error): Likewise.
5763 (load_audit_module): Likewise. Extracted from dl_main. Call
5764 _dl_close if the laversion symbol cannot be found. Use early
5765 returns for error handling. Add malloc error check. Check for a
5766 zero return value from la_version. Remove spurious comment about
5767 static TLS initialization. Remove useless casts.
5768 (notify_audit_modules_of_loaded_object): New function. Extracted
5770 (load_audit_module): Likewise.
5771 (dl_main): Call load_audit_modules.
5773 2019-02-12 Joseph Myers <joseph@codesourcery.com>
5775 * elf/dl-exception.c (_dl_exception_create_format): Add
5776 fall-through comments.
5777 * elf/ldconfig.c (parse_conf_include): Likewise.
5778 * elf/rtld.c (print_statistics): Likewise.
5779 * locale/programs/charmap.c (parse_charmap): Likewise.
5780 * misc/mntent_r.c (__getmntent_r): Likewise.
5781 * posix/wordexp.c (parse_arith): Likewise.
5782 (parse_backtick): Likewise.
5783 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
5784 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
5785 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5787 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
5789 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
5790 Use float instead of double.
5792 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
5794 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
5796 2019-02-08 Joseph Myers <joseph@codesourcery.com>
5798 * sysdeps/powerpc/bits/mathinline.h: Remove.
5800 2019-02-08 Florian Weimer <fweimer@redhat.com>
5802 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
5803 * math/bits/math-finite.h: Move to ...
5804 * bits/math-finite.h: ... here.
5806 2019-02-08 Florian Weimer <fweimer@redhat.com>
5808 * sysdeps/generic/bits/unistd_ext.h: Move to ...
5809 * bits/unistd_ext.h: here.
5811 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
5814 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
5815 * nss/tst-nss-files-hosts-long.c: New file.
5816 * nss/tst-nss-files-hosts-long.root: New directory.
5817 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
5818 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
5820 2019-02-08 Florian Weimer <fweimer@redhat.com>
5822 * include/bits/unistd_ext.h: Remove file.
5823 * posix/bits/unistd_ext.h: Move to ...
5824 * sysdeps/generic/bits/unistd_ext.h: ... here.
5826 2019-02-08 Florian Weimer <fweimer@redhat.com>
5828 * include/bits/unistd_ext.h: New file.
5830 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
5832 * time/tst-strftime2.c: Use array_length macros instead of magic
5835 2019-02-08 Florian Weimer <fweimer@redhat.com>
5838 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
5840 * nptl/register-atfork.c (__run_fork_handlers): Only perform
5841 locking if the new do_locking argument is true.
5842 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
5843 __run_fork_handlers.
5845 2019-02-08 Florian Weimer <fweimer@redhat.com>
5848 Linux: Add gettid system call wrapper.
5849 * posix/Makefile (headers): Add bits/unistd_ext.h.
5850 * posix/bits/unistd_ext.h: New file.
5851 * posix/unistd.h: Include it.
5852 * manual/process.texi (Process Identification): Document gettid.
5853 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
5854 tst-gettid, tst-gettid-kill.
5855 (tst-gettid): Link with $(shared-thread-library).
5856 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
5857 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
5858 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
5859 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
5860 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
5861 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
5863 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
5865 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
5866 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
5868 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
5870 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
5872 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
5874 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
5876 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
5878 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
5880 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5881 (GLIBC_2.30): Likewise.
5882 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5883 (GLIBC_2.30): Likewise.
5884 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5885 (GLIBC_2.30): Likewise.
5886 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5887 (GLIBC_2.30): Likewise.
5888 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
5890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5891 (GLIBC_2.30): Likewise.
5892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5893 (GLIBC_2.30): Likewise.
5894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
5895 (GLIBC_2.30): Likewise.
5896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
5897 (GLIBC_2.30): Likewise.
5898 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
5900 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
5902 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
5904 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
5905 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
5907 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
5909 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
5911 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
5913 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
5915 2019-02-08 Florian Weimer <fweimer@redhat.com>
5917 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
5918 compatibility symbols.
5920 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
5923 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5924 Add compiler barriers and comments.
5926 2019-02-07 Florian Weimer <fweimer@redhat.com>
5928 * include/array_length.h (array_length): Do not use a statement
5929 expression and _Static_assert, so that array_length can be used at
5930 file scope and as a constant expression.
5932 2019-02-07 Florian Weimer <fweimer@redhat.com>
5934 * support/xdlfcn.h (xdlmopen): Declare.
5935 * support/xdlmopen.c: New file.
5936 * support/Makefile (libsupport-routines): Add xdlmopen.
5938 2019-02-06 Joseph Myers <joseph@codesourcery.com>
5940 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
5941 before return type, without separate inline.
5942 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
5943 * elf/dl-tunables.h (tunable_is_name): Likewise.
5944 * malloc/malloc.c (do_set_trim_threshold): Likewise.
5945 (do_set_top_pad): Likewise.
5946 (do_set_mmap_threshold): Likewise.
5947 (do_set_mmaps_max): Likewise.
5948 (do_set_mallopt_check): Likewise.
5949 (do_set_perturb_byte): Likewise.
5950 (do_set_arena_test): Likewise.
5951 (do_set_arena_max): Likewise.
5952 (do_set_tcache_max): Likewise.
5953 (do_set_tcache_count): Likewise.
5954 (do_set_tcache_unsorted_limit): Likewise.
5955 * nis/nis_subr.c (count_dots): Likewise.
5956 * nptl/allocatestack.c (advise_stack_range): Likewise.
5957 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
5959 (reduce_sincos): Likewise.
5960 (do_sincos): Likewise.
5961 * sysdeps/unix/sysv/linux/x86/elision-conf.c
5962 (do_set_elision_enable): Likewise.
5963 (TUNABLE_CALLBACK_FNDECL): Likewise.
5965 2019-02-06 Florian Weimer <fweimer@redhat.com>
5967 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
5968 (xdlsym): Use dlerror to detect a NULL symbol.
5970 2019-02-06 Florian Weimer <fweimer@redhat.com>
5972 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
5974 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5976 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
5978 * libio/tst-bz24153.c (wide): Use wide char format specifier.
5980 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
5982 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
5983 __wmemcmp and weak alias to wmemcmp.
5985 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
5988 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
5989 TLS_TCB_AT_TP tls variant.
5990 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
5991 Add alignment checks.
5992 * support/Makefile (libsupport-routines): Add xposix_memalign and
5994 * support/support.h: Add xposix_memalign.
5995 * support/xthread.h: Add xpthread_attr_setstack.
5996 * support/xposix_memalign.c: New File.
5997 * support/xpthread_attr_setstack.c: Likewise.
5999 2019-02-05 Florian Weimer <fweimer@redhat.com>
6002 arm: Use "nr" constraint for Systemtap probes, to avoid the
6003 compiler using memory operands for constants, due to the "o"
6004 alternative in the default "nor" constraint.
6005 * include/stap-probe.h [USE_STAP_PROBE]: Include
6006 <stap-probe-machine.h>
6007 * sysdeps/generic/stap-probe-machine.h: New file.
6008 * sysdeps/arm/stap-probe-machine.h: Likewise.
6010 2019-02-04 Joseph Myers <joseph@codesourcery.com>
6012 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
6013 with 0, not tcache->entries[tc_idx].
6015 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
6018 2019-02-04 Andreas Schwab <schwab@suse.de>
6022 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
6023 looking up collating elements match against (wide) character
6024 sequence instead of name. Correct alignment adjustment.
6025 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
6026 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
6027 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
6028 (LOCALES): Add cs_CZ.ISO-8859-2.
6029 * posix/tst-fnmatch4.c: New file.
6030 * posix/tst-fnmatch5.c: New file.
6031 * include/wchar.h (__wmemcmp): Declare.
6032 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
6033 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
6034 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
6035 * sysdeps/s390/wmemcmp.c: Likewise.
6037 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
6041 * NEWS: Updated for CVE-2019-7309.
6042 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
6043 upper 32 bits of RDX register for x32. Use unsigned Jcc
6044 instructions, instead of signed.
6045 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
6046 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
6048 2019-02-04 Florian Weimer <fweimer@redhat.com>
6050 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
6051 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
6052 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
6054 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
6055 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
6056 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
6057 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
6059 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
6061 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
6063 (posix_spawn_file_actions_addopen): Likewise.
6064 (posix_spawn_file_actions_addclose): Likewise.
6065 (posix_spawn_file_actions_adddup2): Likewise.
6066 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
6068 (posix_spawn_file_actions_addfchdir_np): Likewise.
6070 2019-02-04 David Newall <glibc@davidnewall.com>
6072 elf: Implement --preload option for the dynamic linker.
6073 * elf/rtld.c (preloadarg): New variable.
6074 (handle_preload_list): Pass through “where” argument to
6076 (dl_main): Handle "--preload" and add second call to
6077 handle_preload_list.
6078 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
6079 (tst-rtld-preload-OBJS): Set variable.
6080 (tst-rtld-preload.out): New target.
6081 * elf/tst-rtld-preload.sh: New file.
6083 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
6085 * Makefile (testrun.sh): Exit in case of incorrect argument.
6087 2019-02-04 Florian Weimer <fweimer@redhat.com>
6089 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
6092 2019-02-03 Florian Weimer <fweimer@redhat.com>
6094 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
6095 implicit overflow checks.
6097 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
6099 * stdlib/isomac.c: Include <unistd.h>.
6101 2019-02-03 Florian Weimer <fweimer@redhat.com>
6103 * include/time.h (__tzfile_default): Use int, not long int, for
6105 * time/tzfile.c (struct ttinfo): Change type of the offset member
6107 (__tzfile_read): Remove useless cast.
6108 (__tzfile_default): Adjust prototype.
6109 * time/tzset.c (tz_rule): Change type of the offset member to int.
6110 (parse_offset): Change the type of the sign variable to int.
6112 2019-02-03 Florian Weimer <fweimer@redhat.com>
6115 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
6116 * libio/getchar.c (getchar): Likewise.
6117 * libio/getchar_u.c (getchar_unlocked): Likewise.
6118 * libio/getwchar.c (getwchar): Likewise.
6119 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6120 * libio/iogets.c (_IO_gets): Likewise.
6121 * libio/vscanf.c (_IO_vscanf): Likewise.
6122 * libio/vwscanf.c (__vwscanf): Likewise.
6123 * libio/tst-bz24153.c: New file.
6124 * libio/Makefile (tests): Add it.
6126 2019-02-02 Florian Weimer <fweimer@redhat.com>
6129 * manual/resource.texi (Basic Scheduling Functions): Add
6130 portability note. Change process to task throughout the section.
6131 Remove incorrect comment about sched_yield as it affects
6132 tasks/threads, not entire processes.
6133 * sysdeps/unix/sysv/linux/bits/posix_opt.h
6134 (_POSIX_PRIORITY_SCHEDULING): Update comment.
6136 2019-02-01 Joseph Myers <joseph@codesourcery.com>
6138 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
6139 * configure: Regenerated.
6140 * manual/install.texi (Tools for Compilation): Update minimum GCC
6142 * INSTALL: Regenerated.
6144 2019-02-01 Florian Weimer <fweimer@redhat.com>
6146 * support/support_test_compare_string.c
6147 (support_test_compare_string): Use "string" in error message.
6148 * support/tst-test_compare_string.c (do_test): Adjust.
6150 2019-02-01 Florian Weimer <fweimer@redhat.com>
6152 * support/support_format_address_family.c
6153 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
6155 2019-02-01 Florian Weimer <fweimer@redhat.com>
6157 * manual/socket.texi (Internet Address Formats): Clarify the byte
6158 order of struct sockaddr_in, struct sockaddr_in6. Document
6159 sin6_flowinfo and sin6_scope_id.
6161 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
6163 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
6164 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
6165 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
6166 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
6167 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
6168 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
6170 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6172 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
6173 [!MEMCHR](MEMCHR): Set to __memchr.
6174 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6175 Add memchr_generic and memchr_nosimd.
6176 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6177 (__libc_ifunc_impl_list): Add memchr ifuncs.
6178 * sysdeps/aarch64/multiarch/memchr.c: New file.
6179 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
6180 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
6182 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6184 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6186 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6187 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
6188 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
6189 Add IS_EMAG check for ifunc dispatch.
6190 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
6191 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
6193 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6195 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
6196 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6198 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
6201 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
6203 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
6205 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
6207 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
6208 syscall-template file.
6210 2019-01-31 Carlos O'Donell <carlos@redhat.com>
6211 Torvald Riegel <triegel@redhat.com>
6212 Rik Prohaska <prohaska7@gmail.com>
6215 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
6216 tst-rwlock-trywrlock-stall.
6217 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
6218 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
6219 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
6220 Set __wrphase_fute to 1 only if we started the write phase.
6221 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
6222 * nptl/tst-rwlock-trywrlock-stall.c: New file.
6223 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
6224 * support/xpthread_rwlock_destroy.c: New file.
6225 * support/xthread.h: Declare xpthread_rwlock_destroy.
6227 2019-02-01 Joseph Myers <joseph@codesourcery.com>
6229 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
6232 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6235 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
6236 * libio/fileops.c (_IO_new_file_underflow): Likewise
6237 * libio/wfileops.c (_IO_wfile_underflow): Likewise
6238 * libio/putchar.c (putchar): Likewise.
6239 * libio/putchar_u.c (putchar_unlocked): Likewise.
6240 * libio/putwchar.c (putchar): Likewise.
6241 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
6242 * libio/tst-bz24051.c: New test.
6243 * libio/Makefile (tests): Add tst-bz24051
6245 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
6248 regex: fix read overrun [BZ #24114]
6249 Problem found by AddressSanitizer, reported by Hongxu Chen in:
6250 https://debbugs.gnu.org/34140
6251 * posix/regexec.c (proceed_next_node):
6252 Do not read past end of input buffer.
6254 2019-01-31 Florian Weimer <fweimer@redhat.com>
6257 * nss/nss_files/files-alias.c (get_next_alias): Handle
6258 continuation line without newline at the end.
6259 * nss/tst-nss-files-alias-truncated.c: New file.
6260 * nss/Makefile [$(build-shared)] (tests): Add
6261 tst-nss-files-alias-truncated.
6262 (tst-nss-files-alias-truncated): Link with libnss_files.so.
6263 * support/namespace.h (struct support_chroot_configuration): Add
6265 (struct support_chroot): Add path_aliases member.
6266 * support/support_chroot.c (support_chroot_create): Handle
6268 (support_chroot_free): Free path_aliases.
6270 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
6272 * version.h (RELEASE): Set to "development".
6273 (VERSION): Set to "2.29.9000".
6274 * NEWS: Add section for 2.30.
6276 * version.h (RELEASE): Set to "stable".
6277 (VERSION): Set to "2.29".
6278 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
6280 * NEWS: Add the list of bugs fixed in 2.29.
6281 * manual/contrib.texi: Update contributors list with some more
6283 * manual/install.texi: Update latest versions of packages
6285 * INSTALL: Regenerated.
6287 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
6289 * po/be.po: Update translations.
6290 * po/bg.po: Likewise.
6291 * po/ca.po: Likewise.
6292 * po/cs.po: Likewise.
6293 * po/da.po: Likewise.
6294 * po/de.po: Likewise.
6295 * po/el.po: Likewise.
6296 * po/eo.po: Likewise.
6297 * po/es.po: Likewise.
6298 * po/fi.po: Likewise.
6299 * po/fr.po: Likewise.
6300 * po/gl.po: Likewise.
6301 * po/hr.po: Likewise.
6302 * po/hu.po: Likewise.
6303 * po/ia.po: Likewise.
6304 * po/id.po: Likewise.
6305 * po/it.po: Likewise.
6306 * po/ja.po: Likewise.
6307 * po/ko.po: Likewise.
6308 * po/lt.po: Likewise.
6309 * po/nb.po: Likewise.
6310 * po/nl.po: Likewise.
6311 * po/pl.po: Likewise.
6312 * po/pt_BR.po: Likewise.
6313 * po/ru.po: Likewise.
6314 * po/rw.po: Likewise.
6315 * po/sk.po: Likewise.
6316 * po/sl.po: Likewise.
6317 * po/sv.po: Likewise.
6318 * po/tr.po: Likewise.
6319 * po/uk.po: Likewise.
6320 * po/vi.po: Likewise.
6321 * po/zh_CN.po: Likewise.
6322 * po/zh_TW.po: Likewise.
6324 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
6327 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
6328 of $f3 register on $y_is_neg path.
6330 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
6333 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
6334 sigaltstack.ss_flags.
6336 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
6339 * manual/time.texi (strftime): Document "%Ey".
6340 * time/strftime_l.c (__strftime_internal): Set the default width
6341 padding with zero of "%Ey" to 2.
6344 * manual/time.texi (strftime): Document "%EC" and "%EY".
6345 * time/Makefile (tests): Add tst-strftime2.
6346 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
6347 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
6348 override padding for "%Ey".
6349 If an optional flag ('_' or '-') is specified to "%EY", interpret the
6350 "%Ey" in the subformat as if decorated with that flag.
6351 * time/tst-strftime2.c: New file.
6353 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6355 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
6359 * elf/Makefile (tests): Add tst-audit13.
6360 (modules-names): Add tst-audit13mod1.
6361 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
6363 * elf/rtld.c (dl_main): Handle invalid audit module version.
6364 * elf/tst-audit13.c: New file.
6365 * elf/tst-audit13mod1.c: Likewise.
6367 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
6369 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
6370 returned by __hurd_at_flags.
6371 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
6372 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
6373 directly instead of __hurd_file_name_lookup.
6375 2019-01-21 Joseph Myers <joseph@codesourcery.com>
6377 * scripts/build-many-glibcs.py (Context.checkout): Default
6378 binutils version to 2.32 branch.
6380 2019-01-21 Florian Weimer <fweimer@redhat.com>
6384 resolv: Reject trailing characters in host names
6385 * include/arpa/inet.h (__inet_aton_exact): Declare.
6386 (inet_aton): Remove hidden prototype. No longer used internally.
6387 * nscd/gai.c (__inet_aton): Do not define.
6388 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
6389 * nss/digits_dots.c (__inet_aton): Likewise.
6390 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
6391 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
6392 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
6393 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
6394 (tst-resolv-trailing): Likewise.
6395 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
6397 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
6398 Make static. Add endp parameter.
6399 (__inet_aton_exact): New function.
6400 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
6401 (__inet_addr): Call inet_aton_end.
6402 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
6403 not just IPv6. Call __inet_aton_exact.
6404 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
6405 (tests): Make const. Add additional test cases with trailing
6407 (do_test): Use array_length.
6408 * resolv/tst-inet_aton_exact.c: New file.
6409 * resolv/tst-resolv-trailing.c: Likewise.
6410 * resolv/tst-resolv-nondecimal.c: Likewise.
6411 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
6413 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6417 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
6418 Clear the upper 32 bits of RSI register.
6419 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
6420 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
6421 and tst-size_t-wcsnlen.
6422 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
6423 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
6425 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6429 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
6430 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6431 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6432 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
6433 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
6435 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6439 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
6440 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6441 * sysdeps/x86_64/strcmp.S: Likewise.
6442 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
6443 tst-size_t-strncmp and tst-size_t-wcsncmp.
6444 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
6445 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
6446 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
6448 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6452 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
6453 RDX_LP for length. Clear the upper 32 bits of RDX register.
6454 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
6455 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
6456 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
6457 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
6459 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6463 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
6464 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
6465 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
6466 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
6468 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6472 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
6473 length. Clear the upper 32 bits of RDX register.
6474 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6475 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
6477 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6479 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
6481 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
6483 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6487 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
6488 length. Clear the upper 32 bits of RDX register.
6489 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6490 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6491 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
6493 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
6494 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
6496 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6500 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
6501 upper 32 bits of RDX register.
6502 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
6503 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
6505 * sysdeps/x86_64/x32/test-size_t.h: New file.
6506 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
6507 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
6509 2019-01-18 Florian Weimer <fweimer@redhat.com>
6512 resolv: Do not send queries for non-host-names in nss_dns.
6513 * resolv/nss_dns/dns-host.c (check_name): New function.
6514 (_nss_dns_gethostbyname2_r): Use it.
6515 (_nss_dns_gethostbyname_r): Likewise.
6516 (_nss_dns_gethostbyname4_r): Likewise.
6518 2019-01-21 Florian Weimer <fweimer@redhat.com>
6520 * resolv/inet_addr.c: Reformat to GNU style.
6521 (__inet_addr, __inet_aton): Update comment.
6523 2019-01-18 Florian Weimer <fweimer@redhat.com>
6525 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
6526 ("malloc: Use current (C11-style) atomics for fastbin access").
6527 This commit introduces a substantial performance regression on
6529 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
6530 (REMOVE_FB): Define.
6531 (_int_malloc): Use it and reindent.
6532 (_int_free): Use CAS loop with
6533 catomic_compare_and_exchange_val_rel.
6534 (malloc_consolidate): Use atomic_exchange_acq.
6537 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
6539 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
6541 (LDFLAGS-tst-minsigstksz-2): Likewise.
6542 (LDFLAGS-tst-minsigstksz-3): Likewise.
6543 (LDFLAGS-tst-minsigstksz-3a): Likewise.
6544 (LDFLAGS-tst-minsigstksz-4): Likewise.
6546 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
6548 * manual/time.texi (strftime): Fix the wording to "alternative" rather
6551 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
6553 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
6555 2019-01-16 Zack Weinberg <zackw@panix.com>
6557 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
6558 (xget_sigstack_location): New test support functions.
6559 * support/xsigstack.c: New file, implementing them.
6560 * support/tst-xsigstack.c: New test for them.
6561 * support/Makefile: Update.
6563 * signal/tst-minsigstksz-1.c
6564 * signal/tst-minsigstksz-2.c
6565 * signal/tst-minsigstksz-3.c
6566 * signal/tst-minsigstksz-3a.c
6567 * signal/tst-minsigstksz-4.c: New tests.
6568 * signal/Makefile: Run them.
6570 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
6572 * po/libc.pot: Regenerate.
6574 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6576 * math/libm-test-fma.inc (fma_test_data): Set
6577 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
6579 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
6581 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
6582 (do_test): Changed __vector __int128_t to __vector unsigned int.
6584 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6586 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6587 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
6588 stpcpy-avx2 and stpncpy-avx2.
6589 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
6590 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
6591 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
6593 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
6594 ifunc-strcpy.h}: rename header for a more generic name.
6595 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
6596 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
6597 AVX unaligned load is fast and vzeroupper is preferred.
6598 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
6599 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
6600 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
6601 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
6602 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
6603 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
6605 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
6607 * argp/argp-help.c: Fix typo in comment.
6608 * misc/sys/cdefs.h: Likewise.
6609 * posix/regexec.c (sift_states_iter_mb): Likewise.
6610 * socket/sockatmark.c: Likewise.
6611 * socket/sys/socket.h: Likewise.
6612 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
6613 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
6614 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
6615 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6616 * sysdeps/unix/sockatmark.c: Likewise.
6617 * time/strptime_l.c: Likewise.
6619 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
6621 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
6622 missing space after the cast of "_NL_CURRENT".
6624 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
6626 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
6627 ifdef to fix read of VSCR.
6628 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
6629 tst-ucontext-ppc64-vscr.c to test list.
6630 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
6632 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
6634 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
6637 2019-01-09 Jim Wilson <jimw@sifive.com>
6639 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
6641 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
6643 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
6644 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
6645 __memcpy_falkor for ares.
6646 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
6648 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6651 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
6654 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
6655 4_FP_W_TYPEs are used for IEEE quad precision.
6656 * soft-fp/extendhftf2.c: Likewise.
6657 * soft-fp/extendsftf2.c: Likewise.
6658 * soft-fp/extendxftf2.c: Likewise.
6659 * soft-fp/trunctfdf2.c: Likewise.
6660 * soft-fp/trunctfhf2.c: Likewise.
6661 * soft-fp/trunctfsf2.c: Likewise.
6662 * soft-fp/trunctfxf2.c: Likewise.
6663 * sysdeps/alpha/ots_cvttx.c: Likewise.
6664 * sysdeps/alpha/ots_cvtxt.c: Likewise.
6665 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
6666 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
6667 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
6668 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
6669 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
6670 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
6671 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
6672 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
6673 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
6674 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
6675 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
6676 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
6677 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
6678 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
6679 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
6680 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
6682 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
6685 * Makeconfig: Build libm with -fno-math-errno but build the remaining
6686 code with -fmath-errno.
6687 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
6688 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
6689 * string/test-strerror-errno.c: New file.
6691 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
6694 * localedata/locales/en_US (date_fmt): Add, set to
6695 "%a %d %b %Y %r %Z".
6697 2019-01-07 Florian Weimer <fweimer@redhat.com>
6700 * manual/arith.texi (Math Error Reporting): Use @code{errno}
6701 instead of @var{errno}.
6702 (Parsing of Integers): Likewise.
6703 (Parsing of Floats): Likewise.
6704 * manual/filesys.texi (Working with Directory Trees): Likewise.
6705 (Temporary Files): Likewise.
6706 * manual/job.texi (Terminal Access Functions): Likewise.
6707 * manual/llio.texi (Synchronizing I/O): Likewise.
6708 * manual/math.texi (SVID Random): Likewise.
6709 * manual/message.texi (The catgets Functions): Likewise.
6710 (Translation with gettext): Likewise.
6711 (Locating gettext catalog): Likewise.
6712 (Charset conversion in gettext): Likewise.
6713 * manual/nss.texi (NSS Module Function Internals): Likewise.
6714 * manual/search.texi (Hash Search Function): Likewise.
6715 * manual/setjmp.texi (System V contexts): Likewise.
6716 * manual/time.texi (Sleeping): Likewise.
6717 * manual/users.texi (Lookup User): Likewise.
6718 (Lookup Group): Likewise.
6720 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6722 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
6725 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
6728 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
6729 __builtin_unreachable for default case in switch.
6730 (__ieee754_yn): Likewise.
6731 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6732 (__ieee754_ynl): Likewise.
6733 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6734 (__ieee754_ynl): Likewise.
6735 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6736 (__ieee754_ynl): Likewise.
6738 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
6740 * manual/maint.texi: Use @{ and @}.
6742 2019-01-04 Florian Weimer <fweimer@redhat.com>
6744 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
6746 (do_in_chroot_1): Call it.
6748 Improve error reporting in case it is not possible to create a
6749 collision for the PTY name required by the test.
6751 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6753 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
6754 lll_wait_tid with timeout.
6755 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
6756 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
6757 futex_reltimed_wait_cancelable for cancelabla mode.
6758 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
6759 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
6761 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
6762 * sysdeps/posix/waitid.c (__sigwait): Likewise.
6763 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
6764 SYSCALL_CANCEL_NCS): New macro.
6765 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
6766 (lll_timedwait_tid): Remove macro.
6767 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
6769 (lll_timedwait_tid): Likewise.
6770 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
6772 (lll_timedwait_tid): Likewise.
6773 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
6775 (lll_timedwait_tid): Likewise.
6776 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
6777 Use INTERNAL_SYSCALL_CANCEL.
6778 * sysdeps/unix/sysv/linux/futex-internal.h
6779 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
6780 instead of __pthread_{enable,disable}_asynccancel.
6781 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
6782 (lll_futex_wait_cancel): New macro.
6784 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
6785 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
6787 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
6788 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
6790 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
6791 in backtrace analysis.
6792 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
6794 (tf_send): Likewise.
6796 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
6797 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
6798 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
6799 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
6800 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
6801 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
6802 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
6803 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
6804 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
6805 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
6806 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
6807 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
6809 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
6810 tst-cancel-wrappers.sh.
6811 (generated): Remove tst-cancel-wrappers.out.
6812 (tst-cancel-wrappers.out): Remove rule.
6813 * nptl/tst-cancel-wrappers.sh: Remove file.
6815 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6817 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
6818 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
6821 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6824 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
6825 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
6826 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
6827 close-on-exec reset for adddup2 file action.
6828 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
6830 2019-01-03 Zack Weinberg <zackw@panix.com>
6832 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
6833 parameter. Only use deprecated scanf when __USE_GNU is defined
6834 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
6835 than 201103L, whichever is relevant for the language being compiled.
6837 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
6838 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
6839 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
6840 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
6841 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
6845 * libio/iovswscanf.c
6850 * stdio-common/fscanf.c
6851 * stdio-common/scanf.c
6852 * stdio-common/vfscanf.c
6853 * stdio-common/vfwscanf.c
6854 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6855 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
6856 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
6857 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
6858 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
6859 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
6860 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
6861 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
6862 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
6863 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
6864 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
6865 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
6866 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
6867 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
6868 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
6870 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
6871 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
6872 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
6874 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
6875 with a preprocessor macro.
6877 * stdio-common/bug21.c, stdio-common/scanf14.c:
6878 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
6879 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
6880 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
6881 to xscanf, xfscanf, xsscanf.
6883 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
6884 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
6885 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
6886 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
6888 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
6889 override feature selection macros or provide definitions of u_char etc.
6890 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
6891 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
6892 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
6895 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6897 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6898 bits/termios-misc.h.
6899 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
6900 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6901 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6902 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6903 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
6904 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
6906 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
6907 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
6908 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
6909 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
6910 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
6911 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
6913 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
6914 (sysdep_headers): Add termios-misc.h.
6916 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
6917 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6918 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6920 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6922 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
6923 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
6924 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
6925 TCSAFLUSH): Move to termios-tcflow.h.
6926 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6927 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6928 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6929 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6931 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6933 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
6934 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
6935 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
6936 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
6937 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
6938 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
6939 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
6940 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
6942 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6943 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6944 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6945 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6947 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6949 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
6950 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
6951 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
6952 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
6953 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
6955 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6956 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6957 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6958 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6961 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6963 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
6964 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
6965 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
6966 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
6967 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
6968 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
6969 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
6970 __MAX_BAUD): Move to termios-baud.h.
6971 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
6972 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
6973 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6974 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6975 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6977 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
6979 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
6980 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
6981 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
6982 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
6983 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
6984 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
6986 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
6987 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
6989 [USE_MISC] (XTABS): Likewise.
6990 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6991 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6992 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6993 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
6995 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
6997 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
6998 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
6999 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
7000 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
7001 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
7002 IUTF8): Move to termios-c_iflag.h.
7003 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7004 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7005 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7006 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7008 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
7010 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
7011 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
7012 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
7013 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
7014 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
7015 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
7016 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
7017 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
7018 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7019 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7020 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7021 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7023 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
7024 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
7025 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
7026 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
7027 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7029 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
7031 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
7033 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
7035 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
7037 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
7039 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
7040 _HAVE_C_OSPEED): Define.
7041 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
7042 _HAVE_C_OSPEED): Likewise.
7043 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
7044 _HAVE_C_OSPEED): Likewise.
7045 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
7046 (cfsetospeed): Check for define value instead of existence.
7047 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
7048 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7049 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
7050 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7051 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
7054 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
7056 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7057 (TIOCSER_TEMT): Likewise.
7058 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
7059 (TEOCSER_TEMT): Likewise.
7061 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
7064 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
7066 2019-01-02 Joseph Myers <joseph@codesourcery.com>
7068 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
7070 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7072 * sysdeps/htl/pt-barrierattr-setpshared.c
7073 (pthread_barrierattr_setpshared): Add stub warning.
7074 * sysdeps/htl/pt-condattr-setpshared.c
7075 (pthread_condattr_setpshared): Likewise.
7076 * sysdeps/htl/pt-mutexattr-setpshared.c
7077 (pthread_mutexattr_setpshared): Likewise.
7078 * sysdeps/htl/pt-rwlockattr-setpshared.c
7079 (pthread_rwlockattr_setpshared): Likewise.
7080 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
7081 (pthread_mutexattr_setpshared): Likewise.
7083 2019-01-02 Joseph Myers <joseph@codesourcery.com>
7085 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
7086 constants to match with Linux 4.20.
7088 * sysdeps/mips/mips32/libm-test-ulps: Update.
7089 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7091 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
7094 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
7095 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
7096 than __typeof (...) for the a_ptr variable.
7098 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7100 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
7101 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
7102 * libio/Makefile (tests): Add tst-sprintf-ub and
7104 (CFLAGS-tst-sprintf-ub.c): New variable.
7105 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
7106 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
7107 destination buffer and check for overflows in fortified mode.
7108 * libio/libioP.h (PRINTF_CHK): New macro.
7109 * libio/tst-sprintf-chk-ub.c: New file.
7110 * libio/tst-sprintf-ub.c: Likewise.
7112 2019-01-02 Florian Weimer <fweimer@redhat.com>
7115 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
7118 2019-01-02 Florian Weimer <fweimer@redhat.com>
7120 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
7122 2019-01-01 Joseph Myers <joseph@codesourcery.com>
7124 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
7127 * sysdeps/unix/sysv/linux/netpacket/packet.h
7128 (PACKET_IGNORE_OUTGOING): New macro.
7130 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
7133 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7135 (riscv_flush_icache): New syscall.
7137 * manual/texinfo.tex: Update to version 2018-12-28.17 with
7138 trailing whitespace removed.
7139 * scripts/config.guess: Update to version 2019-01-01.
7140 * scripts/config.sub: Update to version 2019-01-01.
7141 * scripts/move-if-change: Update from gnulib.
7143 * NEWS: Update copyright dates.
7144 * catgets/gencat.c (print_version): Likewise.
7145 * csu/version.c (banner): Likewise.
7146 * debug/catchsegv.sh: Likewise.
7147 * debug/pcprofiledump.c (print_version): Likewise.
7148 * debug/xtrace.sh (do_version): Likewise.
7149 * elf/ldconfig.c (print_version): Likewise.
7150 * elf/ldd.bash.in: Likewise.
7151 * elf/pldd.c (print_version): Likewise.
7152 * elf/sotruss.sh: Likewise.
7153 * elf/sprof.c (print_version): Likewise.
7154 * iconv/iconv_prog.c (print_version): Likewise.
7155 * iconv/iconvconfig.c (print_version): Likewise.
7156 * locale/programs/locale.c (print_version): Likewise.
7157 * locale/programs/localedef.c (print_version): Likewise.
7158 * login/programs/pt_chown.c (print_version): Likewise.
7159 * malloc/memusage.sh (do_version): Likewise.
7160 * malloc/memusagestat.c (print_version): Likewise.
7161 * malloc/mtrace.pl: Likewise.
7162 * manual/libc.texinfo: Likewise.
7163 * nptl/version.c (banner): Likewise.
7164 * nscd/nscd.c (print_version): Likewise.
7165 * nss/getent.c (print_version): Likewise.
7166 * nss/makedb.c (print_version): Likewise.
7167 * posix/getconf.c (main): Likewise.
7168 * scripts/test-installation.pl: Likewise.
7169 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7171 * All files with FSF copyright notices: Update copyright dates
7172 using scripts/update-copyrights.
7173 * locale/programs/charmap-kw.h: Regenerated.
7174 * locale/programs/locfile-kw.h: Likewise.
7176 2018-12-31 Joseph Myers <joseph@codesourcery.com>
7178 * timezone/zdump.c: Update from tzcode 2018i.
7179 * timezone/zic.c: Likewise.
7181 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
7183 regex: improve Gnulib port to AIX
7184 From the glibc point of view, this removes duplicate macro
7185 definitions and is obviously safe.
7186 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
7187 * posix/regex_internal.h:
7188 (__attribute__, __attribute_warn_unused_result__):
7189 Remove; already defined elsewhere.
7191 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
7194 * malloc/malloc.c (_int_realloc): Always call memcpy for the
7195 copying operation. (ncopies had the wrong type, resulting in an
7196 integer wraparound and too few elements being copied.)
7198 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
7201 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
7202 <asm/syscalls.h> exists with __has_include__ before including it.
7204 2018-12-31 Joseph Myers <joseph@codesourcery.com>
7206 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7209 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
7211 * hurd/lookup-retry: Include <unistd.h>.
7212 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
7213 Release it on return. Handle "pid" magical lookup retry.
7215 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
7218 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
7219 (t_fmt_ampm): Likewise.
7220 * localedata/locales/aa_ER (t_fmt): Likewise.
7221 (t_fmt_ampm): Likewise.
7222 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
7223 (t_fmt_ampm): Likewise.
7224 * localedata/locales/aa_ET (t_fmt): Likewise.
7225 (t_fmt_ampm): Likewise.
7226 * localedata/locales/am_ET (t_fmt): Likewise.
7227 (t_fmt_ampm): Likewise.
7228 * localedata/locales/byn_ER (t_fmt): Likewise.
7229 (t_fmt_ampm): Likewise.
7230 * localedata/locales/om_ET (t_fmt): Likewise.
7231 (t_fmt_ampm): Likewise.
7232 * localedata/locales/sid_ET (t_fmt): Likewise.
7233 (t_fmt_ampm): Likewise.
7234 * localedata/locales/so_DJ (t_fmt): Likewise.
7235 (t_fmt_ampm): Likewise.
7236 * localedata/locales/so_ET (t_fmt): Likewise.
7237 (t_fmt_ampm): Likewise.
7238 * localedata/locales/so_SO (t_fmt): Likewise.
7239 (t_fmt_ampm): Likewise.
7240 * localedata/locales/ti_ER (t_fmt): Likewise.
7241 (t_fmt_ampm): Likewise.
7242 * localedata/locales/ti_ET (t_fmt): Likewise.
7243 (t_fmt_ampm): Likewise.
7244 * localedata/locales/tig_ER (t_fmt): Likewise.
7245 (t_fmt_ampm): Likewise.
7246 * localedata/locales/wal_ET (t_fmt): Likewise.
7247 (t_fmt_ampm): Likewise.
7249 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
7250 * localedata/locales/ar_IN (t_fmt): Likewise.
7251 * localedata/locales/bhb_IN (t_fmt): Likewise.
7252 * localedata/locales/bho_IN (t_fmt): Likewise.
7253 * localedata/locales/bi_VU (t_fmt): Likewise.
7254 * localedata/locales/bn_BD (t_fmt): Likewise.
7255 * localedata/locales/bn_IN (t_fmt): Likewise.
7256 * localedata/locales/brx_IN (t_fmt): Likewise.
7257 * localedata/locales/doi_IN (t_fmt): Likewise.
7258 * localedata/locales/en_HK (t_fmt): Likewise.
7259 (t_fmt_ampm): Likewise.
7260 * localedata/locales/en_IN (t_fmt): Likewise.
7261 * localedata/locales/en_PH (t_fmt): Likewise.
7262 * localedata/locales/gu_IN (t_fmt): Likewise.
7263 * localedata/locales/hi_IN (t_fmt): Likewise.
7264 * localedata/locales/hif_FJ (t_fmt): Likewise.
7265 * localedata/locales/hne_IN (t_fmt): Likewise.
7266 * localedata/locales/kn_IN (t_fmt): Likewise.
7267 * localedata/locales/kok_IN (t_fmt): Likewise.
7268 * localedata/locales/ks_IN (t_fmt): Likewise.
7269 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
7270 * localedata/locales/mag_IN (t_fmt): Likewise.
7271 * localedata/locales/mai_IN (t_fmt): Likewise.
7272 * localedata/locales/mjw_IN (t_fmt): Likewise.
7273 * localedata/locales/ml_IN (t_fmt): Likewise.
7274 * localedata/locales/mni_IN (t_fmt): Likewise.
7275 * localedata/locales/mr_IN (t_fmt): Likewise.
7276 * localedata/locales/ms_MY (t_fmt): Likewise.
7277 * localedata/locales/pa_IN (t_fmt): Likewise.
7278 * localedata/locales/raj_IN (t_fmt): Likewise.
7279 * localedata/locales/sa_IN (t_fmt): Likewise.
7280 * localedata/locales/sat_IN (t_fmt): Likewise.
7281 * localedata/locales/sd_IN (t_fmt): Likewise.
7282 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
7283 * localedata/locales/tcy_IN (t_fmt): Likewise.
7284 * localedata/locales/the_NP (t_fmt): Likewise.
7285 * localedata/locales/to_TO (t_fmt): Likewise.
7286 * localedata/locales/ur_IN (t_fmt): Likewise.
7288 * localedata/locales/hif_FJ (d_t_fmt): Set to
7289 "%A %d %b %Y %I:%M:%S %p".
7290 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
7292 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
7293 * localedata/locales/ar_BH (t_fmt): Likewise.
7294 * localedata/locales/ar_DZ (t_fmt): Likewise.
7295 * localedata/locales/ar_EG (t_fmt): Likewise.
7296 * localedata/locales/ar_IQ (t_fmt): Likewise.
7297 * localedata/locales/ar_JO (t_fmt): Likewise.
7298 * localedata/locales/ar_KW (t_fmt): Likewise.
7299 * localedata/locales/ar_LB (t_fmt): Likewise.
7300 * localedata/locales/ar_LY (t_fmt): Likewise.
7301 * localedata/locales/ar_OM (t_fmt): Likewise.
7302 * localedata/locales/ar_QA (t_fmt): Likewise.
7303 * localedata/locales/ar_SD (t_fmt): Likewise.
7304 * localedata/locales/ar_SS (t_fmt): Likewise.
7305 * localedata/locales/ar_SY (t_fmt): Likewise.
7306 * localedata/locales/ar_TN (t_fmt): Likewise.
7307 * localedata/locales/ar_YE (t_fmt): Likewise.
7309 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
7310 (t_fmt_ampm): Likewise.
7311 * localedata/locales/gez_ET (t_fmt): Likewise.
7312 (t_fmt_ampm): Likewise.
7314 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
7315 (t_fmt_ampm): Likewise.
7316 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
7318 * localedata/locales/zh_HK (t_fmt):
7319 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
7321 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
7322 because this locale does not use the 12-hour clock.
7323 (t_fmt): Set to "%Z %H:%M:%S".
7324 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
7326 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
7327 because this locale does not use the 12-hour clock.
7328 (t_fmt): Set to "%H:%M:%S %Z".
7329 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
7331 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
7332 because this locale does not use the 12-hour clock.
7333 (t_fmt): Set to "%T".
7334 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
7335 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
7337 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
7338 because this locale does not use the 12-hour clock.
7339 (t_fmt): Set to "%H:%M:%S %Z".
7340 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
7342 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
7343 because this locale does not use the 12-hour clock.
7344 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
7345 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
7347 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
7351 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
7352 (t_fmt_ampm): Likewise.
7353 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
7354 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
7355 (d_fmt): Set to "%-d.%-m.%y".
7357 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7359 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
7360 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
7361 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
7363 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
7364 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
7365 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
7367 * support/blob_repeat.c (check_mul_overflow_size_t,
7368 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
7370 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
7372 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
7374 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
7376 regex: simplify Gnulib port
7377 This simplifies the code, by removing stuff intended for porting
7378 to Gnulib but no longer needed there.
7379 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
7380 uses of libc_hidden_def, weak_alias.
7381 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
7382 _Restrict_ except for public-facing headers.
7383 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
7384 Remove; already defined elsewhere.
7385 * posix/regex.c, posix/regex_internal.h:
7386 Use __GNUC_PREREQ instead of rolling our own.
7387 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
7389 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
7391 * benchtests/bench-strlen.c (generic_strlen): New function.
7392 (memchr_strlen): New function.
7394 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
7396 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
7397 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
7398 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
7400 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
7402 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7404 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
7406 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
7407 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
7408 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
7409 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
7410 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
7411 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
7412 <sysdeps/ieee754/flt-32/s_sincosf.c>.
7414 2018-12-21 Joseph Myers <joseph@codesourcery.com>
7417 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
7418 PLT reference in libc.so.
7419 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
7420 _Q_lltoq and _Q_qtod PLT references in libc.so.
7422 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
7424 * benchtests/bench-memchr.c: Cleanup defines.
7425 * benchtests/bench-memcmp.c: Likewise.
7426 * benchtests/bench-memset.c: Likewise.
7427 * benchtests/bench-memset-large.c: Likewise.
7428 * benchtests/bench-memset-walk.c: Likewise.
7429 * benchtests/bench-stpcpy.c: Likewise.
7430 * benchtests/bench-stpncpy.c: Likewise.
7431 * benchtests/bench-strcat.c: Likewise.
7432 * benchtests/bench-strchr.c: Likewise.
7433 * benchtests/bench-strcmp.c: Likewise.
7434 * benchtests/bench-strcpy.c: Likewise.
7435 * benchtests/bench-strcspn.c: Likewise.
7436 * benchtests/bench-string.h: Likewise.
7437 * benchtests/bench-strlen.c: Likewise.
7438 * benchtests/bench-strncat.c: Likewise.
7439 * benchtests/bench-strncmp.c: Likewise.
7440 * benchtests/bench-strncpy.c: Likewise.
7441 * benchtests/bench-strnlen.c: Likewise.
7442 * benchtests/bench-strpbrk.c: Likewise.
7443 * benchtests/bench-strrchr.c: Likewise.
7444 * benchtests/bench-strspn.c: Likewise.
7446 2018-12-21 Joseph Myers <joseph@codesourcery.com>
7448 * stdlib/longlong.h: Update from GCC.
7451 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
7452 * configure: Regenerated.
7453 * manual/install.texi (Tools for Compilation): Update minimum GCC
7455 * INSTALL: Regenerated.
7457 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
7459 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
7461 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
7463 * malloc/malloc.c (mremap_chunk): Additional checks.
7465 2018-12-21 Mao Han <han_mao@c-sky.com>
7467 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
7468 * scripts/build-many-glibcs.py: Add C-SKY targets.
7469 * sysdeps/csky/Implies: New file.
7470 * sysdeps/csky/Makefile: Likewise.
7471 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
7472 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
7473 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
7474 * sysdeps/csky/abiv2/memcmp.S: Likewise.
7475 * sysdeps/csky/abiv2/memcpy.S: Likewise.
7476 * sysdeps/csky/abiv2/memmove.S: Likewise.
7477 * sysdeps/csky/abiv2/memset.S: Likewise.
7478 * sysdeps/csky/abiv2/setjmp.S: Likewise.
7479 * sysdeps/csky/abiv2/start.S: Likewise.
7480 * sysdeps/csky/abiv2/strcmp.S: Likewise.
7481 * sysdeps/csky/abiv2/strcpy.S: Likewise.
7482 * sysdeps/csky/abiv2/strlen.S: Likewise.
7483 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
7484 * sysdeps/csky/abort-instr.h: Likewise.
7485 * sysdeps/csky/atomic-machine.h: Likewise.
7486 * sysdeps/csky/bits/endian.h: Likewise.
7487 * sysdeps/csky/bits/fenv.h: Likewise.
7488 * sysdeps/csky/bits/link.h: Likewise.
7489 * sysdeps/csky/bits/setjmp.h: Likewise.
7490 * sysdeps/csky/bsd-_setjmp.S: Likewise.
7491 * sysdeps/csky/bsd-setjmp.S: Likewise.
7492 * sysdeps/csky/configure: Likewise.
7493 * sysdeps/csky/configure.ac: Likewise.
7494 * sysdeps/csky/dl-machine.h: Likewise.
7495 * sysdeps/csky/dl-procinfo.c: Likewise.
7496 * sysdeps/csky/dl-procinfo.h: Likewise.
7497 * sysdeps/csky/dl-sysdep.h: Likewise.
7498 * sysdeps/csky/dl-tls.h: Likewise.
7499 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
7500 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
7501 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
7502 * sysdeps/csky/fpu/fegetenv.c: Likewise.
7503 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
7504 * sysdeps/csky/fpu/fegetmode.c: Likewise.
7505 * sysdeps/csky/fpu/fegetround.c: Likewise.
7506 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
7507 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
7508 * sysdeps/csky/fpu/fenv_private.h: Likewise.
7509 * sysdeps/csky/fpu/fesetenv.c: Likewise.
7510 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
7511 * sysdeps/csky/fpu/fesetmode.c: Likewise.
7512 * sysdeps/csky/fpu/fesetround.c: Likewise.
7513 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
7514 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
7515 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
7516 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
7517 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
7518 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
7519 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
7520 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
7521 * sysdeps/csky/fpu_control.h: Likewise.
7522 * sysdeps/csky/gccframe.h: Likewise.
7523 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
7524 * sysdeps/csky/ldsodefs.h: Likewise.
7525 * sysdeps/csky/libc-tls.c: Likewise.
7526 * sysdeps/csky/linkmap.h: Likewise.
7527 * sysdeps/csky/machine-gmon.h: Likewise.
7528 * sysdeps/csky/memusage.h: Likewise.
7529 * sysdeps/csky/nofpu/Implies: Likewise.
7530 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
7531 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
7532 * sysdeps/csky/nptl/Makefile: Likewise.
7533 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
7534 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
7535 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
7536 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
7537 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
7538 * sysdeps/csky/nptl/tls.h: Likewise.
7539 * sysdeps/csky/preconfigure: Likewise.
7540 * sysdeps/csky/sfp-machine.h: Likewise.
7541 * sysdeps/csky/sotruss-lib.c: Likewise.
7542 * sysdeps/csky/stackinfo.h: Likewise.
7543 * sysdeps/csky/sysdep.h: Likewise.
7544 * sysdeps/csky/tininess.h: Likewise.
7545 * sysdeps/csky/tst-audit.h: Likewise.
7546 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
7547 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
7548 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
7549 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
7550 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
7551 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
7552 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
7553 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
7554 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
7555 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
7556 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
7557 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
7558 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
7559 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
7560 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
7561 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
7562 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
7563 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
7564 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
7565 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
7566 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
7567 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
7568 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
7569 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
7570 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
7571 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
7572 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
7573 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
7574 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
7575 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
7576 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
7577 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
7578 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
7579 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
7580 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
7581 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
7582 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
7583 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
7584 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
7585 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
7586 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
7587 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
7588 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
7589 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
7591 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
7593 * include/time.h (__difftime64): Add.
7594 * time/difftime.c (subtract): convert to 64-bit time.
7595 * time/difftime.c (__difftime64): Add.
7596 * time/difftime.c (__difftime): Wrap around __difftime64.
7598 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
7600 * manual/examples/add.c: Remove redundant "if not".
7601 * manual/examples/argp-ex1.c: Likewise.
7602 * manual/examples/argp-ex2.c: Likewise.
7603 * manual/examples/argp-ex3.c: Likewise.
7604 * manual/examples/argp-ex4.c: Likewise.
7605 * manual/examples/atexit.c: Likewise.
7606 * manual/examples/db.c: Likewise.
7607 * manual/examples/dir.c: Likewise.
7608 * manual/examples/dir2.c: Likewise.
7609 * manual/examples/execinfo.c: Likewise.
7610 * manual/examples/filecli.c: Likewise.
7611 * manual/examples/filesrv.c: Likewise.
7612 * manual/examples/fmtmsgexpl.c: Likewise.
7613 * manual/examples/genpass.c: Likewise.
7614 * manual/examples/inetcli.c: Likewise.
7615 * manual/examples/inetsrv.c: Likewise.
7616 * manual/examples/isockad.c: Likewise.
7617 * manual/examples/longopt.c: Likewise.
7618 * manual/examples/memopen.c: Likewise.
7619 * manual/examples/memstrm.c: Likewise.
7620 * manual/examples/mkdirent.c: Likewise.
7621 * manual/examples/mkfsock.c: Likewise.
7622 * manual/examples/mkisock.c: Likewise.
7623 * manual/examples/mygetpass.c: Likewise.
7624 * manual/examples/pipe.c: Likewise.
7625 * manual/examples/popen.c: Likewise.
7626 * manual/examples/rprintf.c: Likewise.
7627 * manual/examples/search.c: Likewise.
7628 * manual/examples/select.c: Likewise.
7629 * manual/examples/setjmp.c: Likewise.
7630 * manual/examples/sigh1.c: Likewise.
7631 * manual/examples/sigusr.c: Likewise.
7632 * manual/examples/stpcpy.c: Likewise.
7633 * manual/examples/strdupa.c: Likewise.
7634 * manual/examples/strftim.c: Likewise.
7635 * manual/examples/subopt.c: Likewise.
7636 * manual/examples/swapcontext.c: Likewise.
7637 * manual/examples/termios.c: Likewise.
7638 * manual/examples/testopt.c: Likewise.
7639 * manual/examples/testpass.c: Likewise.
7640 * manual/examples/timeval_subtract.c: Likewise.
7642 2018-12-19 Joseph Myers <joseph@codesourcery.com>
7644 * sysdeps/x86/fpu/math_private.h: New file.
7645 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
7647 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
7652 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7654 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
7655 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
7656 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
7657 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
7659 (_dl_show_auxv): Give a special treatment to
7660 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
7661 and AT_L3_CACHEGEOMETRY.
7662 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
7663 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
7664 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
7665 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
7667 2018-12-19 Andreas Schwab <schwab@suse.de>
7669 * nscd/connections.c (check_use): Don't abort on invalid len.
7671 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
7673 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
7674 values in the 64bit value cases.
7676 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
7682 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
7688 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
7691 (__gmtime64_r): Add.
7693 (__gmtime64_r): Add.
7694 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
7700 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
7703 (__localtime64_r): Add.
7705 (__localtime64_r): Add.
7706 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
7708 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7710 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
7711 kernel_sigction definition.
7713 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
7715 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
7717 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
7718 __syscall_rt_sigaction.
7719 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
7720 (kernel_sigaction): Use Linux generic defintion.
7722 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
7723 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
7724 (__syscall_rt_sigaction): Remove implementation.
7725 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
7727 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
7728 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
7729 INTERNAL_SYSCALL): Remove definitions.
7730 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
7731 action and signal set size.
7732 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
7733 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
7735 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7736 James Clarke <jrtc27@jrtc27.com>
7739 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
7740 Define if SA_RESTORER is defined.
7741 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
7742 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
7744 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
7745 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
7747 (HAS_SA_RESTORER): Define.
7748 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
7749 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
7750 (HAS_SA_RESTORER): Define.
7751 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
7752 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
7753 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
7754 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
7755 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7757 2018-12-18 Joseph Myers <joseph@codesourcery.com>
7759 * sysdeps/unix/sysv/linux/kernel-features.h
7760 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
7761 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7762 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
7763 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7764 (__ASSUME_ST_INO_64_BIT): Likewise.
7765 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7766 <kernel-features.h>.
7767 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
7768 Remove conditional code.
7769 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7770 <kernel-features.h>.
7771 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
7772 Remove conditional code.
7773 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
7774 <kernel-features.h>.
7775 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
7776 Remove conditional code.
7777 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
7778 <kernel-features.h>.
7779 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
7780 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
7782 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7784 * sysdeps/s390/multiarch/ifunc-resolve.h
7785 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
7786 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
7787 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
7788 Delete macro definition.
7789 (s390_libc_ifunc_init): Rename to
7790 s390_libc_ifunc_expr_stfle_init.
7791 * sysdeps/s390/bzero: Use
7792 s390_libc_ifunc_expr_stfle_init instead of
7793 s390_libc_ifunc_init.
7794 * sysdeps/s390/memcmp.c: Likewise.
7795 * sysdeps/s390/memcpy.c: Likewise.
7796 * sysdeps/s390/mempcpy.c: Likewise.
7797 * sysdeps/s390/memset.c: Likewise.
7799 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7801 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
7802 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
7804 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7806 * sysdeps/s390/multiarch/Makefile
7807 (sysdep_routines): Remove wmemcmp variants.
7808 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
7809 * sysdeps/s390/multiarch/ifunc-impl-list.c
7810 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
7811 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
7812 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
7813 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
7814 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
7815 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
7816 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
7817 * sysdeps/s390/ifunc-wmemcmp.h: New file.
7819 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7821 * sysdeps/s390/multiarch/Makefile
7822 (sysdep_routines): Remove wmemset variants.
7823 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
7824 * sysdeps/s390/multiarch/ifunc-impl-list.c
7825 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
7826 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
7827 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
7828 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
7829 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
7830 * sysdeps/s390/multiarch/wmemset.c: Move to ...
7831 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
7832 * sysdeps/s390/ifunc-wmemset.h: New file.
7834 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7836 * sysdeps/s390/multiarch/Makefile
7837 (sysdep_routines): Remove wmemchr variants.
7838 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
7839 * sysdeps/s390/multiarch/ifunc-impl-list.c
7840 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
7841 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
7842 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
7843 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
7844 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
7845 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
7846 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
7847 * sysdeps/s390/ifunc-wmemchr.h: New file.
7849 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7851 * sysdeps/s390/multiarch/Makefile
7852 (sysdep_routines): Remove wcscspn variants.
7853 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
7854 * sysdeps/s390/multiarch/ifunc-impl-list.c
7855 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
7856 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
7857 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
7858 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
7859 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
7860 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
7861 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
7862 * sysdeps/s390/ifunc-wcscspn.h: New file.
7864 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7866 * sysdeps/s390/multiarch/Makefile
7867 (sysdep_routines): Remove wcspbrk variants.
7868 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
7869 * sysdeps/s390/multiarch/ifunc-impl-list.c
7870 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
7871 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
7872 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
7873 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
7874 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
7875 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
7876 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
7877 * sysdeps/s390/ifunc-wcspbrk.h: New file.
7879 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7881 * sysdeps/s390/multiarch/Makefile
7882 (sysdep_routines): Remove wcsspn variants.
7883 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
7884 * sysdeps/s390/multiarch/ifunc-impl-list.c
7885 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
7886 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
7887 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
7888 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
7889 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
7890 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
7891 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
7892 * sysdeps/s390/ifunc-wcsspn.h: New file.
7894 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7896 * sysdeps/s390/multiarch/Makefile
7897 (sysdep_routines): Remove wcsrchr variants.
7898 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
7899 * sysdeps/s390/multiarch/ifunc-impl-list.c
7900 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
7901 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
7902 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
7903 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
7904 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
7905 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
7906 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
7907 * sysdeps/s390/ifunc-wcsrchr.h: New file.
7909 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7911 * sysdeps/s390/multiarch/Makefile
7912 (sysdep_routines): Remove wcschrnul variants.
7913 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
7914 * sysdeps/s390/multiarch/ifunc-impl-list.c
7915 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
7916 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
7917 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
7918 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
7919 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
7920 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
7921 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
7922 * sysdeps/s390/ifunc-wcschrnul.h: New file.
7924 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7926 * sysdeps/s390/multiarch/Makefile
7927 (sysdep_routines): Remove wcschr variants.
7928 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
7929 * sysdeps/s390/multiarch/ifunc-impl-list.c
7930 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
7931 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
7932 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
7933 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
7934 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
7935 * sysdeps/s390/multiarch/wcschr.c: Move to ...
7936 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
7937 * sysdeps/s390/ifunc-wcschr.h: New file.
7939 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7941 * sysdeps/s390/multiarch/Makefile
7942 (sysdep_routines): Remove wcsncmp variants.
7943 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
7944 * sysdeps/s390/multiarch/ifunc-impl-list.c
7945 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
7946 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
7947 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
7948 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
7949 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
7950 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
7951 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
7952 * sysdeps/s390/ifunc-wcsncmp.h: New file.
7954 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7956 * sysdeps/s390/multiarch/Makefile
7957 (sysdep_routines): Remove wcscmp variants.
7958 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
7959 * sysdeps/s390/multiarch/ifunc-impl-list.c
7960 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
7961 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
7962 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
7963 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
7964 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
7965 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
7966 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
7967 * sysdeps/s390/ifunc-wcscmp.h: New file.
7969 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7971 * sysdeps/s390/multiarch/Makefile
7972 (sysdep_routines): Remove wcsncat variants.
7973 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
7974 * sysdeps/s390/multiarch/ifunc-impl-list.c
7975 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
7976 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
7977 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
7978 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
7979 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
7980 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
7981 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
7982 * sysdeps/s390/ifunc-wcsncat.h: New file.
7984 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7986 * sysdeps/s390/multiarch/Makefile
7987 (sysdep_routines): Remove wcscat variants.
7988 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
7989 * sysdeps/s390/multiarch/ifunc-impl-list.c
7990 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
7991 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
7992 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
7993 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
7994 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
7995 * sysdeps/s390/multiarch/wcscat.c: Move to ...
7996 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
7997 * sysdeps/s390/ifunc-wcscat.h: New file.
7999 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8001 * sysdeps/s390/multiarch/Makefile
8002 (sysdep_routines): Remove wcpncpy variants.
8003 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
8004 * sysdeps/s390/multiarch/ifunc-impl-list.c
8005 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
8006 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
8007 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
8008 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
8009 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
8010 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
8011 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
8012 * sysdeps/s390/ifunc-wcpncpy.h: New file.
8014 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8016 * sysdeps/s390/multiarch/Makefile
8017 (sysdep_routines): Remove wcsncpy variants.
8018 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
8019 * sysdeps/s390/multiarch/ifunc-impl-list.c
8020 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
8021 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
8022 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
8023 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
8024 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
8025 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
8026 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
8027 * sysdeps/s390/ifunc-wcsncpy.h: New file.
8029 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8031 * sysdeps/s390/multiarch/Makefile
8032 (sysdep_routines): Remove wcpcpy variants.
8033 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
8034 * sysdeps/s390/multiarch/ifunc-impl-list.c
8035 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
8036 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
8037 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
8038 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
8039 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
8040 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
8041 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
8042 * sysdeps/s390/ifunc-wcpcpy.h: New file.
8044 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8046 * sysdeps/s390/multiarch/Makefile
8047 (sysdep_routines): Remove wcscpy variants.
8048 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
8049 * sysdeps/s390/multiarch/ifunc-impl-list.c
8050 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
8051 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
8052 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
8053 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
8054 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
8055 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
8056 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
8057 * sysdeps/s390/ifunc-wcscpy.h: New file.
8059 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8061 * sysdeps/s390/multiarch/Makefile
8062 (sysdep_routines): Remove wcsnlen variants.
8063 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
8064 * sysdeps/s390/multiarch/ifunc-impl-list.c
8065 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
8066 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
8067 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
8068 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
8069 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
8070 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
8071 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
8072 * sysdeps/s390/ifunc-wcsnlen.h: New file.
8074 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8076 * sysdeps/s390/multiarch/Makefile
8077 (sysdep_routines): Remove wcslen variants.
8078 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
8079 * sysdeps/s390/multiarch/ifunc-impl-list.c
8080 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
8081 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
8082 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
8083 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
8084 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
8085 * sysdeps/s390/multiarch/wcslen.c: Move to ...
8086 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
8087 * sysdeps/s390/ifunc-wcslen.h: New file.
8089 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8091 * sysdeps/s390/multiarch/Makefile
8092 (sysdep_routines): Remove memrchr variants.
8093 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
8094 * sysdeps/s390/multiarch/ifunc-impl-list.c
8095 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
8096 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
8097 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
8098 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
8099 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
8100 * sysdeps/s390/multiarch/memrchr.c: Move to ...
8101 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
8102 * sysdeps/s390/ifunc-memrchr.h: New file.
8104 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8106 * sysdeps/s390/multiarch/Makefile
8107 (sysdep_routines): Remove memccpy variants.
8108 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
8109 * sysdeps/s390/multiarch/ifunc-impl-list.c
8110 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
8111 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
8112 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
8113 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
8114 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
8115 * sysdeps/s390/multiarch/memccpy.c: Move to ...
8116 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
8117 * sysdeps/s390/ifunc-memccpy.h: New file.
8119 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8121 * sysdeps/s390/multiarch/Makefile
8122 (sysdep_routines): Remove rawmemchr variants.
8123 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
8124 * sysdeps/s390/multiarch/ifunc-impl-list.c
8125 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
8126 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
8127 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
8128 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
8129 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
8130 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
8131 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
8132 * sysdeps/s390/ifunc-rawmemchr.h: New file.
8134 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8136 * sysdeps/s390/multiarch/Makefile
8137 (sysdep_routines): Remove memchr variants.
8138 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
8139 * sysdeps/s390/multiarch/ifunc-impl-list.c
8140 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
8141 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
8142 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
8143 * sysdeps/s390/multiarch/memchr.c: Move to ...
8144 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
8145 * sysdeps/s390/ifunc-memchr.h: New file.
8146 * sysdeps/s390/s390-64/memchr.S: Move to ...
8147 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
8148 for 31/64bit and ifunc handling.
8149 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
8150 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
8151 * sysdeps/s390/s390-32/memchr.S: Likewise.
8153 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8155 * sysdeps/s390/multiarch/Makefile
8156 (sysdep_routines): Remove strcspn variants.
8157 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
8158 * sysdeps/s390/multiarch/ifunc-impl-list.c
8159 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
8160 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
8161 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
8162 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
8163 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
8164 * sysdeps/s390/multiarch/strcspn.c: Move to ...
8165 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
8166 * sysdeps/s390/ifunc-strcspn.h: New file.
8168 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8170 * sysdeps/s390/multiarch/Makefile
8171 (sysdep_routines): Remove strpbrk variants.
8172 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
8173 * sysdeps/s390/multiarch/ifunc-impl-list.c
8174 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
8175 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
8176 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
8177 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
8178 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
8179 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
8180 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
8181 * sysdeps/s390/ifunc-strpbrk.h: New file.
8183 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8185 * sysdeps/s390/multiarch/Makefile
8186 (sysdep_routines): Remove strspn variants.
8187 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
8188 * sysdeps/s390/multiarch/ifunc-impl-list.c
8189 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
8190 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
8191 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
8192 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
8193 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
8194 * sysdeps/s390/multiarch/strspn.c: Move to ...
8195 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
8196 * sysdeps/s390/ifunc-strspn.h: New file.
8198 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8200 * sysdeps/s390/multiarch/Makefile
8201 (sysdep_routines): Remove strrchr variants.
8202 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
8203 * sysdeps/s390/multiarch/ifunc-impl-list.c
8204 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
8205 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
8206 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
8207 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
8208 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
8209 * sysdeps/s390/multiarch/strrchr.c: Move to ...
8210 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
8211 * sysdeps/s390/ifunc-strrchr.h: New file.
8213 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8215 * sysdeps/s390/multiarch/Makefile
8216 (sysdep_routines): Remove strchrnul variants.
8217 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
8218 * sysdeps/s390/multiarch/ifunc-impl-list.c
8219 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
8220 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
8221 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
8222 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
8223 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
8224 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
8225 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
8226 * sysdeps/s390/ifunc-strchrnul.h: New file.
8228 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8230 * sysdeps/s390/multiarch/Makefile
8231 (sysdep_routines): Remove strchr variants.
8232 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
8233 * sysdeps/s390/multiarch/ifunc-impl-list.c
8234 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
8235 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
8236 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
8237 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
8238 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
8239 * sysdeps/s390/multiarch/strchr.c: Move to ...
8240 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
8241 * sysdeps/s390/ifunc-strchr.h: New file.
8243 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8245 * sysdeps/s390/multiarch/Makefile
8246 (sysdep_routines): Remove strncmp variants.
8247 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
8248 * sysdeps/s390/multiarch/ifunc-impl-list.c
8249 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
8250 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
8251 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
8252 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
8253 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
8254 * sysdeps/s390/multiarch/strncmp.c: Move to ...
8255 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
8256 * sysdeps/s390/ifunc-strncmp.h: New file.
8258 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8260 * sysdeps/s390/multiarch/Makefile
8261 (sysdep_routines): Remove strcmp variants.
8262 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
8263 * sysdeps/s390/multiarch/ifunc-impl-list.c
8264 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
8265 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
8266 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
8267 * sysdeps/s390/multiarch/strcmp.c: Move to ...
8268 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
8269 * sysdeps/s390/ifunc-strcmp.h: New file.
8270 * sysdeps/s390/s390-64/strcmp.S: Move to ...
8271 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
8272 for 31/64bit and ifunc handling.
8273 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
8274 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
8275 * sysdeps/s390/s390-32/strcmp.S: Likewise.
8277 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8279 * sysdeps/s390/multiarch/Makefile
8280 (sysdep_routines): Remove strncat variants.
8281 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
8282 * sysdeps/s390/multiarch/ifunc-impl-list.c
8283 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
8284 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
8285 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
8286 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
8287 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
8288 * sysdeps/s390/multiarch/strncat.c: Move to ...
8289 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
8290 * sysdeps/s390/ifunc-strncat.h: New file.
8292 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8294 * sysdeps/s390/multiarch/Makefile
8295 (sysdep_routines): Remove strcat variants.
8296 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
8297 * sysdeps/s390/multiarch/ifunc-impl-list.c
8298 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
8299 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
8300 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
8301 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
8302 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
8303 * sysdeps/s390/multiarch/strcat.c: Move to ...
8304 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
8305 * sysdeps/s390/ifunc-strcat.h: New file.
8307 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8309 * sysdeps/s390/multiarch/Makefile
8310 (sysdep_routines): Remove stpncpy variants.
8311 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
8312 * sysdeps/s390/multiarch/ifunc-impl-list.c
8313 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
8314 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
8315 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
8316 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
8317 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
8318 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
8319 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
8320 * sysdeps/s390/ifunc-stpncpy.h: New file.
8322 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8324 * sysdeps/s390/multiarch/Makefile
8325 (sysdep_routines): Remove strncpy variants.
8326 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
8327 * sysdeps/s390/multiarch/ifunc-impl-list.c
8328 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
8329 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
8330 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
8331 * sysdeps/s390/multiarch/strncpy.c: Move to ...
8332 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
8333 * sysdeps/s390/ifunc-strncpy.h: New file.
8334 * sysdeps/s390/s390-64/strncpy.S: Move to ...
8335 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
8336 and adjust ifunc handling.
8337 * sysdeps/s390/s390-32/strncpy.S: Move to ...
8338 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
8339 and adjust ifunc handling.
8340 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
8341 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
8343 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8345 * sysdeps/s390/multiarch/Makefile
8346 (sysdep_routines): Remove stpcpy variants.
8347 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
8348 * sysdeps/s390/multiarch/ifunc-impl-list.c
8349 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
8350 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
8351 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
8352 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
8353 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
8354 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
8355 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
8356 * sysdeps/s390/ifunc-stpcpy.h: New file.
8358 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8360 * sysdeps/s390/multiarch/Makefile
8361 (sysdep_routines): Remove strcpy variants.
8362 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
8363 * sysdeps/s390/multiarch/ifunc-impl-list.c
8364 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
8365 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
8366 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
8367 * sysdeps/s390/multiarch/strcpy.c: Move to ...
8368 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
8369 * sysdeps/s390/ifunc-strcpy.h: New file.
8370 * sysdeps/s390/s390-64/strcpy.S: Move to ...
8371 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
8372 for 31/64bit and ifunc handling.
8373 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
8374 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
8375 * sysdeps/s390/s390-32/strcpy.S: Likewise.
8377 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8379 * sysdeps/s390/multiarch/Makefile
8380 (sysdep_routines): Remove strnlen variants.
8381 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
8382 * sysdeps/s390/multiarch/ifunc-impl-list.c
8383 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
8384 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
8385 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
8386 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
8387 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
8388 * sysdeps/s390/multiarch/strnlen.c: Move to ...
8389 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
8390 * sysdeps/s390/ifunc-strnlen.h: New file.
8392 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8394 * sysdeps/s390/multiarch/Makefile
8395 (sysdep_routines): Remove strlen variants.
8396 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
8397 * sysdeps/s390/multiarch/ifunc-impl-list.c
8398 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
8399 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
8400 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
8401 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
8402 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
8403 * sysdeps/s390/multiarch/strlen.c: Move to ...
8404 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
8405 * sysdeps/s390/ifunc-strlen.h: New file.
8407 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8409 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
8410 * sysdeps/s390/multiarch/ifunc-impl-list.c
8411 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
8412 * sysdeps/s390/ifunc-memmem.h: New file.
8413 * sysdeps/s390/memmem.c: Likewise.
8414 * sysdeps/s390/memmem-c.c: Likewise.
8415 * sysdeps/s390/memmem-vx.c: Likewise.
8417 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8419 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
8420 * sysdeps/s390/multiarch/ifunc-impl-list.c
8421 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
8422 * sysdeps/s390/ifunc-strstr.h: New file.
8423 * sysdeps/s390/strstr.c: Likewise.
8424 * sysdeps/s390/strstr-c.c: Likewise.
8425 * sysdeps/s390/strstr-vx.c: Likewise.
8427 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8429 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
8430 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
8431 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
8432 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
8434 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
8435 * sysdeps/s390/memmove-c.c: New file.
8436 * sysdeps/s390/memmove.c: Likewise.
8437 * sysdeps/s390/multiarch/ifunc-impl-list.c
8438 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
8440 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8442 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
8443 * sysdeps/s390/configure.ac: Add check for z13 support.
8444 * sysdeps/s390/configure: Regenerated.
8446 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8448 * sysdeps/s390/memcopy.h: New file.
8450 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8452 * sysdeps/s390/s390-32/bcopy.S: Remove.
8453 * sysdeps/s390/s390-64/bcopy.S: Likewise.
8455 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8457 * sysdeps/s390/ifunc-memcpy.h: New File.
8458 * sysdeps/s390/memcpy.S: Move to ...
8459 * sysdeps/s390/memcpy-z900.S ... here.
8460 Move implementations from memcpy-s390x.s to here.
8461 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
8462 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
8463 Remove memcpy/mempcpy variants.
8464 * sysdeps/s390/Makefile (sysdep_routines):
8465 Add memcpy/mempcpy variants.
8466 * sysdeps/s390/multiarch/ifunc-impl-list.c
8467 (__libc_ifunc_impl_list): Adjust ifunc variants for
8469 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
8471 * sysdeps/s390/memcpy.c: ... here.
8472 Adjust ifunc variants for memcpy.
8473 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
8474 * sysdeps/s390/mempcpy.c: ... here.
8475 Adjust ifunc variants for mempcpy.
8476 * sysdeps/s390/mempcpy.S: Delete file.
8478 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8480 * sysdeps/s390/s390-64/memcpy.S: Move to ...
8481 * sysdeps/s390/memcpy.S: ... here.
8482 Adjust to be usable for 31/64bit.
8483 * sysdeps/s390/s390-32/memcpy.S: Delete File.
8484 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
8485 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
8486 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
8487 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
8488 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
8489 Adjust to be usable for 31/64bit.
8490 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
8491 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
8492 * sysdeps/s390/multiarch/memcpy.c: ... here.
8493 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
8495 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8497 * sysdeps/s390/ifunc-memcmp.h: New File.
8498 * sysdeps/s390/memcmp.S: Move to ...
8499 * sysdeps/s390/memcmp-z900.S ... here.
8500 Move implementations from memcmp-s390x.s to here.
8501 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
8502 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
8503 Remove memcmp variants.
8504 * sysdeps/s390/Makefile (sysdep_routines):
8505 Add memcmp variants.
8506 * sysdeps/s390/multiarch/ifunc-impl-list.c
8507 (__libc_ifunc_impl_list): Adjust ifunc variants for
8509 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
8511 * sysdeps/s390/memcmp.c: ... here.
8512 Adjust ifunc variants for memcmp.
8514 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8516 * sysdeps/s390/s390-64/memcmp.S: Move to ...
8517 * sysdeps/s390/memcmp.S: ... here.
8518 Adjust to be usable for 31/64bit.
8519 * sysdeps/s390/s390-32/memcmp.S: Delete File.
8520 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
8521 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
8523 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
8524 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
8525 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
8526 Adjust to be usable for 31/64bit.
8527 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
8528 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
8529 * sysdeps/s390/multiarch/memcmp.c: ... here.
8530 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
8532 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8534 * sysdeps/s390/s390-32/bzero.S: Delete file.
8535 * sysdeps/s390/s390-64/bzero.S: Likewise.
8536 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
8537 * sysdeps/s390/bzero.c: New file.
8538 * sysdeps/s390/memset-z900.S: Add bzero entry points.
8539 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
8540 * sysdeps/s390/multiarch/ifunc-impl-list.c
8541 (__libc_ifunc_impl_list): Add bzero ifunc variants.
8543 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8545 * sysdeps/s390/ifunc-memset.h: New File.
8546 * sysdeps/s390/memset.S: Move to ...
8547 * sysdeps/s390/memset-z900.S ... here.
8548 Move implementations from memset-s390x.s to here.
8549 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
8550 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
8551 Remove memset variants.
8552 * sysdeps/s390/Makefile (sysdep_routines):
8553 Add memset variants.
8554 * sysdeps/s390/multiarch/ifunc-impl-list.c
8555 (__libc_ifunc_impl_list): Adjust ifunc variants for
8557 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
8559 * sysdeps/s390/memset.c: ... here.
8560 Adjust ifunc variants for memset.
8562 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8564 * sysdeps/s390/s390-64/memset.S: Move to ...
8565 * sysdeps/s390/memset.S: ... here.
8566 Adjust to be usable for 31/64bit.
8567 * sysdeps/s390/s390-32/memset.S: Delete File.
8568 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
8569 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
8571 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
8572 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
8573 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
8574 Adjust to be usable for 31/64bit.
8575 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
8576 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
8577 * sysdeps/s390/multiarch/memset.c: ... here.
8578 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
8580 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8582 * sysdeps/s390/multiarch/ifunc-resolve.h
8583 (s390_libc_ifunc_init, s390_libc_ifunc,
8584 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
8586 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8588 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
8589 * sysdeps/s390/configure.ac: Add check for z10 support.
8590 * sysdeps/s390/configure: Regenerated.
8592 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
8594 * sysdeps/i386/atomic-machine.h: Merged with ...
8595 * sysdeps/x86_64/atomic-machine.h: To ...
8596 * sysdeps/x86/atomic-machine.h: This. New file.
8598 2018-12-18 Florian Weimer <fweimer@redhat.com>
8600 Rewrite locale/gen-translit.pl in Python.
8601 * locale/Makefile (generated): Add C-translit.h.
8602 (before-compile): Add $(objpfx)C-translit.h.
8603 (C-translit.h): Move to $(objpfx). Create target directory.
8604 Build using Python script.
8605 * locale/gen-translit.py: New file.
8606 * locale/gen-translit.pl: Remove file.
8607 * locale/C-translit.h.in: Change comment character to '#' for
8608 easier parsing without a C preprocessor.
8609 * locale/C-translit.h: Remove generated file.
8610 * manual/install.texi (Tools for Compilation): Do not mention
8612 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
8613 Remove locale/C-translit.h.
8614 * scripts/update-copyrights: Likewise.
8615 * INSTALL: Regenerate.
8617 2018-12-18 Florian Weimer <fweimer@redhat.com>
8620 * localedata/locales/bi_VU: Remove executable bit from file.
8622 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
8625 (__localtime64): Add.
8626 * manual/maint.texi: Document Y2038 symbol handling.
8628 (__localtime64): Add.
8629 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
8631 2018-12-17 Joseph Myers <joseph@codesourcery.com>
8633 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
8636 * scripts/glibcextract.py (compare_macro_consts): Take parameters
8637 to allow extra macros from first or second sources.
8638 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
8639 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8640 (tests-special): Add $(objpfx)tst-mman-consts.out.
8641 ($(objpfx)tst-mman-consts.out): New makefile target.
8643 2018-12-17 Mao Han <han_mao@c-sky.com>
8645 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
8646 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
8647 without stat64 system call support.
8648 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
8649 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
8650 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8651 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
8652 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
8653 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
8654 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
8655 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
8656 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
8657 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
8658 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
8660 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
8662 regex: fix storage-exhaustion error
8664 * posix/regexec.c (get_subexp):
8665 Do not continue if storage is exhausted.
8667 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
8669 regex: fix heap-use-after-free error
8671 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
8672 https://debbugs.gnu.org/32592
8673 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
8674 call extend_buffers which reallocates the re_string_t internal buffer.
8675 Local variable 'buf' was not updated in such case, resulting in
8677 * posix/regexec.c (get_subexp): Update 'buf' after call to
8680 2018-12-15 Florian Weimer <fweimer@redhat.com>
8682 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
8683 (minimum_stride_size): Use it.
8684 (support_blob_repeat_allocate): Likewise.
8686 2018-12-14 Joseph Myers <joseph@codesourcery.com>
8688 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
8693 2018-12-14 Florian Weimer <fweimer@redhat.com>
8695 * manual/process.texi (Process Creation Concepts): Remove
8696 documentation of process (ID) lifetime. List more process
8697 creation functions. Reference Process Identification section.
8698 (Process Identification): Add information about process ID
8699 lifetime. Describe Linux thread/task IDs.
8700 * manual/signal.texi (Signaling Another Process): Mention that the
8701 signal is always sent to the process.
8703 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8705 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
8706 and tst-ldbl-efgcvt.
8707 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
8708 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
8709 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
8710 (fcvt_tests, output_error, output_r_error, do_test): Use the
8711 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
8712 select the type of floating-point variables and arguments; to
8713 produce extra tests for double and conversion specifiers for
8714 printf; and to set the names of called functions.
8715 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
8716 in tst-efgcvt-template.c.
8717 * misc/tst-ldbl-efgcvt.c: Likewise.
8719 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
8721 * nss/Makefile (tst-nss-test3.out): New rule.
8723 2018-12-13 Joseph Myers <joseph@codesourcery.com>
8725 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
8728 2018-12-13 fanjinke <fanjinke@hygon.cn>
8730 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
8733 2018-12-13 Andreas Schwab <schwab@suse.de>
8736 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
8737 (__pthread_rwlock_rdlock_full): Update expected value for
8738 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
8739 * nptl/tst-rwlock-pwn.c: New file.
8740 * nptl/Makefile (tests): Add tst-rwlock-pwn.
8742 2018-12-12 Joseph Myers <joseph@codesourcery.com>
8744 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
8747 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8749 * benchtests/scripts/compare_bench.py (do_compare): write to
8750 stderr in casestat is not present.
8751 * benchtests/scripts/compare_bench.py (plot_graphs): write to
8752 stderr in case timings field is not present. Also string showing
8753 the output filename goes into the stderr.
8755 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8757 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
8758 and ZeroDivisorError exceptions.
8759 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
8760 argument to loop through user provided statistics.
8761 * benchtests/scripts/compare_bench.py (main): Include the --stats
8764 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8766 * benchtests/scripts/compare_bench.py (compare_runs): Continue
8769 2018-12-12 Florian Weimer <fweimer@redhat.com>
8771 * sysdeps/posix/timespec_get.c: Add missing “any later version”
8772 clause to copyright header.
8774 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8777 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
8778 registers saved in the stack frame.
8779 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
8780 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
8782 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8784 * include/bits/monetary-ldbl.h: New file.
8785 * include/bits/printf-ldbl.h: Likewise.
8786 * include/bits/stdio-ldbl.h: Likewise.
8787 * include/bits/stdlib-ldbl.h: Likewise.
8788 * include/bits/syslog-ldbl.h: Likewise.
8789 * include/bits/wchar-ldbl.h: Likewise.
8791 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8793 * libio/libio.h: Remove redirection for _IO_vfprintf.
8795 2018-12-11 Andreas Schwab <schwab@suse.de>
8797 * Makerules: Remove all references to abilist-pattern.
8798 (update-all-abi): Simplify find expression.
8800 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
8803 * math/auto-libm-test-in: Add new test case.
8804 * math/auto-libm-test-out-pow: Regenerated.
8805 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
8807 2018-12-10 DJ Delorie <dj@redhat.com>
8810 * support/test-container.c: Move postclean step to before we
8813 2018-12-10 Joseph Myers <joseph@codesourcery.com>
8815 * scripts/gen-as-const.py (main): Handle --python option.
8816 * scripts/gen-py-const.awk: Remove.
8817 * Makerules (py-const-script): Use gen-as-const.py.
8818 ($(py-const)): Likewise.
8819 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
8820 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
8821 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
8822 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
8823 ~PTHREAD_MUTEX_NO_ELISION_NP.
8824 * manual/README.pretty-printers: Update reference to
8827 * scripts/glibcextract.py: New file.
8828 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
8829 or tempfile. Import glibcexctract.
8830 (compute_c_consts): Remove. Moved to glibcextract.py.
8831 (gen_test): Update reference to compute_c_consts.
8833 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
8834 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
8835 * sysdeps/unix/sysv/linux/Makefile
8836 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
8837 Redirect stderr as well as stdout.
8839 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
8842 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
8843 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
8844 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
8845 ALWAYS_USE_VSYSCALL.
8846 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
8847 ALWAYS_USE_VSYSCALL.
8848 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
8849 ALWAYS_USE_VSYSCALL.
8851 2018-12-10 Florian Weimer <fweimer@redhat.com>
8854 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
8855 offset instead of count for clarity. Fix typo in comment.
8856 (__old_getdents64): Keep track of previous offset. Use it to call
8858 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
8859 that d_off is never zero.
8861 2018-12-10 Andreas Schwab <schwab@suse.de>
8863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
8864 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
8865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
8866 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
8867 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
8869 2018-12-10 Joseph Myers <joseph@codesourcery.com>
8871 * timezone/private.h: Update from tzcode 2018g.
8872 * timezone/tzfile.h: Likewise.
8873 * timezone/tzselect.ksh: Likewise.
8874 * timezone/zdump.c: Likewise.
8875 * timezone/zic.c: Likewise.
8877 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8880 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
8881 (do_test): Adjust buffer size and fix format.
8883 2018-12-07 DJ Delorie <dj@redhat.com>
8886 * malloc/tst-tcfree3.c: New.
8887 * malloc/Makefile: Add it.
8889 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
8891 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
8893 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8895 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
8896 used as a mask for the mode argument of __vfscanf_internal and
8897 __vfwscanf_internal.
8898 * stdio-common/vfscanf-internal.c
8899 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
8900 (__strtof128_internal): Define to __wcstof128_internal.
8901 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
8902 __strtof128_internal or __wcstof128_internal when the format of
8903 long double is the same as _Float128.
8905 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
8907 * include/unistd.h (__confstr): Add prototype and hidden prototype.
8908 * posix/confstr.c (confstr): Rename to __confstr.
8909 (__confstr): Add hidden def.
8910 (confstr): Add weak alias for __confstr.
8911 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
8914 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
8916 * NEWS: Mention getcpu.
8917 * include/sched.h (__getcpu): New libc_hidden_proto.
8918 * manual/resource.texi: Document getcpu.
8919 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
8920 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
8921 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
8922 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8923 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8924 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8925 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8926 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8927 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8928 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8929 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8930 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8931 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
8933 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8934 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8935 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
8942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
8944 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
8945 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8946 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8947 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8948 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8949 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8950 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8951 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8952 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
8953 * sysdeps/unix/sysv/linux/getcpu.c: New file.
8954 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
8957 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
8959 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
8961 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
8963 2018-12-07 Florian Weimer <fweimer@redhat.com>
8966 * posix/Makefile (routines): Add spawn_faction_addfchdir.
8967 * posix/Versions (GLIBC_2.29): Export
8968 posix_spawn_file_actions_addfchdir_np.
8969 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
8970 * posix/spawn_faction_destroy.c
8971 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
8972 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
8973 and the field action.fchdir_action.
8974 * posix/tst-spawn-chdir.c (add_chdir): New function.
8975 (do_test): Add do_fchdir loop. Call add_chdir.
8976 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
8977 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
8978 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
8979 posix_spawn_file_actions_addfchdir_np.
8980 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
8982 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
8984 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
8985 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
8987 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
8989 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
8991 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
8993 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
8995 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
8997 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8998 (GLIBC_2.29): Likewise.
8999 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9000 (GLIBC_2.29): Likewise.
9001 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9002 (GLIBC_2.29): Likewise.
9003 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9004 (GLIBC_2.29): Likewise.
9005 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
9007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9008 (GLIBC_2.29): Likewise.
9009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9010 (GLIBC_2.29): Likewise.
9011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9012 (GLIBC_2.29): Likewise.
9013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9014 (GLIBC_2.29): Likewise.
9015 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
9017 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
9019 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
9021 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
9022 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
9024 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
9026 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
9028 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
9031 2018-12-06 Joseph Myers <joseph@codesourcery.com>
9033 * manual/texinfo.tex: Update to version 2018-09-21.20 with
9034 trailing whitespace removed.
9035 * scripts/config.guess: Update to version 2018-11-28.
9036 * scripts/config.sub: Update to version 2018-11-28.
9037 * scripts/install-sh: Update to version 2018-03-11.20.
9038 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
9039 * scripts/move-if-change: Update to version 2018-03-07 03:47.
9041 2018-12-07 Florian Weimer <fweimer@redhat.com>
9045 * inet/tst-if_index-long.c: New file.
9046 * inet/Makefile (tests): Add tst-if_index-long.
9048 2018-12-07 Florian Weimer <fweimer@redhat.com>
9050 * support/check.h (support_record_failure_is_failed): Declare.
9051 * support/descriptors.h: New file.
9052 * support/support_descriptors.c: Likewise.
9053 * support/tst-support_descriptors.c: Likewise.
9054 * support/support_record_failure.c
9055 (support_record_failure_is_failed): New function.
9056 * support/Makefile (libsupport-routines): Add support_descriptors.
9057 (tests): Add tst-support_descriptors.
9059 2018-12-05 Zack Weinberg <zackw@panix.com>
9060 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9062 * stdio-common/vfprintf-internal.c
9063 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
9064 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
9065 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
9066 and __no_long_double.
9067 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
9068 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
9069 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
9070 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
9071 and __nldbl_*syslog* functions.
9072 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
9073 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
9074 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
9075 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
9076 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
9077 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
9078 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
9079 (__nldbl_vwprintf, __nldbl_wprintf):
9080 Directly call the appropriate __v*printf_internal routine, passing
9081 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
9083 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
9084 (__nldbl___printf_chk, __nldbl___snprintf_chk)
9085 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
9086 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
9087 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
9088 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9089 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
9090 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
9091 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
9092 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
9093 Likewise, and also pass PRINTF_FORTIFY when appropriate.
9094 (__nldbl_syslog, __nldbl_vsyslog):
9095 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
9096 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9098 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9101 2018-12-05 Zack Weinberg <zackw@panix.com>
9102 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9105 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
9106 Moved here from debug/vsprintf_chk.c.
9107 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
9108 and completion logic for the strfile to match exactly what
9109 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
9110 _IO_str_init_static_internal instead of maxlen-1.
9111 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9112 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
9113 __vsprintf_internal.
9115 * debug/vsprintf_chk.c (__vsprintf_chk)
9116 * debug/sprintf_chk.c (__sprintf_chk):
9117 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
9118 'flags' argument is positive, and slen as maxlen. No need to lock
9119 the FILE and/or construct a temporary FILE. Minimize and normalize
9120 header inclusions and variable names. Do not libc_hidden_def anything.
9122 * debug/asprintf_chk.c (__asprintf_chk)
9123 * debug/dprintf_chk.c (__dprintf_chk)
9124 * debug/fprintf_chk.c (__fprintf_chk)
9125 * debug/fwprintf_chk.c (__fwprintf_chk)
9126 * debug/printf_chk.c (__printf_chk)
9127 * debug/snprintf_chk.c (__snprintf_chk)
9128 * debug/swprintf_chk.c (__swprintf_chk)
9129 * debug/vasprintf_chk.c (__vasprintf_chk)
9130 * debug/vdprintf_chk.c (__vdprintf_chk)
9131 * debug/vfprintf_chk.c (__vfprintf_chk)
9132 * debug/vfwprintf_chk.c (__vfwprintf_chk)
9133 * debug/vprintf_chk.c (__vprintf_chk)
9134 * debug/vsnprintf_chk.c (__vsnprintf_chk)
9135 * debug/vswprintf_chk.c (__vswprintf_chk)
9136 * debug/vwprintf_chk.c (__vwprintf_chk)
9137 * debug/wprintf_chk.c (__wprintf_chk):
9138 Directly call the corresponding vxxprintf_internal function, passing
9139 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
9140 the FILE and/or construct a temporary FILE. Minimize and normalize
9141 header inclusions and variable names. Do not libc_hidden_def anything.
9143 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
9144 __obstack_vprintf_internal.
9145 (__obstack_vprintf_chk): Convert into a wrapper that calls
9146 __obstack_vprintf_internal (these two functions already had the
9147 same code) and move to new file...
9148 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
9150 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
9151 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
9152 * debug/Makefile (routines): Add vobprintf_chk.
9154 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
9155 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9156 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
9157 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9158 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
9159 (__nldbl___obstack_vfprintf_chk):
9160 Directly call the corresponding vxxprintf_internal function,
9161 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
9162 duplicate comparison of slen with 0 or maxlen from the corresponding
9163 non-__nldbl function.
9165 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
9166 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
9167 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
9168 Remove libc_hidden_proto.
9170 * stdio-common/vfprintf-internal.c
9171 (__vfprintf_internal, __vfwprintf_internal):
9172 Do not check _IO_FLAGS2_FORTIFY.
9173 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
9174 * libio/libioP.h: Update prototype of __vsprintf_internal and add
9175 a comment explaining why it has the maxlen argument.
9176 (_IO_acquire_lock_clear_flags2_fct): Remove.
9177 (_IO_acquire_lock_clear_flags2): Remove.
9178 (_IO_release_lock): Remove conditional statement which will
9180 (_IO_acquire_lock): Remove variable which is now unused.
9181 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9182 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9184 * stdio-common/Makefile (tests): Add tst-bz11319 and
9185 tst-bz11319-fortify2.
9186 (CFLAGS-tst-bz11319-fortify2.c): New macro.
9187 * stdio-common/tst-bz11319-fortify2.c: New file.
9188 * stdio-common/tst-bz11319.c: Likewise.
9190 2018-12-05 Zack Weinberg <zackw@panix.com>
9191 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9193 * misc/syslog.c: Include libioP.h, not iolibio.h.
9194 (__vsyslog_internal): New function with the former body of
9195 __vsyslog_chk; takes mode_flags argument same as
9196 __v*printf_internal. Call __vfprintf_internal directly.
9198 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
9199 Remove libc_hidden_def.
9200 (__syslog, __syslog_chk): Use __vsyslog_internal.
9201 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
9203 * include/sys/syslog.h: Add multiple inclusion guard.
9204 Add prototype for __vsyslog_internal.
9205 Remove declaration and libc_hidden_proto for __vsyslog_chk.
9207 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
9208 Use __vsyslog_internal.
9210 2018-12-05 Zack Weinberg <zackw@panix.com>
9211 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9213 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
9214 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
9215 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
9217 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
9218 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
9220 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
9221 Include wctype.h here if COMPILE_WPRINTF is defined.
9222 Define __vfprintf_internal or __vfwprintf_internal, depending
9224 Temporarily, on entry to this function, update mode_flags
9225 according to the environmental settings corresponding to
9226 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
9227 Throughout, check mode_flags instead of __ldbl_is_dbl and
9228 _IO_FLAGS2_FORTIFY on the destination FILE.
9229 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
9230 Include vfprintf-internal.c. Don't include wctype.h.
9231 * stdio-common/vfprintf.c: New file. Just define __vfprintf
9232 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
9234 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
9235 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
9237 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
9239 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
9240 and add mode_flags argument; use __vfprintf_internal.
9241 (__vdprintf): New function. Alias vdprintf to this.
9242 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
9243 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
9244 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
9245 (__obstack_printf): Use __obstack_printf_internal.
9246 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
9247 public aliases __vsnprintf and vsnprintf.
9248 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
9250 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
9251 public aliases _IO_vsprintf and vsprintf.
9252 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
9253 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
9254 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
9255 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
9256 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
9258 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
9259 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
9260 * stdio-common/fprintf.c, stdio-common/fxprintf.c
9261 * stdio-common/printf.c: Use __vfprintf_internal.
9263 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
9264 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
9265 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
9267 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
9268 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
9269 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
9270 __vfwprintf_internal.
9272 * libio/libio.h: Remove libc_hidden_proto and declaration for
9274 Remove declaration of _IO_vfwprintf.
9275 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
9277 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
9279 * include/stdio.h: Add prototype for __vasprintf.
9280 (__vsnprintf): Remove declaration, because there are no more
9282 * include/wchar.h (__vfwprintf, __vswprintf): Remove
9283 declaration, because there are no more internal calls.
9285 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
9286 __vsnprintf_internal, instead of _IO_vsnprintf.
9287 * argp/argp-help.c (__argp_error, __argp_failure): Use
9288 __vasprintf_internal, instead of _IO_vasprintf.
9289 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
9290 redefine, because there are no more internal calls.
9292 2018-12-05 Zack Weinberg <zackw@panix.com>
9293 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9295 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
9296 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
9297 Include libio/strfile.h instead of libioP.h.
9298 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
9299 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
9300 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
9301 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
9302 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
9303 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
9304 necessary. Do not set __no_long_double. Normalize variable names.
9305 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
9306 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
9307 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
9308 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
9309 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
9310 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
9311 Call __vfscanf_internal / __vfwscanf_internal directly, passing
9312 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
9313 Do not set __no_long_double. Normalize variable names.
9315 2018-12-05 Zack Weinberg <zackw@panix.com>
9316 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9318 * stdio-common/isoc99_scanf.c
9319 * stdio-common/isoc99_fscanf.c
9320 * stdio-common/isoc99_sscanf.c
9321 * stdio-common/isoc99_vscanf.c
9322 * stdio-common/isoc99_vfscanf.c
9323 * stdio-common/isoc99_vsscanf.c
9324 * wcsmbs/isoc99_wscanf.c
9325 * wcsmbs/isoc99_fwscanf.c
9326 * wcsmbs/isoc99_swscanf.c
9327 * wcsmbs/isoc99_vwscanf.c
9328 * wcsmbs/isoc99_vfwscanf.c
9329 * wcsmbs/isoc99_vswscanf.c:
9330 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
9331 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
9332 No need to lock and unlock the FILE passed to that function.
9334 * stdio-common/vfscanf-internal.c
9335 (__vfscanf_internal, __vfwscanf_internal):
9336 Don't look at _IO_FLAGS2_SCANF_STD.
9337 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
9338 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
9339 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
9341 2018-12-05 Zack Weinberg <zackw@panix.com>
9342 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9344 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
9345 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
9346 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
9347 * libio/strfile.h: Add multiple inclusion guard.
9348 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
9350 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
9351 consistency with the other version of this file.
9352 (ldbl_compat_symbol): New macro.
9353 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
9356 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
9357 Define __vfscanf_internal or __vfwscanf_internal, depending on
9358 COMPILE_WSCANF; don't define any other public symbols.
9359 Remove errval and code to set errp.
9360 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
9361 as the mode_flags argument.
9362 (encode_error, conv_error, input_error): Don't set errval.
9363 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
9364 Include vfscanf-internal.c.
9365 * stdio-common/vfscanf.c: New file defining the public entry
9366 point vfscanf, which calls __vfscanf_internal.
9367 * stdio-common/vfwscanf.c: New file defining the public entry
9368 point vfwscanf, which calls __vfwscanf_internal.
9370 * stdio-common/iovfscanf.c: New file.
9371 * stdio-common/iovfwscanf.c: Likewise.
9373 * stdio-common/Makefile (routines): Add vfscanf-internal,
9374 vfwscanf-internal, iovfscanf, iovfwscanf.
9375 * stdio-common/Versions: Mention GLIBC_2.29, so that
9376 it can be used in SHLIB_COMPAT expressions.
9377 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
9378 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
9379 Call __vfscanf_internal, instead of _IO_vfscanf.
9380 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
9382 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
9385 * libio/iovsscanf.c: Clean up includes, when possible. Use
9386 _IO_strfile_read or _IO_strfile_readw, when needed. Call
9387 __vfscanf_internal or __vfwscanf_internal directly.
9388 * libio/iovswscanf.c: Likewise.
9389 * libio/swscanf.c: Likewise.
9390 * libio/vscanf.c: Likewise.
9391 * libio/vwscanf.c: Likewise.
9392 * libio/wscanf.c: Likewise.
9393 * stdio-common/isoc99_fscanf.c: Likewise.
9394 * stdio-common/isoc99_scanf.c: Likewise.
9395 * stdio-common/isoc99_sscanf.c: Likewise.
9396 * stdio-common/isoc99_vfscanf.c: Likewise.
9397 * stdio-common/isoc99_vscanf.c: Likewise.
9398 * stdio-common/isoc99_vsscanf.c: Likewise.
9399 * stdio-common/scanf.c: Likewise.
9400 * stdio-common/sscanf.c: Likewise.
9401 * wcsmbs/isoc99_fwscanf.c: Likewise.
9402 * wcsmbs/isoc99_swscanf.c: Likewise.
9403 * wcsmbs/isoc99_vfwscanf.c: Likewise.
9404 * wcsmbs/isoc99_vswscanf.c: Likewise.
9405 * wcsmbs/isoc99_vwscanf.c: Likewise.
9406 * wcsmbs/isoc99_wscanf.c: Likewise.
9408 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
9411 (__tz_compute): Replace time_t with __time64_t.
9412 (__tz_convert): Replace time_t* with __time64_t.
9413 (__offtime): Replace time_t* with __time64_t.
9415 (__gmtime_r): Adjust call to __tz_convert.
9418 (__localtime_r): Likewise.
9419 (localtime): Likewise.
9420 * time/offtime.c: Replace time_t with __time64_t.
9421 * time/tzset.c: Likewise.
9423 2018-12-04 Joseph Myers <joseph@codesourcery.com>
9425 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
9426 dynamic linker unless [$(run-built-tests) = yes].
9428 2018-12-03 DJ Delorie <dj@delorie.com>
9430 * support/test-container.c (check_for_unshare_hints): New.
9431 (main): Call it if unshare fails. Add support for "su" scriptlet
9434 2018-12-03 Joseph Myers <joseph@codesourcery.com>
9436 * scripts/gen-as-const.py (compute_c_consts): Take an argument
9437 'START' to indicate that start text should be output.
9438 (gen_test): Likewise.
9439 (main): Generate 'START' for first symbol or '--' line, or at end
9440 of input if not previously generated.
9442 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
9445 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
9446 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
9447 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
9448 ALWAYS_USE_VSYSCALL.
9450 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9453 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
9456 2018-12-03 Carlos O'Donell <carlos@redhat.com>
9459 * locale/programs/localedef.c: Declare boolean hard_links default true.
9460 (options): Add --no-hard-links option.
9461 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
9462 * locale/programs/localedef.h: Declare prototype for hard_links.
9463 * locale/programs/locfile.c (write_locale_data): Don't use hard
9464 links if hard_links is false.
9466 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
9468 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
9470 (__cache_sysconf): Likewise.
9471 (init_cacheinfo): Likewise.
9472 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
9473 populate COMMON_CPUID_INDEX_80000007 and
9474 COMMON_CPUID_INDEX_80000008.
9475 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
9476 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
9477 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
9478 (init_cpu_features): Use _Static_assert on
9479 index_arch_Fast_Unaligned_Load.
9480 __get_cpuid_registers and __get_arch_feature. Updated for
9481 cpu_features_basic. Set stepping in cpu_features.
9482 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
9483 (FEATURE_INDEX_2): New.
9484 (FEATURE_INDEX_MAX): Changed to enum.
9485 (COMMON_CPUID_INDEX_D_ECX_1): New.
9486 (COMMON_CPUID_INDEX_80000007): Likewise.
9487 (COMMON_CPUID_INDEX_80000008): Likewise.
9488 (cpuid_registers): Likewise.
9489 (cpu_features_basic): Likewise.
9490 (CPU_FEATURE_USABLE): Likewise.
9491 (bit_arch_XXX_Usable): Likewise.
9492 (cpu_features): Use cpuid_registers and cpu_features_basic.
9493 (bit_arch_XXX): Reweritten.
9494 (bit_cpu_XXX): Likewise.
9495 (index_cpu_XXX): Likewise.
9496 (reg_XXX): Likewise.
9497 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
9499 (CHECK_CPU_FEATURE): New.
9500 (CHECK_CPU_FEATURE_USABLE): Likewise.
9501 (cpu_kinds): Likewise.
9502 (do_test): Print vendor, family, model and stepping. Check
9503 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
9504 (TEST_FUNCTION): Removed.
9505 Include <support/test-driver.c> instead of
9506 "../../test-skeleton.c".
9507 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
9508 Check POPCNT instead of POPCOUNT.
9509 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
9511 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
9513 * scripts/gen-as-const.py (main): Avoid emitting empty line when
9514 there is no element in `consts'.
9516 2018-12-01 Florian Weimer <fweimer@redhat.com>
9518 * support/support_capture_subprocess.c
9519 (support_capture_subprocess): Check that pipe descriptors have
9520 expected values. Close original pipe descriptors in subprocess.
9522 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
9525 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
9526 attr with __pthread_default_barrierattr.
9527 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
9528 attr with __pthread_default_condattr.
9529 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
9530 attr with __pthread_default_mutexattr.
9531 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
9532 attr with __pthread_default_rwlockattr.
9534 2018-12-01 Kemi Wang <kemi.wang@intel.com>
9536 * manual/tunables.texi (POSIX Thread Tunables): New node.
9537 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
9538 * nptl/nptl-init.c: Include pthread_mutex_conf.h
9539 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
9540 __pthread_tunables_init.
9541 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
9542 (max_adaptive_count): Define.
9543 * nptl/pthread_mutex_conf.c: New file.
9544 * nptl/pthread_mutex_conf.h: New file.
9545 * sysdeps/generic/adaptive_spin_count.h: New file.
9546 * sysdeps/nptl/dl-tunables.list: New file.
9547 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
9548 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
9549 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
9552 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
9555 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
9556 * stdlib/on_exit.c (__on_exit): Likewise.
9557 * stdlib/Makefile (tests): Add tst-bz20544.
9558 * stdlib/tst-bz20544.c: New test.
9560 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
9563 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
9564 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
9567 2018-11-30 Florian Weimer <fweimer@redhat.com>
9569 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
9570 Extend error logging.
9571 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
9574 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9576 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
9577 __sigismember instead of sigismember.
9578 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
9579 cancel_handler): New definitions.
9580 (do_system): Use posix_spawn instead of fork and execl and remove
9582 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
9583 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
9584 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
9585 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9586 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9587 * sysdeps/unix/sysv/linux/system.c: Likewise.
9591 * NEWS: Add new semantic for atfork with popen and system.
9592 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
9595 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9598 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
9599 modification order when accessing reloc_result->addr.
9600 * include/link.h (reloc_result): Add field init.
9601 * nptl/Makefile (tests): Add tst-audit-threads.
9602 (modules-names): Add tst-audit-threads-mod1 and
9603 tst-audit-threads-mod2.
9604 Add rules to build tst-audit-threads.
9605 * nptl/tst-audit-threads-mod1.c: New file.
9606 * nptl/tst-audit-threads-mod2.c: Likewise.
9607 * nptl/tst-audit-threads.c: Likewise.
9608 * nptl/tst-audit-threads.h: Likewise.
9610 2018-11-30 Joseph Myers <joseph@codesourcery.com>
9612 * scripts/gen-as-const.py: New file.
9613 * scripts/gen-as-const.awk: Remove.
9614 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
9616 ($(objpfx)test-as-const-%.c): Likewise.
9618 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
9620 * elf/dl-exception.c: Include <_itoa.h>.
9622 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9624 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
9625 returned by __f_setlk.
9627 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
9628 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9630 * elf/Makefile (tests-internal): Add tst-create_format1.
9631 * elf/dl-exception.c (_dl_exception_create_format): Support
9633 * elf/tst-create_format1.c: New file.
9635 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
9637 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
9638 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
9640 * argp/argp-help.c (__argp_failure): Likewise.
9642 2018-11-29 Mao Han <han_mao@c-sky.com>
9644 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
9645 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
9646 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
9647 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
9648 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
9649 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
9650 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
9651 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
9652 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
9653 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
9654 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
9655 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
9656 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
9657 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
9658 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
9659 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
9660 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
9661 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
9662 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
9663 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
9664 (R_CKCORE_TLS_TPOFF32): New defines.
9666 2018-11-29 Florian Weimer <fweimer@redhat.com>
9668 * posix/Makefile (before-compile): Remove testcases.h and
9670 (generated): Add testcases.h and ptestcases.h.
9671 (testcases.h, ptestcases.h): Move to $(objpfx).
9672 (runtests.o): Add dependency on testcases.h.
9673 (runptests.o): Add dependency on ptestcases.h.
9674 * posix/testcases.h, posix/ptestcases.h: Remove files.
9675 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
9676 not touch posix/testcases.h and posix/ptestcases.h.
9678 2018-11-28 Florian Weimer <fweimer@redhat.com>
9680 support: Add signal support to support_capture_subprocess_check.
9681 * support/capture_subprocess.h (support_capture_subprocess_check):
9682 Adjust comment and rename parameter.
9683 * support/support_capture_subprocess_check.c
9684 (print_actual_status): New function.
9685 (support_capture_subprocess_check): Support negative
9686 status_or_signal. Call print_actual_status.
9687 * support/tst-support_capture_subprocess.c (do_test): Call
9688 support_capture_subprocess_check.
9689 * libio/tst-vtables-common.c (termination_status)
9690 (init_termination_status): Remove.
9691 (check_for_termination): Adjust support_capture_subprocess_check
9693 (do_test): Remove call to init_termination_status.
9695 2018-11-28 Joseph Myers <joseph@codesourcery.com>
9697 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
9698 source directory instead of a copy.
9699 (CommandList.create_copy_dir): Remove.
9701 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
9703 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9705 2018-11-28 Florian Weimer <fweimer@redhat.com>
9707 * support/support.h (support_quote_string): Do not use str
9710 2018-11-27 Joseph Myers <joseph@codesourcery.com>
9712 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
9713 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
9715 2018-11-27 Florian Weimer <fweimer@redhat.com>
9717 * support/support.h (support_quote_string): Declare.
9718 * support/support_quote_string.c: New file.
9719 * support/tst-support_quote_string.c: Likewise.
9720 * support/Makefile (libsupport-routines): Add
9721 support_quote_string.
9722 (tests): Add tst-support_quote_string.
9724 2018-11-27 Florian Weimer <fweimer@redhat.com>
9728 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
9729 descriptor leak in case of ENODEV error.
9731 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
9734 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
9735 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
9736 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
9738 2018-11-26 Carlos O'Donell <carlos@redhat.com>
9740 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
9741 Error for unknown lines.
9743 2018-11-26 Joseph Myers <joseph@codesourcery.com>
9745 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
9746 Touch additional files.
9748 2018-11-26 Florian Weimer <fweimer@redhat.com>
9751 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
9754 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
9757 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
9758 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
9759 SHARED. Include sysdep.h.
9760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
9761 ALWAYS_USE_VSYSCALL.
9762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
9763 ALWAYS_USE_VSYSCALL.
9765 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
9768 * nptl/Makefile (tests-static): Add tst-cond11-static.
9770 * nptl/tst-cond11-static.c: New File.
9771 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
9772 tst-affinity-static.
9774 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
9776 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
9777 (USE_VSYSCALL): Likewise.
9778 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
9779 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
9781 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
9783 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
9786 2018-11-23 Joseph Myers <joseph@codesourcery.com>
9789 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9790 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
9793 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
9795 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
9796 (tst-cet-legacy-1a-ARGS): New.
9797 ($(objpfx)tst-cet-legacy-1a): New target.
9798 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
9800 2018-11-22 Joseph Myers <joseph@codesourcery.com>
9802 * conform/conformtest.py (CompileSubTest.__init__): Set
9803 self.run_early to False.
9804 (ExecuteSubTest.__init__): Likewise.
9805 (HeaderTests.run): Try running all non-optional, non-XFAILed
9806 compilation tests in a single execution of the compiler.
9808 * conform/conformtest.py (CompileSubTest): New class.
9809 (ExecuteSubTest): Likewise.
9810 (ElementTest.run): Rename to gen_subtests. Append tests to
9811 self.subtests instead of running them.
9812 (ConstantTest.run): Likewise.
9813 (SymbolTest.run): Likewise.
9814 (TypeTest.run): Likewise.
9815 (TagTest.run): Likewise.
9816 (FunctionTest.run): Likewise.
9817 (VariableTest.run): Likewise.
9818 (MacroFunctionTest.run): Likewise.
9819 (MacroStrTest.run): Likewise.
9820 (HeaderTests.handle_test_line): Generate subtests for tests.
9821 (HeaderTests.run): Run subtests for tests.
9823 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
9825 * math/Versions (GLIBC_2.29): Add pow.
9826 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
9828 * math/w_pow.c: New file.
9829 * sysdeps/i386/fpu/w_pow.c: New file.
9830 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
9831 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
9832 and add necessary aliases.
9833 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
9834 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
9835 * sysdeps/mach/hurd/i386/libm.abilist: Update.
9836 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9837 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
9838 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
9839 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
9840 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9841 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
9842 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
9843 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
9844 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
9845 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
9846 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
9847 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
9848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
9849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
9850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
9851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
9852 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
9853 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
9854 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
9855 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
9856 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
9857 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
9858 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
9859 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
9861 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
9862 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
9863 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
9865 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
9867 * math/Versions (GLIBC_2.29): Add log2.
9868 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
9870 * math/w_log2.c: New file.
9871 * sysdeps/i386/fpu/w_log2.c: New file.
9872 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
9873 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
9874 and add necessary aliases.
9875 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
9876 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
9877 * sysdeps/mach/hurd/i386/libm.abilist: Update.
9878 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9879 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
9880 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
9881 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
9882 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9883 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
9884 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
9885 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
9886 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
9887 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
9888 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
9889 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
9890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
9891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
9892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
9893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
9894 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
9895 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
9896 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
9897 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
9898 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
9899 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
9900 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
9902 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
9904 * math/Versions (GLIBC_2.29): Add log.
9905 * math/w_log_compat.c (__log_compat): Change to versioned compat
9907 * math/w_log.c: New file.
9908 * sysdeps/i386/fpu/w_log.c: New file.
9909 * sysdeps/ia64/fpu/e_log.S: Update.
9910 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
9911 and add necessary aliases.
9912 * sysdeps/ieee754/dbl-64/w_log.c: New file.
9913 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
9914 * sysdeps/mach/hurd/i386/libm.abilist: Update.
9915 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9916 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
9917 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
9918 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
9919 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9920 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
9921 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
9922 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
9923 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
9924 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
9925 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
9926 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
9927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
9928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
9929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
9930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
9931 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
9932 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
9933 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
9934 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
9935 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
9936 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
9937 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
9938 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
9940 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
9941 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
9942 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
9943 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
9945 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
9947 * math/Versions (GLIBC_2.29): Add exp and exp2.
9948 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
9949 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
9950 * math/w_exp_compat.c (__exp_compat): Likewise.
9951 * math/w_exp.c: New file.
9952 * math/w_exp2.c: New file.
9953 * sysdeps/i386/fpu/w_exp.c: New file.
9954 * sysdeps/i386/fpu/w_exp2.c: New file.
9955 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
9956 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
9957 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
9958 and add necessary aliases.
9959 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
9960 and add necessary aliases.
9961 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
9962 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
9963 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
9964 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
9965 * sysdeps/mach/hurd/i386/libm.abilist: Update.
9966 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9967 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
9968 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
9969 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
9970 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9971 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
9972 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
9973 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
9974 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
9975 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
9976 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
9977 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
9978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
9979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
9980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
9981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
9982 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
9983 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
9984 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
9985 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
9986 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
9987 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
9988 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
9989 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
9990 (__ieee754_exp): Rename to __exp.
9991 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
9992 (__ieee754_exp): Rename to __exp.
9993 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
9994 (__ieee754_exp): Rename to __exp.
9995 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
9997 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
9999 2018-11-20 DJ Delorie <dj@redhat.com>
10001 * malloc/malloc.c (tcache_entry): Add key field.
10002 (tcache_put): Set it.
10003 (tcache_get): Likewise.
10004 (_int_free): Check for double free in tcache.
10005 * malloc/tst-tcfree1.c: New.
10006 * malloc/tst-tcfree2.c: New.
10007 * malloc/Makefile: Run the new tests.
10008 * manual/probes.texi: Document memory_tcache_double_free probe.
10010 * dlfcn/dlerror.c (check_free): Prevent double frees.
10012 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
10014 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
10016 2018-11-20 Joseph Myers <joseph@codesourcery.com>
10018 * conform/conformtest.py (ElementTest.run): Use unique identifiers
10019 in tests. Use names for format arguments.
10020 (ConstantTest.run): Likewise.
10021 (SymbolTest.run): Likewise.
10022 (TypeTest.run): Likewise.
10023 (TagTest.run): Likewise.
10024 (FunctionTest.run): Likewise.
10025 (VariableTest.run): Likewise.
10026 (MacroFunctionTest.run): Likewise.
10027 (MacroStrTest.run): Likewise.
10028 (HeaderTests.__init__): Set self.num_tests.
10029 (HeaderTests.handle_test_line): Set test.num. Increment
10032 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
10034 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
10035 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
10038 2018-11-19 Mao Han <han_mao@c-sky.com>
10040 * scripts/config.guess: Update to version 2018-08-29.
10041 * scripts/config.sub: Update to version 2018-08-29.
10043 2018-11-19 Florian Weimer <fweimer@redhat.com>
10045 support: Print timestamps in timeout handler.
10046 * support/support_test_main.c (print_timestamp): New function.
10047 (signal_handler): Use it to print the termination time and the
10048 time of the last write to standard output.
10050 2018-11-16 Zack Weinberg <zackw@panix.com>
10051 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10053 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
10054 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
10056 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
10057 and add flags argument. Check flags instead of __ldbl_is_dbl when
10058 deciding whether to set is_long_double.
10059 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
10060 passing zero for flags argument.
10061 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
10063 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
10064 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
10065 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
10066 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
10067 variable names. Remove libc_hidden_def/libc_hidden_proto from
10068 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
10069 longer called from within the library.
10070 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
10071 for __nldbl___vstrfmon_l, declare it explicitly.
10073 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
10075 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10077 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
10079 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
10080 F_SETLK64, F_SETLKW64, respectively.
10081 * sysdeps/mach/hurd/f_setlk.c: New file.
10082 * sysdeps/mach/hurd/f_setlk.h: New file.
10083 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
10085 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
10086 (__libc_fcntl): Move non-flock operations to...
10087 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
10088 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
10090 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
10092 mktime: DEBUG_MKTIME cleanup
10093 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
10094 And it’s no longer needed now that glibc and Gnulib both have
10095 their own testing mechanisms for mktime.
10096 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
10098 mktime: fix non-EOVERFLOW errno handling
10100 mktime was not properly reporting failures when the underlying
10101 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
10102 them like EOVERFLOW failures, and set errno to EOVERFLOW.
10103 The problem could happen on non-glibc platforms, with Gnulib.
10104 * time/mktime.c (guess_time_tm): Remove, replacing with ...
10105 (tm_diff): ... this simpler function, which does not change errno.
10106 All callers changed to deal with errno themselves.
10107 (ranged_convert, __mktime_internal): Return failure immediately if
10108 the underlying function reports any failure other than EOVERFLOW.
10109 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
10112 mktime: fix bug with Y2038 DST transition
10114 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
10115 mishandle a DST transition that jumps over the Y2038 boundary.
10116 No such DST transitions are known so this is only a theoretical
10117 bug, but we might as well do things right.
10119 mktime: make more room for overflow
10121 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
10122 This is so that we can add tm_diff results to a previous guess,
10123 which will be useful in a later patch.
10125 mktime: simplify offset guess
10127 * time/mktime.c (__mktime_internal): Omit excess precision.
10129 mktime: new test for mktime failure
10131 Based on a test suggested by Albert Aribaud in:
10132 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
10133 * time/Makefile (tests): Add bug-mktime4.
10134 * time/bug-mktime4.c: New file.
10136 mktime: fix EOVERFLOW bug
10138 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
10139 Include libc-config.h, not config.h, for __set_errno.
10140 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
10142 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
10144 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
10145 __attribute_copy__ to copy attributes from name. Drop static qualifier
10146 to avoid warnings about leaf attribute not having effect on static
10149 2018-11-13 Florian Weimer <fweimer@redhat.com>
10151 * malloc/malloc.c (fastbin_push_entry): New function.
10152 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
10153 (REMOVE_FB): Remove macro.
10154 (_int_malloc): Use fastbin_pop_entry and reindent.
10155 (_int_free): Use fastbin_push_entry.
10156 (malloc_consolidate): Use atomic_exchange_acquire.
10158 2018-11-13 Joseph Myers <joseph@codesourcery.com>
10160 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
10161 alias attribute, not with strong_alias.
10163 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
10164 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
10165 with additional parameter thread.
10166 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
10167 in terms of __hidden_ver2.
10168 (hidden_tls_def): New macro.
10169 (libc_hidden_tls_def): Likewise.
10170 (rtld_hidden_tls_def): Likewise.
10171 (libm_hidden_tls_def): Likewise.
10172 (libmvec_hidden_tls_def): Likewise.
10173 (libresolv_hidden_tls_def): Likewise.
10174 (librt_hidden_tls_def): Likewise.
10175 (libdl_hidden_tls_def): Likewise.
10176 (libnss_files_hidden_tls_def): Likewise.
10177 (libnsl_hidden_tls_def): Likewise.
10178 (libnss_nisplus_hidden_tls_def): Likewise.
10179 (libutil_hidden_tls_def): Likewise.
10180 (libutil_hidden_tls_def): Likweise.
10181 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
10182 libc_hidden_tls_def.
10183 (__sim_disabled_exceptions_thread): Likewise.
10184 (__sim_round_mode_thread): Likewise.
10186 * sysdeps/sparc/sparc-ifunc.h [SHARED]
10187 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
10188 copy attributes from name.
10190 2018-11-12 Joseph Myers <joseph@codesourcery.com>
10192 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
10193 Use __attribute_copy__ to copy attributes from name.
10195 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
10196 with __hidden_ver1 call.
10197 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
10198 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
10199 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
10200 (__cosf): Do not declare here.
10201 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
10202 (__sincosf): Do not declare here.
10203 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
10204 (__sinf): Do not declare here.
10206 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
10207 (__BIG_ENDIAN): Likewise.
10208 (__BYTE_ORDER): Likewise.
10209 (strong_alias): Likewise.
10210 (_strong_alias): Likewise.
10212 2018-11-12 Florian Weimer <fweimer@redhat.com>
10214 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
10215 function. Move after the definition of in_smallbin_range. Do not
10216 use __builtin_expect for paths that lead to a noreturn function.
10217 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
10218 because it is unclear whether this is in fact an unlikely
10220 (_int_malloc, _int_free): Adjust.
10221 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
10223 * malloc/arena.c (heap_trim): Likewise.
10225 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10227 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
10228 it, free it if needed.
10229 (reauthenticate): Test and use ccwdir.
10230 (child_init_port): In non-resetids case, test and use ccwdir.
10231 (child_chdir): New nested function to set ccwdir.
10232 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
10233 * hurd/hurd/port.h (_hurd_port_move): New function.
10234 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
10235 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
10236 * hurd/Versions (_hurd_port_move): Export function.
10237 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
10239 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
10240 of dtablesize for allocating dtable_cloexec.
10242 2018-11-09 Martin Sebor <msebor@redhat.com>
10244 * include/libc-symbols.h (__attribute_copy__): Define macro unless
10245 it's already defined.
10246 (_strong_alias): Use __attribute_copy__.
10247 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
10248 * misc/sys/cdefs.h (__attribute_copy__): New macro.
10249 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
10250 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
10251 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
10252 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
10253 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
10254 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
10255 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
10256 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
10257 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
10258 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
10259 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
10260 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
10261 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
10262 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
10263 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
10264 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
10265 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
10267 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10269 * misc/tst-efgcvt.c: Include support/check.h and
10270 support/test-driver.c. Do not include test-skeleton.c.
10271 (error_count): Remove.
10272 (output_error): Replace increments to error_count with calls to
10273 support_record_failure.
10274 (output_r_error): Likewise.
10275 (special): Likewise.
10276 (do_test): Unconditionally return zero.
10277 (TEST_FUNCTION): Remove.
10279 2018-11-09 Joseph Myers <joseph@codesourcery.com>
10281 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
10283 ($(linknamespace-header-tests)): Likewise.
10285 * conform/conformtest.py: New file.
10286 * conform/conformtest.pl: Remove.
10287 * conform/GlibcConform.pm: Likewise.
10288 * conform/glibcconform.py (KEYWORDS_C90): New constant.
10289 (KEYWORDS_C99): Likewise.
10290 (KEYWORDS): Likewise.
10291 * conform/Makefile ($(conformtest-header-tests)): Use
10292 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
10293 option. Use --header instead of --headers.
10294 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
10296 * conform/data/spawn.h-data: Likewise.
10297 * conform/data/fcntl.h-data (openat): Add space after function
10299 * conform/data/wchar.h-data (wcscasecmp): Likewise.
10300 (wcscasecmp_l): Likewise.
10301 * conform/data/termios.h-data (c_cc): Add space after element
10304 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10306 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
10307 instead of manually comparing and reporting mismatching strings.
10308 * misc/tst-ldbl-error.c (do_one_test): Likewise.
10309 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
10311 2018-11-08 Joseph Myers <joseph@codesourcery.com>
10313 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
10314 __ASSUME_SOCKETCALL.
10315 * sysdeps/unix/sysv/linux/i386/kernel-features.h
10316 (__ASSUME_SOCKETCALL): Remove.
10317 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10318 (__ASSUME_SOCKETCALL): Likewise.
10319 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10320 (__ASSUME_SOCKETCALL): Likewise.
10321 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10322 (__ASSUME_SOCKETCALL): Likewise.
10323 * sysdeps/unix/sysv/linux/s390/kernel-features.h
10324 (__ASSUME_SOCKETCALL): Likewise.
10325 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10326 (__ASSUME_SOCKETCALL): Likewise.
10327 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10328 (__ASSUME_SOCKETCALL): Likewise.
10330 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
10333 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
10334 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
10335 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
10336 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
10337 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
10340 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
10343 * resolv/tst-resolv-network.c: Add test for getnetbyname.
10345 2018-11-07 Joseph Myers <joseph@codesourcery.com>
10348 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10349 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
10350 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10351 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
10353 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10355 * support/support_test_compare_string.c
10356 (support_test_compare_string): Fix printf format.
10358 2018-11-07 Florian Weimer <fweimer@redhat.com>
10360 Implement TEST_COMPARE_STRING.
10361 * support/check.h (TEST_COMPARE_STRING): Define.
10362 (support_test_compare_string): Declare.
10363 * support/Makefile (libsupport-routines): Add
10364 support_test_compare_string.
10365 (tests): Add tst-test_compare_string.
10366 * support/support_test_compare_string.c: New file.
10367 * support/tst-test_compare_string.c: Likewise.
10369 2018-11-07 Andreas Schwab <schwab@suse.de>
10372 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
10373 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
10376 2018-11-06 Joseph Myers <joseph@codesourcery.com>
10379 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10380 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
10381 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
10382 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
10385 2018-11-06 Florian Weimer <fweimer@redhat.com>
10388 * posix/Makefile (routines): Add spawn_faction_addchdir.
10389 (tests): Add tst-spawn-chdir.
10390 * posix/Versions (GLIBC_2.29): Add
10391 posix_spawn_file_actions_addchdir_np.
10392 * posix/spawn_faction_addchdir.c: New file.
10393 * posix/spawn_faction_destroy.c
10394 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
10395 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
10396 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
10398 * posix/tst-spawn-chdir.c: New file.
10399 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
10400 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
10401 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
10402 posix_spawn_file_actions_addchdir_np.
10403 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
10405 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
10407 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
10408 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
10410 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
10412 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
10414 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
10416 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
10418 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
10420 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10421 (GLIBC_2.29): Likewise.
10422 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10423 (GLIBC_2.29): Likewise.
10424 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10425 (GLIBC_2.29): Likewise.
10426 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10427 (GLIBC_2.29): Likewise.
10428 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
10430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10431 (GLIBC_2.29): Likewise.
10432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10433 (GLIBC_2.29): Likewise.
10434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10435 (GLIBC_2.29): Likewise.
10436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10437 (GLIBC_2.29): Likewise.
10438 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
10440 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
10442 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
10444 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
10445 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
10447 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
10449 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
10451 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
10454 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10456 * misc/Makefile (tests): Add tst-ldbl-error.
10457 * misc/tst-ldbl-error.c: New file.
10459 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10461 * misc/Makefile (tests): Add tst-ldbl-warn.
10462 * misc/tst-ldbl-warn.c: New file.
10464 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10466 * argp/Makefile (tests): Add tst-ldbl-argp.
10467 * argp/tst-ldbl-argp.c: New file.
10469 2018-11-05 Arjun Shankar <arjun@redhat.com>
10471 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
10472 __gconv_path_elem and call __gconv_get_path unconditionally.
10474 2018-11-05 Andreas Schwab <schwab@suse.de>
10477 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
10478 creating the first helper thread failed.
10480 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10482 * sysdeps/mach/hurd/msync.c: New file.
10484 2018-11-02 Florian Weimer <fweimer@redhat.com>
10486 * support/shell-container.c (copy_func): Call
10487 support_copy_file_range instead of copy_file_range to support
10488 cross-device copies.
10490 2018-11-02 Florian Weimer <fweimer@redhat.com>
10492 * support/test-container.c: Include <libc-pointer-arith.h> for
10495 2018-11-01 Zong Li <zong@andestech.com>
10497 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
10498 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
10499 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
10500 (__FP_FRAC_SET_8): Add implementation for RV32 use.
10502 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
10503 variable to avoid overlap arguments.
10505 2018-11-01 Joseph Myers <joseph@codesourcery.com>
10507 * posix/bug-regex22.c (main): Use puts with distinct error
10508 messages for unexpected success of re_compile_pattern, not printf
10509 with NULL argument to %s.
10511 * stdio-common/bug22.c: Include <libc-diag.h>.
10512 (do_test): Disable -Wformat-overflow= warnings around fprintf
10513 calls outputting more than INT_MAX characters.
10514 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
10515 around printf call with NULL %s argument.
10518 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
10519 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
10521 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10522 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10523 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10524 (__ASSUME_SENDTO_SYSCALL): Likewise.
10525 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10526 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
10528 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10529 (__ASSUME_CONNECT_SYSCALL): Likewise.
10530 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10531 (__ASSUME_RECVFROM_SYSCALL): Likewise.
10532 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
10534 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
10536 [__LINUX_KERNEL_VERSION >= 0x040400]
10537 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10538 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
10540 (listen): Likewise.
10541 (setsockopt): Likewise.
10543 2018-11-01 Fredrik Noring <noring@nocrew.org>
10545 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
10546 with the ISA override.
10548 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
10550 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
10553 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10555 * manual/errno.texi (EIEIO): Document how translators should
10556 translate the error message.
10557 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
10558 printing trailing whitespaces refused by git.
10559 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
10560 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10561 * hurd/Makefile (user-interfaces): Add pci.
10563 2018-10-30 Joseph Myers <joseph@codesourcery.com>
10565 * conform/linknamespace.py: New file.
10566 * conform/linknamespace.pl: Remove file.
10567 * conform/Makefile ($(linknamespace-header-tests)): Use
10568 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
10571 2018-10-30 Florian Weimer <fweimer@redhat.com>
10573 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
10576 2018-10-30 Florian Weimer <fweimer@redhat.com>
10578 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
10580 2018-10-30 Florian Weimer <fweimer@redhat.com>
10582 * stdlib/tst-strtod-overflow.c (do_test): Switch to
10583 support_blob_repeat.
10585 2018-10-30 Florian Weimer <fweimer@redhat.com>
10587 Avoid spurious test failures in stdlib/test-bz22786.
10588 * support/Makefile (libsupport-routines): Add blob_repeat.
10589 (tests): Add tst-support_blob_repeat.
10590 * support/blob_repeat.h: New file.
10591 * support/blob_repeat.c: Likewise.
10592 * support/tst-support_blob_repeat.c: Likewise.
10593 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
10594 support_blob_repeat_allocate.
10596 2018-10-30 Andreas Schwab <schwab@suse.de>
10599 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
10600 Don't use tail call.
10601 * elf/tst-unwind-main.c: New file.
10602 * elf/Makefile (tests): Add tst-unwind-main.
10603 (CFLAGS-tst-unwind-main.c): Define.
10605 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
10608 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
10609 n_cs_precedes to 0.
10610 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
10612 2018-10-29 Joseph Myers <joseph@codesourcery.com>
10614 * conform/glibcconform.py: Do not import shutil.
10615 (list_exported_functions): Use tempfile.TemporaryDirectory instead
10618 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
10619 critic_missing for versions before 3.4.
10620 * configure: Regenerated.
10621 * manual/install.texi (Tools for Compilation): Document
10622 requirement for Python to build glibc.
10623 * INSTALL: Regenerated.
10624 * Rules [PYTHON]: Make code unconditional.
10625 * benchtests/Makefile [PYTHON]: Likewise.
10626 * conform/Makefile [PYTHON]: Likewise.
10627 * manual/Makefile [PYTHON]: Likewise.
10628 * math/Makefile [PYTHON]: Likewise.
10630 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10632 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
10633 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
10634 answer to interrupt_operation, return EIEIO instead of EINTR.
10635 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
10636 _hurd_intr_rpc_msg_about_to global point to start of controlled
10637 assembly snippet. Make it check canceled flag.
10638 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
10639 the _hurd_intr_rpc_msg_about_to point.
10640 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
10641 issue, remove cancel flag check.
10643 2018-10-26 Joseph Myers <joseph@codesourcery.com>
10645 * scripts/build-many-glibcs.py: Remove compatibility for missing
10646 os.cpu_count and re.fullmatch.
10648 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
10651 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
10652 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
10653 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
10655 2018-10-25 Joseph Myers <joseph@codesourcery.com>
10657 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
10660 2018-10-25 Florian Weimer <fweimer@redhat.com>
10664 XFAIL siginfo_t si_band conform test on sparc64.
10665 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
10666 (__SI_BAND_TYPE): Only override long int default type on sparc64.
10667 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10668 (conformtest-xfail-conds): Add sparc64-linux.
10669 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
10671 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
10673 2018-10-25 Joseph Myers <joseph@codesourcery.com>
10675 * elf/elf.h (NT_MIPS_DSP): New macro.
10676 (NT_MIPS_FP_MODE): Likewise.
10678 2018-10-25 Zong Li <zong@andestech.com>
10680 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
10681 name by adding the file extension (.so).
10683 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
10685 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
10686 (test-xfail-ISO11/threads.h/linknamespace,
10687 test-xfail-ISO11/threads.h/conform): Add.
10689 2018-10-24 Joseph Myers <joseph@codesourcery.com>
10691 * math/gen-libm-test.py: Import os.
10692 (ALL_FLOATS_MANUAL): New constant.
10693 (ALL_FLOATS_SUFFIX): Likewise.
10694 (Ulps.all_functions): New function.
10695 (real_all_ulps): Likewise.
10696 (generate_err_table_sub): Likewise.
10697 (generate_err_table): Likewise.
10698 (main): Handle -s and -m options.
10699 * manual/libm-err-tab.pl: Remove.
10700 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
10701 instead of libm-err-tab.pl.
10702 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
10704 * manual/install.texi (Tools for Compilation): Document
10705 requirement for Python to build manual.
10706 * INSTALL: Regenerated.
10708 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
10710 * bits/time64.h: New file.
10711 * include/time.h: Replace internal_time_t with __time64_t.
10712 * posix/bits/types (__time64_t): Add.
10713 * stdlib/Makefile: Add bits/time64.h to includes.
10714 * time/tzfile.c: Replace internal_time_t with __time64_t.
10716 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10718 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
10719 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
10720 __posix_spawn_file_actions_init, __posix_spawnattr_init,
10721 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
10722 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
10724 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
10725 * posix/spawn_faction_addclose.c
10726 (__posix_spawn_file_actions_addclose): Add hidden definition.
10727 * posix/spawn_faction_adddup2.c
10728 (__posix_spawn_file_actions_adddup2): Likewise.
10729 * posix/spawn_faction_destroy.c
10730 (__posix_spawn_file_actions_destroy): Likewise.
10731 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
10733 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
10734 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
10735 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
10737 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
10738 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
10741 2018-10-24 Andreas Schwab <schwab@suse.de>
10744 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
10746 * elf/cache.c (print_cache): Likewise.
10748 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
10750 * bits/timesize.h: New file.
10751 * stdlib/Makefile (headers): Add bits/timesize.h.
10752 * sysdeps/unix/sysv/linux/bits/msq-pad.h
10753 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
10754 * sysdeps/unix/sysv/linux/bits/sem-pad.h
10755 (__SEM_PAD_AFTER_TIME): Likewise.
10756 * sysdeps/unix/sysv/linux/bits/shm-pad.h
10757 (__SHM_PAD_AFTER_TIME): Likewise.
10758 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
10759 (__MSQ_PAD_BEFORE_TIME): Likewise.
10760 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
10761 (__SEM_PAD_BEFORE_TIME): Likewise.
10762 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
10763 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
10764 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
10765 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
10766 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
10767 (__MSQ_PAD_BEFORE_TIME): Likewise.
10768 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
10769 (__SEM_PAD_BEFORE_TIME): Likewise.
10770 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
10771 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
10772 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
10773 (__MSQ_PAD_BEFORE_TIME): Likewise.
10774 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
10775 (__SEM_PAD_BEFORE_TIME): Likewise.
10776 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
10777 (__SHM_PAD_BEFORE_TIME): Likewise.
10778 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
10779 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
10780 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
10782 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
10784 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
10785 USE_RDTSCP is defined.
10786 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
10787 USE_RDTSCP is defined.
10789 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10791 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
10795 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
10796 independently of other flags.
10798 2018-10-23 Florian Weimer <fweimer@redhat.com>
10800 * time/tst-mktime2.c (N_STRINGS): Remove.
10801 (set_timezone): New function.
10802 (spring_forward_gap): Call it. Use FAIL_EXIT1.
10803 (mktime_test1): Report localtime failure and check errno value.
10805 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
10806 (do_test): Remove alarm call. Use set_timezone and array_length.
10808 2018-10-23 Andreas Schwab <schwab@suse.de>
10810 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
10811 (__start_context): Use END instead of PSEUDO_END.
10813 2018-10-22 Joseph Myers <joseph@codesourcery.com>
10815 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10818 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10822 * wcsmbs/c32rtomb.c: New file.
10823 * wcsmbs/mbrtoc32.c: Likewise.
10824 * wcsmbs/tst-c32-state.c: Likewise.
10825 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
10826 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
10827 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
10828 (tests): Add tst-c32-state.
10829 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
10832 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
10834 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
10835 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
10837 2018-10-19 Joseph Myers <joseph@codesourcery.com>
10840 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
10841 pair and return 0 in that case, and use saved character to
10842 interpret following character.
10843 * wcsmbs/tst-c16-surrogate.c: New file.
10844 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
10845 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
10846 Depend on $(gen-locales)
10848 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
10851 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
10852 (struct siginfo_t): Use correct type for si_band.
10854 2018-10-19 Florian Weimer <fweimer@redhat.com>
10857 * resource/bits/types/struct_rusage.h (struct rusage): Update
10858 comment on struct. Remove extraneous field comment.
10860 2018-10-18 David S. Miller <davem@davemloft.net>
10862 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
10863 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
10864 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
10865 sysdep_routines in subdir elf.
10866 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
10867 version for __vdso_clock_gettime.
10868 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
10870 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
10871 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
10873 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
10875 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
10877 * sysdeps/i386/init-arch.h: Removed.
10878 * sysdeps/i386/i586/init-arch.h: Likewise.
10879 * sysdeps/i386/i686/init-arch.h: Likewise.
10880 * sysdeps/i386/i686/hp-timing.h: Likewise.
10881 * sysdeps/x86_64/hp-timing.h: Likewise.
10882 * sysdeps/i386/isa.h: New file.
10883 * sysdeps/i386/i586/isa.h: Likewise.
10884 * sysdeps/i386/i686/isa.h: Likewise.
10885 * sysdeps/x86_64/isa.h: Likewise.
10886 * sysdeps/x86/hp-timing.h: New file.
10887 * sysdeps/x86/init-arch.h: Include <isa.h>.
10889 2018-10-17 Joseph Myers <joseph@codesourcery.com>
10891 * math/libm-test-pow.inc (pow_test_data): Do not allow
10892 divide-by-zero exception for pow(+/- 0, -Inf).
10894 2018-10-17 Zack Weinberg <zackw@panix.com>
10896 * manual/job.texi (Job Control is Optional): Remove node, as
10897 job control has not been optional in quite some time.
10898 (Job Control): Mention briefly that systems older than
10899 POSIX.1-2001 might not support job control.
10900 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
10901 defined on systems conforming to POSIX.1-2001.
10903 2018-10-17 Arjun Shankar <arjun@redhat.com>
10906 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
10908 * (__gconv_read_conf): Mark function static.
10909 * (once): New static variable.
10910 * (__gconv_load_conf): New function.
10911 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
10912 * iconv/gconv_db.c (once): Remove static variable.
10913 * (__gconv_compare_alias): Use __gconv_load_conf instead of
10915 * (__gconv_find_transform): Likewise.
10916 * iconv/tst-iconv-mt.c: New test.
10917 * iconv/Makefile: Add tst-iconv_mt.
10919 2018-10-17 Joseph Myers <joseph@codesourcery.com>
10921 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10923 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
10924 (shmatt_t): Define as __syscall_ulong_t.
10925 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
10926 and [__SHM_PAD_AFTER_TIME].
10927 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
10928 Define shm_segsz and associated padding based on
10929 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
10930 Use __syscall_ulong_t instead of unsigned long int.
10931 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
10933 [__USE_MISC] (struct shm_info): Likewise.
10934 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
10935 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
10936 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
10937 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
10938 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
10939 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
10940 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
10941 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
10942 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10943 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10944 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10946 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10948 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
10949 (SHMLBA): Remove macro.
10950 (__getpagesize): Remove function declaration.
10951 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
10953 (SHMLBA): Remove macro.
10954 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
10956 (SHMLBA): Remove macro.
10957 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
10959 (SHMLBA): Remove macro.
10960 (__getpagesize): Remove function declaration.
10961 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
10963 (SHMLBA): Remove macro.
10964 (__getshmlba): Remove function declaration.
10965 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
10966 (SHMLBA): Remove macro.
10967 (__getpagesize): Remove function declaration.
10968 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
10969 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
10970 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10971 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
10972 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
10973 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
10974 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
10975 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
10976 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
10977 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
10979 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
10982 * nptl/tst-mutex10.c: New File.
10983 * nptl/Makefile (tests): Add tst-mutex10.
10984 (tst-mutex10-ENV): New variable.
10985 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
10986 Ensure that elision path is used if elision is available.
10987 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
10989 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
10991 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
10992 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
10993 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
10994 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
10996 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
10997 (__pthread_mutex_cond_lock_adjust): Likewise.
10998 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11000 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
11001 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11002 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11003 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
11005 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
11006 Use atomic_load_relaxed and atomic_store_relaxed.
11007 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
11008 Use atomic_store_relaxed.
11010 2018-10-17 Andreas Schwab <schwab@suse.de>
11012 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
11013 * crypt/badsalttest.c (TIMEOUT): Likewise.
11014 * crypt/sha256c-test.c (TIMEOUT): Likewise.
11015 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
11016 * io/test-lfs.c (TIMEOUT): Likewise.
11017 * libio/tst-atime.c (TIMEOUT): Likewise.
11018 * localedata/tst-leaks.c (TIMEOUT): Likewise.
11019 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
11020 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
11021 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
11022 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
11023 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
11024 * nptl/tst-cond11.c (TIMEOUT): Likewise.
11025 * nptl/tst-cond14.c (TIMEOUT): Likewise.
11026 * nptl/tst-cond15.c (TIMEOUT): Likewise.
11027 * nptl/tst-cond24.c (TIMEOUT): Likewise.
11028 * nptl/tst-cond25.c (TIMEOUT): Likewise.
11029 * nptl/tst-kill2.c (TIMEOUT): Likewise.
11030 * nptl/tst-kill3.c (TIMEOUT): Likewise.
11031 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
11032 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
11033 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
11034 * nptl/tst-once2.c (TIMEOUT): Likewise.
11035 * nptl/tst-once3.c (TIMEOUT): Likewise.
11036 * nptl/tst-once4.c (TIMEOUT): Likewise.
11037 * nptl/tst-robust8.c (TIMEOUT): Likewise.
11038 * nptl/tst-robust9.c (TIMEOUT): Likewise.
11039 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
11040 * nptl/tst-sem14.c (TIMEOUT): Likewise.
11041 * nptl/tst-sem6.c (TIMEOUT): Likewise.
11042 * nptl/tst-signal3.c (TIMEOUT): Likewise.
11043 * nptl/tst-spin4.c (TIMEOUT): Likewise.
11044 * nptl/tst-tls3.c (TIMEOUT): Likewise.
11045 * nptl/tst-tls4.c (TIMEOUT): Likewise.
11046 * posix/tst-chmod.c (TIMEOUT): Likewise.
11047 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
11048 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
11049 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
11050 * posix/tst-regex2.c (TIMEOUT): Likewise.
11051 * posix/tst-waitid.c (TIMEOUT): Likewise.
11052 * rt/tst-aio.c (TIMEOUT): Likewise.
11053 * rt/tst-aio10.c (TIMEOUT): Likewise.
11054 * rt/tst-aio4.c (TIMEOUT): Likewise.
11055 * rt/tst-aio5.c (TIMEOUT): Likewise.
11056 * rt/tst-aio6.c (TIMEOUT): Likewise.
11057 * rt/tst-aio64.c (TIMEOUT): Likewise.
11058 * rt/tst-aio7.c (TIMEOUT): Likewise.
11059 * rt/tst-aio9.c (TIMEOUT): Likewise.
11060 * rt/tst-clock.c (TIMEOUT): Likewise.
11061 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
11062 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
11063 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
11064 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
11065 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
11066 * rt/tst-timer4.c (TIMEOUT): Likewise.
11067 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
11068 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
11069 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
11070 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
11071 * time/tst-ftime.c (TIMEOUT): Likewise.
11072 * timezone/tst-tzset.c (TIMEOUT): Likewise.
11074 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
11076 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
11077 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
11080 2018-10-15 Joseph Myers <joseph@codesourcery.com>
11082 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11084 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
11085 instead of <bits/wordsize.h>.
11086 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
11087 and [__SEM_PAD_AFTER_TIME].
11088 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
11089 __syscall_ulong_t instead of unsigned long int.
11090 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
11091 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
11092 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
11093 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
11094 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
11095 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
11096 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
11097 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
11098 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11099 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11100 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11102 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
11104 regex: simplify by using intprops.h
11106 * posix/regex_internal.h [_LIBC]: Include intprops.h.
11107 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
11108 intprops.h defines them.
11110 regex: __builtin_expect → __glibc_unlikely
11112 This refactoring was prompted by a problem when the regex code is
11113 used as part of Gnulib and when the builder’s compiler does not grok
11114 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
11115 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
11116 Although this refactoring does not fix the problem directly,
11117 we might as well have Gawk use the now-preferred glibc style for when
11118 __builtin_expect is unavailable.
11119 * posix/regex_internal.h (BE): Remove.
11120 All uses replaced by __glibc_unlikely or __glibc_likely.
11122 2018-10-11 Joseph Myers <joseph@codesourcery.com>
11124 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11126 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
11127 instead of <bits/wordsize.h>.
11128 (msgqnum_t): Define as __syscall_ulong_t.
11129 (msglen_t): Likewise.
11130 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
11131 and [__MSQ_PAD_AFTER_TIME].
11132 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
11133 __syscall_ulong_t instead of unsigned long int.
11134 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
11135 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
11136 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
11137 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
11138 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
11139 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
11140 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
11141 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
11142 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11143 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11144 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11146 2018-10-10 Joseph Myers <joseph@codesourcery.com>
11148 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
11149 (struct shmid_ds): Condition padding after time fields on
11150 [__WORDSIZE == 32].
11151 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
11152 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
11153 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11155 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
11156 (struct semid_ds): Condition padding after time fields on
11157 [__WORDSIZE == 32].
11158 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
11159 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
11160 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
11161 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11163 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
11164 (struct msqid_ds): Condition padding after time fields on
11165 [__WORDSIZE == 32].
11166 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
11167 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
11168 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
11169 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11171 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11173 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
11175 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11177 * libio/tst-readline.c (TIMEOUT): Define.
11179 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
11181 mktime fix for Gnulib + coreutils
11183 This fix affects only Gnulib. Problem discovered when
11184 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
11186 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
11187 Do not define since it is not used. Defining an unused static
11188 function prompts a warning from GCC when Coreutils is configured
11189 with --enable-gcc-warnings.
11191 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11193 * benchtests/scripts/compare_bench.py (main): set float type on
11194 threshold argument.
11196 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
11199 * localedata/locales/kl_GL (mon): Update, the relative case.
11200 (alt_mon): Add, fill with month names in the nominative case.
11201 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
11202 (d_fmt): Set to "%b %d %Y".
11204 2018-10-04 Joseph Myers <joseph@codesourcery.com>
11206 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
11207 <bits/mman-linux.h>.
11208 (PROT_READ): Don't define here.
11209 (PROT_WRITE): Likewise.
11210 (PROT_EXEC): Likewise.
11211 (PROT_NONE): Likewise.
11212 (PROT_GROWSDOWN): Likewise.
11213 (PROT_GROWSUP): Likewise.
11214 (MAP_SHARED): Likewise.
11215 (MAP_PRIVATE): Likewise.
11216 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
11217 [__USE_MISC] (MAP_FILE): Likewise.
11218 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
11219 [__USE_MISC] (MAP_ANON): Likewise.
11220 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
11221 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
11222 (MCL_CURRENT): Likewise.
11223 (MCL_FUTURE): Likewise.
11224 (MCL_ONFAULT): Likewise.
11225 [__USE_MISC] (MADV_NORMAL): Likewise.
11226 [__USE_MISC] (MADV_RANDOM): Likewise.
11227 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
11228 [__USE_MISC] (MADV_WILLNEED): Likewise.
11229 [__USE_MISC] (MADV_DONTNEED): Likewise.
11230 [__USE_MISC] (MADV_FREE): Likewise.
11231 [__USE_MISC] (MADV_REMOVE): Likewise.
11232 [__USE_MISC] (MADV_DONTFORK): Likewise.
11233 [__USE_MISC] (MADV_DOFORK): Likewise.
11234 [__USE_MISC] (MADV_HWPOISON): Likewise.
11235 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
11236 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
11237 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
11238 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
11239 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
11240 (__MAP_ANONYMOUS): New macro.
11241 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
11242 <bits/mman-linux.h> inclusion.
11243 (MAP_FIXED): Likewise.
11244 (MS_SYNC): Likewise.
11245 (MS_ASYNC): Likewise.
11246 (MS_INVALIDATE): Likewise.
11247 [__USE_MISC] (MADV_MERGEABLE): Likewise.
11248 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
11249 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
11250 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
11251 [__USE_MISC] (MADV_DONTDUMP): Likewise.
11252 [__USE_MISC] (MADV_DODUMP): Likewise.
11253 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
11254 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
11257 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
11259 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
11260 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
11261 Add test-nldbl-redirect.
11262 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
11263 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
11264 $(objpfx)libnldbl_nonshared.a.
11266 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
11268 * support/support.h (support_objdir_elf_ldso): New variable.
11269 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
11270 * support/Makefile (CFLAGS-support_paths.c): Add definition
11271 for OBJDIR_ELF_LDSO_PATH.
11272 * support/test-container.c (main): Search for the ld.so
11273 which is also used by the testsuite.
11275 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
11278 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
11279 should be "sap" rather than "sab".
11280 (day): Fix spelling of Sunday, should be "sapaat" rather than
11283 2018-10-02 Joseph Myers <joseph@codesourcery.com>
11285 * math/libm-test-fma.inc (fma_test_data): Add more tests.
11287 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
11290 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
11291 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
11292 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
11294 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11296 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
11298 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
11300 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
11302 (CFLAGS-elision-unlock.c): Likewise.
11303 (CFLAGS-elision-timed.c): Likewise.
11304 (CFLAGS-elision-trylock.c): Likewise.
11305 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
11307 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11310 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
11311 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
11312 new fd_to_filename interface.
11313 * libio/freopen64.c (freopen64): Likewise.
11314 * libio/tst-memstream.h: New file.
11315 * libio/tst-memstream4.c: Likewise.
11316 * libio/tst-wmemstream4.c: Likewise.
11317 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
11318 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
11319 and remove internal dynamic allocation.
11321 2018-10-01 Joseph Myers <joseph@codesourcery.com>
11323 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
11324 (MREMAP_MAYMOVE): Do not define here.
11325 [__USE_GNU] (MREMAP_FIXED): Likewise.
11326 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
11327 (MREMAP_MAYMOVE): Define here instead.
11328 [__USE_GNU] (MREMAP_FIXED): Likewise.
11329 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
11330 (MREMAP_MAYMOVE): Remove.
11331 [__USE_GNU] (MREMAP_FIXED): Likewise.
11333 2018-09-28 Joseph Myers <joseph@codesourcery.com>
11335 * math/fromfp.h: Do not include <math_private.h>.
11336 * math/s_cacosh_template.c: Likewise.
11337 * math/s_casin_template.c: Likewise.
11338 * math/s_casinh_template.c: Likewise.
11339 * math/s_ccos_template.c: Likewise.
11340 * math/s_cproj_template.c: Likewise.
11341 * math/s_fdim_template.c: Likewise.
11342 * math/s_fmaxmag_template.c: Likewise.
11343 * math/s_fminmag_template.c: Likewise.
11344 * math/s_iseqsig_template.c: Likewise.
11345 * math/s_ldexp_template.c: Likewise.
11346 * math/s_nextdown_template.c: Likewise.
11347 * math/w_log1p_template.c: Likewise.
11348 * math/w_scalbln_template.c: Likewise.
11349 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
11350 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
11351 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
11352 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
11353 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
11354 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
11355 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
11356 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
11357 * sysdeps/i386/fpu/s_atanl.c: Likewise.
11358 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
11359 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
11360 * sysdeps/i386/fpu/s_fdim.c: Likewise.
11361 * sysdeps/i386/fpu/s_logbl.c: Likewise.
11362 * sysdeps/i386/fpu/s_rintl.c: Likewise.
11363 * sysdeps/i386/fpu/s_significandl.c: Likewise.
11364 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
11365 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
11366 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11367 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11368 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11369 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11370 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11371 * sysdeps/ieee754/k_standardf.c: Likewise.
11372 * sysdeps/ieee754/k_standardl.c: Likewise.
11373 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11374 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
11375 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
11376 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
11377 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
11378 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
11379 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11380 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11381 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11382 * sysdeps/ieee754/s_signgam.c: Likewise.
11383 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
11384 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
11385 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
11386 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
11387 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
11388 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
11389 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
11390 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
11391 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
11392 * sysdeps/riscv/rvd/s_finite.c: Likewise.
11393 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
11394 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
11395 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
11396 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
11397 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
11398 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
11399 * sysdeps/riscv/rvf/fegetround.c: Likewise.
11400 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
11401 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
11402 * sysdeps/riscv/rvf/fesetround.c: Likewise.
11403 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
11404 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
11405 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
11406 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
11407 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
11408 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
11409 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
11410 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
11411 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
11412 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
11413 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
11414 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
11415 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
11416 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
11417 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
11418 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
11419 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
11421 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
11423 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
11426 * sysdeps/i386/dl-cet.c: Removed.
11427 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
11429 (_dl_runtime_profile_shstk): Likewise.
11430 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
11431 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
11433 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11436 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
11437 do_test_with_invalid_iov): New tests.
11438 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
11439 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
11440 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
11442 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
11443 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
11444 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
11446 2018-09-27 Joseph Myers <joseph@codesourcery.com>
11448 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11449 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
11450 (MATH_REDIRECT_BINARY_ARGS): New macro.
11451 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11452 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
11453 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
11455 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
11456 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11457 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
11458 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11459 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11460 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11461 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
11464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
11466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
11467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
11468 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
11469 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
11470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
11472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
11474 * sysdeps/generic/math_private_calls.h
11475 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
11476 Do not declare and define as an inline function.
11477 * math/divtc3.c (__divtc3): Use copysign functions instead of
11478 __copysign variants.
11479 * math/multc3.c (__multc3): Likewise.
11480 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
11481 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
11482 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11483 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
11485 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11486 (__ieee754_yn): Likewise.
11487 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11488 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
11489 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11490 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11491 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
11493 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
11494 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
11496 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11498 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11500 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11501 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11503 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11504 (__ieee754_ynf): Likewise.
11505 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
11506 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11507 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
11508 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11510 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11511 (__ieee754_ynl): Likewise.
11512 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11513 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11514 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11516 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11517 (__ieee754_ynl): Likewise.
11518 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
11519 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11520 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11521 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11523 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11525 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
11526 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11527 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
11528 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
11529 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11531 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11532 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
11533 using MATH_REDIRECT.
11534 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
11536 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
11537 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11538 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11539 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
11540 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11541 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11542 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
11544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
11545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
11546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
11547 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
11548 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
11549 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11550 (round): Redirect to __round.
11551 (__roundl): Call round instead of __round.
11552 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
11554 [_ARCH_PWR5X] (__roundf): Likewise.
11555 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
11556 functions instead of __round variants.
11557 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11558 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
11560 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
11562 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
11564 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
11565 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
11567 (__ieee754_expl): Call roundl instead of __roundl.
11569 2018-09-27 Andreas Schwab <schwab@suse.de>
11572 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
11573 (do_test): Make st1 static.
11575 2018-09-26 Andreas Schwab <schwab@suse.de>
11578 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
11579 * elf/Makefile (tests): Add tst-unwind-ctor.
11580 (modules-names): Add tst-unwind-ctor-lib.
11581 ($(objpfx)tst-unwind-ctor): Depend on
11582 $(objpfx)tst-unwind-ctor-lib.so.
11584 2018-09-26 Joseph Myers <joseph@codesourcery.com>
11586 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
11587 file. Most contents moved from ....
11588 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
11589 and include <bits/mman-map-flags-generic.h>.
11590 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11591 (sysdep_headers): Add bits/mman-map-flags-generic.h.
11592 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
11593 <bits/mman-map-flags-generic.h>.
11594 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
11595 macros defined in <bits/mman-map-flags-generic.h>.
11596 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
11597 <bits/mman-map-flags-generic.h>.
11598 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
11599 defined in <bits/mman-map-flags-generic.h>.
11601 2018-09-26 Andreas Schwab <schwab@suse.de>
11603 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
11606 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
11607 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11608 Fangrui Song <maskray@google.com>
11611 * config.make.in (have-textrel_ifunc): New define.
11612 * configure.ac: Add check if linker supports textrel relocation with
11614 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
11616 (CFLAGS-tst-ifunc-textrel.c): New rule.
11617 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
11618 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
11619 * elf/tst-ifunc-textrel.c: New file.
11621 2018-09-25 Joseph Myers <joseph@codesourcery.com>
11623 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
11624 <bits/procfs-prregset.h>.
11625 (prgregset_t): Define using __prgregset_t.
11626 (prfpregset_t): Define using __prfpregset_t.
11627 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11628 (sysdep_headers): Add bits/procfs-prregset.h.
11629 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
11630 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
11631 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
11632 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
11634 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
11635 <bits/procfs-id.h> and <bits/procfs-extra.h>.
11636 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
11638 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11639 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
11640 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
11641 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
11642 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
11643 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
11644 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
11645 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
11646 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
11647 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
11648 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
11649 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
11650 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
11651 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
11652 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
11653 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
11654 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
11655 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
11656 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
11657 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
11658 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
11659 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
11660 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11661 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
11663 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
11664 AArch64 version. Include <bits/procfs.h>.
11665 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11666 (sysdep_headers): Add bits/procfs.h.
11667 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
11668 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
11669 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
11670 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
11671 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
11672 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
11673 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
11674 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
11675 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
11676 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
11677 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
11678 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
11679 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
11680 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
11681 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
11682 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11683 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
11685 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11687 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
11690 2018-09-25 Arjun Shankar <arjun@redhat.com>
11692 * iconv/gconv_int.h (__gconv_path_elem): Remove.
11693 (__gconv_max_path_elem_len): Likewise.
11694 (__gconv_nmodules): Likewise.
11695 (__gconv_get_path): Likewise.
11696 (path_elem): Move to ...
11697 * iconv/gconv_conf.c: ... here.
11698 (__gconv_get_path): Mark function static.
11699 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
11700 * iconv/gconv_open.c: ... here.
11702 2018-09-24 Andreas Schwab <schwab@suse.de>
11704 * scripts/haveversions.awk: New file.
11705 * Makerules ($(common-objpfx)Versions.def)
11706 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
11707 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
11709 * Makeconfig ($(common-objpfx)Versions.def)
11710 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
11711 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
11713 ($(common-objpfx)Versions.mk): New rule. Include it.
11714 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
11715 Emit error if build-obsolete-nsl = yes.
11716 * manual/install.texi (Configuring and compiling): Describe
11717 --enable-obsolete-nsl as unavaiable after version 2.28.
11718 * INSTALL: Regenerate.
11720 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11722 * NEWS: Add note about new TLE support on powerpc64le.
11723 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
11724 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
11726 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
11727 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
11728 * sysdeps/powerpc/powerpc32/sysdep.h,
11729 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
11730 ABORT_TRANSACTION): Remove macros.
11731 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
11732 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
11733 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
11734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
11735 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11736 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
11738 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
11740 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
11743 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
11744 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
11745 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
11746 which is the same as in it_IT.
11747 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
11748 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
11750 2018-09-20 Joseph Myers <joseph@codesourcery.com>
11752 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11753 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
11754 using MATH_REDIRECT.
11755 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
11757 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
11758 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11759 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
11760 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
11761 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11762 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
11764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
11765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
11766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
11767 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
11768 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
11769 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
11770 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
11771 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
11772 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
11773 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
11774 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11775 (ceil): Redirect to __ceil.
11776 (floor): Redirect to __floor.
11777 (trunc): Redirect to __trunc.
11778 (__truncl): Call trunc instead of __trunc.
11779 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
11781 [_ARCH_PWR5X] (__truncf): Likewise.
11782 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
11783 trunc functions instead of __trunc variants.
11784 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11786 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11788 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11790 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11793 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
11794 [__i586__ || __pentium__].
11795 [__i486__]: Handle explicitly.
11796 (HAS_CPUID): Define to 1 if above macros are undefined.
11797 (HAS_I586): Likewise.
11798 (HAS_I686): Likewise.
11800 2018-09-20 Florian Weimer <fweimer@redhat.com>
11802 * misc/tst-gethostid.c: New file.
11803 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
11804 (tst-gethostid): Link with -ldl.
11806 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
11808 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
11809 value from gethostbyname_r.
11811 2018-09-19 Carlos O'Donell <carlos@redhat.com>
11813 * stdlib/tst-setcontext9.c (f1): Rename to...
11815 (f1b): New function implementing lower half of f1 in alternate stack.
11817 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
11819 Fix mktime localtime offset confusion
11821 * include/time.h (__mktime_internal): The localtime offset is now
11822 of type long int instead of time_t. This is the longstanding type
11823 in glibc, and it is more than enough to represent difference
11824 between localtime and gmtime even if it is 32 bits and time_t is
11825 64. Changing it now will let us avoid an unnecessary change when
11826 time_t is widened to 64 bits on 32-bit platforms.
11827 * time/mktime-internal.h (mktime_offset_t): Now long int.
11829 Merge mktime, timegm from upstream Gnulib
11830 [BZ #23603][BZ #16346]
11831 This fixes some obscure problems with integer overflow.
11832 Although it looks scary, it is almost all a byte-for-byte copy
11833 from Gnulib, and the Gnulib code has been tested reasonably well.
11834 * include/intprops.h: New file, copied from Gnulib.
11835 * include/verify.h, time/mktime-internal.h:
11836 New tiny files, simplified from Gnulib.
11837 * time/mktime.c: Copy from Gnulib. This has the following changes:
11838 Do not include config.h if DEBUG_MKTIME is nonzero.
11839 Include stdbool.h, intprops.h, verify.h.
11840 Include string.h only if needed.
11841 Include stdlib.h on MS-Windows.
11842 Include mktime-internal.h.
11843 (DEBUG_MKTIME): Default to 0, and simplify later uses.
11844 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
11845 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
11846 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
11847 simplify later conditionals; default the others to zero. Use
11848 these conditionals to express only the code needed on the current
11849 platform. In uses of these conditionals, explicitly spell out how
11850 _LIBC affects things, so it’s easier to review from a glibc
11852 (WRAPV): Remove; no longer needed now that we have
11853 systematic overflow checking.
11854 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
11855 compartmentalize tzset issues. Move system-dependent tzsettish
11856 code here from mktime.
11857 (verify): Remove; now done by verify.h. All uses changed.
11858 (long_int): Use a more-conservative definition, to avoid
11860 (SHR): Remove, replacing with ...
11861 (shr): New function, which means we needn’t worry about side
11862 effects in args, and conversion analysis is simpler.
11863 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
11864 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
11865 (time_t_avg, time_t_add_ok): Remove.
11866 (mktime_min, mktime_max): New constants.
11867 (leapyear, isdst_differ): Use bool for booleans.
11868 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
11869 Use long_int, not time_t, for mktime differences.
11870 (long_int_avg): New function, replacing time_t_avg.
11871 INT_ADD_WRAPV replaces time_t_add_ok.
11872 (guess_time_tm): 6th arg is now long_int, not time_t const *.
11874 (convert_time): New function.
11875 (ranged_convert): Use it.
11876 (__mktime_internal): Last arg now points to mktime_offset_t, not
11877 time_t. All uses changed. This is a no-op on glibc, where
11878 mktime_offset_t is always time_t. Use int, not time_t, for UTC
11879 offset guess. Directly check for integer overflow instead of
11880 using a heuristic that works only 99.9...% of the time.
11881 Access *OFFSET only once, to avoid an unlikely race if the
11882 compiler delays a load and if this cascades into a signed integer
11884 (mktime): Move tzsettish code to my_tzset, and move
11885 localtime_offset to within mktime so that it doesn’t
11886 need a separate ifdef.
11887 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
11888 instead of localtime.
11889 * time/timegm.c: Copy from Gnulib. This has the following changes:
11890 Include mktime-internal.h.
11891 [!_LIBC]: Include config.h and time.h. Do not include
11892 timegm.h or time_r.h. Make __mktime_internal a macro,
11893 and include mktime-internal.h to get its declaration.
11894 (timegm): Temporary is now mktime_offset_t, not time_t.
11895 This affects only Gnulib.
11897 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
11900 * string/test-strstr.c (pr23637): New function.
11901 (test_main): Add tests with longer needles.
11902 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
11903 * string/strstr.c (AVAILABLE): Likewise.
11905 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
11907 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
11909 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
11911 * NEWS: Mention pow improvements.
11912 * math/Makefile (type-double-routines): Add e_pow_log_data.
11913 * sysdeps/generic/math_private.h (__exp1): Remove.
11914 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
11915 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
11916 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
11918 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
11919 (exp_inline): Remove.
11920 (__ieee754_exp): Only single double input is handled.
11921 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
11922 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
11923 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
11924 (__pow_log_data): Define.
11925 * sysdeps/ieee754/dbl-64/upow.h: Remove.
11926 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
11927 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
11928 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
11930 (CFLAGS-e_pow-fma4.c): Likewise.
11932 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
11934 Simplify tzfile fstat failure code
11936 * time/tzfile.c (__tzfile_read): Simplify slightly.
11938 Fix tzfile low-memory assertion failure
11940 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
11941 when registering time zone abbreviations.
11943 2018-09-18 Joseph Myers <joseph@codesourcery.com>
11945 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
11946 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
11947 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
11948 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
11949 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
11950 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
11951 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
11952 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11953 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11955 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
11957 (__ceill): Call ceil instead of __ceil.
11958 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
11960 (__floorl): Call floor instead of __floor.
11962 2018-09-17 Joseph Myers <joseph@codesourcery.com>
11964 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11965 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
11966 using MATH_REDIRECT.
11967 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
11969 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
11970 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11971 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11972 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
11973 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11974 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11975 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11976 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
11977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
11978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
11979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
11980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
11981 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
11982 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
11983 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
11984 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
11985 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
11986 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
11987 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
11989 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
11990 functions instead of __ceil variants.
11991 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11992 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
11994 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
11996 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
11997 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
11999 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12000 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12003 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
12005 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
12006 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
12007 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
12008 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
12009 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
12010 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
12011 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
12012 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
12013 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
12014 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
12015 (ILL_BADIADDR): Remove constant.
12016 (TRAP_BRANCH): Likewise.
12017 (TRAP_HWBKPT): Likewise.
12019 2018-09-14 Joseph Myers <joseph@codesourcery.com>
12022 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
12023 Remove [_MIPS_SIM = _ABIN32] conditional case.
12024 (struct elf_prpsinfo): Likewise.
12027 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
12028 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
12029 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
12031 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
12032 elf_prpsinfo): Likewise.
12033 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
12034 elf_prpsinfo): Likewise.
12035 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
12038 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12039 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
12040 using MATH_REDIRECT.
12041 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
12043 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
12044 * sysdeps/alpha/fpu/s_rint.c: Likewise.
12045 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
12046 * sysdeps/i386/fpu/s_rintl.c: Likewise.
12047 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12048 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12049 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
12050 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12051 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12052 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12053 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
12054 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
12055 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
12056 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
12057 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
12058 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
12059 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12060 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
12061 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
12063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
12064 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
12065 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
12066 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
12067 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
12068 * sysdeps/x86_64/fpu/math_private.h: Remove file.
12069 * math/e_scalb.c (invalid_fn): Use rint functions instead of
12071 * math/e_scalbf.c (invalid_fn): Likewise.
12072 * math/e_scalbl.c (invalid_fn): Likewise.
12073 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12075 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12077 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
12078 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
12079 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12081 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12083 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12085 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
12086 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
12088 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12089 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
12091 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12092 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
12093 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12094 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
12095 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12096 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
12097 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12098 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
12099 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12100 && !NO_MATH_REDIRECT] (floor): Likewise.
12101 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
12103 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
12104 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12105 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12106 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
12107 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12108 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12109 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12110 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
12111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
12112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
12113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
12114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
12115 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12116 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12117 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
12118 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
12119 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
12120 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
12121 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
12123 [_ARCH_PWR5X] (__floorf): Likewise.
12124 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
12126 [__SSE4_1__] (__floorf): Likewise.
12127 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
12128 instead of __floor variants.
12129 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
12130 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
12131 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
12132 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
12133 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
12134 * math/w_tgamma_compat.c (__tgamma): Likewise.
12135 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
12136 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
12137 * math/w_tgammal_compat.c (__tgammal): Likewise.
12138 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
12139 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12141 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
12142 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
12143 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
12144 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12146 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12147 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
12149 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
12150 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
12152 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12153 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
12155 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12156 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12157 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
12158 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
12159 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12160 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12162 2018-09-12 Joseph Myers <joseph@codesourcery.com>
12164 * elf/Makefile (modules-names-tests): New variable.
12166 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12168 * NEWS: Mention log2 improvements.
12169 * math/Makefile (type-double-routines): Add e_log2_data.
12170 * sysdeps/i386/fpu/e_log2_data.c: New file.
12171 * sysdeps/ia64/fpu/e_log2_data.c: New file.
12172 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
12173 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
12174 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
12175 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
12176 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
12178 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12180 * NEWS: Mention log improvement.
12181 * math/Makefile (type-double-routines): Add e_log_data.
12182 * sysdeps/i386/fpu/e_log_data.c: New file.
12183 * sysdeps/ia64/fpu/e_log_data.c: New file.
12184 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
12185 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
12186 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
12187 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
12188 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
12189 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
12191 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
12192 Xuepeng Guo <xuepeng.guo@intel.com>
12195 * sysdeps/i386/start.S: Include <sysdep.h>
12196 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
12197 enabled. Add cfi_undefined (eip).
12199 2018-09-11 Joseph Myers <joseph@codesourcery.com>
12201 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
12203 (EXTRACT_WORDS64): Likewise.
12204 (INSERT_WORDS64): Likewise.
12205 (GET_FLOAT_WORD): Likewise.
12206 (SET_FLOAT_WORD): Likewise.
12208 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
12210 (Config.build_gcc): Use --disable-libsanitizer for first GCC
12211 build, but not for second build if --full-gcc. Use
12212 --enable-languages=all for second build if --full-gcc.
12213 (get_parser): Add --full-gcc option.
12214 (main): Update call to Context.
12216 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
12219 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
12220 Single Quotation Mark).
12221 (thousands_sep): Likewise.
12222 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
12223 * localedata/locales/it_IT (thousands_sep): Use ".".
12224 (grouping): Use "3;3".
12226 2018-09-10 Joseph Myers <joseph@codesourcery.com>
12228 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
12229 x86_64 and i686 configs using --enable-obsolete-rpc
12230 --enable-obsolete-nsl.
12232 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
12234 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12236 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
12238 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
12239 Increment size of new_argv by one.
12241 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
12244 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
12245 * localedata/locales/ar_IN (d_fmt): Likewise.
12246 * localedata/locales/bhb_IN (d_fmt): Likewise.
12247 * localedata/locales/bho_IN (d_fmt): Likewise.
12248 * localedata/locales/bn_BD (d_fmt): Likewise.
12249 * localedata/locales/bn_IN (d_fmt): Likewise.
12250 * localedata/locales/doi_IN (d_fmt): Likewise.
12251 * localedata/locales/gu_IN (d_fmt): Likewise.
12252 * localedata/locales/hi_IN (d_fmt): Likewise.
12253 * localedata/locales/hne_IN (d_fmt): Likewise.
12254 * localedata/locales/kn_IN (d_fmt): Likewise.
12255 * localedata/locales/mag_IN (d_fmt): Likewise.
12256 * localedata/locales/mai_IN (d_fmt): Likewise.
12257 * localedata/locales/mjw_IN (d_fmt): Likewise.
12258 * localedata/locales/ml_IN (d_fmt): Likewise.
12259 * localedata/locales/mni_IN (d_fmt): Likewise.
12260 * localedata/locales/mr_IN (d_fmt): Likewise.
12261 * localedata/locales/pa_IN (d_fmt): Likewise.
12262 * localedata/locales/raj_IN (d_fmt): Likewise.
12263 * localedata/locales/sat_IN (d_fmt): Likewise.
12264 * localedata/locales/sd_IN (d_fmt): Likewise.
12265 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
12266 * localedata/locales/ta_IN (d_fmt): Likewise.
12267 * localedata/locales/ta_LK (d_fmt): Likewise.
12268 * localedata/locales/tcy_IN (d_fmt): Likewise.
12269 * localedata/locales/ur_IN (d_fmt): Likewise.
12271 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
12272 * localedata/locales/ks_IN (d_fmt): Likewise.
12273 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
12275 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
12276 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
12277 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
12278 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
12280 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
12282 * NEWS: Mention exp and exp2 improvements.
12283 * math/Makefile (libm-support): Remove t_exp.
12284 (type-double-routines): Add math_err and e_exp_data.
12285 * sysdeps/aarch64/libm-test-ulps: Update.
12286 * sysdeps/arm/libm-test-ulps: Update.
12287 * sysdeps/i386/fpu/e_exp_data.c: New file.
12288 * sysdeps/i386/fpu/math_err.c: New file.
12289 * sysdeps/i386/fpu/t_exp.c: Remove.
12290 * sysdeps/ia64/fpu/e_exp_data.c: New file.
12291 * sysdeps/ia64/fpu/math_err.c: New file.
12292 * sysdeps/ia64/fpu/t_exp.c: Remove.
12293 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
12294 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
12295 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
12296 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
12297 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
12298 * sysdeps/ieee754/dbl-64/math_config.h: New file.
12299 * sysdeps/ieee754/dbl-64/math_err.c: New file.
12300 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
12301 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
12302 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
12303 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
12304 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
12305 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
12306 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
12307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12308 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12310 2018-09-05 Joseph Myers <joseph@codesourcery.com>
12312 * sysdeps/alpha/fpu/math_private.h: Remove.
12314 * sysdeps/generic/math_private.h
12315 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
12316 Move this inline function ....
12317 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
12318 * include/math.h [!_ISOMAC]: To here....
12320 2018-09-04 Joseph Myers <joseph@codesourcery.com>
12322 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
12324 [!FE_HAVE_ROUNDING_MODES]: And this code ....
12325 * include/fenv.h [!_ISOMAC]: ... to here.
12326 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
12327 (feraiseexcept): Likewise.
12328 * math/fromfp.h: Do not include <fenv_private.h>.
12329 * math/s_cexp_template.c: Likewise.
12330 * math/s_csin_template.c: Likewise.
12331 * math/s_csinh_template.c: Likewise.
12332 * math/s_ctan_template.c: Likewise.
12333 * math/s_ctanh_template.c: Likewise.
12334 * math/s_iseqsig_template.c: Likewise.
12335 * math/w_acos_compat.c: Likewise.
12336 * math/w_acosf_compat.c: Likewise.
12337 * math/w_acosl_compat.c: Likewise.
12338 * math/w_asin_compat.c: Likewise.
12339 * math/w_asinf_compat.c: Likewise.
12340 * math/w_asinl_compat.c: Likewise.
12341 * math/w_j0_compat.c: Likewise.
12342 * math/w_j0f_compat.c: Likewise.
12343 * math/w_j0l_compat.c: Likewise.
12344 * math/w_j1_compat.c: Likewise.
12345 * math/w_j1f_compat.c: Likewise.
12346 * math/w_j1l_compat.c: Likewise.
12347 * math/w_jn_compat.c: Likewise.
12348 * math/w_jnf_compat.c: Likewise.
12349 * math/w_log10_compat.c: Likewise.
12350 * math/w_log10f_compat.c: Likewise.
12351 * math/w_log10l_compat.c: Likewise.
12352 * math/w_log2_compat.c: Likewise.
12353 * math/w_log2f_compat.c: Likewise.
12354 * math/w_log2l_compat.c: Likewise.
12355 * math/w_log_compat.c: Likewise.
12356 * math/w_logf_compat.c: Likewise.
12357 * math/w_logl_compat.c: Likewise.
12358 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12359 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12360 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12361 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12362 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12363 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12364 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12365 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12366 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12367 * sysdeps/ieee754/k_standardl.c: Likewise.
12368 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12369 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12370 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12371 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12372 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12373 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12374 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12375 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12376 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12377 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12378 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12379 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12380 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12381 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12382 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12383 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12384 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12385 * math/w_ilogb_template.c: Include <fenv.h> instead of
12387 * math/w_llogb_template.c: Likewise.
12388 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12389 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12391 2018-09-03 Joseph Myers <joseph@codesourcery.com>
12393 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
12394 * math/fromfp.h: Include <fenv_private.h>.
12395 * math/math-narrow.h: Likewise.
12396 * math/s_cexp_template.c: Likewise.
12397 * math/s_csin_template.c: Likewise.
12398 * math/s_csinh_template.c: Likewise.
12399 * math/s_ctan_template.c: Likewise.
12400 * math/s_ctanh_template.c: Likewise.
12401 * math/s_iseqsig_template.c: Likewise.
12402 * math/w_acos_compat.c: Likewise.
12403 * math/w_acosf_compat.c: Likewise.
12404 * math/w_acosl_compat.c: Likewise.
12405 * math/w_asin_compat.c: Likewise.
12406 * math/w_asinf_compat.c: Likewise.
12407 * math/w_asinl_compat.c: Likewise.
12408 * math/w_ilogb_template.c: Likewise.
12409 * math/w_j0_compat.c: Likewise.
12410 * math/w_j0f_compat.c: Likewise.
12411 * math/w_j0l_compat.c: Likewise.
12412 * math/w_j1_compat.c: Likewise.
12413 * math/w_j1f_compat.c: Likewise.
12414 * math/w_j1l_compat.c: Likewise.
12415 * math/w_jn_compat.c: Likewise.
12416 * math/w_jnf_compat.c: Likewise.
12417 * math/w_llogb_template.c: Likewise.
12418 * math/w_log10_compat.c: Likewise.
12419 * math/w_log10f_compat.c: Likewise.
12420 * math/w_log10l_compat.c: Likewise.
12421 * math/w_log2_compat.c: Likewise.
12422 * math/w_log2f_compat.c: Likewise.
12423 * math/w_log2l_compat.c: Likewise.
12424 * math/w_log_compat.c: Likewise.
12425 * math/w_logf_compat.c: Likewise.
12426 * math/w_logl_compat.c: Likewise.
12427 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
12428 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
12429 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
12430 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
12431 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12432 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12433 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12434 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12435 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12436 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12437 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12438 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12439 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
12440 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
12441 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12442 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12443 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12444 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12445 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12446 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12447 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12448 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12449 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12450 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12451 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12452 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12453 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12454 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
12455 * sysdeps/ieee754/float128/float128_private.h: Likewise.
12456 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12457 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12458 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12459 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12460 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12461 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12462 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12463 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12464 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12465 * sysdeps/ieee754/k_standardl.c: Likewise.
12466 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12467 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12468 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12469 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12470 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
12471 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12472 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12473 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12474 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12475 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12476 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12477 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12478 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12479 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12480 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12481 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12482 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12483 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
12484 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12485 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12486 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12487 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12488 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12489 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12490 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12491 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12492 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12493 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
12494 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
12495 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12496 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12497 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12498 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12499 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12500 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12501 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12502 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12503 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12504 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12505 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12506 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
12507 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12508 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
12509 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12510 * sysdeps/riscv/rvd/s_finite.c: Likewise.
12511 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
12512 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
12513 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
12514 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
12515 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
12516 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
12517 * sysdeps/riscv/rvf/fegetround.c: Likewise.
12518 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
12519 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
12520 * sysdeps/riscv/rvf/fesetround.c: Likewise.
12521 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
12522 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
12523 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
12524 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12525 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
12526 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12527 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
12528 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
12529 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
12530 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
12531 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
12532 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
12533 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
12534 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
12535 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12536 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12538 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12541 * include/stdio.h (__libc_fatal): Mention newline in comment.
12542 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
12543 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
12544 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12545 * nss/nsswitch.c (__nss_next2): Likewise.
12546 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
12547 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
12548 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
12549 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
12550 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
12551 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
12552 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
12553 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
12554 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
12555 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
12556 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
12557 * sysdeps/unix/sysv/linux/netlink_assert_response.c
12558 (__netlink_assert_response): Likewise.
12560 2018-08-31 Joseph Myers <joseph@codesourcery.com>
12562 * conform/glibcconform.py: New file.
12563 * conform/list-header-symbols.py: Likewise.
12564 * conform/list-header-symbols.pl: Remove.
12565 * conform/Makefile (tests-special): Only add linknamespace tests
12567 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
12569 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
12572 * support/Makefile (libsupport-routines): Add
12573 support_copy_file_range and xcopy_file_range.
12574 * support/support.h: Include <sys/types.h>.
12575 (support_copy_file_range): New prototype.
12576 * support/support_copy_file_range.c: New file. Copied and
12577 modified from io/copy_file_range-compat.c.
12578 * support/test-container.c (copy_one_file): Call xcopy_file_rang
12579 instead of copy_file_range.
12580 * support/xcopy_file_range.c: New file.
12581 * support/xunistd.h (xcopy_file_range): New prototype.
12583 2018-08-30 Carlos O'Donell <carlos@redhat.com>
12585 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
12586 xpthread_create and xpthread_join.
12588 2018-08-30 Florian Weimer <fweimer@redhat.com>
12590 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
12592 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
12594 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
12597 2018-08-29 Joseph Myers <joseph@codesourcery.com>
12599 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
12600 and minus_oflow as non-finite.
12602 2018-08-28 Joseph Myers <joseph@codesourcery.com>
12604 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
12605 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
12606 moved to fenv_private.h except for ...
12607 (TOINT_INTRINSICS): Kept in math_private.h.
12608 (roundtoint): Likewise.
12609 (converttoint): Likewise.
12610 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
12611 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
12612 * sysdeps/arm/math_private.h: Remove.
12613 * sysdeps/generic/fenv_private.h: New file. Contents moved from
12615 * sysdeps/generic/math_private.h: ... this file. Include
12616 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
12617 Include <fenv_private.h>. Remove functions and macros moved to
12619 * sysdeps/i386/fpu/math_private.h: Remove.
12620 * sysdeps/mips/math_private.h: Move to ....
12621 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
12622 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
12623 [__mips_hard_float] conditional. Include next <fenv_private.h>.
12624 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
12625 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
12626 * sysdeps/powerpc/fpu/math_private.h: Do not include
12628 * sysdeps/riscv/rvf/math_private.h: Move to ....
12629 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
12630 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
12632 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
12633 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
12634 * sysdeps/sparc/fpu/math_private.h: Remove.
12635 * sysdeps/i386/fpu/fenv_private.h: Move to ....
12636 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
12637 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
12639 * sysdeps/x86_64/fpu/math_private.h: Do not include
12640 <sysdeps/i386/fpu/fenv_private.h>.
12642 2018-08-28 Florian Weimer <fweimer@redhat.com>
12645 * posix/tst-regcomp-truncated.c: New file.
12646 * posix/Makefile (tests): Add it.
12647 (tst-regcomp-truncated.out): Depend on generated locales.
12649 2018-08-28 Florian Weimer <fweimer@redhat.com>
12651 * support/test-container.c (main): Treat unshare failure with
12652 EPERM as an unsupported test.
12654 2018-08-28 Florian Weimer <fweimer@redhat.com>
12657 nscd: Fix use-after-free in addgetnetgrentX and its callers.
12658 * nscd/netgroupcache.c
12659 (addgetnetgrentX): Add tofreep parameter. Do not free
12660 heap-allocated buffer.
12661 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
12662 (addgetnetgrentX_ignore): New function.
12663 (addgetnetgrent): Call it.
12664 (readdgetnetgrent): Likewise.
12666 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12668 * string/memmem.c: Use memcmp for first match.
12670 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
12673 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
12675 2018-08-27 DJ Delorie <dj@redhat.com>
12677 * support/Makefile (others): Don't list programs explicitly as a
12678 dependency of "others".
12680 2018-08-27 Joseph Myers <joseph@codesourcery.com>
12682 * sysdeps/generic/math-tests-trap-force.h: New file.
12683 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
12684 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
12685 * sysdeps/powerpc/math-tests.h: Remove file.
12686 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
12688 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
12689 Torvald Riegel <triegel@redhat.com>
12692 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
12693 Update r to include the set wake-request flag if waiters are
12694 remaining after spinning.
12696 2018-08-27 Joseph Myers <joseph@codesourcery.com>
12698 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
12700 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
12703 regex: fix uninitialized memory access
12704 I introduced this bug into gnulib in commit
12705 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
12706 eventually it was merged into glibc. The bug was found by
12707 project-repo <bugs@feusi.co> and reported here:
12708 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
12709 Diagnosis and draft fix reported by Assaf Gordon here:
12710 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
12711 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
12712 * posix/regex_internal.c (build_wcs_upper_buffer):
12713 Fix bug when mbrtowc returns 0.
12715 2018-08-24 Carlos O'Donell <carlos@redhat.com>
12717 * po/be.po: Update translation.
12719 2018-08-24 DJ Delorie <dj@delorie.com>
12721 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
12724 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
12727 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
12728 create temporary files in source tree.
12730 2018-08-24 Joseph Myers <joseph@codesourcery.com>
12732 * sysdeps/generic/math-tests-trap.h: New file.
12733 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
12734 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
12735 * sysdeps/aarch64/math-tests.h: Remove file.
12736 * sysdeps/arm/math-tests.h: Likewise.
12737 * sysdeps/riscv/math-tests.h: Likewise.
12738 * sysdeps/aarch64/math-tests-trap.h: New file.
12739 * sysdeps/arm/math-tests-trap.h: Likewise.
12740 * sysdeps/riscv/math-tests-trap.h: Likewise.
12742 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
12744 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
12745 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
12746 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
12747 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
12748 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
12749 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
12750 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12751 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
12752 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
12753 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12754 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12755 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12756 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12757 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
12758 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
12759 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
12760 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
12761 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
12763 2018-08-23 Joseph Myers <joseph@codesourcery.com>
12765 * sysdeps/generic/math-tests-exceptions.h: New file.
12766 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
12767 (EXCEPTION_TESTS_float): Do not define here.
12768 (EXCEPTION_TESTS_double): Likewise.
12769 (EXCEPTION_TESTS_long_double): Likewise.
12770 (EXCEPTION_TESTS_float128): Likewise.
12771 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
12773 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
12774 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
12775 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
12776 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
12777 * sysdeps/mips/math-tests.h: Likewise.
12778 * sysdeps/nios2/math-tests.h: Likewise.
12779 * sysdeps/riscv/math-tests.h [!__riscv_flen]
12780 (EXCEPTION_TESTS_float): Do not define here.
12781 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
12782 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
12783 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
12785 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
12787 * NEWS: Move optimized sinf entry to 2.29.
12789 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
12791 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
12793 2018-08-22 DJ Delorie <dj@redhat.com>
12795 * Makefile (testroot.pristine): New rules to initialize the
12796 test-in-container "testroot".
12797 * Makerules (all-testsuite): Add tests-container.
12798 * Rules (tests-expected): Add tests-container.
12799 (binaries-all-tests): Likewise.
12800 (tests-container): New, run these tests in the testroot container.
12801 * support/Makefile (others): Add *-container, support_paths.c,
12802 xmkdirp, and links-dso-program.
12803 * support/links-dso-program-c.c: New.
12804 * support/links-dso-program.cc: New.
12805 * support/test-container.c: New.
12806 * support/shell-container.c: New.
12807 * support/echo-container.c: New.
12808 * support/true-container.c: New.
12809 * support/xmkdirp.c: New.
12810 * support/xsymlink.c: New.
12811 * support/support_paths.c: New.
12812 * support/support.h: Add support paths prototypes.
12813 * support/xunistd.h: Add xmkdirp () and xsymlink ().
12815 * nss/tst-nss-test3.c: Convert to test-in-container.
12816 * nss/tst-nss-test3.root/: New.
12818 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
12820 regex: port Gnulib code to z/OS POSIX environment
12821 Problem reported by Arnold Robbins in:
12822 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
12823 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
12826 2018-08-22 Joseph Myers <joseph@codesourcery.com>
12828 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
12829 (ROUNDING_TESTS_double): Remove.
12830 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
12831 (ROUNDING_TESTS_double): Remove.
12832 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
12833 (ROUNDING_TESTS_double): Remove.
12834 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
12835 (ROUNDING_TESTS_float): Remove.
12836 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
12837 (ROUNDING_TESTS_float): Remove.
12838 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
12839 (ROUNDING_TESTS_float): Remove.
12840 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
12841 !TEST_MATHVEC here.
12842 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12843 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12845 * sysdeps/generic/math-tests-rounding.h: New file.
12846 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
12847 (ROUNDING_TESTS_float): Do not define here.
12848 (ROUNDING_TESTS_double): Likewise.
12849 (ROUNDING_TESTS_long_double): Likewise.
12850 (ROUNDING_TESTS_float128): Likewise.
12851 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
12852 (ROUNDING_TESTS_double): Undefine before defining.
12853 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
12854 (ROUNDING_TESTS_double): Undefine before defining.
12855 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
12856 (ROUNDING_TESTS_double): Undefine before defining.
12857 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
12858 (ROUNDING_TESTS_float): Undefine before defining.
12859 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
12860 (ROUNDING_TESTS_float): Undefine before defining.
12861 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
12862 (ROUNDING_TESTS_float): Undefine before defining.
12863 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
12864 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
12866 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
12867 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
12868 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
12869 * sysdeps/riscv/math-tests.h [!__riscv_flen]
12870 (ROUNDING_TESTS_float): Do not define here.
12871 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
12872 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
12873 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
12874 (ROUNDING_TESTS_float): Likewise.
12875 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
12876 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
12877 * sysdeps/mips/math-tests.h [__mips_soft_float]
12878 (ROUNDING_TESTS_float): Likewise.
12879 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
12880 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
12881 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
12882 (ROUNDING_TESTS_double): Likewise.
12883 (ROUNDING_TESTS_long_double): Likewise.
12885 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
12887 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
12888 (PF_XDP): New macro.
12889 (AF_XDP): New macro.
12890 (SOL_XDP): New macro.
12892 2018-08-21 Joseph Myers <joseph@codesourcery.com>
12894 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
12895 (TCP_INQ): Likewise.
12896 (TCP_CM_INQ): Likewise.
12897 (TCP_REPAIR_ON): Likewise.
12898 (TCP_REPAIR_OFF): Likewise.
12899 (TCP_REPAIR_OFF_NO_WP): Likewise.
12900 (struct tcp_zerocopy_receive): New type.
12902 2018-08-21 Florian Weimer <fweimer@redhat.com>
12904 * support/support.h (support_descriptor_supports_holes): Declare.
12905 * support/Makefile (libsupport-routines): Add
12906 support_descriptor_supports_holes.
12907 * support/support_descriptor_supports_holes.c: New file.
12908 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
12909 and stop testing if holes are not supported.
12910 * io/test-lfs.c (do_prepare): Likewise.
12911 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
12913 * timezone/tst-tzset.c (create_tz_file): Likewise.
12914 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
12916 (do_prepare): Set it.
12917 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
12919 2018-08-21 Florian Weimer <fweimer@redhat.com>
12922 * Makeconfig (+cflags): Do not sort (and deduplicate).
12924 2018-08-21 Florian Weimer <fweimer@redhat.com>
12926 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
12927 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
12929 2018-08-20 Florian Weimer <fweimer@redhat.com>
12931 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
12932 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
12934 2018-08-20 Joseph Myers <joseph@codesourcery.com>
12936 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
12937 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
12938 and ssi_arch members.
12940 * elf/elf.c (NT_VMCOREDD): New macro.
12941 (AT_MINSIGSTKSZ): Likewise.
12943 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12945 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
12946 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
12947 s_cosf-ppc64 and s_cosf-power8.
12948 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
12949 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
12950 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12951 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
12952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
12953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
12954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
12955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
12956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
12957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
12958 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
12959 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
12961 2018-08-17 Florian Weimer <fweimer@redhat.com>
12963 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12965 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
12967 * malloc/malloc.c (_int_malloc): Additional binning code checks.
12969 2018-08-16 Florian Weimer <fweimer@redhat.com>
12971 * configure.ac: Add --with-nonshared-cflags option.
12972 * config.make.in (extra-nonshared-cflags): Set variable.
12973 * Makeconfig (CFLAGS-.oS): Use it.
12974 * manual/install.texi (Configuring and compiling): Document
12975 --with-nonshared-cflags.
12976 * configure: Regenerate.
12977 * INSTALL: Likewise.
12979 2018-08-16 Florian Weimer <fweimer@redhat.com>
12981 * Makeconfig (ASFLAGS): Always append required assembler flags.
12983 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
12985 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
12986 (malloc_consolidate): Likewise.
12988 2018-08-16 Pochang Chen <johnchen902@gmail.com>
12990 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
12992 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
12994 * benchtests/bench-strlen.c (do_test): Allocate buffers before
12997 * benchtests/bench-strlen.c: Print performance numbers in json.
12999 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13001 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13002 (sysdep_routines): Build strcmp-power9 and strncmp-power9
13003 only for little endian.
13004 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13005 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
13006 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
13007 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
13008 Add check for little endian.
13009 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13010 (__strcmp_power9): Add check for little endian.
13011 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
13012 Add check for little endian.
13013 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
13014 (__strncmp_power9): Add check for little endian.
13015 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
13016 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
13017 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
13018 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
13019 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
13021 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
13023 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
13024 [!STRLEN](STRLEN): Set to __strlen.
13025 * sysdeps/aarch64/multiarch/strlen.c: New file.
13026 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
13027 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
13028 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
13029 (__libc_ifunc_impl_list): Add strlen.
13030 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
13031 strlen_generic and strlen_asimd.
13033 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
13035 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
13036 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
13037 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
13039 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
13041 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
13043 2018-08-14 Florian Weimer <fweimer@redhat.com>
13046 * include/stdio.h (__vfxprintf): Declare.
13047 * stdio-common/fxprintf.c (__vfxprintf): New function.
13048 (__fxprintf): Call it.
13049 * misc/err.c (convert_and_print): Remove function.
13050 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
13051 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
13052 * misc/Makefile (tests): Add tst-warn-wide.
13053 * misc/tst-warn-wide.c: New file.
13055 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
13056 Szabolcs Nagy <szabolcs.nagy@arm.com>
13058 * NEWS: Mention sinf, cosf, sincosf.
13059 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
13060 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
13061 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
13062 constants rather than including generic sincosf.h.
13063 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
13064 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
13065 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
13066 (reduced_cos): Remove.
13067 (sinf_poly): New function.
13068 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
13070 2018-08-14 Florian Weimer <fweimer@redhat.com>
13074 * nss/nss_files/files-alias.c (get_next_alias): During :include:
13075 processing, bail out if no room, and close the stream before
13077 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
13078 (tst-nss-files-alias-leak): Link with libdl.
13079 (tst-nss-files-alias-leak.out): Depend on nss_files.
13081 * nss/tst-nss-files-alias-leak.c: New file.
13083 2018-08-14 Florian Weimer <fweimer@redhat.com>
13085 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
13086 server_user, stat_user.
13088 2018-08-13 Joseph Myers <joseph@codesourcery.com>
13090 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13092 (io_pgetevents): New syscall.
13095 * manual/install.texi (Configuring and compiling): Do not list
13096 tools used for testing pretty printers here.
13097 (Tools for Compilation): List Python, PExpect and GDB here.
13098 Update descriptions of uses of Perl and Python.
13099 * INSTALL: Regenerate.
13101 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13104 2018-08-13 Florian Weimer <fweimer@redhat.com>
13106 * misc/error.c (error): Add missing va_end call.
13107 (error_at_line): Likewise.
13109 2018-08-13 Florian Weimer <fweimer@redhat.com>
13111 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
13113 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13115 * benchtests/scripts/benchout.schema.json (properties): Add
13118 * benchtests/bench-skeleton.c (main): Add duration and
13119 iterations attributes.
13121 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
13123 regex: Gnulib unibyte RRI uses bytes not chars
13124 Adjust the non-glibc code to agree with what Gawk needs for
13125 rational range interpretation (RRI) for regular expression ranges.
13126 In unibyte locales, Gawk wants ranges to use the underlying byte
13127 rather than the character code point. This change does not affect
13129 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
13130 In unibyte locales, use the byte value rather than
13131 running it through btowc.
13133 2018-08-10 Joseph Myers <joseph@codesourcery.com>
13135 * sysdeps/generic/math-tests-snan.h: New file.
13136 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
13137 (SNAN_TESTS_float): Do not define here.
13138 (SNAN_TESTS_double): Likewise.
13139 (SNAN_TESTS_long_double): Likewise.
13140 (SNAN_TESTS_float128): Likewise.
13141 * sysdeps/i386/fpu/math-tests-snan.h: New file.
13142 * sysdeps/i386/fpu/math-tests.h: Remove file.
13143 * sysdeps/ia64/math-tests-snan.h: New file.
13144 * sysdeps/ia64/math-tests.h: Remove file.
13145 * sysdeps/x86/math-tests.h: Likewise.
13146 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
13148 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13149 Szabolcs Nagy <szabolcs.nagy@arm.com>
13151 * math/Makefile: Add s_sincosf_data.c.
13152 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
13153 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
13154 (sincosf_poly): Likewise.
13155 (reduce_small): Likewise.
13156 (reduce_large): Likewise.
13157 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
13158 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
13159 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
13160 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
13162 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13163 Szabolcs Nagy <szabolcs.nagy@arm.com>
13165 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
13166 (converttoint): Use lround.
13167 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
13168 document the semantics when TOINT_INTRINSICS is set.
13169 (converttoint): Likewise.
13170 (TOINT_RINT): Remove.
13171 (TOINT_SHIFT): Remove.
13172 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
13175 2018-08-10 Florian Weimer <fweimer@redhat.com>
13178 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
13180 (__old_getdents64): Use getdents64. Convert entries without
13182 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
13183 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
13184 tst-readdir64-compat.
13186 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13188 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
13191 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13193 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
13194 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
13195 code to s390x-mcount.h and #include it.
13196 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
13197 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
13200 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13202 * stdlib/Versions: Remove __fentry__.
13203 * sysdeps/i386/Versions: Add __fentry__.
13204 * sysdeps/x86_64/Versions: Add __fentry__.
13206 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13208 * sysdeps/s390/Makefile: Register the new tests.
13209 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
13210 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
13211 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
13212 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
13213 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
13214 * sysdeps/s390/tst-dl-runtime.c: New file.
13216 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13218 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
13221 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13223 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
13226 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13228 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
13231 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13233 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
13236 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13238 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
13239 Use symbolic offsets for stack variables.
13241 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13243 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
13244 Use symbolic offsets for stack variables.
13246 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13248 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
13249 Use symbolic offsets for stack variables.
13251 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13253 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
13254 Use symbolic offsets for stack variables.
13256 2018-08-09 Joseph Myers <joseph@codesourcery.com>
13258 * math/gen-libm-test.py: New file.
13259 * math/gen-libm-test.pl: Remove.
13260 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
13261 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
13263 ($(libm-test-c-noauto-obj)): Likewise.
13264 ($(libm-test-c-auto-obj)): Likewise.
13265 ($(libm-test-c-narrow-obj)): Likewise.
13266 (regen-ulps): Likewise.
13267 * math/README.libm-test: Update references to gen-libm-test.pl.
13268 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
13269 referencing gen-libm-test.pl.
13270 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
13271 * math/libm-test-support.c: Likewise.
13272 * math/libm-test-support.h: Likewise.
13273 * sysdeps/generic/libm-test-ulps: Likewise.
13275 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
13277 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
13280 2018-08-08 Joseph Myers <joseph@codesourcery.com>
13282 * math/libm-test-nextdown.inc (do_test): Move comment to ....
13283 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
13285 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
13287 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
13289 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
13290 __pthread_setspecific): Add hidden proto.
13291 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
13292 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
13294 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
13296 * benchtests/bench-string.h (buf1_size, buf2_size): New
13298 (init_sizes): New function.
13299 (test_init): Use it.
13300 (alloc_buf, exit_error): New functions.
13301 (alloc_bufs): Use ALLOC_BUF.
13302 (realloc_bufs): Remove.
13303 * benchtests/bench-memcmp.c (do_test): Adjust.
13304 * benchtests/bench-memset-large.c (do_test): Likewise.
13305 * benchtests/bench-memset-walk.c (do_test): Likewise.
13306 * benchtests/bench-memset.c (do_test): Likewise.
13307 * benchtests/bench-strncmp.c (do_test): Likewise.
13309 2018-08-06 Andreas Schwab <schwab@suse.de>
13311 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
13312 of CONST_THREAD_AREA.
13314 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
13316 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
13317 (STATE_SAVE_MASK): Likewise.
13318 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
13319 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
13320 (STATE_SAVE_MASK): Likewise.
13321 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
13322 instead of <cpu-features.h>.
13324 2018-08-03 DJ Delorie <dj@redhat.com>
13326 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
13327 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
13329 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
13331 2018-08-03 Joseph Myers <joseph@codesourcery.com>
13333 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
13334 after TEST_* calls.
13335 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
13336 * math/libm-test-logb.inc (logb_test_data): Likewise.
13338 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
13340 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
13341 * string/strstr.c (AVAILABLE): Likewise.
13343 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
13345 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
13347 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
13348 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
13349 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
13351 2018-08-03 Carlos O'Donell <carlos@redhat.com>
13353 * po/be.po: Update translation.
13355 * po/be.po: Update translation.
13357 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
13359 * sysdeps/x86/cpu-features-offsets.sym
13360 (rtld_global_ro_offsetof): Removed.
13361 (CPU_FEATURES_SIZE): Likewise.
13362 (CPUID_OFFSET): Likewise.
13363 (CPUID_SIZE): Likewise.
13364 (CPUID_EAX_OFFSET): Likewise.
13365 (CPUID_EBX_OFFSET): Likewise.
13366 (CPUID_ECX_OFFSET): Likewise.
13367 (CPUID_EDX_OFFSET): Likewise.
13368 (FAMILY_OFFSET): Likewise.
13369 (MODEL_OFFSET): Likewise.
13370 (FEATURE_OFFSET): Likewise.
13371 (FEATURE_SIZ): Likewise.
13372 (COMMON_CPUID_INDEX_1): Likewise.
13373 (COMMON_CPUID_INDEX_7): Likewise.
13374 (FEATURE_INDEX_1): Likewise.
13375 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
13377 2018-08-02 Carlos O'Donell <carlos@redhat.com>
13379 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
13380 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
13381 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
13382 (install-locales): Depend on install-locale-archive.
13383 (install-locale-archive): Define.
13384 (install-locale-files): Define.
13385 (build-one-locale): Define macro.
13386 * manual/install.texi (Running make install): Document.
13387 * manual/INSTALL: Regenerate.
13389 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
13391 * benchtests/scripts/compare_strings.py: Import traceback.
13392 (parse_file): Pretty-print error.
13394 * NEWS: Mention the change.
13395 * elf/dl-tunables.list: Rename tune namespace to cpu.
13396 * sysdeps/powerpc/dl-tunables.list: Likewise.
13397 * sysdeps/x86/dl-tunables.list: Likewise.
13398 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
13400 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
13401 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
13402 * manual/README.tunables: Likewise.
13403 * manual/tunables.texi: Likewise.
13404 * sysdeps/powerpc/cpu-features.c: Likewise.
13405 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
13406 (init_cpu_features): Likewise.
13407 * sysdeps/x86/cpu-features.c: Likewise.
13408 * sysdeps/x86/cpu-features.h: Likewise.
13409 * sysdeps/x86/cpu-tunables.c: Likewise.
13410 * sysdeps/x86_64/Makefile: Likewise.
13411 * sysdeps/x86/dl-cet.c: Likewise.
13413 2018-08-02 Joseph Myers <joseph@codesourcery.com>
13416 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
13417 [__mips_hard_float].
13418 (FE_UNDERFLOW): Likewise.
13419 (FE_OVERFLOW): Likewise.
13420 (FE_DIVBYZERO): Likewise.
13421 (FE_INVALID): Likewise.
13422 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
13423 (FE_TOWARDZERO): Define only if [__mips_hard_float].
13424 (FE_UPWARD): Likewise.
13425 (FE_DOWNWARD): Likewise.
13426 (__FE_UNDEFINED): Define if [!__mips_hard_float]
13427 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
13428 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
13429 [__mips_hard_float].
13430 (FP_ROUNDMODE): Likewise.
13431 (FP_RND_NEAREST): Likewise.
13432 (FP_RND_ZERO): Likewise.
13433 (FP_RND_PINF): Likewise.
13434 (FP_RND_MINF): Likewise.
13435 (FP_EX_INVALID): Likewise.
13436 (FP_EX_OVERFLOW): Likewise.
13437 (FP_EX_UNDERFLOW): Likewise.
13438 (FP_EX_DIVZERO): Likewise.
13439 (FP_EX_INEXACT): Likewise.
13440 (FP_INIT_ROUNDMODE): Likewise.
13441 * sysdeps/mips/nofpu/fesetenv.c: New file.
13442 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
13444 2018-08-01 Joseph Myers <joseph@codesourcery.com>
13446 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
13447 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
13448 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
13449 conditional on [FE_UPWARD].
13451 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
13453 regex: fix memory leak in Gnulib
13454 Problem and fix reported by Assaf Gordon in:
13455 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
13456 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
13457 range_ends members too, as they are defined in 'struct
13458 re_charset_t' even if not _LIBC. This affects only Gnulib.
13460 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
13462 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
13464 (get_common_indices): This.
13465 (init_cpu_features): Updated.
13467 2018-08-01 Joseph Myers <joseph@codesourcery.com>
13469 * sysdeps/generic/math-tests-snan-payload.h: New file.
13470 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
13471 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
13472 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
13473 * sysdeps/generic/math-tests.h: Include
13474 <math-tests-snan-payload.h>.
13475 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
13476 * sysdeps/hppa/math-tests.h: Remove file.
13477 * sysdeps/mips/math-tests.h [!__mips_nan2008]
13478 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
13479 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
13482 * sysdeps/generic/math-tests-snan-cast.h: New file.
13483 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
13484 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
13485 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
13486 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
13488 2018-08-01 Carlos O'Donell <carlos@redhat.com>
13490 * version.h (RELEASE): Set to "development".
13491 (VERSION): Set to "2.28.9000".
13492 * NEWS (2.29): New section.
13494 * version.h (RELEASE): Set to "stable".
13495 (VERSION): Set to "2.28".
13496 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
13497 * NEWS: Add the list of bugs fixed in 2.28.
13499 * po/ca.po: Update to latest version.
13500 * po/cs.po: Likewise
13501 * po/da.po: Likewise
13502 * po/el.po: Likewise
13503 * po/eo.po: Likewise
13504 * po/es.po: Likewise
13505 * po/fi.po: Likewise
13506 * po/fr.po: Likewise
13507 * po/gl.po: Likewise
13508 * po/hu.po: Likewise
13509 * po/ia.po: Likewise
13510 * po/id.po: Likewise
13511 * po/it.po: Likewise
13512 * po/ja.po: Likewise
13513 * po/ko.po: Likewise
13514 * po/lt.po: Likewise
13515 * po/nb.po: Likewise
13516 * po/nl.po: Likewise
13517 * po/pt_BR.po: Likewise
13518 * po/ru.po: Likewise
13519 * po/rw.po: Likewise
13520 * po/sk.po: Likewise
13521 * po/sl.po: Likewise
13522 * po/tr.po: Likewise
13523 * po/zh_CN.po: Likewise
13524 * po/zh_TW.po: Likewise
13526 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13528 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
13530 (init): ... before initializing libpthread.
13532 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
13533 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
13534 (__mach_setup_tls): ... new function.
13535 (mach_setup_tls): New alias.
13536 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
13537 __mach_setup_thread.
13538 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
13539 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
13540 * mach/Versions [libc] (mach_setup_tls): Add symbol.
13541 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
13543 2018-07-31 Carlos O'Donell <carlos@redhat.com>
13545 * manual/install.texi: Update versions.
13546 * INSTALL: Regenerate.
13548 * manual/contrib.texi (Contributors): Update contributions.
13550 2018-07-31 Carlos O'Donell <carlos@redhat.com>
13552 * po/be.po: Update translations.
13554 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13556 * sysdeps/sh/libm-test-ulps: Update.
13558 2018-07-30 Carlos O'Donell <carlos@redhat.com>
13560 * po/bg.po: Update translations.
13561 * po/de.po: Likewise.
13562 * po/hr.po: Likewise.
13563 * po/pt_BR.po: Likewise.
13564 * po/sv.po: Likewise.
13565 * po/vi.po: Likewise.
13567 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
13570 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
13571 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
13572 (CFLAGS-tst-cet-property-1.o): New.
13573 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
13574 ($(objpfx)tst-cet-property-2): Likewise.
13575 ($(objpfx)tst-cet-property-2.out): Likewise.
13576 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
13577 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
13578 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
13579 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
13580 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
13582 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
13585 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
13587 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
13589 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
13590 __sbrk): Do not set attribute_hidden.
13591 * sysdeps/mach/hurd/not-errno.h: New file.
13592 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
13593 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
13595 2018-07-27 Carlos O'Donell <carlos@redhat.com>
13597 * po/uk.po: Update translations.
13598 * po/cs.po: Likewise.
13599 * po/pl.po: Likewise.
13601 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
13603 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
13604 parse beyond the note end.
13606 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13608 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
13609 kernel does not support OFD locks.
13610 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
13612 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13614 * sysdeps/mach/hurd/Versions (libc): Make __access and
13615 __access_noerrno external so they can override the ld symbols.
13616 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
13617 __writev, __open64, __access_noerrno extern so they can be overrided.
13618 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
13619 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
13621 2018-07-26 Carlos O'Donell <carlos@redhat.com>
13623 * po/libc.pot: Regenerate.
13625 2018-07-26 Joseph Myers <joseph@codesourcery.com>
13627 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
13629 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
13632 * sysdeps/x86/cpu-features.c (get_extended_indices): New
13634 (init_cpu_features): Call get_extended_indices for both Intel
13636 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
13637 Remove "for AMD" comment.
13639 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
13642 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
13643 COMMON_CPUID_INDEX_80000001.
13645 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
13647 * string/tst-xbzero-opt.c (use_test_buffer): New function.
13648 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
13650 2018-07-26 Florian Weimer <fweimer@redhat.com>
13652 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
13653 aliases for symbols not in the implementation namespace.
13655 2018-07-25 Carlos O'Donell <carlos@redhat.com>
13658 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
13659 lowercase in LATIN script.
13660 * localedata/Makefile (test-input): Add en_US.UTF-8.
13661 * localedata/en_US.UTF-8.in: New file.
13662 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
13663 and restore old tests.
13664 * posix/tst-regexloc.c (do_test): Add back range expression test.
13666 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13668 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
13670 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13672 * nptl/threads.h: Move to ...
13673 * sysdeps/nptl/threads.h: ... here.
13674 * sysdeps/hurd/stdc-predef.h: New file.
13676 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13678 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
13679 tst-cet-setcontext-1 if CET is enabled.
13680 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
13681 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
13683 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13685 * include/threads.h: Move to ...
13686 * sysdeps/nptl/threads.h: ... here.
13687 * sysdeps/htl/threads.h: New file.
13688 * conform/Makefile (linknamespace-libs-ISO11): Use
13689 static-thread-library instead of linking libpthread.
13690 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
13692 2018-07-25 Florian Weimer <fweimer@redhat.com>
13694 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
13695 nanoseconds into seconds.
13696 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
13697 (do_test): Likewise.
13698 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
13699 (do_test): Likewise. Avoid nanosecond overflow and spurious
13700 timeouts due to system load.
13701 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
13702 (child_wait): Increment it.
13703 (do_test): Wait as long as necessary until all expected threads
13706 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
13707 H.J. Lu <hongjiu.lu@intel.com>
13709 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
13711 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
13712 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
13713 (__push___start_context): New.
13714 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
13716 (__getcontext): Record the current shadow stack base. Save the
13717 caller's shadow stack pointer and base.
13718 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
13719 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
13720 (__push___start_context): New prototype.
13721 (__makecontext): Call __push___start_context to allocate a new
13722 shadow stack, push __start_context onto the new stack as well
13723 as the new shadow stack.
13724 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
13726 (__setcontext): Restore the target shadow stack.
13727 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
13729 (__swapcontext): Record the current shadow stack base. Save
13730 the caller's shadow stack pointer and base. Restore the target
13732 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
13733 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
13734 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
13736 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13738 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
13739 tst-setcontext8 and tst-setcontext9.
13740 * stdlib/tst-setcontext6.c: New file.
13741 * stdlib/tst-setcontext7.c: Likewise.
13742 * stdlib/tst-setcontext8.c: Likewise.
13743 * stdlib/tst-setcontext9.c: Likewise.
13745 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13747 * stdlib/Makefile ((tests): Add tst-setcontext5.
13748 * stdlib/tst-setcontext5.c: New file.
13750 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13752 * stdlib/Makefile (tests): Add tst-setcontext4.
13753 * stdlib/tst-setcontext4.c: New file.
13755 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13757 * stdlib/Makefile (tests): Add tst-swapcontext1.
13758 * stdlib/tst-swapcontext1.c: New test.
13760 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13762 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
13763 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
13764 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
13765 and tst-cet-legacy-4c.
13766 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
13767 and tst-cet-legacy-mod-4.
13768 (CFLAGS-tst-cet-legacy-2.c): New.
13769 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
13770 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
13771 (CFLAGS-tst-cet-legacy-3.c): Likewise.
13772 (CFLAGS-tst-cet-legacy-4.c): Likewise.
13773 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
13774 ($(objpfx)tst-cet-legacy-1): Likewise.
13775 ($(objpfx)tst-cet-legacy-2): Likewise.
13776 ($(objpfx)tst-cet-legacy-2.out): Likewise.
13777 ($(objpfx)tst-cet-legacy-2a): Likewise.
13778 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
13779 ($(objpfx)tst-cet-legacy-4): Likewise.
13780 ($(objpfx)tst-cet-legacy-4.out): Likewise.
13781 ($(objpfx)tst-cet-legacy-4a): Likewise.
13782 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
13783 (tst-cet-legacy-4a-ENV): Likewise.
13784 ($(objpfx)tst-cet-legacy-4b): Likewise.
13785 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
13786 (tst-cet-legacy-4b-ENV): Likewise.
13787 ($(objpfx)tst-cet-legacy-4c): Likewise.
13788 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
13789 (tst-cet-legacy-4c-ENV): Likewise.
13790 * sysdeps/x86/tst-cet-legacy-1.c: New file.
13791 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
13792 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
13793 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
13794 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
13795 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
13796 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
13797 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
13798 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
13799 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
13800 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
13802 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13804 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
13805 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
13807 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
13808 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
13811 2018-07-25 Andreas Schwab <schwab@suse.de>
13814 * locale/weightwc.h (findidx): Handle the case where usrc is a
13815 prefix of cp but one character too short.
13817 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13819 * NEWS: Add ISO C threads addition.
13821 2018-07-24 Florian Weimer <fweimer@redhat.com>
13823 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13824 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
13825 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
13828 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
13830 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
13831 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
13832 <sys/prctl.h> and <asm/prctl.h>.
13833 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
13834 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
13836 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
13837 ARCH_CET_LEGACY_BITMAP.
13838 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
13839 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
13840 * sysdeps/x86/libc-start.c: Include <startup.h>.
13842 2018-07-24 Florian Weimer <fweimer@redhat.com>
13844 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
13845 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
13847 2018-07-24 Rical Jasan <rj@2c3t.io>
13848 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13849 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
13852 * manual/debug.texi: Update adjacent chapter name.
13853 * manual/probes.texi: Likewise.
13854 * manual/threads.texi (ISO C Threads): New section.
13855 (POSIX Threads): Convert to a section.
13857 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13858 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
13861 * nptl/Makefile (tests): Add new test files.
13862 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
13863 * nptl/tst-cnd-basic.c: Likewise.
13864 * nptl/tst-cnd-broadcast.c: Likewise.
13865 * nptl/tst-cnd-timedwait.c: Likewise.
13866 * nptl/tst-mtx-basic.c: Likewise.
13867 * nptl/tst-mtx-recursive.c: Likewise.
13868 * nptl/tst-mtx-timedlock.c: Likewise.
13869 * nptl/tst-mtx-trylock.c: Likewise.
13870 * nptl/tst-thrd-basic.c: Likewise.
13871 * nptl/tst-thrd-detach.c: Likewise.
13872 * nptl/tst-thrd-sleep.c: Likewise.
13873 * nptl/tst-tss-basic.c: Likewise.
13875 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13878 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
13879 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
13881 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13882 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13883 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13884 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13885 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13886 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13887 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13888 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13889 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13890 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13891 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13892 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
13899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13900 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13901 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13902 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13903 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13904 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13905 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13906 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13907 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13908 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
13909 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
13910 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
13911 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
13912 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
13914 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
13915 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
13916 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
13917 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
13918 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
13919 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
13920 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
13921 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
13922 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
13923 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
13924 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
13925 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
13927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
13928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13932 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
13933 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
13934 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
13935 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
13936 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
13937 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
13938 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
13939 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
13942 * conform/data/threads.h-data (thread_local): New macro.
13943 (TSS_DTOR_ITERATIONS): Likewise.
13945 (tss_dtor_t): Likewise.
13946 (tss_create): New function.
13947 (tss_get): Likewise.
13948 (tss_set): Likewise.
13949 (tss_delete): Likewise.
13950 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
13951 tss_get, and tss_set objects.
13952 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
13953 * nptl/tss_create.c: New file.
13954 * nptl/tss_delete.c: Likewise.
13955 * nptl/tss_get.c: Likewise.
13956 * nptl/tss_set.c: Likewise.
13957 * sysdeps/nptl/threads.h (thread_local): New define.
13958 (TSS_DTOR_ITERATIONS): Likewise.
13959 (tss_t): New typedef.
13960 (tss_dtor_t): Likewise.
13961 (tss_create): New prototype.
13962 (tss_get): Likewise.
13963 (tss_set): Likewise.
13964 (tss_delete): Likewise.
13967 * conform/data/threads.h-data (cnd_t): New type.
13968 (cnd_init): New function.
13969 (cnd_signal): Likewise.
13970 (cnd_broadcast): Likewise.
13971 (cnd_wait): Likewise.
13972 (cnd_timedwait): Likewise.
13973 (cnd_destroy): Likewise.
13974 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
13975 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
13977 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
13978 * nptl/cnd_broadcast.c: New file.
13979 * nptl/cnd_destroy.c: Likewise.
13980 * nptl/cnd_init.c: Likewise.
13981 * nptl/cnd_signal.c: Likewise.
13982 * nptl/cnd_timedwait.c: Likewise.
13983 * nptl/cnd_wait.c: Likewise.
13984 * sysdeps/nptl/threads.h (cnd_t): New type.
13985 (cnd_init): New prototype.
13986 (cnd_signa): Likewise.
13987 (cnd_broadcast): Likewise.
13988 (cnd_wait): Likewise.
13989 (cnd_timedwait): Likewise.
13990 (cnd_destroy): Likewise.
13993 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
13994 (once_flag): New type.
13995 (call_once): New function.
13996 * nptl/Makefile (libpthread-routines): Add call_once object.
13997 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
13998 * nptl/call_once.c: New file.
13999 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
14000 (once_flag): New type.
14001 (call_once): New prototype.
14004 * conform/data/threads.h-data (mtx_plain): New constant.
14005 (mtx_recursive): Likewise.
14006 (mtx_timed): Likewise.
14008 (mtx_init): New function.
14009 (mtx_lock): Likewise.
14010 (mtx_timedlock): Likewise.
14011 (mtx_trylock): Likewise.
14012 (mtx_unlock): Likewise.
14013 (mtx_destroy): Likewise.
14014 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
14015 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
14016 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
14017 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
14018 * nptl/mtx_destroy.c: New file.
14019 * nptl/mtx_init.c: Likewise.
14020 * nptl/mtx_lock.c: Likewise.
14021 * nptl/mtx_timedlock.c: Likewise.
14022 * nptl/mtx_trylock.c: Likewise.
14023 * nptl/mtx_unlock.c: Likewise.
14024 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
14025 (mtx_recursive): Likewise.
14026 (mtx_timed): Likewise.
14028 (mtx_init): New prototype.
14029 (mtx_lock): Likewise.
14030 (mtx_timedlock): Likewise.
14031 (mtx_trylock): Likewise.
14032 (mtx_unlock): Likewise.
14033 (mtx_destroy): Likewise.
14036 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
14037 (linknamespace-libs-ISO11): Add libpthread.a.
14038 * conform/data/threads.h-data: New file: add C11 thrd_* types and
14040 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
14041 * nptl/Makefile (headers): Add threads.h.
14042 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
14043 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
14045 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
14046 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
14047 thrd_join, thrd_sleep, and thrd_yield symbols.
14048 * nptl/descr.h (struct pthread): Add c11 field.
14049 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
14050 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
14051 routine with expected function prototype.
14052 (__pthread_create_2_1): Add C11 threads check based on attribute
14054 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
14055 * nptl/thrd_create.c: New file.
14056 * nptl/thrd_current.c: Likewise.
14057 * nptl/thrd_detach.c: Likewise.
14058 * nptl/thrd_equal.c: Likewise.
14059 * nptl/thrd_exit.c: Likewise.
14060 * nptl/thrd_join.c: Likewise.
14061 * nptl/thrd_priv.h: Likewise.
14062 * nptl/thrd_sleep.c: Likewise.
14063 * nptl/thrd_yield.c: Likewise.
14064 * include/threads.h: Likewise.
14066 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14068 * bits/indirect-return.h: New file.
14069 * misc/sys/cdefs.h (__glibc_has_attribute): New.
14070 * sysdeps/x86/bits/indirect-return.h: Likewise.
14071 * stdlib/Makefile (headers): Add bits/indirect-return.h.
14072 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
14073 (swapcontext): Add __INDIRECT_RETURN.
14074 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
14075 (prepare_test_buffer): Use it.
14077 2018-07-24 Andreas Schwab <schwab@suse.de>
14080 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
14081 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
14083 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14085 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
14086 Redefine if shadow stack is enabled.
14087 (SYSCALL_ERROR_LABEL): Likewise.
14088 (__vfork): Pop shadow stack and jump back to to caller directly
14089 when shadow stack is in use.
14090 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
14091 Redefine if shadow stack is enabled.
14092 (SYSCALL_ERROR_LABEL): Likewise.
14093 (__vfork): Pop shadow stack and jump back to to caller directly
14094 when shadow stack is in use.
14096 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14098 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
14101 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
14104 2018-07-20 Joseph Myers <joseph@codesourcery.com>
14106 * scripts/build-many-glibcs.py (Context.checkout): Default
14107 binutils version to 2.31 branch.
14109 2018-07-20 Zong Li <zong@andestech.com>
14111 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
14112 URL of gcc's tarball.
14114 2018-07-20 Florian Weimer <fweimer@redhat.com>
14117 * posix/regcomp.c (build_equiv_class): When comparing weights, do
14118 not compare an extra byte after the end of the weights.
14120 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14122 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
14124 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
14126 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
14127 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
14128 * scripts/check-execstack.awk: Consider `xfail' variable containing a
14129 list of libraries whose stack executability is expected.
14130 * elf/Makefile ($(objpfx)check-execstack.out): Pass
14131 $(check-execstack-xfail) to check-execstack.awk through `xfail'
14133 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
14134 libc.so libpthread.so.
14136 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
14138 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
14140 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
14142 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
14144 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
14146 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14148 * benchtests/scripts/compare_bench.py (__main__): use the argparse
14149 library to improve command line parsing.
14150 (__main__): make schema file as optional parameter (--schema),
14151 defaulting to benchtests/scripts/benchout.schema.json.
14152 (main): move out of the parsing stuff to __main_ and leave it
14153 only as caller of main comparison functions.
14155 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
14157 * NEWS: Add a note for Intel CET status.
14158 * manual/install.texi: Likewise.
14159 * INSTALL: Regenerated.
14161 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
14164 * localedata/locales/oc_FR (mon): Rename to...
14165 (alt_mon): This, then update October (typo fix).
14166 (mon): New content (genitive case, month names preceded by
14170 * localedata/locales/oc_FR (abday): Update all items.
14171 (day): Update Wednesday and Saturday (typo fixes).
14172 (abmon): Update all items, except May.
14173 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
14174 (LC_IDENTIFICATION): Bump the revision number and date.
14175 Keep the "category" entries in alphabetic order.
14176 (LC_ADDRESS): Remove no longer needed comment.
14177 (LC_COLLATE): Use “copy "ca_ES"”.
14178 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
14181 2018-07-18 Joseph Myers <joseph@codesourcery.com>
14183 * grp/tst_fgetgrent.c: Include <unistd.h>.
14184 (main): Use mkstemp instead of tmpnam.
14185 * io/test-utime.c (main): Likewise.
14186 * posix/annexc.c (macrofile): Change to modifiable array.
14187 (main): Remove macrofile here.
14188 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
14190 (check_header): Do not remove macrofile here.
14191 * posix/bug-getopt1.c: Include <stdlib.h>.
14192 (do_test): Use mkstemp instead of tmpnam.
14193 * posix/bug-getopt2.c: Include <stdlib.h>.
14194 (do_test): Use mkstemp instead of tmpnam.
14195 * posix/bug-getopt3.c: Include <stdlib.h>.
14196 (do_test): Use mkstemp instead of tmpnam.
14197 * posix/bug-getopt4.c: Include <stdlib.h>.
14198 (do_test): Use mkstemp instead of tmpnam.
14199 * posix/bug-getopt5.c: Include <stdlib.h>.
14200 (do_test): Use mkstemp instead of tmpnam.
14201 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
14202 (main): Use mkstemp instead of tmpnam.
14203 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
14204 (main): Use mkstemp instead of tmpnam.
14205 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
14206 (main): use mkstemp instead of tmpnam.
14207 * stdlib/isomac.c (macrofile): Change to modifiable array.
14208 (main): Remove macrofile here.
14209 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
14211 (check_header): Do not remove macrofile here.
14213 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14215 * manual/tunables.texi: Document glibc.tune.x86_ibt and
14216 glibc.tune.x86_shstk.
14218 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14220 * NEWS: Mention --enable-cet.
14221 * manual/install.texi: Document --enable-cet.
14222 * INSTALL: Regenerated.
14224 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14226 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
14227 Add _CET_NOTRACK before indirect jump to jump table.
14229 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14231 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
14232 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14235 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14237 * sysdeps/i386/i686/multiarch/strcat-sse2.S
14238 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14241 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14243 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
14244 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14247 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14249 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
14250 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14253 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14255 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
14256 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14258 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
14260 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14262 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
14263 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14266 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14268 * sysdeps/i386/i686/multiarch/memset-sse2.S
14269 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14272 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14274 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
14275 indirect jump to jump table.
14277 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14279 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
14280 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14282 (MEMCPY): Likewise.
14284 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14286 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
14287 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14289 (MEMCPY): Likewise.
14291 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14293 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
14294 _CET_NOTRACK before indirect jump to jump table.
14296 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14298 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
14299 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14302 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14304 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
14305 indirect jump to jump table.
14307 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
14310 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
14311 (LOCALES): Likewise.
14312 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
14313 * localedata/locales/sah_RU: New file.
14314 * localedata/sah_RU.UTF-8.in: New file.
14316 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14318 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
14320 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
14321 _CET_ENDBR to indirect jump targets and adjust jump destination
14323 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
14325 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
14326 _CET_ENDBR to indirect jump targets and adjust jump destination
14328 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
14330 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
14331 _CET_ENDBR to indirect jump targets and adjust jump destination
14334 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14336 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
14339 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14341 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
14343 (_dl_tlsdesc_undefweak): Likewise.
14344 (_dl_tlsdesc_dynamic): Likewise.
14345 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
14346 (_dl_tlsdesc_resolve_rel): Likewise.
14347 (_dl_tlsdesc_resolve_rela): Likewise.
14348 (_dl_tlsdesc_resolve_hold): Likewise.
14349 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
14350 (_dl_tlsdesc_undefweak): Likewise.
14351 (_dl_tlsdesc_dynamic): Likewise.
14352 (_dl_tlsdesc_resolve_rela): Likewise.
14353 (_dl_tlsdesc_resolve_hold): Likewise.
14355 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14357 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
14359 * sysdeps/x86_64/crti.S (_init): Likewise.
14362 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
14365 * localedata/locales/os_RU (mon): Rename to...
14367 (mon): Import from CLDR (genitive case).
14369 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14371 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
14372 cet-tunables.h> when CET is enabled.
14374 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
14377 * configure.ac: Add --enable-cet.
14378 * configure: Regenerated.
14379 * elf/Makefille (all-built-dso): Add a comment.
14380 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
14381 Include <dl-prop.h>.
14382 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
14384 * elf/dl-open.c: Include <dl-prop.h>.
14385 (dl_open_worker): Call _dl_open_check.
14386 * elf/rtld.c: Include <dl-prop.h>.
14387 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
14389 * sysdeps/generic/dl-prop.h: New file.
14390 * sysdeps/i386/dl-cet.c: Likewise.
14391 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
14392 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
14393 * sysdeps/x86/cet-tunables.h: Likewise.
14394 * sysdeps/x86/check-cet.awk: Likewise.
14395 * sysdeps/x86/configure: Likewise.
14396 * sysdeps/x86/configure.ac: Likewise.
14397 * sysdeps/x86/dl-cet.c: Likewise.
14398 * sysdeps/x86/dl-procruntime.c: Likewise.
14399 * sysdeps/x86/dl-prop.h: Likewise.
14400 * sysdeps/x86/libc-start.h: Likewise.
14401 * sysdeps/x86/link_map.h: Likewise.
14402 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
14404 (_dl_runtime_profile): Likewise.
14405 (_dl_runtime_resolve_shstk): New.
14406 (_dl_runtime_profile_shstk): Likewise.
14407 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
14409 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
14410 (CFLAGS-.os): Likewise.
14411 (CFLAGS-.op): Likewise.
14412 (CFLAGS-.oS): Likewise.
14413 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
14415 (tests-special): Add $(objpfx)check-cet.out.
14416 (cet-built-dso): New.
14417 (+$(cet-built-dso:=.note)): Likewise.
14418 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
14419 ($(objpfx)check-cet.out): New.
14420 (generated): Add check-cet.out.
14421 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
14423 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
14424 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
14425 (init_cpu_features): Call get_cet_status to check CET status
14426 and update dl_x86_feature_1 with CET status. Call
14427 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
14428 (set_x86_shstk). Disable and lock CET in libc.a.
14429 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
14430 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
14431 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
14432 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
14433 (_CET_ENDBR): Define if not defined.
14434 (ENTRY): Add _CET_ENDBR.
14435 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
14437 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
14439 (_dl_runtime_profile): Likewise.
14441 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
14444 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
14445 restore r2 on longjmp.
14446 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
14448 Added rules to build test tst-setjmp-bug21895-static.
14449 Added module setjmp-bug21895 and rules to build a shared object from it.
14450 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
14451 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
14453 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
14455 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
14456 * benchtests/bench-strstr.c: Likewise.
14457 * string/memmem.c (FASTSEARCH): Define.
14458 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
14459 Add support for FASTSEARCH.
14460 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
14461 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
14462 (FASTSEARCH): Define.
14463 * string/test-strcasestr.c: Rename __strnlen to strnlen.
14464 * string/test-strstr.c: Likewise.
14466 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
14468 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
14469 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
14471 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
14472 H.J. Lu <hongjiu.lu@intel.com>
14474 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
14475 (__longjmp): Restore shadow stack pointer if shadow stack is
14476 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
14477 isn't defined for __longjmp_cancel.
14478 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
14479 (_setjmp): Save shadow stack pointer if shadow stack is enabled
14480 and SHADOW_STACK_POINTER_OFFSET is defined.
14481 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
14482 (setjmp): Save shadow stack pointer if shadow stack is enabled
14483 and SHADOW_STACK_POINTER_OFFSET is defined.
14484 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
14485 (__sigsetjmp): Save shadow stack pointer if shadow stack is
14486 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14487 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
14489 (____longjmp_chk): Restore shadow stack pointer if shadow stack
14490 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14491 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
14492 Remove jmp_buf-ssp.sym.
14493 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14495 (____longjmp_chk): Restore shadow stack pointer if shadow stack
14496 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14497 * sysdeps/x86/Makefile (gen-as-const-headers): Add
14499 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
14500 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
14501 (__longjmp): Restore shadow stack pointer if shadow stack is
14502 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
14503 isn't defined for __longjmp_cancel.
14504 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
14505 (__sigsetjmp): Save shadow stack pointer if shadow stack is
14506 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14508 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
14511 * nptl/pthread_create.c: Include <tls-setup.h>.
14512 (__pthread_create_2_1): Call tls_setup_tcbhead.
14513 * sysdeps/generic/tls-setup.h: New file.
14514 * sysdeps/x86/nptl/tls-setup.h: Likewise.
14515 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
14516 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
14518 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
14520 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
14521 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
14522 (X86_FEATURE_1_SHSTK): Likewise.
14523 (CET_ENABLED): Likewise.
14524 (IBT_ENABLED): Likewise.
14525 (SHSTK_ENABLED): Likewise.
14527 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
14530 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
14531 (LOCALES): Likewise.
14532 * localedata/dsb_DE.UTF-8.in: New file.
14533 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
14535 2018-07-12 Florian Weimer <fweimer@redhat.com>
14537 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
14538 __mprotect, not mprotect.
14540 2018-07-11 Florian Weimer <fweimer@redhat.com>
14542 * io/Makefile (headers): Add bits/statx.h.
14544 2018-07-10 Mike FABIAN <mfabian@redhat.com>
14546 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
14547 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
14549 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
14550 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
14553 2018-07-10 Florian Weimer <fweimer@redhat.com>
14555 * io/Makefile (routines): Add statx.
14556 (tests-internal): Add tst-statx.
14557 * io/Versions (GLIBC_2.28): Export statx.
14558 * io/bits/statx.h: New file.
14559 * io/sys/stat.h [__USE_GNU]: Include it.
14560 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
14561 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
14563 * io/statx.c: New file.
14564 * io/statx_generic.: Likewise.
14565 * io/tst-statx.: Likewise.
14566 * include/bits/statx.h: Likewise.
14567 * sysdeps/unix/sysv/linux/kernel-features.h
14568 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
14569 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14570 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
14571 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
14573 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14574 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
14575 * sysdeps/unix/sysv/linux/statx.c: New file.
14576 * manual/filesys.texi: Note that statx is undocumented.
14577 * sysdeps/**/libc*.abilist: Update.
14579 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14581 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
14582 a kernel issue which lead to test failure in some cases.
14584 2018-07-10 Florian Weimer <fweimer@redhat.com>
14587 * posix/regexec.c (check_node_accept_bytes): When comparing
14588 weights, do not compare an extra byte after the end of the
14591 2018-07-10 Florian Weimer <fweimer@redhat.com>
14593 * libio/readline.c: Fix copyright year.
14594 * libio/tst-readline.c Likewise.
14595 * nss/tst-nss-files-hosts-getent.c: Likewise.
14597 2018-07-06 Florian Weimer <fweimer@redhat.com>
14600 * nss/nss_files/files-XXX.c (internal_getent): Use
14601 __libc_readline_unlocked. Seek back to the start of the line if
14602 parsing failes with ERANGE.
14603 (get_contents_ret, get_contents): Remove.
14604 * nss/tst-nss-files-hosts-getent.c: New file.
14605 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
14606 (tst-nss-files-hosts-getent): Link with -ldl.
14608 2018-07-06 Florian Weimer <fweimer@redhat.com>
14610 * include/stdio.h (__libc_readline_unlocked): Declare.
14611 (__ftello64, __fseeko64): Declare aliases.
14612 * libio/readline.c: New file.
14613 * libio/tst-readline.c: Likewise.
14614 (routines): Add readline.
14615 (tests-internal): Add tst-readlime.
14616 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
14617 __libc_readline_unlocked.
14618 * libio/fseeko.c (__fseeko): Rename from fseeko.
14619 (fseeko): Add alias.
14620 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
14621 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
14622 (fseeko64): Add alias.
14623 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
14624 * libio/ftello64.c (__ftello64): Rename from ftello64.
14625 (ftello64): Add alias.
14627 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
14629 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
14632 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
14634 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
14635 Use dl_hwcap without masking.
14636 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
14637 Remove HWCAP_CPUID.
14639 2018-07-06 Florian Weimer <fweimer@redhat.com>
14641 * conform/conformtest.pl (checknamespace): Escape literal braces
14642 in regular expressions.
14644 2018-07-06 Amit Pawar <amit.pawar@amd.com>
14646 * sysdeps/x86/cpu-features.c (get_common_indeces):
14647 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
14648 * sysdeps/x86/cpu-features.c (init_cpu_features):
14649 AVX_Fast_Unaligned_Load is disabled for Excavator core.
14651 2018-07-05 Florian Weimer <fweimer@redhat.com>
14653 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
14655 (CFLAGS-elf-init.oS): Likewise.
14657 2018-07-05 Florian Weimer <fweimer@redhat.com>
14658 Carlos O'Donell <carlos@redhat.com>
14660 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
14661 $(no-stack-protector). stack_chk_fail_local.c can be compiled
14662 with stack protector enabled because there is no risk of infinite
14665 2018-07-05 Maciej W. Rozycki <macro@mips.com>
14669 * libc-abis (ABSOLUTE): New ABI.
14670 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
14671 * NEWS: Mention the new ABI.
14673 2018-07-05 Florian Weimer <fweimer@redhat.com>
14676 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
14677 (RENAME_WHITEOUT): Define.
14678 [__USE_GNU] (renameat2): Declare.
14679 * stdio-common/Makefile (routines): Add renameat2.
14680 (tests): Add tst-renameat2.
14681 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
14682 * stdio-common/renameat2.c: New file.
14683 * stdio-common/tst-renameat2.c: Likewise.
14684 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
14685 * manual/filesys.texi (Temporary Files): Note that renameat2 is
14687 * sysdeps/unix/sysv/linux/kernel-features.h
14688 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
14689 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14690 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
14691 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14692 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
14693 * sysdeps/unix/sysv/linux/sh/kernel-features.h
14694 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
14695 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14696 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
14697 * include/stdio.h (__renameat): Add alias for renameat.
14698 * stdio-common/renameat.c (__renameat): Rename from renameat.
14699 Add hidden definition and alias.
14700 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
14701 * sysdeps/mach/hurd/renameat.c: Likewise.
14702 * sysdeps/**/libc*.abilist: Add renameat2.
14704 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14706 * posix/bug-regex33.c: Fix build after regex sync.
14708 2018-07-04 Carlos O'Donell <carlos@redhat.com>
14711 * localedata/tst-langinfo-setlocale.c: New file.
14712 * localedata/tst-langinfo-setlocale-static.c: New file.
14713 * localedata/tst-langinfo-newlocale.c: New file.
14714 * localedata/tst-langinfo-newlocale-static.c: New file.
14715 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
14716 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
14717 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
14718 (tests-static): Remove tst-langinfo-static. Add
14719 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
14720 (tests-special): Remove $(objpfx)tst-langinfo.out,
14721 $(objpfx)tst-langinfo-static.out. Add
14722 $(objpfx)tst-langinfo-setlocale.out,
14723 $(objpfx)tst-langinfo-newlocale.out,
14724 $(objpfx)tst-langinfo-setlocale-static.out,
14725 $(objpfx)tst-langinfo-newlocale-static.out.
14726 ($(objpfx)tst-langinfo.out): Remove.
14727 ($(objpfx)tst-langinfo-static.out): Remove.
14728 ($(objpfx)tst-langinfo-newlocale.out): New target.
14729 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
14730 (test-xfail-tst-langinfo-newlocale-static): Add.
14731 ($(objpfx)tst-langinfo-setlocale.out): New target.
14732 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
14733 * localedata/tst-langinfo.c: Call test_locale.
14734 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
14737 2018-07-04 Florian Weimer <fweimer@redhat.com>
14739 testrun.sh: Implement --tool=strace, --tool=valgrind
14740 * Makefile (testrun-script): Define variable.
14741 (testrun.sh): Use variable.
14742 * manual/install.texi (Tools for Compilation): make 4.0 or later
14744 * configure.ac: Check for make 4.0 or later.
14745 * INSTALL: Regenerate.
14746 * configure: Likewise.
14748 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14754 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
14755 * posix/PCRE.tests: Remove invalid test.
14756 * posix/bug-regex28.c: Fix expected values for used syntax.
14757 * posix/bug-regex37.c: New file.
14758 * posix/bug-regex38.c: Likewise.
14759 * posix/regcomp.c: Sync with gnulib.
14760 * posix/regex.c: Likewise.
14761 * posix/regex.h: Likewise.
14762 * posix/regex_internal.c: Likewise.
14763 * posix/regex_internal.h: Likewise.
14764 * posix/regexec.c: Likewise.
14766 2018-06-26 Mike FABIAN <mfabian@redhat.com>
14769 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
14770 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
14771 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
14772 * localedata/unicode-gen/PropList.txt: likewise.
14773 * localedata/unicode-gen/UnicodeData.txt: likewise.
14774 * localedata/charmaps/UTF-8: Regenerate.
14775 * localedata/locales/i18n_ctype: likewise.
14776 * localedata/locales/tr_TR: likewise.
14777 * localedata/locales/translit_circle: likewise.
14778 * localedata/locales/translit_cjk_compat: likewise.
14779 * localedata/locales/translit_combining: likewise.
14780 * localedata/locales/translit_compat: likewise.
14781 * localedata/locales/translit_font: likewise.
14782 * localedata/locales/translit_fraction: likewise.
14784 2018-07-03 Florian Weimer <fweimer@redhat.com>
14787 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
14788 * stdio-common/tst-printf.sh: Adjust expected output.
14789 * LICENSES: Update.
14791 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14793 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
14796 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14798 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
14799 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
14800 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
14801 * stdio-common/tst-printfsz-islongdouble.c: New file.
14802 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
14803 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
14804 [subdir == stdio-common] (routines): Add ieee128-printf_size.
14805 [subdir == stdio-common] (tests-internal): Add
14806 test-printf-size-ieee128, and test-printf-size-ibm128.
14807 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
14808 (CFLAGS-test-printf-size-ibm128.c): New variables.
14809 [subdir == stdio-common] (tests-special): Add
14810 $(objpfx)test-printf-size-ieee128.out and
14811 $(objpfx)test-printf-size-ibm128.out.
14812 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
14813 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
14814 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
14815 __printf_sizeieee128.
14816 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
14818 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
14820 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
14823 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
14825 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
14826 (exp2f_inline): Likewise.
14827 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
14828 (__math_uflowf): Likewise.
14829 (__math_may_uflowf): Likewise.
14830 (__math_divzerof): Likewise.
14831 (__math_invalidf): Likewise.
14832 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
14833 (__math_oflowf): Likewise.
14834 (__math_uflowf): Likewise.
14835 (__math_may_uflowf): Likewise.
14836 (__math_divzerof): Likewise.
14837 (__math_invalidf): Likewise.
14839 2018-06-29 DJ Delorie <dj@redhat.com>
14840 Carlos O'Donell <carlos@redhat.com>
14843 * include/libc-symbols.h: Comment the freeres framework.
14844 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
14845 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
14846 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
14847 * dlfcn/dlerror.c: Include libc-symbols.h
14848 (__dlerror_main_freeres): New function.
14849 * dlfcn/dlfreeres.c: New file.
14850 * dlfcn/sdlfreeres.c: New file.
14851 * include/dlfcn.h: Declare __dlerror_main_freeres.
14852 * malloc/set-freeres.c: Declare __libdl_freeres, and
14853 __libpthread_freeres.
14854 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
14855 the releavant libraries are loaded.
14856 * malloc/thread-freeres.c: Add comments.
14857 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
14858 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
14859 * nptl/allocatestack.c (__nptl_free_stacks): New function.
14860 (__free_stacks): Rename to...
14861 (free_stacks): ...this. Mark static.
14862 (queue_stack): Call free_stacks.
14863 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
14864 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
14865 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
14866 ptr_freeres element from struct.
14867 (pthread_functions): Remove .ptr_freeres from struct initializer.
14868 [SHARED] (nptl_freeres): Remove.
14869 * nptl/nptlfreeres.c: New file.
14871 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
14872 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
14874 (__free_stacks): Rename to...
14875 (__nptl_stacks_freeres): ...this.
14876 (__shm_directory_freeres): Declare.
14877 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
14878 (__nptl_unwind_freeres): ...this.
14879 * resolv/res-close.c: Add comment.
14880 * resolv/resolv_conf.c: Include libc-symbols.h.
14881 * string/strerror_l.c: Include libc-symbols.h.
14882 * sunrpc/rpc_thread.c: Include libc-symbols.h.
14883 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
14884 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
14885 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
14887 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14889 * stdlib/tst-strfmon_l.c: Add tests for long double.
14891 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
14894 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
14895 * localedata/locales/dsb_DE: New file.
14897 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
14900 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
14902 (alt_mon): New entry, import from CLDR (nominative case).
14904 2018-06-29 Sylvain Lesage <severo@rednegra.net>
14907 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
14909 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
14911 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
14912 Use vector registers.
14914 * sysdeps/aarch64/multiarch/memmove_falkor.S
14915 (__memcpy_falkor): Use vector registers.
14917 2018-06-29 Martin Sebor <msebor@redhat.com>
14919 * manual/stdio.texi (Customizing Printf): Mention interaction
14920 with GCC built-ins.
14922 2018-06-29 Maciej W. Rozycki <macro@mips.com>
14925 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
14926 `st_value' is 0 if `st_shndx' is SHN_ABS.
14927 * elf/tst-absolute-zero.c: New file.
14928 * elf/tst-absolute-zero-lib.c: New file.
14929 * elf/tst-absolute-zero-lib.lds: New file.
14930 * elf/Makefile (tests): Add `tst-absolute-zero'.
14931 (modules-names): Add `tst-absolute-zero-lib'.
14932 (LDLIBS-tst-absolute-zero-lib.so): New variable.
14933 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
14934 ($(objpfx)tst-absolute-zero: New dependency.
14936 2018-06-29 Zack Weinberg <zackw@panix.com>
14938 * configure.ac: New command-line option --disable-crypt.
14939 Force --disable-nss-crypt when --disable-crypt is given, with a
14940 warning if it was explicitly enabled.
14941 * configure: Regenerate.
14942 * config.make.in: New boolean substitution variable $(build-crypt).
14943 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
14944 when $(build-crypt).
14945 * manual/install.texi: Document --disable-crypt.
14946 * INSTALL: Regenerate.
14948 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
14949 which is never set.
14950 * conform/Makefile: Only include libcrypt.a in
14951 linknamespace-libs-xsi and linknamespace-libs-XPG4
14952 when $(build-crypt).
14953 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
14954 USE_CRYPT to 1 when $(build-crypt).
14955 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
14956 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
14957 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
14959 2018-06-29 Zack Weinberg <zackw@panix.com>
14961 * crypt/crypt.h, posix/unistd.h: Update comments and
14962 prototypes for crypt and crypt_r.
14964 * manual/crypt.texi (Cryptographic Functions): New initial
14966 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
14967 (Unpredictable Bytes): Improve initial exposition. Clarify error
14968 behavior of getentropy and getrandom.
14969 * manual/examples/genpass.c: Generate a salt using getentropy
14970 instead of the current time. Use hash $5$ (SHA-2-256).
14971 * manual/examples/testpass.c: Demonstrate validation against
14972 hashes generated with three different one-way functions.
14974 * manual/intro.texi: crypt.texi does not need an overview
14977 * manual/nss.texi, manual/memory.texi, manual/socket.texi
14978 * manual/terminal.texi: Consistently refer to "passphrases"
14979 * instead of "passwords", and to the "user database" instead
14980 * of the "password database".
14981 * manual/users.texi: Similarly. Add notes about how actual
14982 passphrase hashes are now stored in the shadow database.
14983 Remove 20-year-old junk todo note.
14985 2018-06-29 Zack Weinberg <zackw@panix.com>
14987 * manual/crypt.texi: Use a normal top-level @node declaration.
14988 Move most of the introductory text to the 'crypt' section.
14989 Move the example programs below the @deftypefun for 'crypt_r'.
14990 Move the 'getpass' section...
14991 * manual/terminal.texi: ...here.
14993 2018-06-29 Zack Weinberg <zackw@panix.com>
14994 Florian Weimer <fweimer@redhat.com>
14996 * posix/unistd.h: Do not declare encrypt.
14997 (_XOPEN_CRYPT): Remove macro definition.
14998 (crypt): Declare only for _USE_MISC.
14999 * stdlib/stdlib.h: Do not declare setkey.
15000 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
15001 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
15003 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
15004 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
15005 into compat symbols. Don't define initial_perm if it's not
15007 * crypt/cert.c: Link explicitly with the expected versions for
15008 setkey and encrypt. If they are not available at all, mark
15009 the test as unsupported.
15011 * sunrpc/des_crypt.c: Unconditionally block linkage with
15012 cbc_crypt and ecb_crypt for new binaries.
15013 * sunrpc/des_soft.c: Unconditionally block linkage with
15014 des_setparity for new binaries.
15016 * manual/crypt.texi: Remove the entire "DES Encryption"
15017 section. Also remove the paragraph talking about FIPS 140-2
15018 from the introduction.
15019 * manual/string.texi (strfry, memfrob): Revise. Recommend use
15020 of libgcrypt for "real" encryption, not DES.
15021 * manual/conf.texi (Constants for Sysconf): Mention that
15022 _XOPEN_CRYPT is no longer impelemented.
15024 * conform/data/unistd.h-data: Remove crypt function declaration.
15026 2018-06-29 Florian Weimer <fweimer@redhat.com>
15029 * malloc/hooks.c: Update comments on restoring of dumped heaps.
15030 (disallow_malloc_check): Remove variable.
15031 (__malloc_check_init): Adjust.
15032 (malloc_set_state): Update comment.
15033 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
15036 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15039 * localedata/locales/ast_ES (mon): Rename to...
15041 (mon): Import from CLDR (genitive case).
15043 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
15044 Jakub Sitnicki <jkbs@redhat.com>
15047 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
15048 on NLM_F_DUMP_INTR.
15050 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
15052 * manual/llio.texi: Remove spurious space.
15054 2018-06-28 Florian Weimer <fweimer@redhat.com>
15057 * time/bits/types/struct_timespec.h: Change header inclusion guard to
15060 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15062 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
15063 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
15064 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
15065 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
15066 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
15067 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
15068 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
15070 2018-06-27 Maciej W. Rozycki <macro@mips.com>
15073 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
15074 Copy and null-terminate entries that are not terminated, in
15075 addition to empty ones.
15077 2018-06-27 Florian Weimer <fweimer@redhat.com>
15080 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
15081 (extend_alloca_account): Remove.
15082 * manual/stdio.texi (Variable Arguments Output): Update comment.
15084 2018-06-27 Joseph Myers <joseph@codesourcery.com>
15086 * nptl/sockperf.c: Remove file.
15088 2018-06-27 Florian Weimer <fweimer@redhat.com>
15091 * elf/dl-deps.c (_dl_map_object_deps): Use struct
15092 scratch_buffer instead of extend_alloca.
15094 2018-06-27 Florian Weimer <fweimer@redhat.com>
15097 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
15098 scratch_buffer instead of extend_alloca. Update comments.
15100 2018-06-27 Florian Weimer <fweimer@redhat.com>
15103 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
15104 instead of extend_alloca.
15106 2018-06-26 Joseph Myers <joseph@codesourcery.com>
15109 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
15110 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
15112 * scripts/test-installation.pl: Put temporary files in build
15113 directory, not /tmp.
15114 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
15115 (CFLAGS-bug4.c): Likewise.
15116 (CFLAGS-bug5.c): Likewise.
15117 (CFLAGS-test-fseek.c): Likewise.
15118 (CFLAGS-test-popen.c): Likewise.
15119 (CFLAGS-test_rdwr.c): Likewise.
15120 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
15122 * stdio-common/bug4.c (main): Likewise.
15123 * stdio-common/bug5.c (main): Likewise.
15124 * stdio-common/test-fseek.c (TESTFILE): Likewise.
15125 * stdio-common/test-popen.c (do_test): Likewise.
15126 * stdio-common/test_rdwr.c (main): Likewise.
15128 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
15130 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
15131 (sem_open): Set sem.newsem.pad to zero for valgrind.
15133 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15136 * NEWS: Mention fcntl64 addition.
15137 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
15138 * login/utmp_file.c: Likewise.
15139 * sysdeps/posix/fdopendir.c: Likewise.
15140 * sysdeps/posix/opendir.c: Likewise.
15141 * sysdeps/unix/pt-fcntl.c: Likewise.
15142 * include/fcntl.h (__libc_fcntl64, __fcntl64,
15143 __fcntl64_nocancel_adjusted): New prototype.
15144 (__fcntl_nocancel_adjusted): Remove prototype.
15145 * io/Makefile (routines): Add fcntl64.
15146 (CFLAGS-fcntl64.c): New rule.
15147 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
15148 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
15149 * io/fcntl.h (fcntl64): Add prototype and redirect if
15150 __USE_FILE_OFFSET64 is defined.
15151 * io/fcntl64.c: New file.
15152 * manual/llio.text: Add a note for which commands fcntl acts a
15153 cancellation point.
15154 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
15155 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
15156 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
15158 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
15159 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
15161 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
15162 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
15163 to __fcntl64_nocancel.
15164 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
15165 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
15166 to __fcntl64_nocancel.
15167 * sysdeps/generic/not-cancel.h: Likewise.
15168 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
15169 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
15170 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
15171 (fcntl64): New symbol.
15172 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15173 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15174 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15177 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15178 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15179 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15180 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15181 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15182 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
15183 fcntl64): Likewise.
15184 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15185 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
15186 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15187 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15188 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15189 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15190 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15191 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15192 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15197 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15198 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15199 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15201 2018-06-26 Florian Weimer <fweimer@redhat.com>
15203 Run thread shutdown functions in an explicit order.
15204 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
15206 (__libc_thread_freeres): Call thread shutdown functions
15208 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
15209 * include/string.h (__strerror_thread_freeres): Declare.
15210 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
15211 arena_thread_freeres. No longer static. Remove thread shutdown
15213 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
15215 * resolv/res-close.c (__res_thread_freeres): Renamed from
15216 res_thread_freeres. No longer static. Remove thread shutdown
15218 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
15219 * resolv/resolv_conf.c (freeres): Remove incorrect section
15220 attribute and use libc_freeres_fn.
15221 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
15222 strerror_thread_freeres. No longer static. Remove thread
15223 shutdown hook registration.
15224 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
15225 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
15226 shutdown hook registration.
15227 * Makerules (shlib.lds): Do not provide section boundary symbols
15228 for __libc_thread_subfreeres.
15229 * manual/memory.texi (Basic Allocation): Update comment.
15231 2018-06-26 Florian Weimer <fweimer@redhat.com>
15233 Remove always-defined _RPC_THREAD_SAFE_ macro.
15234 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
15235 Do not define _RPC_THREAD_SAFE_.
15236 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
15238 * sunrpc/clnt_perr.c: Likewise.
15239 * sunrpc/clnt_raw.c: Likewise.
15240 * sunrpc/clnt_simp.c: Likewise.
15241 * sunrpc/key_call.c: Likewise.
15242 * sunrpc/rpc_common.c: Likewise.
15243 * sunrpc/rpc_main.c: Likewise.
15244 * sunrpc/rpc_thread.c: Likewise.
15245 * sunrpc/svc.c: Likewise.
15246 * sunrpc/svc_raw.c: Likewise.
15247 * sunrpc/svc_simple.c: Likewise.
15248 * sumrpc/svcauth_des.c: Likewise.
15250 2018-06-26 Florian Weimer <fweimer@redhat.com>
15252 * libio/Makefile (tests-internal): Add tst-vtables,
15253 tst-vtables-interposed.
15254 * libio/tst-vtables.c: New file.
15255 * libio/tst-vtables-common.c: Likewise.
15256 * libio/tst-vtables-interposed.c: Likewise.
15258 2018-06-26 Florian Weimer <fweimer@redhat.com>
15260 * support/support_test_main.c (support_test_main): Only call
15261 setvbuf if not disables.
15262 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
15263 * support/test-driver.h (struct test_config): Add no_setvbuf member.
15265 2018-06-26 Florian Weimer <fweimer@redhat.com>
15268 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
15270 2018-06-25 Florian Weimer <fweimer@redhat.com>
15273 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15274 Use struct scratch_buffer instead of extend_alloca.
15276 2018-06-25 Florian Weimer <fweimer@redhat.com>
15279 * nss/getent.c (initgroups_keys): Use dynarray instead of
15282 2018-06-25 Florian Weimer <fweimer@redhat.com>
15285 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
15286 Use struct scratch_buffer instead of extend_alloca.
15288 2018-06-25 Florian Weimer <fweimer@redhat.com>
15291 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
15292 back to malloc directly, without stack allocations.
15294 2018-06-25 Florian Weimer <fweimer@redhat.com>
15297 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
15300 2018-06-25 Florian Weimer <fweimer@redhat.com>
15303 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
15305 * nscd/hstcache.c (addhstbyX): Likewise.
15306 * nscd/pwdcache.c (addpwbyX): Likewise.
15307 * nscd/servicescache.c (addservbyX): Likewise.
15309 2018-06-25 Florian Weimer <fweimer@redhat.com>
15312 * nscd/connections.c (read_cmdline): New function.
15313 (restart): Use it. Update comment.
15315 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
15318 * localedata/locales/csb_PL (mon): Rename to...
15320 (abmon): Rename to...
15321 (ab_alt_mon): This.
15322 (mon): Add with proper genitive forms, copy from Wikipedia.
15325 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
15328 * localedata/locales/csb_PL (mon): Fix typos:
15329 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
15330 (yesstr): Add, value is "jo".
15331 (nostr): Add, value is "nié".
15333 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15335 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
15336 all log1p and significand functions on m680x0.
15337 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
15338 of s_significand.c..
15339 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
15340 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
15341 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
15342 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
15343 s_log1p.c and include it..
15345 2018-06-21 Vincent Chen <vincentc@andestech.com>
15347 * elf/elf.h (R_NDS32_NONE): New define.
15348 (R_NDS32_32_RELA): Likewise.
15349 (R_NDS32_COPY): Likewise.
15350 (R_NDS32_GLOB_DAT): Likewise.
15351 (R_NDS32_JUMP_SLOT): Likewise.
15352 (R_NDS32_RELATIVE): Likewise.
15353 (R_NDS32_TLS_TPOFF): Likewise.
15354 (R_NDS32_TLS_DESC): Likewise.
15356 2018-06-21 Mark Wielaard <mark@klomp.org>
15358 * elf/elf.h (R_BPF_MAP_FD): Removed.
15359 (R_BPF_64_64, R_BPF_64_32): New.
15361 2018-06-21 Florian Weimer <fweimer@redhat.com>
15364 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
15365 Renamed from libc_feholdsetround_ctx.
15366 (default_libc_feresetround_ctx): Renamed from
15367 libc_feresetround_ctx.
15368 (default_libc_feholdsetround_noex_ctx): Renamed from
15369 libc_feholdsetround_noex_ctx.
15370 (default_libc_feresetround_noex_ctx): Renamed from
15371 libc_feresetround_noex_ctx.
15372 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
15373 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
15374 forwardning to the old implementations under the new names.
15375 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
15376 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
15377 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
15378 (libc_feresetround_ctx): Forward to default implements for i386
15379 and MATH_SET_BOTH_ROUNDING_MODES.
15380 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
15381 Add -DMATH_SET_BOTH_ROUNDING_MODES.
15383 2018-06-20 Joseph Myers <joseph@codesourcery.com>
15385 * string/tst-cmp.c: Include <libc-diag.h>.
15386 (strncmp_max): Disable -Wstringop-overflow= around call to
15388 (strncasecmp_max): Disable -Wstringop-overflow= around call to
15391 * string/bug-strpbrk1.c: Include <libc-diag.h>.
15392 (main): Disable -Wunused-value around call to strpbrk.
15393 * string/bug-strspn1.c: Include <libc-diag.h>.
15394 (main): Disable -Wunused-value around call to strspn.
15396 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15397 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15399 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
15400 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
15402 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15404 * math/Makefile (libm-calls): Move s_significandF to...
15405 (gen-libm-calls): ... here.
15406 * math/s_significand_template.c: New file.
15407 * math/s_significand.c: Removed.
15408 * math/s_significandf.c: Removed.
15409 * math/s_significandl.c: Removed.
15410 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
15411 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
15413 * math/e_exp2_template.c (declare_mgen_finite_alias,
15414 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
15415 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
15416 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
15418 2018-06-20 Florian Weimer <fweimer@redhat.com>
15420 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
15422 2018-06-19 Joseph Myers <joseph@codesourcery.com>
15425 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
15426 floating-point number to strtod functions rather than possibly
15427 negating result of those functions.
15428 * stdio-common/tst-scanf-round.c: New file.
15429 * stdio-common/Makefile (tests): Add tst-scanf-round.
15430 ($(objpfx)tst-scanf-round): Depend on $(libm).
15432 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15434 * sysdeps/mach/hurd/localplt.data: Move to...
15435 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
15436 R_386_GLOB_DAT like on Linux i386.
15438 2018-06-18 Joseph Myers <joseph@codesourcery.com>
15440 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
15441 (SHM_STAT_ANY): New macro.
15442 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
15443 (SHM_STAT_ANY): Likewise.
15444 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
15445 (SHM_STAT_ANY): Likewise.
15446 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
15447 (SHM_STAT_ANY): Likewise.
15448 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
15449 (SHM_STAT_ANY): Likewise.
15450 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
15451 (SHM_STAT_ANY): Likewise.
15452 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
15453 (SHM_STAT_ANY): Likewise.
15454 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
15455 (SHM_STAT_ANY): Likewise.
15456 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
15457 (SHM_STAT_ANY): Likewise.
15458 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
15459 (SHM_STAT_ANY): Likewise.
15460 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
15461 (SHM_STAT_ANY): Likewise.
15462 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
15463 (SHM_STAT_ANY): Likewise.
15465 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
15466 (SEM_STAT_ANY): New macro.
15467 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
15468 (SEM_STAT_ANY): Likewise.
15469 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
15470 (SEM_STAT_ANY): Likewise.
15471 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
15472 (SEM_STAT_ANY): Likewise.
15473 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
15474 (SEM_STAT_ANY): Likewise.
15475 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
15476 (SEM_STAT_ANY): Likewise.
15477 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
15478 (SEM_STAT_ANY): Likewise.
15479 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
15480 (SEM_STAT_ANY): Likewise.
15481 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
15482 (SEM_STAT_ANY): Likewise.
15483 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
15484 (SEM_STAT_ANY): Likewise.
15486 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
15487 (MSG_STAT_ANY): New macro.
15488 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
15489 (MSG_STAT_ANY): Likewise.
15490 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
15491 (MSG_STAT_ANY): Likewise.
15492 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
15493 (MSG_STAT_ANY): Likewise.
15494 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
15495 (MSG_STAT_ANY): Likewise.
15496 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
15497 (MSG_STAT_ANY): Likewise.
15498 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
15499 (MSG_STAT_ANY): Likewise.
15500 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
15501 (MSG_STAT_ANY): Likewise.
15502 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
15503 (MSG_STAT_ANY): Likewise.
15504 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
15505 (MSG_STAT_ANY): Likewise.
15507 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15508 (MAP_TYPE): Change value to 0x2b.
15510 2018-06-18 Florian Weimer <fweimer@redhat.com>
15513 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
15514 socket with SOCK_CLOEXEC.
15516 2018-06-18 Joseph Myers <joseph@codesourcery.com>
15519 * sysdeps/powerpc/powerpc64/le/Makefile
15520 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
15521 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
15522 (gnulib-tests): Also add $(f128-loader-link) for
15523 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
15525 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
15527 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
15528 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
15530 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
15531 (sendfile64): New strong alias.
15532 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
15533 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
15534 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
15535 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
15537 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
15538 ___pthread_get_cleanup_stack.
15539 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
15540 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
15541 * mach/shortcut.awk: Make syscall stubs include
15542 <mach-shortcuts-hidden.h> and add hidden definition.
15543 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
15544 (__mach_msg): Add hidden prototype.
15545 * mach/msg.c: Include <mach.h>.
15546 (__mach_msg): Add hidden definition.
15547 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
15548 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
15549 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
15550 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
15551 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
15552 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
15553 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
15554 prototype and definition.
15555 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
15556 hidden target for _hurd_self_sigstate.
15558 2018-06-15 Joseph Myers <joseph@codesourcery.com>
15561 * stdlib/tst-strtod-nan-sign-main.c: New file.
15562 * stdlib/tst-strtod-nan-sign.c: Likewise.
15563 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
15564 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
15565 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
15566 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
15567 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
15569 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
15572 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
15575 2018-06-14 Florian Weimer <fweimer@redhat.com>
15578 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
15579 that the result stays within the ISO-8859-1 range.
15580 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
15581 characters are defined in IBM273.
15583 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
15585 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
15586 __mach_task_self): Remove attribute_hidden.
15588 2018-06-14 Joseph Myers <joseph@codesourcery.com>
15590 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
15591 ignore -Wrestrict for one test.
15593 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
15594 Szabolcs Nagy <szabolcs.nagy@arm.com>
15596 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
15598 2018-06-14 Florian Weimer <fweimer@redhat.com>
15600 * scripts/update-abilist.sh: Accept empty list of files to patch.
15602 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
15604 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
15605 test-xfail-check-abi-libmachuser): Add.
15606 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
15607 __libc_read and __libc_write to __read and __write.
15608 * sysdeps/hurd/include/hurd/port.h: New file.
15609 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
15610 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
15611 __thread_switch, __evc_wait): Move declarations to...
15612 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
15614 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
15615 use PLT to call _hurd_self_sigstate.
15617 2018-06-13 Joseph Myers <joseph@codesourcery.com>
15620 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
15621 MAX_EXP as overflowing.
15622 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
15624 (round_str): Output also whether result overflows in each rounding
15626 * stdlib/tst-strtod-round-data: Add more tests.
15627 * stdlib/tst-strtod-round-data.h: Regenerated.
15628 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
15629 (TEST): Handle extra arguments for overflow flags.
15630 (struct test_overflow): New type.
15631 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
15632 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
15633 (test_in_one_mode): Take argument with overflow information.
15634 (do_test): Update calls to test_in_one_mode.
15636 2018-06-12 Carlos O'Donell <carlos@redhat.com>
15638 * elf/dl-load (_dl_dst_substitute): Correct comment.
15639 (_dl_dst_count): Likewise.
15641 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
15642 lll_futex_timed_wait.
15644 2018-06-12 Joseph Myers <joseph@codesourcery.com>
15647 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
15649 * math/test-nan-const.c: New file.
15650 * math/Makefile (tests): Add test-nan-const.
15651 (CFLAGS-test-nan-const.c): New variable.
15653 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
15655 * benchtests/scripts/compare_strings.py (process_results): Add
15656 funcs argument. Compare only functions which are selected.
15657 (main): Check if base function is among selected functions.
15658 Pass selected functions to process_results.
15659 (__main__): Add -f/--functions argument.
15661 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
15662 Hongbo Zhang <hongbo.zhang@linaro.org>
15664 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
15665 __memcpy_falkor for phecda core.
15666 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
15667 __memmove_falkor for phecda core.
15668 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
15669 __memset_falkor for phecda core.
15670 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
15672 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
15673 macro to identify phecda core.
15675 2018-06-12 Carlos O'Donell <carlos@redhat.com>
15676 Andreas Schwab <schwab@suse.de>
15677 Dmitry V. Levin <ldv@altlinux.org>
15678 Florian Weimer <fweimer@redhat.com>
15685 * elf/dl-dst.h: Remove DL_DST_COUNT.
15686 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
15687 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
15688 (is_dst): Comment. Support ELF gABI.
15689 (_dl_dst_count): Comment. Simplify and count DSTs.
15690 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
15691 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
15694 2018-06-12 Zack Weinberg <zackw@panix.com>
15696 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
15697 * sysdeps/unix/sysv/linux/dl-sysdep.c
15698 Include not-cancel.h. Use __close_nocancel instead of __close,
15699 __open64_nocancel instead of __open, __read_nocancel instead of
15700 __libc_read, and __write_nocancel instead of __libc_write.
15702 * csu/check_fds.c (check_one_fd)
15703 * sysdeps/posix/fdopendir.c (__fdopendir)
15704 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
15705 instead of __fcntl and/or __libc_fcntl.
15707 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
15708 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
15709 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
15710 Use __open64_nocancel instead of __open_nocancel.
15712 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
15713 hidden_proto declarations to the end and issue them if either
15714 IS_IN(libc) or IS_IN(rtld).
15715 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
15716 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
15717 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
15718 read_nocancel, waitpid_nocancel, write_nocancel.
15720 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
15721 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
15722 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
15724 * nptl/pt-fcntl.c: New file.
15725 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
15726 (libpthread-routines): Add pt-fcntl.
15727 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
15728 (__libc_fcntl): Remove attribute_hidden.
15729 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
15730 __fcntl_nocancel_adjusted, not fcntl_common.
15731 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
15732 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
15733 to fcntl_nocancel.c.
15734 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
15735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
15736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15737 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
15739 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
15740 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
15741 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
15742 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
15743 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
15744 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
15745 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
15746 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
15747 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
15748 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
15749 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
15750 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
15751 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
15752 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
15753 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
15754 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
15755 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
15756 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
15757 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
15758 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
15760 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
15761 libpthread-routines.
15762 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
15765 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
15766 __libc_read, and __write instead of __libc_write. Define
15767 __open64 in addition to __open.
15769 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
15773 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
15774 to _private_tm[3] and add __glibc_reserved2.
15775 Add _Static_assert of offset of __private_ss == 0x30.
15776 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
15777 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
15779 2018-06-12 Florian Weimer <fweimer@redhat.com>
15781 x86: Make strncmp usable from rtld.
15782 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
15783 __strncmp_ia32 if in libc (and not in rtld).
15784 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
15785 strncmp if not in libc (and not to __strncmp_sse2).
15787 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
15790 * localedata/locales/gd_GB (mon): Rename to...
15792 (mon): Import from CLDR (genitive case).
15793 * localedata/locales/hsb_DE (mon): Rename to...
15795 (mon): Import from CLDR (genitive case).
15796 * localedata/locales/wa_BE (mon): Rename to...
15798 (mon): Add, fill with the proper genitive forms, but CLDR data
15799 is incomplete; completed according to the comments in this file.
15800 (d_t_fmt): Do not use "di" before the month name, no longer needed.
15802 * localedata/locales/wa_BE (country_name): Reword
15803 "Beljike" -> "Beldjike".
15805 2018-06-11 Joseph Myers <joseph@codesourcery.com>
15808 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
15809 cases of non-finite arguments.
15810 * math/libm-test-fma.inc (fma_test_data): Add more tests.
15812 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
15815 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
15817 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15820 * include/unistd.h (__execvpex): New prototype.
15821 * posix/Makefile (tests): Add tst-spawn4.
15822 (tests-internal): Add tst-spawn4-compat.
15823 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
15824 * posix/tst-spawn4-compat.c: New file.
15825 * posix/tst-spawn4.c: Likewise.
15826 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
15827 binaries as shell scripts.
15828 * sysdeps/posix/spawni.c (__spawni): Likewise.
15830 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
15833 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
15834 ($(all-built-dso:=.dynsym): New target.
15835 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
15836 ($(objpfx)check-initfini.out): New target.
15837 (generated): Add check-initfini.out.
15838 * scripts/check-initfini.awk: New file.
15839 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
15841 * sysdeps/alpha/crti.S (_init): Mark as hidden.
15843 * sysdeps/arm/crti.S (_init): Mark as hidden.
15845 * sysdeps/hppa/crti.S (_init): Mark as hidden.
15847 * sysdeps/i386/crti.S (_init): Mark as hidden.
15849 * sysdeps/ia64/crti.S (_init): Mark as hidden.
15851 * sysdeps/m68k/crti.S (_init): Mark as hidden.
15853 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
15855 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
15857 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
15859 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
15861 * sysdeps/nios2/crti.S (_init): Mark as hidden.
15863 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
15865 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
15867 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
15869 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
15871 * sysdeps/sh/crti.S (_init): Mark as hidden.
15873 * sysdeps/sparc/crti.S (_init): Mark as hidden.
15875 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
15878 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15880 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
15881 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
15882 and TF redirection to KFtype and KF only when the default
15883 long double type is not the IEEE 128-bit floating point type.
15885 2018-06-05 Joseph Myers <joseph@codesourcery.com>
15887 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
15889 (HWCAP_USCAT): Likewise.
15890 (HWCAP_ILRCPC): Likewise.
15891 (HWCAP_FLAGM): Likewise.
15892 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
15894 (_dl_aarch64_cap_flags): Add new flag names.
15896 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
15897 (MAP_FIXED_NOREPLACE): New macro.
15898 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
15899 (MAP_FIXED_NOREPLACE): Likewise.
15900 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
15901 (MAP_FIXED_NOREPLACE): Likewise.
15902 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15903 (MAP_FIXED_NOREPLACE): Likewise.
15904 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
15905 (MAP_FIXED_NOREPLACE): Likewise.
15906 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
15907 (MAP_FIXED_NOREPLACE): Likewise.
15908 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
15909 (MAP_FIXED_NOREPLACE): Likewise.
15910 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
15911 (MAP_FIXED_NOREPLACE): Likewise.
15912 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
15913 (MAP_FIXED_NOREPLACE): Likewise.
15914 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
15915 (MAP_FIXED_NOREPLACE): Likewise.
15916 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
15917 (MAP_FIXED_NOREPLACE): Likewise.
15918 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
15919 (MAP_FIXED_NOREPLACE): Likewise.
15920 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
15921 (MAP_FIXED_NOREPLACE): Likewise.
15922 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
15923 (MAP_FIXED_NOREPLACE): Likewise.
15924 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
15925 (MAP_FIXED_NOREPLACE): Likewise.
15927 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15930 2018-06-04 Joseph Myers <joseph@codesourcery.com>
15932 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
15935 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15937 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
15939 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
15941 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15943 * benchtests/scripts/compare_string.py: (process_results) Catch
15944 exception in non-existent base_func and catch exception in
15945 non-existent attribute.
15946 (parse_file) Catch exception if input file does not exist.
15948 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15950 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
15951 options to avoid diff calculation and omit header, respectively.
15952 (main): process --no-diff and --no-header
15954 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15955 H.J. Lu <hongjiu.lu@intel.com>
15957 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15958 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
15960 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15961 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
15962 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
15963 and __wcsncmp_sse2.
15964 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
15965 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
15966 AVX unaligned load is fast and vzeroupper is preferred.
15967 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
15968 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
15969 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
15970 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
15971 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
15972 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
15973 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
15974 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
15975 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
15976 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
15979 2018-06-01 Florian Weimer <fweimer@redhat.com>
15981 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
15982 configuring with --disable-multi-arch, building with
15983 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
15986 2018-06-01 Florian Weimer <fweimer@redhat.com>
15988 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
15989 results from building with “-march=x86-64 -mtune=generic
15990 -mfpmath=sse” and running on a Haswell-era CPU.
15992 2018-06-01 Joseph Myers <joseph@codesourcery.com>
15995 * soft-fp/sqrttf2.c: Remove file.
15996 * soft-fp/sqrtdf2.c: Move to ....
15997 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
15999 (__sqrtdf2): Make conditional on
16000 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16002 * soft-fp/sqrtsf2.c: Move to ....
16003 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
16005 (__sqrtsf2): Make conditional on
16006 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16008 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
16009 (gcc-double-routines): Remove sqrtdf2.
16010 (gcc-quad-routines): Remove sqrttf2.
16011 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
16012 Do not filter out sqrtsf2 and sqrtdf2.
16013 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16014 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
16016 2018-06-01 Florian Weimer <fweimer@redhat.com>
16018 * sysdeps/generic/libcidn.abilist: Remove file.
16020 2018-06-01 Florian Weimer <fweimer@redhat.com>
16023 * libio/strfile.h (struct _IO_str_fields): Rename members to
16024 discourage their use and add comment.
16025 (_IO_STR_DYNAMIC): Remove unused macro.
16026 * libio/strops.c (_IO_str_init_static_internal): Do not use
16027 callback pointers. Call malloc and free.
16028 (_IO_str_overflow): Do not use callback pointers. Call malloc
16030 (enlarge_userbuf): Likewise.
16031 (_IO_str_finish): Call free.
16032 * libio/wstrops.c (_IO_wstr_init_static): Initialize
16033 _allocate_buffer_unused.
16034 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
16036 (enlarge_userbuf): Likewise.
16037 (_IO_wstr_finish): Call free.
16038 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
16039 _allocate_buffer_unused, _free_buffer_unused.
16040 * libio/memstream.c (__open_memstream): Likewise.
16041 * libio/vasprintf.c (_IO_vasprintf): Likewise.
16042 * libio/wmemstream.c (open_wmemstream): Likewise.
16044 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
16046 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
16049 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16051 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
16052 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
16053 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
16055 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
16057 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
16059 2018-05-29 Florian Weimer <fweimer@redhat.com>
16061 * support/Makefile (libsupport-routines): Add
16062 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
16063 xpthread_barrierattr_setpshared.
16064 * support/xpthread_barrierattr_destroy.c: New file.
16065 * support/xpthread_barrierattr_init.c: Likewise.
16066 * support/xpthread_barrierattr_setpshared.c: Likewise.
16068 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
16071 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
16072 _r_debug and update DT_DEBUG for debugger.
16074 2018-05-29 Florian Weimer <fweimer@redhat.com>
16076 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
16077 (tst-strtod5i.out): Likewise.
16079 2018-05-25 Joseph Myers <joseph@codesourcery.com>
16081 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
16082 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
16083 (sparc64-quad-routines): New variable. Moved from ....
16084 [$(subdir) = soft-fp] (sysdep_routines): Add
16085 $(sparc64-quad-routines). Moved from ....
16086 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
16087 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
16088 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
16090 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
16091 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
16092 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
16093 * sysdeps/sparc/sparc64/qp_add.c: ... here.
16094 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
16095 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
16096 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
16097 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
16098 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
16099 * sysdeps/sparc/sparc64/qp_div.c: ... here.
16100 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
16101 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
16102 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
16103 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
16104 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
16105 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
16106 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
16107 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
16108 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
16109 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
16110 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
16111 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
16112 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
16113 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
16114 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
16115 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
16116 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
16117 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
16118 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
16119 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
16120 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
16121 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
16122 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
16123 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
16124 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
16125 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
16126 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
16127 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
16128 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
16129 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
16130 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
16131 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
16132 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
16133 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
16134 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
16135 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
16136 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
16137 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
16138 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
16139 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
16140 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
16141 * sysdeps/sparc/sparc64/qp_util.c: ... here.
16142 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
16143 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
16144 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
16145 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
16146 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
16147 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
16149 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
16150 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
16151 (sparc32-quad-routines): New variable. Moved from ....
16152 [$(subdir) = soft-fp] (sysdep_routines): Add
16153 $(sparc32-quad-routines). Moved from ....
16154 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
16155 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
16157 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
16158 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
16159 * sysdeps/sparc/sparc32/q_add.c: ... here.
16160 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
16161 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
16162 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
16163 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
16164 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
16165 * sysdeps/sparc/sparc32/q_div.c: ... here.
16166 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
16167 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
16168 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
16169 * sysdeps/sparc/sparc32/q_feq.c: ... here.
16170 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
16171 * sysdeps/sparc/sparc32/q_fge.c: ... here.
16172 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
16173 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
16174 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
16175 * sysdeps/sparc/sparc32/q_fle.c: ... here.
16176 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
16177 * sysdeps/sparc/sparc32/q_flt.c: ... here.
16178 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
16179 * sysdeps/sparc/sparc32/q_fne.c: ... here.
16180 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
16181 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
16182 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
16183 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
16184 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
16185 * sysdeps/sparc/sparc32/q_mul.c: ... here.
16186 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
16187 * sysdeps/sparc/sparc32/q_neg.c: ... here.
16188 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
16189 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
16190 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
16191 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
16192 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
16193 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
16194 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
16195 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
16196 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
16197 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
16198 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
16199 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
16200 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
16201 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
16202 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
16203 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
16204 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
16205 * sysdeps/sparc/sparc32/q_sub.c: ... here.
16206 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
16207 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
16208 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
16209 * sysdeps/sparc/sparc32/q_util.c: ... here.
16210 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
16211 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
16212 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
16213 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
16215 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16216 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16218 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
16219 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
16220 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
16221 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
16223 2018-05-24 Joseph Myers <joseph@codesourcery.com>
16225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
16227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16229 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
16230 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
16232 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16235 * math/math.h [C++] (iseqsig): Fix parameter type for the long
16238 2018-05-23 Joseph Myers <joseph@codesourcery.com>
16240 * sysdeps/sh/Implies: Remove sh/soft-fp.
16241 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
16242 * sysdeps/sh/sfp-machine.h: ... here.
16244 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
16246 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16247 (__mempcpy_erms): Skip zero length.
16248 (__memmove_erms): Likewise.
16249 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16250 (__memset_erms): Likewise.
16252 2018-05-23 Joseph Myers <joseph@codesourcery.com>
16254 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
16255 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
16256 Add functions moved from ....
16257 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
16258 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
16259 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
16261 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
16262 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
16263 * sysdeps/alpha/e_sqrtl.c: ... here.
16264 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
16265 * sysdeps/alpha/local-soft-fp.h: ... here.
16266 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
16267 * sysdeps/alpha/ots_add.c: ... here.
16268 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
16269 * sysdeps/alpha/ots_cmp.c: ... here.
16270 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
16271 * sysdeps/alpha/ots_cmpe.c: ... here.
16272 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
16273 * sysdeps/alpha/ots_cvtqux.c: ... here.
16274 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
16275 * sysdeps/alpha/ots_cvtqx.c: ... here.
16276 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
16277 * sysdeps/alpha/ots_cvttx.c: ... here.
16278 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
16279 * sysdeps/alpha/ots_cvtxq.c: ... here.
16280 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
16281 * sysdeps/alpha/ots_cvtxt.c: ... here.
16282 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
16283 * sysdeps/alpha/ots_div.c: ... here.
16284 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
16285 * sysdeps/alpha/ots_mul.c: ... here.
16286 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
16287 * sysdeps/alpha/ots_nintxq.c: ... here.
16288 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
16289 * sysdeps/alpha/ots_sub.c: ... here.
16290 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
16291 * sysdeps/alpha/sfp-machine.h: ... here.
16293 2018-05-23 Florian Weimer <fweimer@redhat.com>
16301 Switch to extern IDNA implementation (libidn2).
16302 * libidn: Remove subdirectory.
16303 * LICENSES: Do not mention licensing conditions for the removed
16305 * config.h.in (HAVE_LIBIDN): Remove.
16306 * include/dlfcn.h (__libc_dlopen): Update comment.
16307 * include/idna.h: Remove file.
16308 * inet/Makefile (routines): Add idna.
16309 (tests-static, tests-internal): Add tst-idna_name_classify.
16310 (LOCALES): Generate locales for tests.
16311 (tst-idna_name_classify.out): Depend on generated locales.
16312 * inet/idna_name_classify.c: New file.
16313 * inet/tst-idna_name_classify.c: Likewise.
16314 * inet/net-internal.h (__idna_to_dns_encoding)
16315 (__idna_from_dns_encoding): Declare.
16316 * inet/net-internal.h (enum idna_name_classification): Define.
16317 (__idna_name_classify): Declare.
16318 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
16319 __idna_from_dns_encoding.
16320 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
16321 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
16322 name as a fallback in case of encoding errors.
16323 (getnameinfo): Use DEPRECATED_NI_IDN.
16324 * inet/idna.c: New file.
16325 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
16326 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
16327 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
16328 (modules-names): Add tst-no-libidn2.
16329 (extra-test-objs): Add tst-no-libidn2.os.
16330 (LDFLAGS-tst-no-libidn2.so): Set soname.
16331 (LOCALES): Set, and generate locales.
16332 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
16333 (tst-resolv-ai_idn-latin1): Likewise.
16334 (tst-resolv-ai_idn-nolibidn2): Likewise.
16335 (tst-resolv-ai_idn.out): Depend on locales.
16336 (tst-resolv-ai_idn-latin1.out): Depend on locales.
16337 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
16339 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
16340 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
16341 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
16342 * resolv/tst-resolv-ai_idn.c: New file.
16343 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
16344 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
16345 * resolv/tst-no-libidn2.c: Likewise.
16346 * support/support_format_addrinfo.c (format_ai_flags): Do not
16347 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
16348 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
16349 (gaih_inet): Call __idna_to_dns_encoding and
16350 __idna_from_dns_encoding, and use the original (punycode) name if
16351 __idna_from_dns_encoding fails due to an encoding error.
16352 (getaddrinfo): Use DEPRECATED_AI_IDN.
16353 * sysdeps/unix/inet/Subdirs (libidn): Remove.
16354 * sysdeps/unix/inet/configure: Remove file.
16355 * sysdeps/unix/inet/configure.ac: Likewise.
16357 2018-05-23 Florian Weimer <fweimer@redhat.com>
16359 Implement allocate_once.
16360 * include/allocate_once.h: New file.
16361 * misc/allocate_once.c: Likewise.
16362 * misc/tst-allocate_once.c: Likewise.
16363 * misc/Makefile (routines): Add allocate_once.
16364 (tests-internal): Add tst-allocate_once.
16365 (generated): Add tst-allocate_once.mtrace,
16366 tst-allocate_once-mem.out.
16367 (tests-special): Add tst-allocate_once-mem.out.
16368 (tst-allocate_once-ENV): Set MALLOC_TRACE.
16369 (tst-allocate_once-mem.out): Call mtrace.
16370 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
16372 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
16375 * string/test-memcpy.c (do_test1): New function.
16376 (test_main): Call it.
16378 2018-05-23 Andreas Schwab <schwab@suse.de>
16382 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
16383 (L(preloop_large)): Save initial destination pointer in %r11 and
16384 use it instead of %rax after the loop.
16385 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
16387 2018-05-22 Joseph Myers <joseph@codesourcery.com>
16389 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
16390 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
16391 -I../soft-fp. Moved from ....
16392 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
16393 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
16394 * sysdeps/aarch64/e_sqrtl.c: ... here.
16395 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
16396 * sysdeps/aarch64/sfp-machine.h: ... here.
16398 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
16399 -Wmaybe-uninitialized around access to fq[0].
16400 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16404 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
16405 aliases for non-libc case of versioned symbols.
16406 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
16407 (llseek): Define as compat symbol if
16408 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
16410 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
16411 Make into a compat symbol, disabled for minimum symbol version
16412 GLIBC_2.28 and later.
16413 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
16415 2018-05-22 Florian Weimer <fweimer@redhat.com>
16417 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
16418 not add -mpreferred-stack-boundary=4.
16419 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
16420 (stack-align-test-flags): Likewise.
16421 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
16423 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
16424 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
16425 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
16426 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
16427 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
16428 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
16429 (CFLAGS-tst-align2.c): Likewise.
16431 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
16433 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
16434 (index_arch_Prefer_FSRM): Likewise.
16435 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
16436 Also check Prefer_FSRM.
16437 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
16438 Also return OPTIMIZE (erms) for Prefer_FSRM.
16440 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
16442 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
16443 (index_cpu_FSRM): Likewise.
16444 (reg_FSRM): Likewise.
16446 2018-05-18 Joseph Myers <joseph@codesourcery.com>
16448 * math/gen-tgmath-tests.py: Import sys.
16449 (Tests.__init__): Initialize macros_seen.
16450 (Tests.add_tests): Add macro to macros_seen. Only generate tests
16451 if requested to do so for this macro.
16452 (Tests.add_all_tests): Take argument for macro for which to
16454 (Tests.check_macro_list): New function.
16455 (main): Handle check-list argument and argument specifying macro
16456 for which to generate tests.
16457 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
16458 [PYTHON] (tgmath3-macro-tests): Likewise.
16459 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
16460 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
16461 not test-tgmath3.c.
16462 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
16463 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
16465 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
16466 [PYTHON] ($(foreach
16467 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
16469 [PYTHON] (tests-special): Add
16470 $(objpfx)test-tgmath3-macro-list.out.
16471 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
16473 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
16474 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
16478 * time/tzset.c (SECSPERDAY): Cast to time_t.
16479 * time/tst-y2039.c: New file.
16480 * time/Makefile (tests): Add tst-y2039.
16482 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16484 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16485 (PREFETCH_ONE_SET): Remove duplicate line.
16487 2018-05-17 Florian Weimer <fweimer@redhat.com>
16489 * sysdeps/generic/math-type-macros-double.h: Include
16490 <math-nan-payload-double.h> after <libm-alias-double.h>.
16491 * sysdeps/generic/math-type-macros-float.h: Include
16492 <math-nan-payload-float.h> after <libm-alias-float.h>.
16493 * sysdeps/generic/math-type-macros-float128.h: Include
16494 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
16495 * sysdeps/generic/math-type-macros-ldouble.h: Include
16496 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
16498 2018-05-17 Andreas Schwab <schwab@suse.de>
16500 * resolv/res_send.c (__res_context_send): Don't set errno when
16501 returing error after malloc failure.
16503 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
16505 * nptl/allocatestack.c (allocate_stack): Remove the
16506 !__ASSUME_PRIVATE_FUTEX paths.
16507 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
16508 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
16510 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
16511 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
16512 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
16513 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
16514 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
16515 !__ASSUME_PRIVATE_FUTEX path.
16516 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
16517 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
16518 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
16519 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
16520 !__ASSUME_PRIVATE_FUTEX macros.
16521 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
16522 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
16523 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
16524 * sysdeps/unix/sysv/linux/kernel-features.h
16525 (__ASSUME_PRIVATE_FUTEX): Removed.
16527 2018-05-17 Joseph Myers <joseph@codesourcery.com>
16529 * math/Makefile (libm-narrow-fns): Add div.
16530 (libm-test-funcs-narrow): Likewise.
16531 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
16532 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
16533 * math/gen-auto-libm-tests.c (test_functions): Add div.
16534 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
16535 (NARROW_DIV_ROUND_TO_ODD): Likewise.
16536 (NARROW_DIV_TRIVIAL): Likewise.
16537 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
16539 (__ddivl): Likewise.
16540 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
16542 (CFLAGS-nldbl-ddiv.c): New variable.
16543 (CFLAGS-nldbl-fdiv.c): Likewise.
16544 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16546 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
16548 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
16549 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
16550 * math/auto-libm-test-in: Add tests of div.
16551 * math/auto-libm-test-out-narrow-div: New generated file.
16552 * math/libm-test-narrow-div.inc: New file.
16553 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
16554 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
16555 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
16556 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
16557 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
16558 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
16559 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
16560 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
16561 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
16562 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
16563 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
16564 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
16565 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
16566 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
16567 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
16568 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
16569 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
16570 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
16571 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16572 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16573 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16574 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16575 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16576 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16577 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16578 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16579 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16580 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16581 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16582 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16583 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16584 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16589 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16590 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16591 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16592 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16593 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16594 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16595 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16596 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16598 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16601 * nscd/nscd-client.h (sendfileall): Remove prototype.
16602 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
16603 (handle_request): Use writeall instead of sendfileall.
16604 * nscd/aicache.c (addhstaiX): Likewise.
16605 * nscd/grpcache.c (cache_addgr): Likewise.
16606 * nscd/hstcache.c (cache_addhst): Likewise.
16607 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16608 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
16609 * nscd/pwdcache.c (cache_addpw): Likewise.
16610 * nscd/servicescache.c (cache_addserv): Likewise.
16611 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
16612 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
16613 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
16616 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
16618 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
16619 Include <string/strncat.c>.
16620 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
16622 (__GI___strncat): New hidden alias.
16624 2018-05-16 Joseph Myers <joseph@codesourcery.com>
16626 * sysdeps/mips/mips32/libm-test-ulps: Update.
16627 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16629 2018-05-16 Florian Weimer <fweimer@redhat.com>
16631 * support/Makefile (libsupport-routines): Add support_quote_blob,
16632 support_test_compare_blob.
16633 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
16634 * support/check.h (TEST_COMPARE_BLOB): Define.
16635 (support_test_compare_blob): Declare.
16636 * support/support.h (support_quote_blob): Declare.
16637 * support/support_quote_blob.c: New file.
16638 * support/support_test_compare_blob.c: Likewise.
16639 * support/tst-support_quote_blob.c: Likewise.
16640 * support/tst-test_compare_blob.c: Likewise.
16642 2018-05-16 Florian Weimer <fweimer@redhat.com>
16644 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
16645 of <strtod_nan_double.h>.
16646 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
16647 instead of SET_MANTISSA.
16648 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
16649 of include <strtod_nan_float.h>.
16650 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
16651 instead of <strtod_nan_ldouble.h>.
16652 * stdlib/strtod_nan_double.h: Move to ...
16653 * sysdeps/generic/math-nan-payload-double.h: ... here.
16654 (FLOAT): Remove definition.
16655 (SET_MANTISSA): Rename to ...
16656 (SET_NAN_PAYLOAD): ... this.
16657 * stdlib/strtod_nan_float.h: Move to ...
16658 * sysdeps/generic/math-nan-payload-float.h: ... here.
16659 (FLOAT): Remove definition.
16660 (SET_MANTISSA): Rename to ...
16661 (SET_NAN_PAYLOAD): ... this.
16662 * sysdeps/generic/math-type-macros-double.h: Include
16663 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
16664 instead of <math-svid-compat.h>.
16665 * sysdeps/generic/math-type-macros-float.h: Include
16666 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
16667 instead of <math-svid-compat.h>.
16668 * sysdeps/generic/math-type-macros-float128.h: Include
16669 <math-nan-payload-float128.h>.
16670 * sysdeps/generic/math-type-macros-ldouble.h: Include
16671 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
16672 instead of <math-svid-compat.h>.
16673 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
16674 check for definition.
16675 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
16676 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
16677 Include <ieee754_float128.h>.
16678 (FLOAT): Remove definition.
16679 (SET_MANTISSA): Rename to ...
16680 (SET_NAN_PAYLOAD): ... this.
16681 * sysdeps/ieee754/float128/strtof128_nan.c: Include
16682 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
16683 Do not include <float128_private.h>.
16684 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
16685 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
16686 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
16687 (FLOAT): Remove definition.
16688 (SET_MANTISSA): Rename to ...
16689 (SET_NAN_PAYLOAD): ... this.
16690 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
16691 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
16692 (FLOAT): Remove definition.
16693 (SET_MANTISSA): Rename to ...
16694 (SET_NAN_PAYLOAD): ... this.
16695 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
16696 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
16697 (FLOAT): Remove definition.
16698 (SET_MANTISSA): Rename to ...
16699 (SET_NAN_PAYLOAD): ... this.
16700 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
16701 of "../stdlib/strtod_nan_double.h".
16702 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
16703 of "../stdlib/strtod_nan_float.h".
16704 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
16705 instead of "../stdlib/strtod_nan_ldouble.h".
16706 * manual/arith.texi (Parsing of Floats): Adjust comment.
16708 2018-05-16 Joseph Myers <joseph@codesourcery.com>
16710 * math/Makefile (libm-narrow-fns): Add mul.
16711 (libm-test-funcs-narrow): Likewise.
16712 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
16713 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
16714 * math/gen-auto-libm-tests.c (test_functions): Add mul.
16715 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
16716 (NARROW_MUL_ROUND_TO_ODD): Likewise.
16717 (NARROW_MUL_TRIVIAL): Likewise.
16718 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
16719 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
16721 (__dmull): Likewise.
16722 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
16724 (CFLAGS-nldbl-dmul.c): New variable.
16725 (CFLAGS-nldbl-fmul.c): Likewise.
16726 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16728 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
16730 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
16731 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
16732 * math/auto-libm-test-in: Add tests of mul.
16733 * math/auto-libm-test-out-narrow-mul: New generated file.
16734 * math/libm-test-narrow-mul.inc: New file.
16735 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
16736 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
16737 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
16738 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
16739 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
16740 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
16741 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
16742 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
16743 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
16744 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
16745 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
16746 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
16747 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
16748 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
16749 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
16750 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
16751 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
16752 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
16753 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16754 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16755 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16756 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16757 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16758 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16759 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16760 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16761 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16762 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16763 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16764 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16765 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16766 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16771 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16772 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16773 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16774 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16775 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16776 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16777 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16778 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16780 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
16782 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
16783 with *%eax in call.
16785 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
16787 * sysdeps/i386/ldsodefs.h: Removed.
16788 * sysdeps/x86_64/ldsodefs.h: Moved to ...
16789 * sysdeps/x86/ldsodefs.h: This.
16790 (La_i86_regs): New.
16791 (La_i86_retval): Likewise.
16792 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
16793 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
16795 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
16797 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
16800 2018-05-13 Alan Modra <amodra@gmail.com>
16802 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
16803 R_PARISC_TLS_DTPOFF32 reloc addend.
16805 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16807 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
16808 * math/math.h: Restrict the prototype definition for the functions
16809 issignaling(_Float128) and iszero(_Float128); and template
16810 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
16811 __HAVE_FLOAT128_UNLIKE_LDBL.
16812 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
16813 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
16814 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
16815 __f128() constants; define the type _Float128 as long double;
16816 and reuse long double in __CFLOAT128.
16818 2018-05-11 Joseph Myers <joseph@codesourcery.com>
16820 * sysdeps/generic/math_private.h: Do not include
16822 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
16824 * math/fromfp.h: Include <math-barriers.h>.
16825 * math/math-narrow.h: Likewise.
16826 * math/s_nextafter.c: Likewise.
16827 * math/s_nexttowardf.c: Likewise.
16828 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
16829 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
16830 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
16831 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
16832 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16833 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16834 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16835 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16836 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16837 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16838 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16839 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16840 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16841 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16842 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
16843 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
16844 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16845 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16846 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16847 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16848 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16849 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16850 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16851 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16852 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16853 * sysdeps/ieee754/k_standardl.c: Likewise.
16854 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16855 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16856 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16857 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
16858 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16859 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16860 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16861 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16862 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16863 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
16864 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16865 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16866 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16867 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16868 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16869 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16870 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
16871 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
16872 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16873 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16874 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
16875 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
16877 2018-05-11 Florian Weimer <fweimer@redhat.com>
16879 Use 64-bit epoch values in the time zone file parser.
16880 * include/time.h (internal_time_t): Define.
16881 (__tzfile_compute): Use it.
16882 * time/tzfile.c (struct leap): Use internal_time_t for epoch
16884 (transitions): Switch to internal_time_t.
16885 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
16887 (__tzfile_compute): Use internal_time_t for timer argument. Check
16888 for truncation before calling __offtime.
16890 2018-05-11 Florian Weimer <fweimer@redhat.com>
16893 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
16894 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
16896 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
16897 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
16898 export without --enable-obsolete-rpc.
16899 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
16900 symbol. This should not have been exported, ever.
16902 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
16905 * localedata/locales/gd_GB (abmon): Fix typo in May:
16906 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
16908 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
16910 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
16911 Use multiple registers to copy data in loop tail.
16913 * sysdeps/aarch64/multiarch/memmove_falkor.S
16914 (__memmove_falkor): Use multiple registers to move data in
16917 2018-05-10 Joseph Myers <joseph@codesourcery.com>
16919 * math/math-underflow.h: New file.
16920 * sysdeps/generic/math_private.h: Do not include <float.h>.
16921 (fabs_tg): Remove macro. Moved to math-underflow.h.
16922 (min_of_type_f): Likewise.
16923 (min_of_type_): Likewise.
16924 (min_of_type_l): Likewise.
16925 (min_of_type_f128): Likewise.
16926 (min_of_type): Likewise.
16927 (math_check_force_underflow): Likewise.
16928 (math_check_force_underflow_nonneg): Likewise.
16929 (math_check_force_underflow_complex): Likewise.
16930 * math/e_exp2_template.c: Include <math-underflow.h>.
16931 * math/k_casinh_template.c: Likewise.
16932 * math/s_catan_template.c: Likewise.
16933 * math/s_catanh_template.c: Likewise.
16934 * math/s_ccosh_template.c: Likewise.
16935 * math/s_cexp_template.c: Likewise.
16936 * math/s_clog10_template.c: Likewise.
16937 * math/s_clog_template.c: Likewise.
16938 * math/s_csin_template.c: Likewise.
16939 * math/s_csinh_template.c: Likewise.
16940 * math/s_csqrt_template.c: Likewise.
16941 * math/s_ctan_template.c: Likewise.
16942 * math/s_ctanh_template.c: Likewise.
16943 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16944 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16945 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16946 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16947 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16948 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16949 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16950 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16951 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16952 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16953 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16954 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16955 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16956 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16957 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16958 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16959 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16960 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16961 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16962 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16963 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
16964 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16965 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16966 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16967 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16968 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16969 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16970 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16971 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16972 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16973 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16974 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16975 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16976 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16977 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16978 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16979 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16980 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16981 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16982 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16983 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16984 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16985 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16986 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16987 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16988 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16989 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16990 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16991 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16992 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16993 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16994 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
16995 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16996 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
16997 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16998 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16999 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17000 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17001 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17002 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17003 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17004 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17005 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17006 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17007 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17008 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17009 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17010 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17011 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17012 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17013 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17014 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17015 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17016 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
17017 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17018 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17019 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17020 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17021 * sysdeps/x86/fpu/powl_helper.c: Likewise.
17022 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
17023 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
17024 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17025 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
17026 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
17028 2018-05-09 Joseph Myers <joseph@codesourcery.com>
17030 * sysdeps/generic/math-barriers.h: New file.
17031 * sysdeps/generic/math_private.h [!math_opt_barrier]
17032 (math_opt_barrier): Move to math-barriers.h.
17033 [!math_opt_barrier] (math_force_eval): Likewise.
17034 * sysdeps/aarch64/fpu/math-barriers.h: New file.
17035 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
17037 (math_force_eval): Likewise.
17038 * sysdeps/alpha/fpu/math-barriers.h: New file.
17039 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
17041 (math_force_eval): Likewise.
17042 * sysdeps/x86/fpu/math-barriers.h: New file.
17043 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
17045 (math_force_eval): Likewise.
17046 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
17047 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
17048 multiple-include guard for rename.
17049 * sysdeps/powerpc/fpu/math-barriers.h: New file.
17050 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
17052 (math_force_eval): Likewise.
17054 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
17058 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
17060 * stdlib/Makefile (test-bz22786): New test.
17061 * stdlib/test-bz22786.c: New test.
17063 2018-05-09 Joseph Myers <joseph@codesourcery.com>
17065 * include/math-narrow-eval.h: New file. Contents moved from ....
17066 * sysdeps/generic/math_private.h: ... here.
17067 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
17068 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
17069 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
17070 * stdlib/strtod_l.c: Likewise.
17071 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17072 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
17073 * sysdeps/i386/fpu/s_fdim.c: Likewise.
17074 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17075 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17076 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17077 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17078 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17079 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17080 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17081 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17082 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
17083 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17084 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17085 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17086 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17087 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17088 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17089 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17090 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17091 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17092 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17093 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17094 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17095 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
17096 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17097 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17098 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17099 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17101 2018-05-08 Andreas Schwab <schwab@suse.de>
17103 * sysdeps/nptl/internaltypes.h: Fix comment.
17105 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
17107 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17108 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
17111 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
17113 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
17114 of I into loop header.
17115 * benchtests/bench-memmove-walk.c
17116 (test_main): Likewise.
17118 2018-05-07 Alexandre Oliva <oliva@gnu.org>
17121 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
17122 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
17124 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17127 * elf/dl-load.c (open_verify): Fix stack overflow.
17128 * elf/Makefile (tst-big-note): New test.
17129 * elf/tst-big-note-lib.S: New.
17130 * elf/tst-big-note.c: New.
17132 2018-05-04 Joseph Myers <joseph@codesourcery.com>
17134 * scripts/abilist.awk: Ignore absolute symbols.
17135 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
17136 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
17137 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
17138 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
17139 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
17140 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
17141 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17142 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
17143 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
17144 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
17145 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
17146 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
17147 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
17148 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
17149 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
17150 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
17151 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
17152 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
17153 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17154 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
17155 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
17156 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
17157 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
17158 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
17159 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
17160 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
17161 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
17162 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
17163 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17164 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
17165 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
17166 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17167 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
17168 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
17169 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
17170 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
17171 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
17172 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
17173 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
17174 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
17175 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
17176 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17177 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
17178 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
17179 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17180 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
17181 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
17182 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
17183 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
17184 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
17185 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
17186 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
17187 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
17188 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
17189 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17190 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
17191 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
17192 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17193 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
17194 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
17195 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
17196 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
17197 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
17198 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
17199 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
17200 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
17201 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
17202 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17203 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
17204 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
17205 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17206 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
17207 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
17208 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
17209 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
17210 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
17211 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
17212 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
17213 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
17214 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
17215 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17216 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
17217 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
17218 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17219 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
17220 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
17221 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
17222 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
17223 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
17224 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
17225 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
17226 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
17228 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
17229 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17230 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
17231 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
17232 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17233 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
17234 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
17235 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
17236 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
17237 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
17238 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
17239 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
17240 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
17242 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
17243 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17244 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
17245 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
17246 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17247 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
17248 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
17249 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
17250 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
17251 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
17252 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
17253 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
17254 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
17255 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
17256 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17257 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
17258 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
17259 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17260 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
17261 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
17262 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
17263 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
17264 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
17265 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
17266 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17267 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
17268 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
17270 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
17271 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
17272 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
17273 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
17274 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17275 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
17276 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
17277 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
17278 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
17279 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
17280 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
17281 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
17282 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
17283 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
17284 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
17285 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
17286 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
17287 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
17288 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
17289 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
17291 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
17292 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
17293 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
17294 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17295 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
17296 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
17297 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
17298 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
17299 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
17300 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
17301 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17302 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
17303 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
17304 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17305 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
17306 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
17307 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
17308 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
17309 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17310 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
17311 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
17312 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17313 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
17314 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
17315 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
17316 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
17317 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
17318 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
17319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
17320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
17322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
17324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
17325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
17326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
17327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
17328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
17330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
17332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
17333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
17335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
17336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
17341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
17342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
17344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
17346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
17348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
17349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
17350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
17353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
17354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
17355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
17356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
17360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
17361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
17363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
17365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
17367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
17369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
17370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
17371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
17373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
17375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
17377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
17378 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
17379 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
17381 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
17382 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
17383 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
17384 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
17385 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17386 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
17387 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
17388 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
17389 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
17390 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
17391 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
17392 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
17393 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
17394 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
17396 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17397 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
17398 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
17399 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17400 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
17401 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
17402 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
17403 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
17404 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
17405 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
17406 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
17407 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
17409 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17410 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
17411 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
17412 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17413 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
17414 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
17415 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
17416 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
17417 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
17418 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
17419 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
17420 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
17421 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
17422 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17423 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
17424 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
17425 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17426 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
17427 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
17428 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
17429 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
17430 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
17431 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
17432 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
17433 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
17435 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
17436 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17437 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
17438 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
17439 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17440 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
17441 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
17442 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
17443 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
17444 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
17445 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
17446 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
17447 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
17449 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
17450 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17451 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
17452 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
17453 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17454 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
17455 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
17456 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
17457 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
17458 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
17459 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
17460 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
17461 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
17462 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
17463 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17464 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
17465 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
17466 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17467 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
17468 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
17469 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
17470 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
17471 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
17472 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
17473 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
17474 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
17475 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
17476 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
17477 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17478 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
17479 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
17480 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17481 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
17482 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
17483 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
17484 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
17485 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
17486 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
17488 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
17491 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
17492 Use atomic_load_acquire to load __tid.
17494 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
17496 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
17497 Restore the pointer into %rdx, after syscall and use %rdx,
17498 instead of %rsi, to restore context.
17500 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
17502 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
17503 Pop the pointer into %rdx after syscall and use %rdx, instead
17504 of %rsi, to restore context.
17506 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
17508 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
17509 handlers after setjmp.
17510 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
17512 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
17513 <libc-pointer-arith.h>.
17514 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
17515 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
17516 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
17517 _JUMP_BUF_SIGSET_BITS_PER_WORD.
17518 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
17519 * sysdeps/x86/__longjmp_cancel.S: New file.
17520 * sysdeps/x86/longjmp.c: Likewise.
17521 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
17523 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17525 * NEWS: Add ustat.h deprecation entry.
17526 * bits/ustat.h: Remove file.
17527 * misc/sys/ustat.h: Likewise.
17528 * misc/ustat.h: Likewise.
17529 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
17530 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
17531 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
17532 compatibility mode.
17533 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
17534 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
17535 generic Linux implementation.
17537 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17539 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
17540 * math/w_expl_compat.c: Likewise.
17541 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
17543 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
17545 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
17547 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17549 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
17550 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
17551 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
17553 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
17554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17555 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17556 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
17557 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
17560 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17562 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
17564 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
17565 * math/w_asin_template.c: Likewise.
17566 * math/w_atanh_template.c: Likewise.
17568 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17570 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
17571 to powerpc/powerpc64/be for big-endian.
17572 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
17575 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
17576 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
17577 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
17578 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
17579 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17580 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
17581 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
17582 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
17583 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
17584 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
17585 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
17586 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
17587 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
17588 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
17589 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
17590 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
17591 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
17592 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
17593 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
17594 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
17595 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
17596 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
17597 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
17598 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
17599 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
17600 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
17601 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
17602 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
17603 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
17604 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
17605 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
17606 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
17608 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
17609 adjusted to imply powerpc64 and older processors on powerpc64/be.
17610 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
17611 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
17612 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
17613 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
17614 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
17615 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
17616 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
17617 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
17618 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
17619 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
17620 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
17621 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
17622 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
17623 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
17624 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
17625 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
17626 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
17627 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
17628 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
17629 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
17630 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
17631 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
17632 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
17633 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
17634 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
17635 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
17636 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
17637 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
17638 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
17639 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
17640 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
17642 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
17643 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
17644 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
17645 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
17647 * sysdeps/powerpc/powerpc64/be/Implies: New file.
17648 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
17649 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
17650 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
17652 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
17653 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
17654 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
17655 * sysdeps/powerpc/powerpc64le/configure: Likewise.
17656 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
17657 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
17658 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
17659 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
17660 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
17661 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
17662 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
17664 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
17665 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
17666 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
17667 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
17668 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
17669 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
17670 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
17671 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
17672 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
17673 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
17674 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
17676 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
17677 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
17678 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
17679 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
17680 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
17681 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
17682 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
17683 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
17684 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
17685 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
17686 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
17687 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
17689 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
17690 and adjusted to imply olders processors.
17691 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
17692 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
17693 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
17694 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
17695 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
17696 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
17697 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
17698 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
17699 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
17700 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
17701 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
17703 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
17705 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
17706 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
17708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
17710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
17711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
17713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
17715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
17717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
17719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
17720 powerpc64 and adjusted.
17721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
17722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
17723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
17726 2018-04-27 Joseph Myers <joseph@codesourcery.com>
17728 * sysdeps/tile: Remove.
17729 * sysdeps/unix/sysv/linux/tile: Likewise.
17730 * README (tilegx-*-linux-gnu): Remove from list of supported
17732 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
17733 contribution of support for generic Linux kernel syscall
17735 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
17736 tilegx configurations.
17737 (Config.install_linux_headers): Do not handle tile.
17738 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
17740 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
17741 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
17742 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
17743 conditional undefine and redefine.
17744 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
17746 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
17747 conditional undefine and redefine.
17749 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
17751 * signal/tst-sigaction.c: New file to test BZ #23069.
17752 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
17754 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17757 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
17758 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
17759 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
17760 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
17762 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17764 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
17765 _DIRENT_MATCHES_DIRENT64 is not defined.
17766 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
17767 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
17769 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
17770 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
17772 2018-04-25 Joseph Myers <joseph@codesourcery.com>
17774 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
17775 version to GCC 8 branch.
17777 2018-04-24 Joseph Myers <joseph@codesourcery.com>
17779 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
17780 (check_no_hidden): Use type of original function when declaring
17783 * sysdeps/unix/sysv/linux/sys/ptrace.h
17784 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
17785 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
17786 (struct __ptrace_seccomp_metadata): New type.
17787 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
17788 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17789 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
17790 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17791 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
17792 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17793 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
17794 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17795 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
17796 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17797 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
17798 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17799 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
17800 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17801 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
17802 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17804 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17806 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
17808 * dirent/versionsort.c (versionsort): Likewise.
17809 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
17810 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
17811 * dirent/versionsort64.c (versionsort64): Likewise.
17812 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
17813 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
17814 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
17815 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
17816 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
17817 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
17818 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
17819 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
17820 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
17821 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
17822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
17823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
17824 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
17825 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
17827 2018-04-23 Joseph Myers <joseph@codesourcery.com>
17829 * elf/elf.h (NT_PPC_PKEY): New macro.
17831 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
17834 * localedata/locales/hr_HR: fix thousands_sep and
17837 2018-04-20 Joseph Myers <joseph@codesourcery.com>
17839 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
17840 (XTABS): Define to TAB3.
17842 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17844 * sysdeps/hppa/fpu/libm-test-ulps: Update.
17846 * dirent/scandir-tail-common.c: New file.
17847 * dirent/scandir-tail.c: Use scandir-tail-common.c.
17848 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
17849 * dirent/scandir.c: Use scandir-tail-common.c.
17850 * dirent/scandirat.c: Likewise.
17851 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
17852 * dirent/scandir64.c (scandir64): Always build and alias to scandir
17853 if _DIRENT_MATCHES_DIRENT64 is defined.
17854 * dirent/scandirat64.c (scandirat64): Likewise.
17855 * include/dirent.h (__scandir_tail): Only define iff
17856 _DIRENT_MATCHES_DIRENT64 is not defined.
17857 (__scandir64_tail): Define regardless.
17858 (__scandirat, scandirat64): Remove libc_hidden_proto.
17859 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
17860 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
17861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
17862 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
17863 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
17864 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
17865 * sysdeps/unix/sysv/linux/scandir64.c: New file.
17867 2018-04-20 Joseph Myers <joseph@codesourcery.com>
17869 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
17871 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
17873 (_dl_aarch64_cap_flags): Add asimdfhm.
17875 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
17877 * sysdeps/nios2/libm-test-ulps: Update.
17879 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17881 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
17882 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
17884 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
17886 (_DIRENT_MATCHES_DIRENT64): Undef
17887 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
17888 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
17889 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
17890 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
17891 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
17892 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
17893 use getdents64 syscalls as base.
17894 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
17895 symbol if required.
17896 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
17897 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
17898 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
17899 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
17900 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
17901 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
17902 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
17903 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
17904 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17905 (__get_clockfreq_via_proc_openprom): Use __getdents64.
17906 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
17908 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
17910 * scripts/test_printers_common.py (init_test): Disable lock elision.
17912 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
17914 * math/test-tgmath.c (count_double, count_float,
17915 count_ldouble, count_cdouble, count_cfloat,
17916 count_cldouble): Use volatile int.
17918 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
17920 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
17921 (conformtest-xfail-conds): Add i386-gnu.
17922 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
17924 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
17925 ipc_perm.cuid, ipc_perm.cgid): Likewise.
17926 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
17927 msqid_ds.msg_lrpid): Likewise.
17928 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
17930 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
17931 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
17932 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
17933 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
17935 (struct statvfs64): Likewise.
17936 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
17938 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
17939 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
17940 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
17941 instead of wait_queue.
17942 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
17943 instead of vm_area_struct.
17944 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
17945 struct sched_param definition to it.
17946 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
17947 * bits/types/struct_sched_param.h: New file.
17948 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
17949 <bits/types/struct_sched_param.h> instead of <sched.h>.
17950 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
17951 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
17952 generic version but include <bits/pthreadtypes.h> to make struct
17953 sigevent's sigev_notify_attributes field a pthread_attr_t*.
17954 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
17956 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
17957 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
17958 [__USE_XOPEN] (OFDEL): New macro.
17959 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
17960 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
17961 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
17963 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
17964 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
17965 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
17967 * sysdeps/i386/sys/ucontext.h: Likewise.
17968 * sysdeps/m68k/sys/ucontext.h: Likewise.
17969 * sysdeps/mips/sys/ucontext.h: Likewise.
17970 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
17971 * sysdeps/mach/hurd/i386/Makefile
17972 (test-xfail-POSIX/fcntl.h/conform): Add.
17973 (test-xfail-POSIX/signal.h/conform): Add.
17974 (test-xfail-POSIX/semaphore.h/conform): Add.
17975 (test-xfail-POSIX/regex.h/conform): Add.
17976 (test-xfail-POSIX/aio.h/conform): Add.
17977 (test-xfail-POSIX/mqueue.h/conform): Add.
17978 (test-xfail-POSIX/sys/types.h/conform): Add.
17979 (test-xfail-UNIX98/fcntl.h/conform): Add.
17980 (test-xfail-UNIX98/netdb.h/conform): Add.
17981 (test-xfail-UNIX98/signal.h/conform): Add.
17982 (test-xfail-UNIX98/semaphore.h/conform): Add.
17983 (test-xfail-UNIX98/regex.h/conform): Add.
17984 (test-xfail-UNIX98/aio.h/conform): Add.
17985 (test-xfail-UNIX98/ftw.h/conform): Add.
17986 (test-xfail-UNIX98/mqueue.h/conform): Add.
17987 (test-xfail-UNIX98/netinet/in.h/conform): Add.
17988 (test-xfail-UNIX98/sys/wait.h/conform): Add.
17989 (test-xfail-UNIX98/sys/sem.h/conform): Add.
17990 (test-xfail-UNIX98/sys/uio.h/conform): Add.
17991 (test-xfail-UNIX98/sys/socket.h/conform): Add.
17992 (test-xfail-UNIX98/sys/types.h/conform): Add.
17993 (test-xfail-UNIX98/stdlib.h/conform): Add.
17994 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
17995 (test-xfail-POSIX2008/fcntl.h/conform): Add.
17996 (test-xfail-POSIX2008/netdb.h/conform): Add.
17997 (test-xfail-POSIX2008/signal.h/conform): Add.
17998 (test-xfail-POSIX2008/semaphore.h/conform): Add.
17999 (test-xfail-POSIX2008/regex.h/conform): Add.
18000 (test-xfail-POSIX2008/aio.h/conform): Add.
18001 (test-xfail-POSIX2008/mqueue.h/conform): Add.
18002 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
18003 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
18004 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
18005 (test-xfail-POSIX2008/sys/types.h/conform): Add.
18006 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
18007 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
18008 (test-xfail-XOPEN2K/netdb.h/conform): Add.
18009 (test-xfail-XOPEN2K/signal.h/conform): Add.
18010 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
18011 (test-xfail-XOPEN2K/regex.h/conform): Add.
18012 (test-xfail-XOPEN2K/aio.h/conform): Add.
18013 (test-xfail-XOPEN2K/ftw.h/conform): Add.
18014 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
18015 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
18016 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
18017 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
18018 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
18019 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
18020 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
18021 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
18022 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
18023 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
18024 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
18025 (test-xfail-XOPEN2K8/signal.h/conform): Add.
18026 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
18027 (test-xfail-XOPEN2K8/regex.h/conform): Add.
18028 (test-xfail-XOPEN2K8/aio.h/conform): Add.
18029 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
18030 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
18031 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
18032 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
18033 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
18034 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
18035 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
18036 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
18037 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
18038 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
18039 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
18041 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
18042 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
18044 2018-04-18 Joseph Myers <joseph@codesourcery.com>
18046 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18047 --enable-obsolete for powerpc-linux-gnuspe.
18049 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
18051 * conform/data/sys/un.h-data: Allow sun_ prefix.
18052 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
18054 * sysdeps/mach/include/mach.h: Likewise.
18055 * sysdeps/mach/include/mach/mig_support.h: Likewise.
18056 * sysdeps/mach/include/mach_error.h: Likewise.
18058 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18060 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
18061 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
18062 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
18063 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
18065 2018-04-16 Andreas Schwab <schwab@suse.de>
18068 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
18070 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18072 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
18073 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
18075 2018-04-12 DJ Delorie <dj@redhat.com>
18077 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18080 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
18082 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
18083 (struct kernel_sigaction): Use the same definition on 31bit as is used
18086 2018-04-09 Florian Weimer <fweimer@redhat.com>
18089 * resolv/res_send.c (send_dg): Use designated initializers instead
18090 of assignment to zero-initialize other fields of struct mmsghdr.
18092 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18094 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
18095 __READDIR_ALIAS): Undefine after usage.
18096 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
18097 __READDIR_R_ALIAS): Likewise.
18098 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
18099 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
18100 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
18101 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
18102 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
18103 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
18104 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18105 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18106 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
18107 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
18108 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
18109 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
18110 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18111 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
18112 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
18113 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
18114 * sysdeps/unix/sysv/linux/readdir.c: New file.
18115 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
18116 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
18117 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
18119 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
18121 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
18123 * manual/charset.texi (Converting a Character): Fix typo.
18125 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18129 * sysdeps/arm/libm-test-ulps: Update.
18131 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
18132 as base implementation.
18133 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
18134 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
18135 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18136 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18137 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
18138 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
18139 remove unrequired definitions and update comments.
18140 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
18141 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
18142 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
18143 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
18144 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
18145 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
18146 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
18147 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
18148 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
18149 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
18150 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
18151 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
18152 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
18153 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
18154 and RESET_SA_RESTORER hooks.
18156 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
18158 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18160 2018-04-05 Florian Weimer <fweimer@redhat.com>
18162 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
18163 integer overflow, memory leak on error, and indeterminate errno
18164 value. Add a null wide character to terminate the result string.
18165 * manual/charset.texi (Converting a Character): Mention embedded
18166 null bytes in the mbrtowc input string. Explain what happens in
18167 the -2 result case. Do not claim that mbrtowc is simple or
18168 obvious to use. Adjust the description of the code example. Use
18169 @code, not @var, for concrete variables.
18171 2018-04-05 Florian Weimer <fweimer@redhat.com>
18173 * manual/examples/mbstouwcs.c: New file.
18174 * manual/charset.texi (Converting a Character): Include it.
18176 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18178 * include/dirent.h (dirfd): Add hidden proto.
18179 * dirent/dirfd.c (dirfd): Add hidden def.
18180 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
18181 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
18183 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18185 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
18186 sin, cos and sincos to 1 ULP.
18188 2018-04-04 Maciej W. Rozycki <macro@mips.com>
18191 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
18193 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
18194 * elf/tst-absolute-sym.c: New file.
18195 * elf/tst-absolute-sym-lib.c: New file.
18196 * elf/tst-absolute-sym-lib.lds: New file.
18197 * elf/Makefile (tests): Add `tst-absolute-sym'.
18198 (modules-names): Add `tst-absolute-sym-lib'.
18199 (LDLIBS-tst-absolute-sym-lib.so): New variable.
18200 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
18201 ($(objpfx)tst-absolute-sym): New dependency.
18204 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
18206 (SYMBOL_ADDRESS): New macro.
18207 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
18208 SYMBOL_ADDRESS for symbol address calculation.
18209 * elf/dl-runtime.c (_dl_fixup): Likewise.
18210 (_dl_profile_fixup): Likewise.
18211 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
18212 * elf/rtld.c (dl_main): Likewise.
18213 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
18214 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
18215 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
18216 (elf_machine_rela): Likewise.
18217 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
18218 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
18219 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18220 (elf_machine_rela): Likewise.
18221 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18222 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
18223 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
18224 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
18226 (elf_machine_reloc): Likewise.
18227 (elf_machine_got_rel): Likewise.
18228 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
18229 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
18230 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18232 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18234 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
18235 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18237 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18239 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18240 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18242 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18244 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
18245 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18247 2018-04-04 Zack Weinberg <zackw@panix.com>
18249 * sysdeps/generic/internal-signals.h: Include signal.h,
18250 sigsetops.h, and stdbool.h.
18251 (__libc_signal_block_all): Actually block all signals.
18252 (__libc_signal_block_app): Likewise.
18253 (__libc_signal_restore_set): Actually restore the signal mask.
18255 2018-04-04 Florian Weimer <fweimer@redhat.com>
18257 inet: Actually build and run tst-deadline.
18258 * inet/Makefile (tests-internal): Add tst-deadline and do not
18259 overwrite the variable.
18260 (tests-static-internal): Remove variable.
18262 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
18265 * bits/uio-ext.h (RWF_APPEND): New.
18266 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
18267 * manual/llio.texi: Document RWF_APPEND.
18268 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
18269 (RWF_SUPPORTED): Add RWF_APPEND.
18271 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18274 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
18275 check for internal nptl signals.
18276 * nptl/sigaction.c (__sigaction): Likewise.
18277 * signal/sigaddset.c (sigaddset): Likewise.
18278 * signal/sigdelset.c (sigdelset): Likewise.
18279 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
18280 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
18282 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
18283 to filter out internal nptl signals.
18284 * signal/tst-sigset.c (do_test): Check ech signal indidually and
18285 also check realtime signals using standard macros.
18286 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
18287 __is_internal_signal, __libc_signal_block_all,
18288 __libc_signal_block_app, __libc_signal_restore_set): New functions.
18289 * sysdeps/nptl/sigfillset.c: Remove file.
18290 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
18291 Change return to bool.
18292 (__clear_internal_signals): Remove SIGTIMER clean since it is
18293 equal to SIGCANEL on Linux.
18294 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
18295 signal set was constructed using standard functions.
18297 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18299 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
18300 ifname is too long.
18301 * hurd/hurdsig.c (interrupted_reply_port_location): Use
18302 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
18303 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
18305 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
18306 * signal/sigaddset.c: Include <sigsetopts.h>.
18307 * signal/sigdelset.c: Likewise.
18309 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18311 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
18313 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
18314 logic as sin and cos.
18316 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18318 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
18319 inputs. Return correct sign.
18320 (do_sincos): Remove small input check before do_sin, let do_sin set
18325 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18327 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
18328 (do_cos_slow): Likewise.
18329 (do_sin_slow): Likewise.
18330 (reduce_and_compute): Likewise.
18335 (sloww1): Likewise.
18336 (sloww2): Likewise.
18338 (bslow1): Likewise.
18339 (bslow2): Likewise.
18340 (cslow2): Likewise.
18342 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18344 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
18345 (do_cos): Remove corp parameter and calculations.
18346 (do_sin): Likewise.
18347 (do_sincos): Remove cor variable.
18348 (__sin): Use do_sincos for huge inputs.
18350 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
18351 (reduce_and_compute_sincos): Remove unused function.
18353 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18355 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
18356 reduce_sincos, improve accuracy to 136 bits.
18357 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
18358 (__sin): Use improved reduction and simplified do_sincos calculation.
18360 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
18362 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18364 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
18365 (do_sincos_2): Likewise.
18366 (__sin): Remove middle range reduction case.
18368 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
18371 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18373 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
18374 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
18377 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
18379 2018-04-03 Joseph Myers <joseph@codesourcery.com>
18381 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
18384 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18386 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
18387 Remove definitions.
18388 (opendir_oflags): Use O_DIRECTORY regardless.
18389 (__opendir, __opendirat): Remove need_isdir_precheck usage.
18390 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
18392 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18394 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
18395 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
18397 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
18398 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
18399 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
18400 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
18401 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
18402 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
18404 * htl/Makefile: Bump licence to LGPL 2.1+.
18405 * htl/alloca_cutoff.c: Likewise.
18406 * htl/cthreads-compat.c: Likewise.
18407 * htl/lockfile.c: Likewise.
18408 * htl/pt-alloc.c: Likewise.
18409 * htl/pt-cancel.c: Likewise.
18410 * htl/pt-cleanup.c: Likewise.
18411 * htl/pt-create.c: Likewise.
18412 * htl/pt-dealloc.c: Likewise.
18413 * htl/pt-detach.c: Likewise.
18414 * htl/pt-exit.c: Likewise.
18415 * htl/pt-getattr.c: Likewise.
18416 * htl/pt-initialize.c: Likewise.
18417 * htl/pt-internal.h: Likewise.
18418 * htl/pt-join.c: Likewise.
18419 * htl/pt-self.c: Likewise.
18420 * htl/pt-setcancelstate.c: Likewise.
18421 * htl/pt-setcanceltype.c: Likewise.
18422 * htl/pt-sigmask.c: Likewise.
18423 * htl/pt-spin-inlines.c: Likewise.
18424 * htl/pt-testcancel.c: Likewise.
18425 * htl/pt-yield.c: Likewise.
18426 * htl/tests/test-1.c: Likewise.
18427 * htl/tests/test-10.c: Likewise.
18428 * htl/tests/test-11.c: Likewise.
18429 * htl/tests/test-12.c: Likewise.
18430 * htl/tests/test-13.c: Likewise.
18431 * htl/tests/test-14.c: Likewise.
18432 * htl/tests/test-15.c: Likewise.
18433 * htl/tests/test-16.c: Likewise.
18434 * htl/tests/test-17.c: Likewise.
18435 * htl/tests/test-2.c: Likewise.
18436 * htl/tests/test-3.c: Likewise.
18437 * htl/tests/test-4.c: Likewise.
18438 * htl/tests/test-5.c: Likewise.
18439 * htl/tests/test-6.c: Likewise.
18440 * htl/tests/test-7.c: Likewise.
18441 * htl/tests/test-8.c: Likewise.
18442 * htl/tests/test-9.c: Likewise.
18443 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
18444 * sysdeps/htl/bits/cancelation.h: Likewise.
18445 * sysdeps/htl/bits/pthread-np.h: Likewise.
18446 * sysdeps/htl/bits/pthread.h: Likewise.
18447 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
18448 * sysdeps/htl/bits/semaphore.h: Likewise.
18449 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
18450 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
18451 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
18452 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
18453 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
18454 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
18455 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
18456 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
18457 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
18458 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
18459 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
18460 * sysdeps/htl/old_pt-atfork.c: Likewise.
18461 * sysdeps/htl/pt-atfork.c: Likewise.
18462 * sysdeps/htl/pt-attr-destroy.c: Likewise.
18463 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
18464 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
18465 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
18466 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
18467 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
18468 * sysdeps/htl/pt-attr-getscope.c: Likewise.
18469 * sysdeps/htl/pt-attr-getstack.c: Likewise.
18470 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
18471 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
18472 * sysdeps/htl/pt-attr-init.c: Likewise.
18473 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
18474 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
18475 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
18476 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
18477 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
18478 * sysdeps/htl/pt-attr-setscope.c: Likewise.
18479 * sysdeps/htl/pt-attr-setstack.c: Likewise.
18480 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
18481 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
18482 * sysdeps/htl/pt-attr.c: Likewise.
18483 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
18484 * sysdeps/htl/pt-barrier-init.c: Likewise.
18485 * sysdeps/htl/pt-barrier-wait.c: Likewise.
18486 * sysdeps/htl/pt-barrier.c: Likewise.
18487 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
18488 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
18489 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
18490 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
18491 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
18492 * sysdeps/htl/pt-cond-destroy.c: Likewise.
18493 * sysdeps/htl/pt-cond-init.c: Likewise.
18494 * sysdeps/htl/pt-cond-signal.c: Likewise.
18495 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
18496 * sysdeps/htl/pt-cond-wait.c: Likewise.
18497 * sysdeps/htl/pt-cond.c: Likewise.
18498 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
18499 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
18500 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
18501 * sysdeps/htl/pt-condattr-init.c: Likewise.
18502 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
18503 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
18504 * sysdeps/htl/pt-destroy-specific.c: Likewise.
18505 * sysdeps/htl/pt-equal.c: Likewise.
18506 * sysdeps/htl/pt-getconcurrency.c: Likewise.
18507 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
18508 * sysdeps/htl/pt-getschedparam.c: Likewise.
18509 * sysdeps/htl/pt-getspecific.c: Likewise.
18510 * sysdeps/htl/pt-init-specific.c: Likewise.
18511 * sysdeps/htl/pt-key-create.c: Likewise.
18512 * sysdeps/htl/pt-key-delete.c: Likewise.
18513 * sysdeps/htl/pt-key.h: Likewise.
18514 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
18515 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
18516 * sysdeps/htl/pt-mutex-init.c: Likewise.
18517 * sysdeps/htl/pt-mutex-lock.c: Likewise.
18518 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
18519 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
18520 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
18521 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
18522 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
18523 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
18524 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
18525 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
18526 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
18527 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
18528 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
18529 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
18530 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
18531 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
18532 * sysdeps/htl/pt-mutexattr.c: Likewise.
18533 * sysdeps/htl/pt-once.c: Likewise.
18534 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
18535 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
18536 * sysdeps/htl/pt-rwlock-init.c: Likewise.
18537 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
18538 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
18539 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
18540 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
18541 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
18542 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
18543 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
18544 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
18545 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
18546 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
18547 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
18548 * sysdeps/htl/pt-setconcurrency.c: Likewise.
18549 * sysdeps/htl/pt-setschedparam.c: Likewise.
18550 * sysdeps/htl/pt-setschedprio.c: Likewise.
18551 * sysdeps/htl/pt-setspecific.c: Likewise.
18552 * sysdeps/htl/pt-spin.c: Likewise.
18553 * sysdeps/htl/pt-startup.c: Likewise.
18554 * sysdeps/htl/pthread.h: Likewise.
18555 * sysdeps/htl/sem-close.c: Likewise.
18556 * sysdeps/htl/sem-destroy.c: Likewise.
18557 * sysdeps/htl/sem-getvalue.c: Likewise.
18558 * sysdeps/htl/sem-init.c: Likewise.
18559 * sysdeps/htl/sem-open.c: Likewise.
18560 * sysdeps/htl/sem-post.c: Likewise.
18561 * sysdeps/htl/sem-timedwait.c: Likewise.
18562 * sysdeps/htl/sem-trywait.c: Likewise.
18563 * sysdeps/htl/sem-unlink.c: Likewise.
18564 * sysdeps/htl/sem-wait.c: Likewise.
18565 * sysdeps/hurd/htl/pt-kill.c: Likewise.
18566 * sysdeps/i386/htl/pt-machdep.h: Likewise.
18567 * sysdeps/mach/htl/pt-block.c: Likewise.
18568 * sysdeps/mach/htl/pt-spin.c: Likewise.
18569 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
18570 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
18571 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
18572 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
18573 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
18574 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
18575 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
18576 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
18577 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
18578 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
18579 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
18580 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
18581 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
18582 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
18583 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
18584 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
18585 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
18586 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
18587 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
18588 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
18589 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
18590 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
18591 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
18592 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
18593 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
18594 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
18595 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
18596 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
18597 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
18598 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
18599 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
18600 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
18601 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
18602 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
18603 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
18604 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
18605 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
18606 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
18607 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
18608 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
18609 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
18610 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
18611 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
18613 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
18614 * README: Remove the mention of out-of-tree patches needed for
18617 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
18618 (UTIME_NOW, UTIME_OMIT): Define macros.
18620 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
18621 instead of pthread_detach.
18622 (__cthread_fork): Call __pthread_create instead of pthread_create.
18623 (__cthread_keycreate): Call __pthread_key_create instead of
18624 pthread_key_create.
18625 (__cthread_getspecific): Call __pthread_getspecific instead of
18626 pthread_getspecific.
18627 (__cthread_setspecific): Call __pthread_setspecific instead of
18628 pthread_setspecific.
18629 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
18630 __pthread_mutex_unlock instead of pthread_mutex_lock and
18631 pthread_mutex_unlock.
18632 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
18633 ___pthread_get_cleanup_stack.
18634 (__pthread_get_cleanup_stack): New strong alias.
18635 * htl/pt-create.c: Include <pthreadP.h>.
18636 (entry_point): Call __pthread_exit instead of pthread_exit.
18637 (pthread_create): Rename to __pthread_create.
18638 (pthread_create): New strong alias.
18639 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
18640 (pthread_detach): New strong alias.
18641 (__pthread_detach): Call __pthread_cond_broadcast instead of
18642 pthread_cond_broadcast.
18643 * htl/pt-exit.c: Include <pthreadP.h>.
18644 (__pthread_exit): Call __pthread_setcancelstate and
18645 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
18646 __pthread_get_cleanup_stack.
18647 * htl/pt-testcancel.c: Include <pthreadP.h>.
18648 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
18649 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
18650 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
18651 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
18652 pthread_attr_getstacksize.
18653 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
18654 Rename to __pthread_attr_getstackaddr.
18655 (pthread_attr_getstackaddr): New strong alias.
18656 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
18657 Rename to __pthread_attr_getstacksize.
18658 (pthread_attr_getstacksize): New strong alias.
18659 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
18660 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
18661 (pthread_attr_setstack): New strong alias.
18662 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
18663 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
18664 pthread_attr_getstacksize, pthread_attr_setstacksize and
18665 pthread_attr_setstackaddr.
18666 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
18667 Rename to __pthread_attr_setstackaddr.
18668 (pthread_attr_setstackaddr): New strong alias.
18669 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
18670 Rename to __pthread_attr_setstacksize.
18671 (pthread_attr_setstacksize): New strong alias.
18672 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
18673 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
18675 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
18676 (__pthread_key_create): New hidden def.
18677 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
18678 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
18679 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
18680 __pthread_exit, __pthread_key_create, __pthread_getspecific,
18681 __pthread_setspecific, __pthread_setcancelstate,
18682 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
18683 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
18684 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
18686 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
18687 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
18688 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
18689 (pthread_attr_setstackaddr): New strong alias.
18690 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
18691 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
18692 (pthread_attr_setstacksize): New strong alias.
18693 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
18694 (call_exit): Call __pthread_exit instead of pthread_exit.
18695 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
18696 (_pthread_mutex_init): New hidden definition.
18697 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
18698 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
18699 instead of pthread_attr_init and pthread_attr_setstack.
18701 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
18702 __vm_deallocate instead of vm_allocate and vm_deallocate.
18703 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
18705 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
18707 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
18709 * hurd/siginfo.c: Include <libioP.h>.
18710 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
18711 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
18713 * mach/devstream.c: Include <libioP.h>.
18714 (dealloc_ref): Call __mach_port_deallocate instead of
18715 mach_port_deallocate.
18716 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
18717 Call __mach_port_deallocate instead of mach_port_deallocate.
18718 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
18720 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
18722 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
18723 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
18724 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
18726 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
18728 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
18729 instead of sysconf.
18730 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
18731 __clock_gettime instead of clock_gettime.
18732 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
18733 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
18734 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
18735 * sysdeps/unix/bsd/stty.c (stty): Likewise.
18736 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
18738 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
18739 __clock_gettime and __nanosleep instead of clock_gettime and
18741 * hurd/catch-signal.c (hurd_catch_signal): Rename to
18742 __hurd_catch_signal.
18743 (hurd_catch_signal): New strong alias.
18744 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
18745 __hurd_catch_signal instead of hurd_catch_signal.
18746 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
18747 * hurd/hurdexec.c (_hurd_init): Add hidden def.
18748 * hurd/hurdinit.c (_hurd_init): Add hidden def.
18749 * hurd/hurdsig.c: Include <mach/mig_support.h>.
18750 (_hurd_thread_sigstate): Add hidden def.
18751 (_hurd_internal_post_signal): Use __mutex_unlock instead of
18753 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
18754 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
18755 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
18756 __hurd_file_name_path_lookup.
18757 (hurd_file_name_path_lookup): New strong alias.
18758 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
18759 hurd_file_name_path_lookup.
18760 * mach/errstring.c (mach_error_type): Add hidden def.
18761 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
18762 * mach/mutex-init.c (__mutex_init): Add hidden def.
18763 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
18764 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
18765 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
18766 * sysdeps/mach/hurd/getcwd.c
18767 (_hurd_canonicalize_directory_name_internal): Rename to
18768 __hurd_canonicalize_directory_name_internal.
18769 (_hurd_canonicalize_directory_name_internal): New strong alias.
18770 (__canonicalize_directory_name_internal, __getcwd): Call
18771 __hurd_canonicalize_directory_name_internal instead of
18772 _hurd_canonicalize_directory_name_internal.
18773 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
18774 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
18776 * sysdeps/hurd/include/hurd.h: New file.
18777 * sysdeps/hurd/include/hurd/fd.h: New file.
18778 * sysdeps/hurd/include/hurd/signal.h: New file.
18779 * sysdeps/mach/include/lock-intern.h: New file.
18780 * sysdeps/mach/include/mach.h: New file.
18781 * sysdeps/mach/include/mach/mig_support.h: New file.
18782 * sysdeps/mach/include/mach_error.h: New file.
18783 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
18785 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
18786 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
18787 _HEADER_H_HIDDEN_DEF macro.
18788 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
18789 _hurd_fd_error_signal): Add hidden prototype.
18790 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
18792 * libio/iolibio.h (_IO_puts): New hidden prototype.
18793 * libio/ioputs.c (_IO_puts): New hidden def.
18794 * sysdeps/mach/hurd/localplt.data: New file.
18796 2018-04-02 Agustina Arzille <avarzille@riseup.net>
18797 Amos Jeffries <squid3@treenet.co.nz>
18798 David Michael <fedora.dm0@gmail.com>
18799 Marco Gerards <marco@gnu.org>
18800 Marcus Brinkmann <marcus@gnu.org>
18801 Neal H. Walfield <neal@gnu.org>
18802 Pino Toscano <toscano.pino@tiscali.it>
18803 Richard Braun <rbraun@sceen.net>
18804 Roland McGrath <roland@gnu.org>
18805 Samuel Thibault <samuel.thibault@ens-lyon.org>
18806 Thomas DiModica <ricinwich@yahoo.com>
18807 Thomas Schwinge <tschwinge@gnu.org>
18809 * htl: New directory.
18810 * sysdeps/htl: New directory.
18811 * sysdeps/hurd/htl: New directory.
18812 * sysdeps/i386/htl: New directory.
18813 * sysdeps/mach/htl: New directory.
18814 * sysdeps/mach/hurd/htl: New directory.
18815 * sysdeps/mach/hurd/i386/htl: New directory.
18816 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
18817 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
18818 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
18820 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18822 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
18823 signals in thread created for runing timers.
18825 2018-04-01 Florian Weimer <fweimer@redhat.com>
18827 * support/support_format_addrinfo.c (support_format_addrinfo):
18828 Include unknown error number in formatted result.
18830 2018-03-29 Florian Weimer <fweimer@redhat.com>
18832 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
18835 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18837 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
18838 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
18839 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
18840 (__ASSUME_CLONE_BACKWARDS): Define.
18842 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
18845 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
18846 early when linux sentinel value is set.
18848 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18850 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
18852 2018-03-27 Andreas Schwab <schwab@suse.de>
18855 * resolv/res_send.c (__res_context_send): Return ENOMEM if
18856 allocation of private copy of nsaddr_list fails.
18858 2018-03-26 Joseph Myers <joseph@codesourcery.com>
18861 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
18862 * sysdeps/unix/sysv/linux/umount.c: ... here.
18863 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
18864 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
18865 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
18866 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
18867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
18868 * sysdeps/unix/sysv/linux/umount.S: Likewise.
18869 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
18871 2018-03-26 Andreas Schwab <schwab@suse.de>
18873 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
18874 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
18875 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
18876 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
18877 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
18878 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
18879 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
18880 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
18881 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
18882 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
18883 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
18884 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
18885 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
18886 (R_RISCV_NUM): Define.
18888 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
18890 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
18891 TLS declaration of errno.
18892 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
18894 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
18895 (ARCH_SETUP_TLS): Likewise.
18896 * sysdeps/mach/hurd/libc-start.h: New file copied from
18897 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
18898 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
18899 instead of __libc_setup_tls.
18900 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
18901 __libc_setup_tls before initializing libpthread and running _hurd_init
18902 which starts the signal thread.
18903 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
18905 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18907 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
18910 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
18911 after it is defined.
18913 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
18914 Max Horn <max@quendi.de>
18918 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
18920 * string/test-memmove.c (do_test2): New testcase.
18922 2018-03-22 Joseph Myers <joseph@codesourcery.com>
18924 * sysdeps/generic/frame.h: Remove file.
18925 * sysdeps/arm/frame.h: Likewise.
18926 * sysdeps/hppa/frame.h: Likewise.
18927 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
18929 (GET_FRAME): Likewise.
18930 (GET_STACK): Likewise.
18931 (CALL_SIGHANDLER): Likewise.
18932 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
18934 (GET_FRAME): Likewise.
18935 (GET_STACK): Likewise.
18936 (CALL_SIGHANDLER): Likewise.
18937 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
18938 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18939 (GET_FRAME): Likewise.
18940 (GET_STACK): Likewise.
18941 (CALL_SIGHANDLER): Likewise.
18942 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
18943 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18944 (GET_FRAME): Likewise.
18945 (GET_STACK): Likewise.
18946 (ADVANCE_STACK_FRAME): Likewise.
18947 (CALL_SIGHANDLER): Likewise.
18948 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
18949 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18950 (GET_FRAME): Likewise.
18951 (GET_STACK): Likewise.
18952 (CALL_SIGHANDLER): Likewise.
18953 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
18954 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18955 (GET_FRAME): Likewise.
18956 (GET_STACK): Likewise.
18957 (CALL_SIGHANDLER): Likewise.
18958 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
18959 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18960 (GET_FRAME): Likewise.
18961 (GET_STACK): Likewise.
18962 (CALL_SIGHANDLER): Likewise.
18963 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
18964 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18965 (GET_FRAME): Likewise.
18966 (GET_STACK): Likewise.
18967 (CALL_SIGHANDLER): Likewise.
18968 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
18969 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18970 (GET_FRAME): Likewise.
18971 (GET_STACK): Likewise.
18972 (CALL_SIGHANDLER): Likewise.
18973 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
18974 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18975 (GET_FRAME): Likewise.
18976 (GET_STACK): Likewise.
18977 (CALL_SIGHANDLER): Likewise.
18978 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
18979 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18980 (GET_FRAME): Likewise.
18981 (GET_STACK): Likewise.
18982 (CALL_SIGHANDLER): Likewise.
18983 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
18984 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18985 (GET_FRAME): Likewise.
18986 (GET_STACK): Likewise.
18987 (CALL_SIGHANDLER): Likewise.
18988 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
18989 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18990 (GET_FRAME): Likewise.
18991 (GET_STACK): Likewise.
18992 (CALL_SIGHANDLER): Likewise.
18993 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
18994 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18995 (FIRST_FRAME_POINTER): Likewise.
18996 (ADVANCE_STACK_FRAME): Likewise.
18997 (GET_STACK): Likewise.
18998 (GET_FRAME): Likewise.
18999 (CALL_SIGHANDLER): Likewise.
19000 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
19001 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19002 (ADVANCE_STACK_FRAME): Likewise.
19003 (GET_STACK): Likewise.
19004 (GET_FRAME): Likewise.
19005 (CALL_SIGHANDLER): Likewise.
19006 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
19007 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19008 (GET_FRAME): Likewise.
19009 (GET_STACK): Likewise.
19010 (CALL_SIGHANDLER): Likewise.
19011 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
19012 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19013 (GET_FRAME): Likewise.
19014 (GET_STACK): Likewise.
19015 (CALL_SIGHANDLER): Likewise.
19017 2018-03-21 Joseph Myers <joseph@codesourcery.com>
19019 * sysdeps/x86_64/backtrace.c: Move to ....
19020 * debug/backtrace.c: ... here.
19021 * sysdeps/aarch64/backtrace.c: Remove file.
19022 * sysdeps/alpha/backtrace.c: Likewise.
19023 * sysdeps/hppa/backtrace.c: Likewise.
19024 * sysdeps/ia64/backtrace.c: Likewise.
19025 * sysdeps/mips/backtrace.c: Likewise.
19026 * sysdeps/nios2/backtrace.c: Likewise.
19027 * sysdeps/riscv/backtrace.c: Likewise.
19028 * sysdeps/sh/backtrace.c: Likewise.
19029 * sysdeps/tile/backtrace.c: Likewise.
19031 2018-03-20 Joseph Myers <joseph@codesourcery.com>
19034 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
19037 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
19040 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
19041 possibly overflowing computations.
19043 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
19045 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
19046 values from Linux-specific section now that it is in the GNU section.
19047 * sysdeps/gnu/errlist.c: Regenerate.
19049 2018-03-20 Joseph Myers <joseph@codesourcery.com>
19051 * math/Makefile (libm-narrow-fns): Add sub.
19052 (libm-test-funcs-narrow): Likewise.
19053 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
19054 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
19055 * math/gen-auto-libm-tests.c (test_functions): Add sub.
19056 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
19057 (NARROW_SUB_ROUND_TO_ODD): Likewise.
19058 (NARROW_SUB_TRIVIAL): Likewise.
19059 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
19061 (__dsubl): Likewise.
19062 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
19064 (CFLAGS-nldbl-dsub.c): New variable.
19065 (CFLAGS-nldbl-fsub.c): Likewise.
19066 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
19068 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
19070 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
19071 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
19072 * math/auto-libm-test-in: Add tests of sub.
19073 * math/auto-libm-test-out-narrow-sub: New generated file.
19074 * math/libm-test-narrow-sub.inc: New file.
19075 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
19076 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
19077 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
19078 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
19079 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
19080 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
19081 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
19082 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
19083 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
19084 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
19085 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
19086 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
19087 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
19088 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
19089 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
19090 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
19091 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
19092 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
19093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19094 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
19095 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19096 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19097 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19098 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19099 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19100 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19101 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19102 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19103 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19104 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19105 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19106 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
19109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19111 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19112 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19113 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19114 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19115 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19116 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19117 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
19118 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
19119 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19120 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19122 2018-03-19 Joseph Myers <joseph@codesourcery.com>
19125 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
19127 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
19129 * benchtests/bench-timing.h (attribute_hidden): Undefine.
19131 2018-03-18 Richard Braun <rbraun@sceen.net>
19133 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
19136 2018-03-18 Agustina Arzille <avarzille@riseup.net>
19138 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
19139 (__libc_cleanup_fct): Define function.
19140 (__libc_cleanup_region_start, __libc_cleanup_region_end,
19141 __libc_cleanup_end): Rewrite implementation using
19142 __attribute__ ((__cleanup__)).
19143 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
19144 * hurd/Makefile (routines): Add hurdlock.
19145 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
19147 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
19148 * hurd/hurdpid.c: Include <lowlevellock.h>
19149 (_S_msg_proc_newids): Use lll_wait to synchronize.
19150 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
19151 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
19152 * mach/Makefile (lock-headers): Remove machine-lock.h.
19153 * mach/lock-intern.h: Include <lowlevellock.h> instead of
19155 (__spin_lock_t): New type.
19156 (__SPIN_LOCK_INITIALIZER): New macro.
19157 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
19158 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
19159 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
19160 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
19161 (__mutex_init): Initialize with lll.
19162 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
19163 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
19165 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19166 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
19167 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
19168 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
19169 (__setpgid): Use lll for synchronization.
19170 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
19171 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
19172 instead of <cthreads.h>.
19173 (_IO_lock_inexpensive): New macro
19174 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
19175 (__libc_lock_self0): New declaration.
19176 (__libc_lock_owner_self): New macro.
19177 (__libc_key_t): Remove type.
19178 (_LIBC_LOCK_INITIALIZER): New macro.
19179 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
19180 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
19181 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
19182 __libc_lock_define_initialized_recursive,
19183 __rtld_lock_define_initialized_recursive,
19184 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
19185 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
19186 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
19187 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
19188 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
19189 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
19190 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
19192 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
19193 * hurd/hurdlock.c: New file.
19194 * hurd/hurdlock.h: New file.
19195 * mach/lowlevellock.h: New file
19197 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
19199 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
19200 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
19201 when opening a symlink with O_NOFOLLOW.
19202 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
19203 path when flags contains O_NOFOLLOW.
19204 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
19205 if flags contains O_DIRECTORY and the result is a directory.
19206 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
19207 oneself when the pointer given in D is nul (as set by ext2fs).
19208 * sysdeps/mach/hurd/mlockall.c: New file.
19209 * sysdeps/mach/hurd/munlockall.c: New file.
19211 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
19213 * hurd/hurdsig.c: Include <pthread.h>.
19214 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
19215 get the signal thread stack layout.
19216 * hurd/Makefile (headers): Remove threadvar.h.
19217 (inline-headers): Remove threadvar.h.
19218 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
19219 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
19220 __hurd_threadvar_max, __hurd_errno_location.
19221 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
19222 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
19223 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
19224 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
19225 unless TLS is not initialized yet, in which case we do not need a
19226 critical section yet anyway.
19227 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
19229 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
19231 (__hurd_threadvar_index): Remove enum.
19232 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
19233 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
19235 (__hurd_reply_port0): New variable declaration.
19236 (__hurd_local_reply_port): New macro.
19237 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
19238 (interrupted_reply_port_location): Add thread_t parameter. Use it
19239 with THREAD_TCB to access thread-local variables.
19240 (_hurdsig_abort_rpcs): Pass ss->thread to
19241 interrupted_reply_port_location.
19242 (_hurd_internal_post_signal): Likewise.
19243 (_hurdsig_init): Use presence of cthread_fork instead of
19244 __hurd_threadvar_stack_mask to start signal thread by hand.
19245 Remove signal thread threadvar initialization.
19246 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
19247 * hurd/sigunwind.c: Include <hurd/threadvar.h>
19248 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
19250 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
19252 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
19253 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
19254 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
19255 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
19256 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
19257 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
19258 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
19260 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
19261 <hurd/threadvar.h>.
19262 [IS_IN(rtld)] (rtld_errno): New variable.
19263 [IS_IN(rtld)] (__errno_location): New weak function.
19264 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
19265 * sysdeps/mach/hurd/errno.c: Remove file.
19266 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
19267 (__fork): Remove THREADVAR_SPACE macro and its use.
19268 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
19270 (init): Do not initialize threadvar.
19271 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
19273 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
19274 __hurd_local_reply_port instead of threadvar.
19275 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
19276 _hurd_sigstate fields.
19277 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
19278 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
19279 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
19280 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
19281 instead of threadvar.
19282 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
19283 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
19284 (use_threadvar, global_reply_port): Remove variables.
19285 (__hurd_reply_port0): New variable.
19286 (__mig_get_reply_port): Use __hurd_local_reply_port and
19287 __hurd_reply_port0 instead of threadvar.
19288 (__mig_dealloc_reply_port): Likewise.
19289 (__mig_init): Do not initialize threadvar.
19290 * sysdeps/mach/hurd/profil.c: Fix comment.
19291 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
19292 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
19293 cthread_keycreate, cthread_getspecific, cthread_setspecific to
19294 __cthread_fork, __cthread_detach, __pthread_getattr_np,
19295 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
19296 __cthread_setspecific.
19297 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
19298 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
19299 __cthread_t instead of cthread_fork, cthread_detach,
19300 pthread_getattr_np, pthread_attr_getstack.
19301 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
19302 __cthread_keycreate.
19303 (cthread_getspecific): Rename to __cthread_getspecific.
19304 (cthread_setspecific): Rename to __cthread_setspecific.
19305 (__libc_getspecific): Use __cthread_getspecific instead of
19306 cthread_getspecific.
19307 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
19308 __cthread_keycreate instead of cthread_keycreate.
19309 (__libc_setspecific): Use __cthread_setspecific instead of
19310 cthread_setspecific.
19311 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
19313 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
19314 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
19315 testing whether it is defined.
19317 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19319 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
19321 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
19322 * sysdeps/mach/i386/thread_state.h
19323 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
19325 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
19327 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
19329 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
19330 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
19332 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
19334 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
19335 descriptor instead of creating a new one.
19336 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
19338 * mach/setup-thread.c: Include <ldsodefs.h>.
19339 (__mach_setup_thread): Call _dl_allocate_tls, pass
19340 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
19341 MACHINE_THREAD_STATE_FLAVOR, before getting
19342 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
19343 MACHINE_THREAD_STATE_FLAVOR with the result.
19344 * hurd/hurdfault.c (_hurdsig_fault_init): Call
19345 MACHINE_THREAD_STATE_FIX_NEW.
19346 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
19347 too. Add original thread parameter.
19349 2018-03-16 Joseph Myers <joseph@codesourcery.com>
19351 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
19352 Remove inline function.
19354 * sysdeps/i386/fpu/libm-test-ulps: Update.
19355 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19357 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
19359 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
19362 2018-03-15 Joseph Myers <joseph@codesourcery.com>
19364 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
19365 (__sincos_code): Remove define and undefine.
19366 [__FAST_MATH__] (__sincos): Remove inline function.
19367 [__FAST_MATH__] (__sincosf): Remove inline function.
19368 [__FAST_MATH__] (__sincosl): Remove inline function.
19369 (__atan2l): Remove inline functions.
19370 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
19371 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
19373 (floor): Remove inline function.
19375 [__FAST_MATH__] (__ldexp_code): Remove macro.
19376 [__FAST_MATH__] (ldexp): Remove inline function.
19377 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
19378 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
19379 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
19380 [__USE_ISOC99] (__lrint_code): Remove macro.
19381 [__USE_ISOC99] (__llrint_code): Likewise.
19382 [__USE_ISOC99] (lrintf): Remove inline function.
19383 [__USE_ISOC99] (lrint): Likewise.
19384 [__USE_ISOC99] (lrintl): Likewise.
19385 [__USE_ISOC99] (llrint): Likewise.
19386 [__USE_ISOC99] (llrintf): Likewise.
19387 [__USE_ISOC99] (llrintl): Likewise.
19389 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19391 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
19392 (__ieee754_sqrtf): Remove.
19393 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
19394 (__ieee754_sqrtf): Remove.
19395 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
19396 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
19397 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
19398 (__ieee754_sqrtf): Remove.
19399 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
19400 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
19403 (__ieee754_sqrt): Remove.
19404 (__ieee754_sqrtf): Remove.
19405 (__ieee754_sqrtl): Remove.
19406 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
19407 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
19408 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
19409 (__ieee754_sqrtf): Remove.
19410 (__ieee754_sqrtl): Remove.
19412 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19414 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
19415 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
19416 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
19417 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
19418 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
19419 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19420 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19421 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19423 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
19424 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
19425 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
19426 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
19427 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
19428 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
19429 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
19430 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
19431 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
19432 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
19433 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
19434 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
19435 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
19436 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
19437 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
19438 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19439 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19440 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
19441 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
19442 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
19443 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19444 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19445 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
19446 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
19447 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
19448 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
19449 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19450 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19451 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
19452 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
19453 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
19454 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
19455 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
19456 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
19457 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19458 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19459 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
19460 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
19461 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
19462 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
19464 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19466 * include/math.h (sqrt): Declare with asm redirect.
19469 (sqrtf128): Likewise.
19470 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
19471 nonlib and libnldbl with -fmath-errno.
19472 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
19473 * math/w_sqrt_template.c: Likewise.
19474 * math/w_sqrtf_compat.c: Likewise.
19475 * math/w_sqrtl_compat.c: Likewise.
19476 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
19477 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
19478 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
19481 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19483 * benchtests/Makefile: Define _ISOMAC.
19484 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
19485 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
19486 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
19487 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
19488 * benchtests/bench-timing.h: Define attribute_hidden.
19490 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
19492 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
19495 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
19498 * localedata/locales/cs_CZ (mon): Rename to...
19500 (mon): Import from CLDR (genitive case).
19502 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
19505 * localedata/locales/el_CY (abmon): Rename to...
19506 (ab_alt_mon): This.
19507 (abmon): Import from CLDR (abbreviated genitive case).
19508 * localedata/locales/el_GR (abmon): Rename to...
19509 (ab_alt_mon): This.
19510 (abmon): Import from CLDR (abbreviated genitive case).
19512 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
19515 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
19517 2018-03-15 Robert Buj <robert.buj@gmail.com>
19520 * localedata/locales/ca_ES (abmon): Rename to...
19521 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
19522 (mon): Rename to...
19524 (abmon): Import from CLDR (genitive case, month names preceded by
19527 (abday): Synchronize with CLDR.
19528 (d_t_fmt): Likewise.
19532 (LC_TIME): Improve indentation.
19533 (LC_TELEPHONE): Likewise.
19534 (LC_NAME): Likewise.
19535 (LC_ADDRESS): Likewise.
19537 2018-03-14 Joseph Myers <joseph@codesourcery.com>
19539 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
19540 (lrintf): Remove definitions used only with old GCC.
19541 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
19542 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
19543 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
19544 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
19545 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
19546 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
19547 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
19548 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
19549 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
19550 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
19551 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
19552 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
19553 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
19554 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
19555 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
19556 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
19557 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
19558 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
19559 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
19560 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
19561 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
19562 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
19563 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
19564 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
19565 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
19566 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
19567 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
19568 [__FAST_MATH__] (__M_SQRT2): Remove macro.
19570 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
19572 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
19573 instruction to unbreak builds with binutils 2.26 and older.
19575 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
19577 * sysdeps/aarch64/strncmp.S (count): New macro.
19578 (strncmp): Store misaligned length in SRC1 in COUNT.
19579 (mutual_align): Adjust.
19580 (misaligned8): Load dword at a time when it is safe.
19582 2018-03-12 Zack Weinberg <zackw@panix.com>
19586 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
19587 if the _IO_EOF_SEEN bit is already set; update commentary.
19588 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
19589 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
19591 * support/support_openpty.c, support/tty.h: New files.
19592 * support/Makefile (libsupport-routines): Add support_openpty.
19594 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
19596 * libio/Makefile (tests): Add tst-fgetc-after-eof.
19597 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
19599 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
19601 * po/pt_BR.po: Update translations.
19603 2018-03-12 David Michael <fedora.dm0@gmail.com>
19605 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
19606 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
19607 get a port to the startup server.
19609 2018-03-11 Zack Weinberg <zackw@panix.com>
19611 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
19612 before nldbl-compat.h.
19614 2018-03-10 Zack Weinberg <zackw@panix.com>
19616 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
19617 math.h or math_private.h.
19619 * sysdeps/alpha/fpu/s_isnan.c
19620 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
19621 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
19622 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
19623 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
19624 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
19625 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
19626 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
19627 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
19628 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
19629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
19630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
19631 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
19632 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
19633 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
19634 Include math_private.h.
19636 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
19637 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
19638 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
19639 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
19640 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
19641 * sysdeps/powerpc/power7/fpu/s_logb.c:
19642 Include math.h and math_private.h.
19644 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
19645 uses of $at in .set noat / .set at.
19647 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
19649 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
19650 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
19651 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
19652 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
19655 2018-03-09 Florian Weimer <fweimer@redhat.com>
19657 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
19660 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
19663 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
19664 Add nop before __startcontext, add explaining comments.
19666 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19669 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
19671 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
19672 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
19673 Do not build hardware transactional code for __SPE__.
19674 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
19675 (__lll_trylock_elision): Likewise.
19676 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
19677 (__lll_unlock_elision): Likewise.
19679 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
19680 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
19681 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
19682 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
19683 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
19684 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
19685 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
19686 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
19687 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
19688 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
19689 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
19690 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
19691 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
19692 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
19693 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
19694 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
19695 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
19696 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
19697 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
19698 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
19699 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
19700 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19701 (__ASSUME_CLONE_BACKWARDS): Define.
19702 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
19703 __clone2 if __NR_clone2 is defined.
19704 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19705 (__ASSUME_CLONE_BACKWARDS): Likewise.
19706 * sysdeps/unix/sysv/linux/i386/kernel-features.h
19707 (__ASSUME_CLONE_BACKWARDS): Likewise.
19708 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19709 (__ASSUME_CLONE2): Likewise.
19710 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19711 (__ASSUME_CLONE_BACKWARDS3): Likewise.
19712 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
19713 variants and the define architecture can use.
19714 (__ASSUME_CLONE_DEFAULT): Define as default.
19715 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19716 (__ASSUME_CLONE_BACKWARDS): Likewise.
19717 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19718 (__ASSUME_CLONE_BACKWARDS): Likewise.
19719 * sysdeps/unix/sysv/linux/s390/kernel-features.h
19720 (__ASSUME_CLONE_BACKWARDS2): Likewise.
19722 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
19724 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
19726 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
19729 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
19730 (do_test_limit): Likewise.
19732 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
19733 for every implementation.
19734 (do_test): Likewise.
19736 * benchtests/bench-strncmp.c: Convert output to json.
19738 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19740 * io/futimens.c: Add missing start-of-file descriptive comment.
19741 * io/utime.c: Likewise.
19742 * misc/futimesat.c: Likewise.
19743 * misc/utimes.c: Likewise.
19744 * sysdeps/mach/hurd/futimesat.c: Likewise.
19745 * sysdeps/mach/hurd/utimes.c: Likewise.
19746 * sysdeps/posix/utime.c: Likewise.
19747 * sysdeps/posix/utimes.c: Likewise.
19748 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
19749 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
19750 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
19751 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
19753 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
19755 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
19757 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
19758 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
19759 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
19760 (__futimens): Move implementation to...
19761 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
19762 utime_tvalue_from_tspec): ... new helper functions.
19763 (hurd_futimens): New function.
19764 * sysdeps/mach/hurd/futimesat.c: New file.
19765 * sysdeps/mach/hurd/utimensat.c: New file.
19767 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
19769 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
19770 UTIME_OMIT): New macros.
19771 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
19772 before reverting to converting time spec to time value and calling
19774 * sysdeps/mach/hurd/utime-helper.c: New file.
19775 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
19776 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
19777 reverting to utime_tvalue_from_tval and __file_utimes.
19778 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
19779 (__lutimes): Just call hurd_futimens after lookup.
19780 * sysdeps/mach/hurd/utimes.c: Likewise.
19782 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
19784 * bits/sigaction.h: Add include guard.
19785 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
19786 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
19787 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
19788 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
19789 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
19790 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
19791 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
19792 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
19793 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
19795 2018-03-05 Joseph Myers <joseph@codesourcery.com>
19797 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
19798 -Wmaybe-uninitialized for -Os.
19799 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
19802 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19804 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
19805 __INO_T_MATCHES_INO64_T is defined.
19806 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
19807 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
19809 * dirent/alphasort64.c: Likewise.
19810 * dirent/scandir.c: Likewise.
19811 * dirent/scandir64-tail.c: Likewise.
19812 * dirent/scandir64.c: Likewise.
19813 * dirent/scandirat.c: Likewise.
19814 * dirent/scandirat64.c: Likewise.
19815 * dirent/versionsort.c: Likewise.
19816 * dirent/versionsort64.c: Likewise.
19817 * include/dirent.h: Likewise.
19819 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
19820 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
19821 for socketpair endpoint.
19822 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
19823 WRITE_BUFFER_SIZE as buffer size for sending socket.
19824 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
19825 issue on system where send is implemented with sendto syscall.
19826 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
19827 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
19828 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
19829 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
19832 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
19833 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
19834 sa_restorer for vDSO case.
19835 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
19837 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19839 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
19840 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
19841 * hurd/hurd/ioctl.h: Include <mach/port.h>
19842 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
19843 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
19844 <mach/mach_types.h> and <mach/message.h>.
19845 (headers): Move mach/param.h to bits/mach/param.h.
19846 * sysdeps/mach/i386/mach/param.h: Move file to ...
19847 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
19848 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
19850 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
19851 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
19852 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
19853 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
19854 trivial, for C++ conformity.
19855 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
19856 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
19857 Process mig output through $(migheadersed).
19858 * hurd/Makefile (migheadersed): Define variable.
19859 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
19860 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
19862 * hurd/hurd.h: Include <bits/types/sigset_t.h>
19863 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
19864 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
19865 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
19866 <bits/types/sigset_t.h>.
19867 [!defined __USE_GNU]: Do not #error out.
19868 (struct hurd_sigstate): Use _NSIG instead of NSIG.
19869 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
19870 Include <stddef.h> and <bits/types/sigset_t.h>
19871 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
19872 instead of sighandler_t.
19873 * stdlib/errno.h (error_t): Move definition to...
19874 * bits/types/error_t.h: ... new header.
19875 * stdlib/Makefile (headers): Add bits/types/error_t.h.
19876 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
19877 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
19878 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
19879 * hurd/hurd.h: Include <bits/types/error_t.h>
19880 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
19881 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
19882 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
19883 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
19884 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
19885 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
19886 * sysdeps/mach/hurd/futimens.c: New file.
19888 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
19891 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
19892 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
19893 * nscd/gai.c (__nss_hosts_database): Readd definition.
19894 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
19895 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
19896 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
19898 2018-03-02 Joseph Myers <joseph@codesourcery.com>
19900 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
19901 (ifunc_one): Likewise.
19903 2018-03-01 DJ Delorie <dj@delorie.com>
19906 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
19909 2018-03-01 Maciej W. Rozycki <macro@mips.com>
19911 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
19912 `match_pid' parameter.
19913 (td_ta_thr_iter): Update accordingly.
19915 2018-03-01 Florian Weimer <fweimer@redhat.com>
19917 * nptl/Makefile (install-lib-ldscripts): Remove.
19918 (install): Remove rule.
19919 ($(inst_libdir)/libpthread.so): Likewise.
19921 2018-03-01 Mike FABIAN <mfabian@redhat.com>
19924 * localedata/locales/an_ES: update month and day names,
19925 improve d_fmt, improve postal_fmt, add country_post,
19928 2018-03-01 Mike FABIAN <mfabian@redhat.com>
19930 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
19931 Ukrainian instead of Bulgarian.
19933 2018-03-01 Florian Weimer <fweimer@redhat.com>
19935 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
19938 2018-03-01 Florian Weimer <fweimer@redhat.com>
19940 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
19941 * nptl/Makefile (routines): Add pthread_atfork.
19942 (static-only-routines): Set to pthread_atfork.
19943 (libpthread-routines): Remove pthread_atfork.
19944 (libpthread-static-only-routines): Remove.
19945 (install): Update comment.
19946 (libpthread.so): Do not install libpthread_nonshared.a.
19947 (tests): Do not link with libpthread_nonshared.a.
19948 (generated): Remove libpthread_nonshared.a.
19949 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
19950 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
19951 with libpthread_nonshared.a.
19953 2018-02-28 Joseph Myers <joseph@codesourcery.com>
19956 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
19957 (libc_feholdexcept_setroundf128): New macro.
19958 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
19961 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
19963 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
19964 * include/inttypes.h: New file.
19966 2018-02-27 Joseph Myers <joseph@codesourcery.com>
19968 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
19969 -Os in two more places.
19971 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19973 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
19974 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
19975 be sorted correctly at the moment because of a bug.
19977 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19979 [BZ #22550] - es_ES locale (and other es_* locales): collation should
19980 treat ñ as a primary different character, sync the collation
19981 for Spanish with CLDR.
19982 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
19983 * localedata/Makefile: Add new test files.
19984 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
19985 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
19987 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
19988 * localedata/am_ET.UTF-8.in: New test file.
19989 * localedata/az_AZ.UTF-8.in: Likewise.
19990 * localedata/be_BY.UTF-8.in: Likewise.
19991 * localedata/ber_DZ.UTF-8.in: Likewise.
19992 * localedata/ber_MA.UTF-8.in: Likewise.
19993 * localedata/bg_BG.UTF-8.in: Likewise.
19994 * localedata/br_FR.UTF-8.in: Likewise.
19995 * localedata/cmn_TW.UTF-8.in: Likewise.
19996 * localedata/crh_UA.UTF-8.in: Likewise.
19997 * localedata/csb_PL.UTF-8.in: Likewise.
19998 * localedata/cv_RU.UTF-8.in: Likewise.
19999 * localedata/cy_GB.UTF-8.in: Likewise.
20000 * localedata/dz_BT.UTF-8.in: Likewise.
20001 * localedata/eo.UTF-8.in: Likewise.
20002 * localedata/es_ES.UTF-8.in: Likewise.
20003 * localedata/fa_IR.UTF-8.in: Likewise.
20004 * localedata/fi_FI.UTF-8.in: Likewise.
20005 * localedata/fil_PH.UTF-8.in: Likewise.
20006 * localedata/fur_IT.UTF-8.in: Likewise.
20007 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
20008 * localedata/ha_NG.UTF-8.in: Likewise.
20009 * localedata/ig_NG.UTF-8.in: Likewise.
20010 * localedata/ik_CA.UTF-8.in: Likewise.
20011 * localedata/kk_KZ.UTF-8.in: Likewise.
20012 * localedata/ku_TR.UTF-8.in: Likewise.
20013 * localedata/ky_KG.UTF-8.in: Likewise.
20014 * localedata/ln_CD.UTF-8.in: Likewise.
20015 * localedata/mi_NZ.UTF-8.in: Likewise.
20016 * localedata/ml_IN.UTF-8.in: Likewise.
20017 * localedata/mn_MN.UTF-8.in: Likewise.
20018 * localedata/mr_IN.UTF-8.in: Likewise.
20019 * localedata/mt_MT.UTF-8.in: Likewise.
20020 * localedata/nb_NO.UTF-8.in: Likewise.
20021 * localedata/om_KE.UTF-8.in: Likewise.
20022 * localedata/os_RU.UTF-8.in: Likewise.
20023 * localedata/ps_AF.UTF-8.in: Likewise.
20024 * localedata/ro_RO.UTF-8.in: Likewise.
20025 * localedata/ru_RU.UTF-8.in: Likewise.
20026 * localedata/sc_IT.UTF-8.in: Likewise.
20027 * localedata/se_NO.UTF-8.in: Likewise.
20028 * localedata/sq_AL.UTF-8.in: Likewise.
20029 * localedata/sv_SE.UTF-8.in: Likewise.
20030 * localedata/szl_PL.UTF-8.in: Likewise.
20031 * localedata/tg_TJ.UTF-8.in: Likewise.
20032 * localedata/tk_TM.UTF-8.in: Likewise.
20033 * localedata/tt_RU.UTF-8.in: Likewise.
20034 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
20035 * localedata/ug_CN.UTF-8.in: Likewise.
20036 * localedata/uz_UZ.UTF-8.in: Likewise.
20037 * localedata/vi_VN.UTF-8.in: Likewise.
20038 * localedata/yi_US.UTF-8.in: Likewise.
20039 * localedata/yo_NG.UTF-8.in: Likewise.
20040 * localedata/zh_CN.UTF-8.in: Likewise.
20041 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
20042 file and fix bugs in the collation.
20043 * localedata/locales/az_AZ: Likewise.
20044 * localedata/locales/be_BY: Likewise.
20045 * localedata/locales/ber_DZ: Likewise.
20046 * localedata/locales/ber_MA: Likewise.
20047 * localedata/locales/bg_BG: Likewise.
20048 * localedata/locales/br_FR: Likewise.
20049 * localedata/locales/br_FR@euro: Likewise.
20050 * localedata/locales/ca_ES: Likewise.
20051 * localedata/locales/cns11643_stroke: Likewise.
20052 * localedata/locales/crh_UA: Likewise.
20053 * localedata/locales/cs_CZ: Likewise.
20054 * localedata/locales/csb_PL: Likewise.
20055 * localedata/locales/cv_RU: Likewise.
20056 * localedata/locales/cy_GB: Likewise.
20057 * localedata/locales/da_DK: Likewise.
20058 * localedata/locales/dz_BT: Likewise.
20059 * localedata/locales/en_CA: Likewise.
20060 * localedata/locales/eo: Likewise.
20061 * localedata/locales/es_CU: Likewise.
20062 * localedata/locales/es_EC: Likewise.
20063 * localedata/locales/es_ES: Likewise.
20064 * localedata/locales/es_US: Likewise.
20065 * localedata/locales/et_EE: Likewise.
20066 * localedata/locales/fa_IR: Likewise.
20067 * localedata/locales/fi_FI: Likewise.
20068 * localedata/locales/fil_PH: Likewise.
20069 * localedata/locales/fur_IT: Likewise.
20070 * localedata/locales/gez_ER@abegede: Likewise.
20071 * localedata/locales/ha_NG: Likewise.
20072 * localedata/locales/hr_HR: Likewise.
20073 * localedata/locales/hsb_DE: Likewise.
20074 * localedata/locales/hu_HU: Likewise.
20075 * localedata/locales/ig_NG: Likewise.
20076 * localedata/locales/ik_CA: Likewise.
20077 * localedata/locales/is_IS: Likewise.
20078 * localedata/locales/iso14651_t1_pinyin: Likewise.
20079 * localedata/locales/kk_KZ: Likewise.
20080 * localedata/locales/ku_TR: Likewise.
20081 * localedata/locales/ky_KG: Likewise.
20082 * localedata/locales/ln_CD: Likewise.
20083 * localedata/locales/lt_LT: Likewise.
20084 * localedata/locales/lv_LV: Likewise.
20085 * localedata/locales/mi_NZ: Likewise.
20086 * localedata/locales/ml_IN: Likewise.
20087 * localedata/locales/mn_MN: Likewise.
20088 * localedata/locales/mr_IN: Likewise.
20089 * localedata/locales/mt_MT: Likewise.
20090 * localedata/locales/nb_NO: Likewise.
20091 * localedata/locales/om_KE: Likewise.
20092 * localedata/locales/os_RU: Likewise.
20093 * localedata/locales/pl_PL: Likewise.
20094 * localedata/locales/ps_AF: Likewise.
20095 * localedata/locales/ro_RO: Likewise.
20096 * localedata/locales/ru_RU: Likewise.
20097 * localedata/locales/ru_UA: Likewise.
20098 * localedata/locales/sc_IT: Likewise.
20099 * localedata/locales/se_NO: Likewise.
20100 * localedata/locales/si_LK: Likewise.
20101 * localedata/locales/sq_AL: Likewise.
20102 * localedata/locales/sv_FI: Likewise.
20103 * localedata/locales/sv_FI@euro: Likewise.
20104 * localedata/locales/sv_SE: Likewise.
20105 * localedata/locales/szl_PL: Likewise.
20106 * localedata/locales/tg_TJ: Likewise.
20107 * localedata/locales/ti_ER: Likewise.
20108 * localedata/locales/tk_TM: Likewise.
20109 * localedata/locales/tl_PH: Likewise.
20110 * localedata/locales/tr_TR: Likewise.
20111 * localedata/locales/tt_RU: Likewise.
20112 * localedata/locales/tt_RU@iqtelif: Likewise.
20113 * localedata/locales/ug_CN: Likewise.
20114 * localedata/locales/uk_UA: Likewise.
20115 * localedata/locales/uz_UZ: Likewise.
20116 * localedata/locales/uz_UZ@cyrillic: Likewise.
20117 * localedata/locales/vi_VN: Likewise.
20118 * localedata/locales/yi_US: Likewise.
20119 * localedata/locales/yo_NG: Likewise.
20121 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20123 * gen-locales.mk: Make test files which contain @ modifiers in their
20125 * localedata/gen-locale.sh: Likewise.
20127 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20129 * posix/tst-fnmatch.input: Fix results for range expressions
20131 * posix/tst-regexloc.c: Do not use a range expression for
20132 de_DE.ISO-8859-1 locale.
20134 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20136 * posix/bug-regex5.c: Fix test case because with the new
20137 iso14651_t1_common file, the da_DK locale now has 6 collating elements
20138 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
20141 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20143 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
20144 downloaded from ISO, the collation order of @-. and space has changed.
20145 Therefore, this test file needed to be adapted.
20146 * localedata/fr_CA.UTF-8.in: Likewise.
20147 * localedata/fr_FR.UTF-8.in: Likewise.
20148 * localedata/uk_UA.UTF-8.in: Likewise.
20150 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20152 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
20153 order of ȥ in the new iso14651_t1_common file.
20154 * localedata/pl_PL.UTF-8.in: Likewise.
20156 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20158 * localedata/locales/iso14651_t1_common: Add sections for various
20159 scripts to the iso14651_t1_common file.
20161 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20163 * localedata/locales/iso14651_t1_common: Use the code point of a
20164 character in the fourth collation level instead of IGNORE for all
20165 entries which have IGNORE on all 4 levels.
20167 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20169 * localedata/locales/iso14651_t1_common: Add some convenient collation
20170 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
20171 rules similar to those in CLDR.
20173 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20175 * localedata/locales/iso14651_t1_common: The new version of this
20176 file downloaded from ISO contained several syntax errors which
20177 are fixed by this patch.
20179 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20181 * localedata/locales/iso14651_t1_common: replace all <U.....>
20182 with <U000.....> because glibc understands only 4 digit or 8 digit
20184 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20186 * localedata/locales/iso14651_t1_common: Necessary changes
20187 to make the file downloaded from ISO usable by glibc.
20189 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20192 * localedata/locales/iso14651_t1_common: Update file to
20193 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
20195 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
20197 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
20198 of <nptl/pthreadP.h>
20199 (thread_attr_compare): Move function to...
20200 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
20201 * sysdeps/nptl/timer_routines.h: ... new header.
20202 * sysdeps/mach/hurd/gai_misc.h: New file.
20204 2018-02-26 Joseph Myers <joseph@codesourcery.com>
20206 * string/strcoll_l.c: Include <libc-diag.h>.
20207 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
20208 declarations of seq1 and seq2.
20211 * stdlib/atoi.c (atoi): Use libc_hidden_def.
20212 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
20214 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
20218 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
20219 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
20220 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
20221 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
20222 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
20223 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
20225 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20227 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
20228 macros used in __ptrace_request.
20230 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
20233 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
20235 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
20236 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
20237 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
20240 2018-02-23 Joseph Myers <joseph@codesourcery.com>
20243 * ctype/ctype.c (tolower): Use libc_hidden_def.
20244 (toupper): Likewise.
20245 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
20246 [!_ISOMAC] (toupper): Likewise.
20248 2018-02-23 Mike FABIAN <mfabian@redhat.com>
20250 * localedata/Makefile: Remove --quiet argument when
20253 2018-02-23 Mike FABIAN <mfabian@redhat.com>
20256 * localedata/locales/pt_BR (LC_TIME): use / instead of -
20258 * localedata/locales/pt_PT (LC_TIME): likewise
20260 2018-02-23 Mike FABIAN <mfabian@redhat.com>
20263 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
20264 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
20265 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
20267 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20271 * nptl/Makefile (routines): Remove unregister-atfork.
20272 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
20273 (fork_handler_alloc): Remove function.
20274 (fork_handlers, fork_handler_init): New variables.
20275 (__fork_lock): Rename to atfork_lock.
20276 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
20277 to use a dynamic array to add/remove atfork handlers.
20278 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
20279 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
20280 Remove declaration.
20281 (fork_handler): Remove next, refcntr, and need_signal member.
20282 (__run_fork_handler_type): New enum.
20283 (__run_fork_handlers): New prototype.
20284 * nptl/register-atfork.c: Remove file.
20285 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
20287 * sysdeps/nptl/nptl-signals.h: Move to ...
20288 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
20290 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
20291 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
20292 unnecessary check for SIGTIMER.
20293 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
20294 remove unnecessary removal of SIGTIMER.
20295 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
20296 include-signals.h rename.
20297 * nptl/pthreadP.h: Likewise.
20298 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
20299 __is_internal_signal instead of __nptl_is_internal_signal.
20301 2018-02-22 Andrew Waterman <andrew@sifive.com>
20304 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
20305 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
20306 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
20307 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
20309 2018-02-22 DJ Delorie <dj@delorie.com>
20311 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
20313 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
20315 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
20316 do_misaligned, not misaligned8.
20318 2018-02-22 Steve Ellcey <sellcey@cavium.com>
20320 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
20321 Add memcpy_thunderx2.
20322 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
20324 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
20325 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
20326 and IS_THUNDERX2PA checks.
20327 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
20328 Use macro to set name appropriately.
20329 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
20330 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
20331 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
20333 (IS_THUNDERX2): New macro.
20335 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
20337 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20339 2018-02-21 Zack Weinberg <zackw@panix.com>
20341 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
20342 Define here, unconditionally.
20343 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
20344 * libio/libioP.h: Remove #if 0 blocks.
20345 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
20346 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
20347 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
20349 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
20350 Assume weak_alias is always defined.
20352 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
20353 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
20354 Remove #if 0 and #ifdef TODO blocks.
20355 Assume text_set_element is always defined.
20357 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
20358 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
20359 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
20361 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
20362 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
20363 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
20364 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
20365 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
20366 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
20367 Reformat bit flags for _flags field to make occupancy clearer.
20369 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
20370 Keep definitions consistent with those in libio/libio.h.
20372 * libio/libio.h (_IO_file_flags): Remove macro.
20373 All uses changed to _flags.
20375 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
20376 (__HAVE_COLUMN, _IO_BE): Don't define.
20377 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
20378 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
20379 * libio/libioP.h (EOF): Don't define.
20380 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
20381 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
20382 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
20383 testing _IO_UNIFIED_JUMPTABLES.
20385 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
20386 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
20387 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
20388 (_IO_size_t): Delete; all uses changed to size_t.
20389 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
20390 (_IO_off_t): Delete; all uses changed to off_t.
20391 (_IO_off64_t): Delete; all uses changed to off64_t.
20392 (_IO_pid_t): Delete; all uses changed to pid_t.
20393 (_IO_uid_t): Delete; all uses changed to uid_t.
20394 (_IO_wint_t): Delete; all uses changed to wint_t.
20395 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
20396 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
20397 (_IO_cookie_io_functions_t): Delete; all uses changed to
20398 cookie_io_functions_t.
20399 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
20400 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
20401 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
20402 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
20404 * libio/iofopncook.c: Remove unnecessary forward declarations.
20405 * libio/iolibio.h: Correct outdated commentary.
20406 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
20407 * stdio-common/fxprintf.c (__fxprintf_nocancel):
20408 Remove unnecessary casts.
20409 * stdio-common/getline.c: Use _IO_getdelim directly.
20410 Don't redefine ssize_t.
20411 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
20412 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
20413 Remove outdated comments.
20414 * stdio-common/vfscanf.c: Don't redefine va_list.
20416 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
20417 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
20418 Remove preprocessor conditionals on _LIBC and __USE_GNU,
20419 which are always true, and __cplusplus, which is always false.
20421 2018-02-21 Joseph Myers <joseph@codesourcery.com>
20425 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
20426 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
20427 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
20428 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
20430 [!_ISOMAC] (putc_unlocked): Likewise.
20431 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
20432 define inline if [__USE_EXTERN_INLINES].
20433 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
20438 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
20439 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
20440 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
20441 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
20442 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
20444 * time/tzfile.c (__tzfile_read): Likewise.
20446 2018-02-21 Mike FABIAN <mfabian@redhat.com>
20449 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
20451 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
20453 * io/fcntl.h: Fix a typo in a comment.
20455 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
20458 * include/features.h: Add _ISOC11_SOURCE to test for whether to
20459 define _DEFAULT_SOURCE.
20460 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
20462 2018-02-21 Florian Weimer <fweimer@redhat.com>
20465 * elf/cache.c (save_cache): Call fsync on temporary file before
20467 (save_aux_cache): Call fdatasync on temporary file before renaming
20470 2018-02-21 Florian Weimer <fweimer@redhat.com>
20473 * include/caller.h: Remove file.
20474 * elf/dl-caller.c: Likewise.
20475 * elf/Makefile (dl-routines): Remove dl-caller.
20476 (shared-only-routines): Do not add dl-caller.
20477 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
20479 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
20481 (dl_open_worker): Do not call __check_caller.
20482 (_dl_open): Do not set caller_dl_open member.
20483 * elf/rtld.c (_rtld_global_ro): Do not initialize
20484 _dl_check_caller member.
20485 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
20486 _dl_check_caller member.
20487 (_dl_check_caller): Remove declaration.
20488 * sysdeps/unix/sysv/linux/dl-execstack.c
20489 (_dl_make_stack_executable): Do not call __check_caller.
20491 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
20493 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
20494 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
20496 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
20498 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
20501 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
20504 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
20505 of 199606L, 200112L, and 200809L.
20506 (_XOPEN_SOURCE): Document special values of 600 and 700.
20507 (_ISOC11_SOURCE): Document macro.
20508 (_ATFILE_SOURCE): Likewise.
20509 (_FORTIFY_SOURCE): Likewise.
20511 2018-02-19 Joseph Myers <joseph@codesourcery.com>
20515 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
20516 and define as weak alias of __ferror_unlocked. Use
20518 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
20520 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
20521 function if [__USE_EXTERN_INLINES].
20522 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
20525 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
20528 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
20530 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
20533 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
20534 the GLIBC_2.1 version.
20536 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
20539 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
20540 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
20541 intl/tst-gettext-de.po from po/de.po by removing the
20542 POT-Creation-Date line.
20543 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
20545 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
20548 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
20550 * mach/Makefile (headers): Add mach/param.h.
20551 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
20552 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
20553 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
20554 (__ptsname_r): Move implementation to...
20555 (__ptsname_internal): ... new function. Add filling the STP
20558 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
20560 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
20563 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
20565 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
20568 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
20570 * nptl/Makefile (tst-mutex8-ENV): Delete.
20571 * nptl/tst-mutex8.c (check_type):
20572 Add runtime check if mutex will be elided.
20574 2018-02-15 Joseph Myers <joseph@codesourcery.com>
20578 * manual/install.texi (Configuring and compiling): Describe
20579 passing CC and CFLAGS on configure command line, not as
20580 environment variables. Use @code markup on those variables.
20581 Specify what options go in CC and what go in CFLAGS. Note the
20582 requirement to compile with optimization.
20583 * INSTALL: Regenerated.
20586 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
20587 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
20588 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
20589 __sigprocmask instead of sigprocmask.
20590 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
20592 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
20593 __sigsetjmp and sigprocmask.
20596 * include/argz.h (argz_next): Use libc_hidden_proto.
20597 (__argz_next): Likewise.
20598 * string-argz-next.c (__argz_next): Use libc_hidden_def.
20599 (argz_next): Use libc_hidden_weak.
20602 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
20604 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
20608 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
20610 * libio/iofputs.c (fputs): Use libc_hidden_weak.
20614 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
20615 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
20616 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
20617 (__feof_unlocked): New declaration, and inline function if
20618 [__USE_EXTERN_INLINES].
20619 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
20620 instead of feof_unlocked.
20621 * intl/localealias.c [_LIBC] (FEOF): Likewise.
20622 * nss/nsswitch.c (nss_parse_file): Likewise.
20623 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
20625 * time/getdate.c (__getdate_r): Likewise.
20626 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
20627 Define as macro to call __feof_unlocked.
20629 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
20631 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
20633 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
20635 * math/Makefile: Remove mpexp.c and mplog.c
20636 * sysdeps/i386/fpu/mpexp.c: Delete file.
20637 * sysdeps/i386/fpu/mplog.c: Likewise.
20638 * sysdeps/ia64/fpu/mpexp.c: Likewise.
20639 * sysdeps/ia64/fpu/mplog.c: Likewise.
20640 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
20641 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
20642 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
20643 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20644 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
20645 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
20646 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
20647 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
20648 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
20649 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20650 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
20651 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
20652 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20653 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
20654 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
20655 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20657 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
20659 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20661 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20663 * sysdeps/sh/libm-test-ulps: Update.
20665 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20667 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
20670 2018-02-12 Zack Weinberg <zackw@panix.com>
20673 * posix/sys/types.h: Don't include sys/sysmacros.h.
20674 * misc/sys/sysmacros.h: Remove the conditional deprecation
20675 warnings for the macros defined by this header.
20677 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20679 * manual/probes.texi: Remove slowexp probes.
20680 * math/Makefile: Remove slowexp.
20681 * sysdeps/generic/math_private.h (__slowexp): Remove.
20682 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
20683 document error bounds.
20684 * sysdeps/i386/fpu/slowexp.c: Remove.
20685 * sysdeps/ia64/fpu/slowexp.c: Remove.
20686 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
20687 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
20688 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
20689 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
20690 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
20691 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
20692 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
20693 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
20694 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
20695 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
20696 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
20698 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
20701 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
20702 * benchtests/pow-inputs: Update comment for slow path cases.
20703 * manual/probes.texi (slowpow_p10): Delete removed probe.
20704 (slowpow_p10): Likewise.
20705 * math/Makefile: Remove halfulp.c and slowpow.c.
20706 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
20707 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
20708 (__halfulp): Remove.
20709 (__slowpow): Remove.
20710 * sysdeps/i386/fpu/halfulp.c: Delete file.
20711 * sysdeps/i386/fpu/slowpow.c: Likewise.
20712 * sysdeps/ia64/fpu/halfulp.c: Likewise.
20713 * sysdeps/ia64/fpu/slowpow.c: Likewise.
20714 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
20715 improve comments and add error analysis.
20716 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
20717 (power1): Remove function:
20718 (log1): Remove error argument, add error analysis.
20719 (my_log2): Remove function.
20720 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
20721 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20722 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
20723 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
20724 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
20725 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
20726 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
20727 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
20728 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
20729 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
20730 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
20731 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20732 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
20733 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20735 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
20737 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
20738 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
20740 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
20743 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
20744 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
20745 and PTRACE_SETHBPREGS.
20747 2018-02-10 Zack Weinberg <zackw@panix.com>
20750 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
20752 * malloc/tst-malloc-stats-cancellation.c: New test case.
20753 * malloc/Makefile: Add new test case.
20755 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
20757 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
20759 2018-02-10 Joseph Myers <joseph@codesourcery.com>
20761 * math/Makefile (libm-narrow-fns): Add add.
20762 (libm-test-funcs-narrow): Likewise.
20763 * math/Versions (GLIBC_2.28): Add narrowing add functions.
20764 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
20765 * math/gen-auto-libm-tests.c (test_functions): Add add.
20766 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
20767 (NARROW_ADD_ROUND_TO_ODD): Likewise.
20768 (NARROW_ADD_TRIVIAL): Likewise.
20769 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
20771 (__daddl): Likewise.
20772 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
20774 (CFLAGS-nldbl-dadd.c): New variable.
20775 (CFLAGS-nldbl-fadd.c): Likewise.
20776 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
20778 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
20780 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
20781 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
20782 * math/auto-libm-test-in: Add tests of add.
20783 * math/auto-libm-test-out-narrow-add: New generated file.
20784 * math/libm-test-narrow-add.inc: New file.
20785 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
20786 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
20787 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
20788 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
20789 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
20790 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
20791 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
20792 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
20793 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
20794 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
20795 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
20796 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
20797 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
20798 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
20799 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
20800 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
20801 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
20802 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
20803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20804 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
20805 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20806 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20807 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20808 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20809 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20810 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20811 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20812 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20813 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20814 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20815 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20816 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
20818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
20819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
20820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
20821 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
20822 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20823 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20824 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20825 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20826 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20827 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
20828 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
20829 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20830 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20832 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
20833 (f128-pairs): New variable.
20834 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
20835 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
20837 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
20838 Also make tests add $(f128-loader-link) to gnulib-tests.
20840 2018-02-09 DJ Delorie <dj@redhat.com>
20843 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
20844 64-bit ELF type for 64-bit ELF objects.
20846 2018-02-09 Joseph Myers <joseph@codesourcery.com>
20848 * math/libm-test-driver.c (snan_tests_arg): New variable.
20849 * math/libm-test-support.h (snan_tests_arg): New declaration.
20850 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
20852 * math/Makefile (test-type-pairs): New variable.
20853 (test-type-pairs-f64xf128-yes): Likewise.
20854 (tests): Add test-narrow-macros.
20855 (libm-test-funcs-narrow): New variable.
20856 (libm-test-c-narrow): Likewise.
20857 (generated): Add $(libm-test-c-narrow).
20858 (libm-tests-base-narrow): New variable.
20859 (libm-tests-narrow): Likewise.
20860 (libm-tests): Add $(libm-tests-narrow).
20861 (libm-tests-for-type): Handle $(libm-tests-narrow).
20862 (libm-test-c-narrow-obj): New variable.
20863 ($(libm-test-c-narrow-obj)): New rule.
20864 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
20865 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
20866 $(o-iterator) to set dependencies and CFLAGS.
20867 * math/gen-auto-libm-tests.c: Document use for narrowing
20869 (output_for_one_input_case): Take argument NARROW.
20870 (generate_output): Likewise. Update call to
20871 output_for_one_input_case.
20872 (main): Take --narrow option. Update call to generate_output.
20873 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
20874 (apply_lit): Update call to _apply_lit.
20875 (apply_arglit): New function.
20876 (parse_args): Handle "a" arguments.
20877 (parse_auto_input): Handle format names using ":".
20878 * math/README.libm-test: Document "a" parameter type.
20879 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
20880 (ARG_TYPE_TRUE_MIN): Likewise.
20881 (ARG_TYPE_MAX): Likwise.
20882 (ARG_MIN_EXP): Likewise.
20883 (ARG_MAX_EXP): Likewise.
20884 (ARG_MANT_DIG): Likewise.
20885 (TEST_COND_arg_ibm128): Likewise.
20886 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
20887 (TEST_COND_arg_fmt): New macro.
20888 (init_max_error): Update prototype.
20889 * math/libm-test-support.c (test_ibm128): New variable.
20890 (init_max_error): Take argument testing_ibm128 and set test_ibm128
20891 instead of using [TEST_COND_ibm128] conditional.
20892 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
20893 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
20894 [TEST_NARROW] (TEST_MSG): New definition.
20895 (arg_plus_zero): New macro.
20896 (arg_minus_zero): Likewise.
20897 (arg_plus_infty): Likewise.
20898 (arg_minus_infty): Likewise.
20899 (arg_qnan_value_pl): Likewise.
20900 (arg_qnan_value): Likewise.
20901 (arg_snan_value_pl): Likewise.
20902 (arg_snan_value): Likewise.
20903 (arg_max_value): Likewise.
20904 (arg_min_value): Likewise.
20905 (arg_min_subnorm_value): Likewise.
20906 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
20907 (RUN_TEST_LOOP_aa_f): New macro.
20908 (TEST_SUFF): New macro.
20909 (TEST_SUFF_STR): Likewise.
20910 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
20911 (TEST_COND_any_ibm128): New macro.
20912 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
20913 this_func. Update call to init_max_error.
20914 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
20915 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
20916 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
20917 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
20918 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
20919 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
20920 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
20921 * math/test-math-scalar.h (TEST_NARROW): Likewise.
20922 * math/test-math-vector.h (TEST_NARROW): Likewise.
20923 * math/test-arg-double.h: New file.
20924 * math/test-arg-float128.h: Likewise.
20925 * math/test-arg-float32x.h: Likewise.
20926 * math/test-arg-float64.h: Likewise.
20927 * math/test-arg-float64x.h: Likewise.
20928 * math/test-arg-ldouble.h: Likewise.
20929 * math/test-math-narrow.h: Likewise.
20930 * math/test-narrow-macros.c: Likewise.
20931 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
20932 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
20933 test-narrow-macros-ldbl-64.
20934 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
20936 * math/bits/mathcalls-narrow.h: New file.
20937 * include/bits/mathcalls-narrow.h: Likewise.
20938 * math/math-narrow.h: Likewise.
20939 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
20940 (__MATHCALL_NARROW_ARGS_2): Likewise.
20941 (__MATHCALL_NARROW_ARGS_3): Likewise.
20942 (__MATHCALL_NARROW_NORMAL): Likewise.
20943 (__MATHCALL_NARROW_REDIR): Likewise.
20944 (__MATHCALL_NARROW): Likewise.
20945 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
20946 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
20948 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
20949 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
20950 (libm-narrow-fns): New variable.
20951 (libm-narrow-types-basic): Likewise.
20952 (libm-narrow-types-ldouble-yes): Likewise.
20953 (libm-narrow-types-float128-yes): Likewise.
20954 (libm-narrow-types-float128-alias-yes): Likewise.
20955 (libm-narrow-types): Likewise.
20956 (libm-routines): Add narrowing functions.
20957 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
20958 (libc_feholdexcept_setroundf128): New macro.
20959 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
20960 * sysdeps/ieee754/float128/float128_private.h: Include
20961 <math/math-narrow.h>.
20962 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
20963 Undefine and redefine.
20964 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
20965 (libm_alias_float_ldouble): Undefine and redefine.
20966 (libm_alias_double_ldouble): Likewise.
20968 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
20970 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
20972 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
20975 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
20977 * manual/creature.texi: Convert references to gcc.info to gcc.
20978 * manual/stdio.texi: Likewise.
20979 * manual/string.texi: Likewise.
20981 2018-02-07 Joseph Myers <joseph@codesourcery.com>
20984 * posix/bits/types.h (__int_least8_t): New typedef.
20985 (__uint_least8_t): Likewise.
20986 (__int_least16_t): Likewise.
20987 (__uint_least16_t): Likewise.
20988 (__int_least32_t): Likewise.
20989 (__uint_least32_t): Likewise.
20990 (__int_least64_t): Likewise.
20991 (__uint_least64_t): Likewise.
20992 * sysdeps/generic/stdint.h (int_least8_t): Define using
20994 (int_least16_t): Define using __int_least16_t.
20995 (int_least32_t): Define using __int_least32_t.
20996 (int_least64_t): Define using __int_least64_t.
20997 (uint_least8_t): Define using __uint_least8_t.
20998 (uint_least16_t): Define using __uint_least16_t.
20999 (uint_least32_t): Define using __uint_least32_t.
21000 (uint_least64_t): Define using __uint_least64_t.
21001 * wcsmbs/uchar.h: Include <bits/types.h>.
21002 (char16_t): Define using __uint_least16_t conditional only on
21004 (char32_t): Define using __uint_least32_t conditional only on
21006 * wcsmbs/test-char-types.c: New file.
21007 * wcsmbs/Makefile (tests): Add test-char-types.
21009 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
21012 2018-02-07 Zack Weinberg <zackw@panix.com>
21014 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
21015 Delete all contents except for definitions of _G_HAVE_MMAP and
21016 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
21017 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
21018 sysdeps/unix/sysv/linux/_G_config.h. Make same content
21021 * libio/libio.h: Don't include bits/_G_config.h here.
21022 Include stddef.h with __need_wchar_t defined. Include
21023 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
21024 Define _IO_iconv_t here, directly.
21025 Don't define _IO_HAVE_ST_BLKSIZE.
21026 * libio/libioP.h: Include _G_config.h here. Move include of
21027 shlib-compat.h up with rest of includes. Simplify conditionals
21028 controlling definition of _IO_JUMPS_OFFSET.
21030 * csu/init.c: Remove always-true #if around entire file.
21031 Don't include stdio.h. Set _IO_stdin_used to hardwired
21032 constant 0x20001, and update commentary.
21033 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
21034 Replace all uses of _G_va_list with __gnuc_va_list.
21035 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
21036 instead of #if _IO_HAVE_ST_BLKSIZE.
21037 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
21038 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
21041 * libio/bits/libio.h: Move back to libio/libio.h and adjust
21042 multiple-include guard to match.
21043 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
21045 Remove preprocessor conditionals that are always true and/or
21046 redundant to other preprocessor conditionals in the same nest.
21047 Include shlib-compat.h unconditionally.
21048 Error out if _LIBC is not defined, or if _ISOMAC is defined,
21049 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
21050 defined after including stdio.h.
21051 Use __BEGIN_DECLS/__END_DECLS.
21053 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
21054 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
21055 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
21057 2018-02-07 Zack Weinberg <zackw@panix.com>
21059 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
21060 New single-type headers split from _G_config.h.
21061 * libio/bits/types/cookie_io_functions_t.h
21062 * libio/bits/types/struct_FILE.h
21063 New single-type headers split from libio.h.
21065 * libio/Makefile: Install the above new headers. Don't install
21066 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
21068 * libio/_G_config.h, libio/libio.h: Delete file.
21070 * libio/bits/libio.h: Remove improper-inclusion guard.
21071 Include stdio.h and don't repeat anything that it does.
21072 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
21073 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
21074 __io_read_fn as cookie_read_function_t,
21075 __io_write_fn as cookie_write_function_t,
21076 __io_seek_fn as cookie_seek_function_t,
21077 __io_close_fn as cookie_close_function_t,
21078 and _IO_cookie_io_functions_t as cookie_io_functions_t.
21079 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
21080 here, in the "compatibility defines" section. Remove an #if 0
21081 block. Use the "body" macros from bits/types/struct_FILE.h to
21082 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
21083 and _IO_ferror_unlocked.
21084 Move prototypes of __uflow and __overflow...
21086 * libio/stdio.h: ...here. Don't include bits/libio.h.
21087 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
21088 directly from stdarg.h. Include bits/types/__fpos_t.h,
21089 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
21090 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
21091 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
21092 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
21093 cookie_io_functions_t, not _IO_cookie_io_functions_t;
21094 __ssize_t, not _IO_ssize_t. Unconditionally define
21095 BUFSIZ as 8192 and EOF as (-1).
21097 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
21098 macros from bits/types/struct_FILE.h instead of _IO_* macros
21099 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
21100 instead of _IO_ssize_t.
21101 * libio/bits/stdio2.h: Similarly.
21103 * libio/iolibio.h: Add multiple-include guard.
21104 Include bits/libio.h after stdio.h.
21105 * libio/libioP.h: Add multiple-include guard.
21106 Include stdio.h and bits/libio.h before iolibio.h.
21108 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
21109 * include/bits/types/cookie_io_functions_t.h
21110 * include/bits/types/struct_FILE.h: New wrappers.
21112 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
21113 Get definitions of _G_fpos_t and _G_fpos64_t from
21114 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
21115 respectively. Remove improper-inclusion guards.
21117 * conform/data/stdio.h-data: Update expectations of va_list.
21118 * scripts/check-installed-headers.sh: Remove special case for
21119 libio.h and _G_config.h.
21121 2018-02-07 Joseph Myers <joseph@codesourcery.com>
21125 * include/sys/sysmacros.h [!_ISOMAC]
21126 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
21127 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
21128 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
21129 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
21131 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
21132 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
21134 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
21135 Undefine and redefine to add use __gnu_dev_ prefix.
21136 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
21138 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
21139 and define as hidden inline function.
21140 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
21142 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
21144 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
21145 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
21146 (gnu_dev_minor): Likewise.
21147 (gnu_dev_makedev): Likewise.
21148 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
21150 * posix/wordexp.c (exec_comm_child): Likewise.
21151 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
21152 instead of minor and __gnu_dev_major instead of major.
21153 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
21154 __gnu_dev_major instead of major.
21155 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
21156 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
21157 instead of gnu_dev_minor.
21158 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
21159 (SLAVE_P): Likewise.
21160 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
21161 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
21165 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
21167 * locale/weightwc.h (findidx): Likewise.
21169 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
21171 * manual/probes.texi (slowlog): Delete documentation of removed probe.
21172 (slowlog_inexact): Likewise
21173 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
21174 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
21176 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
21179 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
21180 missing second underscore to parameter name.
21182 2018-02-06 Joseph Myers <joseph@codesourcery.com>
21188 * bits/byteswap.h: Update file comment. Do not include
21189 <bits/byteswap-16.h>.
21190 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
21192 (__bswap_16): Define as inline function.
21193 (__bswap_constant_32): Reformat definition.
21194 (__bswap_32): Always define as inline function, not macro, using
21195 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
21196 otherwise __bswap_constant_32.
21197 (__bswap_constant_64): Reformat definition. Do not use
21198 __extension__ here.
21199 (__bswap_64): Always define as inline function, not macro. Use
21200 __extension__ on function definition. Use __builtin_bswap64 if
21201 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
21202 * string/test-endian-file-scope.c: New file.
21203 * string/test-endian-sign-conversion.c: Likewise.
21204 * string/Makefile (headers): Remove bits/byteswap-16.h.
21205 (tests): Add test-endian-file-scope and
21206 test-endian-sign-conversion.
21207 (CFLAGS-test-endian-sign-conversion.c): New variable.
21208 * bits/byteswap-16.h: Remove file.
21209 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
21210 * sysdeps/ia64/bits/byteswap.h: Likewise.
21211 * sysdeps/m68k/bits/byteswap.h: Likewise.
21212 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21213 * sysdeps/s390/bits/byteswap.h: Likewise.
21214 * sysdeps/tile/bits/byteswap.h: Likewise.
21215 * sysdeps/x86/bits/byteswap-16.h: Likewise.
21216 * sysdeps/x86/bits/byteswap.h: Likewise.
21219 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
21220 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
21221 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
21222 199901L] (__restrict): Define to restrict.
21225 * string/testcopy.c: Include <support/support.h>. Do not include
21226 <malloc.h>. Use <support/test-driver.c>.
21227 (main): Rename to do_test. Make static. Use xmalloc instead of
21231 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
21232 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
21233 (SSIZE_MAX): Define to INT_MAX.
21234 * posix/test-ssize-max.c: New file.
21235 * posix/Makefile (tests): Add test-ssize-max.
21238 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
21239 <support/support.h>. Do not include <malloc.h>.
21240 (query_auxv): Use xmalloc instead of malloc.
21243 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
21244 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
21247 2018-02-06 Florian Weimer <fweimer@redhat.com>
21250 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21251 Use scratch_buffer instead of extend_alloca.
21253 2018-02-06 Zack Weinberg <zackw@panix.com>
21255 * libio/stdio.h: Don't define getc or putc as macros.
21256 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
21257 not _IO_getc and _IO_putc.
21259 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
21260 * stdio-common/tstgetln.c: Don't redefine ssize_t.
21262 2018-02-06 Joseph Myers <joseph@codesourcery.com>
21264 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
21265 (TCP_FASTOPEN_NO_COOKIE): Likewise.
21267 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
21270 * elf/elf.h (NT_PRFPREG): New macro.
21271 (NT_S390_VXRS_LOW): Likewise.
21272 (NT_S390_VXRS_HIGH): Likewise.
21273 (NT_S390_GS_CB): Likewise.
21274 (NT_S390_GS_BC): Likewise.
21275 (NT_S390_RI_CB): Likewise.
21277 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
21278 (MAP_SYNC): New macro.
21279 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
21281 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
21282 (MAP_SYNC): Likewise.
21283 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
21284 (MAP_SYNC): Likewise.
21285 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
21286 (MAP_SYNC): Likewise.
21287 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
21288 (MAP_SYNC): Likewise.
21289 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
21290 (MAP_SYNC): Likewise.
21291 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
21292 (MAP_SYNC): Likewise.
21293 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
21295 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
21298 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
21299 (MAP_SHARED_VALIDATE): New macro.
21300 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
21301 (MAP_SHARED_VALIDATE): Likewise.
21303 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21305 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
21306 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
21307 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
21309 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21311 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
21312 (DT_NUM): Updated to 35.
21314 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21316 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
21317 __builtin_expect with __glibc_likely and __glibc_unlikely.
21318 (elf_machine_rela): Likewise.
21319 (elf_machine_lazy_rel): Likewise.
21321 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21323 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
21324 __builtin_expect with __glibc_likely and __glibc_unlikely.
21325 (elf_machine_lazy_rel): Likewise.
21327 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21330 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
21332 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
21334 2018-02-05 Andreas Schwab <schwab@suse.de>
21337 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
21340 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21342 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
21343 not check against PTHREAD_STACK_MIN.
21345 2018-02-02 Sean McKean <smckean83@gmail.com>
21348 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
21350 2018-02-02 Florian Weimer <fweimer@redhat.com>
21353 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
21354 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
21355 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
21356 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
21357 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
21358 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
21359 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
21360 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
21361 * manual/llio.texi (Scatter-Gather): Mention offset -1.
21362 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
21363 * misc/tst-preadvwritev2.c (do_test): Call it.
21364 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
21366 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
21368 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
21370 * benchtests/bench-memcmp.c: Print json instead of plain text.
21372 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
21375 2018-02-01 Joseph Myers <joseph@codesourcery.com>
21377 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
21379 (s390_sthyi): New syscall.
21381 * sysdeps/generic/ldbl-classify-compat.h: New file.
21382 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
21383 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
21384 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
21385 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
21386 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
21387 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
21388 * sysdeps/ieee754/dbl-64/s_finite.c: Include
21389 <ldbl-classify-compat.h>.
21390 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21391 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
21392 <ldbl-classify-compat.h>.
21393 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21394 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
21395 <ldbl-classify-compat.h>.
21396 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21397 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
21398 <ldbl-classify-compat.h>.
21399 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21400 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
21401 <ldbl-classify-compat.h>.
21402 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21403 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
21404 <ldbl-classify-compat.h>.
21405 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21406 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
21407 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
21408 * sysdeps/m68k/coldfire/math_private.h: Remove file.
21409 * sysdeps/microblaze/math_private.h: Likewise.
21410 * sysdeps/nios2/math_private.h: Likewise.
21411 * sysdeps/sh/math_private.h: Likewise.
21413 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
21414 * sysdeps/m68k/coldfire/math_private.h: ... here.
21415 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
21416 * sysdeps/tile/math_private.h: Likewise.
21417 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
21419 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
21422 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
21424 (libc_fetestexcept): Likewise.
21425 (libc_feupdateenv_test): Likewise.
21426 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
21427 (libc_fetestexcept): Likewise.
21428 (libc_feupdateenv_test): Likewise.
21429 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
21430 (libc_fetestexcept): Likewise.
21431 (libc_feupdateenv_test): Likewise.
21432 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
21433 (libc_fetestexcept): Likewise.
21434 (libc_feupdateenv_test): Likewise.
21436 * sysdeps/generic/math_private.h
21437 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
21438 New inline function.
21439 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
21442 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
21443 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
21444 * sysdeps/generic/math_private.h
21445 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
21447 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
21449 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
21451 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
21453 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
21455 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
21457 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
21458 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
21459 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
21460 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
21461 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
21462 (__fegetenv): Likewise.
21463 (fesetenv): Likewise.
21464 (__fesetenv): Likewise.
21465 (feupdateenv): Likewise.
21466 (__feupdateenv): Likewise.
21467 (fegetround): Likewise.
21468 (__fegetround): Likewise.
21469 (fesetround): Likewise.
21470 (__fesetround): Likewise.
21472 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
21473 (feraiseexcept): New macro.
21474 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
21475 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
21477 (__feraiseexcept): Likewise.
21478 (feclearexcept): Likewise.
21479 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
21480 (__feraiseexcept): Likewise.
21481 (feclearexcept): Likewise.
21482 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
21483 (__feraiseexcept): Likewise.
21484 (feclearexcept): Likewise.
21485 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
21486 (__feraiseexcept): Likewise.
21487 (feclearexcept): Likewise.
21488 (fetestexcept): Likewise.
21490 * sysdeps/m68k/coldfire/math-tests.h: New file.
21492 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
21493 * sysdeps/m68k/bits/fenv.h: ... here.
21494 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
21496 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
21498 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
21500 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
21502 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
21504 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
21506 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
21507 (__FE_UNDEFINED): New enum constant.
21508 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
21510 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
21512 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
21514 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
21515 to match generic bits/fenv.h.
21516 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
21519 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
21521 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
21522 * soft-fp/half.h (union _FP_UNION_H): Likewise.
21523 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
21524 * soft-fp/single.h (union _FP_UNION_S): Likewise.
21526 2018-02-01 Carlos O'Donell <carlos@redhat.com>
21527 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
21528 Joseph Myers <joseph@codesourcery.com>
21531 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
21532 (__log1p): Disable -Wmaybe-uninitialized for -Os around
21533 computation using c.
21534 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
21535 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
21536 computation using c.
21538 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
21540 * version.h (RELEASE): Set to "development".
21541 (VERSION): Set to "2.27.9000".
21542 * NEWS (2.28): New section.
21544 * version.h (RELEASE): Set to "stable".
21545 (VERSION): Set to "2.27".
21546 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
21548 * NEWS: Add the list of bugs fixed in 2.27.
21550 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21552 * stdlib/test-atexit-race-common.c (do_test): Check stack size
21553 against PTHREAD_STACK_MIN.
21555 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
21557 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
21559 (Rafal Luzynski, Andreas Schwab): Update.
21561 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
21564 * NEWS: List the languages which actually use the alternative
21565 months feature in this release. Also explain that "alt_mon" and
21566 "ab_alt_mon" are optional.
21568 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
21571 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
21573 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
21575 * manual/install.texi (Tools for Compilation): Update the newest
21576 versions of gcc, binutils, texinfo, gawk, bison, and sed.
21577 * INSTALL: Regenerated.
21579 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21581 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
21582 instead of __builtin_expect.
21584 2018-01-30 Florian Weimer <fweimer@redhat.com>
21586 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
21588 * nss/tst-nss-getpwent.c (do_test): Likewise.
21590 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
21593 * localedata/locales/hr_HR (mon): Rename to...
21595 (mon): Import from CLDR (genitive case).
21596 (d_t_fmt): Update the comment.
21598 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
21600 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
21601 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
21602 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
21604 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
21606 * mach/Versions: Fix version when __mach_host_self_ was added.
21607 * hurd/Versions: Fix version when _hurd_exec_paths was added.
21608 * sysdeps/mach/hurd/i386/ld.abilist: New file.
21609 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
21610 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
21611 * sysdeps/mach/hurd/i386/libc.abilist: New file.
21612 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
21613 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
21614 * sysdeps/mach/hurd/i386/libm.abilist: New file.
21615 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
21616 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
21617 * sysdeps/mach/hurd/i386/librt.abilist: New file.
21618 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
21619 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
21620 || to respect codestyle.
21621 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
21622 (do_test_bz20181): Rename accordingly.
21623 * malloc/malloc.c: Include <assert.h>.
21624 (assert): Do not define.
21625 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
21626 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
21627 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
21628 * sysdeps/mach/hurd/hp-timing.h: New file.
21629 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
21631 2018-01-29 Darius Rad <darius@bluespec.com>
21633 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
21635 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
21637 * sysdeps/init_array/crti.S (.section .init_array): Add
21638 PREINIT_FUNCTION when defined.
21639 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
21640 * config.h.in: Regenerate.
21641 * manual/platform.texi: Add RISC-V documenation for
21642 __riscv_flush_icache.
21643 * sysdeps/riscv/__longjmp.S: New file.
21644 * sysdeps/riscv/backtrace.c: Likewise.
21645 * sysdeps/riscv/bits/endian.h: Likewise.
21646 * sysdeps/riscv/bits/setjmp.h: Likewise.
21647 * sysdeps/riscv/bits/wordsize.h: Likewise.
21648 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
21649 * sysdeps/riscv/bsd-setjmp.c: Likewise.
21650 * sysdeps/riscv/dl-trampoline.S: Likewise.
21651 * sysdeps/riscv/gccframe.h: Likewise.
21652 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
21653 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
21654 * sysdeps/riscv/machine-gmon.h: Likewise.
21655 * sysdeps/riscv/memusage.h: Likewise.
21656 * sysdeps/riscv/setjmp.S: Likewise.
21657 * sysdeps/riscv/sys/asm.h: Likewise.
21658 * sysdeps/riscv/tls-macros.h: Likewise.
21659 * sysdeps/riscv/dl-tls.h: New file.
21660 * sysdeps/riscv/libc-tls.c: Likewise.
21661 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
21662 * sysdeps/riscv/nptl/tls.h: Likewise.
21663 * sysdeps/riscv/stackinfo.h: Likewise.
21664 * sysdeps/riscv/bits/fenv.h: New file.
21665 * sysdeps/riscv/e_sqrtl.c: Likewise.
21666 * sysdeps/riscv/fpu_control.h: Likewise.
21667 * sysdeps/riscv/math-tests.h: Likewise.
21668 * sysdeps/riscv/nofpu/Implies: Likewise.
21669 * sysdeps/riscv/sfp-machine.h: Likewise.
21670 * sysdeps/riscv/tininess.h: Likewise.
21671 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
21672 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
21673 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
21674 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
21675 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
21676 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
21677 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
21678 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
21679 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
21680 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
21681 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
21682 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
21683 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
21684 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
21685 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
21686 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
21687 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
21688 * sysdeps/riscv/rvd/s_finite.c: Likewise.
21689 * sysdeps/riscv/rvd/s_fma.c: Likewise.
21690 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
21691 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
21692 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
21693 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
21694 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
21695 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
21696 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
21697 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
21698 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
21699 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
21700 * sysdeps/riscv/rvf/fegetround.c: Likewise.
21701 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
21702 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
21703 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
21704 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
21705 * sysdeps/riscv/rvf/fesetround.c: Likewise.
21706 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
21707 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
21708 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
21709 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
21710 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
21711 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
21712 * sysdeps/riscv/rvf/math_private.h: Likewise.
21713 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
21714 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
21715 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
21716 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
21717 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
21718 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
21719 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
21720 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
21721 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
21722 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
21723 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
21724 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
21725 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
21726 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
21727 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
21728 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
21729 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
21730 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
21731 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
21732 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
21733 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
21734 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
21735 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
21736 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
21737 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
21738 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
21739 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
21740 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
21741 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
21742 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
21743 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
21744 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
21745 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
21746 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
21747 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
21748 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
21749 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
21750 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
21751 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
21752 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
21753 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
21754 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
21755 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
21756 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
21757 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
21758 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
21759 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
21760 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
21761 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
21762 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
21763 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
21764 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
21765 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
21766 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
21767 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
21768 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
21769 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
21770 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
21771 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
21772 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
21773 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
21774 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
21775 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
21776 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
21777 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
21778 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
21779 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
21780 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
21781 * sysdeps/riscv/Implies: New file.
21782 * sysdeps/riscv/Makefile: Likewise.
21783 * sysdeps/riscv/configure: Likewise.
21784 * sysdeps/riscv/configure.ac: Likewise.
21785 * sysdeps/riscv/nptl/Makefile: Likewise.
21786 * sysdeps/riscv/preconfigure: Likewise.
21787 * sysdeps/riscv/rv64/Implies-after: Likewise.
21788 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
21789 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
21790 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
21791 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
21792 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
21793 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
21794 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
21795 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
21796 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
21797 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
21798 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
21799 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
21800 (Config): Likewise.
21802 2018-01-29 Florian Weimer <fweimer@redhat.com>
21805 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
21806 libnsl_hidden_proto.
21807 * include/rpcsvc/yp.h (yp_xdrall): Declare with
21808 libnsl_hidden_proto.
21809 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
21810 * nis/Makefile (libnsl-routines): Add nss-default only for
21811 build-obsolete-nsl.
21812 * nis/nis_defaults.c (__nis_default_ttl): Add
21813 libnsl_hidden_nolink_def.
21814 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
21816 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
21817 * nis/ypclnt.c (yp_maplist): Likewise.
21819 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
21821 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21822 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
21824 2018-01-29 Joseph Myers <joseph@codesourcery.com>
21826 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
21827 clean -dxfq for git updates when replacing sources.
21829 * scripts/build-many-glibcs.py (Config.build_gcc): Use
21830 --disable-libcilkrts unconditionally, not just for the final GCC
21833 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
21836 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
21839 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
21842 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
21845 * localedata/locales/be_BY (mon): Rename to...
21846 (alt_mon): This, then synchronize with CLDR (nominative case).
21847 (abmon): Rename to...
21848 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
21849 (mon): Import from CLDR (genitive case).
21851 * localedata/locales/be_BY@latin (mon): Rename to...
21853 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
21855 * localedata/locales/be_BY@latin (lang_name): Reworded to
21856 "biełaruskaja mova".
21858 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
21861 * localedata/locales/el_CY (mon): Renamed to...
21863 (mon): Import from CLDR (genitive case).
21864 * localedata/locales/el_GR: Likewise.
21866 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
21869 * localedata/locales/ru_RU (mon): Rename to...
21871 (abmon): Rename to...
21872 (ab_alt_mon): This.
21873 (mon): Import from CLDR (genitive case).
21874 (abmon): Copy from the old content except the 5th month which is
21875 now in the genitive case, even when abbreviated.
21876 * localedata/locales/ru_UA: Likewise.
21877 * time/tst-strptime.c (day_tests): Add an actual example of
21878 a difference between %b and %Ob in Russian.
21880 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
21882 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
21883 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
21885 * resolv/res-close.c: Include <stdlib.h>.
21886 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
21887 <sys/wait.h>, <time.h>, <sys/uio.h>.
21888 (NOT_CANCEL_H): Add inclusion guard.
21889 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
21890 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
21891 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
21893 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
21894 vm_address_t * to ElfW(Addr) * for dl_main parameter.
21895 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
21897 * sysdeps/pthread/timer_create.c (timer_create): Do not use
21898 timer_ptr2id to cast struct timer_node * to void *.
21899 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
21900 --disable-libcilkrts to gcc configure.
21901 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
21902 and make them the default for now.
21903 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
21904 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
21905 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
21906 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
21907 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
21909 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
21910 __task_terminate would ever return successfully.
21911 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
21913 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
21914 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
21915 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
21916 critical section to make code simpler and avoid warning.
21917 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
21918 critical section to make code simpler and avoid warning.
21919 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
21920 const char * instead of char *.
21921 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
21922 __hurd_file_name_split, hurd_file_name_split,
21923 __hurd_directory_name_split, hurd_directory_name_split,
21924 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
21925 hurd_file_name_path_lookup): Make lookup function parameter take a
21926 const char *name instead of char *name.
21927 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
21928 __hurd_directory_name_split): Likewise.
21929 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
21930 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
21931 * sysdeps/mach/hurd/check_native.c: New file.
21932 * sysdeps/mach/hurd/check_pf.c: New file.
21933 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
21934 (__freeifaddrs): Define macro to freeifaddrs.
21935 * sysdeps/mach/hurd/libhurduser.abilist: New file.
21936 * sysdeps/mach/libmachuser.abilist: New file.
21937 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
21938 (do_test_bz20181): Rename accordingly.
21939 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
21940 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
21942 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
21943 version only if __USE_EXTERN_INLINES is defined.
21944 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
21945 __hurd_sockfail): Likewise.
21946 (_hurd_fd_get): Always declare functions, and provide inline versions
21947 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
21948 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
21949 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
21950 _hurd_port_set): Always declare functions, and provide inline versions
21951 only if __USE_EXTERN_INLINES and _LIBC are defined and
21953 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
21954 _hurd_critical_section_unlock): Likewise.
21955 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
21956 * __hurd_threadvar_location): Likewise.
21957 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
21958 _hurd_userlink_clear): Likewise.
21959 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
21960 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
21961 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
21962 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
21963 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
21964 __spin_lock_locked): Likewise.
21965 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
21966 __spin_lock_locked): Likewise.
21967 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
21968 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
21969 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
21970 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
21971 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
21972 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
21973 _POSIX_NO_TRUNC): Define to 0.
21974 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
21975 check size against PTHREAD_STACK_MIN.
21976 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
21977 IS_IN(libpthread)]: Include <sigsetops.h>.
21978 * mach/Makefile (user-interfaces): Add mach/gnumach.
21979 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
21980 * sysdeps/mach/configure (mach_interface_list): Regenerate.
21981 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
21982 instead of invalid -1.
21983 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
21984 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
21985 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
21988 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
21990 * hurd/fcntl-internal.h: New file.
21992 2018-01-27 James Clarke <jrtc27@jrtc27.com>
21994 * sysdeps/hppa/fpu/libm-test-ulps: Update.
21996 * sysdeps/alpha/fpu/libm-test-ulps: Update.
21998 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
22001 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
22002 Build only shared objects.
22004 2018-01-26 Carlos O'Donell <carlos@redhat.com>
22006 * README: Update for hppa.
22008 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22010 * sysdeps/sparc/fpu/libm-test-ulps: Update
22011 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
22013 2018-01-26 Carlos O'Donell <carlos@redhat.com>
22017 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22020 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22021 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
22022 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22023 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
22026 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22029 * bits/types/__cancel_jmp_buf_tag.h: New file.
22030 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
22031 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
22032 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
22033 * nptl/Makefile (headers): Add
22034 bits/types/__cancel_jmp_buf_tag.h.
22035 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
22036 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
22037 * sysdeps/nptl/pthread.h: Include
22038 <bits/types/__cancel_jmp_buf_tag.h>.
22039 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
22041 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
22043 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
22046 * localedata/locales/uk_UA (mon): Renamed to...
22048 (alt_digits): "0" removed and then renamed to...
22050 (date_fmt): Definition changed not to use the alternative
22053 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
22055 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
22056 FLAG_RISCV_FLOAT_ABI_DOUBLE.
22057 * elf/elf.h (EF_RISCV_RVC): New define.
22058 (EF_RISCV_FLOAT_ABI): Likewise.
22059 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
22060 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
22061 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22062 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
22063 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
22065 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22067 2018-01-25 Andreas Schwab <schwab@suse.de>
22069 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
22071 * sysdeps/gnu/configure: Regenerate.
22072 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
22073 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22075 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
22076 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
22077 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
22078 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
22079 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
22081 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
22083 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
22084 URL, and run autoconf, make it the default for now.
22086 2018-01-24 Joseph Myers <joseph@codesourcery.com>
22088 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22089 soft-float ColdFire configuration.
22091 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
22092 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
22093 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
22095 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
22098 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
22100 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
22102 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
22105 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
22106 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
22107 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
22110 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
22113 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
22114 Rename to __reserved and add comment.
22115 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
22116 Rename to __reserved.
22118 2018-01-24 Joseph Myers <joseph@codesourcery.com>
22120 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22121 i686-gnu configurations.
22122 (Context.run_builds): Include mig, gnumach and hurd in components
22124 (Context.checkout): Add mig, gnumach and hurd to components.
22125 (Context.checkout_tar): Add URL mappings for mig, gnumach and
22127 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
22128 (Config.build): Install gnumach headers, build mig and install
22129 hurd headers for 'gnu' OS.
22130 (Config.install_gnumach_headers): New function.
22131 (Config.install_hurd_headers): Likewise.
22132 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
22133 when building for 'gnu' OS.
22135 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
22137 * manual/tunables.texi (Hardware Capability Tunables): Fix
22140 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
22142 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
22143 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
22144 (ALTMON_11, ALTMON_12): Improve documentation.
22145 * manual/time.texi (strftime): Likewise.
22147 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
22150 * localedata/locales/pl_PL: Alternative month names added,
22151 primary month names are genitive now.
22152 * time/tst-strptime.c (day_tests): Actually use a genitive case
22153 of a month name in Polish language.
22155 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
22158 * manual/locale.texi: Document ALTMON_1..12 constants for
22159 nl_langinfo. Specify when to use ALTMON instead of MON.
22160 * manual/time.texi (strftime, strptime): Document GNU extension
22161 permitting O modifier with %B and %b. Specify when to use
22164 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
22167 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
22168 names, define them as the same as abbreviated month names explicitly.
22169 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
22170 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
22171 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
22172 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
22173 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
22174 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
22175 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
22176 _NL_WABALTMON_12): New enum constants.
22177 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
22178 wab_alt_mon, and ab_alt_mon_defined members.
22179 (time_output): Output ab_alt_mon and wab_alt_mon members.
22180 (time_read): Read them, initialize them as copies of abmon and wabmon
22181 respectively if they are missing, initialize ab_alt_mon_defined.
22182 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
22183 * locale/programs/locfile-kw.h: Regenerate.
22184 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
22185 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
22187 * time/strftime_l.c (a_altmonth, aam_len): New macros.
22188 [!COMPILE_WIDE] (ABALTMON_1): New macro.
22189 (__strftime_internal): Handle %Ob and %Oh formats.
22190 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
22191 (__strptime_internal): Handle %Ob and %Oh formats.
22192 * time/tst-strptime.c (day_tests): Add more tests to parse different
22193 forms of month names including the new %Ob format specifier.
22195 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
22198 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
22199 define them as the same as primary full month names explicitly.
22200 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
22201 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
22202 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
22203 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
22204 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
22205 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
22206 _NL_WALTMON_12): New enum constants.
22207 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
22208 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
22210 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
22211 walt_mon, and alt_mon_defined members.
22212 (time_output): Output alt_mon and walt_mon members.
22213 (time_read): Read them, initialize them as copies of mon and wmon
22214 respectively if they are missing, initialize alt_mon_defined.
22215 * locale/programs/locfile-kw.gperf (alt_mon): Define.
22216 * locale/programs/locfile-kw.h: Regenerate.
22217 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
22218 * localedata/tst-langinfo.c (map): Add tests for the new constants
22219 ALTMON_1 .. ALTMON_12.
22220 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
22222 * time/strftime_l.c (f_altmonth): New macro.
22223 (__strftime_internal): Handle %OB format.
22224 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
22225 (__strptime_internal): Handle %OB format.
22226 * time/tst-strptime.c (day_tests): Add tests to parse different forms
22227 of month names including the new %OB format specifier.
22229 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22232 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
22233 from ABORT_TRANSACTION.
22234 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
22235 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
22236 ABORT_TRANSACTION_IMPL): Likewise.
22237 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
22238 Linux code, but remove the code that aborts transactions.
22240 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
22242 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
22244 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
22246 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
22247 in date: "2004-14-09" should be "2004-09-14".
22248 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
22249 "2003-15-09" should be "2003-09-15".
22251 2018-01-18 Arjun Shankar <arjun@redhat.com>
22257 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
22259 (_int_memalign): check for integer overflow before calling
22261 * malloc/tst-malloc-too-large.c: New test.
22262 * malloc/Makefile: Add tst-malloc-too-large.
22264 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
22266 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
22267 in date: "2017-24-07" should be "2017-07-24".
22268 * localedata/locales/mai_IN: Likewise.
22269 * localedata/locales/mai_NP: Likewise.
22271 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
22273 * po/ru.po: Update translations.
22275 2018-01-17 Joseph Myers <joseph@codesourcery.com>
22278 * sysdeps/hppa/backtrace.c: New file.
22280 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
22283 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
22284 align La_x86_64_retval to VEC_SIZE.
22286 2018-01-16 Joseph Myers <joseph@codesourcery.com>
22288 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
22289 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
22291 2018-01-16 Florian Weimer <fweimer@redhat.com>
22293 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
22294 Move tst-thread-exit-clobber ...
22295 [$(CXX)] (tests-unsupported): ... to here.
22297 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
22299 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
22300 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
22301 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
22302 (_dl_aarch64_cap_flags): Update.
22303 (_DL_HWCAP_COUNT): Update.
22305 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
22307 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
22308 (_DL_HWCAP_LAST): Remove.
22309 (_DL_HWCAP_COUNT): Move to ...
22310 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
22311 (_DL_HWCAP_COUNT): ... here.
22313 2018-01-16 Florian Weimer <fweimer@redhat.com>
22315 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
22316 mode with GNU extensions.
22318 2018-01-15 Alan Hayward <alan.hayward@arm.com>
22320 * elf/elf.h (NT_ARM_SVE): Define.
22322 2018-01-15 Florian Weimer <fweimer@redhat.com>
22325 * nptl/tst-minstack-throw.cc: New file.
22326 * nptl/Makefile (tests): Add tst-minstack-throw.
22327 (LDLIBS-tst-minstack-throw): Link with libstdc++.
22328 [!CXX] (tests-unsupported): Add tst-minstack-throw.
22330 2018-01-15 Joseph Myers <joseph@codesourcery.com>
22332 * scripts/build-many-glibcs.py (Context.checkout): Default
22333 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
22336 2018-01-13 Carlos O'Donell <carlos@redhat.com>
22339 * elf/elf.h (DF_1_STUB): Define.
22340 (DF_1_PIE): Define.
22342 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22345 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
22346 Do not add 0.5 to integer or out-of-range arguments.
22348 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
22350 * po/bg.po: Update translations.
22351 * po/cs.po: Likewise.
22352 * po/de.po: Likewise.
22353 * po/ko.po: Likewise.
22354 * po/pl.po: Likewise.
22355 * po/sv.po: Likewise.
22356 * po/uk.po: Likewise.
22357 * po/vi.po: Likewise.
22359 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
22361 * aarch64/start.S (_start): Use __wrap_main.
22362 (__wrap_main): New local symbol.
22364 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
22368 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
22369 generic_getcwd if the path returned by getcwd syscall is not absolute.
22370 * io/tst-getcwd-abspath.c: New test.
22371 * io/Makefile (tests): Add tst-getcwd-abspath.
22373 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
22375 * malloc/malloc.c (malloc_consolidate): Add size check.
22377 2018-01-12 Florian Weimer <fweimer@redhat.com>
22379 * support/write_message.c (write_message): Preserve errno.
22380 * support/check.c (print_failure): Likewise.
22381 * support/support_test_verify_impl.c (support_test_verify_impl):
22383 * support/support_test_compare_failure.c
22384 (support_test_compare_failure): Likewise.
22386 2018-01-12 Florian Weimer <fweimer@redhat.com>
22389 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
22390 Prevent installation of libnsl.so.
22391 (libnsl-inhibit-o): Do not build (or install) static libraries.
22393 2018-01-12 Egmont Koblinger <egmont@gmail.com>
22396 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
22397 before the day number which may produce a double space.
22398 (date_fmt): Likewise.
22400 2018-01-12 Joseph Myers <joseph@codesourcery.com>
22402 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
22403 instead of fegetenv.
22405 2018-01-11 Joseph Myers <joseph@codesourcery.com>
22408 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
22409 comment to say exceptions are discarded.
22410 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
22412 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
22415 2018-01-11 Florian Weimer <fweimer@redhat.com>
22417 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
22420 2018-01-11 Florian Weimer <fweimer@redhat.com>
22423 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
22424 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
22426 2018-01-10 Joseph Myers <joseph@codesourcery.com>
22429 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
22430 negative arguments in test for NaN or infinity argument.
22432 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
22434 * po/libc.pot: Regenerate.
22436 2018-01-10 Florian Weimer <fweimer@redhat.com>
22439 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
22440 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
22442 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22444 * hurd/hurd/fd.h: Include <fcntl.h>
22445 (__hurd_at_flags): New function.
22446 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
22447 with call to __hurd_at_flags.
22448 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
22449 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
22451 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
22452 (__access_noerrno): Use __faccessat_common instead of access_common.
22453 (__access): Likewise.
22454 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
22455 with a call to __faccessat.
22456 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
22457 (__faccessat_common): ... this. Move implementation of __access into it when
22458 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
22459 reauthenticate_cwdir_at helper to implement AT mechanism.
22460 (__faccessat_noerrno): New function, just calls __faccessat_common.
22461 (__faccessat): New function, just calls __faccessat_common.
22462 (faccessat): Define weak alias.
22464 2018-01-10 Joseph Myers <joseph@codesourcery.com>
22467 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22468 (CFLAGS-s_fmaxmagl.c): New variable.
22469 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
22472 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
22473 long int for arguments of possibly overflowing addition or
22475 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
22477 2018-01-09 Joseph Myers <joseph@codesourcery.com>
22480 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22481 (CFLAGS-e_remainderl.c): New variable.
22484 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
22486 (CFLAGS-s_cacoshl.c): Likewise.
22487 (CFLAGS-s_casinhl.c): Likewise.
22488 (CFLAGS-s_catanl.c): Likewise.
22489 (CFLAGS-s_catanhl.c): Likewise.
22490 (CFLAGS-s_cexpl.c): Likewise.
22491 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
22492 (CFLAGS-s_csinhl.c): Likewise.
22493 (CFLAGS-s_clogl.c): Likewise.
22494 (CFLAGS-s_clog10l.c): Likewise.
22495 (CFLAGS-s_csinl.c): Likewise.
22496 (CFLAGS-s_csqrtl.c): Likewise.
22498 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
22499 2017-01-09 Svante Signell <svante.signell@gmail.com>
22501 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
22502 (_hurd_exec_paths): New function.
22503 * hurd/hurd.h (_hurd_exec): Deprecate function.
22504 (_hurd_exec_paths): Declare function.
22505 * hurd/Versions: Export _hurd_exec_paths.
22506 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
22507 (__execve): Use __getcwd to build absolute path, and use
22508 _hurd_exec_paths instead of _hurd_exec.
22509 * sysdeps/mach/hurd/spawni.c: Likewise.
22510 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
22513 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
22515 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
22516 test instead of failing in case of ENOENT returned by posix_openpt.
22518 2018-01-08 Florian Weimer <fweimer@redhat.com>
22520 resolv: Support binary labels in test framework.
22521 * support/resolv_test.c (struct to_be_freed): Remove.
22522 (struct compressed_name): New.
22523 (allocate_compressed_name, ascii_tolower)
22524 (compare_compressed_name): New functions.
22525 (struct resolv_response_builder): Update type of
22526 compression_offsets for use with tsearch. Rempve to_be_freed.
22527 (response_push_pointer_to_free): Remove function.
22528 (resolv_response_add_name): Rewrite using struct compressed_name
22529 and tsearch instead of hsearch_r.
22530 (response_builder_allocate): Remove initialization of
22531 compression_offsets.
22532 (response_builder_free): Update for removal of to_be_freed. Use
22533 tdestroy instead of hdestroy_r.
22534 * resolv/Makefile (tests): Add tst-resolv-binary.
22535 (tst-resolv-binary): Link with -lresolv -lpthread.
22537 2018-01-08 Florian Weimer <fweimer@redhat.com>
22539 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
22540 time. Pass positive flag instead of negative flag to
22541 support_test_compare_failure.
22542 (support_test_compare_failure): Change negative parameter to
22544 * support/support_test_compare_failure.c (report)
22545 (support_test_compare_failure): Likewise.
22546 * support/tst-test_compare.c (return_ssize_t, return_int): New.
22547 (do_test): Check int/size_t, ssize_t/size_t comparisons.
22549 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
22552 * nptl/descr.h (stackblock, stackblock_size): Update comments.
22553 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
22554 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
22556 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
22558 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
22560 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22561 Add s_sincosf-sse2 and s_sincosf-fma.
22562 (CFLAGS-s_sincosf-fma.c): New.
22563 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
22564 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
22565 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
22566 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
22567 __sincosf is defined.
22569 2018-01-08 Florian Weimer <fweimer@redhat.com>
22571 * nptl/tst-thread-exit-clobber.cc: New file.
22572 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
22574 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
22575 (tests): Add tst-thread-exit-clobber.
22576 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
22578 2018-01-08 Florian Weimer <fweimer@redhat.com>
22580 * support/check.h (support_static_assert): Define.
22581 (TEST_COMPARE): Use it.
22583 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
22585 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
22586 [!__RLIM_T_MATCHES_RLIM64_T]
22587 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
22588 __getrlimit64. Add libc_hidden_weak.
22590 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
22592 * elf/elf.h (R_RISCV_NONE): New define.
22593 (R_RISCV_32): Likewise.
22594 (R_RISCV_64): Likewise.
22595 (R_RISCV_RELATIVE): Likewise.
22596 (R_RISCV_COPY): Likewise.
22597 (R_RISCV_JUMP_SLOT): Likewise.
22598 (R_RISCV_TLS_DTPMOD32): Likewise.
22599 (R_RISCV_TLS_DTPMOD64): Likewise.
22600 (R_RISCV_TLS_DTPREL32): Likewise.
22601 (R_RISCV_TLS_DTPREL64): Likewise.
22602 (R_RISCV_TLS_TPREL32): Likewise.
22603 (R_RISCV_TLS_TPREL64): Likewise.
22604 * Makerules (make-link-multidir): Make directories before linking into
22606 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
22608 (VDSO_HASH_LINUX_4_15): Likewise.
22609 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
22610 in subdirectories of lib.
22611 * nptl/Makefile (/librt.so): Always depend on
22612 "$(shared-thread-library)".
22614 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22616 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
22617 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
22618 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
22620 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
22621 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
22623 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
22624 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
22625 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
22626 * sysdeps/gnu/glob-lstat-compat.c: New file.
22627 * sysdeps/gnu/glob64-lstat-compat.c: New file.
22628 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
22630 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22632 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
22633 Reserve 16 chars to reloc_addr before calling _itoa_word.
22635 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
22638 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
22639 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
22641 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
22642 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
22644 * resource/tst-getrlimit.c: Add copyright header.
22646 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
22647 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22649 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
22650 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
22651 Define __GI_getrlimit64 as weak alias of __getrlimit64.
22652 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
22654 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
22655 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
22656 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
22657 RLIM64_INFINITY): Fix values to match the kernel ones.
22658 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
22659 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
22660 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
22661 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
22662 getrlimit64@@GLIBC_2_27.
22663 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
22665 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
22666 getrlimit, setrlimit, getrlimit64 and setrlimit64.
22667 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
22668 setrlimit, getrlimit64 and setrlimit64.
22670 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
22673 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
22674 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
22676 2018-01-04 Joseph Myers <joseph@codesourcery.com>
22678 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
22679 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
22680 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
22682 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22686 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
22687 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
22691 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
22692 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
22693 * sysdeps/alpha/fpu/s_floor.c: Likewise.
22694 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
22696 2018-01-04 Florian Weimer <fweimer@redhat.com>
22699 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
22700 Align the stack before calling exit.
22701 * stdlib/tst-makecontext-align.c: New file.
22702 * stdlib/Makefile (tests): Add tst-makecontext-align.
22704 2018-01-04 Florian Weimer <fweimer@redhat.com>
22706 Add support for calling dlvsym from libc.so.
22707 * include/dlfcn.h (__libc_dlvsym): Declare.
22708 * elf/Makefile (tests-static-internal): Add
22709 tst-libc_dlvsym-static.
22710 (tests-internal): Add tst-libc_dlvsym.
22711 (modules-names): Add tst-libc_dlvsym-dso.
22712 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
22713 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
22714 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
22715 object tst-libc_dlvsym-dso.so needs to be built before running
22717 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
22718 * elf/Versions: Export __libc_dlvsym.
22719 * elf/dl-libc.c (struct do_dlvsym_args): New.
22720 (do_dlvsym, __libc_dlvsym): New functions.
22721 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
22722 (_dl_open_hook2): New variable.
22723 (__libc_register_dl_open_hook): Set it.
22724 * elf/tst-libc_dlvsym-dso.c: New file.
22725 * elf/tst-libc_dlvsym-static.c: Likewise.
22726 * elf/tst-libc_dlvsym.c: Likewise.
22727 * elf/tst-libc_dlvsym.h: Likewise.
22729 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
22731 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
22732 include <sys/mount.h>.
22734 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
22736 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
22737 Add __NO_MATH_ERRNO__ check.
22739 2018-01-02 Joseph Myers <joseph@codesourcery.com>
22741 * sysdeps/mips/mips32/libm-test-ulps: Update.
22742 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22744 2018-01-02 Florian Weimer <fweimer@redhat.com>
22746 * misc/tst-pselect.c: Add copyright header.
22748 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
22750 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
22752 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
22754 (settrlimit): Rename into setrlimit.
22755 (__sttrlimit): Rename into __setrlimit.
22757 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
22758 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
22759 never defined in that case.
22761 2018-01-02 Joseph Myers <joseph@codesourcery.com>
22763 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
22765 * sysdeps/arm/libm-test-ulps: Update.
22767 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
22768 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
22770 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22772 * NEWS: Add cosf and sincosf to list of optimized functions.
22774 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
22777 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
22778 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
22779 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
22780 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
22782 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
22785 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
22787 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
22788 making a copy of it.
22790 2018-01-01 Joseph Myers <joseph@codesourcery.com>
22792 * manual/texinfo.tex: Update to version 2017-12-26.21 with
22793 trailing whitespace removed.
22794 * scripts/config.guess: Update to version 2018-01-01.
22795 * scripts/config.sub: Update to version 2018-01-01.
22796 * scripts/move-if-change: Update from gnulib.
22798 * NEWS: Update copyright dates.
22799 * catgets/gencat.c (print_version): Likewise.
22800 * csu/version.c (banner): Likewise.
22801 * debug/catchsegv.sh: Likewise.
22802 * debug/pcprofiledump.c (print_version): Likewise.
22803 * debug/xtrace.sh (do_version): Likewise.
22804 * elf/ldconfig.c (print_version): Likewise.
22805 * elf/ldd.bash.in: Likewise.
22806 * elf/pldd.c (print_version): Likewise.
22807 * elf/sotruss.sh: Likewise.
22808 * elf/sprof.c (print_version): Likewise.
22809 * iconv/iconv_prog.c (print_version): Likewise.
22810 * iconv/iconvconfig.c (print_version): Likewise.
22811 * locale/programs/locale.c (print_version): Likewise.
22812 * locale/programs/localedef.c (print_version): Likewise.
22813 * login/programs/pt_chown.c (print_version): Likewise.
22814 * malloc/memusage.sh (do_version): Likewise.
22815 * malloc/memusagestat.c (print_version): Likewise.
22816 * malloc/mtrace.pl: Likewise.
22817 * manual/libc.texinfo: Likewise.
22818 * nptl/version.c (banner): Likewise.
22819 * nscd/nscd.c (print_version): Likewise.
22820 * nss/getent.c (print_version): Likewise.
22821 * nss/makedb.c (print_version): Likewise.
22822 * posix/getconf.c (main): Likewise.
22823 * scripts/test-installation.pl: Likewise.
22824 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
22826 * All files with FSF copyright notices: Update copyright dates
22827 using scripts/update-copyrights.
22828 * locale/programs/charmap-kw.h: Regenerated.
22829 * locale/programs/locfile-kw.h: Likewise.
22831 2017-12-31 Zack Weinberg <zackw@panix.com>
22833 * libio/bits/libio-ldbl.h: Correct check for improper
22834 inclusion. Add own multiple include guard.
22836 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
22837 Dmitry V. Levin <ldv@altlinux.org>
22841 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
22842 string token expansion. Check for NULL pointer or empty string possibly
22843 returned by expand_dynamic_string_token.
22844 (decompose_rpath): Check for empty path after dynamic string
22847 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
22850 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
22852 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
22853 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
22854 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
22855 and PTRACE_SYSCALL.
22856 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
22857 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22858 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22859 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22860 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22861 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
22863 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
22864 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
22865 __ptrace_peeksiginfo_flags, ptrace): Move to ...
22866 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
22867 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22868 bits/ptrace-shared.h.
22869 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
22870 <bits/ptrace-shared.h>.
22871 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
22872 __ptrace_peeksiginfo_flags, ptrace): Remove.
22873 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22874 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22875 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22876 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22877 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
22879 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
22882 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
22883 end of the loop. Improve comments.
22885 2017-12-29 Zack Weinberg <zackw@panix.com>
22888 * manual/errno.texi (Checking for Errors): Explicitly say that errno
22889 might be set on success.
22891 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
22894 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
22895 is unchanged on success.
22897 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
22899 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
22901 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
22902 expand_dynamic_string_token): Likewise.
22903 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
22906 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
22909 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
22910 is set and name contains ':', and all code depending on these checks.
22912 2017-12-24 Zack Weinberg <zackw@panix.com>
22914 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
22915 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
22917 * libio/libio.h: Rename the original version of this file to
22918 libio/bits/libio.h. Error out if not included by stdio.h or the
22920 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
22921 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
22922 if not included by bits/libio.h or the stub _G_config.h.
22923 * sysdeps/unix/sysv/linux/_G_config.h: Move to
22924 sysdeps/unix/sysv/linux/bits. Error out if not included by
22925 bits/libio.h or the stub _G_config.h.
22926 * libio/stdio.h: Include bits/libio.h, not libio.h.
22927 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
22928 well as libio.h and _G_config.h.
22930 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
22931 * libio/strfile.h, stdio-common/vfscanf.c
22932 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
22933 Include stdio.h, not _G_config.h nor libio.h.
22934 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
22935 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
22937 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
22939 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
22942 * stdlib/getrandom.c (getrandom): Fix comment.
22943 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
22945 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
22948 * manual/arith.texi (strtoul): Fix a typo.
22951 * manual/arith.texi (finite): Fix the description of the return
22954 2017-12-22 Eric Blake <ebb9@byu.net>
22956 Avoid gcc warnings on cygwin
22957 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
22958 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
22959 Avoid unused variable.
22961 2017-12-22 Florian Weimer <fweimer@redhat.com>
22963 * io/Makefile (routines): Add copy_file_range.
22964 (tests): Add tst-copy_file_range.
22965 (tests-static, tests-internal): Add tst-copy_file_range-compat.
22966 * io/Versions (GLIBC_2.27): Export copy_file_range.
22967 * io/copy_file_range-compat.c: New file.
22968 * io/copy_file_range.c: Likewise.
22969 * io/tst-copy_file_range-compat.c: Likewise.
22970 * io/tst-copy_file_range.c: Likewise.
22971 * manual/llio.texi (Copying File Data): New section.
22972 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
22973 * support/Makefile (libsupport-routines): Add support-xfstat,
22974 xftruncate, xlseek.
22975 * support/support-xfstat.c: New file.
22976 * support/xftruncate.c: Likewise.
22977 * support/xlseek.c: Likewise.
22978 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
22979 * sysdeps/unix/sysv/linux/**.abilist: Update.
22980 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
22982 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
22984 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22985 disable-multi-arch variant to aarch64-linux-gnu.
22987 2017-12-20 Joseph Myers <joseph@codesourcery.com>
22989 * manual/texinfo.tex: Update to version 2017-12-18.20 with
22990 trailing whitespace removed.
22991 * scripts/config.guess: Update to version 2017-12-17.
22992 * scripts/config.sub: Update to version 2017-11-23.
22993 * scripts/install-sh: Update to version 2017-09-23.17.
22994 * scripts/move-if-change: Update to version 2017-09-13 06:45.
22996 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22998 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
22999 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23000 * sysdeps/tile/_mcount.S (__mcount): Likewise.
23001 * sysdeps/tile/crti.S (_init, _fini): Likewise.
23002 * sysdeps/tile/crtn.S: Likewise.
23003 * sysdeps/tile/dl-start.S (_start): Likewise.
23004 * sysdeps/tile/dl-trampoline.S: Likewise.
23005 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
23006 * sysdeps/tile/start.S (_start): Likewise.
23007 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
23008 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
23009 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
23010 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
23011 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
23012 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
23013 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
23015 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
23017 * sysdeps/tile/preconfigure: Remove tilegx folder.
23018 * sysdeps/tile/tilegx/Implies: Move definitions to ...
23019 * sysdeps/tile/Implies: ... here.
23020 * sysdeps/tile/tilegx/Makefile: Move rules to ...
23021 * sysdeps/tile/Makefile: ... here.
23022 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
23023 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
23024 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
23025 * sysdeps/tile/bits/wordsize.h: ... here.
23026 * sysdeps/tile/tilegx/*: Move to ...
23027 * sysdeps/tile/*: ... here.
23028 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
23029 * sysdeps/tile/tilegx32/Implies: ... here.
23030 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
23031 * sysdeps/tile/tilegx64/Implies: ... here.
23032 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
23034 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
23035 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
23036 * sysdeps/unix/sysv/linux/tile/*: ... here.
23037 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
23038 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
23039 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
23040 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
23042 * README: Remove tilepro-*-linux-gnu from supported architecture.
23043 * scripts/build-many-glibcs.py: Likewise.
23044 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23045 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
23046 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
23047 elf_machine_matches_host, elf_machine_dynamic,
23048 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
23049 howto, elf_machine_rela): Likewise.
23050 * sysdeps/tile/dl-start.S (_start): Likewise.
23051 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
23052 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
23053 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
23054 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
23055 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
23056 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
23058 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
23059 * sysdeps/tile/preconfigure: Likewise.
23060 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
23061 POINTER_CHK_GUARD): Likewise.
23062 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
23063 * sysdeps/tile/start.S (_start): Likewise.
23064 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
23066 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
23067 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
23069 * sysdeps/unix/sysv/linux/tile/bits/environments.h
23070 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
23071 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
23073 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
23074 * sysdeps/tile/tilepro/Implies: Remove file.
23075 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
23076 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
23077 * sysdeps/tile/tilepro/memchr.c: Likewise.
23078 * sysdeps/tile/tilepro/memcpy.S: Likewise.
23079 * sysdeps/tile/tilepro/memset.c: Likewise.
23080 * sysdeps/tile/tilepro/memusage.h: Likewise.
23081 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
23082 * sysdeps/tile/tilepro/strchr.c: Likewise.
23083 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
23084 * sysdeps/tile/tilepro/strlen.c: Likewise.
23085 * sysdeps/tile/tilepro/strrchr.c: Likewise.
23086 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
23087 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
23088 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23089 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
23090 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
23091 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
23093 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
23094 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23095 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
23096 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
23097 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23098 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
23099 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
23100 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
23101 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
23102 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
23103 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
23104 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
23105 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
23106 tilepro mention in comment.
23108 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
23109 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
23110 * nptl/pthread_join_common.c: New file: common function used on
23111 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
23112 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
23113 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
23114 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
23115 (cleanup): Move definition to pthread_join_common.c.
23116 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
23117 Remove superflous checks.
23118 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
23121 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
23123 * sysdeps/aarch64/libm-test-ulps: Update.
23125 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23127 * sysdeps/aarch64/memset.S (MEMSET): Define.
23129 2017-12-20 Florian Weimer <fweimer@redhat.com>
23132 nptl: Provide full implementation of pthread_self in libc.so.
23133 * nptl/Makefile (routines): Add pthread_self.
23134 (libpthread-routines): Replace pthread_self with
23135 compat-pthread_self.
23136 * nptl/forward.c (pthread_self): Remove.
23137 * nptl/nptl-init.c (pthread_functions): Do not initialize
23139 * nptl/pthread_self.c (pthread_self): Remove weak alias.
23140 * nptl/compat-pthread_self.c: New file.
23141 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
23142 Remove ptr_pthread_self.
23144 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
23146 * posix/regcomp.c: Fix spelling in comments.
23147 * posix/regex.h: Likewise.
23148 * posix/regex_internal.c: Likewise.
23149 * posix/regexec.c: Likewise.
23151 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23154 * math/Makefile [C++] (tests): Add test for iseqsig.
23155 * math/math.h [C++] (iseqsig): New implementation, which does
23156 not rely on __MATH_TG/__builtin_types_compatible_p.
23157 * math/test-math-iseqsig.cc: New file.
23158 * sysdeps/powerpc/powerpc64le/Makefile
23159 (CFLAGS-test-math-iseqsig.cc): New variable.
23161 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
23163 * elf/dl-load.c (is_trusted_path): Remove.
23164 (fillin_rpath): Remove check_trusted argument and its use,
23165 all callers changed.
23167 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23170 * Makeconfig (link-pie-before-libc): Replace -pie with
23171 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
23172 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
23173 (tst-dlopen-aout-no-pie): New.
23174 (LDFLAGS-tst-prelink): Removed.
23175 (tst-prelink-no-pie): New.
23176 (LDFLAGS-tst-main1): Removed.
23177 (tst-main1-no-pie): New.
23178 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
23179 (tst-gmon-no-pie): New.
23181 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23183 * manual/install.texi: Document that --enable-static-pie
23185 * INSTALL: Regenerated.
23187 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
23190 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
23193 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23197 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23199 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23201 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23203 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
23204 <errno.h>. Include "eexp.tbl".
23205 (half): New constant.
23207 (__ieee754_exp): Rewrite.
23208 (__slowexp): Remove prototype.
23209 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
23210 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
23211 * sysdeps/i386/fpu/slowexp.c: Likewise.
23212 * sysdeps/ia64/fpu/slowexp.c: Likewise.
23213 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
23214 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
23215 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
23216 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23217 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
23218 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
23220 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
23221 (CPPFLAGS-slowexp.c): Remove variable.
23222 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23223 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
23224 (CFLAGS-slowexp-fma.c): Remove variable.
23225 (CFLAGS-slowexp-fma4.c): Likewise.
23226 (CFLAGS-slowexp-avx.c): Likewise.
23227 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
23229 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
23230 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
23231 * math/Makefile (type-double-routines): Remove slowexp.
23232 * manual/probes.texi (slowexp_p6): Remove.
23233 (slowexp_p32): Likewise.
23235 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23237 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
23240 * lib/glob.c (glob): Do not pass NULL to mempcpy.
23242 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23244 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23246 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23248 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
23249 <errno.h>. Include "eexp.tbl".
23250 (half): New constant.
23252 (__ieee754_exp): Rewrite.
23253 (__slowexp): Remove prototype.
23254 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
23255 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
23256 * sysdeps/i386/fpu/slowexp.c: Likewise.
23257 * sysdeps/ia64/fpu/slowexp.c: Likewise.
23258 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
23259 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
23260 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
23261 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23262 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
23263 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
23265 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
23266 (CPPFLAGS-slowexp.c): Remove variable.
23267 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23268 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
23269 (CFLAGS-slowexp-fma.c): Remove variable.
23270 (CFLAGS-slowexp-fma4.c): Likewise.
23271 (CFLAGS-slowexp-avx.c): Likewise.
23272 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
23274 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
23275 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
23276 * math/Makefile (type-double-routines): Remove slowexp.
23277 * manual/probes.texi (slowexp_p6): Remove.
23278 (slowexp_p32): Likewise.
23280 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23281 James Clarke <jrtc27@jrtc27.com>
23284 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
23287 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23290 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
23293 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23296 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23297 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
23298 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23299 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
23302 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23305 * bits/types/__cancel_jmp_buf_tag.h: New file.
23306 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
23307 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
23308 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
23309 * nptl/Makefile (headers): Add
23310 bits/types/__cancel_jmp_buf_tag.h.
23311 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
23312 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
23313 * sysdeps/nptl/pthread.h: Include
23314 <bits/types/__cancel_jmp_buf_tag.h>.
23315 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
23317 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
23319 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
23321 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23322 --enable-static-pie variants to x86_64, x32 and i686.
23324 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23327 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
23328 argument for attrubutes. All callers changed.
23329 (__inline_mathop1): Likewise. All callers changed.
23330 (__inline_mathop): Likewise. All callers changed.
23331 [__USE_MISC] (scalbn): Use __inline_forward instead of
23332 __inline_forward_c.
23333 [__USE_ISOC99] (scalbln): Likewise.
23334 [__USE_ISOC99] (nearbyint): Likewise.
23335 [__USE_ISOC99] (lrint): Likewise.
23336 [__USE_MISC] (scalbnf): Likewise.
23337 [__USE_ISOC99] (scalblnf): Likewise.
23338 [__USE_ISOC99] (nearbyintf): Likewise.
23339 [__USE_ISOC99] (lrintf): Likewise.
23340 [__USE_MISC] (scalbnl): Likewise.
23341 [__USE_ISOC99] (scalblnl): Likewise.
23342 [__USE_ISOC99] (nearbyintl): Likewise.
23343 [__USE_ISOC99] (lrintl): Likewise.
23344 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
23345 __inline_mathop and __m81_defun changed.
23347 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
23348 CPU or FPU for ARM hard-float configurations.
23350 2017-12-18 Joseph Myers <joseph@codesourcery.com>
23352 * nptl/tst-attr3.c: Include <libc-diag.h>.
23353 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
23355 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
23357 * string/tester.c (test_strncat): Also disable -Warray-bounds
23358 warnings for two tests.
23360 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
23363 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
23364 $(cc-pie-default) == yes.
23365 * config.make.in (cc-pie-default): New.
23366 * configure.ac (libc_cv_pie_default): Renamed to ...
23367 (libc_cv_cc_pie_default): This.
23368 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
23369 * configure: Regenerated.
23371 2017-12-18 Florian Weimer <fweimer@redhat.com>
23374 ld.so: Harden dl-libc/libdl hooks.
23375 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
23376 (rtld_active): New function.
23377 * dlfcn/dladdr.c (__dladdr): Call it.
23378 * dlfcn/dladdr1.c (__dladdr1): Likewise.
23379 * dlfcn/dlclose.c (__dlcose): Likewise.
23380 * dlfcn/dlerror.c (__dlerror): Likewise.
23381 * dlfcn/dlinfo.c (__dlinfo): Likewise.
23382 * dlfcn/dlmopen.c (__dlmopen): Likewise.
23383 * dlfcn/dlopen.c (__dlopen): Likewise.
23384 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
23385 * dlfcn/dlsym.c (__dlsym): Likewise.
23386 * dlfcn/dlvsym.c (__dlvsym): Likewise.
23387 * libio/vtables.c (_IO_vtable_check): Likewise.
23388 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
23389 (__libc_dlclose): Likewise.
23390 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
23393 2017-12-18 Joseph Myers <joseph@codesourcery.com>
23396 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
23397 buffers for readlink input and output.
23399 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
23402 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
23403 inhibit_stack_protector.
23406 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
23407 inhibit_stack_protector.
23409 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
23412 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
23413 code and invocation.
23415 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
23417 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
23419 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
23422 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
23424 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23426 * sysdeps/s390/fpu/libm-test-ulps: Update.
23428 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23430 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23432 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23434 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
23435 constants to s_sincosf.h file.
23436 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23437 * sysdeps/ieee754/flt-32/s_sincosf.c: New
23439 * sysdeps/ieee754/flt-32/s_sincosf.h:
23442 2017-12-12 Carlos O'Donell <carlos@redhat.com>
23445 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
23448 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
23451 * INSTALL: Regenerated.
23452 * Makeconfig (real-static-start-installed-name): New.
23453 (pic-default): Updated for --enable-static-pie.
23454 (pie-default): New for --enable-static-pie.
23455 (default-pie-ldflag): Likewise.
23456 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
23457 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
23458 Replace $(static-start-installed-name) with
23459 $(real-static-start-installed-name).
23460 (+prectorT): Updated for --enable-static-pie.
23461 (+postctorT): Likewise.
23462 (CFLAGS-.o): Add $(pie-default).
23463 (CFLAGS-.op): Likewise.
23464 * NEWS: Mention --enable-static-pie.
23465 * config.h.in (ENABLE_STATIC_PIE): New.
23466 * configure.ac (--enable-static-pie): New configure option.
23467 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
23468 (have-static-pie): Likewise.
23469 Enable static PIE if linker supports --no-dynamic-linker.
23470 (ENABLE_STATIC_PIE): New AC_DEFINE.
23471 (enable-static-pie): New LIBC_CONFIG_VAR.
23472 * configure: Regenerated.
23473 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
23474 gr$(start-installed-name) for --enable-static-pie.
23475 (extra-objs): Likewise.
23476 (install-lib): Likewise.
23477 (extra-objs): Add static-reloc.o and static-reloc.os
23478 ($(objpfx)$(start-installed-name)): Also depend on
23479 $(objpfx)static-reloc.o.
23480 ($(objpfx)r$(start-installed-name)): New.
23481 ($(objpfx)g$(start-installed-name)): Also depend on
23482 $(objpfx)static-reloc.os.
23483 ($(objpfx)gr$(start-installed-name)): New.
23484 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
23486 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
23488 * csu/static-reloc.c: New file.
23489 * elf/Makefile (routines): Add dl-reloc-static-pie.
23490 (elide-routines.os): Likewise.
23491 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
23492 (tst-tls1-static-non-pie-no-pie): New.
23493 * elf/dl-reloc-static-pie.c: New file.
23494 * elf/dl-support.c (_dl_get_dl_main_map): New function.
23495 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
23496 STATIC_PIE_BOOTSTRAP.
23497 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
23498 * gmon/Makefile (tests): Add tst-gmon-static-pie.
23499 (tests-static): Likewise.
23500 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
23501 (tst-gmon-static-no-pie): New.
23502 (CFLAGS-tst-gmon-static-pie.c): Likewise.
23503 (CRT-tst-gmon-static-pie): Likewise.
23504 (tst-gmon-static-pie-ENV): Likewise.
23505 (tests-special): Likewise.
23506 ($(objpfx)tst-gmon-static-pie.out): Likewise.
23507 (clean-tst-gmon-static-pie-data): Likewise.
23508 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
23509 * gmon/tst-gmon-static-pie.c: New file.
23510 * manual/install.texi: Document --enable-static-pie.
23511 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
23512 (_dl_get_dl_main_map): Likewise.
23513 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
23514 * sysdeps/x86_64/configure.ac: Likewise.
23515 * sysdeps/i386/configure: Regenerated.
23516 * sysdeps/x86_64/configure: Likewise.
23517 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
23518 (ASFLAGS-.op): Likewise.
23520 2017-12-15 Joseph Myers <joseph@codesourcery.com>
23522 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
23523 * posix/tst-mmap-offset.c (fname): Use /tmp.
23524 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
23526 2017-12-15 Steve Ellcey <sellcey@cavium.com>
23528 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
23530 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
23532 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
23535 2017-12-15 Joseph Myers <joseph@codesourcery.com>
23537 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
23538 --with-float=hard for arm-linux-gnueabihf configurations.
23541 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
23542 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
23543 ($(mo-installed)): Use $(objpfx)%.mo.
23544 (realclean): Remove rule.
23546 * po/Makefile (linguas): Remove rule and dependencies.
23547 (linguas.mo): Likewise.
23548 (.PHONY): Do not depend on linguas and linguas.mo.
23549 (podir): Remove variable.
23550 (pofiles): Likewise.
23551 [$(pofiles)] (%.po): Remove rule.
23553 * sysdeps/sparc/sparc32/Makefile
23554 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
23555 start-of-line whitespace in argument of echo.
23556 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
23557 with whitespace. Generate __wrap_.udiv alias.
23558 * sysdeps/sparc/sparc32/rem.S: Regenerated.
23559 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
23560 * sysdeps/sparc/sparc32/udiv.S: Likewise.
23561 * sysdeps/sparc/sparc32/urem.S: Likewise.
23563 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23565 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
23566 for aligned inputs.
23568 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
23570 * benchtests/bench-strcmp.c: Print output in JSON format.
23572 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
23574 2017-12-14 Florian Weimer <fweimer@redhat.com>
23578 * elf/dl-load.c (_dl_init_paths): Compute number of components in
23579 the expanded path string.
23581 2017-12-14 Florian Weimer <fweimer@redhat.com>
23585 * elf/dl-load.c (system_dirs): Update comment.
23586 (nsystem_dirs_len): Use array_length.
23587 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
23589 2017-12-14 Florian Weimer <fweimer@redhat.com>
23591 Simplify compiling most of support/ outside of glibc.
23592 * support/check_addrinfo.c: Include <string.h>.
23593 * support/check_dns_packet.c: Likewise.
23594 * support/check_hostent.c: Likewise.
23595 * support/support_can_chroot.c: Include <support/xunistd.h>.
23596 * support/support_format_addrinfo.c: Include <stdlib.h>
23597 * support/support_format_dns_packet.c: Include <stdbool.h>.
23598 * support/support_format_hostent.c: Include <stdlib.h>.
23599 * support/support_format_netent.c: Likewise.
23600 * support/support_write_string.c: Include <support/xunistd.h>.
23601 * support/xdlfcn.c: Include <stddef.h>.
23603 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
23605 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
23607 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23608 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23610 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23611 (sysdeps_routines): Add memset-niagara7.
23612 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
23614 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
23616 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
23617 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
23618 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
23619 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
23620 Add niagara7 option.
23621 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
23624 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23625 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
23626 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
23628 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
23630 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
23631 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
23632 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
23633 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
23634 and __memmove_niagara7.
23635 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
23636 Add niagara7 option.
23637 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
23638 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
23639 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
23640 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
23641 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
23643 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
23645 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
23646 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
23647 * sysdeps/sparc/sparc64/memmove.S: Likewise.
23648 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
23650 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
23651 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
23652 _dl_sparc_cap_flags array.
23653 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
23655 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
23657 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
23658 time whenever possible.
23660 2017-12-12 Carlos O'Donell <carlos@redhat.com>
23662 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
23663 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
23665 2017-12-12 Joseph Myers <joseph@codesourcery.com>
23667 * soft-fp/fmadf4.c: Move to ....
23668 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
23669 * soft-fp/fmasf4.c: Move to ....
23670 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
23671 * soft-fp/fmatf4.c: Move to ....
23672 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
23673 * sysdeps/ieee754/soft-fp/Makefile: New file.
23674 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
23675 * sysdeps/arm/preconfigure: Regenerated.
23676 * sysdeps/arm/nofpu/Implies: New file.
23677 * sysdeps/arm/s_fma.c: Remove file.
23678 * sysdeps/arm/s_fmaf.c: Likewise.
23679 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
23680 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
23681 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
23682 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
23683 * sysdeps/microblaze/s_fma.c: Remove file.
23684 * sysdeps/microblaze/s_fmaf.c: Likewise.
23685 * sysdeps/mips/mips32/nofpu/Implies: New file.
23686 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
23687 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
23688 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
23689 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
23690 * sysdeps/mips/ieee754/s_fma.c: Remove file.
23691 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
23692 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
23694 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
23695 * sysdeps/nios2/s_fma.c: Remove file.
23696 * sysdeps/nios2/s_fmaf.c: Likewise.
23697 * sysdeps/sh/nofpu/Implies: New file.
23698 * sysdeps/sh/s_fma.c: Remove file.
23699 * sysdeps/sh/s_fmaf.c: Likewise.
23700 * sysdeps/tile/Implies: Add ieee754/soft-fp.
23701 * sysdeps/tile/s_fma.c: Remove file.
23702 * sysdeps/tile/s_fmaf.c: Likewise.
23704 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
23706 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23707 Add s_cosf-sse2 and s_cosf-fma.
23708 (CFLAGS-s_cosf-fma.c): New.
23709 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
23710 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
23711 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
23713 2017-12-12 Steve Ellcey <sellcey@cavium.com>
23715 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
23717 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23719 * libio/Makefile (tests): Add tst-bz22415.
23720 (tst-bz22415-ENV): New rule.
23721 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
23722 (tests-special): Add tst-bz22415-mem.out.
23723 ($(objpfx)tst-bz22415-mem.out): New rule.
23724 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
23725 in case of a successful seek operation.
23726 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23727 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
23728 buffer is required.
23729 * libio/tst-bz22415.c: New test.
23731 * sysdeps/ia64/fpu/libm-test-ulps: Update.
23733 2017-12-12 James Clarke <jrtc27@jrtc27.com>
23735 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
23736 __IPC_64 to 0 to avoid IPC_64 being set.
23738 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
23741 * math/bits/mathcalls.h (nextafter): Remove const.
23742 (nexttoward): Likewise.
23744 2017-12-12 Joseph Myers <joseph@codesourcery.com>
23746 * configure.ac (--with-fp): Remove configure option.
23747 (with_fp_cond): New variable.
23748 (libc_cv_with_fp): New configure test. Use this variable instead
23750 * configure: Regenerated.
23751 * config.make.in (with-fp): Use @libc_cv_with_fp@.
23752 * manual/install.texi (Configuring and compiling): Remove
23754 * INSTALL: Regenerated.
23755 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
23756 * sysdeps/mips/preconfigure (with_fp_cond): Define.
23757 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
23758 * sysdeps/sh/preconfigure (with_fp_cond): Define.
23759 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
23760 use --without-fp to configure glibc.
23762 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
23764 * manual/locale.texi (nl_langinfo): Fix a typo.
23766 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
23769 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
23771 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
23773 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
23774 (CFLAGS-argp-parse.c): Likewise.
23775 (CFLAGS-argp-fmtstream.c): Likewise.
23776 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
23777 (CPPFLAGS-sha512-crypt.c): Likewise.
23778 (CPPFLAGS-md5-crypt.c): Likewise.
23779 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
23780 (CFLAGS-stack_chk_fail_local.c): Likewise.
23781 (CFLAGS-backtrace.c): Likewise.
23782 (CFLAGS-sprintf_chk.c): Likewise.
23783 (CFLAGS-snprintf_chk.c): Likewise.
23784 (CFLAGS-vsprintf_chk.c): Likewise.
23785 (CFLAGS-vsnprintf_chk.c): Likewise.
23786 (CFLAGS-asprintf_chk.c): Likewise.
23787 (CFLAGS-vasprintf_chk.c): Likewise.
23788 (CFLAGS-obprintf_chk.c): Likewise.
23789 (CFLAGS-dprintf_chk.c): Likewise.
23790 (CFLAGS-vdprintf_chk.c): Likewise.
23791 (CFLAGS-printf_chk.c): Likewise.
23792 (CFLAGS-fprintf_chk.c): Likewise.
23793 (CFLAGS-vprintf_chk.c): Likewise.
23794 (CFLAGS-vfprintf_chk.c): Likewise.
23795 (CFLAGS-gets_chk.c): Likewise.
23796 (CFLAGS-fgets_chk.c): Likewise.
23797 (CFLAGS-fgets_u_chk.c): Likewise.
23798 (CFLAGS-fread_chk.c): Likewise.
23799 (CFLAGS-fread_u_chk.c): Likewise.
23800 (CFLAGS-swprintf_chk.c): Likewise.
23801 (CFLAGS-vswprintf_chk.c): Likewise.
23802 (CFLAGS-wprintf_chk.c): Likewise.
23803 (CFLAGS-fwprintf_chk.c): Likewise.
23804 (CFLAGS-vwprintf_chk.c): Likewise.
23805 (CFLAGS-vfwprintf_chk.c): Likewise.
23806 (CFLAGS-fgetws_chk.c): Likewise.
23807 (CFLAGS-fgetws_u_chk.c): Likewise.
23808 (CFLAGS-read_chk.c): Likewise.
23809 (CFLAGS-pread_chk.c): Likewise.
23810 (CFLAGS-pread64_chk.c): Likewise.
23811 (CFLAGS-recv_chk.c): Likewise.
23812 (CFLAGS-recvfrom_chk.c): Likewise.
23813 (CFLAGS-tst-longjmp_chk.c): Likewise.
23814 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
23815 (CFLAGS-tst-longjmp_chk2.c): Likewise.
23816 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
23817 (CFLAGS-tst-longjmp_chk3.c): Likewise.
23818 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
23819 (CFLAGS-tst-chk1.c): Likewise.
23820 (CFLAGS-tst-chk2.c): Likewise.
23821 (CFLAGS-tst-chk3.c): Likewise.
23822 (CFLAGS-tst-chk4.cc): Likewise.
23823 (CFLAGS-tst-chk5.cc): Likewise.
23824 (CFLAGS-tst-chk6.cc): Likewise.
23825 (CFLAGS-tst-lfschk1.c): Likewise.
23826 (CFLAGS-tst-lfschk2.c): Likewise.
23827 (CFLAGS-tst-lfschk3.c): Likewise.
23828 (CFLAGS-tst-lfschk4.cc): Likewise.
23829 (CFLAGS-tst-lfschk5.cc): Likewise.
23830 (CFLAGS-tst-lfschk6.cc): Likewise.
23831 (CFLAGS-tst-ssp-1.c): Likewise.
23832 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
23833 (CFLAGS-scandir64.c): Likewise.
23834 (CFLAGS-scandir-tail.c): Likewise.
23835 (CFLAGS-scandir64-tail.c): Likewise.
23836 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
23837 (CFLAGS-dl-tunables.c): Likewise.
23838 (CFLAGS-dl-runtime.c): Likewise.
23839 (CFLAGS-dl-lookup.c): Likewise.
23840 (CFLAGS-dl-iterate-phdr.c): Likewise.
23841 (CFLAGS-vismain.c): Likewise.
23842 (CFLAGS-tst-linkall-static.c): Likewise.
23843 (CFLAGS-tst-linkall-static.c): Likewise.
23844 (CPPFLAGS-dl-load.c): Likewise.
23845 (CFLAGS-ldconfig.c): Likewise.
23846 (CFLAGS-dl-cache.c): Likewise.
23847 (CFLAGS-cache.c): Likewise.
23848 (CFLAGS-rtld.c): Likewise.
23849 (CFLAGS-multiload.c): Likewise.
23850 (CFLAGS-filtmod1.c): Likewise.
23851 (CFLAGS-tst-align.c): Likewise.
23852 (CFLAGS-tst-align2.c): Likewise.
23853 (CFLAGS-tst-alignmod.c): Likewise.
23854 (CFLAGS-tst-alignmod2.c): Likewise.
23855 (CPPFLAGS-tst-execstack.c): Likewise.
23856 (CFLAGS-tst-ptrguard1-static.c): Likewise.
23857 (CFLAGS-tst-latepthreadmod.c): Likewise.
23858 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
23859 (CFLAGS-getgrnam_r.c): Likewise.
23860 (CFLAGS-getgrent_r.c): Likewise.
23861 (CFLAGS-getgrent.c): Likewise.
23862 (CFLAGS-fgetgrent.c): Likewise.
23863 (CFLAGS-fgetgrent_r.c): Likewise.
23864 (CFLAGS-putgrent.c): Likewise.
23865 (CFLAGS-initgroups.c): Likewise.
23866 (CFLAGS-getgrgid.c): Likewise.
23867 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
23868 (CFLAGS-getsgent.c): Likewise.
23869 (CFLAGS-fgetsgent.c): Likewise.
23870 (CFLAGS-fgetsgent_r.c): Likewise.
23871 (CFLAGS-putsgent.c): Likewise.
23872 (CFLAGS-getsgnam.c): Likewise.
23873 (CFLAGS-getsgnam_r.c): Likewise.
23874 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
23875 (CFLAGS-iconv_charmap.c): Likewise.
23876 (CFLAGS-dummy-repertoire.c): Likewise.
23877 (CFLAGS-charmap.c): Likewise.
23878 (CFLAGS-linereader.c): Likewise.
23879 (CFLAGS-simple-hash.c): Likewise.
23880 (CFLAGS-gconv_conf.c): Likewise.
23881 (CFLAGS-iconvconfig.c): Likewise.
23882 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23883 (CFLAGS-gethstbyad.c): Likewise.
23884 (CFLAGS-gethstbynm_r.c): Likewise.
23885 (CFLAGS-gethstbynm.c): Likewise.
23886 (CFLAGS-gethstbynm2_r.c): Likewise.
23887 (CFLAGS-gethstbynm2.c): Likewise.
23888 (CFLAGS-gethstent_r.c): Likewise.
23889 (CFLAGS-gethstent.c): Likewise.
23890 (CFLAGS-rcmd.c): Likewise.
23891 (CFLAGS-getnetbynm_r.c): Likewise.
23892 (CFLAGS-getnetbynm.c): Likewise.
23893 (CFLAGS-getnetbyad_r.c): Likewise.
23894 (CFLAGS-getnetbyad.c): Likewise.
23895 (CFLAGS-getnetent_r.c): Likewise.
23896 (CFLAGS-getnetent.c): Likewise.
23897 (CFLAGS-getaliasent_r.c): Likewise.
23898 (CFLAGS-getaliasent.c): Likewise.
23899 (CFLAGS-getrpcent_r.c): Likewise.
23900 (CFLAGS-getrpcent.c): Likewise.
23901 (CFLAGS-getservent_r.c): Likewise.
23902 (CFLAGS-getservent.c): Likewise.
23903 (CFLAGS-getprtent_r.c): Likewise.
23904 (CFLAGS-getprtent.c): Likewise.
23905 (CFLAGS-either_ntoh.c): Likewise.
23906 (CFLAGS-either_hton.c): Likewise.
23907 (CFLAGS-getnetgrent.c): Likewise.
23908 (CFLAGS-getnetgrent_r.c): Likewise.
23909 (CFLAGS-tst-checks-posix.c): Likewise.
23910 (CFLAGS-tst-sockaddr.c): Likewise.
23911 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
23912 (CFLAGS-tst-translit.c): Likewise.
23913 (CFLAGS-tst-gettext2.c): Likewise.
23914 (CFLAGS-tst-codeset.c): Likewise.
23915 (CFLAGS-tst-gettext3.c): Likewise.
23916 (CFLAGS-tst-gettext4.c): Likewise.
23917 (CFLAGS-tst-gettext5.c): Likewise.
23918 (CFLAGS-tst-gettext6.c): Likewise.
23919 * io/Makefile (CFLAGS-open.c): Likewise.
23920 (CFLAGS-open64.c): Likewise.
23921 (CFLAGS-creat.c): Likewise.
23922 (CFLAGS-creat64.c): Likewise.
23923 (CFLAGS-fcntl.c): Likewise.
23924 (CFLAGS-poll.c): Likewise.
23925 (CFLAGS-ppoll.c): Likewise.
23926 (CFLAGS-lockf.c): Likewise.
23927 (CFLAGS-statfs.c): Likewise.
23928 (CFLAGS-fstatfs.c): Likewise.
23929 (CFLAGS-statvfs.c): Likewise.
23930 (CFLAGS-fstatvfs.c): Likewise.
23931 (CFLAGS-fts.c): Likewise.
23932 (CFLAGS-fts64.c): Likewise.
23933 (CFLAGS-ftw.c): Likewise.
23934 (CFLAGS-ftw64.c): Likewise.
23935 (CFLAGS-lockf.c): Likewise.
23936 (CFLAGS-posix_fallocate.c): Likewise.
23937 (CFLAGS-posix_fallocate64.c): Likewise.
23938 (CFLAGS-fallocate.c): Likewise.
23939 (CFLAGS-fallocate64.c): Likewise.
23940 (CFLAGS-read.c): Likewise.
23941 (CFLAGS-write.c): Likewise.
23942 (CFLAGS-test-stat.c): Likewise.
23943 (CFLAGS-test-lfs.c): Likewise.
23944 * libio/Makefile (CFLAGS-fileops.c): Likewise.
23945 (CFLAGS-fputc.c): Likewise.
23946 (CFLAGS-fputwc.c): Likewise.
23947 (CFLAGS-freopen64.c): Likewise.
23948 (CFLAGS-freopen.c): Likewise.
23949 (CFLAGS-fseek.c): Likewise.
23950 (CFLAGS-fseeko64.c): Likewise.
23951 (CFLAGS-fseeko.c): Likewise.
23952 (CFLAGS-ftello64.c): Likewise.
23953 (CFLAGS-ftello.c): Likewise.
23954 (CFLAGS-fwide.c): Likewise.
23955 (CFLAGS-genops.c): Likewise.
23956 (CFLAGS-getc.c): Likewise.
23957 (CFLAGS-getchar.c): Likewise.
23958 (CFLAGS-getwc.c): Likewise.
23959 (CFLAGS-getwchar.c): Likewise.
23960 (CFLAGS-iofclose.c): Likewise.
23961 (CFLAGS-iofflush.c): Likewise.
23962 (CFLAGS-iofgetpos64.c): Likewise.
23963 (CFLAGS-iofgetpos.c): Likewise.
23964 (CFLAGS-iofgets.c): Likewise.
23965 (CFLAGS-iofgetws.c): Likewise.
23966 (CFLAGS-iofputs.c): Likewise.
23967 (CFLAGS-iofputws.c): Likewise.
23968 (CFLAGS-iofread.c): Likewise.
23969 (CFLAGS-iofsetpos64.c): Likewise.
23970 (CFLAGS-iofsetpos.c): Likewise.
23971 (CFLAGS-ioftell.c): Likewise.
23972 (CFLAGS-iofwrite.c): Likewise.
23973 (CFLAGS-iogetdelim.c): Likewise.
23974 (CFLAGS-iogetline.c): Likewise.
23975 (CFLAGS-iogets.c): Likewise.
23976 (CFLAGS-iogetwline.c): Likewise.
23977 (CFLAGS-ioputs.c): Likewise.
23978 (CFLAGS-ioseekoff.c): Likewise.
23979 (CFLAGS-ioseekpos.c): Likewise.
23980 (CFLAGS-iosetbuffer.c): Likewise.
23981 (CFLAGS-iosetvbuf.c): Likewise.
23982 (CFLAGS-ioungetc.c): Likewise.
23983 (CFLAGS-ioungetwc.c): Likewise.
23984 (CFLAGS-oldfileops.c): Likewise.
23985 (CFLAGS-oldiofclose.c): Likewise.
23986 (CFLAGS-oldiofgetpos64.c): Likewise.
23987 (CFLAGS-oldiofgetpos.c): Likewise.
23988 (CFLAGS-oldiofsetpos64.c): Likewise.
23989 (CFLAGS-oldiofsetpos.c): Likewise.
23990 (CFLAGS-peekc.c): Likewise.
23991 (CFLAGS-putc.c): Likewise.
23992 (CFLAGS-putchar.c): Likewise.
23993 (CFLAGS-putwc.c): Likewise.
23994 (CFLAGS-putwchar.c): Likewise.
23995 (CFLAGS-rewind.c): Likewise.
23996 (CFLAGS-wfileops.c): Likewise.
23997 (CFLAGS-wgenops.c): Likewise.
23998 (CFLAGS-oldiofopen.c): Likewise.
23999 (CFLAGS-iofopen.c): Likewise.
24000 (CFLAGS-iofopen64.c): Likewise.
24001 (CFLAGS-oldtmpfile.c): Likewise.
24002 (CFLAGS-tst_putwc.c): Likewise.
24003 * locale/Makefile (CFLAGS-md5.c): Likewise.
24004 (CFLAGS-charmap.c): Likewise.
24005 (CFLAGS-locfile.c): Likewise.
24006 (CFLAGS-charmap-dir.c): Likewise.
24007 * login/Makefile (CFLAGS-grantpt.c): Likewise.
24008 (CFLAGS-getpt.c): Likewise.
24009 (CFLAGS-pt_chown.c): Likewise.
24010 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
24011 (CFLAGS-obstack.c): Likewise.
24012 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
24013 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
24014 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
24015 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
24016 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
24017 (CFLAGS-test-tgmath.c): Likewise.
24018 (CFLAGS-test-tgmath2.c): Likewise.
24019 (CFLAGS-test-tgmath-ret.c): Likewise.
24020 (CFLAGS-test-powl.c): Likewise.
24021 (CFLAGS-test-snan.c): Likewise.
24022 (CFLAGS-test-signgam-finite.c): Likewise.
24023 (CFLAGS-test-signgam-finite-c99.c): Likewise.
24024 (CFLAGS-test-signgam-finite-c11.c): Likewise.
24025 (CFLAGS-test-signgam-uchar.c): Likewise.
24026 (CFLAGS-test-signgam-uchar-init.c): Likewise.
24027 (CFLAGS-test-signgam-uchar-static.c): Likewise.
24028 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
24029 (CFLAGS-test-signgam-uint.c): Likewise.
24030 (CFLAGS-test-signgam-uint-init.c): Likewise.
24031 (CFLAGS-test-signgam-uint-static.c): Likewise.
24032 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
24033 (CFLAGS-test-signgam-ullong.c): Likewise.
24034 (CFLAGS-test-signgam-ullong-init.c): Likewise.
24035 (CFLAGS-test-signgam-ullong-static.c): Likewise.
24036 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
24037 (CFLAGS-test-math-cxx11.cc): Likewise.
24038 (CFLAGS-test-math-isinff.cc): Likewise.
24039 (CFLAGS-test-math-iszero.cc): Likewise.
24040 (CFLAGS-test-math-issignaling.cc): Likewise.
24041 (CFLAGS-test-math-iscanonical.cc): Likewise.
24042 (CFLAGS-test-iszero-excess-precision.c): Likewise.
24043 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
24044 (CFLAGS-test-flt-eval-method.c): Likewise.
24045 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
24046 (CFLAGS-test-finite-macros.c): Likewise.
24047 * misc/Makefile (CFLAGS-select.c): Likewise.
24048 (CFLAGS-tsearch.c): Likewise.
24049 (CFLAGS-lsearch.c): Likewise.
24050 (CFLAGS-pselect.c): Likewise.
24051 (CFLAGS-readv.c): Likewise.
24052 (CFLAGS-writev.c): Likewise.
24053 (CFLAGS-preadv.c): Likewise.
24054 (CFLAGS-preadv64.c): Likewise.
24055 (CFLAGS-pwritev.c): Likewise.
24056 (CFLAGS-pwritev64.c): Likewise.
24057 (CFLAGS-preadv2.c): Likewise.
24058 (CFLAGS-preadv64v2.c): Likewise.
24059 (CFLAGS-pwritev2.c): Likewise.
24060 (CFLAGS-pwritev64v2.c): Likewise.
24061 (CFLAGS-usleep.c): Likewise.
24062 (CFLAGS-syslog.c): Likewise.
24063 (CFLAGS-error.c): Likewise.
24064 (CFLAGS-getpass.c): Likewise.
24065 (CFLAGS-mkstemp.c): Likewise.
24066 (CFLAGS-mkstemp64.c): Likewise.
24067 (CFLAGS-getsysstats.c): Likewise.
24068 (CFLAGS-getusershell.c): Likewise.
24069 (CFLAGS-err.c): Likewise.
24070 (CFLAGS-tst-tsearch.c): Likewise.
24071 (CFLAGS-msync.c): Likewise.
24072 (CFLAGS-fdatasync.c): Likewise.
24073 (CFLAGS-fsync.c): Likewise.
24074 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
24075 (CFLAGS-unwind.c): Likewise.
24076 (CFLAGS-unwind-forcedunwind.c): Likewise.
24077 (CFLAGS-pthread_cancel.c): Likewise.
24078 (CFLAGS-pthread_setcancelstate.c): Likewise.
24079 (CFLAGS-pthread_setcanceltype.c): Likewise.
24080 (CFLAGS-cancellation.c): Likewise.
24081 (CFLAGS-libc-cancellation.c): Likewise.
24082 (CFLAGS-pthread_exit.c): Likewise.
24083 (CFLAGS-forward.c): Likewise.
24084 (CFLAGS-pthread_testcancel.c): Likewise.
24085 (CFLAGS-pthread_join.c): Likewise.
24086 (CFLAGS-pthread_timedjoin.c): Likewise.
24087 (CFLAGS-pthread_once.c): Likewise.
24088 (CFLAGS-pthread_cond_wait.c): Likewise.
24089 (CFLAGS-sem_wait.c): Likewise.
24090 (CFLAGS-sem_timedwait.c): Likewise.
24091 (CFLAGS-fcntl.c): Likewise.
24092 (CFLAGS-lockf.c): Likewise.
24093 (CFLAGS-pread.c): Likewise.
24094 (CFLAGS-pread64.c): Likewise.
24095 (CFLAGS-pwrite.c): Likewise.
24096 (CFLAGS-pwrite64.c): Likewise.
24097 (CFLAGS-wait.c): Likewise.
24098 (CFLAGS-waitpid.c): Likewise.
24099 (CFLAGS-sigwait.c): Likewise.
24100 (CFLAGS-msgrcv.c): Likewise.
24101 (CFLAGS-msgsnd.c): Likewise.
24102 (CFLAGS-tcdrain.c): Likewise.
24103 (CFLAGS-open.c): Likewise.
24104 (CFLAGS-open64.c): Likewise.
24105 (CFLAGS-pause.c): Likewise.
24106 (CFLAGS-recv.c): Likewise.
24107 (CFLAGS-send.c): Likewise.
24108 (CFLAGS-accept.c): Likewise.
24109 (CFLAGS-sendto.c): Likewise.
24110 (CFLAGS-connect.c): Likewise.
24111 (CFLAGS-recvfrom.c): Likewise.
24112 (CFLAGS-recvmsg.c): Likewise.
24113 (CFLAGS-sendmsg.c): Likewise.
24114 (CFLAGS-close.c): Likewise.
24115 (CFLAGS-read.c): Likewise.
24116 (CFLAGS-write.c): Likewise.
24117 (CFLAGS-nanosleep.c): Likewise.
24118 (CFLAGS-sigsuspend.c): Likewise.
24119 (CFLAGS-msync.c): Likewise.
24120 (CFLAGS-fdatasync.c): Likewise.
24121 (CFLAGS-fsync.c): Likewise.
24122 (CFLAGS-pt-system.c): Likewise.
24123 (CFLAGS-tst-cleanup2.c): Likewise.
24124 (CFLAGS-tst-cleanupx2.c): Likewise.
24125 (CFLAGS-flockfile.c): Likewise.
24126 (CFLAGS-ftrylockfile.c): Likewise.
24127 (CFLAGS-funlockfile.c): Likewise.
24128 (CFLAGS-tst-initializers1.c): Likewise.
24129 (CFLAGS-tst-initializers1-c89.c): Likewise.
24130 (CFLAGS-tst-initializers1-c99.c): Likewise.
24131 (CFLAGS-tst-initializers1-c11.c): Likewise.
24132 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
24133 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
24134 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
24135 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
24136 (CFLAGS-nscd_getgr_r.c): Likewise.
24137 (CFLAGS-nscd_gethst_r.c): Likewise.
24138 (CFLAGS-nscd_getai.c): Likewise.
24139 (CFLAGS-nscd_initgroups.c): Likewise.
24140 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
24141 (CFLAGS-pause.c): Likewise.
24142 (CFLAGS-pread.c): Likewise.
24143 (CFLAGS-pread64.c): Likewise.
24144 (CFLAGS-pwrite.c): Likewise.
24145 (CFLAGS-pwrite64.c): Likewise.
24146 (CFLAGS-sleep.c): Likewise.
24147 (CFLAGS-wait.c): Likewise.
24148 (CFLAGS-waitid.c): Likewise.
24149 (CFLAGS-waitpid.c): Likewise.
24150 (CFLAGS-getopt.c): Likewise.
24151 (CFLAGS-wordexp.c): Likewise.
24152 (CFLAGS-sysconf.c): Likewise.
24153 (CFLAGS-pathconf.c): Likewise.
24154 (CFLAGS-fpathconf.c): Likewise.
24155 (CFLAGS-spawn.c): Likewise.
24156 (CFLAGS-spawnp.c): Likewise.
24157 (CFLAGS-spawni.c): Likewise.
24158 (CFLAGS-glob.c): Likewise.
24159 (CFLAGS-glob64.c): Likewise.
24160 (CFLAGS-getconf.c): Likewise.
24161 (CFLAGS-nanosleep.c): Likewise.
24162 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
24163 (CFLAGS-getpwent.c): Likewise.
24164 (CFLAGS-getpw.c): Likewise.
24165 (CFLAGS-fgetpwent_r.c): Likewise.
24166 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
24167 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
24168 (CFLAGS-mq_timedreceive.c): Likewise.
24169 (CFLAGS-mq_timedsend.c): Likewise.
24170 (CFLAGS-clock_nanosleep.c): Likewise.
24171 (CFLAGS-librt-cancellation.c): Likewise.
24172 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
24173 (CFLAGS-getspent.c): Likewise.
24174 (CFLAGS-fgetspent.c): Likewise.
24175 (CFLAGS-fgetspent_r.c): Likewise.
24176 (CFLAGS-putspent.c): Likewise.
24177 (CFLAGS-getspnam.c): Likewise.
24178 (CFLAGS-getspnam_r.c): Likewise.
24179 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
24180 (CFLAGS-sigsuspend.c): Likewise.
24181 (CFLAGS-sigtimedwait.c): Likewise.
24182 (CFLAGS-sigwait.c): Likewise.
24183 (CFLAGS-sigwaitinfo.c): Likewise.
24184 (CFLAGS-sigreturn.c): Likewise.
24185 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
24186 (CFLAGS-vfwprintf.c): Likewise.
24187 (CFLAGS-tmpfile.c): Likewise.
24188 (CFLAGS-tmpfile64.c): Likewise.
24189 (CFLAGS-tempname.c): Likewise.
24190 (CFLAGS-psignal.c): Likewise.
24191 (CFLAGS-vprintf.c): Likewise.
24192 (CFLAGS-cuserid.c): Likewise.
24193 (CFLAGS-errlist.c): Likewise.
24194 (CFLAGS-siglist.c): Likewise.
24195 (CFLAGS-scanf15.c): Likewise.
24196 (CFLAGS-scanf17.c): Likewise.
24197 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
24198 (CFLAGS-msort.c): Likewise.
24199 (CFLAGS-qsort.c): Likewise.
24200 (CFLAGS-system.c): Likewise.
24201 (CFLAGS-fmtmsg.c): Likewise.
24202 (CFLAGS-strfmon.c): Likewise.
24203 (CFLAGS-strfmon_l.c): Likewise.
24204 (CFLAGS-strfromd.c): Likewise.
24205 (CFLAGS-strfromf.c): Likewise.
24206 (CFLAGS-strfroml.c): Likewise.
24207 (CFLAGS-tst-bsearch.c): Likewise.
24208 (CFLAGS-tst-qsort.c): Likewise.
24209 (CFLAGS-tst-makecontext2.c): Likewise.
24210 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
24211 (CFLAGS-xnlm_prot.c): Likewise.
24212 (CFLAGS-xrstat.c): Likewise.
24213 (CFLAGS-xyppasswd.c): Likewise.
24214 (CFLAGS-xklm_prot.c): Likewise.
24215 (CFLAGS-xrex.c): Likewise.
24216 (CFLAGS-xsm_inter.c): Likewise.
24217 (CFLAGS-xmount.c): Likewise.
24218 (CFLAGS-xrusers.c): Likewise.
24219 (CFLAGS-xspray.c): Likewise.
24220 (CFLAGS-xnfs_prot.c): Likewise.
24221 (CFLAGS-xrquota.c): Likewise.
24222 (CFLAGS-xkey_prot.c): Likewise.
24223 (CFLAGS-auth_unix.c): Likewise.
24224 (CFLAGS-key_call.c): Likewise.
24225 (CFLAGS-pmap_rmt.c): Likewise.
24226 (CFLAGS-clnt_perr.c): Likewise.
24227 (CFLAGS-openchild.c): Likewise.
24228 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
24229 (CFLAGS-msgsnd.c): Likewise.
24230 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
24231 * time/Makefile (CFLAGS-tzfile.c): Likewise.
24232 (CFLAGS-tzset.c): Likewise.
24233 (CFLAGS-getdate.c): Likewise.
24234 (CFLAGS-test_time.c): Likewise.
24235 (CPPFLAGS-tst-tzname.c): Likewise.
24236 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
24237 (CFLAGS-zic.c): Likewise.
24238 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
24239 (CFLAGS-wcswidth.c): Likewise.
24240 (CFLAGS-wcstol.c): Likewise.
24241 (CFLAGS-wcstoul.c): Likewise.
24242 (CFLAGS-wcstoll.c): Likewise.
24243 (CFLAGS-wcstoull.c): Likewise.
24244 (CFLAGS-wcstod.c): Likewise.
24245 (CFLAGS-wcstold.c): Likewise.
24246 (CFLAGS-wcstof128.c): Likewise.
24247 (CFLAGS-wcstof.c): Likewise.
24248 (CFLAGS-wcstol_l.c): Likewise.
24249 (CFLAGS-wcstoul_l.c): Likewise.
24250 (CFLAGS-wcstoll_l.c): Likewise.
24251 (CFLAGS-wcstoull_l.c): Likewise.
24252 (CFLAGS-wcstod_l.c): Likewise.
24253 (CFLAGS-wcstold_l.c): Likewise.
24254 (CFLAGS-wcstof128_l.c): Likewise.
24255 (CFLAGS-wcstof_l.c): Likewise.
24256 (CPPFLAGS-tst-wchar-h.c): Likewise.
24257 (CPPFLAGS-wcstold_l.c): Likewise.
24259 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
24261 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
24263 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24264 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24266 * manual/tunables.texi (Hardware Capability Tunables): Document
24267 glibc.tune.cached_memopt.
24268 * sysdeps/powerpc/cpu-features.c: New file.
24269 * sysdeps/powerpc/cpu-features.h: New file.
24270 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
24271 _dl_powerpc_cpu_features.
24272 * sysdeps/powerpc/dl-tunables.list: New file.
24273 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
24274 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
24275 (INIT_ARCH): Initialize use_aligned_memopt.
24276 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
24277 IS_IN(rtld))]: Restrict dl_platform_init availability and
24278 initialize CPU features used by tunables.
24279 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
24280 Add memcpy-power8-cached.
24281 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
24282 __memcpy_power8_cached.
24283 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
24284 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
24287 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
24289 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
24290 (CFLAGS-noinl-tester.c): Likewise.
24291 (CFLAGS-tst-strlen.c): Likewise.
24292 (CFLAGS-stratcliff.c): Likewise.
24293 (CFLAGS-test-ffs.c): Likewise.
24294 (CFLAGS-tst-inlcall.c): Likewise.
24295 (CFLAGS-tst-xbzero-opt.c): Likewise.
24296 (CFLAGS-memcpy.c): Likewise.
24297 (CFLAGS-wordcopy.c): Likewise.
24299 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
24301 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
24302 Store r15 on stack and add cfi rule.
24303 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
24306 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
24309 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
24312 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
24314 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24315 Add s_sinf-sse2 and s_sinf-fma.
24316 (CFLAGS-s_sinf-fma.c): New.
24317 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
24318 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
24319 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
24321 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
24323 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
24325 2017-12-07 Joseph Myers <joseph@codesourcery.com>
24328 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
24329 part of result to imaginary part of argument if it is zero and the
24330 real part of the argument is not finite.
24331 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
24332 of result to real part of argument if it is zero and the imaginary
24333 part of the argument is not finite.
24335 2017-12-07 Mike FABIAN <mfabian@redhat.com>
24338 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
24339 and to the list of locales to be built for testing.
24340 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
24341 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
24342 and build the collation rules upon that.
24344 2017-12-07 Joseph Myers <joseph@codesourcery.com>
24346 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
24347 * manual/math.texi (Mathematics): Document support for _Float32.
24348 * math/Makefile (test-types): Add float32.
24349 * math/Versions (GLIBC_2.27): Add _Float32 functions.
24350 * stdlib/Versions (GLIBC_2.27): Likewise.
24351 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24352 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24353 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24354 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24355 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24356 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
24357 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24358 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
24359 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24360 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24361 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24362 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24363 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24364 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
24365 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24366 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
24367 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24368 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
24369 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24370 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
24371 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24372 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
24374 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24375 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24376 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24377 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
24378 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
24381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
24392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24396 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24397 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24398 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24399 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24400 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
24401 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24402 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24403 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24404 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24405 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24406 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
24408 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24410 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
24412 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24414 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24415 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24416 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24417 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24418 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24419 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24420 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24421 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24423 2017-12-06 Joseph Myers <joseph@codesourcery.com>
24425 * stdlib/strtof.c: Include <bits/floatn.h>
24426 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
24427 and later undefine as macro. Define as weak alias if
24429 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
24430 and later undefine as macro. Define as weak alias if
24432 * stdlib/strtof_l.c: Include <bits/floatn.h>
24433 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
24434 and later undefine as macro. Define as weak alias if
24436 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
24437 and later undefine as macro. Define as weak alias if
24440 * stdlib/strfromf.c: Include <bits/floatn.h>.
24441 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
24442 and later undefine as macro and define as weak alias.
24444 * math/test-float32.h: New file.
24446 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
24447 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
24448 (libm_alias_float_other_r): Create f32 alias.
24449 (libm_alias_float_r): Use semicolon before call to
24450 libm_alias_float_other_r.
24452 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
24453 second argument to libm_alias_float_other.
24454 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
24455 second argument to libm_alias_float_other.
24456 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
24457 argument to libm_alias_float_other.
24460 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
24461 real part of result for argument 0 + i * NaN.
24462 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
24463 results for tests of 0 + i * NaN.
24465 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24467 * sysdeps/alpha/fpu/libm-test-ulps: Update.
24469 2017-12-06 David S. Miller <davem@davemloft.net>
24471 * sysdeps/sparc/fpu/libm-test-ulps: Update
24472 exp_{downward,towardzero,upward} ulps.
24474 2017-12-06 Joseph Myers <joseph@codesourcery.com>
24476 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
24479 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
24481 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
24483 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
24485 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
24488 2017-12-06 Mike FABIAN <mfabian@redhat.com>
24491 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
24492 and to the list of locales to be built for testing.
24493 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
24494 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
24495 and build the collation rules upon that.
24497 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24499 * NEWS: Add sinf to list of optimized functions.
24501 2017-12-06 Joseph Myers <joseph@codesourcery.com>
24503 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
24504 (__HAVE_FLOAT32X): Likewise.
24505 * manual/math.texi (Mathematics): Document support for _Float64
24507 * math/Makefile (test-types): Add float64 and float32x.
24508 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
24510 * stdlib/Versions (GLIBC_2.27): Likewise.
24511 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24512 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24513 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24514 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24515 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24516 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
24517 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24518 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
24519 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24520 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24521 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24522 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24523 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24524 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
24525 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24526 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
24527 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24528 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
24529 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24530 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
24531 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24532 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
24534 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24535 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24536 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24537 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
24538 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
24541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
24551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24555 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24556 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24557 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24558 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24559 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
24560 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24561 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24562 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24563 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24564 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24565 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
24567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
24571 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24573 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24574 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24575 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24576 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24577 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24578 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24579 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24580 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24582 2017-12-05 Joseph Myers <joseph@codesourcery.com>
24584 * bits/floatn-common.h: Include <bits/long-double.h>.
24585 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
24586 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
24587 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
24588 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
24589 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
24590 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
24591 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
24592 (__builtin_huge_valf64): Use __builtin_huge_vall.
24593 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
24594 (__builtin_inff64): Use __builtin_infl.
24595 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
24596 (__builtin_nanf64): Use __builtin_nanl.
24597 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
24598 (__builtin_nansf64): Use __builtin_nansl.
24600 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
24601 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24602 Carlos O'Donell <carlos@redhat.com>
24604 * elf/dl-tunables.list: Add elision parameters.
24605 * manual/tunables.texi: Add entries about elision tunable.
24606 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
24607 Add callback functions to dynamically enable/disable elision.
24608 Add multiple callbacks functions to set elision parameters.
24609 Deleted __libc_enable_secure check.
24610 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
24611 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
24612 * configure: Regenerated.
24613 * configure.ac: Option enable_lock_elision was deleted.
24614 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
24615 * config.make.in: Remove references to enable_lock_elision.
24616 * manual/install.texi: Elision configure option was removed.
24617 * INSTALL: Regenerated to remove enable_lock_elision.
24619 Disable elision so it can verify error case for destroying a mutex.
24620 * sysdeps/powerpc/nptl/elide.h:
24621 Cleanup ENABLE_LOCK_ELISION check.
24622 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
24623 * sysdeps/s390/configure: Regenerated.
24624 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
24625 * nptl/tst-mutex8.c:
24626 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
24627 * sysdeps/powerpc/powerpc32/sysdep.h:
24628 Deleted all ENABLE_LOCK_ELISION checks.
24629 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24630 * sysdeps/powerpc/sysdep.h: Likewise.
24631 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
24632 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
24633 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
24634 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
24635 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24636 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
24637 enable-lock-elision.
24639 2017-12-05 Joseph Myers <joseph@codesourcery.com>
24641 * stdlib/strtod.c: Include <bits/floatn.h>.
24642 (BUILD_DOUBLE): New macro.
24643 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24644 (strtof64): Define and later undefine as macro. Define as weak
24645 alias if [!USE_WIDE_CHAR].
24646 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24647 (wcstof64): Define and later undefine as macro. Define as weak
24648 alias if [USE_WIDE_CHAR].
24649 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24650 (strtof32x): Define and later undefine as macro. Define as weak
24651 alias if [!USE_WIDE_CHAR].
24652 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24653 (wcstof32x): Define and later undefine as macro. Define as weak
24654 alias if [USE_WIDE_CHAR].
24655 * stdlib/strtod_l.c: Include <bits/floatn.h>.
24656 (BUILD_DOUBLE): New macro.
24657 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24658 (strtof64_l): Define and later undefine as macro. Define as weak
24659 alias if [!USE_WIDE_CHAR].
24660 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24661 (wcstof64_l): Define and later undefine as macro. Define as weak
24662 alias if [USE_WIDE_CHAR].
24663 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24664 (strtof32x_l): Define and later undefine as macro. Define as weak
24665 alias if [!USE_WIDE_CHAR].
24666 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24667 (wcstof32x_l): Define and later undefine as macro. Define as weak
24668 alias if [USE_WIDE_CHAR].
24670 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24672 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
24673 (reduced): Use ones as double instead of integer.
24675 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
24677 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
24679 2017-12-05 Joseph Myers <joseph@codesourcery.com>
24681 * stdlib/strfromd.c: Include <bits/floatn.h>.
24682 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
24683 and later undefine as macro and define as weak alias.
24684 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
24687 * math/test-float32x.h: New file.
24688 * math/test-float64.h: Likewise.
24690 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
24691 (libm_alias_double_other_r_f64): New macro.
24692 (libm_alias_double_other_r_f32x): Likewise.
24693 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
24694 libm_alias_double_other_r_f32x.
24695 (libm_alias_double_r): Use semicolon before call to
24696 libm_alias_double_other_r.
24697 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
24699 (libm_alias_double_other_r_f64): New macro.
24700 (libm_alias_double_other_r_f32x): Likewise.
24701 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
24702 libm_alias_double_other_r_f32x.
24704 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
24706 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
24708 (SINF_FUNC): Likewise. Replace floor with simple casts.
24710 2017-12-05 Mike FABIAN <mfabian@redhat.com>
24713 * localedata/Makefile: Add et_EE.UTF-8 to test-input
24714 and to the list of locales to be built for testing.
24715 * localedata/et_EE.UTF-8.in: New file for testing the collation.
24716 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
24717 and build the collation rules upon that.
24719 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
24721 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
24722 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
24723 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
24724 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
24725 instead of __insn__xxx.
24726 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
24727 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
24728 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
24729 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
24730 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
24731 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
24733 2017-12-05 Florian Weimer <fweimer@redhat.com>
24735 Linux: Implement interfaces for memory protection keys
24736 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
24738 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
24739 * support/xunistd.h (xsysconf): Declare.
24740 * support/xraise.c: New file.
24741 * support/xsigaction.c: Likewise.
24742 * support/xsignal.c: Likewise.
24743 * support/xsysconf.c: Likewise.
24744 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
24745 pkey_set, pkey_get, pkey_mprotect.
24746 [misc] (tests): Add tst-pkey.
24747 (tst-pkey): Link with -lpthread.
24748 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
24749 pkey_free, pkey_set, pkey_get, pkey_mprotect.
24750 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
24751 (PKEY_DISABLE_WRITE): Define.
24752 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
24754 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
24755 (SEGV_PKUERR): Add.
24756 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
24757 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
24758 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
24759 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
24761 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
24762 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
24763 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
24764 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
24765 * sysdeps/unix/sysv/linux/**.abilist: Update.
24767 2017-12-05 Florian Weimer <fweimer@redhat.com>
24769 * support/tst-test_compare.c (subprocess): Use long long instead
24770 of long argument for consistent type width across 32-bit and
24771 64-bit architectures.
24772 (do_test): Adjust expected output.
24774 2017-12-05 Joseph Myers <joseph@codesourcery.com>
24776 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
24777 (cosf): Define using libm_alias_float.
24778 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
24779 (fabsf): Define using libm_alias_float.
24780 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
24781 (fmaf): Define using libm_alias_float.
24782 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
24783 (rintf): Define using libm_alias_float.
24784 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
24785 (sinf): Define using libm_alias_float.
24786 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
24787 <libm-alias-float.h>.
24788 (modff): Define using libm_alias_float.
24789 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
24790 <libm-alias-float.h>.
24791 (logbf): Define using libm_alias_float.
24792 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
24793 <libm-alias-float.h>.
24794 (ceilf): Define using libm_alias_float.
24795 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
24796 <libm-alias-float.h>.
24797 (copysignf): Define using libm_alias_float.
24798 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
24799 <libm-alias-float.h>.
24800 (floorf): Define using libm_alias_float.
24801 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
24802 <libm-alias-float.h>.
24803 (llrintf): Define using libm_alias_float.
24804 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
24805 <libm-alias-float.h>.
24806 (llroundf): Define using libm_alias_float.
24807 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
24808 <libm-alias-float.h>.
24809 (lrintf): Define using libm_alias_float.
24810 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
24811 <libm-alias-float.h>.
24812 (lroundf): Define using libm_alias_float.
24813 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
24814 <libm-alias-float.h>.
24815 (nearbyintf): Define using libm_alias_float.
24816 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
24817 <libm-alias-float.h>.
24818 (rintf): Define using libm_alias_float.
24819 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
24820 <libm-alias-float.h>.
24821 (roundf): Define using libm_alias_float.
24822 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
24823 <libm-alias-float.h>.
24824 (truncf): Define using libm_alias_float.
24825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
24826 Include <libm-alias-float.h>.
24827 (ceilf): Define using libm_alias_float.
24828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
24829 Include <libm-alias-float.h>.
24830 (copysignf): Define using libm_alias_float.
24831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
24832 Include <libm-alias-float.h>.
24833 (floorf): Define using libm_alias_float.
24834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
24835 Include <libm-alias-float.h>.
24836 (llrintf): Define using libm_alias_float.
24837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
24838 Include <libm-alias-float.h>.
24839 (llroundf): Define using libm_alias_float.
24840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
24841 Include <libm-alias-float.h>.
24842 (logbf): Define using libm_alias_float.
24843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
24844 Include <libm-alias-float.h>.
24845 (lrintf): Define using libm_alias_float.
24846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
24847 Include <libm-alias-float.h>.
24848 (lroundf): Define using libm_alias_float.
24849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
24850 Include <libm-alias-float.h>.
24851 (modff): Define using libm_alias_float.
24852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
24853 Include <libm-alias-float.h>.
24854 (roundf): Define using libm_alias_float.
24855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
24856 Include <libm-alias-float.h>.
24857 (truncf): Define using libm_alias_float.
24858 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
24859 <libm-alias-float.h>.
24860 (llrintf): Define using libm_alias_float.
24861 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
24862 <libm-alias-float.h>.
24863 (llroundf): Define using libm_alias_float.
24864 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
24865 <libm-alias-float.h>.
24866 (ceilf): Define using libm_alias_float.
24867 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
24868 <libm-alias-float.h>.
24869 (floorf): Define using libm_alias_float.
24870 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
24871 <libm-alias-float.h>.
24872 (llroundf): Define using libm_alias_float.
24873 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
24874 <libm-alias-float.h>.
24875 (lroundf): Define using libm_alias_float.
24876 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
24877 <libm-alias-float.h>.
24878 (roundf): Define using libm_alias_float.
24879 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
24880 <libm-alias-float.h>.
24881 (truncf): Define using libm_alias_float.
24882 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
24883 <libm-alias-float.h>.
24884 (copysignf): Define using libm_alias_float.
24885 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
24886 <libm-alias-float.h>.
24887 (llrintf): Define using libm_alias_float.
24888 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
24889 <libm-alias-float.h>.
24890 (llroundf): Define using libm_alias_float.
24891 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
24892 <libm-alias-float.h>.
24893 (lrintf): Define using libm_alias_float.
24894 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
24895 <libm-alias-float.h>.
24896 (lroundf): Define using libm_alias_float.
24897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
24898 <libm-alias-float.h>.
24899 (ceilf): Define using libm_alias_float.
24900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
24901 <libm-alias-float.h>.
24902 (copysignf): Define using libm_alias_float.
24903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
24904 <libm-alias-float.h>.
24905 (cosf): Define using libm_alias_float.
24906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
24907 <libm-alias-float.h>.
24908 (floorf): Define using libm_alias_float.
24909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
24910 <libm-alias-float.h>.
24911 (llrintf): Define using libm_alias_float.
24912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
24913 <libm-alias-float.h>.
24914 (llroundf): Define using libm_alias_float.
24915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
24916 <libm-alias-float.h>.
24917 (logbf): Define using libm_alias_float.
24918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
24919 <libm-alias-float.h>.
24920 (modff): Define using libm_alias_float.
24921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
24922 <libm-alias-float.h>.
24923 (roundf): Define using libm_alias_float.
24924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
24925 <libm-alias-float.h>.
24926 (sinf): Define using libm_alias_float.
24927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
24928 <libm-alias-float.h>.
24929 (truncf): Define using libm_alias_float.
24930 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
24931 <libm-alias-float.h>.
24932 (ceilf): Define using libm_alias_float.
24933 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
24934 <libm-alias-float.h>.
24935 (copysignf): Define using libm_alias_float.
24936 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
24937 <libm-alias-float.h>.
24938 (floorf): Define using libm_alias_float.
24939 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
24940 <libm-alias-float.h>.
24941 (llrintf): Define using libm_alias_float.
24942 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
24943 <libm-alias-float.h>.
24944 (llroundf): Define using libm_alias_float.
24945 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
24946 <libm-alias-float.h>.
24947 (nearbyintf): Define using libm_alias_float.
24948 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
24949 <libm-alias-float.h>.
24950 (rintf): Define using libm_alias_float.
24951 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
24952 <libm-alias-float.h>.
24953 (roundf): Define using libm_alias_float.
24954 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
24955 <libm-alias-float.h>.
24956 (truncf): Define using libm_alias_float.
24957 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
24958 <libm-alias-float.h>.
24959 (ceilf): Define using libm_alias_float.
24960 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
24961 <libm-alias-float.h>.
24962 (floorf): Define using libm_alias_float.
24963 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
24964 <libm-alias-float.h>.
24965 (llroundf): Define using libm_alias_float.
24966 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
24967 <libm-alias-float.h>.
24968 (roundf): Define using libm_alias_float.
24969 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
24970 <libm-alias-float.h>.
24971 (truncf): Define using libm_alias_float.
24972 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
24973 <libm-alias-float.h>.
24974 (copysignf): Define using libm_alias_float.
24975 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
24976 <libm-alias-float.h>.
24977 (llrintf): Define using libm_alias_float.
24978 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
24979 <libm-alias-float.h>.
24980 (llroundf): Define using libm_alias_float.
24981 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
24982 <libm-alias-float.h>.
24983 (cosf): Define using libm_alias_float.
24984 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
24985 <libm-alias-float.h>.
24986 (llrintf): Define using libm_alias_float.
24987 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
24988 <libm-alias-float.h>.
24989 (llroundf): Define using libm_alias_float.
24990 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
24991 <libm-alias-float.h>.
24992 (sinf): Define using libm_alias_float.
24994 2017-12-04 Florian Weimer <fweimer@redhat.com>
24996 * support/check.h (TEST_COMPARE): Define.
24997 (support_test_compare_failure): Declare.
24998 * support/Makefile (libsupport-routines): Add
24999 support_test_compare_failure.
25000 (tests): Add tst-test_compare.
25001 * support /support_test_compare_failure.c: New file.
25002 * support/tst-test_compare.c: Likewise.
25004 2017-12-04 Mike FABIAN <mfabian@redhat.com>
25007 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
25008 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
25009 available, this rewrite of the collation rules does reproduce
25010 the test file in the same order.
25012 2017-12-04 Mike FABIAN <mfabian@redhat.com>
25015 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
25016 digraphs in the month and day names. Using single code points for
25017 digraphs is deprecated. While there are dedicated Unicode
25018 codepoints, for the digraphs, these are included for backwards
25019 compatibility and modern texts use a sequence of Basic Latin
25020 characters. See: https://www.unicode.org/faq/ligature_digraph.html
25021 This makes the month and day names agree exactly with CLDR now,
25022 CLDR does not use the single code points for the digraphs either.
25024 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
25026 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
25028 2017-12-04 Joseph Myers <joseph@codesourcery.com>
25030 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
25033 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
25035 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
25036 Define only for libc.so.
25038 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
25040 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25041 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
25042 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
25043 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
25044 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25046 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25049 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
25051 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
25054 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
25055 PREINIT_FUNCTION_WEAK is nonzero.
25056 (gmon_initializer): New function. Put procedure label for it in
25057 .init_array section.
25058 (_init): Don't call PREINIT_FUNCTION.
25059 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
25060 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
25061 value when map argument is null.
25063 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
25064 depi instruction from PIC pc-relative sequence.
25065 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
25066 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
25067 (elf_machine_load_address): Likewise.
25068 (elf_machine_runtime_setup): Likewise.
25070 2017-12-02 Joseph Myers <joseph@codesourcery.com>
25072 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
25073 <libm-alias-double.h>.
25074 (logb): Define using libm_alias_double.
25075 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
25076 <libm-alias-double.h>.
25077 (copysign): Define using libm_alias_double.
25078 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
25079 <libm-alias-double.h>.
25080 (llrint): Define using libm_alias_double.
25081 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
25082 <libm-alias-double.h>.
25083 (llround): Define using libm_alias_double.
25084 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
25085 <libm-alias-double.h>.
25086 (lrint): Define using libm_alias_double.
25087 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
25088 <libm-alias-double.h>.
25089 (lround): Define using libm_alias_double.
25090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
25091 Include <libm-alias-double.h>.
25092 (copysign): Define using libm_alias_double.
25093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
25094 Include <libm-alias-double.h>.
25095 (llrint): Define using libm_alias_double.
25096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
25097 Include <libm-alias-double.h>.
25098 (llround): Define using libm_alias_double.
25099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
25100 <libm-alias-double.h>.
25101 (logb): Define using libm_alias_double.
25102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
25103 Include <libm-alias-double.h>.
25104 (lrint): Define using libm_alias_double.
25105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
25106 Include <libm-alias-double.h>.
25107 (lround): Define using libm_alias_double.
25108 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
25109 <libm-alias-double.h>.
25110 (llrint): Define using libm_alias_double.
25111 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
25112 <libm-alias-double.h>.
25113 (llround): Define using libm_alias_double.
25114 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
25115 <libm-alias-double.h>.
25116 (llround): Define using libm_alias_double.
25117 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
25118 <libm-alias-double.h>.
25119 (lround): Define using libm_alias_double.
25120 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25121 <libm-alias-double.h>.
25122 (copysign): Define using libm_alias_double.
25123 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
25124 <libm-alias-double.h>.
25125 (llrint): Define using libm_alias_double.
25126 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25127 <libm-alias-double.h>.
25128 (llround): Define using libm_alias_double.
25129 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25130 <libm-alias-double.h>.
25131 (lrint): Define using libm_alias_double.
25132 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25133 <libm-alias-double.h>.
25134 (lround): Define using libm_alias_double.
25135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
25136 <libm-alias-double.h>.
25137 (copysign): Define using libm_alias_double.
25138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
25139 <libm-alias-double.h>.
25140 (llrint): Define using libm_alias_double.
25142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
25143 <libm-alias-double.h>.
25144 (llround): Define using libm_alias_double.
25145 (lround): Likewise.
25146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
25147 <libm-alias-double.h>.
25148 (logb): Define using libm_alias_double.
25149 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25150 <libm-alias-double.h>.
25151 (copysign): Define using libm_alias_double.
25152 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25153 <libm-alias-double.h>.
25154 (llrint): Define using libm_alias_double.
25156 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
25157 <libm-alias-double.h>.
25158 (llround): Define using libm_alias_double.
25159 (lround): Likewise.
25160 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25161 <libm-alias-double.h>.
25162 (llround): Define using libm_alias_double.
25163 (lround): Likewise.
25164 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25165 <libm-alias-double.h>.
25166 (copysign): Define using libm_alias_double.
25167 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25168 <libm-alias-double.h>.
25169 (llrint): Define using libm_alias_double.
25171 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25172 <libm-alias-double.h>.
25173 (llround): Define using libm_alias_double.
25174 (lround): Likewise.
25175 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25176 <libm-alias-double.h>.
25177 (llrint): Define using libm_alias_double.
25179 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25180 <libm-alias-double.h>.
25181 (llround): Define using libm_alias_double.
25182 (lround): Likewise.
25184 2017-12-01 Joseph Myers <joseph@codesourcery.com>
25186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
25187 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
25188 compat symbol based on llround.
25190 * sysdeps/powerpc/power7/fpu/s_logb.c
25191 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
25192 symbol based on __logb, not on logb.
25193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
25194 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
25196 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25198 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
25199 (rint): Define using libm_alias_double.
25200 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
25201 <libm-alias-double.h>.
25202 (modf): Define using libm_alias_double.
25203 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
25204 <libm-alias-double.h>.
25205 (ceil): Define using libm_alias_double.
25206 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
25207 <libm-alias-double.h>.
25208 (floor): Define using libm_alias_double.
25209 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
25210 <libm-alias-double.h>.
25211 (nearbyint): Define using libm_alias_double.
25212 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
25213 <libm-alias-double.h>.
25214 (rint): Define using libm_alias_double.
25215 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
25216 <libm-alias-double.h>.
25217 (round): Define using libm_alias_double.
25218 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
25219 <libm-alias-double.h>.
25220 (trunc): Define using libm_alias_double.
25221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
25222 <libm-alias-double.h>.
25223 (ceil): Define using libm_alias_double.
25224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
25225 Include <libm-alias-double.h>.
25226 (floor): Define using libm_alias_double.
25227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
25228 <libm-alias-double.h>.
25229 (modf): Define using libm_alias_double.
25230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
25231 Include <libm-alias-double.h>.
25232 (round): Define using libm_alias_double.
25233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
25234 Include <libm-alias-double.h>.
25235 (trunc): Define using libm_alias_double.
25236 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
25237 <libm-alias-double.h>.
25238 (ceil): Define using libm_alias_double.
25239 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
25240 <libm-alias-double.h>.
25241 (floor): Define using libm_alias_double.
25242 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
25243 <libm-alias-double.h>.
25244 (round): Define using libm_alias_double.
25245 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
25246 <libm-alias-double.h>.
25247 (trunc): Define using libm_alias_double.
25248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
25249 <libm-alias-double.h>.
25250 (ceil): Define using libm_alias_double.
25251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
25252 <libm-alias-double.h>.
25253 (floor): Define using libm_alias_double.
25254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
25255 <libm-alias-double.h>.
25256 (modf): Define using libm_alias_double.
25257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
25258 <libm-alias-double.h>.
25259 (round): Define using libm_alias_double.
25260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
25261 <libm-alias-double.h>.
25262 (trunc): Define using libm_alias_double.
25263 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
25264 <libm-alias-double.h>.
25265 (ceil): Define using libm_alias_double.
25266 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
25267 <libm-alias-double.h>.
25268 (floor): Define using libm_alias_double.
25269 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
25270 <libm-alias-double.h>.
25271 (nearbyint): Define using libm_alias_double.
25272 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
25273 <libm-alias-double.h>.
25274 (rint): Define using libm_alias_double.
25275 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
25276 <libm-alias-double.h>.
25277 (round): Define using libm_alias_double.
25278 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
25279 <libm-alias-double.h>.
25280 (trunc): Define using libm_alias_double.
25281 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
25282 <libm-alias-double.h>.
25283 (ceil): Define using libm_alias_double.
25284 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
25285 <libm-alias-double.h>.
25286 (floor): Define using libm_alias_double.
25287 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
25288 <libm-alias-double.h>.
25289 (round): Define using libm_alias_double.
25290 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
25291 <libm-alias-double.h>.
25292 (trunc): Define using libm_alias_double.
25294 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
25295 (fabs): Define using libm_alias_double.
25296 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
25297 (fma): Define using libm_alias_double.
25298 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
25299 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
25300 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
25301 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
25303 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25305 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
25307 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
25308 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
25309 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
25311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
25312 due redirect macro.
25314 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
25316 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
25318 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25320 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
25321 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
25322 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
25323 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
25325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25326 (libm-sysdep_routines): Add s_nearbyintf-generic and
25327 s_nearbyint-generic.
25328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
25330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
25331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
25333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
25335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
25337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
25340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25341 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
25342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
25344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
25345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
25347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
25348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
25349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25352 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
25353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
25355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
25356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
25358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
25359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
25360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
25362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25363 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
25364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
25366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
25367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
25369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
25370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
25371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25374 (sysdep_calls): New rule.
25375 (sysdep_routines): Use sysdep_calls as base.
25376 (libm-sysdep_routines): Add generic rule for symbols shared with
25377 libc. Add s_copysign-generic and s_copysign-generic objects.
25378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
25380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
25381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
25383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
25384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
25385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
25387 2017-12-01 Mike FABIAN <mfabian@redhat.com>
25390 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
25391 the list of locales to be built for testing.
25392 * localedata/is_IS.UTF-8.in: New file.
25393 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
25396 2017-12-01 Joseph Myers <joseph@codesourcery.com>
25398 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
25399 <libm-alias-float.h>.
25400 (fabsf): Define using libm_alias_float.
25402 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
25404 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
25406 2017-11-30 Joseph Myers <joseph@codesourcery.com>
25408 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
25409 <libm-alias-float.h>.
25410 (fabsf): Define using libm_alias_float.
25411 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
25412 <libm-alias-float.h>.
25413 (lrintf): Define using libm_alias_float.
25414 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
25415 <libm-alias-float.h>.
25416 (rintf): Define using libm_alias_float.
25418 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
25419 <libm-alias-double.h>.
25420 (fabs): Define using libm_alias_double.
25421 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
25422 <libm-alias-double.h>.
25423 (lrint): Define using libm_alias_double.
25424 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
25425 <libm-alias-double.h>.
25426 (rint): Define using libm_alias_double.
25428 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
25429 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
25430 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
25431 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
25432 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
25433 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
25434 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
25435 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
25436 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
25437 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
25438 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
25439 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
25440 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
25441 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
25442 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
25443 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
25444 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
25445 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
25447 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
25448 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
25449 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
25451 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
25452 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
25453 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
25455 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
25456 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
25457 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
25458 s_expm1_template.c.
25459 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
25460 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
25461 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
25463 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
25464 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
25465 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
25466 s_floor_template.c.
25467 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
25468 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
25469 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
25470 s_frexp_template.c.
25471 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
25472 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
25473 s_lrint_template.c.
25474 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
25475 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
25476 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
25478 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
25479 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
25480 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
25481 s_nearbyint_template.c.
25482 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
25483 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
25484 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
25485 s_remquo_template.c.
25486 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
25487 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
25488 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
25490 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
25491 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
25492 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
25494 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
25495 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
25496 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
25497 s_sincos_template.c.
25498 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
25499 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
25500 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
25502 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
25503 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
25504 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
25506 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
25507 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
25508 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
25509 s_trunc_template.c.
25510 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
25511 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
25512 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
25513 s_atan.c instead of including s_atan.c.
25514 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
25515 s_atanf.c instead of including s_atanf.c.
25516 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
25517 s_atanl.c instead of including s_atanl.c.
25518 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
25519 instead of s_atan.c.
25520 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
25521 instead of s_atanf.c.
25522 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
25523 instead of s_atanl.c.
25525 * scripts/update-copyrights: Do not handle intl/plural.c
25528 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
25531 * configure.ac (BISON): Require to be present.
25532 * configure: Regenerated.
25533 * intl/Makefile (generated): Add plural.c.
25534 [$(BISON) != no]: Make code unconditional.
25535 (plural.c): Change rule to $(objpfx)plural.c.
25536 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
25537 * intl/plural.c: Remove.
25538 * manual/install.texi (Tools for Compilation): Document bison as
25540 * INSTALL: Regenerated.
25542 2017-11-30 Joseph Myers <joseph@codesourcery.com>
25544 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
25545 <libm-alias-double.h>.
25546 (llrint): Define using libm_alias_double.
25547 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
25548 <libm-alias-float.h>.
25549 (llrintf): Define using libm_alias_float.
25550 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
25551 <libm-alias-ldouble.h>.
25552 (llrintl): Define using libm_alias_ldouble.
25554 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
25555 declare_mgen_alias instead of weak_alias.
25556 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
25557 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
25558 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
25560 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25562 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25564 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
25565 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
25566 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
25568 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25569 Add submul_1-generic.
25570 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
25571 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
25572 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
25574 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25575 Add addmul_1-generic.
25576 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
25577 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
25578 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
25580 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25582 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
25583 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
25584 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
25586 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25588 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
25589 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
25590 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
25592 2017-11-30 Mike FABIAN <mfabian@redhat.com>
25594 According to CLDR, collation rules for Serbian and Bosnian
25595 should be the same as for Croatian.
25598 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
25599 and to the list of locales to be built for testing.
25600 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
25601 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
25602 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
25603 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
25605 2017-11-30 Mike FABIAN <mfabian@redhat.com>
25607 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
25608 to make test case pass.
25609 * localedata/hr_HR.UTF-8.in: Add more test strings.
25611 2017-11-30 Mike FABIAN <mfabian@redhat.com>
25613 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
25615 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
25617 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
25618 the list of locales to built for testing.
25619 * localedata/hr_HR.UTF-8.in: New file.
25621 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
25624 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
25626 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
25627 CLDR (except use ligatures for the digraphs, CLDR does not use
25628 the ligatures), add first_workday, some fixes in the date and time
25630 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
25632 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
25633 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
25634 Add int_p_cs_precedes and int_n_cs_precedes.
25635 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
25636 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
25638 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
25639 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
25641 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
25642 and lang_lib. Change postal_fmt.
25644 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
25646 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
25648 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
25649 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
25650 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
25651 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
25652 * sysdeps/generic/setjmpP.h: New file.
25653 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
25654 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
25655 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
25656 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
25657 Add jmp_buf-ssp.sym.
25658 (tests): Add tst-saved_mask-1.
25660 2017-11-30 Arjun Shankar <arjun@redhat.com>
25664 * malloc/malloc.c (__libc_malloc): Use checked_request2size
25665 instead of request2size.
25667 2017-11-30 Joseph Myers <joseph@codesourcery.com>
25669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
25670 (__lllrint): Remove alias.
25671 (lllrint): Likewise.
25672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
25673 (__lllrintf): Likewise.
25674 (lllrintf): Likewise.
25676 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
25677 <libm-alias-float.h>.
25678 (copysignf): Define using libm_alias_float.
25679 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
25680 <libm-alias-float.h>.
25681 (fabsf): Define using libm_alias_float.
25682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25683 Include <libm-alias-float.h>.
25684 (copysignf): Define using libm_alias_float.
25685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
25686 <libm-alias-float.h>.
25687 (fabsf): Define using libm_alias_float.
25688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
25689 <libm-alias-float.h>.
25690 (fdimf): Define using libm_alias_float.
25691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
25692 <libm-alias-float.h>.
25693 (fmaf): Define using libm_alias_float.
25694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
25695 <libm-alias-float.h>.
25696 (llrintf): Define using libm_alias_float.
25697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
25698 Include <libm-alias-float.h>.
25699 (nearbyintf): Define using libm_alias_float.
25700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
25701 <libm-alias-float.h>.
25702 (rintf): Define using libm_alias_float.
25703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
25704 <libm-alias-float.h>.
25705 (llrintf): Define using libm_alias_float.
25706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
25707 <libm-alias-float.h>.
25708 (lrintf): Define using libm_alias_float.
25709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
25710 <libm-alias-float.h>.
25711 (nearbyintf): Define using libm_alias_float.
25712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
25713 <libm-alias-float.h>.
25714 (rintf): Define using libm_alias_float.
25715 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
25716 <libm-alias-float.h>.
25717 (ceilf): Define using libm_alias_float.
25718 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
25719 <libm-alias-float.h>.
25720 (floorf): Define using libm_alias_float.
25721 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
25722 <libm-alias-float.h>.
25723 (fmaf): Define using libm_alias_float.
25724 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
25725 <libm-alias-float.h>.
25726 (lrintf): Define using libm_alias_float.
25727 (llrintf): Likewise.
25728 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
25729 <libm-alias-float.h>.
25730 (nearbyintf): Define using libm_alias_float.
25731 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
25732 <libm-alias-float.h>.
25733 (rintf): Define using libm_alias_float.
25734 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
25735 <libm-alias-float.h>.
25736 (truncf): Define using libm_alias_float.
25737 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
25738 <libm-alias-float.h>.
25739 (copysignf): Define using libm_alias_float.
25740 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
25741 <libm-alias-float.h>.
25742 (fabsf): Define using libm_alias_float.
25743 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
25744 <libm-alias-float.h>.
25745 (lrintf): Define using libm_alias_float.
25746 (llrintf): Likewise.
25747 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
25748 <libm-alias-float.h>.
25749 (nearbyintf): Define using libm_alias_float.
25750 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
25751 <libm-alias-float.h>.
25752 (rintf): Define using libm_alias_float.
25754 2017-11-29 Joseph Myers <joseph@codesourcery.com>
25756 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
25757 <libm-alias-double.h>.
25758 (copysign): Define using libm_alias_double.
25759 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
25760 <libm-alias-double.h>.
25761 (fabs): Define using libm_alias_double.
25762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25763 Include <libm-alias-double.h>.
25764 (copysign): Define using libm_alias_double.
25765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
25766 <libm-alias-double.h>.
25767 (fabs): Define using libm_alias_double.
25768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
25769 <libm-alias-double.h>.
25770 (fdim): Define using libm_alias_double.
25771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
25772 <libm-alias-double.h>.
25773 (fma): Define using libm_alias_double.
25774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
25775 <libm-alias-double.h>.
25776 (llrint): Define using libm_alias_double.
25777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
25778 Include <libm-alias-double.h>.
25779 (nearbyint): Define using libm_alias_double.
25780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
25781 <libm-alias-double.h>.
25782 (rint): Define using libm_alias_double.
25783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
25784 <libm-alias-double.h>.
25785 (fabs): Define using libm_alias_double.
25786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
25787 <libm-alias-double.h>.
25788 (llrint): Define using libm_alias_double.
25789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
25790 <libm-alias-double.h>.
25791 (nearbyint): Define using libm_alias_double.
25792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
25793 <libm-alias-double.h>.
25794 (rint): Define using libm_alias_double.
25795 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
25796 <libm-alias-double.h>.
25797 (ceil): Define using libm_alias_double.
25798 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
25799 <libm-alias-double.h>.
25800 (floor): Define using libm_alias_double.
25801 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
25802 <libm-alias-double.h>.
25803 (fma): Define using libm_alias_double.
25804 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
25805 <libm-alias-double.h>.
25806 (lrint): Define using libm_alias_double.
25807 (llrint): Likewise.
25808 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
25809 <libm-alias-double.h>.
25810 (nearbyint): Define using libm_alias_double.
25811 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
25812 <libm-alias-double.h>.
25813 (rint): Define using libm_alias_double.
25814 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
25815 <libm-alias-double.h>.
25816 (trunc): Define using libm_alias_double.
25817 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
25818 <libm-alias-double.h>.
25819 (copysign): Define using libm_alias_double.
25820 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
25821 <libm-alias-double.h>.
25822 (fabs): Define using libm_alias_double.
25823 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
25824 <libm-alias-double.h>.
25825 (lrint): Define using libm_alias_double.
25826 (llrint): Likewise.
25827 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
25828 <libm-alias-double.h>.
25829 (nearbyint): Define using libm_alias_double.
25830 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
25831 <libm-alias-double.h>.
25832 (rint): Define using libm_alias_double.
25835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
25837 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25839 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
25840 SPARC --disable-multi-arch glibc variants.
25842 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
25843 <libm-alias-float.h>.
25844 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25846 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
25847 <libm-alias-float.h>.
25848 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25850 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
25851 <libm-alias-float.h>.
25852 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25854 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
25855 <libm-alias-float.h>.
25856 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25858 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
25859 <libm-alias-float.h>.
25860 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25862 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
25863 <libm-alias-float.h>.
25864 (ceilf): Define using libm_alias_float.
25865 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
25866 <libm-alias-float.h>.
25867 (floorf): Define using libm_alias_float.
25868 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
25869 <libm-alias-float.h>.
25870 (fmaf): Define using libm_alias_float.
25871 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
25872 <libm-alias-float.h>.
25873 (nearbyintf): Define using libm_alias_float.
25874 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
25875 <libm-alias-float.h>.
25876 (rintf): Define using libm_alias_float.
25877 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
25878 <libm-alias-float.h>.
25879 (truncf): Define using libm_alias_float.
25880 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
25881 (copysignf): Define using libm_alias_float.
25882 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
25883 (cosf): Define using libm_alias_float.
25884 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
25885 (fabsf): Define using libm_alias_float.
25886 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
25887 (fmaxf): Define using libm_alias_float.
25888 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
25889 (fminf): Define using libm_alias_float.
25890 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
25891 (llrintf): Define using libm_alias_float.
25892 [!__ILP32__] (lrintf): Likewise.
25893 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
25894 (sincosf): Define using libm_alias_float.
25895 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
25896 (sinf): Define using libm_alias_float.
25897 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
25898 (lrintf): Define using libm_alias_float.
25900 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
25901 <libm-alias-double.h>.
25902 (atan): Define using libm_alias_double.
25903 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
25904 <libm-alias-double.h>.
25905 (ceil): Define using libm_alias_double.
25906 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
25907 <libm-alias-double.h>.
25908 (floor): Define using libm_alias_double.
25909 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
25910 <libm-alias-double.h>.
25911 (fma): Define using libm_alias_double.
25912 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
25913 <libm-alias-double.h>.
25914 (nearbyint): Define using libm_alias_double.
25915 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
25916 <libm-alias-double.h>.
25917 (rint): Define using libm_alias_double.
25918 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
25919 <libm-alias-double.h>.
25920 (sin): Define using libm_alias_double.
25922 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
25923 <libm-alias-double.h>.
25924 (tan): Define using libm_alias_double.
25925 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
25926 <libm-alias-double.h>.
25927 (trunc): Define using libm_alias_double.
25928 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
25929 (copysign): Define using libm_alias_double.
25930 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
25931 (fabs): Define using libm_alias_double.
25932 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
25933 (fmax): Define using libm_alias_double.
25934 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
25935 (fmin): Define using libm_alias_double.
25936 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
25937 (llrint): Define using libm_alias_double.
25938 [!__ILP32__] (lrint): Likewise.
25939 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
25940 (lrint): Define using libm_alias_double.
25942 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25944 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
25945 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
25947 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
25948 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
25949 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
25950 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
25951 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
25952 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25954 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
25955 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
25957 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
25958 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
25959 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
25960 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
25961 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
25962 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25964 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
25965 (libm-sysdep_routines): Add s_nearbyint-generic and
25966 s_nearbyintf-generic objects.
25967 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
25968 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
25969 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
25970 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
25971 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
25972 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
25974 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
25975 Add s_finitef-generic and s_finite-generic objects.
25976 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
25977 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
25978 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
25979 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
25980 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
25981 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
25983 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
25984 Add s_isinff-generic and s_isinf-generic objects.
25985 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
25986 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
25987 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
25988 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
25989 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
25990 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25992 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
25993 Add s_isnanf-generic and s_isnan-generic objects.
25994 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
25995 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
25996 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
25997 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
25998 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
25999 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26001 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
26003 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
26005 (sysdep_routines): Use sysdep_calls as base.
26006 (libm-sysdep_routines): Add generic rule for symbols shared with
26007 libc. Add s_signbit-generic and s_signbitf-generic objects.
26008 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
26009 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
26010 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
26011 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
26012 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
26013 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26015 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26017 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
26018 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
26019 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
26020 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
26021 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
26022 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
26023 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
26024 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
26025 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
26026 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
26027 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
26028 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
26029 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
26030 libm_alias_float_r.
26031 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
26032 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
26034 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
26035 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
26036 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
26037 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
26038 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
26039 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
26040 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
26041 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
26042 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
26043 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
26045 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
26047 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
26048 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
26049 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
26050 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
26051 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
26052 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
26053 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
26054 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
26055 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
26056 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
26057 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
26058 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
26059 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
26060 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
26061 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
26062 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
26063 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
26064 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
26065 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
26067 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
26068 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
26069 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
26070 * sysdeps/ia64/fpu/w_lgammaf_main.c
26071 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
26072 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
26074 2017-11-28 Mike FABIAN <mfabian@redhat.com>
26075 Alexandre Oliva <aoliva@redhat.com>
26078 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
26079 * localedata/fr_CA.UTF-8.in: New file with test data for backward
26081 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
26083 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
26084 * localedata/locales/de_DE (LC_COLLATE): Likewise.
26085 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
26086 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
26087 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
26088 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
26089 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
26090 instead of “ifdef DIACRIT_BACKWARD”.
26092 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26094 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
26095 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
26096 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
26097 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
26098 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
26099 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
26100 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
26101 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
26102 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
26103 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
26104 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
26105 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
26106 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
26107 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
26108 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
26109 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
26110 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
26111 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
26112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26113 ($(have-as-vis3) == yes): Remove conditional.
26114 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
26116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
26118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
26120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
26122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
26124 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
26125 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
26126 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
26127 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
26128 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
26129 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
26130 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
26131 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
26133 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26135 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
26136 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
26137 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
26138 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
26139 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
26140 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
26141 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
26142 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
26143 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
26144 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
26145 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
26146 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
26147 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
26148 libm_alias_double_r.
26149 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
26151 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
26152 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
26153 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
26154 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
26155 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
26156 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
26157 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
26158 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
26159 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
26160 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
26161 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
26163 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
26165 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
26166 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
26167 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
26168 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
26169 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
26170 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
26171 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
26172 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
26173 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
26174 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
26175 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
26176 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
26177 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
26178 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
26179 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
26180 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
26181 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
26182 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
26184 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
26185 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
26186 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
26187 * sysdeps/ia64/fpu/w_lgamma_main.c
26188 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
26189 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
26191 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
26193 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
26194 address of $global$ into %dp register earlier. Use pc-relative
26195 instruction sequence for PIC case.
26197 2017-11-28 Joseph Myers <joseph@codesourcery.com>
26199 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
26200 (asinhf): Define using libm_alias_float.
26201 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
26202 (atanf): Define using libm_alias_float.
26203 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
26204 (cbrtf): Define using libm_alias_float.
26205 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
26206 (ceilf): Define using libm_alias_float.
26207 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26208 (copysignf): Define using libm_alias_float.
26209 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
26210 (expm1f): Define using libm_alias_float.
26211 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
26212 (fabsf): Define using libm_alias_float.
26213 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
26214 (floorf): Define using libm_alias_float.
26215 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26216 (fmaxf): Define using libm_alias_float.
26217 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
26218 (fminf): Define using libm_alias_float.
26219 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
26220 (frexpf): Define using libm_alias_float.
26221 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
26222 (llrintf): Define using libm_alias_float.
26223 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
26224 (logbf): Define using libm_alias_float.
26225 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
26226 (lrintf): Define using libm_alias_float.
26227 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
26228 (nearbyintf): Define using libm_alias_float.
26229 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
26230 (remquof): Define using libm_alias_float.
26231 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
26232 (rintf): Define using libm_alias_float.
26233 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
26234 (truncf): Define using libm_alias_float.
26235 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
26236 <libm-alias-float.h>.
26237 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26239 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
26240 <libm-alias-float.h>.
26241 (expf): Define using libm_alias_float, or libm_alias_float_other
26243 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
26244 <libm-alias-float.h>.
26245 (log2f): Define using libm_alias_float, or libm_alias_float_other
26247 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
26248 <libm-alias-float.h>.
26249 (logf): Define using libm_alias_float, or libm_alias_float_other
26251 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
26252 <libm-alias-float.h>.
26253 (powf): Define using libm_alias_float, or libm_alias_float_other
26255 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
26256 <libm-alias-float.h>.
26257 (cosf): Define using libm_alias_float.
26258 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
26259 <libm-alias-float.h>.
26260 (sincosf): Define using libm_alias_float.
26261 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
26262 <libm-alias-float.h>.
26263 (sinf): Define using libm_alias_float.
26264 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26265 (fmaxf): Define using libm_alias_float.
26266 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
26267 (fminf): Define using libm_alias_float.
26268 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26269 <libm-alias-float.h>.
26270 (fmaf): Define using libm_alias_float.
26272 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
26273 (asinh): Define using libm_alias_double.
26274 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
26275 (atan): Define using libm_alias_double.
26276 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
26277 (cbrt): Define using libm_alias_double.
26278 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
26279 (ceil): Define using libm_alias_double.
26280 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
26281 (copysign): Define using libm_alias_double.
26282 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
26283 (expm1): Define using libm_alias_double.
26284 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
26285 (fabs): Define using libm_alias_double.
26286 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
26287 (fdim): Define using libm_alias_double.
26288 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
26289 (floor): Define using libm_alias_double.
26290 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
26291 (fmax): Define using libm_alias_double.
26292 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
26293 (fmin): Define using libm_alias_double.
26294 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
26295 (frexp): Define using libm_alias_double.
26296 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
26297 (llrint): Define using libm_alias_double.
26298 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
26299 (logb): Define using libm_alias_double.
26300 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
26301 (lrint): Define using libm_alias_double.
26302 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
26303 (nearbyint): Define using libm_alias_double.
26304 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
26305 (remquo): Define using libm_alias_double.
26306 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
26307 (rint): Define using libm_alias_double.
26308 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
26309 (trunc): Define using libm_alias_double.
26310 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
26311 (fmax): Define using libm_alias_double.
26312 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
26313 (fmin): Define using libm_alias_double.
26314 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
26315 (fma): Define using libm_alias_double.
26317 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
26320 * elf/dl-hwcaps.c (ROUND): Removed.
26321 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
26322 and ELF_NOTE_NEXT_OFFSET.
26323 * elf/dl-load.c (ROUND): Removed.
26324 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
26325 * elf/readelflib.c (ROUND): Removed.
26326 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
26327 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
26328 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
26329 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
26331 2017-11-28 Joseph Myers <joseph@codesourcery.com>
26333 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
26334 [!__fmaf] (fmaf): Define using libm_alias_float.
26336 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
26337 [!__fma] (fma): Define using libm_alias_double.
26338 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
26340 2017-11-28 Mike FABIAN <mfabian@redhat.com>
26343 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
26344 and implement the collation rules for cs from CLDR on top of that.
26345 * Makefile: Add cs_CZ.UTF-8 to test-input.
26346 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
26348 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
26350 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
26352 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
26353 Icarus Sparry <icarus.w.sparry@intel.com>
26355 * benchtests/Makefile:Add BENCHSET to allow subsets of
26356 benchmarks to be run.
26357 * benchtests/README: Add documentation for: Running subsets of
26360 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
26362 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
26363 range of tests names.
26365 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
26366 result from property and remove "max", min" and "mean" from
26367 required properties based on benchtests/bench-skeleton.c.
26369 2017-11-28 Florian Weimer <fweimer@redhat.com>
26372 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
26373 due to Internet requirement.
26374 * posix/Makefile (tests): Remove tst-getaddrinfo4,
26376 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
26378 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26380 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
26381 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
26382 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
26383 (sysdep_routines): Add memset-ultra1.
26384 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
26386 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
26387 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
26388 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
26389 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
26390 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
26391 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
26392 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
26393 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26395 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
26397 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
26398 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
26399 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
26400 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
26401 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
26402 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
26403 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
26405 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
26406 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
26407 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
26408 (sysdep_routines): Add memcpy-ultra1.
26409 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
26410 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
26412 2017-11-28 Joseph Myers <joseph@codesourcery.com>
26414 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
26415 (cfloat_versions): Take function argument without trailing 'f'.
26416 Call libm_alias_float_other.
26417 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
26418 * sysdeps/alpha/fpu/cargf.c: Likewise.
26419 * sysdeps/alpha/fpu/cimagf.c: Likewise.
26420 * sysdeps/alpha/fpu/conjf.c: Likewise.
26421 * sysdeps/alpha/fpu/crealf.c: Likewise.
26422 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
26423 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
26424 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
26425 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
26426 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
26427 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
26428 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
26429 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
26430 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
26431 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
26432 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
26433 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
26434 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
26435 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
26436 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
26437 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
26438 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
26439 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
26440 (clog10f): Use libm_alias_float_other.
26441 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
26442 (ceilf): Define using libm_alias_float.
26443 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
26444 (copysignf): Define using libm_alias_float.
26445 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
26446 (fabsf): Define using libm_alias_float.
26447 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
26448 (floorf): Define using libm_alias_float.
26449 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
26450 (fmaxf): Define using libm_alias_float.
26451 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
26452 (fminf): Define using libm_alias_float.
26453 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
26454 (lrintf): Define using libm_alias_float.
26455 (llrintf): Likewise.
26456 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
26457 (lroundf): Define using libm_alias_float.
26458 (llroundf): Likewise.
26459 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
26460 (rintf): Define using libm_alias_float.
26461 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
26462 (truncf): Define using libm_alias_float.
26464 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
26465 (ceilf): Define using libm_alias_float.
26466 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
26467 (floorf): Define using libm_alias_float.
26468 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
26469 (fmaf): Define using libm_alias_float.
26470 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
26471 (fmaxf): Define using libm_alias_float.
26472 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
26473 (fminf): Define using libm_alias_float.
26474 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
26475 (llrintf): Define using libm_alias_float.
26476 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
26477 (llroundf): Define using libm_alias_float.
26478 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
26479 (lrintf): Define using libm_alias_float.
26480 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
26481 (lroundf): Define using libm_alias_float.
26482 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
26483 <libm-alias-float.h>.
26484 (nearbyintf): Define using libm_alias_float.
26485 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
26486 (rintf): Define using libm_alias_float.
26487 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
26488 (roundf): Define using libm_alias_float.
26489 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
26490 (truncf): Define using libm_alias_float.
26492 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
26493 (ceil): Define using libm_alias_double.
26494 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
26495 (copysign): Define using libm_alias_double.
26496 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
26497 (fabs): Define using libm_alias_double.
26498 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
26499 (floor): Define using libm_alias_double.
26500 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
26501 (fmax): Define using libm_alias_double.
26502 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
26503 (fmin): Define using libm_alias_double.
26504 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
26505 (lrint): Define using libm_alias_double.
26506 (llrint): Likewise.
26507 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
26508 (lround): Define using libm_alias_double.
26509 (llround): Likewise.
26510 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
26511 (rint): Define using libm_alias_double.
26512 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
26513 (trunc): Define using libm_alias_double.
26515 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
26516 (libm_alias_double_r): Add semicolon after weak_alias call.
26518 2017-11-27 Joseph Myers <joseph@codesourcery.com>
26520 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
26521 (ceil): Define using libm_alias_double.
26522 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
26523 (floor): Define using libm_alias_double.
26524 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
26525 (fma): Define using libm_alias_double.
26526 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
26527 (fmax): Define using libm_alias_double.
26528 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
26529 (fmin): Define using libm_alias_double.
26530 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
26531 (llrint): Define using libm_alias_double.
26532 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
26533 (llround): Define using libm_alias_double.
26534 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
26535 (lrint): Define using libm_alias_double.
26536 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
26537 (lround): Define using libm_alias_double.
26538 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
26539 (nearbyint): Define using libm_alias_double.
26540 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
26541 (rint): Define using libm_alias_double.
26542 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
26543 (round): Define using libm_alias_double.
26544 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
26545 (trunc): Define using libm_alias_double.
26547 2017-11-27 Florian Weimer <fweimer@redhat.com>
26549 * sysdeps/unix/sysv/linux/mlock2.c: New file.
26550 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
26551 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
26552 (tests): Add tst-mlock2.
26553 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
26554 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
26555 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
26556 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
26557 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
26558 for mlock. Document mlock2.
26560 2017-11-27 Joseph Myers <joseph@codesourcery.com>
26562 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
26563 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
26565 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
26567 * sysdeps/x86/Makeconfig: New file.
26568 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
26569 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26570 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
26571 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26572 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
26573 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26574 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
26576 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26577 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
26578 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26579 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
26580 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26581 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
26582 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26583 * manual/math.texi (Mathematics): Document support for _Float64x.
26584 * math/Versions (GLIBC_2.27): Add _Float64x functions.
26585 * stdlib/Versions (GLIBC_2.27): Likewise.
26586 * wcsmbs/Versions (GLIBC_2.27): Likewise.
26587 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
26588 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26589 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26590 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26591 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26592 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26593 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26594 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26595 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26596 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26597 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
26600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26602 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26603 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26604 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26605 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26606 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26607 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26608 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26609 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26610 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26611 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26612 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26613 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26614 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
26615 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26617 2017-11-27 Andreas Schwab <schwab@suse.de>
26619 * elf/Makefile (dl-routines): Add dl-sort-maps.
26620 * elf/dl-sort-maps.c: New file.
26621 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
26622 (_dl_sort_maps): Declare.
26623 * elf/dl-fini.c (_dl_sort_fini): Remove.
26624 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
26625 * elf/dl-close.c (_dl_close_worker): Likewise.
26626 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
26628 * elf/dl-open.c (dl_open_worker): Likewise.
26630 2017-11-24 Joseph Myers <joseph@codesourcery.com>
26632 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
26633 using libm_alias_float128.
26634 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
26636 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
26638 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
26639 (setpayloadsigf128): Likewise.
26640 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
26642 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
26645 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
26646 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
26647 -mfloat128 to CFLAGS.
26649 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
26651 (CFLAGS-libm-test-support-float64x.c): New variable.
26652 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
26653 $(f128-loader-link) to gnulib-tests.
26655 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
26656 (libm_alias_float128_other_r): If
26657 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
26659 (libm_alias_float128_r): Add semicolon after weak_alias call.
26660 * sysdeps/generic/libm-alias-ldouble.h
26661 (libm_alias_ldouble_other_r_f128): New macro.
26662 (libm_alias_ldouble_other_r_f64x): Likewise.
26663 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
26664 and libm_alias_ldouble_other_r_f64x.
26665 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
26666 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
26667 (libm_alias_ldouble_other_r_f128): New macro.
26668 (libm_alias_ldouble_other_r_f64x): Likewise.
26669 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
26670 and libm_alias_ldouble_other_r_f64x.
26672 * stdlib/strfroml.c: Always include <stdlib.h>.
26673 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
26674 undefine as macro and define as weak alias.
26675 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
26676 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
26678 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
26679 Define and later undefine as macro and define as weak alias.
26681 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
26682 Define and later undefine as macro. Define as weak alias if
26684 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
26685 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
26686 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
26687 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
26688 Define and later undefine as macro. Define as weak alias if
26690 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
26691 Define and later undefine as macro. Define as weak alias if
26693 * sysdeps/ieee754/float128/strtof128_l.c
26694 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
26695 Define and later undefine as macro. Define as weak alias if
26697 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
26698 Define and later undefine as macro. Define as weak alias if
26700 * sysdeps/ieee754/ldbl-128/strtold_l.c
26701 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
26702 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26703 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
26704 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
26705 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
26706 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
26707 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26708 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
26709 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
26710 * sysdeps/ieee754/ldbl-96/strtold_l.c
26711 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
26712 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26713 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
26714 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
26716 * math/test-float64x.h: New file.
26717 * math/Makefile (type-float64x-yes): New variable.
26718 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
26720 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
26721 function-like macro.
26722 (min_of_type_): Likewise.
26723 (min_of_type_l): Likewise.
26724 (min_of_type_f128): Likewise.
26725 (min_of_type): Pass () as last argument of __MATH_TG.
26727 * stdlib/tst-strtod-round-skeleton.c
26728 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
26731 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
26732 for combinations of long double with _Float64 and _Float64x.
26734 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
26735 (__DECL_SIMD_cosf32): Likewise.
26736 (__DECL_SIMD_cosf64): Likewise.
26737 (__DECL_SIMD_cosf32x): Likewise.
26738 (__DECL_SIMD_cosf64x): Likewise.
26739 (__DECL_SIMD_cosf128x): Likewise.
26740 (__DECL_SIMD_sinf16): Likewise.
26741 (__DECL_SIMD_sinf32): Likewise.
26742 (__DECL_SIMD_sinf64): Likewise.
26743 (__DECL_SIMD_sinf32x): Likewise.
26744 (__DECL_SIMD_sinf64x): Likewise.
26745 (__DECL_SIMD_sinf128x): Likewise.
26746 (__DECL_SIMD_sincosf16): Likewise.
26747 (__DECL_SIMD_sincosf32): Likewise.
26748 (__DECL_SIMD_sincosf64): Likewise.
26749 (__DECL_SIMD_sincosf32x): Likewise.
26750 (__DECL_SIMD_sincosf64x): Likewise.
26751 (__DECL_SIMD_sincosf128x): Likewise.
26752 (__DECL_SIMD_logf16): Likewise.
26753 (__DECL_SIMD_logf32): Likewise.
26754 (__DECL_SIMD_logf64): Likewise.
26755 (__DECL_SIMD_logf32x): Likewise.
26756 (__DECL_SIMD_logf64x): Likewise.
26757 (__DECL_SIMD_logf128x): Likewise.
26758 (__DECL_SIMD_expf16): Likewise.
26759 (__DECL_SIMD_expf32): Likewise.
26760 (__DECL_SIMD_expf64): Likewise.
26761 (__DECL_SIMD_expf32x): Likewise.
26762 (__DECL_SIMD_expf64x): Likewise.
26763 (__DECL_SIMD_expf128x): Likewise.
26764 (__DECL_SIMD_powf16): Likewise.
26765 (__DECL_SIMD_powf32): Likewise.
26766 (__DECL_SIMD_powf64): Likewise.
26767 (__DECL_SIMD_powf32x): Likewise.
26768 (__DECL_SIMD_powf64x): Likewise.
26769 (__DECL_SIMD_powf128x): Likewise.
26771 * stdlib/Versions (libc): Move entries for wcstof128 and
26772 wcstof128_l to ....
26773 * wcsmbs/Versions (libc): ... here.
26774 Include <float128-abi.h>.
26776 2017-11-24 Florian Weimer <fweimer@redhat.com>
26778 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26779 bits/mman-shared.h.
26780 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
26781 <bits/mman-shared.h>.
26782 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
26784 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
26785 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
26786 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
26787 <bits/mman-shared.h>.
26789 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26792 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
26793 posix_memalign/free.
26794 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
26796 2017-11-22 Mike FABIAN <mfabian@redhat.com>
26799 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
26800 and implement the collation rules for pl from CLDR on top of that.
26801 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
26802 of locales to be built for testing.
26803 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
26805 2017-11-23 Joseph Myers <joseph@codesourcery.com>
26807 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
26808 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
26809 libm_alias_ldouble_other.
26810 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
26811 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
26812 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
26813 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
26814 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
26815 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
26816 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
26817 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
26818 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
26819 libm_alias_ldouble_r.
26820 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
26821 libm_alias_ldouble_other.
26822 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
26823 (log10l): Likewise.
26824 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
26825 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
26826 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
26827 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
26828 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
26829 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
26830 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
26831 (atan2l): Likewise.
26832 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
26833 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
26834 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
26835 libm_alias_ldouble.
26836 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
26838 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
26839 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
26840 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
26842 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
26843 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
26844 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
26845 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
26846 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
26847 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
26848 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
26849 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
26850 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
26851 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
26852 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
26853 libm_alias_ldouble.
26854 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
26855 libm_alias_ldouble_other.
26856 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
26857 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
26858 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
26859 libm_alias_ldouble.
26860 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
26861 libm_alias_ldouble_other.
26862 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
26863 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
26864 * sysdeps/ia64/fpu/w_lgammal_main.c
26865 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
26866 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
26868 2017-11-23 Florian Weimer <fweimer@redhat.com>
26870 * malloc/malloc.c (tcache_thread_shutdown): Rename from
26871 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
26872 alike. Remove freeres marker.
26873 * malloc/arena.c (arena_thread_freeres): Call
26874 tcache_thread_shutdown.
26876 2017-11-23 Florian Weimer <fweimer@redhat.com>
26879 Export nscd hash function as __nss_hash.
26880 * include/nss.h (__nss_hash): Declare.
26881 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
26883 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
26884 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
26886 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
26887 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
26888 * nss/Makefiles (routines): Add nss_hash.
26889 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
26890 * nss/nss_hash.c: Rename from nis/nis_hash.c.
26891 (__nss_hash): Rename from __nis_hash. Define hidden alias.
26892 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
26894 2017-11-23 Florian Weimer <fweimer@redhat.com>
26897 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
26898 Return error code, not -1.
26899 * signal/tst-sigwait-eintr.c: New file.
26900 * signal/Makefile (tests): Add tst-sigwait-eintr.
26902 2017-11-23 Florian Weimer <fweimer@redhat.com>
26904 Linux: Add memfd_create system call wrapper
26905 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
26907 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
26908 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
26909 [__USE_GNU] (memfd_create): Declare.
26910 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
26911 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
26912 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
26913 * sysdeps/unix/sysv/linux/**.abilist: Update.
26914 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
26916 2017-11-22 Joseph Myers <joseph@codesourcery.com>
26918 * localedata/gen-locale.sh: Fix typo in variable name.
26920 * resolv/res_debug.c (p_secstodate): Condition definition on
26921 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
26922 directly as __p_secstodate, and as a compat symbol. Do not use
26923 libresolv_hidden_def.
26924 * resolv/resolv.h (p_secstodate): Remove macro and function
26926 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
26927 using p_secstodate.
26928 * include/resolv.h (__p_secstodate): Do not use
26929 libresolv_hidden_proto.
26930 * resolv/Makefile (tests): Move tst-p_secstodate to ....
26931 (tests-internal): ... here.
26932 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
26933 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
26934 and declare and use __p_secstodate and use compat_symbol_reference
26936 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
26937 implementation returning 77.
26940 * resolv/res_debug.c: Include <libc-diag.h>.
26941 (p_secstodate): Assert time_t at least as wide as u_long. On
26942 overflow, use integer seconds since the epoch as output, or use
26943 "<overflow>" as output and set errno to EOVERFLOW if integer
26944 seconds since the epoch would be 14 or more characters.
26945 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
26947 * resolv/tst-p_secstodate.c: New file.
26948 * resolv/Makefile (tests): Add tst-p_secstodate.
26949 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
26951 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
26952 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
26953 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
26955 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
26957 * posix/regcomp.c (init_word_char): Add comments.
26959 2017-11-22 Joseph Myers <joseph@codesourcery.com>
26962 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
26963 strlen to compute length of ut_user and set trailing NUL byte of
26966 2017-11-21 Mike FABIAN <mfabian@redhat.com>
26969 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
26970 using “copy "iso14651_t1"” and then implementing the
26971 collation rules for lv from CLDR on top of that.
26972 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
26973 of locales to be built for testing.
26974 * lv_LV.UTF-8.in: New file with test data to test the Latvian
26977 2017-11-21 Joseph Myers <joseph@codesourcery.com>
26979 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
26980 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
26981 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
26982 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
26983 [__USE_MISC] (MADV_HWPOISON): New macro.
26984 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
26986 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26988 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
26989 -Wmissing-braces on GCC 4.9.
26991 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
26993 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
26994 * sysdeps/s390/s390-32/start.S (_start): Likewise
26995 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
26996 (thread_start): Likewise.
26997 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
26998 (thread_start): Likewise.
26999 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
27000 (__makecontext_ret): Likewise.
27001 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
27002 (__makecontext_ret): Likewise.
27004 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
27006 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
27007 __wcschrnul): Remove attribute_hidden.
27009 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
27011 regex: don't assume uint64_t or uint32_t
27012 This avoids -Werror=overflow errors for 32-bit systems in
27013 the 64-bit case. Problem reported by Joseph Myers in:
27014 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
27015 Also, when this code is used in Gnulib it ports to platforms
27016 that lack uint64_t and uint32_t. The C standard doesn't guarantee
27017 them, and on some 32-bit compilers there is no uint64_t.
27018 Problem reported by Gianluigi Tiesi in:
27019 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
27020 * posix/regcomp.c (init_word_char): Don't assume that the types
27021 uint64_t and uint32_t exist. Adapted from Gnulib patch
27022 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
27023 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
27025 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
27027 * sysdeps/aarch64/memset-reg.h: New file.
27028 * sysdeps/aarch64/memset.S: Use it.
27029 (__memset): Rename to MEMSET macro.
27030 [ZVA_MACRO]: Use zva_macro.
27031 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
27032 Add memset_generic and memset_falkor.
27033 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27034 (__libc_ifunc_impl_list): Add memset ifuncs.
27035 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
27036 local variable zva_size.
27037 * sysdeps/aarch64/multiarch/memset.c: New file.
27038 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
27039 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
27040 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
27041 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
27042 (DCZID_DZP_MASK): New macro.
27043 (DCZID_BS_MASK): Likewise.
27044 (init_cpu_features): Read and set zva_size.
27045 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
27046 (struct cpu_features): New member zva_size.
27048 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
27049 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
27050 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
27052 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
27053 backwards. Fix timing computation.
27054 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
27055 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
27056 on memset by N at a time. Fix timing computation.
27058 2017-11-20 Florian Weimer <fweimer@redhat.com>
27060 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
27061 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
27063 2017-11-19 Florian Weimer <fweimer@redhat.com>
27065 manual: Document mprotect
27066 * manual/memory.texi (Memory Protection): New section.
27067 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
27068 documentation of PROT_* flags and reference the Memory Protection
27071 2017-11-19 Florian Weimer <fweimer@redhat.com>
27073 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
27074 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
27075 (Scatter-Gather): ... to here. Remove misleading comment.
27077 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
27079 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
27082 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
27083 when /proc/<pid>/setgroups does not exist.
27085 2017-11-18 Florian Weimer <fweimer@redhat.com>
27087 * sysdeps/unix/sysv/linux/tst-ttyname.c
27088 (become_root_in_mount_ns): Remove.
27089 (do_in_chroot_1): Call support_enter_mount_namespace.
27090 (do_in_chroot_2): Likewise.
27091 (do_test): Call support_become_root early.
27093 2017-11-18 Florian Weimer <fweimer@redhat.com>
27095 * support/namespace.h (support_enter_mount_namespace): Declare.
27096 * support/support_enter_mount_namespace.c: New file.
27097 * support/Makefile (libsupport-routines): Add
27098 support_enter_mount_namespace.
27100 2017-11-18 Florian Weimer <fweimer@redhat.com>
27102 * support/temp_file.c (support_create_temp_directory): Use
27103 test_dir and do not rely on the presence of the XXXXXX suffix.
27104 * support/temp_file.h (support_create_temp_directory): Update
27106 * support/tst-xreadlink.c (do_test): Adjust.
27107 * support/support_chroot.c (support_chroot_create): Likewise.
27109 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27111 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
27113 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
27116 2017-11-17 Joseph Myers <joseph@codesourcery.com>
27118 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27119 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27120 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27121 (ceill): Define using libm_alias_ldouble.
27122 * sysdeps/x86_64/fpu/s_copysignl.S: Include
27123 <libm-alias-ldouble.h>.
27124 (copysignl): Define using libm_alias_ldouble.
27125 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27126 (fabsl): Define using libm_alias_ldouble.
27127 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27128 (floorl): Define using libm_alias_ldouble.
27129 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27130 (fmaxl): Define using libm_alias_ldouble.
27131 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27132 (fminl): Define using libm_alias_ldouble.
27133 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27134 (llrintl): Define using libm_alias_ldouble.
27135 (lrintl): Likewise.
27136 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
27137 <libm-alias-ldouble.h>.
27138 (nearbyintl): Define using libm_alias_ldouble.
27139 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27140 (truncl): Define using libm_alias_ldouble.
27141 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
27142 <libm-alias-ldouble.h>.
27143 (lrintl): Define using libm_alias_ldouble.
27145 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27146 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27147 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
27148 (asinhl): Define using libm_alias_ldouble.
27149 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
27150 (atanl): Define using libm_alias_ldouble.
27151 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
27152 (cbrtl): Define using libm_alias_ldouble.
27153 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27154 (ceill): Define using libm_alias_ldouble.
27155 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
27156 (copysignl): Define using libm_alias_ldouble.
27157 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27158 (fabsl): Define using libm_alias_ldouble.
27159 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27160 (floorl): Define using libm_alias_ldouble.
27161 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27162 (fmaxl): Define using libm_alias_ldouble.
27163 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27164 (fminl): Define using libm_alias_ldouble.
27165 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
27166 (frexpl): Define using libm_alias_ldouble.
27167 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27168 (llrintl): Define using libm_alias_ldouble.
27169 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
27170 (logbl): Define using libm_alias_ldouble.
27171 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
27172 (lrintl): Define using libm_alias_ldouble.
27173 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
27174 (nearbyintl): Define using libm_alias_ldouble.
27175 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
27176 (nextafterl): Define using libm_alias_ldouble.
27177 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
27178 (remquol): Define using libm_alias_ldouble.
27179 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
27180 (rintl): Define using libm_alias_ldouble.
27181 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27182 (truncl): Define using libm_alias_ldouble.
27183 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27184 (fmaxl): Define using libm_alias_ldouble.
27185 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27186 (fminl): Define using libm_alias_ldouble.
27188 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
27189 to C syntax instead of availability and properties of types.
27190 * bits/floatn.h [!__ASSEMBLER]: Likewise.
27191 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
27192 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
27193 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
27194 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
27195 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
27197 2017-11-17 Florian Weimer <fweimer@redhat.com>
27199 support_become_root: Enable file creation in namespaces.
27200 * support/support_become_root.c (setup_mapping): New function.
27201 (support_become_root): Call it.
27203 2017-11-17 Joseph Myers <joseph@codesourcery.com>
27205 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
27208 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27210 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
27211 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
27213 2017-11-16 Joseph Myers <joseph@codesourcery.com>
27215 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
27217 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
27220 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
27222 * INSTALL: Fix botched up regeneration.
27224 * NEWS: Update sourceare link to https.
27225 * configure.ac: Likewise.
27226 * crypt/md5test-giant.c: Likewise.
27227 * dlfcn/bug-atexit1.c: Likewise.
27228 * dlfcn/bug-atexit2.c: Likewise.
27229 * localedata/README: Likewise.
27230 * malloc/tst-mallocfork.c: Likewise.
27231 * manual/install.texi: Likewise.
27232 * nptl/tst-pthread-getattr.c: Likewise.
27233 * stdio-common/tst-fgets.c: Likewise.
27234 * stdio-common/tst-fwrite.c: Likewise.
27235 * sunrpc/Makefile: Likewise.
27236 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
27237 * wcsmbs/tst-mbrtowc2.c: Likewise.
27238 * configure: Regenerate.
27239 * INSTALL: Regenerate.
27241 2017-11-15 Martin Sebor <msebor@redhat.com>
27243 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
27244 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
27245 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
27247 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
27250 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
27251 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
27254 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
27255 Defer is_pty check until end of the function.
27256 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27259 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
27260 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
27261 (ttyname): Likewise.
27262 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
27263 (__ttyname_r): Likewise.
27265 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
27268 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
27270 * manual/terminal.texi (Is It a Terminal):
27271 Mention ENODEV for ttyname and ttyname_r.
27273 2017-11-15 Joseph Myers <joseph@codesourcery.com>
27275 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
27276 constant and macro.
27278 * sysdeps/unix/sysv/linux/bits/mman-linux.h
27279 [__USE_MISC] (MADV_WIPEONFORK): New macro.
27280 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
27281 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
27282 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
27283 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
27285 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27287 * signal/sigrelse.c (sigrelse): Optimize implementation.
27289 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
27290 (__sigpause): Rely on __sigsuspend to implement single thread
27291 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
27293 2017-11-15 Joseph Myers <joseph@codesourcery.com>
27295 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
27296 kernel version to 4.14.
27298 2017-11-15 Steve Ellcey <sellcey@cavium.com>
27301 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
27302 Check if ifname is too long.
27304 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
27306 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
27308 2017-11-15 Mike FABIAN <mfabian@redhat.com>
27310 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
27311 was accidentally lost.
27313 2017-11-15 Mike FABIAN <mfabian@redhat.com>
27315 * localedata/locales/az_IR: Add standard copyright header.
27317 2017-11-15 Florian Weimer <fweimer@redhat.com>
27320 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
27321 not just the top one. Output a new "subheaps" statistic.
27323 2017-11-15 Florian Weimer <fweimer@redhat.com>
27326 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
27327 under the per-arena lock.
27328 * malloc/Makefile (tests): Add tst-malloc_info.
27329 (tst-malloc_info): Link with libpthread.
27330 * malloc/tst-malloc_info.c: New file.
27332 2017-11-15 Joseph Myers <joseph@codesourcery.com>
27335 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
27336 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
27337 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
27338 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
27339 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
27340 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
27341 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
27342 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
27343 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
27344 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
27345 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
27346 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
27347 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
27348 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
27349 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
27350 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
27351 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
27352 (__floating_type): Likewise.
27353 (__real_integer_type): Likewise.
27354 (__complex_integer_type): Likewise.
27355 (__expr_is_real): Likewise.
27356 (__tgmath_real_type_sub): Likewise.
27357 (__tgmath_real_type): Likewise.
27358 (__tgmath_complex_type_sub): Likewise.
27359 (__tgmath_complex_type): Likewise.
27360 (__TGMATH_F128): Likewise.
27361 (__TGMATH_CF128): Likewise.
27362 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
27364 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
27365 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
27367 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
27369 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
27370 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
27371 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
27372 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
27374 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
27375 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
27377 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
27378 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
27379 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
27381 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
27382 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
27383 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
27387 2017-11-14 Joseph Myers <joseph@codesourcery.com>
27389 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
27390 for stpncpy calls for GCC 8.
27391 (test_strncat): Disable -Wstringop-truncation warning for strncat
27392 calls for GCC 8. Disable -Wstringop-overflow= warning for one
27393 strncat call for GCC 7.
27394 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
27396 (test_memcmp): Use memcpy instead of strncpy for calls not copying
27399 * string/bug-strncat1.c: Include <libc-diag.h>.
27400 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
27402 2017-11-13 Claude Paroz <claude@2xlibre.net>
27405 * localedata/locales/aa_DJ: Improved readibility by replacing
27406 <Uxxxx> sequences in the ASCII printable range by their ASCII
27407 character equivalents.
27408 * localedata/locales/aa_ER: Likewise.
27409 * localedata/locales/aa_ER@saaho: Likewise.
27410 * localedata/locales/aa_ET: Likewise.
27411 * localedata/locales/af_ZA: Likewise.
27412 * localedata/locales/agr_PE: Likewise.
27413 * localedata/locales/ak_GH: Likewise.
27414 * localedata/locales/am_ET: Likewise.
27415 * localedata/locales/anp_IN: Likewise.
27416 * localedata/locales/ar_AE: Likewise.
27417 * localedata/locales/ar_BH: Likewise.
27418 * localedata/locales/ar_DZ: Likewise.
27419 * localedata/locales/ar_EG: Likewise.
27420 * localedata/locales/ar_IN: Likewise.
27421 * localedata/locales/ar_IQ: Likewise.
27422 * localedata/locales/ar_JO: Likewise.
27423 * localedata/locales/ar_KW: Likewise.
27424 * localedata/locales/ar_LB: Likewise.
27425 * localedata/locales/ar_LY: Likewise.
27426 * localedata/locales/ar_MA: Likewise.
27427 * localedata/locales/ar_OM: Likewise.
27428 * localedata/locales/ar_QA: Likewise.
27429 * localedata/locales/ar_SA: Likewise.
27430 * localedata/locales/ar_SD: Likewise.
27431 * localedata/locales/ar_SS: Likewise.
27432 * localedata/locales/ar_SY: Likewise.
27433 * localedata/locales/ar_TN: Likewise.
27434 * localedata/locales/ar_YE: Likewise.
27435 * localedata/locales/as_IN: Likewise.
27436 * localedata/locales/ast_ES: Likewise.
27437 * localedata/locales/ayc_PE: Likewise.
27438 * localedata/locales/az_AZ: Likewise.
27439 * localedata/locales/az_IR: Likewise.
27440 * localedata/locales/be_BY: Likewise.
27441 * localedata/locales/be_BY@latin: Likewise.
27442 * localedata/locales/bem_ZM: Likewise.
27443 * localedata/locales/ber_DZ: Likewise.
27444 * localedata/locales/ber_MA: Likewise.
27445 * localedata/locales/bg_BG: Likewise.
27446 * localedata/locales/bhb_IN: Likewise.
27447 * localedata/locales/bho_IN: Likewise.
27448 * localedata/locales/bi_VU: Likewise.
27449 * localedata/locales/bn_BD: Likewise.
27450 * localedata/locales/bn_IN: Likewise.
27451 * localedata/locales/bo_CN: Likewise.
27452 * localedata/locales/bo_IN: Likewise.
27453 * localedata/locales/br_FR: Likewise.
27454 * localedata/locales/brx_IN: Likewise.
27455 * localedata/locales/bs_BA: Likewise.
27456 * localedata/locales/byn_ER: Likewise.
27457 * localedata/locales/ca_AD: Likewise.
27458 * localedata/locales/ca_ES: Likewise.
27459 * localedata/locales/ca_FR: Likewise.
27460 * localedata/locales/ca_IT: Likewise.
27461 * localedata/locales/ce_RU: Likewise.
27462 * localedata/locales/chr_US: Likewise.
27463 * localedata/locales/cmn_TW: Likewise.
27464 * localedata/locales/crh_UA: Likewise.
27465 * localedata/locales/cs_CZ: Likewise.
27466 * localedata/locales/csb_PL: Likewise.
27467 * localedata/locales/cv_RU: Likewise.
27468 * localedata/locales/cy_GB: Likewise.
27469 * localedata/locales/da_DK: Likewise.
27470 * localedata/locales/de_AT: Likewise.
27471 * localedata/locales/de_BE: Likewise.
27472 * localedata/locales/de_CH: Likewise.
27473 * localedata/locales/de_DE: Likewise.
27474 * localedata/locales/de_IT: Likewise.
27475 * localedata/locales/de_LI: Likewise.
27476 * localedata/locales/de_LU: Likewise.
27477 * localedata/locales/doi_IN: Likewise.
27478 * localedata/locales/dv_MV: Likewise.
27479 * localedata/locales/dz_BT: Likewise.
27480 * localedata/locales/el_CY: Likewise.
27481 * localedata/locales/el_GR: Likewise.
27482 * localedata/locales/en_AG: Likewise.
27483 * localedata/locales/en_AU: Likewise.
27484 * localedata/locales/en_BW: Likewise.
27485 * localedata/locales/en_CA: Likewise.
27486 * localedata/locales/en_DK: Likewise.
27487 * localedata/locales/en_GB: Likewise.
27488 * localedata/locales/en_HK: Likewise.
27489 * localedata/locales/en_IE: Likewise.
27490 * localedata/locales/en_IL: Likewise.
27491 * localedata/locales/en_IN: Likewise.
27492 * localedata/locales/en_NG: Likewise.
27493 * localedata/locales/en_NZ: Likewise.
27494 * localedata/locales/en_PH: Likewise.
27495 * localedata/locales/en_SG: Likewise.
27496 * localedata/locales/en_US: Likewise.
27497 * localedata/locales/en_ZA: Likewise.
27498 * localedata/locales/en_ZM: Likewise.
27499 * localedata/locales/en_ZW: Likewise.
27500 * localedata/locales/eo: Likewise.
27501 * localedata/locales/es_AR: Likewise.
27502 * localedata/locales/es_BO: Likewise.
27503 * localedata/locales/es_CL: Likewise.
27504 * localedata/locales/es_CO: Likewise.
27505 * localedata/locales/es_CR: Likewise.
27506 * localedata/locales/es_CU: Likewise.
27507 * localedata/locales/es_DO: Likewise.
27508 * localedata/locales/es_EC: Likewise.
27509 * localedata/locales/es_ES: Likewise.
27510 * localedata/locales/es_GT: Likewise.
27511 * localedata/locales/es_HN: Likewise.
27512 * localedata/locales/es_MX: Likewise.
27513 * localedata/locales/es_NI: Likewise.
27514 * localedata/locales/es_PA: Likewise.
27515 * localedata/locales/es_PE: Likewise.
27516 * localedata/locales/es_PR: Likewise.
27517 * localedata/locales/es_PY: Likewise.
27518 * localedata/locales/es_SV: Likewise.
27519 * localedata/locales/es_US: Likewise.
27520 * localedata/locales/es_UY: Likewise.
27521 * localedata/locales/es_VE: Likewise.
27522 * localedata/locales/et_EE: Likewise.
27523 * localedata/locales/eu_ES: Likewise.
27524 * localedata/locales/eu_ES@euro: Likewise.
27525 * localedata/locales/fa_IR: Likewise.
27526 * localedata/locales/ff_SN: Likewise.
27527 * localedata/locales/fi_FI: Likewise.
27528 * localedata/locales/fil_PH: Likewise.
27529 * localedata/locales/fo_FO: Likewise.
27530 * localedata/locales/fr_BE: Likewise.
27531 * localedata/locales/fr_CA: Likewise.
27532 * localedata/locales/fr_CH: Likewise.
27533 * localedata/locales/fr_FR: Likewise.
27534 * localedata/locales/fr_LU: Likewise.
27535 * localedata/locales/fur_IT: Likewise.
27536 * localedata/locales/fy_DE: Likewise.
27537 * localedata/locales/fy_NL: Likewise.
27538 * localedata/locales/ga_IE: Likewise.
27539 * localedata/locales/gd_GB: Likewise.
27540 * localedata/locales/gez_ER: Likewise.
27541 * localedata/locales/gez_ET: Likewise.
27542 * localedata/locales/gl_ES: Likewise.
27543 * localedata/locales/gu_IN: Likewise.
27544 * localedata/locales/gv_GB: Likewise.
27545 * localedata/locales/ha_NG: Likewise.
27546 * localedata/locales/hak_TW: Likewise.
27547 * localedata/locales/he_IL: Likewise.
27548 * localedata/locales/hi_IN: Likewise.
27549 * localedata/locales/hif_FJ: Likewise.
27550 * localedata/locales/hne_IN: Likewise.
27551 * localedata/locales/hr_HR: Likewise.
27552 * localedata/locales/hsb_DE: Likewise.
27553 * localedata/locales/ht_HT: Likewise.
27554 * localedata/locales/hu_HU: Likewise.
27555 * localedata/locales/hy_AM: Likewise.
27556 * localedata/locales/i18n: Likewise.
27557 * localedata/locales/ia_FR: Likewise.
27558 * localedata/locales/id_ID: Likewise.
27559 * localedata/locales/ig_NG: Likewise.
27560 * localedata/locales/ik_CA: Likewise.
27561 * localedata/locales/is_IS: Likewise.
27562 * localedata/locales/it_CH: Likewise.
27563 * localedata/locales/it_IT: Likewise.
27564 * localedata/locales/iu_CA: Likewise.
27565 * localedata/locales/ja_JP: Likewise.
27566 * localedata/locales/ka_GE: Likewise.
27567 * localedata/locales/kk_KZ: Likewise.
27568 * localedata/locales/kl_GL: Likewise.
27569 * localedata/locales/kn_IN: Likewise.
27570 * localedata/locales/ko_KR: Likewise.
27571 * localedata/locales/kok_IN: Likewise.
27572 * localedata/locales/ks_IN: Likewise.
27573 * localedata/locales/ks_IN@devanagari: Likewise.
27574 * localedata/locales/ku_TR: Likewise.
27575 * localedata/locales/kw_GB: Likewise.
27576 * localedata/locales/ky_KG: Likewise.
27577 * localedata/locales/lb_LU: Likewise.
27578 * localedata/locales/lg_UG: Likewise.
27579 * localedata/locales/li_BE: Likewise.
27580 * localedata/locales/li_NL: Likewise.
27581 * localedata/locales/lij_IT: Likewise.
27582 * localedata/locales/ln_CD: Likewise.
27583 * localedata/locales/lo_LA: Likewise.
27584 * localedata/locales/lt_LT: Likewise.
27585 * localedata/locales/lv_LV: Likewise.
27586 * localedata/locales/lzh_TW: Likewise.
27587 * localedata/locales/mag_IN: Likewise.
27588 * localedata/locales/mai_IN: Likewise.
27589 * localedata/locales/mg_MG: Likewise.
27590 * localedata/locales/mhr_RU: Likewise.
27591 * localedata/locales/mi_NZ: Likewise.
27592 * localedata/locales/mk_MK: Likewise.
27593 * localedata/locales/ml_IN: Likewise.
27594 * localedata/locales/mn_MN: Likewise.
27595 * localedata/locales/mni_IN: Likewise.
27596 * localedata/locales/mr_IN: Likewise.
27597 * localedata/locales/ms_MY: Likewise.
27598 * localedata/locales/mt_MT: Likewise.
27599 * localedata/locales/my_MM: Likewise.
27600 * localedata/locales/nan_TW: Likewise.
27601 * localedata/locales/nan_TW@latin: Likewise.
27602 * localedata/locales/nb_NO: Likewise.
27603 * localedata/locales/nds_DE: Likewise.
27604 * localedata/locales/nds_NL: Likewise.
27605 * localedata/locales/ne_NP: Likewise.
27606 * localedata/locales/nhn_MX: Likewise.
27607 * localedata/locales/niu_NU: Likewise.
27608 * localedata/locales/niu_NZ: Likewise.
27609 * localedata/locales/nl_AW: Likewise.
27610 * localedata/locales/nl_BE: Likewise.
27611 * localedata/locales/nl_NL: Likewise.
27612 * localedata/locales/nn_NO: Likewise.
27613 * localedata/locales/nr_ZA: Likewise.
27614 * localedata/locales/nso_ZA: Likewise.
27615 * localedata/locales/oc_FR: Likewise.
27616 * localedata/locales/om_ET: Likewise.
27617 * localedata/locales/om_KE: Likewise.
27618 * localedata/locales/or_IN: Likewise.
27619 * localedata/locales/os_RU: Likewise.
27620 * localedata/locales/pa_IN: Likewise.
27621 * localedata/locales/pa_PK: Likewise.
27622 * localedata/locales/pap_AW: Likewise.
27623 * localedata/locales/pap_CW: Likewise.
27624 * localedata/locales/pl_PL: Likewise.
27625 * localedata/locales/ps_AF: Likewise.
27626 * localedata/locales/pt_BR: Likewise.
27627 * localedata/locales/pt_PT: Likewise.
27628 * localedata/locales/quz_PE: Likewise.
27629 * localedata/locales/raj_IN: Likewise.
27630 * localedata/locales/ro_RO: Likewise.
27631 * localedata/locales/ru_RU: Likewise.
27632 * localedata/locales/ru_UA: Likewise.
27633 * localedata/locales/rw_RW: Likewise.
27634 * localedata/locales/sa_IN: Likewise.
27635 * localedata/locales/sat_IN: Likewise.
27636 * localedata/locales/sc_IT: Likewise.
27637 * localedata/locales/sd_IN: Likewise.
27638 * localedata/locales/sd_IN@devanagari: Likewise.
27639 * localedata/locales/se_NO: Likewise.
27640 * localedata/locales/sgs_LT: Likewise.
27641 * localedata/locales/shs_CA: Likewise.
27642 * localedata/locales/si_LK: Likewise.
27643 * localedata/locales/sid_ET: Likewise.
27644 * localedata/locales/sk_SK: Likewise.
27645 * localedata/locales/sl_SI: Likewise.
27646 * localedata/locales/sm_WS: Likewise.
27647 * localedata/locales/so_DJ: Likewise.
27648 * localedata/locales/so_ET: Likewise.
27649 * localedata/locales/so_KE: Likewise.
27650 * localedata/locales/so_SO: Likewise.
27651 * localedata/locales/sq_AL: Likewise.
27652 * localedata/locales/sq_MK: Likewise.
27653 * localedata/locales/sr_ME: Likewise.
27654 * localedata/locales/sr_RS: Likewise.
27655 * localedata/locales/sr_RS@latin: Likewise.
27656 * localedata/locales/ss_ZA: Likewise.
27657 * localedata/locales/st_ZA: Likewise.
27658 * localedata/locales/sv_FI: Likewise.
27659 * localedata/locales/sv_SE: Likewise.
27660 * localedata/locales/sw_KE: Likewise.
27661 * localedata/locales/sw_TZ: Likewise.
27662 * localedata/locales/szl_PL: Likewise.
27663 * localedata/locales/ta_IN: Likewise.
27664 * localedata/locales/ta_LK: Likewise.
27665 * localedata/locales/tcy_IN: Likewise.
27666 * localedata/locales/te_IN: Likewise.
27667 * localedata/locales/tg_TJ: Likewise.
27668 * localedata/locales/th_TH: Likewise.
27669 * localedata/locales/the_NP: Likewise.
27670 * localedata/locales/ti_ER: Likewise.
27671 * localedata/locales/ti_ET: Likewise.
27672 * localedata/locales/tig_ER: Likewise.
27673 * localedata/locales/tk_TM: Likewise.
27674 * localedata/locales/tl_PH: Likewise.
27675 * localedata/locales/tn_ZA: Likewise.
27676 * localedata/locales/to_TO: Likewise.
27677 * localedata/locales/tpi_PG: Likewise.
27678 * localedata/locales/tr_CY: Likewise.
27679 * localedata/locales/tr_TR: Likewise.
27680 * localedata/locales/ts_ZA: Likewise.
27681 * localedata/locales/tt_RU: Likewise.
27682 * localedata/locales/tt_RU@iqtelif: Likewise.
27683 * localedata/locales/ug_CN: Likewise.
27684 * localedata/locales/uk_UA: Likewise.
27685 * localedata/locales/unm_US: Likewise.
27686 * localedata/locales/ur_IN: Likewise.
27687 * localedata/locales/ur_PK: Likewise.
27688 * localedata/locales/uz_UZ: Likewise.
27689 * localedata/locales/uz_UZ@cyrillic: Likewise.
27690 * localedata/locales/ve_ZA: Likewise.
27691 * localedata/locales/vi_VN: Likewise.
27692 * localedata/locales/wa_BE: Likewise.
27693 * localedata/locales/wae_CH: Likewise.
27694 * localedata/locales/wal_ET: Likewise.
27695 * localedata/locales/wo_SN: Likewise.
27696 * localedata/locales/xh_ZA: Likewise.
27697 * localedata/locales/yi_US: Likewise.
27698 * localedata/locales/yo_NG: Likewise.
27699 * localedata/locales/yue_HK: Likewise.
27700 * localedata/locales/yuw_PG: Likewise.
27701 * localedata/locales/zh_CN: Likewise.
27702 * localedata/locales/zh_HK: Likewise.
27703 * localedata/locales/zh_SG: Likewise.
27704 * localedata/locales/zh_TW: Likewise.
27705 * localedata/locales/zu_ZA: Likewise.
27707 2017-11-13 Florian Weimer <fweimer@redhat.com>
27709 * support/next_to_fault.h, support/next_to_fault.c: New files.
27710 * support/Makefile (libsupport-routines): Add next_to_fault.
27711 * resolv/tst-inet_pton.c (struct next_to_fault)
27712 (next_to_fault_allocate, next_to_fault_free): Remove.
27713 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
27715 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
27717 * elf/dl-support.c: Include <dl-procruntime.c>.
27718 * include/link.h: Include <link_map.h>.
27719 * sysdeps/generic/dl-procruntime.c: New file.
27720 * sysdeps/generic/link_map.h: Likewise.
27721 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
27722 the writable ld.so namespace.
27724 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
27726 timezone: pacify GCC -Wstringop-truncation
27727 Problem reported by Martin Sebor in:
27728 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
27729 * timezone/zic.c (writezone): Use memcpy, not strncpy.
27731 2017-11-12 Florian Weimer <fweimer@redhat.com>
27733 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
27735 (tests): Add tst-xreadlink.
27736 * support/support.h (xstrndup): Declare.
27737 * support/xunistd.h (xunlink, xreadlink): Declare.
27738 * support/temp_file.h (support_create_temp_directory): Declare.
27739 * support/temp_file.c (support_create_temp_directory): New function.
27740 * support/support_chroot.c (support_chroot_create): Use it.
27741 * support/xreadlink.c: New file.
27742 * support/xstrndup.c: Likewise.
27743 * support/xunlink.c: Likewise.
27744 * support/tst-xreadlink.c: Likewise.
27746 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
27748 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
27750 2017-11-11 Florian Weimer <fweimer@redhat.com>
27754 * resolv/res_comp.c (printable_string, binary_hnok)
27755 (binary_leading_dash): New functions.
27756 (res_hnok): Reimplement using these functions and ns_name_pton.
27757 (res_ownok): Likewise.
27758 (res_mailok): Reimplement using printable_string, ns_name_pton and
27760 (res_dnok): Reimplement using printable_string and ns_name_pton.
27761 * resolv/tst-res_hnok.c (tests): Add additional tests.
27762 (LETTERDIGITS, PRINTABLE): Define.
27763 (do_test): Adjust one_char results.
27765 2017-11-11 Florian Weimer <fweimer@redhat.com>
27768 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
27769 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
27771 2017-11-11 Florian Weimer <fweimer@redhat.com>
27773 * resolv/tst-ns_name_pton.c: New file.
27774 * resolv/Makefile (tests): Add tst-ns_name_pton.
27775 (tst-ns_name_pton): Link against libresolv.
27777 2017-11-11 Florian Weimer <fweimer@redhat.com>
27779 * resolv/tst-res_hnok.c: New file.
27780 * resolv/Makefile (tests): Add tst-res_hnok.
27781 (tst-res_hnok): Link against libresolv.
27783 2017-11-11 Florian Weimer <fweimer@redhat.com>
27785 * resolv/tst-resolv-network.c: Use test framework instead explicit
27788 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
27790 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
27791 <jmp_buf-macros.h>.
27792 [!_ISOMAC] (STR_HELPER): New.
27793 [!_ISOMAC] (STR): Likewise.
27794 [!_ISOMAC] (TEST_SIZE): Likewise.
27795 [!_ISOMAC] (TEST_ALIGN): Likewise.
27796 [!_ISOMAC] (TEST_OFFSET): Likewise.
27797 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
27798 field offsets of jmp_buf as well as sigjmp_buf.
27799 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
27800 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
27801 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
27802 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
27803 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
27804 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
27805 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
27806 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
27807 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
27808 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
27810 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
27812 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
27813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
27815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
27817 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
27818 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
27819 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
27820 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
27821 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
27822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
27824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
27826 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
27827 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
27828 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
27830 2017-11-07 Joseph Myers <joseph@codesourcery.com>
27833 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27834 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
27835 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27836 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
27837 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27838 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
27839 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27840 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
27841 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27842 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
27843 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27844 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
27845 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27846 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
27847 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27848 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
27849 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27850 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
27851 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27852 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
27853 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27854 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
27855 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27856 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
27857 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27858 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
27859 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27860 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
27861 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27862 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
27863 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27864 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
27865 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27866 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
27867 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27868 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
27869 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27870 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
27871 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27872 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
27873 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27874 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
27875 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27876 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
27877 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27878 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
27879 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27880 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
27881 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27882 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
27883 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27884 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
27885 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27886 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
27887 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27888 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
27889 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27890 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
27891 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27892 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
27893 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27894 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
27895 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27896 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
27897 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27898 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
27899 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27900 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
27901 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27902 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
27903 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27904 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
27905 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27906 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
27907 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27908 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
27909 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27910 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
27911 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27912 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
27913 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27914 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
27915 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27916 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
27917 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27918 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
27919 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27920 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
27922 * stdlib/tst-strtod.h (F16): New macro.
27928 (IF_FLOAT16): Likewise.
27929 (IF_FLOAT32): Likewise.
27930 (IF_FLOAT64): Likewise.
27931 (IF_FLOAT32X): Likewise.
27932 (IF_FLOAT64X): Likewise.
27933 (IF_FLOAT128X): Likewise.
27934 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
27935 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
27936 (STRTOD_TEST_FOREACH): Likewise.
27937 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
27938 (CHOOSE_f64): Likewise.
27939 (CHOOSE_f32x): Likewise.
27940 (CHOOSE_f64x): Likewise.
27942 2017-11-07 Andreas Schwab <schwab@suse.de>
27944 * nptl/Makefile (tests-internal): Remove tst-typesizes.
27946 2017-11-07 Mike FABIAN <mfabian@redhat.com>
27949 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
27951 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
27954 2017-11-07 Claude Paroz <claude@2xlibre.net>
27957 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
27959 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
27961 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
27964 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27967 * nptl/allocatestack.c (allocate_stack): Check if
27968 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
27969 __PTHREAD_MUTEX_HAVE_PREV is defined.
27970 * nptl/descr.h (pthread): Likewise.
27971 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
27973 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
27974 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
27975 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
27976 * sysdeps/nptl/bits/thread-shared-types.h
27977 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
27979 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
27980 of __WORDSIZE for internal layout.
27981 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
27982 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
27983 instead of __WORDSIZE whether to use an union for __spins and __list
27985 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
27987 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
27988 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
27990 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
27991 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27993 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
27994 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27996 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
27997 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27999 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
28000 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28002 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
28003 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28005 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
28006 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28008 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
28009 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28011 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
28012 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28014 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
28015 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28017 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
28018 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28020 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
28021 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28023 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
28024 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28026 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
28027 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28029 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
28030 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28033 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
28035 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
28036 checks for expected input type size.
28037 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
28038 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28040 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28041 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
28042 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
28043 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
28044 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
28045 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
28046 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
28047 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
28048 superflous runtime assert check.
28049 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
28051 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
28053 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
28055 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
28057 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
28059 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
28061 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
28062 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
28063 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
28065 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
28067 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
28069 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
28071 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
28073 * nptl/pthread_attr_setinheritsched.c
28074 (__pthread_attr_setinheritsched): Likewise.
28075 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
28077 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
28079 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
28080 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
28081 __old_pthread_attr_setstack): Likewise.
28082 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
28084 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
28086 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
28088 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
28089 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
28091 * nptl/tst-typesizes.c: Remove file.
28093 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
28094 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
28095 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
28096 checks for internal pthread_mutex_t offsets.
28097 * sysdeps/aarch64/nptl/pthread-offsets.h
28098 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
28099 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
28100 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
28101 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
28102 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
28103 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
28104 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
28105 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
28106 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
28107 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
28108 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
28109 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
28110 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
28111 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
28112 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
28113 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
28114 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
28115 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
28117 2017-11-07 Florian Weimer <fweimer@redhat.com>
28119 * bits/mman-linux.h: Move ...
28120 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
28122 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
28125 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28127 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
28128 Redefine STRNLEN as __strnlen_power8.
28130 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28132 * signal/sighold.c (sighold): Optimize implementation.
28134 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
28135 __NR_rt_sigqueueinfo.
28137 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
28139 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
28140 assume __NR_rt_sigtimedwait.
28141 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
28142 and add LIBC_CANCEL_HANDLED for cancellation marking.
28143 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
28145 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28146 (sysdeps_routines): Add memchr_noneon.
28147 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
28148 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
28149 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
28150 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
28151 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
28152 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
28153 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
28155 * sysdeps/arm/arm-ifunc.h: New file.
28156 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
28157 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
28158 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
28159 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
28160 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
28161 (__memcpy_neon): Avoid create hidden alias.
28162 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
28163 (__memcpy_vfp): Likewise.
28164 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28165 (sysdep_routines): Add memcpy_arm.
28166 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
28168 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
28171 * Makerules (make-link-multidir): New.
28172 * config.make.in (multidir): New.
28173 * configure.ac (libc_cv_multidir): New. AC_SUBST.
28174 * configure: Regenerated.
28175 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
28176 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
28177 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
28180 2017-11-06 Joseph Myers <joseph@codesourcery.com>
28183 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
28184 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
28186 2017-11-04 Mike FABIAN <mfabian@redhat.com>
28188 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
28191 2017-11-04 Florian Weimer <fweimer@redhat.com>
28193 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
28195 2017-11-03 Joseph Myers <joseph@codesourcery.com>
28197 * math/math.h [__HAVE_DISTINCT_FLOAT16
28198 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
28199 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
28200 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
28201 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
28202 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
28203 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
28204 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28205 (__MATH_TG_F32): New macro.
28206 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28207 (__MATH_TG_F64X): Likewise.
28208 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28209 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
28211 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
28213 * po/de.po: Update translations.
28214 * po/ru.po: Likewise.
28216 2017-11-03 Florian Weimer <fweimer@redhat.com>
28218 * manual/filesys.texi (Hard Links): Document linkat.
28220 2017-11-03 Joseph Myers <joseph@codesourcery.com>
28222 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
28223 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
28224 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
28225 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
28226 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
28227 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
28228 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
28229 the same as _Float128.
28230 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
28231 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
28232 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
28235 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
28237 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
28239 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
28241 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28242 (strtof32x): Likewise.
28243 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28244 (strtof64x): Likewise.
28245 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28246 (strtof128x): Likewise.
28247 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28248 (strfromf16): Likewise.
28249 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28250 (strfromf32): Likewise.
28251 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28252 (strfromf64): Likewise.
28253 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28254 (strfromf32x): Likewise.
28255 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28256 (strfromf64x): Likewise.
28257 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28258 (strfromf128x): Likewise.
28259 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
28260 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
28261 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
28262 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
28263 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
28264 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
28266 2017-11-03 Richard Henderson <rth@twiddle.net>
28268 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
28270 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28272 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
28274 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28276 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
28277 DT_TLSDESC_GOT initialization.
28278 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
28279 (_dl_tlsdesc_resolve_hold): Likewise.
28280 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
28281 (_dl_tlsdesc_resolve_hold): Likewise.
28282 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
28283 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
28285 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28287 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
28289 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28292 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
28293 non-lazily for R_ARM_TLS_DESC.
28295 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28298 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
28299 R_ARM_TLS_DESC case.
28300 (elf_machine_lazy_rel): Remove the prelink check.
28302 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28304 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
28305 DT_TLSDESC_GOT initialization.
28306 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
28307 (_dl_tlsdesc_resolve_rela): Likewise.
28308 (_dl_tlsdesc_resolve_hold): Likewise.
28309 (_dl_tlsdesc_undefweak): Remove ldar.
28310 (_dl_tlsdesc_dynamic): Likewise.
28311 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
28312 (_dl_tlsdesc_resolve_rela): Likewise.
28313 (_dl_tlsdesc_resolve_hold): Likewise.
28314 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
28315 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
28316 (_dl_tlsdesc_resolve_rela): Likewise.
28317 (_dl_tlsdesc_resolve_hold): Likewise.
28319 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28321 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
28322 binding and initialization non-lazily for R_AARCH64_TLSDESC.
28324 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28326 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
28327 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
28329 2017-11-02 Joseph Myers <joseph@codesourcery.com>
28331 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
28333 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
28334 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
28335 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
28336 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
28337 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
28338 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
28339 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
28340 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
28341 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
28342 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
28343 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
28345 2017-11-02 Mike FABIAN <mfabian@redhat.com>
28348 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
28349 * localedata/locales/tpi_PG: Add standard header.
28351 2017-11-02 Florian Weimer <fweimer@redhat.com>
28353 test-errno-linux: quotactl can fail with EPERM in containers.
28354 * sysdeps/unix/sysv/linux/test-errno-linux.c
28355 (LIST, LIST_FORWARD): New macros.
28356 (check_error_in_list): New function.
28357 (test_wrp_rv): Accept list of permitted error codes.
28358 (test_wrp_rv2): Remove.
28359 (test_wrp): Call test_wrp_rv with list of error codes.
28360 (test_wrp2): Accept list of error codes.
28361 (do_test): Adjust. Allow EPERM for quotactl.
28363 2017-11-02 Florian Weimer <fweimer@redhat.com>
28365 * stdio-common/bug16.c (do_test): Use array_length.
28366 * stdio-common/errlist.c (_sys_nerr): Likewise.
28367 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
28368 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
28369 * stdio-common/psiginfo.c (psiginfo): Use array_length.
28370 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
28371 (do_test): Use array_length.
28372 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
28373 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
28374 * stdio-common/tst-printf-round.c (do_test): Likewise.
28375 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
28376 (CHECK): Use array_length.
28377 * stdio-common/tstdiomisc.c (t3, F): Likewise.
28378 * stdio-common/tstscanf.c (main): Likewise.
28379 * stdio-common/vfprintf.c (process_string_arg): Likewise.
28381 2017-11-02 Florian Weimer <fweimer@redhat.com>
28383 Add array_length and array_end macros.
28384 * include/array_length.h: New file.
28386 2017-11-02 Florian Weimer <fweimer@redhat.com>
28389 * posix/tst-glob-tilde.c (do_noescape): New variable.
28390 (one_test): Process it.
28391 (do_test): Set do_noescape. Add unescaping test case.
28393 2017-11-01 Joseph Myers <joseph@codesourcery.com>
28396 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
28397 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
28398 with appropriate macros defined and undefined.
28399 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
28400 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28401 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
28402 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28403 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
28404 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28405 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
28406 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28407 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
28408 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28411 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
28412 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
28413 that for long double. Do not condition define and undefine of
28414 _Mdouble_complex_ on [__CFLOAT128].
28416 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
28418 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
28419 of <sysdeps/generic/sysdep.h>.
28420 (ALIGNARG): Removed.
28421 (ASM_SIZE_DIRECTIVE): Likewise.
28424 (ENTRY_CHK): Likewise.
28425 (END_CHK): Likewise.
28426 (syscall_error): Likewise.
28427 (mcount): Likewise.
28428 (PSEUDO_END): Likewise.
28430 (atom_text_section): Likewise.
28431 * sysdeps/x86/sysdep.h: New file.
28432 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
28433 of <sysdeps/generic/sysdep.h>.
28434 (ALIGNARG): Removed.
28435 (ASM_SIZE_DIRECTIVE): Likewise.
28438 (ENTRY_CHK): Likewise.
28439 (END_CHK): Likewise.
28440 (syscall_error): Likewise.
28441 (mcount): Likewise.
28442 (PSEUDO_END): Likewise.
28444 (atom_text_section): Likewise.
28446 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
28448 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
28449 category of LC_CTYPE set to "i18n:2012".
28450 * localedata/locales/i18n_ctype: Regenerate.
28452 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
28454 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
28455 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
28456 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
28457 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
28459 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
28460 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
28461 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
28462 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
28464 2017-10-31 Joseph Myers <joseph@codesourcery.com>
28467 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
28469 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
28471 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
28473 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28474 (CMPLXF32X): Likewise.
28475 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28476 (CMPLXF64X): Likewise.
28477 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28478 (CMPLXF128X): Likewise.
28481 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
28482 (__MATH_EVAL_FMT2): Define to add 0.0f.
28484 2017-10-31 Alan Modra <amodra@gmail.com>
28486 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
28488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
28489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
28490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
28491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
28492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
28493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
28494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
28495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
28496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
28497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
28498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
28499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
28500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
28501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
28502 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
28503 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
28504 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
28505 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
28506 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
28507 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
28508 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
28509 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
28510 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
28511 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
28512 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
28513 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
28514 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
28515 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
28516 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
28517 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
28518 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
28519 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
28520 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
28521 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
28522 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
28523 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
28524 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
28525 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
28526 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
28527 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
28528 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
28529 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
28530 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
28531 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
28532 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
28533 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
28534 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
28535 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
28536 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
28537 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
28538 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
28539 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
28540 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
28541 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
28542 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
28543 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
28544 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
28545 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
28546 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
28547 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
28548 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
28549 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
28550 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
28551 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
28552 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
28553 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
28554 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
28555 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
28556 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
28558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
28559 include sysdep.h and math_ldbl_opt.h.
28561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
28562 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
28563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
28564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
28565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
28566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
28567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
28568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
28569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
28570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
28571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
28572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
28573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
28574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
28575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
28576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
28577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
28578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
28579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
28580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
28581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
28582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
28583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
28584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
28585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
28586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
28588 2017-10-31 Alan Modra <amodra@gmail.com>
28590 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
28591 string/strncase_l.c, not string/strncase.c.
28592 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
28593 (libc_hidden_def): Redefine.
28595 2017-10-31 Alan Modra <amodra@gmail.com>
28597 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
28598 (__STRCMP, STRCMP, __strcasecmp_l): Define.
28599 (__strcasecmp): Don't define.
28601 2017-10-31 Alan Modra <amodra@gmail.com>
28603 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
28605 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
28606 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
28607 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
28609 2017-10-31 Alan Modra <amodra@gmail.com>
28611 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
28614 2017-10-31 Alan Modra <amodra@gmail.com>
28616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
28617 Redefine only when SHARED.
28619 2017-10-30 Joseph Myers <joseph@codesourcery.com>
28621 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
28622 Include <bits/math-finite.h> with appropriate macros defined and
28624 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
28625 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
28626 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
28627 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
28628 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
28630 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
28631 [!_Mlong_double_] (_Mlong_double_): Likewise.
28632 [!_Mfloat16_] (_Mfloat16_): Likewise.
28633 [!_Mfloat32_] (_Mfloat32_): Likewise.
28634 [!_Mfloat64_] (_Mfloat64_): Likewise.
28635 [!_Mfloat128_] (_Mfloat128_): Likewise.
28636 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
28637 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
28638 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
28639 (_Mdouble_): Define without indirection through those macros.
28640 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
28641 [!_Mfloat128_] (_Mfloat128_): Likewise.
28642 [_Mlong_double_] (_Mlong_double_): Likewise.
28643 (_Mdouble_): Define without indirection through those macros.
28644 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
28645 not add -D_Mlong_double_=double.
28646 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
28647 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
28649 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
28651 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
28653 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
28655 * sysdeps/x86/libc-start.c: Reformat.
28657 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
28660 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
28661 (1): Renamed to ...
28664 (L(Src2)): Likewise.
28665 (L(1)): Renamed to ...
28668 2017-10-30 Joseph Myers <joseph@codesourcery.com>
28670 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
28671 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
28672 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
28673 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
28674 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
28675 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
28676 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
28677 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
28678 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
28679 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
28680 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
28681 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
28682 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
28683 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
28684 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
28685 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
28686 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
28687 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
28688 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
28689 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
28690 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
28691 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
28692 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
28693 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
28694 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
28695 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
28696 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
28697 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
28698 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
28699 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
28700 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
28701 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
28702 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
28703 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
28704 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
28705 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
28706 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
28707 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
28708 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
28709 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
28710 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
28711 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
28712 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
28713 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
28714 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
28715 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
28716 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
28717 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
28718 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
28719 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
28720 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
28721 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
28722 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
28723 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
28724 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
28725 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
28726 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
28727 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
28728 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
28729 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
28730 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
28731 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
28732 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
28733 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
28734 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
28735 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
28737 2017-10-30 Florian Weimer <fweimer@redhat.com>
28739 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
28741 * io/tst-mkdirat.c (do_test): Likewise.
28742 * io/tst-mkfifoat.c (do_test): Likewise.
28743 * io/tst-mknodat.c (do_test): Likewise.
28744 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
28745 * locale/programs/locale.c (select_dirs): Likewise.
28746 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
28747 * posix/bug-glob2.c (my_readdir): Likewise.
28748 * posix/tst-dir.c (main): Likewise.
28749 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
28750 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
28752 2017-10-30 Florian Weimer <fweimer@redhat.com>
28754 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
28757 2017-10-30 Florian Weimer <fweimer@redhat.com>
28759 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
28760 Convert to support/test-driver.c.
28761 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
28762 New macro parameters.
28763 (PRINTF): Remove macro. Use test_verbose conditionals instead.
28764 * posix/tst-gnuglob.c: New file.
28765 * posix/tst-gnuglob64.c: Likewise.
28766 * posix/Makefile (tests): Add tst-gnuglob64.
28768 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
28771 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
28772 and use a better translation for March in “mon”.
28773 * localedata/locales/csb_PL: Use more ASCII to improve the
28774 readability of the source.
28776 2017-10-30 Mike FABIAN <mfabian@redhat.com>
28779 * localedata/locales/km_KH: Use ASCII as much
28780 as possible for better readability of the source and
28781 remove useless comments.
28782 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
28783 was commented out and apparently wrong anyway because it was
28784 using Lao characters. If Buddhist era should be used
28785 for km_KH, a native speaker should write the correct formaat
28787 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
28788 (According to CLDR, the first weekday for Cambodia is Sunday).
28789 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
28790 (These were using Lao characters which must be wrong. If we get
28791 the correct data from a native speaker, we could add it back, until
28792 then it is better not to have name_mr and name_mrs at all than
28795 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
28797 * locale/loadlocale.c: Correct size of
28798 _nl_value_type_LC_<category> arrays.
28800 2017-10-27 Joseph Myers <joseph@codesourcery.com>
28802 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
28803 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
28804 with appropriate macros defined and undefined.
28805 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
28806 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
28807 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
28808 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
28809 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
28811 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
28813 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
28816 2017-10-27 Mike FABIAN <mfabian@redhat.com>
28818 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
28819 with lowercase letters to make it agree with CLDR.
28821 2017-10-27 Mike FABIAN <mfabian@redhat.com>
28824 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
28825 first letters of yesstr and nostr in yesexpr and noexpr,
28826 not for the full words.
28827 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
28828 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
28829 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
28830 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
28831 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
28832 first letters of yesstr and nostr in yesexpr and noexpr,
28833 until now only English was matched in yesexpr and noexpr.
28834 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
28835 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
28836 fil but not for tl. As tl and fil are very similar, using fil
28837 is probably better than using English.
28839 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
28842 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
28843 in yesstr and nostr.
28845 2017-10-26 Joseph Myers <joseph@codesourcery.com>
28847 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
28848 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
28849 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
28851 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
28853 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
28855 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
28857 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28858 (SNANF128X): Likewise.
28860 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
28861 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
28862 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28863 (HUGE_VAL_F32): Likewise.
28864 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28865 (HUGE_VAL_F64): Likewise.
28866 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28867 (HUGE_VAL_F32X): Likewise.
28868 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28869 (HUGE_VAL_F64X): Likewise.
28870 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28871 (HUGE_VAL_F128X): Likewise.
28873 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
28875 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
28876 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
28877 for the br_FR locale.
28879 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
28882 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
28884 2017-10-25 Carlos O'Donell <carlos@redhat.com>
28886 * locale/programs/record-status.h: Define globals, and function
28887 prototypes. Move function bodies...
28888 * locale/programs/record-status.c: ... to here. New file.
28889 * iconv/Makefile (iconv_prog-modules): Add record-status.
28890 * locale/Makefile (lib-modules): Likewise.
28891 * iconv/iconv_prog.c: Remove verbose.
28892 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
28893 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
28894 record a warning about ASCII compatibility.
28895 * locale/programs/ld-monetary.c (monetary_finish): If
28896 warn_int_curr_symbol is true then record a warning about the symbol
28897 not being in our ISO 4217 list.
28898 * locale/programs/locale.c: Include record-status.h. Remove verbose.
28899 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
28900 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
28901 (OPT_NO_WARN): Define.
28902 (OPT_WARN): Define.
28903 (options): Add entry for --no-warnings, and --warnings.
28904 (set_warnings): New function to enable/disable warnings.
28905 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
28906 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
28907 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
28908 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
28909 Pass flags to generate_locale.
28910 (generate_locale): Accept new flag argument and pass it to localedef
28912 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
28913 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
28915 * localedata/Makefile (test-input-data): Use full file name.
28916 * localedata/da_DK.in: Rename to...
28917 * localedata/da_DK.ISO-8859-1.in: ...this.
28918 * localedata/de_DE.in: Rename to...
28919 * localedata/de_DE.ISO-8859-1.in: ...this.
28920 * localedata/en_US.in: Rename to...
28921 * localedata/en_US.ISO-8859-1.in: ...this.
28922 * localedata/fr_FR.in: Rename to...
28923 * localedata/fr_FR.UTF-8.in: ... this.
28924 * localedata/hr_HR.in: Rename to...
28925 * localedata/hr_HR.ISO-8859-2.in: ...this.
28926 * localedata/hu_HU.in: Rename to...
28927 * localedata/hu_HU.UTF-8.in: ...this.
28928 * localedata/si_LK.in: Rename to...
28929 * localedata/si_LK.UTF-8.in: ...this.
28930 * localedata/sv_SE.in: Rename to...
28931 * localedata/sv_SE.ISO-8859-1.in: ...this.
28932 * localedata/tr_TR.in: Rename to...
28933 * localedata/tr_TR.UTF-8.in: ...this.
28934 * localedata/uk_UA.in: Rename to...
28935 * localedata/uk_UA.UTF-8.in: ...this.
28936 * localedata/sort-test.sh: Test file is locale name with the
28939 * localedata/unicode-gen/Makefile (check_i18n): Rename to
28940 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
28942 * localedata/locales/i18n_ctype: Regenerate.
28943 * localedata/locales/tr_TR: Likewise.
28944 * localedata/locales/translit_circle: Likewise.
28945 * localedata/locales/translit_cjk_compat: Likewise.
28946 * localedata/locales/translit_combining: Likewise.
28947 * localedata/locales/translit_compat: Likewise.
28948 * localedata/locales/translit_font: Likewise.
28949 * localedata/locales/translit_fraction: Likewise.
28951 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28953 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
28954 lxvd2x/stxvd2x with lvx/stvx.
28955 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
28957 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
28959 * include/alloc_buffer.h: Replace "if if " with "if " in
28961 * sysdeps/mips/memcpy.S: Likkewise.
28962 * sysdeps/mips/memset.S: Likewise.
28963 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
28965 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
28967 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
28970 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28973 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
28974 yesexpr and noexpr.
28975 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
28976 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
28977 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
28978 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
28979 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
28980 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
28981 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
28983 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28985 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
28986 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
28987 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
28988 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
28989 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
28990 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
28991 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
28992 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
28993 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
28994 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
28995 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
28996 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
28998 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29000 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
29001 as possible for better readability of the source.
29002 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
29003 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
29004 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
29005 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
29006 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
29007 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
29008 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
29009 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
29010 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
29011 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
29012 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
29013 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
29014 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
29015 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
29016 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
29017 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
29018 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
29019 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
29020 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
29021 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
29022 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
29023 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
29024 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
29025 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
29026 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
29027 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
29028 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
29029 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
29030 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
29031 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
29032 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
29033 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
29034 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
29035 * localedata/locales/en_US (LC_MESSAGES): Likewise.
29036 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
29037 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
29038 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
29039 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
29040 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
29041 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
29042 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
29043 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
29044 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
29045 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
29046 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
29047 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
29048 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
29049 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
29050 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
29051 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
29052 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
29053 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
29054 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
29055 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29056 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29057 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
29058 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
29059 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29060 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
29061 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
29062 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
29063 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
29064 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
29065 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
29066 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
29067 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
29068 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
29069 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
29070 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
29071 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
29072 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
29073 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
29074 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
29075 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
29076 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29077 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
29078 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
29079 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
29080 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
29081 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
29082 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
29083 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
29084 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
29085 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29086 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
29087 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
29088 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
29089 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29090 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
29091 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
29092 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
29093 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
29094 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29095 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
29096 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
29097 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29098 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
29099 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29100 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
29101 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
29102 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
29103 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
29104 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
29105 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
29106 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
29107 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
29108 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
29109 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
29110 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
29111 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
29112 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
29113 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
29114 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
29115 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
29116 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
29117 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
29118 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
29119 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
29120 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
29121 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
29122 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
29123 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
29124 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
29125 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
29126 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
29127 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
29128 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
29129 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
29130 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
29131 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
29132 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
29133 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
29134 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
29135 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
29136 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
29137 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
29138 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
29139 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
29140 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
29141 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
29142 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
29143 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
29144 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
29145 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
29146 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
29147 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29148 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
29149 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
29150 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
29151 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
29152 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
29153 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
29154 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
29155 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
29156 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29157 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
29158 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
29159 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
29160 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
29161 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
29162 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
29163 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
29164 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
29165 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
29166 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
29167 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29168 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
29169 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
29170 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
29171 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
29172 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29173 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29174 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29175 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
29177 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29179 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
29180 (Use first letters of yesstr and nostr correctly instead of using
29183 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29185 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
29186 (Use first letters of yesstr and nostr correctly).
29188 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29190 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
29191 also check for the first characters of yesstr and nostr.
29192 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
29193 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
29195 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29197 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
29198 also check for Chinese characters.
29200 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29202 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
29203 match also for the contents of yesstr and nostr. As the first letter
29204 of yesstr and nostr is equal, checking only for the first letter
29207 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29209 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
29210 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
29212 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29214 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
29215 of main contributor.
29217 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29219 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
29220 instead of using English.
29222 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29224 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
29225 by including the first letters of nostr and yesexpr in the regexp.
29226 Also make it more readable by using ASCII where possible.
29228 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29230 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
29231 the first letter of nostr in the regexp. It agrees with CLDR now.
29232 Also make it more readable by using ASCII where possible.
29234 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29236 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
29237 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
29238 these strings contain a U+17D6 (which somewhat looks like a colon)
29239 instead of a real colon to separate the full words for “yes”
29240 and “no” from the single letter responses.
29242 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29244 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
29245 it agree with CLDR (include the first letter of yesstr).
29246 Also make it more readable by using ASCII where possible.
29248 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29250 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
29251 and improve yesexpr and noexpr. The yesstr and nostr apparently
29252 came from CLDR. And CLDR has a bug there: these strings contain
29253 a U+0903 (which looks like a colon) instead of a real colon
29254 to separate the full words for “yes” and “no” from the single
29257 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29259 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
29260 letters of the full yesstr and nostr in yesexpr and noexpr.
29262 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29264 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
29265 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
29266 * localedata/locales/an_ES: Make source more readable by using ASCII
29269 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29272 * localedata/locales/yuw_PG: New file.
29273 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
29274 * locale/iso-639.def: Add Yau (Uruwa).
29276 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
29278 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
29280 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
29282 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
29283 (__libc_realloc): Likewise.
29284 (_mid_memalign): Likewise.
29285 (__libc_calloc): Likewise.
29287 2017-10-23 Mike FABIAN <mfabian@redhat.com>
29289 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
29290 by adding the generic +1 and -0 as in all other locales.
29291 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
29292 day names and make it more readable by using ASCII where possible.
29294 2017-10-24 Joseph Myers <joseph@codesourcery.com>
29296 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
29297 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
29299 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29301 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
29302 WNOHANG in waitpid call.
29304 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
29306 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
29307 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
29309 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
29310 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
29311 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
29312 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
29313 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
29314 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
29315 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
29316 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
29319 2017-10-23 Michael Collison <michael.collison@arm.com>
29321 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
29322 with __builtin_sqrt.
29323 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
29324 with __builtin_sqrtf.
29325 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
29326 with __builtin_ceil.
29327 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
29328 with __builtin_ceilf.
29329 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
29330 with __builtin_floor.
29331 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
29332 with __builtin_floorf.
29333 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
29334 with __builtin_fma.
29335 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
29336 with __builtin_fmaf.
29337 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
29338 with __builtin_fmax.
29339 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
29340 with __builtin_fmaxf.
29341 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
29342 with __builtin_fmin.
29343 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
29344 with __builtin_fminf.
29345 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
29346 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
29347 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
29348 with builtin_rint and conversion to int.
29349 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
29350 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
29351 with builtin_llround.
29352 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
29353 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
29354 with builtin_rint and conversion to long int.
29355 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
29356 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
29357 with builtin_lround.
29358 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
29359 with builtin_lroundf.
29360 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
29361 statements with __builtin_nearbyint.
29362 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
29363 statements with __builtin_nearbyintf.
29364 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
29365 with __builtin_rint.
29366 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
29367 with __builtin_rintf.
29368 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
29369 with __builtin_round.
29370 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
29371 with __builtin_roundf.
29372 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
29373 with __builtin_trunc.
29374 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
29375 with __builtin_truncf.
29376 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
29377 and s_l[l]round[f].c too.
29379 2017-10-23 Alan Modra <amodra@gmail.com>
29381 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
29382 Adjust stack after restoring regs. Add missing LR cfi_restore.
29384 2017-10-23 Alan Modra <amodra@gmail.com>
29386 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
29387 Move LR save and frame setup/teardown and LR restore to
29388 immediately around memset call. Provide cfi.
29390 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29392 * sysdeps/i386/fpu/e_powf.S: Removed.
29393 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
29394 * sysdeps/i386/fpu/w_powf.c: Likewise.
29395 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
29396 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29397 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29399 (CFLAGS-e_powf-sse2.c): New.
29400 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
29401 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
29403 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29405 * sysdeps/i386/fpu/e_log2f.S: Removed.
29406 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
29407 * sysdeps/i386/fpu/w_log2f.c: Likewise.
29408 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
29409 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29410 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29412 (CFLAGS-e_log2f-sse2.c): New.
29413 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
29414 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
29416 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29418 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29420 (CFLAGS-e_powf-fma.c): New.
29421 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
29422 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
29424 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29426 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29428 (CFLAGS-e_log2f-fma.c): New.
29429 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
29430 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
29432 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29434 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29436 (CFLAGS-e_logf-fma.c): New.
29437 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
29438 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
29440 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29442 * sysdeps/i386/fpu/e_logf.S: Removed.
29443 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
29444 * sysdeps/i386/fpu/w_logf.c: Likewise.
29445 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
29446 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
29447 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29448 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29450 (CFLAGS-e_logf-sse2.c): New.
29451 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
29452 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
29454 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29456 * sysdeps/i386/fpu/e_exp2f.S: Removed.
29457 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
29458 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
29459 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29460 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29462 (CFLAGS-e_exp2f-sse2.c): New.
29463 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
29464 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
29466 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29468 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29470 (CFLAGS-e_exp2f-fma.c): New.
29471 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
29472 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
29474 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29476 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
29477 * sysdeps/i386/fpu/e_expf.S: Likewise.
29478 * sysdeps/i386/fpu/math_errf.c: Likewise.
29479 * sysdeps/i386/fpu/w_expf.c: Likewise.
29480 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
29481 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29482 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
29483 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
29484 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29485 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29486 Remove e_expf-ia32.
29487 (CFLAGS-e_expf-sse2.c): New.
29488 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
29489 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
29491 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29493 * sysdeps/x86_64/fpu/e_expf.S: Removed.
29494 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
29495 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
29496 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
29498 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
29500 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
29501 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
29503 (__redirect_expf): This.
29504 (SYMBOL_NAME): Changed to expf.
29505 (__ieee754_expf): Renamed to ...
29507 (__GI___expf): This.
29508 (__ieee754_expf): Add strong_alias.
29509 (__expf_finite): Likewise.
29511 Include <sysdeps/ieee754/flt-32/e_expf.c>.
29513 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
29516 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
29519 2017-10-21 Florian Weimer <fweimer@redhat.com>
29521 * posix/Makefile (tests): Add tst-glob-tilde.
29522 (tests-special): Add tst-glob-tilde-mem.out
29523 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
29524 (tst-glob-tilde-mem.out): Add mtrace check.
29525 * posix/tst-glob-tilde.c: New file.
29527 2017-10-20 Joseph Myers <joseph@codesourcery.com>
29529 * bits/floatn-common.h: New file.
29530 * math/Makefile (headers): Add bits/floatn-common.h.
29531 * bits/floatn.h: Include <bits/floatn-common.h>.
29532 * sysdeps/ia64/bits/floatn.h: Likewise.
29533 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
29534 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
29535 * sysdeps/powerpc/bits/floatn.h: Likewise.
29536 * sysdeps/x86/bits/floatn.h: Likewise.
29538 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29540 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
29541 indicates whether compiler emits an warning for alias for
29542 functions with incompatible types.
29545 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
29546 the auxiliary process is terminated by a signal before calling _exit
29549 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
29552 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
29554 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
29555 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
29556 and bit_arch_XSAVEC_Usable if needed.
29557 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
29558 and bit_arch_Use_dl_runtime_resolve_opt.
29559 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
29561 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
29562 (bit_arch_Prefer_No_AVX512): Updated.
29563 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
29564 (bit_arch_XSAVEC_Usable): New.
29565 (STATE_SAVE_OFFSET): Likewise.
29566 (STATE_SAVE_MASK): Likewise.
29567 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
29568 (cpu_features): Add xsave_state_size and xsave_state_full_size.
29569 (index_arch_Use_dl_runtime_resolve_opt): Removed.
29570 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
29571 (index_arch_XSAVEC_Usable): New.
29572 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
29573 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
29574 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
29576 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
29577 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
29578 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
29579 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
29580 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
29581 _dl_runtime_resolve_xsavec.
29582 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
29584 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
29585 instead of VEC_SIZE.
29586 (REGISTER_SAVE_BND0): Removed.
29587 (REGISTER_SAVE_BND1): Likewise.
29588 (REGISTER_SAVE_BND3): Likewise.
29589 (REGISTER_SAVE_RAX): Always defined to 0.
29591 (_dl_runtime_resolve_avx): Likewise.
29592 (_dl_runtime_resolve_avx_slow): Likewise.
29593 (_dl_runtime_resolve_avx_opt): Likewise.
29594 (_dl_runtime_resolve_avx512): Likewise.
29595 (_dl_runtime_resolve_avx512_opt): Likewise.
29596 (_dl_runtime_resolve_sse): Likewise.
29597 (_dl_runtime_resolve_sse_vex): Likewise.
29599 (_dl_runtime_resolve_fxsave): Likewise.
29600 (USE_XSAVE): Likewise.
29601 (_dl_runtime_resolve_xsave): Likewise.
29602 (USE_XSAVEC): Likewise.
29603 (_dl_runtime_resolve_xsavec): Likewise.
29604 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
29606 (_dl_runtime_resolve_avx512_opt): Likewise.
29607 (_dl_runtime_resolve_avx): Likewise.
29608 (_dl_runtime_resolve_avx_opt): Likewise.
29609 (_dl_runtime_resolve_sse): Likewise.
29610 (_dl_runtime_resolve_sse_vex): Likewise.
29611 (_dl_runtime_resolve_fxsave): New.
29612 (_dl_runtime_resolve_xsave): Likewise.
29613 (_dl_runtime_resolve_xsavec): Likewise.
29615 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
29619 * posix/glob.c (__glob): Fix one-byte overflow.
29621 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
29623 * malloc/malloc.c (sysdep-cancel.h): Add include.
29625 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
29627 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
29629 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
29631 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
29632 (tests): Remove $(objpfx)ga_test depdendency.
29633 * resolv/ga_test.c: Remove file.
29635 2017-10-20 Mike FABIAN <mfabian@redhat.com>
29638 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
29639 * localedata/locales/kab_DZ: New file.
29641 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
29643 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
29644 _dl_relocate_static_pie instead of _dl_start to compute load
29645 address in static PIE.
29647 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
29649 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
29651 2017-10-20 Mike FABIAN <mfabian@redhat.com>
29654 * localedata/SUPPORTED: Add shn_MM/UTF-8.
29655 * localedata/locales/shn_MM: New file.
29657 2017-10-20 Florian Weimer <fweimer@redhat.com>
29660 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
29661 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
29662 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
29663 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
29664 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
29665 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
29667 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
29669 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29671 2017-10-19 Joseph Myers <joseph@codesourcery.com>
29673 * sysdeps/mips/ieee754/bits/floatn.h: New file.
29676 * sysdeps/mips/bits/long-double.h: Move to ....
29677 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
29679 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
29681 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
29683 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
29684 H.J. Lu <hongjiu.lu@intel.com>
29687 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
29688 GLRO(dl_platform) to NULL.
29689 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
29690 (modules-names): Add tst-platformmod-1 and
29691 x86_64/tst-platformmod-2.
29692 (CFLAGS-tst-platform-1.c): New.
29693 (CFLAGS-tst-platformmod-1.c): Likewise.
29694 (CFLAGS-tst-platformmod-2.c): Likewise.
29695 (LDFLAGS-tst-platformmod-2.so): Likewise.
29696 ($(objpfx)tst-platform-1): Likewise.
29697 ($(objpfx)tst-platform-1.out): Likewise.
29698 (tst-platform-1-ENV): Likewise.
29699 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
29700 * sysdeps/x86_64/tst-platform-1.c: New file.
29701 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
29702 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
29704 2017-10-19 Mike FABIAN <mfabian@redhat.com>
29707 * locale/iso-639.def: Add Karbi.
29708 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
29709 * localedata/locales/mjw_IN: New file.
29711 2017-10-18 Joseph Myers <joseph@codesourcery.com>
29713 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
29714 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
29715 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
29716 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
29717 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
29718 (libm_alias_ldouble_other_r): Also create _Float128 alias.
29719 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
29721 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
29722 (libm_alias_ldouble_other_r): Also create _Float128 alias.
29723 * manual/math.texi (Mathematics): Document additional architecture
29724 support for _Float128.
29725 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
29726 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
29727 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
29728 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29729 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29730 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
29731 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
29732 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
29733 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29734 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
29735 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29736 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
29737 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29738 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
29739 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29741 2017-10-18 Renlin Li <renlin.li@arm.com>
29743 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
29744 _DYNAMIC symbol to calculate load address.
29746 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
29748 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
29749 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
29751 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
29752 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
29754 2017-10-18 Mike FABIAN <mfabian@redhat.com>
29757 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
29758 and improve readability by using more ASCII.
29759 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
29760 and improve readability by using more ASCII.
29762 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
29764 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
29765 not all targets support atomics on bool.
29767 2017-10-17 Joseph Myers <joseph@codesourcery.com>
29769 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
29770 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
29772 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
29773 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
29774 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
29775 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
29776 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
29777 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
29779 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29781 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
29784 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
29787 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
29788 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
29789 (do_check_remalloced_chunk): Fix build bug.
29790 (do_check_malloc_state): Add assert that checks arena->top.
29791 (malloc_consolidate): Remove initialization.
29792 (int_mallinfo): Remove call to malloc_consolidate.
29793 (__libc_mallopt): Clarify why malloc_consolidate is needed.
29795 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
29797 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
29798 (have_fastchunks): Remove.
29799 (clear_fastchunks): Remove.
29800 (set_fastchunks): Remove.
29801 (malloc_state): Add have_fastchunks.
29802 (malloc_init_state): Use have_fastchunks.
29803 (do_check_malloc_state): Remove incorrect invariant checks.
29804 (_int_malloc): Use have_fastchunks.
29805 (_int_free): Likewise.
29806 (malloc_consolidate): Likewise.
29808 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
29810 * malloc/malloc.c (tcache_put): Inline.
29811 (tcache_get): Inline.
29813 2017-10-17 Jordi Mallach <jordi@gnu.org>
29815 Aurelien Jarno <aurelien@aurel32.net>
29817 * localedata/locales/ca_ES@valencia: New file.
29818 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
29820 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
29823 * math/math.h: Let signbit use the builtin in C++ mode with gcc
29826 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29828 * scripts/build-many-glibcs.py (Context.add_all_configs):
29829 Add arm-linux-gnueabihf multiarch extra_glibcs.
29831 * sysdeps/generic/ifunc-init.h: New file.
29832 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
29834 2017-10-17 Mike FABIAN <mfabian@redhat.com>
29837 * localedata/locales/el_GR: Set n_cs_precedes to 0.
29838 * localedata/locales/el_CY: copy "el_GR" because it is identical.
29839 * stdlib/tst-strfmon_l.c: adapt test case.
29841 2017-10-16 Joseph Myers <joseph@codesourcery.com>
29843 * sysdeps/generic/float128-abi.h: New file.
29844 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
29845 non-__prefixed symbols to ....
29846 * math/Versions: ... here. Include <float128-abi.h>.
29847 * stdlib/Versions ... and here. Include <float128-abi.h>
29849 2017-10-16 Florian Weimer <fweimer@redhat.com>
29851 * version.h (VERSION): Switch to ".9000" as the development
29854 2017-10-16 Florian Weimer <fweimer@redhat.com>
29857 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
29858 compat_symbol_reference to access non-default version.
29860 2017-10-16 Florian Weimer <fweimer@redhat.com>
29862 * malloc/Makefile (others-extras): Set to mcheck-init.o.
29864 2017-10-16 Carlos O'Donell <carlos@redhat.com>
29866 * include/shlib-compat.h (compat_symbol_reference): Update
29869 2017-10-16 Joseph Myers <joseph@codesourcery.com>
29871 * math/Makefile (test-types): Add
29872 $(type-float128-$(float128-alias-fcts)).
29873 * math/test-float128.h (TYPE_STR): Define conditional on
29874 [FLT128_MANT_DIG == LDBL_MANT_DIG].
29875 (ULP_IDX): Likewise.
29876 (ULP_I_IDX): Likewise.
29878 * stdlib/strtold.c: Include <bits/floatn.h>
29879 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
29880 and later undefine as macro. Define as weak alias if
29882 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
29883 and later undefine as macro. Define as weak alias if
29885 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
29886 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
29887 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
29888 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
29889 Define and later undefine as macro. Define as weak alias if
29891 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
29893 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
29894 Define and later undefine as macro. Define as weak alias if
29896 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
29897 Define and later undefine as macro. Define as weak alias if
29900 2017-10-15 Carlos O'Donell <carlos@redhat.com>
29902 * localedata/collate-test.c (allocate_arrays): Don't use \n in
29903 record_verbose messages.
29905 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
29908 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
29909 to silence -O3 -Wall warning with GCC 7.
29911 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
29913 * Makeconfig (+link-static-before-libc): Use the first of
29914 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
29915 * gmon/Makefile (tests): Add tst-gmon-static.
29916 (tests-static): Likewise.
29917 (CFLAGS-tst-gmon-static.c): New.
29918 (CRT-tst-gmon-static): Likewise.
29919 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
29920 (tst-gmon-static-ENV): Likewise.
29921 (tests-special): Likewise.
29922 ($(objpfx)tst-gmon-static.out): Likewise.
29923 (clean-tst-gmon-static-data): Likewise.
29924 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
29925 * gmon/tst-gmon-static-gprof.sh: New file.
29926 * gmon/tst-gmon-static.c: Likewise.
29928 2017-10-13 Carlos O'Donell <carlos@redhat.com>
29931 * locale/programs/linereader.c (get_string): Don't warn on
29932 non-symbolic character.
29935 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
29939 * locale/programs/record-status.h: New file
29940 * locale/programs/locale.c: Add comment.
29941 * locale/programs/charmap-dir.c: Don't include error.h.
29942 (charmap_opendir): Use record_error.
29943 * locale/programs/charmap.c: Don't include error.h.
29944 (charmap_read): Use record_error, and record_warning.
29945 (parse_charmap): Likewise.
29946 * locale/programs/ld-address.c: Don't include error.h.
29947 (address_finish): Use record_error, and record_warning.
29948 * locale/programs/ld-collate.c: Don't include error.h.
29949 (collate_finish): Use record_error, and record_error_at_line.
29950 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
29951 (ctype_class_new): Likewise.
29952 (ctype_map_new): Likewise.
29953 (set_one_default): Likewise.
29954 (set_class_defaults): Likewise.
29955 (translit_flatten): Likewise.
29956 (allocate_arrays): Use record_error, and record_verbose.
29957 * locale/programs/ld-identification.c: Don't include error.h.
29958 (indentation_finish): Use record_error and record_warning.
29959 * locale/programs/ld-measurement.c: Don't include error.h.
29960 (measurement_finish): Use record_error.
29961 * locale/programs/ld-messages.c
29962 (message_finish): Likewise.
29963 * locale/programs/ld-monetary.c
29964 (monetary_finish): Likewise.
29965 * locale/programs/ld-name.c (name_finish): Use record_error
29966 and record_warning.
29967 * locale/programs/ld-numeric.c
29968 (numeric_finish): Use record_error.
29969 * locale/programs/ld-paper.c: Don't include error.h.
29970 (paper_finish): Use record_error.
29971 * locale/programs/ld-telephone.c: Don't include error.h.
29972 (telephone_finish): Use record_error.
29973 * locale/programs/ld-time.c (time_finish): Likewise.
29974 * locale/programs/linereader.h (lr_error): Make inline func.
29975 * locale/programs/localedef.c: Define recorded_warning_count,
29976 and recorded_error_count.
29977 (main): Use record_error. Use recorded_error_count and
29978 recorded_warning_count to issue correct error returns.
29979 (add_to_readlist): Use record_error.
29980 (find_locale): Likewise.
29981 (load_locale): Likewise.
29982 * locale/programs/localedef.h: Remove be_quiet
29983 and WITH_CUR_LOCALE.
29984 * locale/programs/locarchive.c (compare_from_file): Use
29986 * locale/programs/locfile.c (write_locale_data): Use
29988 * locale/programs/repertoire.c: Dont include error.h.
29989 (repertoire_complain): Use record_error.
29990 * localedata/tst-fmon.sh: Expect failures from localedef.
29991 * localedata/tst-locale.sh: Likewise.
29992 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
29994 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
29995 (REPORTS): Likewise.
29997 (i18n): Rename to...
29998 (i18n_ctype): ...this.
29999 (i18n-report): Rename to...
30000 (i18n_ctype-report): ...this.
30001 * localedata/locales/i18n_ctype: Regenerate.
30002 * localedata/locales/i18n: copy i18n_ctype.
30004 2017-10-13 Joseph Myers <joseph@codesourcery.com>
30006 * stdlib/strfroml.c: Include <bits/floatn.h>.
30007 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
30008 Define before include of <stdlib.h> and undefine afterwards, then
30009 define as weak alias.
30011 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
30012 Undefine and restore default definition. Use
30013 libm_alias_ldouble_other.
30015 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
30018 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
30021 2017-10-13 James Clarke <jrtc27@jrtc27.com>
30023 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30024 Assign sym_map to be map for local symbols, as TLS relocations
30025 use sym_map to determine whether the symbol is defined and to
30026 extract the TLS information.
30027 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30028 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30030 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30033 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
30034 (math_force_eval): Add powerpc version.
30037 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
30039 (do_test): Likewise.
30040 * stdio-common/tst-printf.sh: Likewise.
30041 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
30042 ifdef clause in order to set the carry bit right. Replace r0 by
30043 0 without changing the behavior.
30045 2017-10-13 Joseph Myers <joseph@codesourcery.com>
30047 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
30048 <libm-alias-ldouble.h>.
30049 (fabsl): Define using libm_alias_ldouble.
30050 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
30051 <libm-alias-ldouble.h>.
30052 (fabsl): Define using libm_alias_ldouble.
30054 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
30055 Remove conditional code.
30057 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
30058 Rename to __clog10_internal_l.
30059 (__clog10_internal_l): Define aliases using
30060 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
30063 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30065 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
30066 * benchtests/sincosf-inputs: New file.
30067 * benchtests/cosf-inputs: New file.
30068 * benchtests/sinf-inputs: New file.
30070 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
30072 * posix/tst-spawn.c (do_test): Wait for both children.
30074 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
30077 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
30078 tests-pie): Add tst-gmon-pie.
30079 (CFLAGS-tst-gmon-pie.c): New.
30080 (CRT-tst-gmon-pie): Likewise.
30081 (tst-gmon-pie-ENV): Likewise.
30082 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
30083 ($(objpfx)tst-gmon-pie.out): Likewise.
30084 (clean-tst-gmon-pie-data): Likewise.
30085 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
30086 * gmon/gmon.c [PIC]: Include <link.h>.
30087 [PIC] (callback): New function.
30088 (write_hist): Add an argument for load address. Subtract load
30090 (write_call_graph): Likewise.
30091 (write_gmon): Call __dl_iterate_phdr to get load address, pass
30092 it to write_hist and write_call_graph.
30093 * gmon/tst-gmon-pie.c: New file.
30095 2017-10-11 Joseph Myers <joseph@codesourcery.com>
30097 * math/Makefile (test-types-basic): New variable.
30098 (test-types): Likewise.
30099 (libm-test-support): Use $(test-types) instead of $(types).
30100 (libm-tests-base-normal): Likewise.
30101 (libm-tests-base-finite): Likewise.
30102 (libm-tests-base-inline): Likewise.
30103 (generated): Likewise.
30104 ($(objpfx)libm-test-support-$(t).c): Likewise.
30105 (libm-tests-for-type iterator): Likewise.
30106 (libm-test-support iterator): Likewise.
30107 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
30108 (ulp_idx): Use ULP_IDX.
30109 * math/test-ldouble.h: Include <float.h>.
30110 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
30111 (ULP_IDX): New macro.
30112 (ULP_I_IDX): Likewise.
30113 * math/test-double.h (ULP_IDX): Likewise.
30114 (ULP_I_IDX): Likewise.
30115 * math/test-float.h (ULP_IDX): Likewise.
30116 (ULP_I_IDX): Likewise.
30117 * math/test-float128.h (ULP_IDX): Likewise.
30118 (ULP_I_IDX): Likewise.
30120 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30122 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
30123 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30124 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30125 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
30126 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30127 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
30128 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
30129 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30130 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30131 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30132 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
30133 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30134 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30135 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30136 (SINGLE_THREAD_BY_GLOBAL): Define.
30137 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30139 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30141 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30143 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30145 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
30146 (SINGLE_THREAD_BY_GLOBAL): Likewise.
30147 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30150 2017-10-11 Andreas Schwab <schwab@suse.de>
30152 * nis/Makefile (aux): Remove.
30153 * nscd/Makefile (aux): Add nscd_hash.
30154 (nscd-modules): Likewise.
30155 ($(objpfx)nscd): Don't depend on libnsl.
30156 * nscd/nscd_hash.c: New file.
30157 * nscd/nscd_hash.h: Likewise.
30158 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
30159 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
30160 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
30161 instead of <nis/rpcsvc/nis.h>.
30162 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
30164 2017-10-11 Florian Weimer <fweimer@redhat.com>
30167 Avoid large NSS buffers with many addresses, aliases.
30168 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
30169 using dynarrays and struct alloc_buffer.
30170 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
30171 (tst-nss-files-hosts-multi): Link with -ldl.
30172 * nss/tst-nss-files-hosts-multi.c: New file.
30174 2017-10-11 Florian Weimer <fweimer@redhat.com>
30177 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
30178 scratch_buffer. Eliminate gotos.
30180 2017-10-11 Joseph Myers <joseph@codesourcery.com>
30182 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
30183 libm_alias_ldouble_other.
30184 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
30185 undefine and redefine.
30186 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
30187 (exp10l): Do not define here.
30188 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
30189 (weak_alias): Undefine and redefine.
30190 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
30191 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30192 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
30193 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
30195 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
30196 [!__fma] (fma): Define using libm_alias_double.
30197 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
30198 [!__fmaf] (fmaf): Define using libm_alias_float.
30199 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
30200 (fmal): Define using libm_alias_ldouble.
30202 2017-10-10 Joseph Myers <joseph@codesourcery.com>
30204 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
30206 (libm_alias_double_other): Likewise.
30207 (libm_alias_double_r): Use libm_alias_double_other_r.
30208 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
30210 (libm_alias_float_other): Likewise.
30211 (libm_alias_float_r): Use libm_alias_float_other_r.
30212 * sysdeps/generic/libm-alias-float128.h
30213 (libm_alias_float128_other_r): New macro.
30214 (libm_alias_float128_other): Likewise.
30215 (libm_alias_float128_r): Use libm_alias_float128_other_r.
30216 * sysdeps/generic/libm-alias-ldouble.h
30217 (libm_alias_ldouble_other_r): New macro.
30218 (libm_alias_ldouble_other): Likewise.
30219 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
30220 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
30221 (libm_alias_double_other_r): New macro.
30222 (libm_alias_double_other): Likewise.
30223 (libm_alias_double_r): Use libm_alias_double_other_r.
30224 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
30225 (libm_alias_ldouble_other_r): New macro.
30226 (libm_alias_ldouble_other): Likewise.
30227 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
30228 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
30229 [!USE_AS_COMPAT]: Use libm_alias_double_other.
30230 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
30231 [!USE_AS_COMPAT]: Use libm_alias_float_other.
30232 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
30233 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
30234 * math/w_exp2f.c: Use libm_alias_float_other.
30235 * math/w_expf.c: Likewise.
30236 * math/w_log2f.c: Likewise.
30237 * math/w_logf.c: Likewise.
30238 * math/w_powf.c: Likewise.
30239 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
30240 [!__exp2f]: Use libm_alias_float_other.
30241 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
30242 [!__expf]: Use libm_alias_float_other.
30243 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
30244 [!__log2f]: Use libm_alias_float_other.
30245 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
30246 [!__logf]: Use libm_alias_float_other.
30247 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
30248 [!__powf]: Use libm_alias_float_other.
30250 2017-10-10 Florian Weimer <fweimer@redhat.com>
30252 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
30254 (_nss_files_gethostbyname3_r): Call it.
30256 2017-10-09 Joseph Myers <joseph@codesourcery.com>
30258 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
30259 error. Remove default definition of declare_mgen_alias.
30260 [!declare_mgen_alias_r]: Likewise.
30261 * sysdeps/generic/math-type-macros-double.h
30262 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
30263 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
30264 (declare_mgen_alias_r): Likewise.
30265 * sysdeps/generic/math-type-macros-float128.h
30266 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
30267 * sysdeps/generic/math-type-macros-ldouble.h
30268 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
30269 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
30271 (declare_mgen_alias_r_s): Likewise.
30272 (declare_mgen_alias_r): Likewise.
30273 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
30274 (lgamma_r): Define using libm_alias_double_r.
30275 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
30276 (lgammaf_r): Define using libm_alias_float_r.
30277 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
30278 (lgammal_r): Define using libm_alias_ldouble_r.
30279 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
30280 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
30282 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30284 * lib/glob.c (__glob_pattern_type): Remove now-spurious
30285 extern declaration.
30287 2017-10-09 Joseph Myers <joseph@codesourcery.com>
30289 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
30291 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
30294 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
30295 [__cplusplus >= 201103] (__USE_ISOC99): Define.
30296 * math/Makefile (test-math-cxx11): New test.
30297 * math/test-math-cxx11.cc: New file.
30299 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
30301 * login/openpty.c (openpty): Close slave pty file descriptor on error.
30303 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
30304 call to allocate the slave pty file descriptor.
30306 2017-10-06 Joseph Myers <joseph@codesourcery.com>
30308 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
30309 [!__fma] (fma): Define using libm_alias_double.
30310 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
30311 [!__fma] (fma): Define using libm_alias_double.
30313 * sysdeps/ieee754/float128/float128_private.h: Include
30314 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
30315 (libm_alias_ldouble_r): Undefine and redefine.
30316 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
30317 <libm-alias-ldouble.h>.
30318 (asinhl): Define using libm_alias_ldouble.
30319 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
30320 <libm-alias-ldouble.h>.
30321 (atanl): Define using libm_alias_ldouble.
30322 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
30323 <libm-alias-ldouble.h>.
30324 (cbrtl): Define using libm_alias_ldouble.
30325 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
30326 <libm-alias-ldouble.h>.
30327 (ceill): Define using libm_alias_ldouble.
30328 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
30329 <libm-alias-ldouble.h>.
30330 (copysignl): Define using libm_alias_ldouble.
30331 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
30332 <libm-alias-ldouble.h>.
30333 (cosl): Define using libm_alias_ldouble.
30334 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
30335 <libm-alias-ldouble.h>.
30336 (erfl): Define using libm_alias_ldouble.
30338 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
30339 <libm-alias-ldouble.h>.
30340 (expm1l): Define using libm_alias_ldouble.
30341 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
30342 <libm-alias-ldouble.h>.
30343 (fabsl): Define using libm_alias_ldouble.
30344 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
30345 <libm-alias-ldouble.h>.
30346 (floorl): Define using libm_alias_ldouble.
30347 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
30348 <libm-alias-ldouble.h>.
30349 (fmal): Define using libm_alias_ldouble.
30350 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
30351 <libm-alias-ldouble.h>.
30352 (frexpl): Define using libm_alias_ldouble.
30353 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
30354 libm_alias_ldouble.
30355 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
30356 <libm-alias-ldouble.h>.
30357 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
30358 libm_alias_ldouble.
30359 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
30360 <libm-alias-ldouble.h>.
30361 (getpayloadl): Define using libm_alias_ldouble.
30362 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
30363 <libm-alias-ldouble.h>.
30364 (llrintl): Define using libm_alias_ldouble.
30365 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
30366 <libm-alias-ldouble.h>.
30367 (llroundl): Define using libm_alias_ldouble.
30368 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
30369 <libm-alias-ldouble.h>.
30370 (logbl): Define using libm_alias_ldouble.
30371 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
30372 <libm-alias-ldouble.h>.
30373 (lrintl): Define using libm_alias_ldouble.
30374 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
30375 <libm-alias-ldouble.h>.
30376 (lroundl): Define using libm_alias_ldouble.
30377 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
30378 <libm-alias-ldouble.h>.
30379 (modfl): Define using libm_alias_ldouble.
30380 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
30381 <libm-alias-ldouble.h>.
30382 (nearbyintl): Define using libm_alias_ldouble.
30383 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
30384 <libm-alias-ldouble.h>.
30385 (nextafterl): Define using libm_alias_ldouble.
30386 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
30387 <libm-alias-ldouble.h>.
30388 (nextupl): Define using libm_alias_ldouble.
30389 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
30390 <libm-alias-ldouble.h>.
30391 (remquol): Define using libm_alias_ldouble.
30392 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
30393 <libm-alias-ldouble.h>.
30394 (rintl): Define using libm_alias_ldouble.
30395 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
30396 <libm-alias-ldouble.h>.
30397 (roundevenl): Define using libm_alias_ldouble.
30398 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
30399 <libm-alias-ldouble.h>.
30400 (roundl): Define using libm_alias_ldouble.
30401 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
30402 using libm_alias_ldouble.
30403 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
30404 <libm-alias-ldouble.h>.
30405 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
30406 Define using libm_alias_ldouble.
30407 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
30408 <libm-alias-ldouble.h>.
30409 (sincosl): Define using libm_alias_ldouble.
30410 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
30411 <libm-alias-ldouble.h>.
30412 (sinl): Define using libm_alias_ldouble.
30413 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
30414 <libm-alias-ldouble.h>.
30415 (tanhl): Define using libm_alias_ldouble.
30416 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
30417 <libm-alias-ldouble.h>.
30418 (tanl): Define using libm_alias_ldouble.
30419 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
30420 <libm-alias-ldouble.h>.
30421 (totalorderl): Define using libm_alias_ldouble.
30422 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
30423 <libm-alias-ldouble.h>.
30424 (totalordermagl): Define using libm_alias_ldouble.
30425 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
30426 <libm-alias-ldouble.h>.
30427 (truncl): Define using libm_alias_ldouble.
30428 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
30429 libm_alias_ldouble.
30430 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
30431 libm_alias_ldouble.
30432 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
30433 <libm-alias-ldouble.h>.
30434 (weak_alias): Do not undefine and redefine.
30435 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
30436 (copysignl): Define with long_double_symbol only if [IS_IN
30438 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
30439 <libm-alias-ldouble.h>.
30440 (weak_alias): Do not undefine and redefine.
30441 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
30442 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
30443 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
30444 <libm-alias-ldouble.h>.
30445 (weak_alias): Do not undefine and redefine.
30446 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
30447 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
30448 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
30449 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
30450 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
30451 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
30452 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
30453 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
30454 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
30455 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
30456 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
30457 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
30458 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
30459 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
30460 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
30461 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
30462 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
30463 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
30464 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
30465 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
30466 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
30467 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
30468 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
30469 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
30470 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
30471 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
30473 2017-10-06 Carlos O'Donell <carlos@redhat.com>
30476 * malloc/malloc.c (tcache_shutting_down): Use bool type.
30477 (tcache_thread_freeres): Set tcache_shutting_down before
30478 freeing the tcache.
30479 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
30480 * malloc/tst-malloc-tcache-leak.c: New file.
30482 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30484 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
30485 back to powerpc32 file.
30486 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
30487 (memrchr): Add __memrchr_power8 to ifunc list.
30488 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
30489 extra bytes for unaligned inputs.
30491 2017-10-06 Joseph Myers <joseph@codesourcery.com>
30493 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
30494 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
30495 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
30496 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
30497 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
30499 2017-10-05 Joseph Myers <joseph@codesourcery.com>
30501 * sysdeps/arm/libm-test-ulps: Update.
30503 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
30504 <libm-alias-ldouble.h>.
30505 (asinhl): Define using libm_alias_ldouble.
30506 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
30507 <libm-alias-ldouble.h>.
30508 (cbrtl): Define using libm_alias_ldouble.
30509 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
30510 <libm-alias-ldouble.h>.
30511 (copysignl): Define using libm_alias_ldouble.
30512 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
30513 <libm-alias-ldouble.h>.
30514 (cosl): Define using libm_alias_ldouble.
30515 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
30516 <libm-alias-ldouble.h>.
30517 (erfl): Define using libm_alias_ldouble.
30519 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
30520 <libm-alias-ldouble.h>.
30521 (fmal): Define using libm_alias_ldouble.
30522 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
30523 <libm-alias-ldouble.h>.
30524 (frexpl): Define using libm_alias_ldouble.
30525 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
30526 libm_alias_ldouble.
30527 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
30528 <libm-alias-ldouble.h>.
30529 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
30530 libm_alias_ldouble.
30531 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
30532 <libm-alias-ldouble.h>.
30533 (getpayloadl): Define using libm_alias_ldouble.
30534 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
30535 <libm-alias-ldouble.h>.
30536 (llrintl): Define using libm_alias_ldouble.
30537 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
30538 <libm-alias-ldouble.h>.
30539 (llroundl): Define using libm_alias_ldouble.
30540 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
30541 <libm-alias-ldouble.h>.
30542 (lrintl): Define using libm_alias_ldouble.
30543 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
30544 <libm-alias-ldouble.h>.
30545 (lroundl): Define using libm_alias_ldouble.
30546 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
30547 <libm-alias-ldouble.h>.
30548 (modfl): Define using libm_alias_ldouble.
30549 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
30550 <libm-alias-ldouble.h>.
30551 (nextupl): Define using libm_alias_ldouble.
30552 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
30553 <libm-alias-ldouble.h>.
30554 (remquol): Define using libm_alias_ldouble.
30555 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
30556 <libm-alias-ldouble.h>.
30557 (roundevenl): Define using libm_alias_ldouble.
30558 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
30559 <libm-alias-ldouble.h>.
30560 (roundl): Define using libm_alias_ldouble.
30561 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
30562 using libm_alias_ldouble.
30563 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
30564 <libm-alias-ldouble.h>.
30565 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
30566 <libm-alias-ldouble.h>.
30567 (setpayloadsigl): Define using libm_alias_ldouble.
30568 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
30569 <libm-alias-ldouble.h>.
30570 (sincosl): Define using libm_alias_ldouble.
30571 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
30572 <libm-alias-ldouble.h>.
30573 (sinl): Define using libm_alias_ldouble.
30574 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
30575 <libm-alias-ldouble.h>.
30576 (tanhl): Define using libm_alias_ldouble.
30577 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
30578 <libm-alias-ldouble.h>.
30579 (tanl): Define using libm_alias_ldouble.
30580 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
30581 <libm-alias-ldouble.h>.
30582 (totalorderl): Define using libm_alias_ldouble.
30583 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
30584 <libm-alias-ldouble.h>.
30585 (totalordermagl): Define using libm_alias_ldouble.
30586 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
30587 libm_alias_ldouble.
30588 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
30589 libm_alias_ldouble.
30591 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
30593 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
30595 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
30596 (__libc_ifunc_impl_list): Likewise.
30597 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
30598 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
30600 * benchtests/bench-memmove-walk.c: New file.
30601 * benchtests/Makefile (string-benchset): Add it.
30603 * benchtests/bench-memset-walk.c: New file.
30604 * benchtests/Makefile (string-benchset): Add it.
30606 * benchtests/bench-memcpy-walk.c: New file.
30607 * benchtests/Makefile (string-benchset): Add it.
30609 2017-10-05 Florian Weimer <fweimer@redhat.com>
30611 nscd: Eliminate compilation time dependency in the build output.
30612 * nscd/nscd_stat.c (STATDATA_VERSION)
30613 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
30614 (STATDATA_VERSION_FULL): New macro definitions.
30615 (compilation): Remove.
30616 (struct statdata): Adjust version member.
30617 (send_stats): Set version from STATDATA_VERSION_FULL.
30618 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
30620 2017-10-05 Joseph Myers <joseph@codesourcery.com>
30622 * configure.ac (--enable-add-ons): Remove option.
30623 (machine): Do not mention add-ons in comment.
30624 (LIBC_PRECONFIGURE): Likewise.
30625 (add_ons): Remove variable and sanity checks and logic to locate
30627 (add_ons_automatic): Remove variable.
30628 (configured_add_ons): Likewise.
30629 (add_ons_sfx): Likewise.
30630 (add_ons_pfx): Likewise.
30631 (add_on_subdirs): Likewise.
30632 (sysnames_add_ons): Likewise. Remove loop over add-ons and
30633 consideration of add-ons in Implies handling.
30634 (sysdeps_add_ons): Likewise.
30635 * configure: Regenerated.
30636 * libidn/configure.ac: Remove.
30637 * libidn/configure: Likewise.
30638 * sysdeps/unix/inet/configure.ac: New file.
30639 * sysdeps/unix/inet/configure: New generated file.
30640 * sysdeps/unix/inet/Subdirs: Add libidn.
30641 * Makeconfig (sysdeps-srcdirs): Remove variable.
30642 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
30643 ($(common-objpfx)config.status): Do not depend on add-on files.
30644 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
30646 (all-subdirs): Do not include $(add-on-subdirs).
30647 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
30648 * config.make.in (add-ons): Remove variable.
30649 (add-on-subdirs): Likewise.
30650 (sysdeps-add-ons): Likewise.
30651 * manual/Makefile (add-chapters): Remove.
30652 ($(objpfx)texis): Do not depend on $(add-chapters).
30653 (nonexamples): Do not handle $(add-chapters).
30654 (examples): Do not handle $(add-ons).
30655 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
30657 * manual/install.texi (Installation): Do not mention add-ons.
30658 (--enable-add-ons): Do not document configure option.
30659 * INSTALL: Regenerated.
30660 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
30661 * manual/maint.texi (Hierarchy Conventions): Do not mention
30663 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
30665 * scripts/gen-sorted.awk: Do not handle Subdirs files from
30667 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
30668 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
30670 2017-10-05 Andreas Schwab <schwab@suse.de>
30673 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
30674 (_IO_flush_all_lockp): Always lock list_all_lock.
30675 (_IO_flush_all_linebuffered): Likewise.
30676 (_IO_unbuffer_all): Likewise.
30678 2017-10-05 Florian Weimer <fweimer@redhat.com>
30681 Do not flush stdio streams on abort.
30682 * stdlib/abort.c (fflush): Remove macro definition.
30683 (abort): Remove stages related to stdio flushing.
30685 2017-10-05 Florian Weimer <fweimer@redhat.com>
30687 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
30689 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
30691 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
30693 2017-10-05 Florian Weimer <fweimer@redhat.com>
30695 * support/support_format_hostent.c (support_format_hostent): Add
30696 more error information for NETDB_INTERNAL.
30698 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
30700 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
30701 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
30702 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
30703 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
30704 AC_DEFINE if multi-arch is enabled.
30705 * sysdeps/i386/configure: Regenerated.
30707 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
30709 * Makeconfig (+link-static-before-libc): Use
30710 $(DEFAULT-LDFLAGS-$(@F)).
30711 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
30712 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
30713 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
30715 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
30717 * elf/Makefile (tests): Add tst-main1.
30718 (modules-names): Add tst-main1mod.
30719 ($(objpfx)tst-main1): New.
30720 (CRT-tst-main1): Likewise.
30721 (LDFLAGS-tst-main1): Likewise.
30722 (LDLIBS-tst-main1): Likewise.
30723 (tst-main1mod.so-no-z-defs): Likewise.
30724 * elf/tst-main1.c: New file.
30725 * elf/tst-main1mod.c: Likewise.
30727 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
30729 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
30731 2017-10-04 Joseph Myers <joseph@codesourcery.com>
30733 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
30734 (fma): Define using libm_alias_double.
30735 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
30736 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
30738 (fmal): Do not define as compat symbol here.
30739 * sysdeps/alpha/fpu/s_fma.c: New file.
30741 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
30743 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
30745 2017-10-04 Joseph Myers <joseph@codesourcery.com>
30748 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
30750 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
30752 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
30753 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
30754 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
30755 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
30756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
30757 Include <math_ldbl_opt.h>
30758 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
30760 (compat_symbol): Undefine and redefine.
30761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
30763 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
30764 (compat_symbol): Undefine and redefine.
30765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
30766 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
30767 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
30768 GLIBC_2_1 for libm.
30769 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
30770 GLIBC_2.0 copysignl symbol.
30771 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
30772 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
30774 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
30776 2017-10-04 Florian Weimer <fweimer@redhat.com>
30778 * scripts/check-local-headers.sh: Ignore nspr4 header file
30779 directory in addition to nspr.
30781 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
30784 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
30785 * configure: Regenerate.
30786 * crypt/Makefile (nss-cpp-flags): New variable.
30787 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
30788 (CPPFLAGS-md5-crypt.c): Use it.
30789 * scripts/check-local-headers.sh: Ignore nspr header file
30792 2017-10-04 Andreas Schwab <schwab@suse.de>
30794 * nis/Makefile (services): Remove compat.
30795 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
30796 ($(objpfx)libnss_compat.so): Remove rule.
30797 * nis/Versions (libnss_compat): Remove.
30798 * nss/Makefile (services): Add compat.
30799 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
30800 * nss/Versions (libnss_compat): Define.
30801 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
30802 Don't include <rpc/types.h>. Replace bool_t by bool.
30803 * nss/nss_compat/compat-initgroups.c: Likewise.
30804 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
30805 instead of <rpcsrv/ypclnt.h>.
30806 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
30807 yp_get_default_domain.
30808 * nss/nss_compat/compat-pwd.c: Likewise.
30809 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
30810 yp_get_default_domain.
30811 * nss/nss_compat/nisdomain.c: New file.
30812 * nss/nss_compat/nisdomain.h: Likewise.
30814 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
30817 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
30818 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30820 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
30823 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
30824 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
30826 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30828 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
30829 "movl main@GOTOFF(%ebx), %eax".
30831 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30833 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
30834 allow undefined _DYNAMIC in PIE libc.a.
30835 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
30838 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30840 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
30843 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30845 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
30848 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30850 * math/test-math-iscanonical.cc (error): Replace bool with int.
30852 2017-10-03 Joseph Myers <joseph@codesourcery.com>
30854 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
30855 (modf): Define using libm_alias_double, only if [!__modf].
30856 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
30857 <libm-alias-double.h>.
30858 (modf): Define using libm_alias_double, only if [!__modf].
30859 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
30860 compat symbol here.
30861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
30862 (weak_alias): Do not undefine and redefine.
30863 (strong_alias): Likewise.
30864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
30865 (weak_alias): Likewise.
30866 (strong_alias): Likewise.
30868 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
30869 (logb): Define using libm_alias_double, only if [!__logb].
30870 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
30871 <libm-alias-double.h>.
30872 (logb): Define using libm_alias_double, only if [!__logb].
30873 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
30874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
30875 (weak_alias): Do not undefine and redefine.
30876 (strong_alias): Likewise.
30877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
30878 (weak_alias): Likewise.
30879 (strong_alias): Likewise.
30881 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30883 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
30884 Check SHARED instead PIC.
30886 2017-10-03 Joseph Myers <joseph@codesourcery.com>
30888 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
30889 [!__fmaf] (fmaf): Define using libm_alias_float.
30891 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
30892 (frexp): Define using libm_alias_double.
30893 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
30894 <libm-alias-double.h>.
30895 (frexp): Define using libm_alias_double.
30896 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
30897 compat symbol here.
30899 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30902 * math/math.h: Trivial fix for unbalanced parentheses in comment.
30903 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
30904 (CFLAGS-test-math-iscanonical.cc): New variable.
30905 * math/test-math-iscanonical.cc: New file.
30906 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
30907 Provide a C++ implementation based on function overloading,
30908 rather than using __MATH_TG, which uses C-only builtins.
30909 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
30911 * sysdeps/powerpc/powerpc64le/Makefile
30912 (CFLAGS-test-math-iscanonical.cc): New variable.
30914 2017-10-03 Joseph Myers <joseph@codesourcery.com>
30916 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
30917 (ceil): Define using libm_alias_double.
30918 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
30919 (floor): Define using libm_alias_double.
30920 * sysdeps/ieee754/dbl-64/s_llround.c: Include
30921 <libm-alias-double.h>.
30922 (llround): Define using libm_alias_double.
30923 * sysdeps/ieee754/dbl-64/s_lround.c: Include
30924 <libm-alias-double.h>.
30925 (lround): Define using libm_alias_double.
30926 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
30927 <libm-alias-double.h>.
30928 (nearbyint): Define using libm_alias_double.
30929 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
30930 <libm-alias-double.h>.
30931 (remquo): Define using libm_alias_double.
30932 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
30933 (rint): Define using libm_alias_double.
30934 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
30935 (round): Define using libm_alias_double.
30936 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
30937 (trunc): Define using libm_alias_double.
30938 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
30939 <libm-alias-double.h>.
30940 (ceil): Define using libm_alias_double.
30941 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
30942 <libm-alias-double.h>.
30943 (floor): Define using libm_alias_double.
30944 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
30945 <libm-alias-double.h>.
30946 (llround): Define using libm_alias_double.
30947 [_LP64] (lround): Likewise.
30948 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
30949 <libm-alias-double.h>.
30950 [!_LP64] (lround): Define using libm_alias_double.
30951 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
30952 <libm-alias-double.h>.
30953 (nearbyint): Define using libm_alias_double.
30954 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
30955 <libm-alias-double.h>.
30956 (remquo): Define using libm_alias_double.
30957 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
30958 <libm-alias-double.h>.
30959 (rint): Define using libm_alias_double.
30960 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
30961 <libm-alias-double.h>.
30962 (round): Define using libm_alias_double.
30963 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
30964 <libm-alias-double.h>.
30965 (trunc): Define using libm_alias_double.
30966 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
30967 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
30968 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
30969 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
30970 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
30971 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
30972 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
30973 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
30974 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
30976 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
30978 * math/w_remainder.c: New file.
30979 * math/w_remainderf.c: New file.
30980 * math/w_remainderl.c: New file.
30982 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30984 * elf/rtld.c (BOOTSTRAP_MAP): New.
30985 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
30986 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
30988 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
30990 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
30993 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
30995 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
30996 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
30997 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
30998 rtld_hidden_data_ver): Define to empty.
30999 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
31000 __assert_perror_fail): Likewise.
31001 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31002 (__rewinddir): Likewise.
31003 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31004 (__profile_frequency): Likewise.
31005 * include/setjmp.h (__sigsetjmp): Likewise.
31006 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
31007 __libc_sigaction): Likewise.
31008 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
31009 not set hidden attribute.
31010 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
31011 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
31012 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
31013 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
31014 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
31015 __fxstatat64): Likewise.
31016 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31017 (__uname): Likewise.
31018 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31019 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
31020 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
31021 (NO_RTLD_HIDDEN): Set.
31022 * sysdeps/mach/hurd/configure: Refresh.
31023 * config.h.in: Refresh.
31025 2017-10-02 Joseph Myers <joseph@codesourcery.com>
31027 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
31028 (atan): Define using libm_alias_double.
31029 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
31030 (tan): Define using libm_alias_double.
31031 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
31032 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
31034 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
31035 define as weak alias of __atan. Do not define any aliases if
31037 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
31038 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
31039 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
31040 as weak alias of __tan. Do not define any aliases if [__tan].
31041 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
31042 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
31043 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
31045 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
31046 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
31047 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
31048 and define as weak alias of __atan.
31049 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
31051 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
31052 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
31053 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
31054 define as weak alias of __tan.
31056 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31058 * math/w_lgamma.c: New file.
31059 * math/w_lgammaf.c: New file.
31060 * math/w_lgammal.c: New file.
31062 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31064 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
31065 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
31066 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
31067 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
31068 * sysdeps/ieee754/flt-32/w_logf.c: New file.
31069 * sysdeps/ieee754/flt-32/w_powf.c: New file.
31070 * sysdeps/i386/fpu/w_log2f.c: New file.
31071 * sysdeps/i386/fpu/w_logf.c: New file.
31072 * sysdeps/i386/fpu/w_powf.c: New file.
31073 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
31074 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
31075 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
31077 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31078 H.J. Lu <hongjiu.lu@intel.com>
31080 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
31081 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
31082 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
31083 * sysdeps/ieee754/flt-32/w_expf.c: New file.
31084 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
31086 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
31087 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
31088 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
31089 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
31090 * sysdeps/i386/fpu/w_exp2f.c: New file.
31091 * sysdeps/i386/fpu/w_expf.c: New file.
31092 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
31093 * sysdeps/x86_64/fpu/w_expf.c: New file.
31095 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31097 * math/Versions (logf): New libm symbol at GLIBC_2.27.
31100 * math/w_log2f.c: New file.
31101 * math/w_logf.c: New file.
31102 * math/w_powf.c: New file.
31103 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
31104 * math/w_logf_compat.c (__logf_compat): Likewise.
31105 * math/w_powf_compat.c (__powf_compat): Likewise.
31106 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
31107 * sysdeps/ia64/fpu/e_logf.S: Likewise.
31108 * sysdeps/ia64/fpu/e_powf.S: Likewise.
31109 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
31110 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
31111 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
31112 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
31113 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
31114 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
31115 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
31116 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
31117 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
31118 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
31119 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
31120 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
31121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
31123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
31127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
31129 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
31130 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
31131 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
31132 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
31133 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
31134 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
31136 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
31138 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
31139 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
31140 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
31142 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31144 * sysdeps/powerpc/powerpc64/multiarch/Makefile
31145 (sysdep_routines): Add memrchr_power8.
31146 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31147 (memrchr): Add __memrchr_power8 to list of memrchr functions.
31148 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
31150 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
31151 (memrchr): Add __memrchr_power8 to ifunc list.
31152 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
31154 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31157 * sysdeps/unix/sysv/linux/posix_fadvise64.c
31158 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
31160 * sysdeps/unix/sysv/linux/posix_fallocate64.c
31161 (__posix_fallocate64_l64): Likewise.
31163 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31166 * sysdeps/unix/sysv/linux/sched_setaffinity.c
31167 (__sched_setaffinity_new): Add libc_hidden_proto and
31170 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31173 * include/glob.h (__glob64): Add libc_hidden_proto.
31174 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
31177 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31180 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
31183 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31186 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
31188 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31191 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
31194 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31197 * csu/version.c (__libc_print_version): Add attribute_hidden.
31199 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31202 * include/libc-internal.h (__init_misc): Add attribute_hidden.
31204 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31207 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
31209 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31212 * nscd/nscd_helper.c (__nis_hash): New prototype.
31214 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31217 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
31218 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
31220 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
31221 * termios/tcgetattr.c (__tcgetattr): Likewise.
31223 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31226 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
31227 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
31228 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
31229 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
31230 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
31232 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31235 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
31237 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31240 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
31241 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
31243 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31246 * intl/hash-string.h (__hash_string): Add attribute_hidden.
31248 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31251 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
31252 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
31254 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31257 * include/ifreq.h: New file.
31258 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
31259 (__ifreq): Likewise.
31260 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
31261 (__ifreq): Likewise.
31263 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31266 * include/idna.h: New file.
31267 * inet/getnameinfo.c: Include <idna.h> instead of
31269 (__idna_to_unicode_lzlz): Removed.
31270 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
31272 (__idna_to_ascii_lz): Removed.
31273 (__idna_to_unicode_lzlz): Likewise.
31275 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31278 * include/plural-exp.h: New file.
31279 * intl/plural-exp.c: Include <plural-exp.h> instead of
31282 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31285 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
31286 "getsourcefilter.h".
31287 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
31288 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
31289 "getsourcefilter.h".
31290 (__get_sol): Removed.
31292 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31295 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
31297 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
31299 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31302 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
31305 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31308 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
31310 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31313 * include/search.h (__tdestroy): Add libc_hidden_proto.
31314 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
31316 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31319 * include/assert.h (__assert_fail_base): Add attribute_hidden.
31321 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31324 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
31327 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31330 * include/signal.h (__kill): Add libc_hidden_proto.
31331 (__sigblock): Likewise.
31332 (__sigprocmask): Likewise.
31333 (__sigaltstack): Likewise.
31334 * signal/kill.c (__kill): Add libc_hidden_def.
31335 * signal/sigblock.c (__sigblock): Likewise.
31336 * signal/sigprocmask.c (__sigprocmask): Likewise.
31337 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
31338 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
31339 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
31340 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
31341 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
31343 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
31345 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
31346 (__sigprocmask): Likewise.
31347 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
31349 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
31350 (__sigprocmask): Likewise.
31351 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
31354 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31357 * include/string.h (__strsep): Add libc_hidden_proto.
31358 * string/strsep.c (__strsep): Add libc_hidden_def.
31360 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31363 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
31365 (__spawni): Likewise.
31367 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31370 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
31371 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
31374 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31377 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
31379 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31382 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
31383 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
31384 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
31385 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
31386 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
31388 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
31389 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
31391 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31394 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
31395 (__dcigettext): Likewise.
31397 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31400 * include/sys/sysinfo.h (__get_nprocs_conf): Add
31402 (__get_nprocs): Likewise.
31403 (__get_phys_pages): Likewise.
31404 (__get_avphys_pages): Likewise.
31405 (__get_child_max): Add attribute_hidden.
31406 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
31407 (__get_nprocs): Likewise.
31408 (__get_phys_pages): Likewise.
31409 (__get_avphys_pages): Likewise.
31410 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
31412 (__get_nprocs): Likewise.
31413 (__get_phys_pages): Likewise.
31414 (__get_avphys_pages): Likewise.
31415 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
31417 (__get_nprocs_conf): Likewise.
31418 (__get_phys_pages): Likewise.
31419 (__get_avphys_pages): Likewise.
31421 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31424 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
31426 (__netlink_close): Likewise.
31427 (__netlink_free_handle): Likewise.
31428 (__netlink_request): Likewise.
31430 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31433 * include/rpc/rpc.h (__rpc_thread_variables): Add
31435 (__rpc_thread_svc_cleanup): Likewise.
31436 (__rpc_thread_clnt_cleanup): Likewise.
31437 (__rpc_thread_key_cleanup): Likewise.
31439 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31442 * include/sys/uio.h (__readv): Add libc_hidden_proto.
31443 (__writev): Likewise.
31444 * misc/readv.c (__readv): Add libc_hidden_def.
31445 * misc/writev.c (__writev): Likewise.
31446 * sysdeps/posix/readv.c (__readv): Likewise.
31447 * sysdeps/posix/writev.c (__writev): Likewise.
31448 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
31449 (__readv): Likewise.
31450 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
31451 (__writev): Likewise.
31453 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31456 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
31457 (__regcomp): Add libc_hidden_proto.
31458 (__regexec): Likewise.
31459 (__regfree): Likewise.
31460 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
31461 (__regfree): Likewise.
31462 * posix/regexec.c (__regexec): Likewise.
31464 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31467 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
31468 (__getutent): Likewise.
31469 (__getutid): Likewise.
31470 (__getutline): Likewise.
31471 (__pututline): Likewise.
31472 (__getutent_r): Likewise.
31473 (__getutid_r): Likewise.
31474 (__getutline_r): Likewise.
31475 (__utmpname): Add attribute_hidden.
31476 (__setutent): Likewise.
31477 (__endutent): Likewise.
31478 * login/getutent.c (__getutent): Add libc_hidden_def.
31479 * login/getutent_r.c (__getutent_r): Likewise.
31480 (__pututline): Likewise.
31481 * login/getutid.c (__getutid): Likewise.
31482 * login/getutid_r.c (__getutid_r): Likewise.
31483 * login/getutline.c (__getutline): Likewise.
31484 * login/getutline_r.c (__getutline_r): Likewise.
31485 * login/updwtmp.c (__updwtmp): Likewise.
31487 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31490 * include/dirent.h (__opendir): Always add attribute_hidden.
31491 (__fdopendir): Likewise.
31492 (__closedir): Likewise.
31493 (__readdir): Likewise.
31494 (__readdir64): Add libc_hidden_proto.
31495 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
31496 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
31497 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
31498 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
31501 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31504 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
31505 * include/netdb.h (__gethostbyaddr_r): Likewise.
31506 (__gethostbyname_r): Likewise.
31507 (__gethostbyname2_r): Likewise.
31508 (__getnetbyaddr_r): Likewise.
31509 (__getnetbyname_r): Likewise.
31510 (__getservbyname_r): Likewise.
31511 (__getservbyport_r): Likewise.
31512 (__getprotobyname_r): Likewise.
31513 (__getprotobynumber_r): Likewise.
31514 (__getnetgrent_r): Likewise.
31515 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
31516 (__getrpcbynumber_r): Likewise.
31517 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
31519 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31522 * include/stdio.h (__fcloseall): Add attribute_hidden.
31523 (__getline): Likewise.
31524 (__path_search): Likewise.
31525 (__gen_tempname): Likewise.
31526 (__libc_message): Likewise.
31527 (__flockfile): Likewise.
31528 (__funlockfile): Likewise.
31529 (__fxprintf): Likewise.
31530 (__fxprintf_nocancel): Likewise.
31532 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31535 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
31536 (__sgetsgent_r): Likewise.
31538 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31541 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
31542 (__statfs64): Likewise.
31543 (__fstatfs64): Likewise.
31544 * include/sys/statvfs.h (__statvfs64): Likewise.
31545 (__fstatvfs64): Likewise.
31546 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
31547 (__statfs_filesize_max): Likewise.
31548 (__statfs_symlinks): Likewise.
31549 (__statfs_chown_restricted): Likewise.
31551 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31554 * include/time.h (__tzstring): Add attribute_hidden.
31555 (__tzfile_read): Likewise.
31556 (__tzfile_compute): Likewise.
31557 (__tzfile_default): Likewise.
31558 (__tzset_parse_tz): Likewise.
31559 (__offtime): Likewise.
31560 (__asctime_r): Likewise.
31561 (__tzset): Likewise.
31562 (__tz_convert): Likewise.
31563 (__getdate_r): Likewise.
31564 (__getclktck): Likewise.
31566 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31569 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
31570 (__nscd_unmap): Likewise.
31571 (__nscd_cache_search): Likewise.
31572 (__nscd_get_nl_timestamp): Likewise.
31573 (__nscd_getpwnam_r): Likewise.
31574 (__nscd_getpwuid_r): Likewise.
31575 (__nscd_getgrnam_r): Likewise.
31576 (__nscd_getgrgid_r): Likewise.
31577 (__nscd_gethostbyname_r): Likewise.
31578 (__nscd_gethostbyname2_r): Likewise.
31579 (__nscd_gethostbyaddr_r): Likewise.
31580 (__nscd_getai): Likewise.
31581 (__nscd_getgrouplist): Likewise.
31582 (__nscd_getservbyname_r): Likewise.
31583 (__nscd_getservbyport_r): Likewise.
31584 (__nscd_innetgr): Likewise.
31585 (__nscd_setnetgrent): Likewise.
31587 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31590 * include/gmp.h: Declare internal functions only if _ISOMAC is
31592 (__mpn_extract_double): Add attribute_hidden.
31593 (__mpn_extract_long_double): Likewise.
31594 (__mpn_extract_float128): Likewise.
31595 (__mpn_construct_float): Likewise.
31596 (__mpn_construct_double): Likewise.
31597 (__mpn_construct_long_double): Likewise.
31598 (__mpn_construct_float128): Likewise.
31599 (mpn_add_1): Likewise.
31600 (mpn_addmul_1): Likewise.
31601 (mpn_add_n): Likewise.
31602 (mpn_cmp): Likewise.
31603 (mpn_divrem): Likewise.
31604 (mpn_lshift): Likewise.
31605 (mpn_mul): Likewise.
31606 (mpn_mul_1): Likewise.
31607 (mpn_rshift): Likewise.
31608 (mpn_sub_1): Likewise.
31609 (mpn_submul_1): Likewise.
31610 (mpn_sub_n): Likewise.
31612 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31615 * include/wchar.h (__wcsnlen): Add attribute_hidden.
31616 (__wcscat): Likewise.
31617 (__btowc): Likewise.
31618 (__wcrtomb): Likewise.
31619 (__mbsrtowcs): Likewise.
31620 (__wcsrtombs): Likewise.
31621 (__mbsnrtowcs): Likewise.
31622 (__wcsnrtombs): Likewise.
31623 (__wcsncpy): Likewise.
31624 (__wcpncpy): Likewise.
31625 (__wmemcpy): Likewise.
31626 (__wmempcpy): Likewise.
31627 (__wmemmove): Likewise.
31628 (__wcschrnul): Likewise.
31629 (__vfwscanf): Likewise.
31630 (__vswprintf): Likewise.
31631 (__fwprintf): Likewise.
31632 (__vfwprintf): Likewise.
31634 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31637 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
31638 (__getgrgid_r): Likewise.
31639 (__getgrnam_r): Likewise.
31640 * include/pwd.h (__getpwuid_r): Likewise.
31641 (__getpwnam_r): Likewise.
31642 (__fgetpwent_r): Likewise.
31643 * include/shadow.h (__getspnam_r): Likewise.
31644 (__sgetspent_r): Likewise.
31645 (__fgetspent_r): Likewise.
31647 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31650 * include/unistd.h (__access): Add attribute_hidden.
31651 (__lseek64): Likewise.
31652 (__libc_pread64): Likewise.
31653 (__pipe2): Likewise.
31654 (__sleep): Likewise.
31655 (__chdir): Likewise.
31656 (__fchdir): Likewise.
31657 (__getcwd): Likewise.
31658 (__rmdir): Likewise.
31659 (__execvpe): Likewise.
31660 (__execve): Likewise.
31661 (__setsid): Likewise.
31662 (__getuid): Likewise.
31663 (__geteuid): Likewise.
31664 (__getgid): Likewise.
31665 (__getegid): Likewise.
31666 (__getgroups): Likewise.
31667 (__group_member): Likewise.
31668 (__ttyname_r): Likewise.
31669 (__isatty): Likewise.
31670 (__readlink): Likewise.
31671 (__unlink): Likewise.
31672 (__gethostname): Likewise.
31673 (__profil): Likewise.
31674 (__getdtablesize): Likewise.
31676 (__ftruncate): Likewise.
31677 (__ftruncate64): Likewise.
31679 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31682 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
31683 * argp/argp-fs-xinl.c: Likewise.
31684 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
31685 * argp/argp-parse.c: Include <argp.h>.
31686 * argp/argp-xinl.c: Likewise.
31687 * include/argp-fmtstream.h: New file.
31688 * include/argp.h (__argp_error): Add attribute_hidden.
31689 (__argp_failure): Likewise.
31690 (__argp_input): Likewise.
31691 (__argp_state_help): Likewise.
31693 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31696 * include/wchar.h (____wcstof_l_internal): New prototype.
31697 (____wcstod_l_internal): Likewise.
31698 (____wcstold_l_internal): Likewise.
31699 (____wcstol_l_internal): Likewise.
31700 (____wcstoul_l_internal): Likewise.
31701 (____wcstoll_l_internal): Likewise.
31702 (____wcstoull_l_internal): Likewise.
31703 (____wcstof128_l_internal): Likewise.
31704 * sysdeps/ieee754/float128/wcstof128.c
31705 (____wcstof128_l_internal): Removed.
31706 * sysdeps/ieee754/float128/wcstof128_l.c
31707 (____wcstof128_l_internal): Likewise.
31708 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
31709 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
31710 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
31711 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
31712 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
31713 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
31714 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
31715 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
31716 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
31717 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
31719 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31722 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
31723 instead of <sys/statvfs.h>.
31724 (__internal_statvfs): Removed.
31725 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
31726 instead of <sys/statvfs.h>.
31727 (__internal_statvfs64): Removed.
31728 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
31729 "internal_statvfs.h" instead of <sys/statvfs.h>.
31730 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
31731 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
31732 instead of <sys/statvfs.h>.
31733 (__internal_statvfs): Removed.
31734 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
31735 instead of <sys/statvfs.h>.
31736 (__internal_statvfs64): Removed.
31738 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31741 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
31742 (__gconv_close): Likewise.
31743 (__gconv): Likewise.
31744 (__gconv_find_transform): Likewise.
31745 (__gconv_lookup_cache): Likewise.
31746 (__gconv_compare_alias_cache): Likewise.
31747 (__gconv_load_cache): Likewise.
31748 (__gconv_get_path): Likewise.
31749 (__gconv_close_transform): Likewise.
31750 (__gconv_release_cache): Likewise.
31751 (__gconv_find_shlib): Likewise.
31752 (__gconv_release_shlib): Likewise.
31753 (__gconv_get_builtin_trans): Likewise.
31754 (__gconv_compare_alias): Likewise.
31755 * include/dlfcn.h (_dlerror_run): Likewise.
31756 * include/stdio.h (__fortify_fail_abort): Likewise.
31757 * include/time.h (__tz_compute): Likewise.
31758 (__strptime_internal): Likewise.
31759 * intl/gettextP.h (_nl_find_domain): Likewise.
31760 (_nl_load_domain): Likewise.
31761 (_nl_find_msg): Likewise.
31762 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
31763 (EXTRACT_PLURAL_EXPRESSION): Likewise.
31764 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
31765 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
31766 (__gai_find_request): Likewise.
31767 (__gai_remove_request): Likewise.
31768 (__gai_notify): Likewise.
31769 (__gai_notify_only): Likewise.
31770 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
31771 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
31772 (_dl_non_dynamic_init): Likewise.
31773 (_dl_aux_init): Likewise.
31774 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
31775 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
31777 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
31778 (__wcsmbs_clone_conv): Likewise.
31779 (__wcsmbs_named_conv): Likewise.
31781 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31784 * include/stdlib.h (__random): Add attribute_hidden.
31785 (__random_r): Likewise.
31786 (__srandom_r): Likewise.
31787 (__initstate_r): Likewise.
31788 (__setstate_r): Likewise.
31789 (__erand48_r): Likewise.
31790 (__nrand48_r): Likewise.
31791 (__jrand48_r): Likewise.
31792 (__srand48_r): Likewise.
31793 (__seed48_r): Likewise.
31794 (__lcong48_r): Likewise.
31795 (__drand48_iterate): Likewise.
31796 (__setenv): Likewise.
31797 (__unsetenv): Likewise.
31798 (__clearenv): Likewise.
31799 (__ptsname_r): Likewise.
31800 (__posix_openpt): Likewise.
31801 (__add_to_environ): Likewise.
31802 (__realpath): Add libc_hidden_proto.
31803 (__ecvt_r): Likewise.
31804 (__fcvt_r): Likewise.
31805 (__qecvt_r): Likewise.
31806 (__qfcvt_r): Likewise.
31807 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
31808 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
31810 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31813 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
31814 * include/time.h (__mktime_internal): Likewise.
31815 * libio/iolibio.h (__fopen_internal): Likewise.
31817 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
31819 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
31821 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
31822 Correct offset used to restore PIC register.
31824 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
31827 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
31828 code to load address of __getcontext_ret when generating PIC code.
31830 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
31832 * elf/Makefile (tests-static-internal): Add
31833 tst-tls1-static-non-pie.
31834 (LDFLAGS-tst-tls1-static-non-pie): New.
31835 * elf/tst-tls1-static-non-pie.c: New file.
31837 2017-09-29 Joseph Myers <joseph@codesourcery.com>
31839 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
31840 (asinh): Define using libm_alias_double.
31841 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
31842 (cbrt): Define using libm_alias_double.
31843 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
31844 <libm-alias-double.h>.
31845 (copysign): Define using libm_alias_double.
31846 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
31847 (erf): Define using libm_alias_double.
31849 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
31850 (expm1): Define using libm_alias_double.
31851 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
31852 (fabs): Define using libm_alias_double.
31853 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
31855 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
31856 <libm-alias-double.h>.
31857 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
31859 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
31860 <libm-alias-double.h>.
31861 (getpayload): Define using libm_alias_double.
31862 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
31863 <libm-alias-double.h>.
31864 (llrint): Define using libm_alias_double.
31865 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
31866 (lrint): Define using libm_alias_double.
31867 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
31868 <libm-alias-double.h>.
31869 (nextup): Define using libm_alias_double.
31870 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
31871 <libm-alias-double.h>.
31872 (roundeven): Define using libm_alias_double.
31873 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
31875 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
31876 <libm-alias-double.h>.
31877 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
31878 using libm_alias_double.
31879 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
31880 (cos): Define using libm_alias_double.
31882 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
31883 <libm-alias-double.h>.
31884 (sincos): Define using libm_alias_double.
31885 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
31886 (tanh): Define using libm_alias_double.
31887 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
31888 <libm-alias-double.h>.
31889 (totalorder): Define using libm_alias_double.
31890 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
31891 <libm-alias-double.h>.
31892 (totalordermag): Define using libm_alias_double.
31893 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
31895 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
31897 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
31898 <libm-alias-double.h>.
31899 (getpayload): Define using libm_alias_double.
31900 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
31901 <libm-alias-double.h>.
31902 (roundeven): Define using libm_alias_double.
31903 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
31904 <libm-alias-double.h>.
31905 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
31906 <libm-alias-double.h>.
31907 (totalorder): Define using libm_alias_double.
31908 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
31909 <libm-alias-double.h>.
31910 (totalordermag): Define using libm_alias_double.
31911 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
31912 libc compat symbol here.
31913 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
31914 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
31915 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
31916 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
31917 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
31918 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
31919 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
31920 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
31921 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
31922 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
31924 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
31926 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
31927 _dl_relocate_static_pie instead of _dl_start to compute load
31928 address in static PIE. Return 0 if _DYNAMIC is undefined for
31931 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
31933 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
31934 _DYNAMIC is undefined for static executable.
31936 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
31938 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
31940 2017-09-29 Joseph Myers <joseph@codesourcery.com>
31942 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31944 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
31946 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
31947 (__ieee754_lgamma_r): Use fabs rather than __fabs.
31948 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
31949 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
31950 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
31951 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
31952 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
31953 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
31954 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
31955 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
31956 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
31957 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
31958 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
31959 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
31960 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
31961 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
31962 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
31964 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
31966 * math/bits/cmathcalls.h (cimag): Remove inline.
31967 (creal): Remove inline.
31968 (conj): Remove inline.
31970 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31972 * math/Makefile (type-float-routines): Add e_powf_log2_data.
31973 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
31974 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
31975 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
31976 (issignalingf_inline): Likewise.
31977 (POWF_LOG2_TABLE_BITS): Likewise.
31978 (POWF_LOG2_POLY_ORDER): Likewise.
31979 (POWF_SCALE_BITS): Likewise.
31980 (POWF_SCALE): Likewise.
31981 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
31982 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
31983 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
31985 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31987 * math/Makefile (type-float-routines): Add e_log2f_data.
31988 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
31989 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
31990 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
31991 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
31992 * sysdeps/i386/fpu/e_log2f_data.c: New file.
31993 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
31994 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
31996 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31998 * math/Makefile (type-float-routines): Add e_logf_data.
31999 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
32000 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
32001 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
32002 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
32003 * sysdeps/i386/fpu/e_logf_data.c: New file.
32004 * sysdeps/ia64/fpu/e_logf_data.c: New file.
32005 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
32007 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
32009 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
32010 undefined _DYNAMIC in PIE libc.a.
32011 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
32014 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32016 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
32017 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
32018 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
32019 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
32020 (__signbit): Remove.
32021 (__signbitl): Remove.
32022 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
32023 (__signbit): Remove.
32024 (__signbitl): Remove.
32025 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
32026 (__signbit): Remove.
32027 (__signbitl): Remove.
32028 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
32029 (__signbit): Remove.
32030 (__signbitl): Remove.
32031 * sysdeps/tile/bits/mathinline.h: Delete file.
32032 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
32033 (__signbit): Remove.
32034 (__signbitl): Remove.
32036 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32038 * math/math.h: Improve handling of C99 isgreater macros.
32039 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
32040 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
32041 * sysdeps/powerpc/bits/mathinline.h: Likewise.
32042 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32043 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
32045 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
32047 * sysdeps/aarch64/libm-test-ulps: Update.
32049 2017-09-28 Joseph Myers <joseph@codesourcery.com>
32052 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32053 math_opt_barrier on argument when doing arithmetic on it.
32054 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32055 Likewise. Use math_force_eval not math_opt_barrier after
32057 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
32058 math_opt_barrier on argument when doing arithmetic on it.
32059 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32062 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
32064 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
32066 (__freeifaddrs): Likewise.
32068 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32070 * include/dirent.h (__dirfd): New declaration.
32071 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
32073 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
32074 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
32075 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
32076 * include/unistd.h (__revoke): New declaration.
32077 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
32079 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
32080 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
32082 * include/dirent.h (__seekdir): New declaration.
32083 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
32084 redefine as weak alias.
32085 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
32087 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
32088 and use libc_hidden_def on them.
32089 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
32091 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
32092 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
32093 instead of getifaddrs and freeifaddrs.
32095 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32098 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
32099 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
32100 (__dso_handle): Remove declaration.
32101 * dlfcn/tstatexit.c (__dso_handle): Removed.
32102 (main): Don't check __dso_handle.
32103 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
32104 (main): Don't check __dso_handle.
32105 * include/dso_handle.h: New file.
32106 * malloc/mtrace.c: Include <dso_handle.h>.
32107 (mtrace): Pass __dso_handle directly.
32108 * nptl/pthread_atfork.c: Include <dso_handle.h>.
32109 (__dso_handle): Remove declaration.
32110 (__pthread_atfork): Pass __dso_handle directly.
32111 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
32112 (__dso_handle): Removed.
32113 * posix/wordexp-test.c: Include <dso_handle.h>.
32114 (__dso_handle): Remove declaration.
32115 (__app_register_atfork): Pass __dso_handle directly.
32116 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
32117 (__dso_handle): Remove declaration.
32118 (at_quick_exit): Pass __dso_handle directly.
32119 * stdlib/atexit.c: Include <dso_handle.h>.
32120 (__dso_handle): Remove declaration.
32121 (atexit): Pass __dso_handle directly.
32122 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
32123 (__dso_handle): Removed.
32125 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32127 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
32130 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
32132 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
32133 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
32134 values to correct default value for given type.
32136 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32139 * elf/Makefile (tests): Add tst-debug1.
32140 ($(objpfx)tst-debug1): New.
32141 ($(objpfx)tst-debug1.out): Likewise.
32142 ($(objpfx)tst-debug1mod1.so): Likewise.
32143 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
32144 with p_filesz == 0.
32145 * elf/tst-debug1.c: New file.
32147 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32149 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
32150 Define using __ifunc.
32152 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32154 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
32157 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32160 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
32162 2017-09-26 Florian Weimer <fweimer@redhat.com>
32164 * resolv/Makefile (tests-internal): Fix typo in comment.
32166 2017-09-26 Florian Weimer <fweimer@redhat.com>
32168 * resolv/nss_dns/dns-host.c: Fix typo in comment.
32170 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32172 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
32173 Use an union instead of a max_align_t array for __space,
32174 so that __space is the same size on all platforms.
32175 * malloc/scratch_buffer_grow_preserve.c
32176 (__libc_scratch_buffer_grow_preserve): Likewise.
32179 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
32181 * posix/Makefile (routines): Add glob-lstat-compat and
32182 glob64-lstat-compat.
32183 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
32184 * posix/glob-lstat-compat.c: New file.
32185 * posix/glob64-lstat-compat.c: Likewise.
32186 * posix/tst-glob_lstat_compat.c: Likewise.
32187 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
32188 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
32189 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
32190 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
32192 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
32193 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
32194 * posix/glob.c (glob_lstat): New function.
32195 (glob): Rename to __glob and add versioned symbol to 2.27.
32196 (glob_in_dir): Use glob_lstat.
32197 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
32198 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
32199 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
32201 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
32202 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
32203 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
32204 gl_lstat on glob call.
32205 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
32206 and glob64 symbols.
32207 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
32208 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
32209 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
32210 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
32211 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
32212 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
32213 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
32214 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
32215 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
32216 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
32217 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
32218 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
32219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
32221 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
32222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
32223 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
32224 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
32225 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
32226 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
32227 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
32228 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
32229 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
32230 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
32231 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
32232 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
32234 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
32236 * configure.ac (AS): Require binutils 2.25 or later.
32237 * configure: Regenerated.
32239 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
32242 * stdlib/test-atexit-race-common.c (do_test): Minimize required
32245 2017-09-25 DJ Delorie <dj@redhat.com>
32248 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
32251 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
32253 * sysdeps/ieee754/dbl-64/sincos32.h
32254 [SINCCOS32_H]: Remove define.
32255 [SINCOS32_H]: Define.
32257 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32259 * math/Versions (expf): New libm symbol at GLIBC_2.27.
32261 * math/w_exp2f.c: New file.
32262 * math/w_expf.c: New file.
32263 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
32264 * math/w_expf_compat.c (__expf_compat): Likewise.
32265 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
32266 * sysdeps/ia64/fpu/e_expf.S: Likewise.
32267 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
32268 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
32269 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
32270 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
32271 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
32272 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
32273 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
32274 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
32275 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
32276 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
32277 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
32278 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
32279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
32281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
32283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
32285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
32287 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
32288 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
32289 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
32290 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
32291 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
32292 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
32294 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
32296 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
32297 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
32298 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
32300 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32302 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
32303 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
32304 (roundtoint, converttoint): Likewise.
32305 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
32306 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
32307 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
32308 * sysdeps/ieee754/flt-32/math_config.h: New file.
32309 * sysdeps/ieee754/flt-32/math_errf.c: New file.
32310 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
32311 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
32312 * sysdeps/i386/fpu/math_errf.c: New file.
32313 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
32314 * sysdeps/ia64/fpu/math_errf.c: New file.
32315 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
32316 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
32318 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
32320 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
32321 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
32322 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
32323 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
32324 to make sure that these symbols are defined.
32325 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
32327 (__need_NULL): Do not define.
32328 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
32330 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
32331 CMGROUP_MAX, cmsgcred): Do not define.
32332 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
32334 * bits/socket.h: Likewise.
32335 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
32336 __gettimeofday instead of gettimeofday.
32337 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
32338 instead of settimeofday.
32340 2017-09-22 Joseph Myers <joseph@codesourcery.com>
32342 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
32343 (asinhf): Define using libm_alias_float.
32344 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
32345 (atanf): Define using libm_alias_float.
32346 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
32347 (cbrtf): Define using libm_alias_float.
32348 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
32349 (ceilf): Define using libm_alias_float.
32350 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
32351 <libm-alias-float.h>.
32352 (copysignf): Define using libm_alias_float.
32353 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
32354 (cosf): Define using libm_alias_float.
32355 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
32356 (erff): Define using libm_alias_float.
32358 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
32359 (expm1f): Define using libm_alias_float.
32360 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
32361 (fabsf): Define using libm_alias_float.
32362 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
32363 (floorf): Define using libm_alias_float.
32364 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
32365 (frexpf): Define using libm_alias_float.
32366 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
32368 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
32369 <libm-alias-float.h>.
32370 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
32372 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
32373 <libm-alias-float.h>.
32374 (getpayloadf): Define using libm_alias_float.
32375 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
32376 <libm-alias-float.h>.
32377 (llrintf): Define using libm_alias_float.
32378 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
32379 <libm-alias-float.h>.
32380 (llroundf): Define using libm_alias_float.
32381 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
32382 (logbf): Define using libm_alias_float.
32383 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
32384 (lrintf): Define using libm_alias_float.
32385 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
32386 (lroundf): Define using libm_alias_float.
32387 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
32388 (modff): Define using libm_alias_float.
32389 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
32390 <libm-alias-float.h>.
32391 (nearbyintf): Define using libm_alias_float.
32392 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
32393 <libm-alias-float.h>.
32394 (nextafterf): Define using libm_alias_float.
32395 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
32396 <libm-alias-float.h>.
32397 (nextupf): Define using libm_alias_float.
32398 * sysdeps/ieee754/flt-32/s_remquof.c: Include
32399 <libm-alias-float.h>.
32400 (remquof): Define using libm_alias_float.
32401 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
32402 (rintf): Define using libm_alias_float.
32403 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
32404 <libm-alias-float.h>.
32405 (roundevenf): Define using libm_alias_float.
32406 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
32407 (roundf): Define using libm_alias_float.
32408 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
32409 using libm_alias_float.
32410 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
32411 <libm-alias-float.h>.
32412 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
32413 Define using libm_alias_float.
32414 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
32415 <libm-alias-float.h>.
32416 (sincosf): Define using libm_alias_float.
32417 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
32418 (sinf): Define using libm_alias_float.
32419 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
32420 (tanf): Define using libm_alias_float.
32421 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
32422 (tanhf): Define using libm_alias_float.
32423 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
32424 <libm-alias-float.h>.
32425 (totalorderf): Define using libm_alias_float.
32426 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
32427 <libm-alias-float.h>.
32428 (totalordermagf): Define using libm_alias_float.
32429 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
32430 (truncf): Define using libm_alias_float.
32431 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
32433 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
32436 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32439 math/math.h: Let fpclassify use the builtin in C++ mode, even
32440 when optimazing for size.
32442 2017-09-22 Joseph Myers <joseph@codesourcery.com>
32444 * csu/Makefile (generated): Do not add version-info.h.
32445 (before-compile): Likewise.
32446 (all-Banner-files): Remove variable.
32447 ($(objpfx)version-info.h): Remove rule.
32448 * csu/version.c (banner): Do not include "version-info.h".
32449 * libidn/Banner: Remove.
32450 * manual/contrib.texi (Simon Josefsson): New entry.
32452 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32454 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
32455 Remove conditionals on LDBL_MANT_DIG.
32456 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
32457 (__ieee754_lgammal_r): Likewise.
32459 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32461 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
32463 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
32464 _Float128 and L(). Replace _Float128 with long double and L(x)
32465 with xL, throughout the file.
32466 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
32467 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
32468 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
32469 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
32471 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32473 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
32474 sysdeps/ieee754/ldbl-128ibm.
32475 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
32476 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
32477 of including it. Keep _Float128 and L() intact. These will be
32478 reviewed by a separate patch.
32479 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
32480 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
32481 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
32482 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
32484 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
32487 (__finitef128): Define to __redirect___finitef128.
32488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
32489 (__isinff128): Define to __redirect___isinff128.
32490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
32491 (__isnanf128): Define to __redirect___isnanf128.
32493 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32495 * sysdeps/powerpc/powerpc64le/Makefile
32496 (CFLAGS-tst-strtod-nan-locale.c): New variable.
32497 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
32499 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
32500 Carlos O'Donell <carlos@redhat.com>
32503 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
32504 * stdlib/test-dlclose-exit-race.c: New file.
32505 * stdlib/test-dlclose-exit-race-helper.c: New file.
32506 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
32508 2017-09-21 Joseph Myers <joseph@codesourcery.com>
32510 * crypt/Banner: Remove file.
32511 * nptl/Banner: Likewise.
32512 * resolv/Banner: Likewise.
32513 * soft-fp/Banner: Likewise.
32514 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
32515 ($(objpfx)version.d): Remove dependency on banner.h.
32516 ($(objpfx)version.os): Likewise.
32517 * nptl/version.c (banner): Do not include banner.h.
32518 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
32519 Jelinek and BIND code.
32521 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
32522 Carlos O'Donell <carlos@redhat.com>
32524 * support/xdlfcn.h: New file.
32525 * support/xdlfcn.c: New file.
32526 * support/Makefile (libsupport-routines): Add xdlfcn.
32527 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
32529 2017-09-20 Joseph Myers <joseph@codesourcery.com>
32532 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32533 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
32534 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
32535 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
32536 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
32537 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
32538 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
32539 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
32541 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
32542 Ricky Zhou <rickyz@google.com>
32543 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
32546 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
32548 (__new_exitfn): Fail registration when we finished at_exit processing.
32549 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
32550 * stdlib/on_exit.c (__on_exit): Likewise.
32551 * stdlib/exit.c (__exit_funcs_done): New variable.
32552 (__run_exit_handlers): Use __exit_funcs_lock.
32553 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
32555 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
32556 (test-cxa_atexit-race, test-on_exit-race): New tests.
32557 * stdlib/test-atexit-race-common.c: New file.
32558 * stdlib/test-atexit-race.c: New file.
32559 * stdlib/test-at_quick_exit-race.c: New file.
32560 * stdlib/test-cxa_atexit-race.c: New file.
32561 * stdlib/test-on_exit-race.c: New file.
32563 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
32565 * benchtests/Makefile: Add exp2f and log2f benchmarks.
32566 * benchtests/exp2f-inputs: Copy of expf-inputs.
32567 * benchtests/log2f-inputs: Copy of logf-inputs.
32569 2017-09-19 Joseph Myers <joseph@codesourcery.com>
32571 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
32572 Explicitly take address of first element of array arguments in
32573 call to INLINE_SYSCALL.
32575 2017-09-19 Andreas Schwab <schwab@suse.de>
32578 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
32580 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
32582 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
32583 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
32584 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32585 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
32586 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32587 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
32588 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32589 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
32590 * posix/Makefile (tests): Add tst-fexecve.
32591 * posix/tst-fexecve.c: New file.
32593 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
32595 * benchtests/Makefile: Add logf benchmark.
32596 * benchtests/logf-inputs: Add reduced trace from wrf_r.
32598 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
32600 * benchtests/Makefile: Add expf benchmark.
32601 * benchtests/expf-inputs: Add reduced trace from wrf_r.
32603 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
32605 * csu/Makefile: Add -funwind-tables to libc-start.c.
32606 * debug/Makefile: Add -funwind-tables to backtrace.c.
32607 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
32608 * sysdeps/arm/Makefile: Likewise.
32609 * sysdeps/i386/Makefile: Likewise.
32610 * sysdeps/m68k/Makefile: Likewise.
32611 * sysdeps/mips/Makefile: Likewise.
32612 * sysdeps/nios2/Makefile: Likewise.
32613 * sysdeps/sh/Makefile: Likewise.
32614 * sysdeps/sparc/Makefile: Likewise.
32616 2017-09-19 Joseph Myers <joseph@codesourcery.com>
32618 * benchtests/Makefile (bench-math): Add trunc and truncf.
32619 (CFLAGS-bench-trunc.c): New variable.
32620 (CFLAGS-bench-truncf.c): Likewise.
32621 * benchtests/trunc-inputs: New file.
32622 * benchtests/truncf-inputs: Likewise.
32624 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32626 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
32628 2017-09-18 Joseph Myers <joseph@codesourcery.com>
32630 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
32631 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
32633 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
32634 (exp10l): Define as weak alias.
32635 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
32636 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
32638 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
32639 (remainderl): Define as weak alias.
32641 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
32642 (fmal): Define using libm_alias_ldouble.
32643 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
32644 (acoshl): Define using libm_alias_ldouble.
32645 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
32646 (acosl): Define using libm_alias_ldouble.
32647 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
32648 (asinl): Define using libm_alias_ldouble.
32649 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
32650 (atan2l): Define using libm_alias_ldouble.
32651 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
32652 (atanhl): Define using libm_alias_ldouble.
32653 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
32654 (coshl): Define using libm_alias_ldouble.
32655 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
32656 (exp10l): Define using libm_alias_ldouble.
32657 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
32658 (exp2l): Define using libm_alias_ldouble.
32659 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
32660 (expl): Define using libm_alias_ldouble.
32661 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
32662 (fmodl): Define using libm_alias_ldouble.
32663 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
32664 (hypotl): Define using libm_alias_ldouble.
32665 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
32666 (j0l): Define using libm_alias_ldouble.
32668 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
32669 (j1l): Define using libm_alias_ldouble.
32671 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
32672 (jnl): Define using libm_alias_ldouble.
32674 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
32675 (log10l): Define using libm_alias_ldouble.
32676 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
32677 (log2l): Define using libm_alias_ldouble.
32678 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
32679 (logl): Define using libm_alias_ldouble.
32680 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
32681 (powl): Define using libm_alias_ldouble.
32682 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
32683 (remainderl): Define using libm_alias_ldouble.
32684 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
32685 (sinhl): Define using libm_alias_ldouble.
32686 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
32687 (sqrtl): Define using libm_alias_ldouble.
32688 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
32689 (tgammal): Define using libm_alias_ldouble.
32690 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
32691 (exp10l): Do not use long_double_symbol here.
32692 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
32693 [LIBM_SVID_COMPAT] (remainderl): Likewise.
32694 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
32695 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
32696 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
32697 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
32698 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
32699 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
32700 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
32701 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
32702 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
32703 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
32704 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
32705 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
32706 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
32707 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
32708 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
32709 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
32710 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
32711 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
32712 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
32713 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
32715 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
32717 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
32718 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
32720 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
32722 * io/read.c (read): Add libc_hidden_weak.
32723 * sysdeps/mach/hurd/read.c (read): Likewise.
32724 * io/write.c (write): Likewise.
32725 * sysdeps/mach/hurd/write.c (write): Likewise.
32726 * io/pread64.c (__pread64): Likewise.
32727 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
32728 * posix/pread64.c (__pread64): Add libc_hidden_def.
32730 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
32732 * benchtests/scripts/compare_strings.py: New option -g.
32733 (draw_graph): Print a message that a graph is being generated.
32734 (process_results): Generate graph only if -g is passed.
32735 (main): Process option -g.
32737 * benchtests/scripts/compare_strings.py (process_results):
32738 Better spacing for output.
32740 * benchtests/scripts/compare_strings.py: Use argparse.
32741 * benchtests/README: Document existence of compare_strings.py.
32743 2017-09-15 Joseph Myers <joseph@codesourcery.com>
32745 * math/s_fma.c: Include <libm-alias-double.h>.
32746 (fma): Define using libm_alias_double.
32747 * math/s_nextafter.c: Include <libm-alias-double.h>.
32748 (nextafter): Define using libm_alias_double.
32749 * math/w_acos_compat.c: Include <libm-alias-double.h>.
32750 (acos): Define using libm_alias_double.
32751 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
32752 (aocsh): Define using libm_alias_double.
32753 * math/w_asin_compat.c: Include <libm-alias-double.h>.
32754 (asin): Define using libm_alias_double.
32755 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
32756 (atan2): Define using libm_alias_double.
32757 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
32758 (atanh): Define using libm_alias_double.
32759 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
32760 (cosh): Define using libm_alias_double.
32761 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
32762 (exp10): Define using libm_alias_double.
32763 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
32764 (exp2): Define using libm_alias_double.
32765 * math/w_exp_compat.c: Include <libm-alias-double.h>.
32766 (exp): Define using libm_alias_double.
32767 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
32768 (fmod): Define using libm_alias_double.
32769 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
32770 (hypot): Define using libm_alias_double.
32771 * math/w_j0_compat.c: Include <libm-alias-double.h>.
32772 (j0): Define using libm_alias_double.
32774 * math/w_j1_compat.c: Include <libm-alias-double.h>.
32775 (j1): Define using libm_alias_double.
32777 * math/w_jn_compat.c: Include <libm-alias-double.h>.
32778 (jn): Define using libm_alias_double.
32780 * math/w_log10_compat.c: Include <libm-alias-double.h>.
32781 (log10): Define using libm_alias_double.
32782 * math/w_log2_compat.c: Include <libm-alias-double.h>.
32783 (log2): Define using libm_alias_double.
32784 * math/w_log_compat.c: Include <libm-alias-double.h>.
32785 (log): Define using libm_alias_double.
32786 * math/w_pow_compat.c: Include <libm-alias-double.h>.
32787 (pow): Define using libm_alias_double.
32788 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
32789 (remainder): Define using libm_alias_double.
32790 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
32791 (sinh): Define using libm_alias_double.
32792 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
32793 (sqrt): Define using libm_alias_double.
32794 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
32795 (tgamma): Define using libm_alias_double.
32796 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
32797 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
32798 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
32799 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
32800 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
32801 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
32802 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
32803 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
32804 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
32805 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
32806 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
32807 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
32808 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
32809 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
32810 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
32811 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
32812 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
32813 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
32814 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
32815 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
32816 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
32817 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
32818 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
32819 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
32820 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
32822 * math/e_acoshl.c: Remove.
32823 * math/e_acosl.c: Likewise.
32824 * math/e_asinl.c: Likewise.
32825 * math/e_atan2l.c: Likewise.
32826 * math/e_atanhl.c: Likewise.
32827 * math/e_coshl.c: Likewise.
32828 * math/e_expl.c: Likewise.
32829 * math/e_fmodl.c: Likewise.
32830 * math/e_gammal_r.c: Likewise.
32831 * math/e_hypotl.c: Likewise.
32832 * math/e_j0l.c: Likewise.
32833 * math/e_j1l.c: Likewise.
32834 * math/e_jnl.c: Likewise.
32835 * math/e_lgammal_r.c: Likewise.
32836 * math/e_log10l.c: Likewise.
32837 * math/e_log2l.c: Likewise.
32838 * math/e_logl.c: Likewise.
32839 * math/e_powl.c: Likewise.
32840 * math/e_rem_pio2l.c: Likewise.
32841 * math/e_sinhl.c: Likewise.
32842 * math/e_sqrtf128.c: Likewise.
32843 * math/e_sqrtl.c: Likewise.
32844 * math/k_cosl.c: Likewise.
32845 * math/k_sinl.c: Likewise.
32846 * math/k_tanl.c: Likewise.
32847 * math/s_asinhl.c: Likewise.
32848 * math/s_atanl.c: Likewise.
32849 * math/s_cbrtl.c: Likewise.
32850 * math/s_erfl.c: Likewise.
32851 * math/s_expm1l.c: Likewise.
32852 * math/s_log1pl.c: Likewise.
32853 * math/s_tanhl.c: Likewise.
32855 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32858 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
32859 [$(subdir) = math] (sysdep_calls): New variable. Has the
32860 previous contents of sysdep_routines, but re-sorted..
32861 [$(subdir) = math] (sysdep_routines): Re-use the contents from
32863 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
32864 defined in sysdep_calls and replace by the respective m_* names.
32865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
32866 (compat_symbol): Undefine to avoid duplicated compat symbols in
32869 2017-09-15 Joseph Myers <joseph@codesourcery.com>
32871 * math/s_fmaf.c: Include <libm-alias-float.h>.
32872 (fmaf): Define using libm_alias_float.
32873 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
32874 (acosf): Define using libm_alias_float.
32875 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
32876 (acoshf): Define using libm_alias_float.
32877 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
32878 (asinf): Define using libm_alias_float.
32879 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
32880 (atan2f): Define using libm_alias_float.
32881 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
32882 (atanhf): Define using libm_alias_float.
32883 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
32884 (coshf): Define using libm_alias_float.
32885 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
32886 (exp10f): Define using libm_alias_float.
32887 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
32888 (fmodf): Define using libm_alias_float.
32889 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
32890 (hypotf): Define using libm_alias_float.
32891 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
32892 (j0f): Define using libm_alias_float.
32894 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
32895 (j1f): Define using libm_alias_float.
32897 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
32898 (jnf): Define using libm_alias_float.
32900 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
32901 (log10f): Define using libm_alias_float.
32902 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
32903 (log2f): Define using libm_alias_float.
32904 * math/w_logf_compat.c: Include <libm-alias-float.h>.
32905 (logf): Define using libm_alias_float.
32906 * math/w_powf_compat.c: Include <libm-alias-float.h>.
32907 (powf): Define using libm_alias_float.
32908 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
32909 (remainderf): Define using libm_alias_float.
32910 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
32911 (sinhf): Define using libm_alias_float.
32912 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
32913 (sqrtf): Define using libm_alias_float.
32914 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
32915 (tgammaf): Define using libm_alias_float.
32917 2017-09-14 Joseph Myers <joseph@codesourcery.com>
32919 * include/math.h (roundeven): Change hidden_proto call to
32921 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
32923 [NO_LONG_DOUBLE] (__j0l): New strong alias.
32924 (y0): Rename to __y0 and define as weak alias.
32925 [NO_LONG_DOUBLE] (__y0l): New strong alias.
32926 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
32928 (y0f): Rename to __y0f and define as weak alias.
32929 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
32931 [NO_LONG_DOUBLE] (__j1l): New strong alias.
32932 (y1): Rename to __y1 and define as weak alias.
32933 [NO_LONG_DOUBLE] (__y1l): New strong alias.
32934 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
32936 (y1f): Rename to __y1f and define as weak alias.
32937 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
32939 [NO_LONG_DOUBLE] (__jnl): New strong alias.
32940 (yn): Rename to __yn and define as weak alias.
32941 [NO_LONG_DOUBLE] (__ynl): New strong alias.
32942 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
32944 (ynf): Rename to __ynf and define as weak alias.
32945 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
32946 (fromfp): Define as weak alias.
32947 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
32948 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
32949 (fromfpx): Define as weak alias.
32950 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
32951 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
32952 __getpayload and define as weak alias.
32953 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
32954 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
32955 __roundeven and define as weak alias.
32956 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
32957 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
32959 (setpayload): Define as weak alias.
32960 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
32961 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
32963 (setpayloadsig): Define as weak alias.
32964 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
32965 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
32966 __totalorder and define as weak alias.
32967 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
32968 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
32969 to __totalordermag and define as weak alias.
32970 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
32971 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
32972 (ufromfp): Define as weak alias.
32973 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
32974 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
32976 (ufromfpx): Define as weak alias.
32977 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
32978 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
32979 Rename to __getpayload and define as weak alias.
32980 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
32981 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
32982 Rename to __roundeven and define as weak alias.
32983 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
32984 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
32985 Rename to __totalorder and define as weak alias.
32986 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
32987 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
32988 (totalordermag): Rename to __totalordermag and define as weak
32990 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
32991 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
32993 (__roundevenl): Likewise.
32994 (__totalorderl): Likewise.
32995 (__totalordermagl): Likewise
32996 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
32998 (fromfpf128): Define as weak alias.
32999 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
33001 (fromfpxf128): Define as weak alias.
33002 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
33004 (setpayloadf128): Define as weak alias.
33005 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
33006 __setpayloadsigf128.
33007 (setpayloadsigf128): Define as weak alias.
33008 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
33010 (ufromfpf128): Define as weak alias.
33011 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
33013 (ufromfpxf128): Define as weak alias.
33014 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
33015 (fromfpf): Define as weak alias.
33016 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
33018 (fromfpxf): Define as weak alias.
33019 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
33020 __getpayloadf and define as weak alias.
33021 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
33022 __roundevenf and define as weak alias.
33023 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
33025 (setpayloadf): Define as weak alias.
33026 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
33028 (setpayloadsigf): Define as weak alias.
33029 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
33030 __totalorderf and define as weak alias.
33031 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
33032 Rename to __totalordermagf and define as weak alias.
33033 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
33035 (ufromfpf): Define as weak alias.
33036 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
33038 (ufromfpxf): Define as weak alias.
33039 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
33041 (fromfpl): Define as weak alias.
33042 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
33044 (fromfpxl): Define as weak alias.
33045 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
33046 to __getpayloadl and define as weak alias.
33047 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
33048 __roundevenl and define as weak alias.
33049 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
33051 (setpayloadl): Define as weak alias.
33052 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
33054 (setpayloadsigl): Define as weak alias.
33055 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
33056 to __totalorderl and define as weak alias.
33057 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
33058 Rename to __totalordermagl and define as weak alias.
33059 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
33061 (ufromfpl): Define as weak alias.
33062 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
33064 (ufromfpxl): Define as weak alias.
33065 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
33067 (fromfpl): Define as weak alias.
33068 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
33070 (fromfpxl): Define as weak alias.
33071 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
33072 Rename to __getpayloadl and define as weak alias.
33073 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
33074 to __roundevenl and define as weak alias. Call __roundeven
33075 instead of roundeven.
33076 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
33078 (setpayloadl): Define as weak alias.
33079 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
33081 (setpayloadsigl): Define as weak alias.
33082 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
33083 Rename to __totalorderl and define as weak alias.
33084 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
33085 Rename to __totalordermagl and define as weak alias.
33086 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
33088 (ufromfpl): Define as weak alias.
33089 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
33091 (ufromfpxl): Define as weak alias.
33092 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
33094 (fromfpl): Define as weak alias.
33095 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
33097 (fromfpxl): Define as weak alias.
33098 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
33099 __getpayloadl and define as weak alias.
33100 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
33101 __roundevenl and define as weak alias.
33102 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
33104 (setpayloadl): Define as weak alias.
33105 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
33107 (setpayloadsigl): Define as weak alias.
33108 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
33109 __totalorderl and define as weak alias.
33110 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
33111 Rename to __totalordermagl and define as weak alias.
33112 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
33114 (ufromfpl): Define as weak alias.
33115 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
33117 (ufromfpxl): Define as weak alias.
33119 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
33121 * benchtests/bench-string.h (realloc_bufs): New function.
33122 (test_init): Call it.
33123 * benchtests/bench-memset-large.c (do_test): Likewise.
33124 * benchtests/bench-memset.c (do_test): Likewise.
33126 * benchtests/bench-memset-large.c: Print output in JSON
33128 * benchtests/bench-memset.c: Likewise.
33130 2017-09-14 Mike FABIAN <mfabian@redhat.com>
33133 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
33134 * iconvdata/Makefile: Add IBM858.
33135 * iconvdata/gconv-modules: Likewise.
33136 * iconvdata/tst-tables.sh: Likewise.
33137 * iconvdata/ibm858.c: New file.
33138 * localedata/charmaps/IBM858: Likewise.
33140 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
33143 * locales/niu_NZ (LC_TIME): copy "niu_NU".
33144 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
33146 2017-09-14 Mike FABIAN <mfabian@redhat.com>
33149 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
33150 and add tel_int_fmt.
33152 2017-09-14 Joseph Myers <joseph@codesourcery.com>
33154 * sysdeps/generic/libm-alias-float128.h: New file.
33155 * sysdeps/generic/math-type-macros-float128.h: Include
33156 <libm-alias-float128.h>.
33157 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
33159 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33161 * sysdeps/generic/libm-alias-ldouble.h: New file.
33162 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
33163 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
33164 * sysdeps/generic/math-type-macros-ldouble.h: Include
33165 <libm-alias-ldouble.h>.
33166 [!declare_mgen_alias] (declare_mgen_alias): Define to use
33167 libm_alias_ldouble.
33169 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
33171 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
33172 * math/w_exp_compat.c: ... here.
33173 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
33174 * math/w_expf_compat.c: ... here.
33175 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
33176 * math/w_expl_compat.c: ... here.
33177 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
33178 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
33179 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
33180 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33182 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33184 * math/w_scalbln_template.c (strong_alias): Do not undefine and
33186 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
33188 (ldexpl): Only define as compat symbol for libc, not libm.
33189 (scalbnl): Define as compat symbol for libc here.
33190 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
33191 define for [IS_IN (libc)].
33192 (__ldexpl_2): Remove alias.
33193 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
33194 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
33195 name in long_double_symbol call.
33196 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
33197 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
33198 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
33199 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
33200 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
33202 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
33203 Define as compat symbol.
33205 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33207 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
33208 * sysdeps/unix/sysv/linux/alpha/Makefile
33209 [$(subdir) = csu] (sysdep_routines): Remove rule.
33211 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33213 * sysdeps/generic/libm-alias-double.h: New file.
33214 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
33215 * sysdeps/generic/math-type-macros-double.h: Include
33216 <libm-alias-double.h>.
33217 [declare_mgen_alias] (declare_mgen_alias): Define to use
33219 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
33220 (M_LIBM_NEED_COMPAT): Remove macro.
33221 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
33222 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
33223 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
33225 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33226 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33227 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33228 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33229 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33230 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33231 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33232 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33233 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33234 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33235 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33236 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33237 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33238 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33239 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33240 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33241 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33242 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33243 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33244 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33245 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33246 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33247 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33248 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33249 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33250 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33251 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33252 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
33253 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
33255 (declare_mgen_alias): New macro.
33256 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
33257 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
33258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
33259 (M_LIBM_NEED_COMPAT): Remove macro.
33260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
33261 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
33262 <first-versions.h>.
33263 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
33264 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
33266 2017-09-12 Joseph Myers <joseph@codesourcery.com>
33268 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
33269 (declare_mgen_alias_2): Remove.
33270 * sysdeps/generic/math-type-macros-double.h
33271 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
33273 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
33275 (ldexp): Define with declare_mgen_alias.
33276 (scalbn): Likewise.
33278 2017-09-12 Steve Ellcey <sellcey@cavium.com>
33280 * grp/initgroups.c: Include config.h.
33281 (DEFAULT_CONFIG): New macro.
33282 (internal_getgrouplist): Use DEFAULT_CONFIG.
33283 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33284 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
33285 (DEFAULT_DEFCONFIG): New macro.
33286 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
33287 * nss/grp-lookup.c: Include config.h
33288 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
33289 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
33290 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
33291 * manual/nss.texi: Update default values section.
33293 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
33296 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
33298 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
33299 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
33300 Handle MathVec_Prefer_No_AVX512.
33301 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
33302 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
33305 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
33307 * posix/sched_primax.c (__sched_get_priority_max): Add
33309 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
33310 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
33311 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
33312 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
33313 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
33314 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
33315 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
33316 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
33319 2017-09-11 Joseph Myers <joseph@codesourcery.com>
33321 * sysdeps/generic/libm-alias-float.h: New file.
33322 * sysdeps/generic/math-type-macros-float.h: Include
33323 <libm-alias-float.h>.
33324 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
33326 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
33329 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
33330 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
33331 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
33332 (HWCAP_IMPORTANT): Likewise.
33333 (HWCAP_X86_64): New enum.
33334 (HWCAP_X86_AVX512_1): Updated.
33335 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
33336 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
33337 (modules-names): Add x86_64/tst-x86_64mod-1.
33338 (LDFLAGS-tst-x86_64mod-1.so): New.
33339 ($(objpfx)tst-x86_64-1): Likewise.
33340 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
33341 (tst-x86_64-1-clean): Likewise.
33342 * sysdeps/x86_64/tst-x86_64-1.c: New file.
33343 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
33345 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
33347 * po/sv.po: Update translations.
33348 * po/fr.po: Likewise.
33350 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33352 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
33354 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
33356 * elf/rtld-Rules: Fix $(error) use.
33358 2017-09-09 Mike FABIAN <mfabian@redhat.com>
33361 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
33362 * locale/iso-639.def: Change “Bengali” to “Bangla”.
33363 * localedata/locales/bn_BD: “Bengali” was still used in some
33364 comments. Change it to “Bangla”.
33366 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
33368 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
33370 2017-09-08 Steve Ellcey <sellcey@cavium.com>
33372 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
33373 thunderx2t99p1 to list of cpu names.
33374 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
33375 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
33377 2017-09-08 Steve Ellcey <sellcey@cavium.com>
33379 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
33380 Use strcmp instead of tunable_is_name.
33382 2017-09-08 Joseph Myers <joseph@codesourcery.com>
33384 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33385 (F_GET_RW_HINT): New macro.
33386 [__USE_GNU] (F_SET_RW_HINT): Likewise.
33387 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
33388 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
33389 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
33390 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
33391 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
33392 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
33393 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
33394 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
33396 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33397 (F_ADD_SEALS): New macro.
33398 [__USE_GNU] (F_GET_SEALS): Likewise.
33399 [__USE_GNU] (F_SEAL_SEAL): Likewise.
33400 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
33401 [__USE_GNU] (F_SEAL_GROW): Likewise.
33402 [__USE_GNU] (F_SEAL_WRITE): Likewise.
33404 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33406 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
33407 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
33408 * posix/glob_internal.h (__glob_pattern_type):
33409 * posix/glob.c (glob):
33410 * posix/glob_pattern_p.c (__glob_pattern_p):
33413 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
33414 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
33415 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
33416 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
33417 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
33418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
33419 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
33420 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
33421 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
33422 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33423 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
33424 * sysdeps/wordsize-64/glob.c: Likewise.
33425 * sysdeps/wordsize-64/glob64.c: Likewise.
33426 * sysdeps/wordsize-64/globfree.c: Likewise.
33427 * sysdeps/wordsize-64/globfree64.c: Likewise.
33428 * sysdeps/unix/sysv/linux/glob.c: New file.
33429 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
33430 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
33431 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
33432 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
33433 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
33434 adds !GLOB_NO_OLD_VERSION as an extra condition.
33435 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
33436 using relative path instead of absolute one.
33437 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
33438 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33439 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33440 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
33441 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
33442 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
33445 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
33446 (glob): Use the same scratch buffer for both getlogin_r and
33447 getpwnam_r. Don’t require preallocation of the login name. This
33448 simplifies storage allocation, and corrects the handling of
33452 * posix/glob.c (glob): Port recent patches to platforms
33453 lacking getpwnam_r.
33454 (glob): Fix longstanding misuse of errno after getpwnam_r, which
33455 returns an error number rather than setting errno.
33457 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
33458 instead of GCC extension.
33459 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
33460 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
33461 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
33465 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
33466 * posix/bug-glob1.c: Remove file.
33467 * posix/tst-glob_symlinks.c: New file.
33468 * posix/glob.c (__lstat64): New macro.
33469 (is_dir): New function.
33470 (glob, glob_in_dir): Match symlinks even if they are dangling.
33471 (link_stat, link_exists_p): Remove. All uses removed.
33475 * posix/glob.c (struct readdir_result): Remove skip_entry member.
33476 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
33481 * posix/Makefile (routines): Add globfree, globfree64, and
33483 * posix/flexmember.h: New file.
33484 * posix/glob_internal.h: Likewise.
33485 * posix/glob_pattern_p.c: Likewise.
33486 * posix/globfree.c: Likewise.
33487 * posix/globfree64.c: Likewise.
33488 * sysdeps/gnu/globfree64.c: Likewise.
33489 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
33490 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
33491 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
33492 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
33493 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
33494 * sysdeps/wordsize-64/globfree.c: Likewise.
33495 * sysdeps/wordsize-64/globfree64.c: Likewise.
33496 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
33497 [NDEBUG): Remove comments.
33498 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
33499 (dirent_type): New type. Use uint_fast8_t not
33500 uint8_t, as C99 does not require uint8_t.
33501 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
33502 (struct readdir_result): Use dirent_type. Do not define skip_entry
33503 unless it is needed; this saves a byte on platforms lacking d_ino.
33504 (readdir_result_type, readdir_result_skip_entry):
33505 New functions, replacing ...
33506 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
33507 these functions, which were removed. This makes the callers
33508 easier to read. All callers changed.
33509 (D_INO_TO_RESULT): Now empty if there is no d_ino.
33510 (size_add_wrapv, glob_use_alloca): New static functions.
33511 (glob, glob_in_dir): Check for size_t overflow in several places,
33512 and fix some size_t checks that were not quite right.
33513 Remove old code using SHELL since Bash no longer
33515 (glob, prefix_array): Separate MS code better.
33516 (glob_in_dir): Remove old Amiga and VMS code.
33517 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
33519 (glob_in_dir): Do not rely on undefined behavior in accessing
33520 struct members beyond their bounds. Use a flexible array member
33522 (link_stat): Rename from link_exists2_p and return -1/0 instead of
33523 0/1. Caller changed.
33524 (glob): Fix memory leaks.
33525 * posix/glob64 (globfree64): Move to separate file.
33526 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
33527 (globfree64): Remove hidden alias.
33528 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
33530 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
33532 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
33534 Move compat code to separate file.
33535 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
33538 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
33540 * resolv/tst-resolv-qtypes.c (domain): Changed to
33541 "const char domain[] =".
33543 2017-09-07 Joseph Myers <joseph@codesourcery.com>
33545 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
33548 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
33549 (TCP_MD5SIG_EXT): Likewise.
33550 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
33551 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
33552 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
33554 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
33556 2017-09-07 Mike FABIAN <mfabian@redhat.com>
33558 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
33560 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
33563 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
33565 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
33567 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
33568 before assuming that the file is empty. Avoid testing buffer content
33571 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33574 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
33576 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
33578 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
33580 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
33582 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
33584 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
33586 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
33589 2017-09-06 Florian Weimer <fweimer@redhat.com>
33591 * malloc/dynarray_emplace_enlarge.c
33592 (__libc_dynarray_emplace_enlarge): Add missing else.
33594 2017-09-06 Florian Weimer <fweimer@redhat.com>
33597 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
33598 case of failure to obtain the global conf object.
33600 2017-09-06 Florian Weimer <fweimer@redhat.com>
33603 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
33604 dynarray allocation failure.
33606 2017-09-06 Florian Weimer <fweimer@redhat.com>
33608 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
33609 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
33610 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
33612 (response): Call them. Add 'p', '6' flag processing.
33613 (test_reverse): New function.
33614 (test_get2_any): Call it.
33615 (test_no_inet6): Add 'p' test.
33616 (test_inet6): Likewise.
33618 2017-09-06 Florian Weimer <fweimer@redhat.com>
33620 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
33621 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
33623 (test_gai): Adjust query names. Add additional tests.
33624 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
33625 test_get2. Adjust query names. Add additional tests.
33626 (test_no_inet6): New function, extracted from threadfunc.
33627 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
33628 Add additional tests.
33630 2017-09-06 Mike FABIAN <mfabian@redhat.com>
33633 * localedata/unicode-gen/utf8_gen.py: Set the width for
33634 characters with Prepended_Concatenation_Mark property to 1
33635 * localedata/charmaps/UTF-8: Updated using the improved script.
33637 2017-09-06 Mike FABIAN <mfabian@redhat.com>
33640 * localedata/unicode-gen/utf8_gen.py: Improve the script to
33641 use the range notation for all ranges of neighbouring characters
33642 with the same width.
33644 2017-09-05 Joseph Myers <joseph@codesourcery.com>
33646 * sysdeps/generic/math-type-macros-double.h: Include
33647 <math-svid-compat.h>.
33648 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
33649 * sysdeps/generic/math-type-macros-float.h: Include
33650 <math-svid-compat.h>.
33651 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
33652 * sysdeps/generic/math-type-macros-ldouble.h: Include
33653 <math-svid-compat.h>.
33654 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
33655 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
33657 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
33658 * math/w_acosf_compat.c: Likewise.
33659 * math/w_acosh_compat.c: Likewise.
33660 * math/w_acoshf_compat.c: Likewise.
33661 * math/w_acoshl_compat.c: Likewise.
33662 * math/w_acosl_compat.c: Likewise.
33663 * math/w_asin_compat.c: Likewise.
33664 * math/w_asinf_compat.c: Likewise.
33665 * math/w_asinl_compat.c: Likewise.
33666 * math/w_atan2_compat.c: Likewise.
33667 * math/w_atan2f_compat.c: Likewise.
33668 * math/w_atan2l_compat.c: Likewise.
33669 * math/w_atanh_compat.c: Likewise.
33670 * math/w_atanhf_compat.c: Likewise.
33671 * math/w_atanhl_compat.c: Likewise.
33672 * math/w_cosh_compat.c: Likewise.
33673 * math/w_coshf_compat.c: Likewise.
33674 * math/w_coshl_compat.c: Likewise.
33675 * math/w_exp10_compat.c: Likewise.
33676 * math/w_exp10f_compat.c: Likewise.
33677 * math/w_exp10l_compat.c: Likewise.
33678 * math/w_exp2_compat.c: Likewise.
33679 * math/w_exp2f_compat.c: Likewise.
33680 * math/w_exp2l_compat.c: Likewise.
33681 * math/w_fmod_compat.c: Likewise.
33682 * math/w_fmodf_compat.c: Likewise.
33683 * math/w_fmodl_compat.c: Likewise.
33684 * math/w_hypot_compat.c: Likewise.
33685 * math/w_hypotf_compat.c: Likewise.
33686 * math/w_hypotl_compat.c: Likewise.
33687 * math/w_j0_compat.c: Likewise.
33688 * math/w_j0f_compat.c: Likewise.
33689 * math/w_j0l_compat.c: Likewise.
33690 * math/w_j1_compat.c: Likewise.
33691 * math/w_j1f_compat.c: Likewise.
33692 * math/w_j1l_compat.c: Likewise.
33693 * math/w_jn_compat.c: Likewise.
33694 * math/w_jnf_compat.c: Likewise.
33695 * math/w_jnl_compat.c: Likewise.
33696 * math/w_lgamma_r_compat.c: Likewise.
33697 * math/w_lgammaf_r_compat.c: Likewise.
33698 * math/w_lgammal_r_compat.c: Likewise.
33699 * math/w_log10_compat.c: Likewise.
33700 * math/w_log10f_compat.c: Likewise.
33701 * math/w_log10l_compat.c: Likewise.
33702 * math/w_log2_compat.c: Likewise.
33703 * math/w_log2f_compat.c: Likewise.
33704 * math/w_log2l_compat.c: Likewise.
33705 * math/w_log_compat.c: Likewise.
33706 * math/w_logf_compat.c: Likewise.
33707 * math/w_logl_compat.c: Likewise.
33708 * math/w_pow_compat.c: Likewise.
33709 * math/w_powf_compat.c: Likewise.
33710 * math/w_powl_compat.c: Likewise.
33711 * math/w_remainder_compat.c: Likewise.
33712 * math/w_remainderf_compat.c: Likewise.
33713 * math/w_remainderl_compat.c: Likewise.
33714 * math/w_sinh_compat.c: Likewise.
33715 * math/w_sinhf_compat.c: Likewise.
33716 * math/w_sinhl_compat.c: Likewise.
33717 * math/w_sqrt_compat.c: Likewise.
33718 * math/w_sqrtf_compat.c: Likewise.
33719 * math/w_sqrtl_compat.c: Likewise.
33720 * math/w_tgamma_compat.c: Likewise.
33721 * math/w_tgammaf_compat.c: Likewise.
33722 * math/w_tgammal_compat.c: Likewise.
33723 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
33724 [LIBM_SVID_COMPAT].
33725 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
33726 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
33727 [LIBM_SVID_COMPAT].
33728 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
33729 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
33730 [LIBM_SVID_COMPAT].
33731 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
33732 * sysdeps/i386/fpu/w_sqrt.c: New file.
33733 * sysdeps/ia64/fpu/w_acos.c: Likewise.
33734 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
33735 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
33736 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
33737 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
33738 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
33739 * sysdeps/ia64/fpu/w_asin.c: Likewise.
33740 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
33741 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
33742 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
33743 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
33744 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
33745 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
33746 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
33747 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
33748 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
33749 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
33750 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
33751 * sysdeps/ia64/fpu/w_exp.c: Likewise.
33752 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
33753 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
33754 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
33755 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
33756 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
33757 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
33758 * sysdeps/ia64/fpu/w_expf.c: Likewise.
33759 * sysdeps/ia64/fpu/w_expl.c: Likewise.
33760 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
33761 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
33762 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
33763 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
33764 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
33765 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
33766 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
33767 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
33768 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
33769 * sysdeps/ia64/fpu/w_log.c: Likewise.
33770 * sysdeps/ia64/fpu/w_log10.c: Likewise.
33771 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
33772 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
33773 * sysdeps/ia64/fpu/w_log2.c: Likewise.
33774 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
33775 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
33776 * sysdeps/ia64/fpu/w_logf.c: Likewise.
33777 * sysdeps/ia64/fpu/w_logl.c: Likewise.
33778 * sysdeps/ia64/fpu/w_pow.c: Likewise.
33779 * sysdeps/ia64/fpu/w_powf.c: Likewise.
33780 * sysdeps/ia64/fpu/w_powl.c: Likewise.
33781 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
33782 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
33783 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
33784 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
33785 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
33786 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
33787 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
33788 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
33789 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
33790 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
33791 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
33792 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
33793 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
33794 [LIBM_SVID_COMPAT].
33795 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
33796 * sysdeps/ieee754/k_standard.c: Likewise.
33797 * sysdeps/ieee754/k_standardf.c: Likewise.
33798 * sysdeps/ieee754/k_standardl.c: Likewise.
33799 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
33800 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
33801 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
33802 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
33803 long_double_symbol call on [LIBM_SVID_COMPAT].
33804 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
33805 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
33806 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
33807 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
33808 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
33809 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
33810 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
33811 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
33812 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
33813 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
33814 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
33815 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
33816 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
33817 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
33818 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
33819 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
33820 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
33821 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
33822 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
33823 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
33824 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
33825 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
33827 2017-09-05 Steve Ellcey <sellcey@cavium.com>
33829 * include/shlib-compat.h (TEST_COMPAT): New Macro.
33830 * malloc/tst-mallocstate.c: Convert from test-skeleton
33831 to test-driver. Ifdef code using TEST_COMPAT macro.
33832 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
33833 * math/test-matherr.c: Likewise.
33835 2017-09-05 Joseph Myers <joseph@codesourcery.com>
33838 * debug/pcprofiledump.c (main): Use byte-swapped mask when
33839 comparing word with byte-swapped constant.
33841 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
33844 * locale/iso-639.def: add Miskito.
33845 * localedata/SUPPORTED: Add miq_NI/UTF-8.
33846 * localedata/locales/miq_NI: New file.
33848 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
33851 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
33852 (__mkdir): Likewise.
33853 * io/chmod.c (__chmod): Add libc_hidden_def.
33854 * io/mkdir.c (__mkdir): Likewise.
33855 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
33856 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
33857 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
33858 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
33860 2017-09-04 Joseph Myers <joseph@codesourcery.com>
33862 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
33866 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
33867 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
33869 2017-09-04 Florian Weimer <fweimer@redhat.com>
33871 * math/math.h: Issue warning if log is defined.
33873 2017-09-04 Joseph Myers <joseph@codesourcery.com>
33875 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
33876 kernel version to 4.13.
33878 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
33880 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
33881 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
33883 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
33884 just <bits/types.h>.
33885 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
33886 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
33887 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
33888 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
33889 * misc/preadv2.c: Include <errno.h>.
33890 * misc/preadv64v2.c: Include <errno.h>.
33891 * misc/pwritev2.c: Include <errno.h>.
33892 * misc/pwritev64v2.c: Include <errno.h>.
33893 * sysdeps/posix/preadv2.c: Include <errno.h>.
33894 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
33895 Fix <unistd.h> inclusion.
33896 * sysdeps/posix/pwritev2.c: Include <errno.h>.
33897 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
33898 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
33899 __strtoul_internal): New functions.
33900 * sysdeps/posix/pause.c: Include <sigsetops.h>.
33901 * sysdeps/posix/system.c: Include <sigsetops.h>.
33902 * sysdeps/mach/hurd/i386/Makefile
33903 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
33904 [$(subdir) = csu] (sysdep-only-routines): Likewise.
33905 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
33906 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
33907 __feraiseexcept_renamed to feraiseexcept instead of
33908 __GI_feraiseexcept.
33909 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
33910 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
33911 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
33912 RWF_NOWAIT): Define to 0 if undefined already.
33913 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
33915 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
33916 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
33918 2017-09-01 Joseph Myers <joseph@codesourcery.com>
33920 * manual/math.texi (pow10): Do not document.
33921 (pow10f): Likewise.
33922 (pow10l): Likewise.
33923 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
33924 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
33925 * math/libm-test-exp10.inc (pow10_test): Remove.
33926 (do_test): Do not call pow10.
33927 * math/w_exp10_compat.c (pow10): Make into compat symbol.
33928 [NO_LONG_DOUBLE] (pow10l): Likewise.
33929 * math/w_exp10f_compat.c (pow10f): Likewise.
33930 * math/w_exp10l_compat.c (pow10l): Likewise.
33931 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
33932 (pow10): Make into compat symbol.
33933 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
33934 (pow10f): Make into compat symbol.
33935 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
33936 (pow10l): Make into compat symbol.
33937 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
33939 (CFLAGS-nldbl-pow10.c): Remove variable..
33940 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
33941 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
33942 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
33943 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
33944 Undefine and redefine.
33945 (pow10l): Make into compat symbol.
33946 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
33947 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
33948 * sysdeps/arm/libm-test-ulps: Likewise.
33949 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
33950 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
33951 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
33952 * sysdeps/microblaze/libm-test-ulps: Likewise.
33953 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
33954 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
33955 * sysdeps/nios2/libm-test-ulps: Likewise.
33956 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33957 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
33958 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33959 * sysdeps/sh/libm-test-ulps: Likewise.
33960 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33961 * sysdeps/tile/libm-test-ulps: Likewise.
33962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33964 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
33966 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
33968 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
33970 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
33971 "../ChangeLog.old/ChangeLog.8".
33972 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
33973 "../ChangeLog.old/ChangeLog.14".
33975 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
33977 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
33980 2017-09-01 Joseph Myers <joseph@codesourcery.com>
33982 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
33984 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
33986 * csu/version.c (banner): Remove "by Roland McGrath et al.".
33987 * nptl/Banner: Remove "by Ulrich Drepper et al.".
33989 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
33991 * stdlib/tst-atexit-common.c (do_test): Test support for at least
33992 32 atexit handlers.
33994 2017-09-01 Zack Weinberg <zackw@panix.com>
33996 * math/math.h (HUGE_VAL): Improve commentary.
33998 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33999 Andreas Schwab <schwab@suse.de>
34002 * include/stdio.h (__gen_tempfd): New function.
34003 * stdio-common/Makefile (routines): Add gentempfd.
34004 * stdio-common/gentempfd.c: New file.
34005 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
34006 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
34007 unnamed file first.
34009 2017-09-01 Florian Weimer <fweimer@redhat.com>
34013 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
34014 result to determine success or failure, not the errno value.
34015 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
34016 (tst-nss-files-hosts-erange): Link with -ldl.
34017 * nss/tst-nss-files-hosts-erange.c: New file.
34018 * nss/tst-resolv-basic.c (response): Handle nodata.example.
34019 (do_test): Add NO_DATA tests.
34020 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
34021 (do_test): Call it.
34023 2017-09-01 Florian Weimer <fweimer@redhat.com>
34026 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
34027 coming from gethostbyname2_r.
34029 2017-09-01 Florian Weimer <fweimer@redhat.com>
34031 * support/namespace.h (struct support_chroot_configuration): Add
34033 (struct support_chroot): Add path_hosts, path_host_conf.
34034 * support/support_chroot.c (write_file): New function.
34035 (support_chroot_create): Call it to process /etc/resolv.conf,
34036 /etc/hosts, /etc/host.conf.
34037 (support_chroot_free): Update.
34039 2017-09-01 Florian Weimer <fweimer@redhat.com>
34041 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
34042 status indicates it is set.
34044 2017-09-01 Florian Weimer <fweimer@redhat.com>
34047 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
34048 function lookup failures more reliable.
34050 2017-09-01 Florian Weimer <fweimer@redhat.com>
34052 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
34053 (getcanonname): Likewise.
34054 (gaih_inet): Likewise.
34056 2017-09-01 Florian Weimer <fweimer@redhat.com>
34058 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
34059 (getcanonname): Likewise.
34060 (gaih_inet): Likewise.
34062 2017-08-31 Steve Ellcey <sellcey@cavium.com>
34063 Richard Henderson <rth@twiddle.net>
34065 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
34066 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
34067 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
34068 (IREG_SIZE, OREG_SIZE): New macros.
34069 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
34070 (IREG_SIZE, OREG_SIZE): New macros.
34071 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
34072 (IREG_SIZE): New macro.
34073 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
34074 (IREG_SIZE): New macro.
34075 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
34077 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
34078 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
34079 (__CONCATX): Handle exceptions correctly on large values that may
34081 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
34082 Initialize if not already set.
34083 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
34085 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34087 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
34088 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
34090 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
34092 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
34094 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
34096 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
34098 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
34100 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
34102 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
34103 (NO_CANCELLATION): Likewise.
34104 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
34106 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
34108 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
34110 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
34111 (NO_CANCELLATION): Likewise.
34112 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
34113 (NO_CANCELLATION): Likewise.
34114 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
34116 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
34118 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
34120 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
34122 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
34124 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
34125 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
34127 2017-08-31 Steve Ellcey <sellcey@cavium.com>
34129 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
34132 2017-08-31 Florian Weimer <fweimer@redhat.com>
34134 * include/libc-symbols.h (internal_function): Remove.
34136 2017-08-31 Florian Weimer <fweimer@redhat.com>
34138 * stdlib/fmtmsg.c (internal_addseverity): Remove
34141 2017-08-31 Florian Weimer <fweimer@redhat.com>
34143 * stdio-common/printf_fp.c (group_number): Remove
34145 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
34147 2017-08-31 Florian Weimer <fweimer@redhat.com>
34149 * posix/fnmatch.c (internal_function): Remove definition.
34150 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
34151 * posix/regcomp.c (peek_token, init_word_char)
34152 (duplicate_node_closure, fetch_token, peek_token)
34153 (peek_token_bracket, build_range_exp, build_collating_symbol):
34155 * posix/regex_internal.c (re_string_construct_common)
34156 (create_ci_newstate, create_cd_newstate, re_string_allocate)
34157 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
34158 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
34159 (re_string_translate_buffer, re_string_reconstruct)
34160 (re_string_peek_byte_case, re_string_fetch_byte_case)
34161 (re_string_destruct, re_string_context_at, re_node_set_alloc)
34162 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
34163 (re_node_set_add_intersect, re_node_set_init_union)
34164 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
34165 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
34166 (re_dfa_add_node, calc_state_hash, re_acquire_state)
34167 (re_acquire_state_context): Likewise.
34168 * posix/regex_internal.h (internal_function): Remove definition.
34169 (re_string_realloc_buffers, build_wcs_buffer)
34170 (build_wcs_upper_buffer, build_upper_buffer)
34171 (re_string_translate_buffer, re_string_context_at)
34172 (re_string_char_size_at, re_string_wchar_at)
34173 (re_string_elem_size_at): Likewise.
34174 * posix/regexec.c (match_ctx_init, match_ctx_clean)
34175 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
34176 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
34177 (re_search_internal, re_search_2_stub, re_search_stub)
34178 (re_copy_regs, prune_impossible_nodes, check_matching)
34179 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
34180 (free_fail_stack_return, sift_states_iter_mb)
34181 (sift_states_backward, build_sifted_states)
34182 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
34183 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
34184 (check_subexp_limits, sift_states_bkref, merge_state_array)
34185 (find_recover_state, transit_state, merge_state_with_log)
34186 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
34187 (transit_state_mb, transit_state_bkref, get_subexp)
34188 (get_subexp_sub, find_subexp_node, check_arrival)
34189 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
34190 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
34191 (check_node_accept_bytes, find_collation_sequence_value)
34192 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
34193 (acquire_init_state_context, check_halt_node_context)
34194 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
34195 (sub_epsilon_src_nodes): Likewise.
34196 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
34197 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
34198 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
34199 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
34200 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
34201 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
34202 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
34203 * sysdeps/posix/ttyname.c (getttyname): Likewise.
34204 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
34205 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
34206 (PREADV): Likewise.
34207 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
34208 (PREADV): Likewise.
34209 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
34210 (PWRITEV): Likewise.
34211 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
34212 (PWRITEV): Likewise.
34213 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
34214 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
34216 2017-08-31 Florian Weimer <fweimer@redhat.com>
34218 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
34219 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
34220 Remove internal_function.
34221 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
34222 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
34223 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
34224 (__deallocate_stack, __libc_pthread_init)
34225 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
34226 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
34227 (__libc_disable_asynccancel, __librt_disable_asynccancel):
34229 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
34230 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
34231 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
34233 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
34234 (__pthread_mutex_unlock_usercnt): Likewise.
34236 2017-08-31 Florian Weimer <fweimer@redhat.com>
34238 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
34239 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
34240 (fts_safe_changedir): Remove internal_function.
34241 * io/ftw.c (internal_function): Remove definition.
34242 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
34244 2017-08-31 Florian Weimer <fweimer@redhat.com>
34246 * inet/deadline.c (__deadline_current_time)
34247 (__deadline_from_timeval, __deadline_to_ms): Remove
34249 * inet/getnameinfo.c (nrl_domainname): Likewise.
34250 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
34251 * inet/inet6_option.c (add_pad): Likewise.
34252 * inet/net-internal.h (__deadline_current_time)
34253 (__deadline_from_timeval, __deadline_to_ms): Likewise.
34254 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
34255 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
34256 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
34258 2017-08-31 Joseph Myers <joseph@codesourcery.com>
34260 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
34261 include <bits/nan.h>.
34262 * math/Makefile (headers): Remove bits/nan.h.
34263 * bits/nan.h: Remove.
34264 * sysdeps/ieee754/bits/nan.h: Likewise.
34265 * sysdeps/mips/bits/nan.h: Likewise.
34267 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
34268 not include <bits/inf.h>.
34269 * math/Makefile (headers): Remove bits/inf.h.
34270 * bits/inf.h: Remove.
34271 * sysdeps/ieee754/bits/inf.h: Likewise.
34273 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
34274 bits/huge_vall.h or bits/huge_val_flt128.h.
34275 (HUGE_VAL): Define directly here.
34276 [__USE_ISOC99] (HUGE_VALF): Likewise.
34277 [__USE_ISOC99] (HUGE_VALL): Likewise.
34278 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34279 (HUGE_VAL_F128): Likewise.
34280 * math/Makefile (headers): Remove bits/huge_val.h,
34281 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
34282 * bits/huge_val.h: Remove.
34283 * bits/huge_val_flt128.h: Likewise.
34284 * bits/huge_valf.h: Likewise.
34285 * bits/huge_vall.h: Likewise.
34286 * sysdeps/ia64/bits/huge_vall.h: Likewise.
34287 * sysdeps/ieee754/bits/huge_val.h: Likewise.
34288 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
34289 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
34290 * sysdeps/sh/bits/huge_val.h: Likewise.
34291 * sysdeps/sparc/bits/huge_vall.h: Likewise.
34292 * sysdeps/x86/bits/huge_vall.h: Likewise.
34294 2017-08-31 Florian Weimer <fweimer@redhat.com>
34296 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
34298 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
34300 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
34301 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
34302 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
34303 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
34304 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34305 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
34306 * elf/dl-libc.c (dlerror_run): Likewise.
34307 * elf/dl-load.c (add_name_to_object, decompose_rpath)
34308 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
34309 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
34310 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
34312 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
34313 (_dl_higher_prime_number, _dl_strtoul): Likewise.
34314 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
34315 * elf/dl-profile.c (_dl_start_profile): Likewise.
34316 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
34317 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
34319 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
34320 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
34321 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
34322 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
34323 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
34324 (_dl_allocate_tls_storage): Likewise.
34325 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
34326 (_dl_check_all_versions): Likewise.
34327 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
34328 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
34329 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
34330 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
34331 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
34332 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
34333 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
34334 internal_function from __dl_start.
34335 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
34336 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
34337 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
34338 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
34339 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
34340 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
34341 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
34342 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
34343 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
34344 (_dl_next_ld_env_entry, _dl_important_hwcaps)
34345 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
34346 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
34347 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
34348 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
34349 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
34351 (struct rtld_global_ro): Remove internal_function from the
34352 _dl_lookup_symbol_x member.
34353 (_dl_symbol_value): Remove. No longer defined anywhere.
34354 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
34356 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
34357 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
34358 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
34359 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
34360 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
34361 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
34362 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
34363 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
34364 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
34365 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
34366 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
34367 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
34369 2017-08-31 Florian Weimer <fweimer@redhat.com>
34371 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
34372 Remove internal_function.
34373 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
34375 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
34378 2017-08-31 Florian Weimer <fweimer@redhat.com>
34380 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
34381 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
34382 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
34384 2017-08-31 Florian Weimer <fweimer@redhat.com>
34386 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
34387 (__gai_enqueue_request): Remove internal_function.
34388 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
34389 (__gai_remove_request, __gai_notify, __gai_notify_only)
34390 (__gai_sigqueue): Likewise.
34391 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
34392 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
34393 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
34394 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
34397 2017-08-31 Florian Weimer <fweimer@redhat.com>
34399 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
34400 * include/dirent.h (__opendirat, __getdents, __getdents64)
34401 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
34402 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
34403 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34404 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
34406 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
34408 2017-08-31 Florian Weimer <fweimer@redhat.com>
34410 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
34412 (GETCWD_RETURN_TYPE): Likewise.
34414 2017-08-31 Florian Weimer <fweimer@redhat.com>
34416 * include/time.h (__tz_compute, __strptime_internal): Remove
34418 * time/strptime_l.c (__strptime_internal): Likewise.
34419 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
34421 2017-08-31 Florian Weimer <fweimer@redhat.com>
34423 * iconv/gconv.c (__gconv): Remove internal_function.
34424 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
34425 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
34426 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
34427 (__gconv_release_cache): Likewise.
34428 * iconv/gconv_close.c (__gconv_close): Likewise.
34429 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
34430 (read_conf_file, __gconv_get_path): Likewise.
34431 * iconv/gconv_db.c (derivation_lookup, add_derivation)
34432 (__gconv_release_step, gen_steps, increment_counter)
34433 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
34434 (__gconv_close_transform, free_modules_db): Likewise.
34435 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
34437 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
34438 (__gconv_find_transform, __gconv_lookup_cache)
34439 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
34440 (__gconv_close_transform, __gconv_release_cache)
34441 (__gconv_loaded_object, __gconv_release_shlib)
34442 (__gconv_compare_alias): Likewise.
34443 * iconv/gconv_open.c (__gconv_open): Likewise.
34444 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
34445 * iconv/iconvconfig.c (add_module): Likewise.
34446 * intl/dcigettext.c (plural_lookup, guess_category_value)
34447 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
34448 * intl/eval-plural.h (plural_eval): Likewise.
34449 * intl/finddomain.c (_nl_find_domain): Likewise.
34450 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
34451 (_nl_load_domain, _nl_find_msg): Likewise.
34452 (internal_function): Remove definition.
34453 * intl/loadinfo.h (internal_function): Likewise.
34454 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
34456 * intl/localealias.c (internal_function): Remove definition.
34457 (read_alias_file): Remove internal_function.
34458 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
34459 * intl/plural-exp.h (internal_function): Remove definition.
34460 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
34462 * intl/plural.c: Regenerate.
34463 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
34464 * locale/coll-lookup.c (__collidx_table_lookup)
34465 (__collseq_table_lookup): Likewise.
34466 * locale/coll-lookup.h (__collidx_table_lookup)
34467 (__collseq_table_lookup): Likewise.
34468 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
34469 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34470 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
34471 (_nl_unload_locale): Likewise.
34472 * locale/localeinfo.h (struct __locale_data): Remove
34473 internal_function from cleanup member.
34474 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
34475 (_nl_remove_locale, _nl_load_locale_from_archive)
34476 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
34477 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
34478 (_nl_cleanup_time): Remove internal_function.
34479 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
34480 (_nl_parse_alt_digit): Likewise.
34481 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
34482 (_nl_select_era_entry): Likewise.
34483 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
34484 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
34485 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
34486 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
34487 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
34489 2017-08-31 Florian Weimer <fweimer@redhat.com>
34491 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
34492 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
34493 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
34494 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
34496 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
34497 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
34498 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
34499 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
34501 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
34503 2017-08-31 Florian Weimer <fweimer@redhat.com>
34505 * misc/getttyent.c (skip, value): Remove internal_function.
34506 * misc/syslog.c (openlog_internal): Likewise.
34507 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
34509 2017-08-31 Florian Weimer <fweimer@redhat.com>
34511 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
34512 (__nss_rewrite_field): Remove internal_function.
34513 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34514 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
34515 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34516 * nss/nsswitch.c (nss_parse_file, nss_getline)
34517 (nss_parse_service_list, nss_new_service): Likewise.
34518 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
34519 * nss/valid_field.c (__nss_valid_field): Likewise.
34520 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
34522 2017-08-31 Florian Weimer <fweimer@redhat.com>
34524 * malloc/arena.c (__malloc_fork_lock_parent)
34525 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
34526 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
34527 internal_function from defintions.
34528 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
34529 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
34530 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
34531 internal_function from declarations.
34532 * malloc/malloc.c (internal_function): Do not define.
34533 (mem2mem_check): Remove internal_function from declaration.
34534 (munmap_chunk, mremap_chunk): Remove internal_function.
34535 * malloc/mtrace.c (tr_where): Likewise.
34537 2017-08-31 Florian Weimer <fweimer@redhat.com>
34539 * include/rpc/pmap_clnt.h (__get_socket): Remove
34541 * sunrpc/auth_des.c (synchronize): Likewise.
34542 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
34543 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
34544 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
34545 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
34546 (key_call): Likewise.
34547 * sunrpc/pm_getport.c (__get_socket): Likewise.
34548 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
34549 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
34550 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
34551 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
34552 (invalidate): Likewise.
34553 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
34554 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
34555 (set_input_fragment, get_input_bytes): Likewise.
34557 2017-08-31 Florian Weimer <fweimer@redhat.com>
34559 * malloc/malloc.c (_int_free): Remove locked variable and related
34562 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
34565 * Makerules (build-module-helper-objlist): Filter out
34566 $(elf-objpfx)sofini.os.
34567 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
34570 2017-08-31 Florian Weimer <fweimer@redhat.com>
34572 * libio/fcloseall.c: Assume weak_alias is defined.
34573 * libio/feof.c: Likewise.
34574 * libio/fileno.c: Likewise.
34575 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
34576 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
34578 (_IO_file_open): Call __open directly.
34579 (_IO_new_file_sync): Assume ESPIPE is defined.
34580 (_IO_file_seekoff_maybe_mmap): Call __read directly.
34581 (_IO_new_file_write): Call __write directly.
34582 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
34583 * libio/ftello64.c (__ftello64): Assume EIO is defined.
34584 * libio/genops.c: Assume _LIBC is defined.
34585 (save_for_backup): Remove internal_function.
34586 * libio/getc.c: Assume weak_alias is defined.
34587 * libio/getwc.c: Likewise.
34588 * libio/iofclose.c: Assume _LIBC is defined.
34589 * libio/iofdopen.c: Likewise.
34590 (_IO_fcntl): Remove macro definition.
34591 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
34592 Call __fcntl directly.
34593 * libio/iofflush.c: Assume weak_alias is defined.
34594 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
34596 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
34597 * libio/iofgets.c: Likewise.
34598 * libio/iofopen.c: Assume _LIBC is defined.
34599 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
34600 * libio/iofputs.c: Assume weak_alias is defined.
34601 * libio/iofread.c: Likewise.
34602 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
34603 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
34604 * libio/ioftell.c: Assume weak_alias is defined.
34605 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
34606 * libio/iofwide.c: Assume _LIBC is defined.
34607 (_IO_fwide): Drop SHARED conditional because it is implied by
34609 * libio/iofwrite.c: Assume weak_alias is defined.
34610 * libio/iogetdelim.c: Likewise.
34611 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
34612 * libio/iogetwline.c (wmemcpy): Remove macro definition.
34613 (_IO_getwline): Call __wmemcpy directly.
34614 * libio/iopopen.c: Assume _LIBC is defined.
34615 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
34616 (_IO_close): Remove macro definitions.
34617 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
34619 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
34621 * libio/ioputs.c: Assume weak_alias is defined.
34622 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
34623 * libio/iosetbuffer.c: Assume weak_alias is defined.
34624 * libio/iosetvbuf.c: Likewise.
34625 * libio/ioungetc.c: Likewise.
34626 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
34627 libc_hidden_def, libc_hidden_weak, NULL are defined.
34628 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
34629 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
34631 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
34633 (_IO_old_file_init_internal): Drop SHARED conditional because it
34634 is implied by SHLIB_COMPAT.
34635 (_IO_old_file_fopen): Call __open directly.
34636 (_IO_old_file_sync): Assume ESPIPE is defined.
34637 (_IO_old_file_write): Call __write directly.
34638 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
34639 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
34640 Call __fcntl directly.
34641 * libio/oldiofgetpos.c: Assume weak_alias is defined.
34642 (_IO_old_fgetpos): Assume EIO is defined.
34643 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
34644 (_IO_old_fgetpos64): Assume EIO is defined.
34645 * libio/oldiofsetpos.c: Assume weak_alias is defined.
34646 (_IO_old_fsetpos): Assume EIO is defined.
34647 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
34648 (_IO_old_fsetpos64): Assume EIO is defined.
34649 * libio/oldiopopen.c: Assume _LIBC is defined.
34650 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
34651 (_IO_close): Remove macro definitions.
34652 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
34654 (_IO_old_proc_close): Call __close, __waitpid directly.
34655 * libio/put.c: Assume weak_alias is defined.
34656 * libio/stdfiles.c: Assume _LIBC is defined.
34657 * libio/stdio.c: Likewise.
34658 * libio/wfileops.c: Likewise.
34659 (_IO_wfile_sync): Assume ESPIPE is defined.
34660 * libio/wgenops.c: Assume _LIBC is defined.
34661 (save_for_wbackup): Remove internal_function.
34663 2017-08-31 Florian Weimer <fweimer@redhat.com>
34665 * malloc/malloc.c (top_check): Change return type to void. Remove
34667 * malloc/hooks.c (top_check): Likewise.
34668 (malloc_check, realloc_check, memalign_check): Adjust.
34670 2017-08-30 Joseph Myers <joseph@codesourcery.com>
34673 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
34674 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
34675 sigcontext and namespace requirements.
34676 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
34677 * sysdeps/m68k/sys/ucontext.h: Likewise.
34678 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
34679 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
34680 <bits/sigcontext.h>.
34681 (__ctx): Define earlier.
34682 (mcontext_t): Define structure contents rather than using struct
34684 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
34685 __glibc_reserved1 instead of __reserved.
34686 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
34687 <bits/sigcontext.h>.
34688 (__ctx): Define earlier.
34689 (mcontext_t): Define structure contents rather than using struct
34691 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
34692 mcontext_t instead of struct sigcontext.
34693 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
34694 <bits/sigcontext.h>.
34695 (__ctx): Define earlier.
34696 (mcontext_t): Define structure contents rather than using struct
34698 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
34699 <bits/sigcontext.h>.
34700 (__ctx): Define earlier.
34701 (mcontext_t): Define structure contents rather than using struct
34703 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
34704 mcontext_t instead of struct sigcontext.
34705 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
34706 mcontext_t instead of struct sigcontext.
34707 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
34708 <bits/sigcontext.h>.
34709 (__ctx): New macro.
34710 (struct __ia64_fpreg_mcontext): New type.
34711 (mcontext_t): Define structure contents rather than using struct
34713 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
34714 (uc_sigmask): Define using __ctx.
34715 (uc_stack): Likewise.
34716 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
34717 <bits/sigcontext.h>.
34718 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34719 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
34720 <bits/sigcontext.h>.
34721 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
34722 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
34723 <bits/sigcontext.h>.
34724 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
34725 <bits/sigcontext.h>.
34726 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
34727 <bits/sigcontext.h>.
34728 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
34729 <bits/sigcontext.h>.
34730 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
34731 <bits/sigcontext.h>.
34732 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
34733 <bits/sigcontext.h>.
34734 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
34735 <bits/sigcontext.h>.
34736 (__ctx): Define earlier.
34737 (mcontext_t): Define structure contents rather than using struct
34739 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
34740 <bits/sigcontext.h>. Include <bits/types.h>.
34741 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
34742 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
34743 (test-xfail-XPG42/ucontext.h/conform): Likewise.
34744 (test-xfail-UNIX98/signal.h/conform): Likewise.
34745 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
34746 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
34747 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
34748 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
34749 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
34750 (test-xfail-POSIX2008/signal.h/conform): Likewise.
34751 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
34752 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
34753 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
34755 2017-08-30 Florian Weimer <fweimer@redhat.com>
34757 * malloc/dynarray_emplace_enlarge.c
34758 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
34759 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
34760 * malloc/tst-dynarray.c (test_long_overflow): New function.
34761 (do_test): Call it.
34763 2017-08-30 Florian Weimer <fweimer@redhat.com>
34765 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
34766 (set_arena_corrupt): Remove definitions.
34767 (mtrim): Do not check for corrupt arena.
34768 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
34771 2017-08-30 Florian Weimer <fweimer@redhat.com>
34774 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
34776 (ptmalloc_init): Do not set or use check_action.
34777 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
34778 call to malloc_printerr. Remove return statement.
34779 (free_check): Likewise. Remove arena unlock.
34780 (top_check): Update comment. Adjust call to malloc_printerr.
34781 Remove heap repair code.
34782 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
34783 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
34784 (sysmalloc): Adjust call to malloc_printerr.
34785 (munmap_chunk, __libc_realloc): Likewise. Remove return
34787 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
34788 Remove errout label and corresponding gotos.
34789 (_int_free): Likewise. Remove arena unlock.
34790 (do_set_mallopt_check): Do not set check_action.
34791 (malloc_printerr): Adjust parameter list. Do not mark arena as
34793 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
34795 * manual/probes.texi (Memory Allocation Probes): Remove
34796 memory_mallopt_check_action.
34798 2017-08-30 Steve Ellcey <sellcey@cavium.com>
34800 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
34801 Use pointer to uint64_t instead of long int for sp.
34803 2017-08-30 Florian Weimer <fweimer@redhat.com>
34806 * malloc/malloc.c (malloc_printerr): Always terminate the process,
34807 without printing a backtrace. Do not leak any information in the
34809 * manual/memory.texi (Heap Consistency Checking): Update.
34810 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
34812 2017-08-30 Florian Weimer <fweimer@redhat.com>
34814 Do not scale NPTL tests with available number of CPUs.
34815 * nptl/tst-cond16.c (count): Set to constant value of 8.
34816 * nptl/tst-cond18.c (count): Likewise.
34818 2017-08-29 Joseph Myers <joseph@codesourcery.com>
34821 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
34822 Define to take a second argument that is a macro that
34823 concatentates a suffix, not the suffix itself.
34824 (__CONCAT_d): New macro.
34825 (__CONCAT_f): Likewise.
34826 (__CONCAT_l): Likewise.
34828 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
34830 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
34833 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34834 Aurelien Jarno <aurelien@aurel32.net>
34835 Maciej W. Rozycki <macro@imgtec.com>
34838 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
34839 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
34840 `mips16-syscall6' and `mips16-syscall7'.
34841 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
34842 (CFLAGS-mips16-syscall7.c): Remove.
34843 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
34844 Remove `__mips16_syscall5', `__mips16_syscall6' and
34845 `__mips16_syscall7'.
34846 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
34847 (__mips16_syscall0): Rename `__mips16_syscall_return' to
34848 `__mips_syscall_return'.
34849 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
34850 (__mips16_syscall1): Likewise.
34851 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
34852 (__mips16_syscall2): Likewise.
34853 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
34854 (__mips16_syscall3): Likewise.
34855 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
34856 (__mips16_syscall4): Likewise.
34857 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
34859 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
34861 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
34863 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
34864 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
34865 `__mips16_syscall5'. Remove prototype.
34866 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
34867 `__mips16_syscall6'. Remove prototype.
34868 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
34869 `__mips16_syscall7'. Remove prototype.
34870 (__nomips16, __mips16_syscall_return): Move to...
34871 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
34872 (__nomips16, __mips_syscall_return): ... here.
34873 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
34874 `__mips16_syscall_return' to `__mips_syscall_return'.
34875 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
34876 `internal_syscall##nr'.
34877 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
34878 `internal_syscall##nr'.
34879 (FORCE_FRAME_POINTER): Remove.
34880 (__mips_syscall5): New prototype.
34881 (internal_syscall5): Rewrite to call `__mips_syscall5'.
34882 (__mips_syscall6): New prototype.
34883 (internal_syscall6): Rewrite to call `__mips_syscall6'.
34884 (__mips_syscall7): New prototype.
34885 (internal_syscall7): Rewrite to call `__mips_syscall7'.
34886 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
34887 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
34888 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
34889 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
34890 (sysdep_routines): Add libc-do-syscall.
34891 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
34892 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
34894 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34897 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
34898 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
34899 (advise_stack_range): New function.
34900 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
34901 stack non required to advise_stack_range at allocatestack.c
34903 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
34905 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
34907 2017-08-29 Florian Weimer <fweimer@redhat.com>
34910 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
34911 __end_fct. Mangle __end_fct after setting it to NULL.
34912 * iconv/Makefile (tests): Add tst-gconv-init-failure.
34913 (modules-names, modules-names-tests): Add
34914 tst-gconv-init-failure-mod.
34915 (gconv-modules): New target.
34916 (tst-gconv-init-failure-mod.so): Link against libsupport.
34917 (tst-gconv-init-failure): Depend on gconv-modules,
34918 tst-gconv-init-failure-mod.so.
34919 * iconv/tst-gconv-init-failure-mod.c: New file.
34920 * iconv/tst-gconv-init-failure.c: Likewise.
34921 * iconv/test-gconv-modules: Likewise.
34923 2017-08-29 Florian Weimer <fweimer@redhat.com>
34926 * iconv/gconv_db.c (free_derivation): Remove redundant
34928 (gen_steps): Unconditionally mangle __btowc_fct after
34930 (increment_counter): Likewise. Do not call init_fct for internal
34933 2017-08-29 Joseph Myers <joseph@codesourcery.com>
34936 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
34937 (_MSUF_): Remove macro.
34938 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
34940 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
34941 (__REDIRFROM_X): New macro.
34942 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
34944 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
34945 (__REDIRTO_X): Likewise.
34946 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
34948 (__MATH_REDIRCALL_2): Likewise.
34949 (__MATH_REDIRCALL_INTERNAL): Likewise.
34950 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
34951 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
34952 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
34953 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
34954 * math/test-finite-macros.c: New file.
34955 * math/Makefile (tests): Add test-finite-macros.
34956 (CFLAGS-test-finite-macros.c): New variable.
34958 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
34959 Jeff Law <law@redhat.com>
34962 Mangle NULL pointers in iconv/gconv.
34963 * iconv/gconv_cache.c (find_module): Demangle init_fct before
34964 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
34965 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
34966 is non-NULL before demangling the end_fct. Check for NULL
34967 end_fct after demangling.
34968 (__gconv_release_step): Demangle the end_fct before checking
34969 it for NULL. Remove assert on __shlibc_handle != NULL.
34970 (gen_steps): Don't check btowc_fct for NULL before mangling.
34971 Demangle init_fct before checking for NULL.
34972 (increment_counter): Likewise.
34973 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
34974 end_fct for NULL before mangling.
34975 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
34978 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
34981 * locale/iso-639.def: add Morisyen.
34983 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34986 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
34987 (iszero): New C++ implementation that does not use
34988 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
34989 signaling nans are enabled, since __builtin_types_compatible_p
34990 is a C-only feature.
34991 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
34992 defined, include ieee754_float128.h for access to the union and
34993 member ieee854_float128.ieee.
34994 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
34995 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
34996 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
34997 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
34998 options of test-math-zero on powerpc64le.
35000 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
35002 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
35003 Change double to float.
35005 2017-08-28 Joseph Myers <joseph@codesourcery.com>
35007 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
35009 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
35010 conditional code; define contents only for [LIBM_SVID_COMPAT].
35012 2017-08-28 Florian Weimer <fweimer@redhat.com>
35014 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
35015 (abi-lp64_be-options): Remove.
35016 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
35017 (abi-hard-options): Likewise.
35018 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
35019 (abi-o32_hard-options, abi-o32_soft_2008-options)
35020 (abi-o32_hard_2008-options, abi-n32_soft-options)
35021 (abi-n32_hard-options, abi-n32_soft_2008-options)
35022 (abi-n32_hard_2008-options, abi-n64_soft-options)
35023 (abi-n64_hard-options, abi-n64_soft_2008-options)
35024 (abi-n64_hard_2008-options): Likewise.
35025 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
35026 (abi-64-v1-options, abi-64-v2-options): Likewise.
35027 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
35028 (abi-64-options): Likewise.
35029 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
35030 (abi-64-options): Likewise.
35031 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
35032 (abi-64-options): Likewise.
35033 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
35034 (abi-64-options, abi-x32-options): Likewise.
35036 2017-08-28 Florian Weimer <fweimer@redhat.com>
35038 Store supported list of SYS_* system calls in the source tree.
35039 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
35040 (bits/syscall.h): Generate from list file.
35041 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
35042 [$(subdir) = misc] (tests): Add tst-syscall-list.
35043 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
35044 [$(subdir) = misc] (tst-syscall-list-macros.list)
35045 [$(subdir) = misc] (tst-syscall-list-nr.list)
35046 (tst-syscall-list-sys.list): Helper targets for new
35047 tst-syscall-list test.
35048 [$(subdir) = misc] (tst-syscall-list.out): Run test script
35049 tst-syscall-list.sh.
35050 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
35051 target. Do not include bits/syscall.d.
35052 [$(subdir) = misc] (generated): Do not update.
35053 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
35054 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
35055 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
35056 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
35058 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
35060 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
35061 (tst-cxa_atexit, tst-on_exit): Likewise.
35062 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
35063 tst-cxa_atexit, and tst-on_exit.
35064 * stdlib/tst-atexit-common.c: New file.
35065 * stdlib/tst-atexit.c: New file.
35066 * stdlib/tst-at_quick_exit.c: New file.
35067 * stdlib/tst-cxa_atexit.c: New file.
35068 * stdlib/tst-on_exit.c: New file.
35070 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
35072 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
35073 * mach/stack_chk_fail_local.c: New file.
35074 * hurd/stack_chk_fail_local.c: New file.
35075 * mach/Machrules ($(interface-library)-routines): Add
35076 stack_chk_fail_local.
35077 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
35078 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
35079 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
35080 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
35081 * hurd/Makefile (CFLAGS-hurdstartup.o,
35082 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
35084 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
35086 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
35087 (index_cpu_*, index_arch_*): Removed.
35089 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
35091 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
35092 Use uint64_t instead of unsigned long.
35094 2017-08-25 Joseph Myers <joseph@codesourcery.com>
35096 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
35097 [__HAVE_DISTINCT_FLOAT128].
35099 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
35100 of <bits/math-finite.h>.
35101 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
35102 inclusion of <bits/math-finite.h>.
35103 * math/bits/math-finite.h (__REDIRTO_X): Do not define
35104 conditionally on [__MATH_DECLARING_LDOUBLE && defined
35105 __NO_LONG_DOUBLE_MATH].
35106 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
35107 (__MATH_REDIRCALL_2): Likewise.
35108 (__MATH_REDIRCALL_INTERNAL): Likewise.
35109 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35110 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
35111 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
35115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
35117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
35119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
35121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
35123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
35125 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
35126 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
35127 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
35128 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
35129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
35130 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
35131 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
35132 w_sqrtf_compat-ppc32.
35134 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35136 * math/math.h [defined __cplusplus] (issignaling): In the long
35137 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
35138 is not defined. Call __issignaling, otherwise.
35140 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35142 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
35143 syscall definitions and replace __builtin_expect with __glibc_likely.
35144 * sysdeps/unix/syscall-template.S: Update comment about cancellable
35146 (SYSCALL_CANCELLABLE): Removedefinition
35147 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
35149 (PSEUDO_END): Likewise.
35150 [IS_IN (libpthread)] (CENABLE): Likewise.
35151 [IS_IN (libpthread)] (CDISABLE): Likewise.
35152 [IS_IN (libc)] (CENABLE): Likewise.
35153 [IS_IN (libc)] (CENABLE): Likewise.
35154 [IS_IN (librt)] (CDISABLE): Likewise.
35155 [IS_IN (librt)] (CDISABLE): Likewise.
35156 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35157 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
35159 (PSEUDO_END): Likewise.
35160 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
35161 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
35162 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35163 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35164 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35165 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35166 (CENABLE): Likewise.
35167 (CDISABLE): Likewise.
35168 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35169 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
35171 (PSEUDO_END): Likewise.
35172 [IS_IN (libpthread)] (CENABLE): Likewise.
35173 [IS_IN (libpthread)] (CDISABLE): Likewise.
35174 [IS_IN (libc)] (CENABLE): Likewise.
35175 [IS_IN (libc)] (CENABLE): Likewise.
35176 [IS_IN (librt)] (CDISABLE): Likewise.
35177 [IS_IN (librt)] (CDISABLE): Likewise.
35178 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35179 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
35181 (PSEUDO_END): Likewise.
35182 [IS_IN (libpthread)] (CENABLE): Likewise.
35183 [IS_IN (libpthread)] (CDISABLE): Likewise.
35184 [IS_IN (libc)] (CENABLE): Likewise.
35185 [IS_IN (libc)] (CENABLE): Likewise.
35186 [IS_IN (librt)] (CDISABLE): Likewise.
35187 [IS_IN (librt)] (CDISABLE): Likewise.
35188 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35189 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
35191 (PSEUDO_END): Likewise.
35192 [IS_IN (libpthread)] (CENABLE): Likewise.
35193 [IS_IN (libpthread)] (CDISABLE): Likewise.
35194 [IS_IN (libc)] (CENABLE): Likewise.
35195 [IS_IN (libc)] (CENABLE): Likewise.
35196 [IS_IN (librt)] (CDISABLE): Likewise.
35197 [IS_IN (librt)] (CDISABLE): Likewise.
35198 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35199 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
35201 (PSEUDO_END): Likewise.
35202 [IS_IN (libpthread)] (CENABLE): Likewise.
35203 [IS_IN (libpthread)] (CDISABLE): Likewise.
35204 [IS_IN (libc)] (CENABLE): Likewise.
35205 [IS_IN (libc)] (CENABLE): Likewise.
35206 [IS_IN (librt)] (CDISABLE): Likewise.
35207 [IS_IN (librt)] (CDISABLE): Likewise.
35208 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35209 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
35211 (PSEUDO_END): Likewise.
35212 [IS_IN (libpthread)] (CENABLE): Likewise.
35213 [IS_IN (libpthread)] (CDISABLE): Likewise.
35214 [IS_IN (libc)] (CENABLE): Likewise.
35215 [IS_IN (libc)] (CENABLE): Likewise.
35216 [IS_IN (librt)] (CDISABLE): Likewise.
35217 [IS_IN (librt)] (CDISABLE): Likewise.
35218 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35219 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
35221 (PSEUDO_END): Likewise.
35222 [IS_IN (libpthread)] (CENABLE): Likewise.
35223 [IS_IN (libpthread)] (CDISABLE): Likewise.
35224 [IS_IN (libc)] (CENABLE): Likewise.
35225 [IS_IN (libc)] (CENABLE): Likewise.
35226 [IS_IN (librt)] (CDISABLE): Likewise.
35227 [IS_IN (librt)] (CDISABLE): Likewise.
35228 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35229 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
35231 (PSEUDO_END): Likewise.
35232 [IS_IN (libpthread)] (CENABLE): Likewise.
35233 [IS_IN (libpthread)] (CDISABLE): Likewise.
35234 [IS_IN (libc)] (CENABLE): Likewise.
35235 [IS_IN (libc)] (CENABLE): Likewise.
35236 [IS_IN (librt)] (CDISABLE): Likewise.
35237 [IS_IN (librt)] (CDISABLE): Likewise.
35238 (SINGLE_THREAD_P): Likewise.
35239 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
35241 (PSEUDO_END): Likewise.
35242 [IS_IN (libpthread)] (CENABLE): Likewise.
35243 [IS_IN (libpthread)] (CDISABLE): Likewise.
35244 [IS_IN (libc)] (CENABLE): Likewise.
35245 [IS_IN (libc)] (CENABLE): Likewise.
35246 [IS_IN (librt)] (CDISABLE): Likewise.
35247 [IS_IN (librt)] (CDISABLE): Likewise.
35248 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35249 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
35251 (PSEUDO_END): Likewise.
35252 [IS_IN (libpthread)] (CENABLE): Likewise.
35253 [IS_IN (libpthread)] (CDISABLE): Likewise.
35254 [IS_IN (libc)] (CENABLE): Likewise.
35255 [IS_IN (libc)] (CENABLE): Likewise.
35256 [IS_IN (librt)] (CDISABLE): Likewise.
35257 [IS_IN (librt)] (CDISABLE): Likewise.
35258 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35259 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
35260 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
35261 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
35262 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
35264 (PSEUDO_END): Likewise.
35265 [IS_IN (libpthread)] (CENABLE): Likewise.
35266 [IS_IN (libpthread)] (CDISABLE): Likewise.
35267 [IS_IN (libc)] (CENABLE): Likewise.
35268 [IS_IN (libc)] (CENABLE): Likewise.
35269 [IS_IN (librt)] (CDISABLE): Likewise.
35270 [IS_IN (librt)] (CDISABLE): Likewise.
35271 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35272 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
35274 (PSEUDO_END): Likewise.
35275 [IS_IN (libpthread)] (CENABLE): Likewise.
35276 [IS_IN (libpthread)] (CDISABLE): Likewise.
35277 [IS_IN (libc)] (CENABLE): Likewise.
35278 [IS_IN (libc)] (CENABLE): Likewise.
35279 [IS_IN (librt)] (CDISABLE): Likewise.
35280 [IS_IN (librt)] (CDISABLE): Likewise.
35281 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35282 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
35284 (PSEUDO_END): Likewise.
35285 [IS_IN (libpthread)] (CENABLE): Likewise.
35286 [IS_IN (libpthread)] (CDISABLE): Likewise.
35287 [IS_IN (libc)] (CENABLE): Likewise.
35288 [IS_IN (libc)] (CENABLE): Likewise.
35289 [IS_IN (librt)] (CDISABLE): Likewise.
35290 [IS_IN (librt)] (CDISABLE): Likewise.
35291 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35292 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
35293 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
35294 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
35295 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
35297 (PSEUDO_END): Likewise.
35298 [IS_IN (libpthread)] (CENABLE): Likewise.
35299 [IS_IN (libpthread)] (CDISABLE): Likewise.
35300 [IS_IN (libc)] (CENABLE): Likewise.
35301 [IS_IN (libc)] (CENABLE): Likewise.
35302 [IS_IN (librt)] (CDISABLE): Likewise.
35303 [IS_IN (librt)] (CDISABLE): Likewise.
35304 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35305 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
35307 (PSEUDO_END): Likewise.
35308 [IS_IN (libpthread)] (CENABLE): Likewise.
35309 [IS_IN (libpthread)] (CDISABLE): Likewise.
35310 [IS_IN (libc)] (CENABLE): Likewise.
35311 [IS_IN (libc)] (CENABLE): Likewise.
35312 [IS_IN (librt)] (CDISABLE): Likewise.
35313 [IS_IN (librt)] (CDISABLE): Likewise.
35314 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35316 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
35318 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
35320 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
35322 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35324 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
35327 * string/stratcliff.c (do_test): Declare size, nchars, inner,
35328 middle and outer with size_t instead of int. Repleace %d and
35329 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
35330 "MAX (outer, nchars - 64)" to support unsigned outer and
35331 nchars. Also exit loop when outer == 0.
35333 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35335 * include/fcntl.h (__fcntl_nocancel): Remove definition.
35336 * include/signal.h (__sigsuspend_nocancel): Likewise.
35337 * include/time.h (__nanosleep_nocancel): Likewise.
35338 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
35339 * login/utmp_file.c: Include non cancellable syscall header.
35340 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
35343 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
35345 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
35346 .byte sequences with AVX512F instructions.
35347 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
35348 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
35349 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
35350 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
35352 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
35355 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
35356 Steve Ellcey <sellcey@cavium.com>
35358 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
35359 Use PTR_REG macro in cmp instruction.
35361 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35363 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
35364 Change the return type of the ifunc resolver to match the return
35365 type of the target function.
35367 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35369 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
35370 (preadv64): Likewise.
35371 (pwrite64(: Likewise.
35372 (pwritev64): Likewise.
35374 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
35375 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
35376 (LOAD_ARGS_0): Likewise.
35377 (LOAD_ARGS_1): Likewise.
35378 (LOAD_ARGS_2): Likewise.
35379 (LOAD_ARGS_3): Likewise.
35380 (LOAD_ARGS_4): Likewise.
35381 (LOAD_ARGS_5): Likewise.
35382 (LOAD_ARGS_6): Likewise.
35383 (LOAD_REGS_0): Likewise.
35384 (LOAD_REGS_1): Likewise.
35385 (LOAD_REGS_2): Likewise.
35386 (LOAD_REGS_3): Likewise.
35387 (LOAD_REGS_4): Likewise.
35388 (LOAD_REGS_5): Likewise.
35389 (LOAD_REGS_6): Likewise.
35390 (ASM_ARGS_0): Likewise.
35391 (ASM_ARGS_1): Likewise.
35392 (ASM_ARGS_2): Likewise.
35393 (ASM_ARGS_3): Likewise.
35394 (ASM_ARGS_4): Likewise.
35395 (ASM_ARGS_5): Likewise.
35396 (ASM_ARGS_6): Likewise.
35397 (LOAD_ARGS_TYPES_1): Likewise.
35398 (LOAD_ARGS_TYPES_2): Likewise.
35399 (LOAD_ARGS_TYPES_3): Likewise.
35400 (LOAD_ARGS_TYPES_4): Likewise.
35401 (LOAD_ARGS_TYPES_5): Likewise.
35402 (LOAD_ARGS_TYPES_6): Likewise.
35403 (LOAD_REGS_TYPES_1): Likewise.
35404 (LOAD_REGS_TYPES_2): Likewise.
35405 (LOAD_REGS_TYPES_3): Likewise.
35406 (LOAD_REGS_TYPES_4): Likewise.
35407 (LOAD_REGS_TYPES_5): Likewise.
35408 (LOAD_REGS_TYPES_6): Likewise.
35409 (TYPEFY): New define.
35410 (ARGIFY): Likewise.
35411 (internal_syscall0): Likewise.
35412 (internal_syscall1): Likewise.
35413 (internal_syscall2): Likewise.
35414 (internal_syscall3): Likewise.
35415 (internal_syscall4): Likewise.
35416 (internal_syscall5): Likewise.
35417 (internal_syscall6): Likewise.
35418 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
35419 (INTERNAL_SYSCALL_NCS): Remove define.
35420 (internal_syscall1): Add define.
35422 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35424 * math/w_remainder_compat.c: Remove duplicate inclusion of
35425 math-svid-compat.h.
35426 * math/w_remainderf_compat.c: Likewise.
35427 * math/w_remainderl_compat.c: Likewise.
35429 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35433 2017-08-22 Joseph Myers <joseph@codesourcery.com>
35436 * math/tgmath.h (__floating_type): Simplify definitions.
35437 (__real_integer_type): New macro.
35438 (__complex_integer_type): Likewise.
35439 (__expr_is_real): Likewise.
35440 (__tgmath_real_type_sub): Update comment to describe handling of
35442 (__tgmath_complex_type_sub): New macro.
35443 (__tgmath_complex_type): Likewise.
35444 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35445 (__TGMATH_CF128): Use __expr_is_real.
35446 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
35448 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35449 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
35450 * math/gen-tgmath-tests.py (Type.create_type): Create complex
35453 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35455 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
35457 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
35459 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
35462 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
35463 nanosleep_not_cancel with __nanosleep_nocancel.
35464 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
35465 (__nanosleep_nocancel): New macro.
35466 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
35468 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
35470 (__nanosleep_nocancel): New prototype.
35472 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
35473 pause_not_cancel with __pause_nocancel.
35474 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
35475 (__pause_nocancel): New macro.
35476 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
35478 (__pause_nocancel): New prototype.
35479 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
35481 2017-08-22 Martin Sebor <msebor@redhat.com>
35483 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
35484 to return a pointer to the same type as the target function.
35486 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
35490 * include/printf.h (__printf_fphex): Add attribute_hidden.
35491 (__guess_grouping): New prototype.
35492 * stdio-common/printf_fp.c (__guess_grouping): Removed.
35493 * stdio-common/reg-printf.c (__register_printf_specifier): Add
35494 libc_hidden_proto and libc_hidden_def.
35495 * stdlib/strfmon_l.c (__guess_grouping): Removed.
35496 (__vstrfmon_l): Remove the third argument passed to
35499 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35501 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
35502 definition for issignaling that does not rely on __MATH_TG,
35503 since __MATH_TG uses __builtin_types_compatible_p, which is only
35504 available in C mode.
35505 (CFLAGS-test-math-issignaling.cc): New variable.
35506 * math/Makefile [CXX] (tests): Add test-math-issignaling.
35507 * math/test-math-issignaling.cc: New test for C++ implementation
35508 of type-generic issignaling.
35509 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
35510 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
35511 options of test-math-issignaling on powerpc64le.
35513 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
35515 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
35517 (hidden_proto): Likewise.
35518 (hidden_tls_proto): Likewise.
35519 (__hidden_proto): Likewise.
35521 2017-08-22 Florian Weimer <fweimer@redhat.com>
35523 math: Statically link tests of internal functionality.
35524 * math/Makefile (tests): Remove atest-exp, atest-sincos,
35526 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
35527 (gmp-objs): Remove assignment.
35528 (atest-exp, atest-sincos, atest-exp2): Remove targets.
35530 2017-08-22 Joseph Myers <joseph@codesourcery.com>
35533 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
35535 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
35537 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
35540 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
35541 variable definitions above inclusion of ../Rules.
35543 2017-08-21 Joseph Myers <joseph@codesourcery.com>
35545 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
35546 case calling __builtin_unreachable.
35548 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35550 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
35551 __waitpid_nocancel.
35552 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
35553 (__waitpid_nocancel): New macro.
35554 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
35556 (__waitpid_nocancel): Replace macro with a function.
35557 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
35560 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
35562 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
35563 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
35565 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
35566 __writev_nocancel_nostatus.
35567 (write_call_graph): Likewise.
35568 (write_bb_counts): Likewise.
35569 * resolv/herror.c (herror): Likewise.
35570 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
35572 (__writev_nocancel_nostatus): New macro.
35573 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
35575 (__writev_nocancel_nostatus): New function.
35577 2017-08-21 Joseph Myers <joseph@codesourcery.com>
35580 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35582 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
35584 (hidden_proto): Likewise.
35585 (hidden_tls_proto): Likewise.
35586 (__hidden_proto): Likewise.
35589 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
35590 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
35591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
35593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
35595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
35597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
35599 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
35600 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
35601 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
35602 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
35603 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
35604 GLIBC_2.0 sqrtl symbol.
35606 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
35607 [__USE_MISC] (_LIB_VERSION): Likewise.
35608 [__USE_MISC] (struct exception): Likewise.
35609 [__USE_MISC] (matherr): Likewise.
35610 [__USE_MISC] (DOMAIN): Likewise.
35611 [__USE_MISC] (SING): Likewise.
35612 [__USE_MISC] (OVERFLOW): Likewise.
35613 [__USE_MISC] (UNDERFLOW): Likewise.
35614 [__USE_MISC] (TLOSS): Likewise.
35615 [__USE_MISC] (PLOSS): Likewise.
35616 [__USE_MISC] (HUGE): Likewise.
35617 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
35618 * math/math-svid-compat.h: New file.
35619 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
35621 * include/math.h [!_ISOMAC] (__matherr): Remove.
35622 * manual/arith.texi (FP Exceptions): Do not document matherr.
35623 * math/Makefile (tests): Change test-matherr to test-matherr-3.
35624 (tests-internal): New variable.
35625 (install-lib): Do not add libieee.a.
35626 (non-lib.a): Likewise.
35627 (extra-objs): Do not add libieee.a and ieee-math.o.
35628 (CPPFLAGS-s_lib_version.c): Remove variable.
35629 ($(objpfx)libieee.a): Remove rule.
35630 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
35631 * math/ieee-math.c: Remove.
35632 * math/libm-test-support.c (matherr): Remove.
35633 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
35634 and license notices. Include <math-svid-compat.h> and
35636 (matherr): Undefine as macro. Use compat_symbol_reference.
35637 (_LIB_VERSION): Likewise.
35638 * math/test-matherr-2.c: New file.
35639 * math/test-matherr-3.c: Likewise.
35640 * sysdeps/generic/math_private.h (__kernel_standard): Remove
35642 (__kernel_standard_f): Likewise.
35643 (__kernel_standard_l): Likewise.
35644 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
35645 <math_private.h>. Include <math-svid-compat.h>.
35646 (_LIB_VERSION): Undefine as macro.
35647 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
35648 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
35649 [LIBM_SVID_COMPAT], use compat_symbol.
35650 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
35651 <math_private.h>. Include <math-svid-compat.h>.
35652 (matherr): Undefine as macro.
35653 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
35655 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
35656 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
35657 compat_symbol_reference.
35658 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
35659 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
35660 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
35661 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
35662 (MATHERR_D): Remove declaration.
35663 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
35664 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
35665 [LIBM_BUILD] (pmatherrf): Likewise.
35666 [LIBM_BUILD] (pmatherr): Likewise.
35667 [LIBM_BUILD] (pmatherrl): Likewise.
35668 (DOMAIN): Likewise.
35670 (OVERFLOW): Likewise.
35671 (UNDERFLOW): Likewise.
35674 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
35675 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
35677 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
35678 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
35680 * math/lgamma-compat.h: Include <math-svid-compat.h>.
35681 * math/w_acos_compat.c: Likewise.
35682 * math/w_acosf_compat.c: Likewise.
35683 * math/w_acosh_compat.c: Likewise.
35684 * math/w_acoshf_compat.c: Likewise.
35685 * math/w_acoshl_compat.c: Likewise.
35686 * math/w_acosl_compat.c: Likewise.
35687 * math/w_asin_compat.c: Likewise.
35688 * math/w_asinf_compat.c: Likewise.
35689 * math/w_asinl_compat.c: Likewise.
35690 * math/w_atan2_compat.c: Likewise.
35691 * math/w_atan2f_compat.c: Likewise.
35692 * math/w_atan2l_compat.c: Likewise.
35693 * math/w_atanh_compat.c: Likewise.
35694 * math/w_atanhf_compat.c: Likewise.
35695 * math/w_atanhl_compat.c: Likewise.
35696 * math/w_cosh_compat.c: Likewise.
35697 * math/w_coshf_compat.c: Likewise.
35698 * math/w_coshl_compat.c: Likewise.
35699 * math/w_exp10_compat.c: Likewise.
35700 * math/w_exp10f_compat.c: Likewise.
35701 * math/w_exp10l_compat.c: Likewise.
35702 * math/w_exp2_compat.c: Likewise.
35703 * math/w_exp2f_compat.c: Likewise.
35704 * math/w_exp2l_compat.c: Likewise.
35705 * math/w_fmod_compat.c: Likewise.
35706 * math/w_fmodf_compat.c: Likewise.
35707 * math/w_fmodl_compat.c: Likewise.
35708 * math/w_hypot_compat.c: Likewise.
35709 * math/w_hypotf_compat.c: Likewise.
35710 * math/w_hypotl_compat.c: Likewise.
35711 * math/w_j0_compat.c: Likewise.
35712 * math/w_j0f_compat.c: Likewise.
35713 * math/w_j0l_compat.c: Likewise.
35714 * math/w_j1_compat.c: Likewise.
35715 * math/w_j1f_compat.c: Likewise.
35716 * math/w_j1l_compat.c: Likewise.
35717 * math/w_jn_compat.c: Likewise.
35718 * math/w_jnf_compat.c: Likewise.
35719 * math/w_jnl_compat.c: Likewise.
35720 * math/w_lgamma_main.c: Likewise.
35721 * math/w_lgamma_r_compat.c: Likewise.
35722 * math/w_lgammaf_main.c: Likewise.
35723 * math/w_lgammaf_r_compat.c: Likewise.
35724 * math/w_lgammal_main.c: Likewise.
35725 * math/w_lgammal_r_compat.c: Likewise.
35726 * math/w_log10_compat.c: Likewise.
35727 * math/w_log10f_compat.c: Likewise.
35728 * math/w_log10l_compat.c: Likewise.
35729 * math/w_log2_compat.c: Likewise.
35730 * math/w_log2f_compat.c: Likewise.
35731 * math/w_log2l_compat.c: Likewise.
35732 * math/w_log_compat.c: Likewise.
35733 * math/w_logf_compat.c: Likewise.
35734 * math/w_logl_compat.c: Likewise.
35735 * math/w_pow_compat.c: Likewise.
35736 * math/w_powf_compat.c: Likewise.
35737 * math/w_powl_compat.c: Likewise.
35738 * math/w_remainder_compat.c: Likewise.
35739 * math/w_remainderf_compat.c: Likewise.
35740 * math/w_remainderl_compat.c: Likewise.
35741 * math/w_scalb_compat.c: Likewise.
35742 * math/w_scalbf_compat.c: Likewise.
35743 * math/w_scalbl_compat.c: Likewise.
35744 * math/w_sinh_compat.c: Likewise.
35745 * math/w_sinhf_compat.c: Likewise.
35746 * math/w_sinhl_compat.c: Likewise.
35747 * math/w_sqrt_compat.c: Likewise.
35748 * math/w_sqrtf_compat.c: Likewise.
35749 * math/w_sqrtl_compat.c: Likewise.
35750 * math/w_tgamma_compat.c: Likewise.
35751 * math/w_tgammaf_compat.c: Likewise.
35752 * math/w_tgammal_compat.c: Likewise.
35753 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
35754 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
35755 * sysdeps/ieee754/k_standard.c: Likewise.
35756 * sysdeps/ieee754/k_standardf.c: Likewise.
35757 * sysdeps/ieee754/k_standardl.c: Likewise.
35758 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
35759 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
35760 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
35761 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
35762 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
35763 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
35764 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
35765 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
35766 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
35767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
35769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
35771 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
35772 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
35773 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
35774 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
35776 2017-08-21 Florian Weimer <fweimer@redhat.com>
35779 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
35780 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
35781 Move before inclusion of ../Rules.
35783 2017-08-21 Florian Weimer <fweimer@redhat.com>
35786 * assert/assert.h (assert): Use static_cast (bool) for C++.
35787 Use the ternary operator in the warning branch for GNU C.
35788 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
35789 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
35790 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
35791 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
35792 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
35794 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35797 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35798 (__syscall_clock_gettime): Add attribute_hidden.
35799 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
35800 (__start_context): Likewise.
35802 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35804 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
35806 (hidden_proto): Likewise.
35807 (hidden_tls_proto): Likewise.
35808 (__hidden_proto): Likewise.
35810 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35812 * include/libc-symbols.h (attribute_hidden): Enable hidden
35813 visibility in libc.a compiled with PIE.
35815 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35818 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
35819 Add attribute_hidden.
35821 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35824 * Makerules (all-nonlib): Add $(others-extras).
35825 * catgets/Makefile (others-extras): New.
35826 * elf/Makefile (others-extras): Likewise.
35827 * nss/Makefile (others-extras): Likewise.
35829 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35832 * csu/libc-start.c (__libc_multiple_libcs): Removed.
35833 * elf/dl-open.c: Include <libc-internal.h>.
35834 (__libc_multiple_libcs): Removed.
35835 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
35837 * include/libc-internal.h (__libc_multiple_libcs): New.
35838 * misc/sbrk.c: Include <libc-internal.h>.
35839 (__libc_multiple_libcs): Removed.
35841 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35844 * grp/initgroups.c (__nss_group_database): Removed.
35845 (__nss_initgroups_database): Likewise.
35846 * nscd/gai.c (__nss_hosts_database): Likewise.
35847 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
35848 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
35849 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
35850 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
35851 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
35852 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
35854 * nss/nsswitch.c (__nss_database_custom): Define only if
35855 USE_NSCD is defined.
35856 (__nss_configure_lookup): Use __nss_database_custom only if
35857 USE_NSCD is defined.
35858 * nss/nsswitch.h (__nss_database_custom): Declare only if
35859 USE_NSCD is defined. Add attribute_hidden.
35860 (__nss_setent): Add attribute_hidden.
35861 (__nss_endent): Likewise.
35862 (__nss_getent_r): Likewise.
35863 (__nss_getent): Likewise.
35864 (DEFINE_DATABASE): Declare __nss_##arg##_database.
35866 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
35869 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
35870 libc_hidden_proto and libc_hidden_def.
35872 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
35875 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
35876 Add libc_hidden_proto.
35877 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
35878 Add libc_hidden_def.
35880 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
35883 * gmon/Makefile (routines): Remove bb_init_func and
35885 (elide-routines.os): Removed.
35886 * gmon/bb_exit_func.c: Likewise.
35887 * gmon/bb_init_func.c: Likewise.
35888 * include/sys/gmon.h (__bb): Likewise.
35889 (__bb_init_func): Likewise.
35890 (__bb_exit_func): Likewise.
35891 * sysdeps/alpha/bb_init_func.S: Likewise.
35893 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
35895 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
35896 * include/setjmp.h (____longjmp_chk): Here. Add
35899 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
35902 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
35904 (__strspn_sse2): Likewise.
35906 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35908 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
35909 (close_not_cancel_no_status): Likewise.
35910 (__close_nocancel): New macro.
35911 (__close_nocancel_nostatus): Likewise.
35912 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
35914 (close_not_cancel): Likewise.
35915 (close_not_cancel_no_status): Likewise.
35916 (__close_nocancel): New prototype.
35917 (__close_nocancel_nostatus): New function.
35918 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
35919 * catgets/open_catalog.c (__open_catalog): Replace
35920 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
35921 * gmon/gmon.c (write_gmon): Likewise.
35922 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
35923 * intl/loadmsgcat.c (close): Likewise.
35924 * io/ftw.c (open_dir_stream): Likewise.
35925 (ftw_startup): Likewise.
35926 * libio/fileops.c (_IO_file_open): Likewise.
35927 (_IO_file_close_mmap): Likewise.
35928 (_IO_file_close): Likewise.
35929 * libio/iopopen.c (_IO_dup2): Likewise.
35930 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35931 * locale/loadlocale.c (_nl_load_locale): Likewise.
35932 * login/utmp_file.c (pututline_file): Likewise.
35933 (endutent_file): Likewise.
35934 * misc/daemon.c (daemon): Likewise.
35935 * nscd/nscd_getai.c (__nscd_getai): Likewise.
35936 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35937 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
35938 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
35939 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35940 * nscd/nscd_helper.c (open_socket): Likewise.
35941 (__nscd_open_socket): Likewise.
35942 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
35943 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
35944 (__nscd_innetgr): Likewise.
35945 * nss/nss_db/db-open.c (internal_setent): Likewise.
35946 * resolv/res-close.c (__res_iclose): Likewise.
35947 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
35948 * sysdeps/posix/closedir.c (__closedir): Likewise.
35949 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
35950 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
35951 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
35952 (opendir_tail): Likewise.
35953 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
35954 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
35955 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
35956 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
35957 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
35958 (gethostid): Likewise.
35959 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
35960 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35962 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
35963 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
35964 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
35965 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
35967 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
35968 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
35969 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
35971 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
35972 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
35974 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
35976 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
35977 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
35978 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
35981 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
35982 (openat_not_cancel_3): Likewise.
35983 (openat64_not_cancel_3): Likewise).
35984 (openat_not_cancel_3): Likewise).
35985 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
35987 (openat_not_cancel_3): Likewise.
35988 (openat64_not_cancel): Likewise.
35989 (openat64_not_cancel_3): Likewise.
35990 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
35991 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
35992 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
35993 __open{64}_nocancel.
35994 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
35995 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
35996 * sysdeps/posix/opendir.c (__opendirat): Likewise.
35998 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36001 * include/argz.h (__argz_create_sep): New function prototype.
36002 (__argz_append): Likewise.
36003 (__argz_add): Likewise.
36004 (__argz_add_sep): Likewise.
36005 (__argz_delete): Likewise.
36006 (__argz_insert): Likewise.
36007 (__argz_replace): Likewise.
36008 * string/argz.h (__argz_create_sep): Removed.
36009 (__argz_append): Likewise.
36010 (__argz_add): Likewise.
36011 (__argz_add_sep): Likewise.
36012 (__argz_delete): Likewise.
36013 (__argz_insert): Likewise.
36014 (__argz_replace): Likewise.
36016 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36018 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
36019 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
36020 (GNU_PROPERTY_STACK_SIZE): Likewie.
36021 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
36022 (GNU_PROPERTY_LOPROC): Likewise.
36023 (GNU_PROPERTY_HIPROC): Likewise.
36024 (GNU_PROPERTY_LOUSER): Likewise.
36025 (GNU_PROPERTY_HIUSER): Likewise.
36026 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
36027 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
36028 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
36029 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
36030 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
36031 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
36032 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
36033 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
36034 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
36035 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
36036 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
36037 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
36038 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
36039 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
36040 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
36041 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
36042 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
36043 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
36044 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
36045 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
36046 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
36047 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
36048 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
36050 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36052 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
36055 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36058 * math/math.h (isinf): Check if in C or C++ mode before using
36059 __builtin_types_compatible_p, since this is a C mode feature.
36061 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36063 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
36064 (__write_nocancel): New macro.
36065 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
36066 Rewrite as a function prototype.
36067 (write_not_cancel): Remove macro.
36068 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
36069 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
36070 (write_gmon): Likewise.
36071 * libio/fileops.c (_IO_new_file_write): Likewise.
36072 * login/utmp_file.c (pututline_file): Likewise.
36073 (updwtmp_file): Likewise.
36074 * stdio-common/psiginfo.c (psiginfo): Likewise.
36075 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36076 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36077 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36079 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36082 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
36083 (__read_nocancel): New macro.
36084 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36086 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
36088 (__read_nocancel): New prototype.
36089 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
36090 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
36091 with __read_nocancel.
36092 * intl/loadmsgcat.c (read): Likewise.
36093 * libio/fileops.c (_IO_file_read): Likewise.
36094 * locale/loadlocale.c (_nl_load_locale): Likewise.
36095 * login/utmp_file.c (getutent_r_file): Likewise.
36096 (internal_getut_r): Likewise.
36097 (getutline_r_file): Likewise.
36098 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36099 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
36100 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36101 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36103 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
36104 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36105 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36107 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36109 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36111 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36113 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36115 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36118 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
36119 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
36122 2017-08-17 DJ Delorie <dj@redhat.com>
36124 * bug17079.c: Update to new test harness.
36125 * test-digits-dots.c: Likewise.
36126 * test-netdb.c: Likewise.
36127 * tst-field.c: Likewise.
36128 * tst-nss-getpwent.c: Likewise.
36129 * tst-nss-static.c: Likewise.
36130 * tst-nss-test1.c: Likewise.
36131 * tst-nss-test2.c: Likewise.
36132 * tst-nss-test3.c: Likewise.
36133 * tst-nss-test4.c: Likewise.
36134 * tst-nss-test5.c: Likewise.
36136 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36138 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
36139 (open_not_cancel_2): Likewise.
36140 (open_nocancel): New macro.
36141 (open64_nocancel): Likewise.
36142 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
36143 (open_not_cancel_2): Likewise.
36144 (__open_nocancel): New prototype.
36145 (__open64_nocancel): Likewise.
36146 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36148 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
36149 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
36150 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
36151 with __open_nocancel.
36152 * csu/check_fds.c (check_one_fd): Likewise.
36153 * gmon/gmon.c (write_gmon): Likewise.
36154 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
36155 * intl/loadmsgcat.c (open): Likewise.
36156 * libio/fileops.c (_IO_file_open): Likewise.
36157 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36158 * locale/loadlocale.c (_nl_load_locale): Likewise.
36159 * login/utmp_file.c (setutent_file): Likewise.
36160 * misc/daemon.c (daemon): Likewise.
36161 * nss/nss_db/db-open.c (internal_setent): Likewise.
36162 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36163 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
36164 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36165 (__opendir): Likewise.
36166 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36167 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36168 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36169 (gethostid): Likewise.
36170 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36171 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36173 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36174 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
36175 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36176 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36178 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36180 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36182 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
36184 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36186 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36188 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36189 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36191 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
36193 * benchtests/bench-skeleton.c (main): Add support for
36194 latency benchmarking.
36195 * benchtests/scripts/bench.py: Add support for latency benchmarking.
36197 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
36199 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
36200 the startup object.
36202 2017-08-17 Florian Weimer <fweimer@redhat.com>
36204 * include/sys/socket.h (__opensock): Remove internal_function.
36205 * socket/opensock.c (__opensock): Likewise.
36206 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
36208 2017-08-16 Joseph Myers <joseph@codesourcery.com>
36211 * signal/bits/types/__sigval_t.h: New file.
36212 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
36213 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
36214 and define sigval_t using __sigval_t.
36215 * include/bits/types/__sigval_t.h: New file.
36216 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
36217 instead of <bits/types/__sigval_t.h>.
36218 (struct sigevent): Use __sigval_t instead of sigval_t.
36219 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
36220 instead of <bits/types/__sigval_t.h>.
36221 (siginfo_t): Use __sigval_t instead of sigval_t.
36222 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
36223 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
36224 (struct sigevent): Use __sigval_t instead of sigval_t.
36225 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
36226 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
36227 (siginfo_t): Use __sigval_t instead of sigval_t.
36228 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
36230 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36232 * NEWS: Remove "[Add new features here]" for 2.27.
36234 2017-08-16 Joseph Myers <joseph@codesourcery.com>
36236 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
36239 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36241 * NEWS: Mention x86-64 FMA optimization.
36243 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36246 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36248 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
36249 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
36250 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
36252 2017-08-16 Andreas Schwab <schwab@suse.de>
36256 * elf/ldd.bash.in: Never run file directly.
36258 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
36261 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
36262 (L(SP_INF_0)): Likewise.
36264 2017-08-15 Florian Weimer <fweimer@redhat.com>
36266 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
36269 2017-08-15 Florian Weimer <fweimer@redhat.com>
36271 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
36272 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
36273 BROKEN_THREAD_SIGNALS code.
36274 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
36275 request_list): Remove caller_pid member used for
36276 BROKEN_THREAD_SIGNALS.
36277 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
36278 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
36279 Remove BROKEN_THREAD_SIGNALS support.
36280 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
36281 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
36283 2017-08-15 Florian Weimer <fweimer@redhat.com>
36285 * gmon/Makefile (tests): Add tst-gmon.
36286 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
36288 (tests-special): Add tst-gmon-prof.out.
36289 (tst-gmon.out): Depend on clean-tst-gmon-data.
36290 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
36291 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
36292 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
36294 * aclocal.m4 (GPROF): Set and substitute.
36295 * config.amke.in (GPROF): Set.
36296 * configure: Regenerate.
36298 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
36300 * elf/elf.h A (NT_PPC_TAR): New macro.
36301 (NT_PPC_PPR): Likewise.
36302 (NT_PPC_DSCR): Likewise.
36303 (NT_PPC_EBB): Likewise.
36304 (NT_PPC_PMU): Likewise.
36305 (NT_PPC_TM_CGPR): Likewise.
36306 (NT_PPC_TM_CFPR): Likewise.
36307 (NT_PPC_TM_CVMX): Likewise.
36308 (NT_PPC_TM_CVSX): Likewise.
36309 (NT_PPC_TM_SPR): Likewise.
36310 (NT_PPC_TM_CTAR): Likewise.
36311 (NT_PPC_TM_CPPR): Likewise.
36312 (NT_PPC_TM_CDSCR): Likewise.
36314 2017-08-15 Florian Weimer <fweimer@redhat.com>
36316 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
36317 regparm (2) instead of internal_function.
36318 (_MCOUNT_DECL): Adjust.
36320 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
36322 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
36323 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
36325 2017-08-14 Joseph Myers <joseph@codesourcery.com>
36327 * conform/data/sys/wait.h-data (si_value): Do not expect for
36330 2017-08-14 Florian Weimer <fweimer@redhat.com>
36333 NSS: Create stubs for accidentally exported lookup functions.
36334 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
36335 Remove declaration.
36336 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
36337 (ether_hostton): Call __nss_ethers_lookup2 instead.
36338 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
36339 (ether_ntohost): Call __nss_ethers_lookup2 instead.
36340 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
36341 (setup): Call __nss_netgroup_lookup2 instead.
36342 * nss/Makefile (routines): Add compat-lookup.
36343 * nss/Versions (GLIBC_2.27): Add symbol version.
36344 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
36345 (DB_COMPAT_FCT): Remove.
36346 * nss/compat-lookup.c: New file.
36347 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
36348 from databases.def.
36349 * nss/service-lookup.c (NO_COMPAT): Remove definition.
36350 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
36351 (netname2user): Call __nss_publickey_lookup2 instead.
36352 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
36353 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
36356 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36357 Sergei Trofimovich <slyfox@inbox.ru>
36360 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
36361 Rename to MMAP2_PAGE_UNIT.
36362 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
36363 __OFF_T_MATCHES_OFF64_T is not defined.
36364 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
36366 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
36367 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
36369 2017-08-14 Florian Weimer <fweimer@redhat.com>
36371 i386: Do not set internal_function.
36372 * config.h.in (USE_REGPARMS, internal_function): Remove.
36373 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
36374 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
36376 2017-08-14 Florian Weimer <fweimer@redhat.com>
36378 * elf/dl-init.c (_dl_init): Remove internal_function.
36379 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
36380 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
36382 2017-08-14 Florian Weimer <fweimer@redhat.com>
36384 * elf/rtld.c (_dl_start): Remove internal_function.
36385 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
36388 2017-08-14 Florian Weimer <fweimer@redhat.com>
36390 * elf/dl-fini.c (_dl_fini): Remove internal_function
36391 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
36393 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
36395 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
36396 (bit_cpu_SHSTK): Likewise.
36397 (index_cpu_IBT): Likewise.
36398 (index_cpu_SHSTK): Likewise.
36399 (reg_IBT): Likewise.
36400 (reg_SHSTK): Likewise.
36401 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
36402 Handle index_cpu_IBT and index_cpu_SHSTK.
36404 2017-08-14 Mike FABIAN <mfabian@redhat.com>
36407 * po/fr.po: Fix spelling mistake.
36409 2017-08-13 Florian Weimer <fweimer@redhat.com>
36411 * elf/dl-addr.c (_dl_addr): Remove internal_function.
36412 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
36413 (_dl_catch_error, _dl_receive_error): Likewise.
36414 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
36415 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
36416 (_dl_deallocate_tls): Likewise.
36417 * include/dlfcn.h (_dl_addr): Likewise.
36418 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
36419 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
36420 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
36423 2017-08-13 Florian Weimer <fweimer@redhat.com>
36425 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
36426 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
36428 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
36430 2017-08-13 Florian Weimer <fweimer@redhat.com>
36432 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
36434 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
36435 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
36436 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
36437 internal_function from _dl_make_stack_executable_hook member.
36438 (_dl_make_stack_executable): Remove internal_function.
36439 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
36441 * sysdeps/unix/sysv/linux/dl-execstack.c
36442 (_dl_make_stack_executable): Likewise.
36444 2017-08-13 Florian Weimer <fweimer@redhat.com>
36446 * sysdeps/unix/sysv/linux/netlinkaccess.h
36447 (__netlink_assert_response): Remove internal_function.
36448 * sysdeps/unix/sysv/linux/netlink_assert_response.c
36449 (__netlink_assert_response): Likewise.
36451 2017-08-13 Florian Weimer <fweimer@redhat.com>
36453 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
36455 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
36457 2017-08-13 Florian Weimer <fweimer@redhat.com>
36459 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
36461 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
36462 * inet/netgroup.h (__internal_setnetgrent)
36463 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
36464 * inet/getnetgrent_r.c (__internal_setnetgrent)
36465 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
36466 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
36467 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
36468 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
36469 * nss/nsswitch.h (db_lookup_function): Likewise.
36471 2017-08-13 Florian Weimer <fweimer@redhat.com>
36473 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
36474 Remove internal_function.
36475 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
36476 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
36477 message argument on the stack.
36478 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
36481 2017-08-12 Mike FABIAN <mfabian@redhat.com>
36483 Adapt test case data to the changes in the thousands
36487 * localedata/tst-langinfo.sh: Adapt test case data.
36488 * stdlib/tst-strfmon_l.c: Likewise.
36489 * stdlib/tst-strtod4.c: Likewise.
36490 * stdlib/tst-strtod5i.c: Likewise.
36492 2017-08-11 Florian Weimer <fweimer@redhat.com>
36495 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
36496 Suppress pedantic warning resulting from statement expression.
36497 (__ASSERT_FUNCTION): Add missing __extension__.
36499 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
36501 * benchtests/bench-memmove-large.c: Print output in JSON
36503 * benchtests/bench-memmove.c: Likewise.
36505 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
36506 * benchtests/bench-memchr.c (do_one_test): Likewise.
36507 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
36508 * benchtests/bench-memcpy.c (do_one_test): Likewise.
36509 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
36510 * benchtests/bench-memmove.c (do_one_test): Likewise.
36511 * benchtests/bench-memset-large.c (do_one_test): Likewise.
36512 * benchtests/bench-memset.c (do_one_test): Likewise.
36513 * benchtests/bench-string.h (test_init): Remove memsets.
36515 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
36518 (Computing the Width of an Integer Data Type): Rename section to
36519 "Width of an Integer Type". Remove inaccurate statement regarding
36520 lack of C language facilities for determining width of integer
36521 types, and reorder content to improve flow and context of
36524 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
36526 * lang.texi (va_copy): Change standard from ISO to C99.
36527 (__va_copy): Add standard and header annotation.
36528 Update description for clarity of origins and current use.
36530 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36533 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
36534 xssqrtqp requires operands to be in Vector Registers
36535 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
36536 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
36537 (__ieee754_sqrtf128): Likewise.
36539 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
36541 * sysdeps/aarch64/memcmp.S (memcmp):
36542 Rewrite of optimized memcmp.
36544 2017-08-10 Florian Weimer <fweimer@redhat.com>
36546 Introduce ld.so exceptions.
36547 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
36548 (_dl_exception_create, _dl_exception_create_format)
36549 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
36550 (_dl_catch_exception): Declare.
36551 (_dl_catch_error): Update comment.
36552 * elf/dl-error-skeleton.c (struct catch): Replace objname,
36553 errstring, malloced members with exception member.
36554 (_dl_out_of_memory): Remove.
36555 (fatal_error): New function, extracted from _dl_signal_error.
36556 (_dl_signal_exception, _dl_signal_cexception): New functions.
36557 (_dl_signal_error): Call _dl_exception_create to allocate an
36559 (_dl_catch_exception): New function, based on _dl_catch_error.
36560 (_dl_catch_error): Implement using _dl_catch_exception.
36561 * elf/dl-exception.c: New file.
36562 * elf/Makefile (dl-routines): Add dl-exception.
36563 (elide-routines.os): Likewise.
36564 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
36565 _dl_exception_create_format, _dl_exception_free.
36566 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
36567 _dl_signal_exception.
36568 * elf/dl-lookup.c (make_string): Remove.
36569 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
36570 _dl_signal_cexception, _dl_exception_free.
36571 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
36572 _dl_signal_exception.
36573 * elf/dl-sym.c (do_sym): Likewise.
36574 * elf/dl-version.c (make_string): Remove.
36575 (match_symbol): Use _dl_exception_create_format,
36576 _dl_signal_cexception, _dl_exception_free.
36577 (_dl_check_map_versions): Likewise.
36578 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
36579 _dl_catch_exception.
36580 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
36581 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
36582 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
36583 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
36584 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
36585 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
36586 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
36587 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
36589 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
36590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
36592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
36594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
36596 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
36597 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
36598 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
36600 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
36602 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
36604 2017-08-10 Florian Weimer <fweimer@redhat.com>
36606 * inet/net-internal.h (__inet6_scopeid_pton): Remove
36607 attribute_hidden, internal_function.
36608 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
36611 2017-08-10 Florian Weimer <fweimer@redhat.com>
36613 * malloc/malloc.c (get_max_fast): Reimplement as an inline
36614 function which calls __builtin_unreachable.
36616 2017-08-10 Mike FABIAN <mfabian@redhat.com>
36618 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
36619 Indian monetary formatting
36620 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
36623 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
36625 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
36626 Fix typo in comment.
36629 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
36630 PTRACE_SEIZE_DEVEL): Remove.
36631 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
36632 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36633 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36634 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36635 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36637 2017-08-09 Joseph Myers <joseph@codesourcery.com>
36639 * posix/bits/types.h (__qaddr_t): Remove.
36642 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
36643 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36645 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
36646 (ucontext_t): Use __ctx with uc_flags.
36647 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
36648 (__ctxt): Likewise.
36649 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36651 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
36652 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36654 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
36655 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36657 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
36659 (ucontext_t): Use __ctx with uc_flags.
36660 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
36661 (ucontext_t): Use __ctx with uc_flags.
36662 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
36663 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
36664 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
36665 (ucontext_t): Use __ctx with uc_flags.
36666 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
36667 undefine further down.
36668 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36670 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
36671 undefine further down.
36672 (ucontext_t): Use __ctx with uc_flags.
36673 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
36674 undefine further down.
36675 (ucontext_t): Use __ctx with uc_flags.
36676 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
36677 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
36678 Rename uc_pad to __glibc_reserved1.
36679 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
36680 undefine further down.
36681 (ucontext_t): Use __ctx with uc_flags.
36682 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
36684 (ucontext_t): Use __ctx with uc_flags.
36685 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
36686 __ctx with uc_flags.
36687 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
36688 (ucontext_t): Use __ctx with uc_flags.
36689 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
36690 __ctx with uc_flags.
36692 2017-08-09 Florian Weimer <fweimer@redhat.com>
36695 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
36696 before early return.
36698 2017-08-09 Andreas Schwab <schwab@suse.de>
36701 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
36705 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
36706 tst-compat-forwarder.
36707 (modules-names): Add tst-compat-forwarder-mod.
36708 ($(objpfx)tst-compat-forwarder): Depend on
36709 $(objpfx)tst-compat-forwarder-mod.so.
36710 * nptl/tst-compat-forwarder.c: New file.
36711 * nptl/tst-compat-forwarder-mod.c: New file.
36713 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
36715 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
36718 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
36719 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
36721 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
36723 (__libc_ifunc_impl_list): Add __memcpy_falkor.
36724 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
36725 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
36726 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
36728 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
36731 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36734 * manual/setjmp.texi (getcontex): Document uc_stack value
36735 compatibility differences.
36737 2017-08-08 Joseph Myers <joseph@codesourcery.com>
36739 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
36740 (old_malloc_hook): Likewise.
36741 (old_memalign_hook): Likewise.
36742 (old_realloc_hook): Likewise.
36743 (struct hdr): Likewise.
36745 (freehook): Likewise.
36746 (mallochook): Likewise.
36747 (memalignhook): Likewise.
36748 (reallochook): Likewise.
36749 (mprobe): Likewise.
36750 * malloc/mtrace.c (mallwatch): Likewise.
36751 (tr_old_free_hook): Likewise.
36752 (tr_old_malloc_hook): Likewise.
36753 (tr_old_realloc_hook): Likewise.
36754 (tr_old_memalign_hook): Likewise.
36755 (tr_where): Likewise.
36756 (lock_and_info): Likewise.
36757 (tr_freehook): Likewise.
36758 (tr_mallochook): Likewise.
36759 (tr_reallochook): Likewise.
36760 (tr_memalignhook): Likewise.
36761 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
36762 * misc/mmap.c (__mmap): Likewise.
36763 * misc/mmap64.c (__mmap64): Likewise.
36764 * misc/mprotect.c (__mprotect): Likewise.
36765 * misc/msync.c (msync): Likewise.
36766 * misc/munmap.c (__munmap): Likewise.
36767 * posix/posix_madvise.c (posix_madvise): Likewise.
36768 * socket/send.c (__send): Likewise.
36769 * socket/sendto.c (__sendto): Likewise.
36770 * socket/setsockopt.c (__setsockopt): Likewise.
36771 * string/memcmp.c (__ptr_t): Remove macro.
36772 (MEMCMP): Use void * instead of ptr_t.
36773 * string/memrchr.c (__ptr_t): Remove macro.
36774 (__memrchr): Use void * instead of ptr_t.
36775 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
36776 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
36777 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
36778 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
36779 * sysdeps/mach/msync.c (msync): Likewise.
36780 * sysdeps/mach/munmap.c (__munmap): Likewise.
36781 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
36783 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36784 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
36785 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
36786 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
36787 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
36788 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
36789 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
36790 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
36792 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
36793 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
36794 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
36795 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
36796 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
36797 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
36798 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
36799 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
36800 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
36802 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
36803 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
36804 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
36805 (MEMCMP): Use void * instead of ptr_t.
36806 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
36807 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
36809 2017-08-08 Florian Weimer <fweimer@redhat.com>
36811 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
36814 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
36817 * csu/libc-tls.c: Include <startup.h> first.
36818 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
36819 * elf/dl-tunables.c: Include <startup.h> first.
36820 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
36821 * sysdeps/generic/startup.h: New file.
36822 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
36823 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
36824 (I386_USE_SYSENTER): New. Defined to 0.
36826 2017-08-08 Andreas Schwab <schwab@suse.de>
36829 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
36830 * nptl/pt-system.c (system): Likewise.
36832 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36835 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
36837 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
36838 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
36839 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
36840 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
36841 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
36842 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
36843 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
36845 2017-08-07 Joseph Myers <joseph@codesourcery.com>
36848 * bits/sigaction.h (struct sigaction): Define sa_handler and
36849 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
36850 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36851 [__USE_XOPEN_EXTENDED].
36852 (SA_RESTART): Likewise.
36853 (SA_NODEFER): Likewise.
36854 (SA_RESETHAND): Likewise.
36855 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
36856 (struct sigaction): Define sa_handler and sa_sigaction using union
36857 also for [__USE_XOPEN_EXTENDED].
36858 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36859 [__USE_XOPEN_EXTENDED].
36860 (SA_RESTART): Likewise.
36861 (SA_NODEFER): Likewise.
36862 (SA_RESETHAND): Likewise.
36863 * sysdeps/unix/sysv/linux/bits/sigaction.h
36864 (struct sigaction): Define sa_handler and sa_sigaction using union
36865 also for [__USE_XOPEN_EXTENDED].
36866 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36867 [__USE_XOPEN_EXTENDED].
36868 (SA_RESTART): Likewise.
36869 (SA_NODEFER): Likewise.
36870 (SA_RESETHAND): Likewise.
36871 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
36872 (struct sigaction): Define sa_handler and sa_sigaction using union
36873 also for [__USE_XOPEN_EXTENDED].
36874 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36875 [__USE_XOPEN_EXTENDED].
36876 (SA_RESTART): Likewise.
36877 (SA_NODEFER): Likewise.
36878 (SA_RESETHAND): Likewise.
36879 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
36880 (struct sigaction): Define sa_handler and sa_sigaction using union
36881 also for [__USE_XOPEN_EXTENDED].
36882 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36883 [__USE_XOPEN_EXTENDED].
36884 (SA_RESTART): Likewise.
36885 (SA_NODEFER): Likewise.
36886 (SA_RESETHAND): Likewise.
36887 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
36888 (struct sigaction): Define sa_handler and sa_sigaction using union
36889 also for [__USE_XOPEN_EXTENDED].
36890 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36891 [__USE_XOPEN_EXTENDED].
36892 (SA_RESTART): Likewise.
36893 (SA_NODEFER): Likewise.
36894 (SA_RESETHAND): Likewise.
36895 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
36896 (struct sigaction): Define sa_handler and sa_sigaction using union
36897 also for [__USE_XOPEN_EXTENDED].
36898 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36899 [__USE_XOPEN_EXTENDED].
36900 (SA_RESTART): Likewise.
36901 (SA_NODEFER): Likewise.
36902 (SA_RESETHAND): Likewise.
36903 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
36904 (struct sigaction): Define sa_handler and sa_sigaction using union
36905 also for [__USE_XOPEN_EXTENDED].
36906 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36907 [__USE_XOPEN_EXTENDED].
36908 (SA_RESTART): Likewise.
36909 (SA_NODEFER): Likewise. Define directly rather than as alias.
36910 (SA_RESETHAND): Likewise.
36911 (SA_INTERRUPT): Define only for [__USE_MISC].
36912 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
36913 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
36915 (SA_STACK): Define only for [__USE_MISC].
36916 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
36917 (struct sigaction): Define sa_handler and sa_sigaction using union
36918 also for [__USE_XOPEN_EXTENDED].
36919 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36920 [__USE_XOPEN_EXTENDED].
36921 (SA_RESTART): Likewise.
36922 (SA_NODEFER): Likewise.
36923 (SA_RESETHAND): Likewise.
36924 (SA_NOPTRACE): Define only for [__USE_MISC].
36926 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
36927 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
36928 (struct catalog_info): Likewise.
36929 * inet/htontest.c (lo): Likewise.
36931 * inet/inet_lnaof.c (inet_lnaof): Likewise.
36932 * inet/inet_net.c (inet_network): Likewise.
36933 * inet/inet_netof.c (inet_netof): Likewise.
36934 * inet/rcmd.c (__ivaliduser): Likewise.
36935 (iruserok): Likewise.
36936 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
36937 * locale/programs/locale-spec.c (locale_special): Likewise.
36938 * nis/nis_findserv.c (struct findserv_req): Likewise.
36939 (__nis_findfastest_with_timeout): Likewise.
36940 * nss/test-netdb.c (test_network): Likewise.
36941 * resolv/inet_neta.c (inet_neta): Likewise.
36942 * resolv/ns_date.c (ns_datetosecs): Likewise.
36943 (SECS_PER_DAY): Likewise.
36944 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
36946 * resolv/res_comp.c (__putlong): Likewise.
36947 (__putshort): Likewise.
36948 (_getlong): Likewise.
36949 (_getshort): Likewise.
36950 * resolv/res_debug.c (p_time): Likewise.
36951 (precsize_ntoa): Likewise.
36952 (precsize_aton): Likewise.
36953 (latlon2ul): Likewise.
36954 (loc_aton): Likewise.
36955 (loc_ntoa): Likewise.
36956 * resolv/res_hconf.c (struct netaddr): Likewise.
36957 (_res_hconf_reorder_addrs): Likewise.
36958 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
36959 (clnttcp_control): Likewise.
36960 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36961 (clntudp_control): Likewise.
36962 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
36963 (clntunix_control): Likewise.
36964 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
36965 * sunrpc/rpc/auth.h (union des_block): Likewise.
36966 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
36967 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
36968 (xdrrec_create): Likewise.
36969 (xdrrec_endofrecord): Likewise.
36970 (flush_out): Likewise.
36971 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
36972 (xdrstdio_putlong): Likewise.
36973 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
36976 * misc/sys/cdefs.h (__long_double_t): Remove.
36977 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
36978 instead of __long_double_t,
36979 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
36981 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
36983 * benchtests/scripts/compare_strings.py: Avoid display error when
36984 running on a text terminal.
36986 * benchtests/scripts/compare_strings.py (main): Add an
36987 optional -base option.
36988 (process_results): New argument base_func.
36990 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
36992 * benchtests/bench-memcpy-large.c (test_name): Likewise.
36993 * benchtests/bench-memcpy-random.c (test_name): Likewise.
36995 2017-08-07 Andreas Schwab <schwab@suse.de>
36997 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
36998 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
36999 * intl/Makefile ($(objpfx)tst-gettext.out)
37000 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
37001 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
37002 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
37003 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
37004 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
37005 * posix/Makefile ($(objpfx)globtest.out)
37006 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
37007 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
37008 ($(objpfx)tst-printf.out): Likewise.
37009 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
37010 ($(objpfx)tst-setcontext3.out): Likewise.
37012 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
37014 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37015 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
37016 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
37017 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
37018 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
37020 (CFLAGS-doasin-fma.c): New.
37021 (CFLAGS-dosincos-fma.c): Likewise.
37022 (CFLAGS-e_asin-fma.c): Likewise.
37023 (CFLAGS-e_atan2-fma.c): Likewise.
37024 (CFLAGS-e_exp-fma.c): Likewise.
37025 (CFLAGS-e_log-fma.c): Likewise.
37026 (CFLAGS-e_pow-fma.c): Likewise.
37027 (CFLAGS-halfulp-fma.c): Likewise.
37028 (CFLAGS-mpa-fma.c): Likewise.
37029 (CFLAGS-mpatan-fma.c): Likewise.
37030 (CFLAGS-mpatan2-fma.c): Likewise.
37031 (CFLAGS-mpexp-fma.c): Likewise.
37032 (CFLAGS-mplog-fma.c): Likewise.
37033 (CFLAGS-mpsqrt-fma.c): Likewise.
37034 (CFLAGS-mptan-fma.c): Likewise.
37035 (CFLAGS-s_atan-fma.c): Likewise.
37036 (CFLAGS-sincos32-fma.c): Likewise.
37037 (CFLAGS-slowexp-fma.c): Likewise.
37038 (CFLAGS-slowpow-fma.c): Likewise.
37039 (CFLAGS-s_sin-fma.c): Likewise.
37040 (CFLAGS-s_tan-fma.c): Likewise.
37041 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
37042 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
37043 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
37044 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
37045 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
37046 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
37047 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
37048 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
37049 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
37050 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
37051 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
37052 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
37053 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
37054 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
37055 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
37056 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
37057 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
37058 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
37059 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
37060 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
37061 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
37062 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
37063 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
37064 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
37065 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37066 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37067 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37068 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
37069 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37070 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37071 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37073 2017-08-04 Joseph Myers <joseph@codesourcery.com>
37075 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
37076 (min_of_type_f): New macro.
37077 (min_of_type_): Likewise.
37078 (min_of_type_l): Likewise.
37079 (min_of_type_f128): Likewise.
37080 (min_of_type): Define using __MATH_TG and taking an expression
37082 (math_check_force_underflow): Pass expression instead of type to
37084 (math_check_force_underflow_nonneg): Likewise.
37086 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37088 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
37089 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
37090 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
37092 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37094 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37095 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
37096 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
37097 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
37098 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
37099 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
37100 memcpy_chk-nonshared, mempcpy_chk-nonshared,
37101 memmove_chk-nonshared and memset_chk-nonshared
37102 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
37103 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
37104 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
37105 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
37106 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
37107 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
37108 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
37109 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
37110 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
37111 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
37112 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
37113 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
37114 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
37115 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
37116 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
37117 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
37118 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
37119 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
37120 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
37121 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
37122 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
37123 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
37124 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
37125 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
37126 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
37127 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
37128 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
37129 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
37130 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
37131 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
37132 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
37133 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
37134 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
37135 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37136 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37137 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
37138 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
37139 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
37140 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
37141 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
37142 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
37143 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
37144 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
37145 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
37146 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
37147 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
37148 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
37149 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
37150 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
37151 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
37152 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
37153 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
37154 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
37155 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
37156 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
37157 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
37158 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
37159 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
37160 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
37161 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
37162 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
37163 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
37164 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
37165 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
37166 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
37167 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
37168 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
37169 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
37170 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
37171 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
37172 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
37173 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37174 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37175 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37176 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37177 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37178 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37179 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37180 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37181 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37182 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37183 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37184 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37185 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37186 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37187 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37188 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37189 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37190 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37191 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37192 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37193 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37194 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37195 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37196 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37197 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37198 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37199 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37200 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37201 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37202 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37203 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37204 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37205 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37206 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37207 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37208 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37209 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37211 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37213 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
37214 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
37215 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
37216 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
37217 svml_d_log2_core-sse2, svml_d_log4_core-sse,
37218 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
37219 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
37220 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
37221 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
37222 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
37223 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
37224 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
37225 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
37226 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
37227 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
37228 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
37229 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
37230 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
37231 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
37232 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
37233 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
37234 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
37235 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
37236 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
37237 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
37238 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
37239 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
37240 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
37241 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
37242 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
37243 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
37244 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
37245 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
37246 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
37247 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
37248 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
37249 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
37250 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
37251 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
37252 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
37253 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
37254 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
37255 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
37256 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
37257 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
37258 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
37259 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
37260 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
37261 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
37262 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
37263 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
37264 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
37265 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
37266 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
37267 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
37268 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
37269 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
37270 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
37271 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
37273 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
37274 Don't include <sysdep.h> nor <init-arch.h>.
37275 (_ZGVbN2v_cos): Removed.
37276 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
37278 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
37279 Don't include <sysdep.h> nor <init-arch.h>.
37280 (_ZGVdN4v_cos): Removed.
37281 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
37283 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
37284 Don't include <sysdep.h> nor <init-arch.h>.
37285 (_ZGVeN8v_cos): Removed.
37286 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
37288 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
37289 Don't include <sysdep.h> nor <init-arch.h>.
37290 (_ZGVbN2v_exp): Removed.
37291 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
37293 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
37294 Don't include <sysdep.h> nor <init-arch.h>.
37295 (_ZGVdN4v_exp): Removed.
37296 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
37298 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
37299 Don't include <sysdep.h> nor <init-arch.h>.
37300 (_ZGVeN8v_exp): Removed.
37301 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
37303 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
37304 Don't include <sysdep.h> nor <init-arch.h>.
37305 (_ZGVbN2v_log): Removed.
37306 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
37308 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
37309 Don't include <sysdep.h> nor <init-arch.h>.
37310 (_ZGVdN4v_log): Removed.
37311 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
37313 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
37314 Don't include <sysdep.h> nor <init-arch.h>.
37315 (_ZGVeN8v_log): Removed.
37316 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
37318 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
37319 Don't include <sysdep.h> nor <init-arch.h>.
37320 (_ZGVbN2vv_pow): Removed.
37321 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
37323 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
37324 Don't include <sysdep.h> nor <init-arch.h>.
37325 (_ZGVdN4vv_pow): Removed.
37326 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
37328 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
37329 Don't include <sysdep.h> nor <init-arch.h>.
37330 (_ZGVeN8vv_pow): Removed.
37331 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
37333 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
37334 Don't include <sysdep.h> nor <init-arch.h>.
37335 (_ZGVbN2v_sin): Removed.
37336 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
37338 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
37339 Don't include <sysdep.h> nor <init-arch.h>.
37340 (_ZGVbN4v_sin): Removed.
37341 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
37343 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
37344 Don't include <sysdep.h> nor <init-arch.h>.
37345 (_ZGVbN8v_sin): Removed.
37346 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
37348 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
37349 Don't include <sysdep.h> nor <init-arch.h>.
37350 (_ZGVbN2vvv_sincos): Removed.
37351 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
37353 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
37354 Don't include <sysdep.h> nor <init-arch.h>.
37355 (_ZGVdN4vvv_sincos): Removed.
37356 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
37358 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
37359 Don't include <sysdep.h> nor <init-arch.h>.
37360 (_ZGVeN8vvv_sincos): Removed.
37361 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
37363 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
37364 Don't include <sysdep.h> nor <init-arch.h>.
37365 (_ZGVeN16v_cosf): Removed.
37366 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
37368 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
37369 Don't include <sysdep.h> nor <init-arch.h>.
37370 (_ZGVbN4v_cosf): Removed.
37371 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
37373 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
37374 Don't include <sysdep.h> nor <init-arch.h>.
37375 (_ZGVdN8v_cosf): Removed.
37376 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
37378 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
37379 Don't include <sysdep.h> nor <init-arch.h>.
37380 (_ZGVeN16v_expf): Removed.
37381 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
37383 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
37384 Don't include <sysdep.h> nor <init-arch.h>.
37385 (_ZGVbN4v_expf): Removed.
37386 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
37388 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
37389 Don't include <sysdep.h> nor <init-arch.h>.
37390 (_ZGVdN8v_expf): Removed.
37391 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
37393 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
37394 Don't include <sysdep.h> nor <init-arch.h>.
37395 (_ZGVeN16v_logf): Removed.
37396 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
37398 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
37399 Don't include <sysdep.h> nor <init-arch.h>.
37400 (_ZGVbN4v_logf): Removed.
37401 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
37403 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
37404 Don't include <sysdep.h> nor <init-arch.h>.
37405 (_ZGVdN8v_logf): Removed.
37406 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
37408 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
37409 Don't include <sysdep.h> nor <init-arch.h>.
37410 (_ZGVeN16vv_powf): Removed.
37411 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
37413 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
37414 Don't include <sysdep.h> nor <init-arch.h>.
37415 (_ZGVbN4vv_powf): Removed.
37416 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
37418 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
37419 Don't include <sysdep.h> nor <init-arch.h>.
37420 (_ZGVdN8vv_powf): Removed.
37421 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
37423 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
37424 Don't include <sysdep.h> nor <init-arch.h>.
37425 (_ZGVeN16vvv_sincosf): Removed.
37426 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
37428 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
37429 Don't include <sysdep.h> nor <init-arch.h>.
37430 (_ZGVbN4vvv_sincosf): Removed.
37431 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
37433 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
37434 Don't include <sysdep.h> nor <init-arch.h>.
37435 (_ZGVdN8vvv_sincosf): Removed.
37436 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
37438 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
37439 Don't include <sysdep.h> nor <init-arch.h>.
37440 (_ZGVeN16v_sinf): Removed.
37441 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
37443 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
37444 Don't include <sysdep.h> nor <init-arch.h>.
37445 (_ZGVbN4v_sinf): Removed.
37446 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
37448 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
37449 Don't include <sysdep.h> nor <init-arch.h>.
37450 (_ZGVdN8v_sinf): Removed.
37452 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37454 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37455 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
37456 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
37457 s_rint-sse4_1 and s_rintf-sse4_1.
37458 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
37459 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
37460 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
37461 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
37462 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
37463 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
37464 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
37465 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
37466 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
37467 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
37468 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
37469 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37471 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
37472 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
37473 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37474 (__ceilf): Removed.
37475 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
37476 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
37477 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37478 (__floor): Removed.
37479 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
37480 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
37481 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37482 (__floorf): Removed.
37483 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
37484 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
37485 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37486 (__nearbyint): Removed.
37487 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
37488 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
37489 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37490 (__nearbyintf): Removed.
37491 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
37492 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
37493 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37495 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
37496 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
37497 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37498 (__rintf): Removed.
37500 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37502 * sysdeps/i386/start.S (_start): Check Check PIC instead of
37503 SHARED. Avoid dynamic relocation against main in static PIE.
37505 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37508 * elf/Makefile (CFLAGS-tst-prelink.c): New.
37509 (LDFLAGS-tst-prelink): Likewise.
37511 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37513 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
37514 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
37515 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
37516 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
37517 (INTERNAL_SYSCALL_NCS): Likewise.
37518 (LOADARGS_1): Likewise.
37519 (LOADARGS_5): Likewise.
37520 (RESTOREARGS_1): Likewise.
37521 (RESTOREARGS_5): Likewise.
37523 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37525 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
37526 (MEMPCPY_SYMBOL): Likewise.
37527 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
37528 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
37529 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
37531 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37532 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
37534 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
37535 (__hidden_ver1): Don't use in libc.a.
37536 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
37537 (__mempcpy): Don't create a weak alias in libc.a.
37538 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
37540 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
37541 (__hidden_ver1): Don't use in libc.a.
37543 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37545 * config.make.in (have-insert): New.
37546 * configure.ac (libc_cv_insert): New. Set to yes if linker
37547 supports INSERT in linker script.
37548 (AC_SUBST(libc_cv_insert): New.
37549 * configure: Regenerated.
37550 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
37551 if $(have-insert) == yes.
37553 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37555 * elf/Makefile (tests): Add vismain only if
37556 $(have-protected-data) == yes.
37557 (tests-pie): Likewise.
37559 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37562 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
37563 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
37565 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37568 * sysdeps/i386/i586/memset.S
37569 (__memset_zero_constant_len_parameter): Removed.
37570 * sysdeps/i386/i686/memset.S
37571 (__memset_zero_constant_len_parameter): Likewise.
37572 * sysdeps/i386/i686/multiarch/memset_chk.S
37573 (__memset_zero_constant_len_parameter): Likewise.
37574 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
37577 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
37579 * stdlib/getentropy.c (getentropy): Change return type to int.
37581 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
37583 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
37585 2017-08-03 Joseph Myers <joseph@codesourcery.com>
37587 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
37589 * math/s_nexttowardf.c (__nexttowardf): Likewise.
37590 * sysdeps/generic/math_private.h (ieee_double_shape_type):
37592 (ieee_float_shape_type): Likewise.
37593 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
37594 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
37595 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
37596 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37597 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
37598 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
37599 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
37600 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
37601 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
37603 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
37604 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
37605 (__ieee754_yn): Likewise.
37606 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
37607 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
37608 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
37610 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
37611 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
37612 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
37613 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
37614 (__erfc): Likewise.
37615 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
37616 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
37617 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
37618 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
37619 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
37620 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
37622 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
37623 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
37624 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
37625 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
37626 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
37627 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
37628 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
37629 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
37630 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
37631 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
37632 (__issignaling): Likewise.
37633 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
37634 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
37635 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
37637 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37638 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
37639 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
37640 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
37642 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
37644 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
37645 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
37646 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
37647 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
37648 (__erfcf): Likewise.
37649 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
37650 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
37651 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
37652 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
37654 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
37655 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
37657 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
37658 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
37659 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
37660 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
37661 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
37662 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
37663 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
37664 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
37666 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
37668 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
37670 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
37671 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
37673 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
37675 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
37676 (__ieee754_ynl): Likewise.
37677 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
37678 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
37680 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
37682 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
37683 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
37684 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37686 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
37687 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
37688 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
37689 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
37690 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
37691 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
37692 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
37693 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
37695 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
37696 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
37697 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
37699 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
37700 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
37701 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
37702 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
37703 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
37704 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
37706 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
37708 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37710 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37712 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
37713 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
37714 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37715 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
37716 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
37717 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
37718 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
37720 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
37722 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
37723 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37725 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
37726 (__ieee754_remainderl): Likewise.
37727 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37728 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37729 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
37730 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
37732 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
37733 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37735 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
37736 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
37737 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
37738 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
37739 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
37740 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
37742 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
37743 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
37744 (__ieee754_y0l): Likewise.
37747 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37748 (__ieee754_y1l): Likewise.
37751 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
37752 (__ieee754_ynl): Likewise.
37753 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
37754 (__ieee754_lgammal_r): Likewise.
37755 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
37757 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
37758 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
37759 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
37760 (__erfcl): Likewise.
37761 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
37762 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
37764 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
37765 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
37766 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
37767 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
37768 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
37769 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37770 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37772 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
37773 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
37774 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
37775 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
37776 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37778 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
37779 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
37781 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
37782 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
37783 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
37784 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
37785 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
37787 2017-08-03 Florian Weimer <fweimer@redhat.com>
37790 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
37791 on memory allocation failure.
37793 2017-08-03 Alan Modra <amodra@gmail.com>
37795 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
37796 tst-tlsopt-powerpc.c with function name change and no test harness.
37797 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
37798 Call tls_get_addr_opt_test.
37799 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
37800 (modules-names): Add mod-tlsopt-powerpc.
37801 (mod-tlsopt-powerpc.so-no-z-defs): Define.
37802 (tst-tlsopt-powerpc): Depend on .so.
37803 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
37804 define. Expand use in TLS_GD and TLS_LD.
37806 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37808 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
37810 * sysdeps/posix/shm_open.c: Include <pthread.h>.
37812 2017-08-02 Joseph Myers <joseph@codesourcery.com>
37815 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
37816 comparing size with that of double.
37817 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
37818 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
37819 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
37820 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
37821 (__TGMATH_BINARY_REAL_IMAG): Likewise.
37822 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
37823 unsigned __int128 types.
37825 2017-08-02 Steve Ellcey <sellcey@cavium.com>
37827 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
37828 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
37829 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
37830 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
37831 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
37833 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
37835 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
37837 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
37839 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
37841 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
37842 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37843 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37844 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37845 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37846 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37847 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37849 2017-08-02 Joseph Myers <joseph@codesourcery.com>
37852 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
37853 bit-field expressions passed to sizeof or typeof.
37854 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
37855 (__TGMATH_F128): Likewise.
37856 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
37857 (__TGMATH_CF128): Likewise.
37858 (__TGMATH_UNARY_REAL_ONLY): Likewise.
37859 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
37860 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
37861 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
37862 (__TGMATH_BINARY_REAL_ONLY): Likewise.
37863 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
37864 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
37865 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
37866 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
37867 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
37868 (__TGMATH_UNARY_REAL_IMAG): Likewise.
37869 (__TGMATH_UNARY_IMAG): Likewise.
37870 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
37871 (__TGMATH_BINARY_REAL_IMAG): Likewise.
37872 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
37874 (define_vars_for_type): Handle bit_field type specially.
37875 (Tests.__init__): Declare structure with bit-field element.
37877 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
37880 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
37881 (MEMCPY_CHK): Define only if SHARED is defined.
37882 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
37884 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
37887 See ChangeLog.18 for earlier changes.