1 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2 Florian Weimer <fweimer@redhat.com>
4 * gmon/Versions (libc) [GLIBC_2.31]: New entry.
5 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
7 * sysdeps/unix/sysv/linux/sparc/profil-counter.h
8 (__profil_counter_global): Likewise.
10 * debug/segfault.c (install_handler): Use SA_SIGINFO if defined.
11 * sysdeps/generic/profil-counter.h (__profil_counter): Cast to
13 * sysdeps/generic/sigcontextinfo.h (GET_PC): Rename to
14 sigcontext_get_pc and return aligned cast to uintptr_t.
15 * sysdeps/mach/hurd/i386/sigcontextinfo.h (GET_PC): Likewise.
16 * sysdeps/posix/profil.c (profil_count): Change PC argument to
18 (__profil): Use SA_SIGINFO.
19 * sysdeps/posix/sprofil.c (profil_count): Change PCP argument to
21 (__sprofil): Use SA_SIGINFO.
22 * sysdeps/unix/sysv/linux/profil-counter.h: New file.
23 * sysdeps/unix/sysv/linux/aarch64/profil-counter.h: Remove file.
24 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
25 * sysdeps/unix/sysv/linux/hppa/profil-counter.h: Likewise.
26 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
27 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: Likewise.
28 * sysdeps/unix/sysv/linux/microblaze/profil-counter.h: Likewise.
29 * sysdeps/unix/sysv/linux/mips/profil-counter.h: Likewise.
30 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: Likewise.
31 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Likewise.
32 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: Likewise.
33 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
34 * sysdeps/sysv/linux/s390/s390-32/profil-counter.h: Likewise.
35 * sysdeps/sysv/linux/s390/s390-64/profil-counter.h: Likewise.
36 * sysdeps/unix/sysv/linux/sh/profil-counter.h: Likewise.
37 * sysdeps/unix/sysv/linux/arm/profil-counter.h (__profil_counter):
38 Assume SA_SIGINFO and use sigcontext_get_pc instead of GET_PC.
39 * sysdeps/unix/sysv/linux/sparc/profil-counter.h: New file.
40 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Remove file.
41 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Likewise.
42 * sysdpes/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT,
43 GET_PC, __sigaction, sigaction): Remove defines.
44 (sigcontext_get_pc): New function.
45 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
46 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
47 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
48 * sysdeps/unix/sysv/linux/hppa/sigcontextinfo.h: Likewise.
49 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
50 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h: Likewise.
51 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
52 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
53 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: Likewise.
54 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
55 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h: Likewise.
56 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
57 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
58 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
59 * sysdeps/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
60 * sysdeps/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
61 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Likewise.
62 * sysdeps/unix/sysv/linux/alpha/register-dump.h (register_dump):
63 Handle CTX argument as ucontext_t.
64 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
66 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Likewise.
67 * sysdeps/sysv/linux/s390/s390-32/register-dump.h: Likewise.
68 * sysdeps/sysv/linux/s390/s390-64/register-dump.h: Likewise.
69 * sysdeps/unix/sysv/linux/sh/register-dump.h: New file.
70 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Remove File.
71 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
72 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
73 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
74 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
75 tst-sigcontextinfo-get_pc.
76 * sysdeps/unix/sysv/linux/tst-sigcontextinfo-get_pc.c: New file.
77 (CFLAGS-tst-sigcontextinfo-get_pc.c): New rule.
79 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
81 * sysdeps/generic/single-thread.h (RTLD_SINGLE_THREAD_P): Add
84 2019-08-23 Rafal Luzynski <digitalfreak@lingonborough.com>
87 * localedata/locales/bo_CN (first_weekday): Add, set to 2 (Monday).
88 * localedata/locales/ug_CN (first_weekday): Likewise.
89 * localedata/locales/zh_CN (first_weekday): Likewise.
91 2019-08-22 Gustavo Romero <gromero@linux.vnet.ibm.com>
93 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix typos and
94 field name in mcontext_t struct.
96 2019-08-22 Joseph Myers <joseph@codesourcery.com>
98 * resolv/tst-resolv-ai_idn-latin1.c (do_test): Mark test
99 unsupported with libidn2 before 2.0.5.
100 * resolv/tst-resolv-ai_idn.c (do_test): Likewise.
102 * manual/time.texi (strftime): Document %Ob and %OB as C2X
105 2019-08-21 Paul Eggert <eggert@cs.ucla.edu>
107 Remove dead regex code
108 * posix/regex_internal.c (re_node_set_insert):
109 Remove unnecessary assignment. Reported by Tim Rühsen in:
110 https://lists.gnu.org/r/bug-gnulib/2019-08/msg00026.html
112 Fix bad pointer / leak in regex code
113 This was found by Coverity (CID 1484201). [BZ#24844]
114 * posix/regex_internal.c (create_cd_newstate): Fix use of bad
115 pointer and/or memory leak when storage is exhausted.
117 2019-08-21 Zack Weinberg <zackw@panix.com>
119 * misc/syslog.c (__vsyslog_internal)
120 * time/getdate.c (__getdate_r)
121 * time/tst_wcsftime.c (main):
122 Use return value of time, not its argument.
124 * string/strfry.c (strfry)
125 * sysdeps/mach/sleep.c (__sleep):
126 Remove unnecessary casts of NULL in calls to time.
128 2019-08-21 Joseph Myers <joseph@codesourcery.com>
130 * math/tgmath.h [__HAVE_FLOAT128X]: Give error.
131 [(__HAVE_FLOAT64X && !__HAVE_FLOAT128)
132 || (__HAVE_FLOAT128 && !__HAVE_FLOAT64X)]: Likewise.
133 (__TGMATH_2_NARROW_F): Likewise.
134 (__TGMATH_2_NARROW_D): New macro.
135 (__TGMATH_2_NARROW_F16): Likewise.
136 (__TGMATH_2_NARROW_F32): Likewise.
137 (__TGMATH_2_NARROW_F64): Likewise.
138 (__TGMATH_2_NARROW_F32X): Likewise.
139 (__TGMATH_2_NARROW_F64X): Likewise.
140 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F): Likewise.
141 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F16): Likewise.
142 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32): Likewise.
143 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F64): Likewise.
144 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32X): Likewise.
145 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fadd): Likewise.
146 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dadd): Likewise.
147 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fdiv): Likewise.
148 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (ddiv): Likewise.
149 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fmul): Likewise.
150 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dmul): Likewise.
151 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fsub): Likewise.
152 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dsub): Likewise.
153 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16add):
155 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16div):
157 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16mul):
159 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16sub):
161 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32add):
163 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32div):
165 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32mul):
167 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32sub):
169 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
170 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64add): Likewise.
171 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
172 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64div): Likewise.
173 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
174 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64mul): Likewise.
175 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
176 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64sub): Likewise.
177 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xadd):
179 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xdiv):
181 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xmul):
183 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xsub):
185 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
186 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xadd): Likewise.
187 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
188 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xdiv): Likewise.
189 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
190 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xmul): Likewise.
191 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
192 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xsub): Likewise.
193 * math/gen-tgmath-tests.py (Type): Add members
194 non_standard_real_argument_types_list, long_double_type,
195 complex_float64_type and float32x_ext_type.
196 (Type.__init__): Set the new members.
197 (Type.floating_type): Add new argument floatn.
198 (Type.real_floating_type): Likewise.
199 (Type.can_combine_types): Likewise.
200 (Type.combine_types): Likewise.
201 (Type.init_types): Create internal Float32x_ext type.
202 (Tests.__init__): Define Float32x_ext in generated C code.
203 (Tests.add_tests): Handle narrowing functions.
204 (Tests.add_all_tests): Likewise.
205 (Tests.tests_text): Allow variation in mant_dig for narrowing
206 functions with compilers before GCC 8.
207 * math/Makefile (tgmath3-narrow-types): New variable.
208 (tgmath3-narrow-macros): Likewise.
209 (tgmath3-macros): Add $(tgmath3-narrow-macros).
211 2019-08-20 Andreas Schwab <schwab@suse.de>
213 * sysdeps/i386/fpu/libm-test-ulps: Update.
215 2019-08-19 Carlos O'Donell <carlos@redhat.com>
217 * nscd/nscd.conf: Add warning and comment about shared option.
219 2019-08-19 Carlos O'Donell <carlos@redhat.com>
221 * nss/nsswitch.conf: Expand comments, and simplify defaults.
222 * manual/nss.texi (NSS Basics): List all known databases.
223 (Services in the NSS configuration): Mention automount.
225 2019-08-19 Florian Weimer <fweimer@redhat.com>
227 Do not print backtraces on fatal errors.
228 * debug/fortify_fail.c (__libc_argv): Remove declaration.
229 (__fortify_fail_abort): Remove definition.
230 (__fortify_fail): Call __libc_message directly.
231 * debug/stack_chk_fail.c (__libc_argv): Remove declaration.
232 (__stack_chk_fail): Call __fortify_fail instead of
233 __fortify_fail_abort.
234 * include/stdio.h (__fortify_fail_abort): Remove declaration.
235 * sysdeps/posix/libc_fatal.c (BEFORE_ABORT, before_abort): Remove
237 (__libc_message): Do not handle do_backtrace. Do not call
239 (__libc_fatal): Do not pass do_backtrace to __libc_message.
240 * sysdeps/unix/sysv/linux/libc_fatal.c (BEFORE_ABORT)
241 (before_abort): Remove definitions.
243 2019-08-16 Florian Weimer <fweimer@redhat.com>
245 nptl: Move pthread_attr_getdetachstate implementation into libc.
246 * nptl/Makefile (routines): Add pthread_attr_getdetachstate.
247 (libpthread-routines): Remove pthread_attr_getdetachstate.
248 * nptl/Versions (libpthread GLIBC_2.0): Remove
249 pthread_attr_getdetachstate.
250 * nptl/forward.c (pthread_attr_getdetachstate): Remove definition.
251 * nptl/nptl-init.c (pthread_functions): Remove initializer for
252 ptr_pthread_attr_getdetachstate.
253 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
254 Remove ptr_pthread_attr_getdetachstate member.
255 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
256 Remove pthread_attr_getdetachstate.
257 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
259 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
261 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
263 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
265 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
267 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
269 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
270 (GLIBC_2.4): Likewise.
271 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
272 (GLIBC_2.0): Likewise.
273 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
274 (GLIBC_2.18): Likewise.
275 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
276 (GLIBC_2.0): Likewise.
277 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
278 (GLIBC_2.0): Likewise.
279 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
282 (GLIBC_2.0): Likewise.
283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
284 (GLIBC_2.3): Likewise.
285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
286 (GLIBC_2.17): Likewise.
287 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
288 (GLIBC_2.27): Likewise.
289 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
290 (GLIBC_2.0): Likewise.
291 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
292 (GLIBC_2.2): Likewise.
293 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
295 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
296 (GLIBC_2.0): Likewise.
297 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
298 (GLIBC_2.2): Likewise.
299 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
300 (GLIBC_2.2.5): Likewise.
301 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
302 (GLIBC_2.16): Likewise.
304 2019-08-16 Joseph Myers <joseph@codesourcery.com>
306 * math/libm-test-compat_totalorder.inc (do_test)
307 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Change condition to
308 [TEST_COMPAT (libm, COMPAT_VER, GLIBC_2_31)].
309 * math/libm-test-compat_totalordermag.inc (do_test)
310 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Likewise.
312 2019-08-15 Florian Weimer <fweimer@redhat.com>
314 nptl: Move pthread_attr_init implementation into libc.
315 * nptl/Makefile (routines): Add pthread_attr_init.
316 (libpthread-routines): Remove pthread_attr_init.
317 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_attr_init.
318 (libpthread GLIBC_2.0): Likewise.
319 * nptl/pthread_attr_init.c: Check for libc compat version instead
320 of libpthread compat version.
321 * nptl/forward.c (__pthread_attr_init_2_0)
322 (__pthread_attr_init_2_1): Remove definitions.
323 * nptl/nptl-init.c (pthread_functions): Remove initializers for
324 ptr___pthread_attr_init_2_0, ptr___pthread_attr_init_2_1.
325 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
326 Remove members ptr___pthread_attr_init_2_0,
327 ptr___pthread_attr_init_2_1.
328 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
329 Remove pthread_attr_init.
330 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
332 (GLIBC_2.1): Likewise.
333 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
335 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
337 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
339 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
341 (GLIBC_2.1): Likewise.
342 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
344 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
345 (GLIBC_2.4): Likewise.
346 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
347 (GLIBC_2.0): Likewise.
348 (GLIBC_2.1): Likewise.
349 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
350 (GLIBC_2.18): Likewise.
351 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
352 (GLIBC_2.0): Likewise.
353 (GLIBC_2.1): Likewise.
354 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
355 (GLIBC_2.0): Likewise.
356 (GLIBC_2.1): Likewise.
357 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
360 (GLIBC_2.0): Likewise.
361 (GLIBC_2.1): Likewise.
362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
363 (GLIBC_2.3): Likewise.
364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
365 (GLIBC_2.17): Likewise.
366 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
367 (GLIBC_2.27): Likewise.
368 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
369 (GLIBC_2.0): Likewise.
370 (GLIBC_2.1): Likewise.
371 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
372 (GLIBC_2.2): Likewise.
373 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
375 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
376 (GLIBC_2.0): Likewise.
377 (GLIBC_2.1): Likewise.
378 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
379 (GLIBC_2.2): Likewise.
380 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
381 (GLIBC_2.2.5): Likewise.
382 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
383 (GLIBC_2.16): Likewise.
385 2019-08-15 Florian Weimer <fweimer@redhat.com>
388 * elf/dl-object.c (_dl_new_object): Do not store pathnames in the
389 new object in __RTLD_OPENEXEC mode (except for the origin).
390 * elf/tst-dlopen-aout.c (check_dlopen_failure): New function with
391 check for the error message.
392 (do_test): Call it. Add check using relative path.
393 * elf/Makefile (tests-container): Add tst-dlopen-aout-container.
394 (tst-dlopen-aout-container): Link with libpthread.
395 (LDFLAGS-tst-dlopen-aout-container): Set RPATH to $ORIGIN.
397 2019-08-15 Joseph Myers <joseph@codesourcery.com>
399 * math/bits/mathcalls.h
400 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
401 (totalorder): Take pointer arguments.
402 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
403 (totalordermag): Likewise.
404 * manual/arith.texi (totalorder): Likewise.
405 (totalorderf): Likewise.
406 (totalorderl): Likewise.
407 (totalorderfN): Likewise.
408 (totalorderfNx): Likewise.
409 (totalordermag): Likewise.
410 (totalordermagf): Likewise.
411 (totalordermagl): Likewise.
412 (totalordermagfN): Likewise.
413 (totalordermagfNx): Likewise.
414 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): Remove macro.
415 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder): Likewise.
416 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag): Likewise.
417 * math/Versions (GLIBC_2.31): Add totalorder, totalorderf,
418 totalorderl, totalordermag, totalordermagf, totalordermagl,
419 totalorderf32, totalorderf64, totalorderf32x, totalordermagf32,
420 totalordermagf64, totalordermagf32x, totalorderf64x,
421 totalordermagf64x, totalorderf128 and totalordermagf128.
422 * math/Makefile (libm-test-funcs-noauto): Add compat_totalorder
423 and compat_totalordermag.
424 (libm-test-funcs-compat): New variable.
425 (libm-tests-compat): Likewise.
426 (tests): Do not include compat tests.
427 (tests-internal): Add compat tests.
428 ($(foreach t,$(libm-tests-base),
429 $(objpfx)$(t)-compat_totalorder.o)): Depend
430 on $(objpfx)libm-test-totalorder.c.
431 ($(foreach t,$(libm-tests-base),
432 $(objpfx)$(t)-compat_totalordermag.o): Depend on
433 $(objpfx)libm-test-totalordermag.c.
434 (tgmath3-macros): Remove totalorder and totalordermag.
435 * math/libm-test-compat_totalorder.inc: New file.
436 * math/libm-test-compat_totalordermag.inc: Likewise.
437 * math/libm-test-driver.c (struct test_ff_i_data): Update comment.
438 (RUN_TEST_fpfp_b): New macro.
439 (RUN_TEST_LOOP_fpfp_b): Likewise.
440 * math/libm-test-totalorder.inc (totalorder_test_data): Use
442 (totalorder_test): Condition on [!COMPAT_TEST].
444 * math/libm-test-totalordermag.inc (totalordermag_test_data): Use
446 (totalordermag_test): Condition on [!COMPAT_TEST].
448 * math/gen-tgmath-tests.py (Tests.add_all_tests): Remove
449 totalorder and totalordermag.
450 * math/test-tgmath.c (NCALLS): Change to 132.
451 (F(compile_test)): Do not call totalorder or totalordermag.
452 (F(totalorder)): Remove.
453 (F(totalordermag)): Likewise.
454 * include/float.h (__STDC_WANT_IEC_60559_TYPES_EXT__): Do not
455 define if [__STDC_WANT_IEC_60559_TYPES_EXT__].
456 * include/setjmp.h [!_ISOMAC] (STR_HELPER): Rename to
458 [!_ISOMAC] (STR): Rename to SJSTR. Update call to STR_HELPER.
459 [!_ISOMAC] (TEST_SIZE): Update call to STR.
460 [!_ISOMAC] (TEST_ALIGN): Likewise.
461 [!_ISOMAC] (TEST_OFFSET): Likewise.
462 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include <shlib-compat.h>
463 and <first-versions.h>.
464 (__totalorder): Take pointer arguments. Add symbol versions and
466 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
467 <shlib-compat.h> and <first-versions.h>.
468 (__totalordermag): Take pointer arguments. Add symbol versions
470 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
471 <shlib-compat.h> and <first-versions.h>.
472 (__totalorder): Take pointer arguments. Add symbol versions and
474 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
475 <shlib-compat.h> and <first-versions.h>.
476 (__totalordermag): Take pointer arguments. Add symbol versions
478 * sysdeps/ieee754/float128/float128_private.h
479 (__totalorder_compatl): New macro.
480 (__totalordermag_compatl): Likewise.
481 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include <shlib-compat.h>
482 and <first-versions.h>.
483 (__totalorderf): Take pointer arguments. Add symbol versions and
485 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
486 <shlib-compat.h> and <first-versions.h>.
487 (__totalordermagf): Take pointer arguments. Add symbol versions
489 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
490 <shlib-compat.h> and <first-versions.h>.
491 (__totalorderl): Take pointer arguments. Add symbol versions and
493 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
494 <shlib-compat.h> and <first-versions.h>.
495 (__totalordermagl): Take pointer arguments. Add symbol versions
497 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
499 (__totalorderl): Take pointer arguments. Add symbol versions and
501 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
503 (__totalordermagl): Take pointer arguments. Add symbol versions
505 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
506 <shlib-compat.h> and <first-versions.h>.
507 (__totalorderl): Take pointer arguments. Add symbol versions and
509 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
510 <shlib-compat.h> and <first-versions.h>.
511 (__totalordermagl): Take pointer arguments. Add symbol versions
513 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c (totalorderl): Take
515 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c (totalordermagl):
517 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
518 (do_test): Update calls to totalorderl and totalordermagl.
519 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
520 Update calls to totalorderl and totalordermagl.
521 * sysdeps/mach/hurd/i386/libm.abilist: Update.
522 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
523 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
524 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
525 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
526 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
527 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
528 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
529 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
530 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
531 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
532 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
533 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
534 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libm.abilist:
541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libm.abilist:
543 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
544 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
545 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
546 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
547 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
548 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
549 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
550 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
552 2019-08-15 Florian Weimer <fweimer@redhat.com>
555 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Add
556 __attribute_nonstring__ to ut_line, ut_id, ut_user, ut_host.
557 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmpx):
559 * sysdeps/gnu/bits/utmp.h (struct utmp): Add
560 __attribute_nonstring__ to ut_id.
561 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmp):
564 2019-08-15 Florian Weimer <fweimer@redhat.com>
567 * login/utmp_file.c (file_locking_failed): Use struct flock64.
568 (file_locking_unlock): Likewise.
570 2019-08-15 Florian Weimer <fweimer@redhat.com>
573 login: Disarm timer after utmp lock acquisition.
574 * login/utmp_file.c (struct file_locking): Remove.
575 (try_file_lock): Adjust.
576 (file_lock_restore): Remove function.
577 (__libc_getutent_r): .
578 (internal_getut_r): Likewise.
579 (__libc_getutline_r): Likewise.
580 (__libc_pututline): Likewise.
581 (__libc_updwtmp): Likewise.
583 2019-08-15 Florian Weimer <fweimer@redhat.com>
585 nptl: Remove pthread_self compatibility symbol from libpthread.
586 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_self,
588 * nptl/Makefile (libpthread-routines): Remove compat-pthread_self.
589 * nptl/compat-pthread_self.c: Remove file.
590 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
592 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
594 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
596 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
598 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
600 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
602 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
603 (GLIBC_2.4): Likewise.
604 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
605 (GLIBC_2.0): Likewise.
606 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
607 (GLIBC_2.18): Likewise.
608 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
609 (GLIBC_2.0): Likewise.
610 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
611 (GLIBC_2.0): Likewise.
612 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
615 (GLIBC_2.0): Likewise.
616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
617 (GLIBC_2.3): Likewise.
618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
619 (GLIBC_2.17): Likewise.
620 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
621 (GLIBC_2.0): Likewise.
622 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
623 (GLIBC_2.2): Likewise.
624 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
626 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
627 (GLIBC_2.0): Likewise.
628 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
629 (GLIBC_2.2): Likewise.
630 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
631 (GLIBC_2.2.5): Likewise.
632 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
633 (GLIBC_2.16): Likewise.
635 2019-08-15 Florian Weimer <fweimer@redhat.com>
637 nptl: Move pthread_attr_destroy implementation into libc.
638 * nptl/Makefile (routines): Add pthread_attr_destroy.
639 (libpthread-routines): Remove pthread_attr_destroy.
640 * nptl/Versions (libpthread GLIBC_2.0): Remove
641 pthread_attr_destroy.
642 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Check for
643 libc compat version instead of libpthread compat version.
644 * nptl/forward.c (pthread_attr_destroy): Remove definition.
645 * nptl/nptl-init.c (pthread_functions): Remove initializer for
646 ptr_pthread_attr_destroy.
647 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
648 Remove ptr_pthread_attr_destroy member.
649 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
650 Remove pthread_attr_destroy.
651 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
653 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
655 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
657 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
659 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
661 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
663 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
664 (GLIBC_2.4): Likewise.
665 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
666 (GLIBC_2.0): Likewise.
667 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
668 (GLIBC_2.18): Likewise.
669 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
670 (GLIBC_2.0): Likewise.
671 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
672 (GLIBC_2.0): Likewise.
673 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
676 (GLIBC_2.0): Likewise.
677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
678 (GLIBC_2.3): Likewise.
679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
680 (GLIBC_2.17): Likewise.
681 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
682 (GLIBC_2.27): Likewise.
683 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
684 (GLIBC_2.0): Likewise.
685 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
686 (GLIBC_2.2): Likewise.
687 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
689 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
690 (GLIBC_2.0): Likewise.
691 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
692 (GLIBC_2.2): Likewise.
693 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
694 (GLIBC_2.2.5): Likewise.
695 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
696 (GLIBC_2.16): Likewise.
698 2019-08-15 Andreas Schwab <schwab@suse.de>
700 * sysdeps/i386/fpu/libm-test-ulps: Update.
702 2019-08-15 Florian Weimer <fweimer@redhat.com>
704 * malloc/Makefile (tests): Only add tst-mxfast for
706 * malloc/tst-mxfast.c: Fix copyright year.
707 (do_test): Fix GNU style issues. Use TEST_COMPARE instead of
710 2019-08-15 Florian Weimer <fweimer@redhat.com>
712 * login/utmp_file.c (__libc_updwtmp): Unlock the right file
714 * login/Makefile (tests): Add tst-updwtmpx.
715 * login/tst-updwtmpx.c: New file.
717 2019-08-15 Florian Weimer <fweimer@redhat.com>
719 nptl: Move pthread_equal implementation into libc.
720 * nptl/Makefile (routines): Add pthread_equal.
721 * nptl/forward.c (pthread_equal): Remove definition.
722 * nptl/nptl-init.c (pthread_functions): Remove initializer for
724 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
725 Remove ptr_pthread_equal member.
726 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
727 Remove pthread_equal.
728 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
730 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
732 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
734 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
736 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
738 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
740 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
741 (GLIBC_2.4): Likewise.
742 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
743 (GLIBC_2.0): Likewise.
744 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
745 (GLIBC_2.18): Likewise.
746 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
747 (GLIBC_2.0): Likewise.
748 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
749 (GLIBC_2.0): Likewise.
750 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
753 (GLIBC_2.0): Likewise.
754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
755 (GLIBC_2.3): Likewise.
756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
757 (GLIBC_2.17): Likewise.
758 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
759 (GLIBC_2.27): Likewise.
760 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
761 (GLIBC_2.0): Likewise.
762 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
763 (GLIBC_2.2): Likewise.
764 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
766 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
767 (GLIBC_2.0): Likewise.
768 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
769 (GLIBC_2.2): Likewise.
770 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
771 (GLIBC_2.2.5): Likewise.
772 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
773 (GLIBC_2.16): Likewise.
775 2019-08-14 Florian Weimer <fweimer@redhat.com>
777 * support/support_descriptors.c: Include <support/descriptors.h>.
779 2019-08-14 Feng Xue <fxue@os.amperecomputing.com>
781 * sysdeps/aarch64/multiarch/memset_base64.S (DC_ZVA_THRESHOLD):
782 Disable DC ZVA code if this macro is defined as zero.
783 * sysdeps/aarch64/multiarch/memset_emag.S (DC_ZVA_THRESHOLD):
784 Change to zero to disable using DC ZVA.
786 2019-08-13 Joseph Myers <joseph@codesourcery.com>
788 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT):
790 (__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X): New macro.
791 * bits/math-finite.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]: Change
792 to [__GLIBC_USE (IEC_60559_FUNCS_EXT_C2X)].
793 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]:
796 2019-08-13 Florian Weimer <fweimer@redhat.com>
798 * login/utmp_file.c (LOCK_FILE, LOCKING_FAILED, UNLOCK_FILE):
800 (struct file_locking): New.
801 (try_file_lock, file_unlock, file_lock_restore): New functions.
802 (__libc_getutent_r): Use the new functions.
803 (internal_getut_r): Likewise.
804 (__libc_getutline_r): Likewise.
805 (__libc_pututline): Likewise.
806 (__libc_updwtmp): Likewise.
808 2019-08-13 Joseph Myers <joseph@codesourcery.com>
810 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): Update
812 (__GLIBC_USE_IEC_60559_BFP_EXT_C2X): New macro.
813 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Change to
814 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)].
815 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
816 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
817 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
818 * stdlib/bits/stdlib-ldbl.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
820 * stdlib/stdint.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
821 * stdlib/stdlib.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
822 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
824 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
826 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
828 * sysdeps/csky/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
830 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
832 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
834 * sysdeps/m68k/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
836 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE
837 (IEC_60559_BFP_EXT)]: Likewise.
838 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
840 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
842 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
844 * sysdeps/riscv/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
846 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
848 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
850 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
852 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
854 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
855 Likewise, except for totalorder, totalordermag, getpayload,
856 setpayload and setpayloadsig.
857 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise,
858 except for totalorder and totalordermag.
860 * string/string.h (memccpy): Also declare if [__GLIBC_USE (ISOC2X)].
864 * include/features.h (_ISOC2X_SOURCE): New feature test macro.
865 Undefine and define to 1 if [_GNU_SOURCE].
866 (__GLIBC_USE_ISOC2X): New macro. Undefine and redefine depending
867 on [_ISOC2X_SOURCE] and [__STDC_VERSION__ > 201710L].
868 (__USE_ISOC11): Also define to 1 if [_ISOC2X_SOURCE].
869 (__USE_ISOC99): Likewise.
870 (__USE_ISOC95): Likewise.
871 * manual/creature.texi (_ISOC2X_SOURCE): Document.
873 2019-08-13 Florian Weimer <fweimer@redhat.com>
875 * login/getutid_r.c (__getutid_r): _HAVE_UT_ID and _HAVE_UT_TYPE
877 * login/getutmp.c (getutmp): _HAVE_UT_TYPE, _HAVE_UT_PID,
878 _HAVE_UT_ID, _HAVE_UT_HOST, _HAVE_UT_TV are always true.
879 * login/getutmpx.c (getutmpx): Likewise.
880 * login/login.c (login): _HAVE_UT_TYPE, _HAVE_UT_PID are always
882 * login/logout.c (logout): _HAVE_UT_TYPE, _HAVE_UT_HOST,
883 _HAVE_UT_TV are always true.
884 * login/logwtmp.c (logwtmp): _HAVE_UT_PID, _HAVE_UT_TYPE,
885 _HAVE_UT_HOST, _HAVE_UT_TV are always true.
886 * login/tst-utmp.c: _HAVE_UT_TYPE, _HAVE_UT_TV are always true.
887 * login/utmp_file.c (__libc_setutent): _HAVE_UT_TYPE, _HAVE_UT_ID
889 (internal_getut_r): _HAVE_UT_TYPE is always true.
890 (__libc_pututline): Likewise.
891 * login/programs/utmpdump.c (print_entry): Assume that
892 _HAVE_UT_TYPE, _HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST,
893 _HAVE_UT_TV are always true.
894 * sysdeps/generic/utmp-equal.h (__utmp_equal): _HAVE_UT_TYPE,
895 _HAVE_UT_ID are always true.
896 * sysdeps/gnu/bits/utmp.h: Move to ...
897 * bits/utmp.h: ... here, replacing the old file.
899 2019-08-12 Florian Weimer <fweimer@redhat.com>
901 * elf/Makefile (tests): Unconditionally add tst-dlopen-aout.
902 [$(build-hardcoded-path-in-tests)] (tst-dlopen-aout-no-pie): Do
904 * elf/tst-dlopen-aout.c: Do not included <assert.h>.
905 (do_test): Open the executable using an absolute path. Print
906 error message to standard output.
908 2019-08-09 DJ Delorie <dj@redhat.com>
910 * elf/dl-tunables.list: Add glibc.malloc.mxfast.
911 * manual/tunables.texi: Document it.
912 * malloc/malloc.c (do_set_mxfast): New.
913 (__libc_mallopt): Call it.
914 * malloc/arena.c: Add mxfast tunable.
915 * malloc/tst-mxfast.c: New.
916 * malloc/Makefile: Add it.
918 2019-08-08 Niklas Hambüchen <mail@nh2.me>
919 Carlos O'Donell <carlos@redhat.com>
922 * malloc/malloc.c (__malloc_info): Account for top chunk.
924 2019-08-07 Joseph Myers <joseph@codesourcery.com>
926 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
927 (SYNC_FILE_RANGE_WRITE_AND_WAIT): New macro.
929 2019-08-06 Joseph Myers <joseph@codesourcery.com>
931 * io/fcntl.h [__USE_GNU] (AT_RECURSIVE): New macro.
933 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
935 * sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define.
937 2019-08-05 Joseph Myers <joseph@codesourcery.com>
939 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU] (CLONE_PIDFD):
942 2019-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
945 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (ALWAYS_USE_VSYSCALL):
947 * sysdeps/unix/sysv/linux/arm/sysdep.h (ALWAYS_USE_VSYSCALL):
949 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
951 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (ALWAYS_USE_VSYSCALL):
953 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
954 (ALWAYS_USE_VSYSCALL): Likewise.
955 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
956 (ALWAYS_USE_VSYSCALL): Likewise.
957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
958 (ALWAYS_USE_VSYSCALL): Likewise.
959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
960 (ALWAYS_USE_VSYSCALL): Likewise.
961 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
963 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
964 (ALWAYS_USE_VSYSCALL): Likewise.
965 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
966 (ALWAYS_USE_VSYSCALL): Likewise.
967 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
969 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
971 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Remove #if USE_VSYSCALL.
972 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Likewise.
973 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL,
974 USE_VSYSCALL): Remove defitions.
977 * sysdeps/unix/sysv/linux/sparc/init-first.c: Remove #ifdef SHARED.
978 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
979 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
983 * sysdeps/unix/sysv/linux/s390/init-first.c: Remove #ifdef SHARED.
984 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
985 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
986 (ALWAYS_USE_VSYSCALL): Define.
987 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
988 (ALWAYS_USE_VSYSCALL): Likewise.
991 * sysdeps/unix/sysv/linux/riscv/init-first.c: Remove #ifdef SHARED.
992 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
993 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
996 * sysdeps/sh/libm-test-ulps: Update.
998 2019-08-05 Florian Weimer <fweimer@redhat.com>
1001 * login/uptmp-private.h (struct ufuncs): Remove definition.
1002 (__libc_utmp_file_functions, __libc_utmp_unknown_functions)
1003 (__libc_utmp_jump_table): Remove declarations.
1004 (__libc_setutent, __libc_getutent_r, __libc_getutid_r)
1005 (__libc_getutline_r, __libc_pututline, __libc_endutent)
1006 (__libc_updwtmp): Declare.
1007 * login/getutent_r.c (__libc_utmp_unknown_functions)
1008 (__libc_utmp_jump_table, setutent_unknown, getutent_r_unknown)
1009 (getutid_r_unknown, getutline_r_unknown, pututline_unknown)
1010 (endutent_unknown): Remove definitions.
1011 (__setutent): Call __libc_setutent.
1012 (__getutent_r): Call __libc_getutent_r.
1013 (__pututline): Call __libc_pututline.
1014 (__endutent): Call __libc_endutent.
1015 * login/getutid_r.c (__getutid_r): Call __libc_getutid_r.
1016 * login/getutline_r.c (__getutline_r): Call __libc_getutline_r.
1017 * login/updwtmp.c (__updwtmp): Call __libc_updwtmp.
1018 * login/utmp_file.c (__libc_utmp_file_functions): Remove definition
1019 (__libc_setutent): Rename from stetutent_file. Drop static.
1020 (maybe_setutent): New function.
1021 (__libc_getutent_r): Rename from getutent_r_file. Drop static.
1022 Check for initialization.
1023 (__libc_getutid_r): Rename from getutid_r_file. Drop static.
1024 Check for initialization.
1025 (__libc_getutline_r): Rename from getutline_r_file. Drop static.
1026 Check for initialization.
1027 (__libc_pututline): Rename from pututline_file. Drop static.
1028 Check for initialization.
1029 (__libc_endutent): Rename from endutent_file. Drop static. Check
1031 (__libc_updwtmp): Rename from updwtmp_file. Drop static.
1032 * login/utmpname.c (__utmpname): Call __libc_endutent.
1033 * sysdeps/unix/getlogin_r (__getlogin_r): Call __libc_setutent,
1034 __libc_getutlien_r, __libc_endutent.
1035 * manual/users.texi (Who Logged In, Manipulating the Database):
1038 2019-08-05 Alexandra Hajkova <ahajkova@redhat.com>
1040 * elf/tst-ldconfig-bad-aux-cache.c: Use support_capture_subprocess.
1042 2019-08-02 Joseph Myers <joseph@codesourcery.com>
1044 * sysdeps/unix/sysv/linux/syscall-names.list: Update comment.
1046 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
1047 kernel version number to 5.2.
1049 2019-08-01 Raoni Fassina Firmino <raoni@linux.ibm.com>
1051 * sysdeps/powerpc/powerpc64/power8/memchr.S: Update power8
1052 mnemonics and set .machine power8.
1053 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
1054 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Likewise.
1055 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
1056 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
1057 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
1058 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
1059 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
1060 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
1061 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
1062 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
1064 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1066 * sysdeps/hppa/fpu/libm-test-ulps: Update.
1068 2019-08-01 Florian Weimer <fweimer@redhat.com>
1071 * malloc/malloc.c (__malloc_info): Remove unwanted leading
1074 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1077 sysdeps/posix/tempname.c (__gen_tempname): get entropy on each
1080 2019-08-01 Carlos O'Donell <carlos@redhat.com>
1082 * version.h (RELEASE): Set to "stable".
1083 (VERSION): Set to "2.30".
1084 * include/features.h (__GLIBC_MINOR__): Set to 2.30.
1086 * manual/install.texi: Update component versions.
1087 * INSTALL: Regenerate.
1090 2019-07-31 Carlos O'Donell <carlos@redhat.com>
1092 * po/be.po: Update translations.
1093 * po/bg.po: Likewise.
1094 * po/ca.po: Likewise.
1095 * po/cs.po: Likewise.
1096 * po/da.po: Likewise.
1097 * po/de.po: Likewise.
1098 * po/el.po: Likewise.
1099 * po/eo.po: Likewise.
1100 * po/es.po: Likewise.
1101 * po/fi.po: Likewise.
1102 * po/fr.po: Likewise.
1103 * po/gl.po: Likewise.
1104 * po/hr.po: Likewise.
1105 * po/hu.po: Likewise.
1106 * po/ia.po: Likewise.
1107 * po/id.po: Likewise.
1108 * po/it.po: Likewise.
1109 * po/ja.po: Likewise.
1110 * po/ko.po: Likewise.
1111 * po/lt.po: Likewise.
1112 * po/nb.po: Likewise.
1113 * po/nl.po: Likewise.
1114 * po/pl.po: Likewise.
1115 * po/pt_BR.po: Likewise.
1116 * po/ru.po: Likewise.
1117 * po/rw.po: Likewise.
1118 * po/sk.po: Likewise.
1119 * po/sl.po: Likewise.
1120 * po/sv.po: Likewise.
1121 * po/tr.po: Likewise.
1122 * po/uk.po: Likewise.
1123 * po/vi.po: Likewise.
1124 * po/zh_CN.po: Likewise.
1125 * po/zh_TW.po: Likewise.
1127 2019-07-31 Florian Weimer <fweimer@redhat.com>
1131 iconv, libio: Revert reference counting changes.
1132 * iconv/gconv_cache.c (__gconv_release_cache): Unconditionally
1133 free the steps array.
1134 * libio/Makefile (tests): Remove tst-wfile-gconv.
1135 (tests-container): Do not add tst-wfile-ascii.
1136 (tst-wfile-gconv-ENV): Do not set.
1137 (generated): Do not add tst-wfile-gconv.mtrace,
1138 tst-wfile-gconv.check.
1139 [($run-built-tests)] (tests-special): Do not add
1140 tst-wfile-gconv-mem.out.
1141 (tst-wfile-gconv.out, tst-wfile-gconv-mem.out): Remove targets.
1142 * libio/iofclose.c (_IO_new_fclose): Call __gconv_release_step
1143 instead of __wcsmbs_clone_conv.
1144 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Remove definition.
1145 * wcsmbs/wcsmbsload.h (__wcsmbs_clone_conv): Remove declaration.
1147 2019-07-30 Joseph Myers <joseph@codesourcery.com>
1149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1150 (__CONTEXT_FUNC_NAME): Restore setting of r31.
1152 2019-07-30 Florian Weimer <fweimer@redhat.com>
1154 * nptl/tst-pthread-getattr.c (allocate_and_test): Change return
1155 type to uintptr_t. Update comment.
1156 (check_stack_top): Adjust.
1158 2019-07-29 Florian Weimer <fweimer@redhat.com>
1160 Linux: Move declaration of getdents64 to <dirent.h>.
1161 * bits/dirent_ext.h: New file.
1162 * dirent/Makefile (headers): Add bits/dirent_ext.h.
1163 * dirent/dirent.h: Include <bits/dirent_ext.h>.
1164 * sysdeps/unix/sysv/linux/bits/dirent_ext.h: New file.
1165 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Remove
1167 * manual/filesys.texi (Low-level Directory Access): Update header
1170 2019-07-29 DJ Delorie <dj@redhat.com>
1171 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1174 * Makeconfig (all-subdirs): Improved source comments.
1175 * Makefile (testroot.pristine/install.stamp): Pass
1176 subdirs='$(sorted-subdirs)' to make install.
1178 2019-07-25 Florian Weimer <fweimer@redhat.com>
1181 * iconv/gconv_cache.c (__gconv_release_cache): Check reference
1182 counter before freeing array.
1184 2019-07-24 H.J. Lu <hongjiu.lu@intel.com>
1187 * sysdeps/x86_64/configure.ac: Check if -mprefer-vector-width=128
1189 * sysdeps/x86_64/configure: Regenerated.
1190 * sysdeps/x86_64/fpu/Makefile (CFLAGS-branred.c): New. Set
1191 to -mprefer-vector-width=128 if supported.
1193 2019-07-24 Florian Weimer <fweimer@redhat.com>
1195 * scripts/build-many-glibcs.py (Context.checkout): Default to
1198 2019-07-24 Florian Weimer <fweimer@redhat.com>
1201 Linux: Use in-tree copy of SO_ constants for !__USE_MISC.
1202 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == socket]
1203 (sysdep_headers): Add bits/socket-constants.h.
1204 (tests-special): Add tst-socket-consts.out.
1205 (tst-socket-consts.out): New target.
1206 * sysdeps/unix/sysv/linux/bits/socket.h: Remove macro tracking
1207 around <asm/unistd.h>.
1208 [__USE_MISC]: Include <bits/types/time_t.h> before <asm/socket.h>.
1209 [!__USE_MISC]: Include <sys/socket-constants.h> instead of
1211 * sysdeps/unix/sysv/linux/bits/tst-socket-consts.py: New file.
1212 * sysdeps/unix/sysv/linux/bits/socket-constants.h: Likewise.
1213 * sysdeps/unix/sysv/linux/alpha/bits/socket-constants.h: Likewise.
1214 * sysdeps/unix/sysv/linux/hppa/bits/socket-constants.h: Likewise.
1215 * sysdeps/unix/sysv/linux/mips/bits/socket-constants.h: Likewise.
1216 * sysdeps/unix/sysv/linux/powerpc/bits/socket-constants.h:
1218 * sysdeps/unix/sysv/linux/sparc/bits/socket-constants.h: Likewise.
1220 2019-07-23 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1223 * Makefile (testroot.pristine/install.stamp): Pass
1224 subdirs='$(all-subdirs)' to make install.
1226 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
1227 the same arguments used in all tests.
1229 2019-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
1231 * NEWS: Mention the AArch64 IFUNC resolver ABI change.
1233 2019-07-20 Egor Kobylkin <egor@kobylkin.com>
1236 * locale/C-translit.h.in: Add Cyrillic transliteration.
1238 2019-07-19 Florian Weimer <fweimer@redhat.com>
1240 * sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
1242 (fsconfig): Add system call name.
1243 (fsmount): Likewise.
1246 (move_mount): Likewise.
1247 (open_tree): Likewise.
1249 2019-07-18 Carlos O'Donell <carlos@redhat.com>
1251 * po/libc.pot: Regenerate.
1253 2019-07-18 Mike Crowe <mac@mcrowe.com>
1255 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
1256 functions recently added to sysdeps/nptl/pthread.h:
1257 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
1258 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
1260 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
1261 pthread_cond_clockwait forwarding functions. There are no internal
1262 users, so it is unnecessary to expose these functions in libc.so.
1263 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
1264 unnecessary ptr___pthread_cond_clockwait member.
1265 * nptl/nptl-init.c (pthread_functions): Remove assignment of
1268 2019-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
1271 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
1272 begin with an uppercase letter now.
1274 (mon): Update from CLDR, reword February from "Kudo" to
1275 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
1276 and August from "Liiqen" to "Leqeeni".
1277 * localedata/locales/aa_ER (mon): Update from CLDR, reword
1278 April from "Agda Baxisso" to "Agda Baxis" and August from
1279 "Leqeeni" to "Liiqen".
1280 * localedata/locales/aa_ER@saaho (mon): Likewise.
1281 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
1282 abbreviated February from "Kud" to "Nah".
1283 (mon): Update from CLDR, reword February from "Kudo" to
1284 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
1286 2019-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
1289 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
1291 2019-07-17 PanderMusubi <pander@users.sourceforge.net>
1294 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
1295 name_mrs, name_miss, and name_ms.
1296 * localedata/locales/nl_NL (LC_NAME): Likewise.
1298 2019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
1301 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
1302 * localedata/locales/en_IE (first_weekday): Likewise.
1304 2019-07-12 Mike Crowe <mac@mcrowe.com>
1306 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
1307 that is only useful if futex_supports_exact_relative_timeouts ()
1309 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
1311 * sysdeps/nptl/futex-internal.h: Remove comment about relative
1312 timeouts potentially being imprecise since it's no longer true.
1313 Remove declaration of futex_supports_exact_relative_timeouts.
1314 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
1315 of futex_supports_exact_relative_timeouts.
1317 * NEWS: Mention recently-added pthread_cond_clockwait,
1318 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
1319 sem_clockwait functions.
1321 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
1322 works like pthread_mutex_timedlock but takes a clockid parameter to
1323 measure the abstime parameter against.
1324 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
1325 * nptl/DESIGN-systemtap-probes.txt: Likewise.
1326 * nptl/pthread_mutex_timedlock.c
1327 (__pthread_mutex_clocklock_common): Rename from
1328 __pthread_mutex_timedlock and add clockid parameter. Pass this
1329 parameter to lll_clocklock and lll_clocklock_elision in place of
1330 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
1331 LIBC_PROBE and validate clockid parameter before calling
1332 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
1333 implementation to add LIBC_PROBE and calls
1334 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
1336 * nptl/Makefile: Add tst-mutex11.c.
1337 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
1338 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
1339 clockid parameters to pthread_mutex_clocklock.
1340 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
1341 clockid parameter to indicate which clock to be used. Call
1342 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
1343 (do_test): Call do_test_clock to separately test
1344 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
1345 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
1346 * nptl/tst-mutex9.c: Likewise.
1347 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
1348 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
1350 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
1352 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
1354 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
1356 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
1358 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
1360 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
1362 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1363 (GLIBC_2.30): Likewise.
1364 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1365 (GLIBC_2.30): Likewise.
1366 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1367 (GLIBC_2.30): Likewise.
1368 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1369 (GLIBC_2.30): Likewise.
1370 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1371 (GLIBC_2.30): Likewise.
1372 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
1374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1375 (GLIBC_2.30): Likewise.
1376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1377 (GLIBC_2.30): Likewise.
1378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1379 (GLIBC_2.30): Likewise.
1380 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1381 (GLIBC_2.30): Likewise.
1382 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1383 (GLIBC_2.30): Likewise.
1384 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1385 (GLIBC_2.30): Likewise.
1386 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
1388 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1389 (GLIBC_2.30): Likewise.
1390 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1391 (GLIBC_2.30): Likewise.
1392 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1393 (GLIBC_2.30): Likewise.
1394 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1395 (GLIBC_2.30): Likewise.
1397 nptl: Rename lll_timedlock to lll_clocklock and add clockid
1398 parameter to indicate the clock that the abstime parameter should
1399 be measured against in preparation for adding
1400 pthread_mutex_clocklock.
1401 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
1402 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
1403 from __lll_timedlock and add clockid parameter.
1404 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
1406 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
1407 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
1408 rather than __gettimeofday so that clockid can be used. This means
1409 that conversion from struct timeval is no longer required.
1410 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
1412 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
1413 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
1414 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
1415 from lll_timedlock_elision, add clockid parameter and use
1416 meaningful names for other parameters. (__pthread_mutex_timedlock):
1417 Pass CLOCK_REALTIME where necessary to lll_clocklock and
1418 lll_clocklock_elision.
1419 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
1420 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
1421 clockid parameter. (__lll_clocklock_elision): Rename from
1422 __lll_timedlock_elision and add clockid parameter.
1423 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1424 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
1425 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
1426 (__lll_lock_elision): Call __lll_clocklock_elision rather than
1427 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
1428 (LLL_LOCK): Likewise.
1429 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1430 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
1432 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
1433 pthread_rwlock_clockwrlock which behave like
1434 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
1435 respectively, except they always measure abstime against the
1436 supplied clockid. The functions currently support CLOCK_REALTIME
1437 and CLOCK_MONOTONIC and return EINVAL if any other clock is
1439 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
1440 pthread_wrlock_clockwrlock.
1441 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
1442 pthread_rwlock_clockwrlock.c.
1443 * nptl/pthread_rwlock_clockrdlock.c: Implement
1444 pthread_rwlock_clockrdlock.
1445 * nptl/pthread_rwlock_clockwrlock.c: Implement
1446 pthread_rwlock_clockwrlock.
1447 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
1448 clockid parameter and verify that it indicates a supported clock on
1449 entry so that we fail even if it doesn't end up being used. Pass
1450 that clock on to futex_abstimed_wait when necessary.
1451 (__pthread_rwlock_wrlock_full): Likewise.
1452 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
1453 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
1454 be used because there's no timeout.
1455 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
1456 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
1457 be used because there is no timeout.
1458 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1459 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
1461 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1462 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
1464 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
1465 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
1466 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
1467 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
1468 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
1469 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
1470 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
1471 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1472 (GLIBC_2.30): Likewise.
1473 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1474 (GLIBC_2.30): Likewise.
1475 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1476 (GLIBC_2.30): Likewise.
1477 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1478 (GLIBC_2.30): Likewise.
1479 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1480 (GLIBC_2.30): Likewise.
1481 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
1482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1483 (GLIBC_2.30): Likewise.
1484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1485 (GLIBC_2.30): Likewise.
1486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1487 (GLIBC_2.30): Likewise.
1488 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1489 (GLIBC_2.30): Likewise.
1490 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1491 (GLIBC_2.30): Likewise.
1492 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1493 (GLIBC_2.30): Likewise.
1494 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
1495 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1496 (GLIBC_2.30): Likewise.
1497 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1498 (GLIBC_2.30): Likewise.
1499 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1500 (GLIBC_2.30): Likewise.
1501 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1502 (GLIBC_2.30): Likewise.
1503 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
1504 pthread_rwlock_clockwrlock timeout tests to match the existing
1505 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
1506 * nptl/tst-rwlock14.c (do_test): Likewise.
1507 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
1508 ancillary output throughout. (tf): Accept thread_args structure so
1509 that rwlock, a clockid and function name can be passed to the
1510 thread. (do_test_clock): Rename from do_test. Accept clockid
1511 parameter to specify test clock. Use the magic clockid value of
1512 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
1513 pthread_rwlock_timedwrlock should be tested, otherwise pass the
1514 specified clockid to pthread_rwlock_clockrdlock and
1515 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
1516 (do_test): Call do_test_clock to test each clockid in turn.
1517 * nptl/tst-rwlock7.c: Likewise.
1518 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
1519 thread_args structure so that the (now int) thread number, the
1520 clockid and the function name can be passed to the thread.
1521 (do_test_clock): Renamed from do_test. Pass the necessary
1522 thread_args when creating the reader and writer threads. Use
1523 xpthread_create and xpthread_join.
1524 (do_test): Call do_test_clock to test each clockid in turn.
1525 * manual/threads.texi: Add documentation for
1526 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
1528 nptl: pthread_rwlock: Move timeout validation into _full functions
1529 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
1530 Check validity of abstime parameter.
1531 (__pthread_rwlock_rwlock_full): Likewise.
1532 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1533 Remove check for validity of abstime parameter.
1534 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1537 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
1538 like pthread_cond_timedwait except it always measures abstime
1539 against the supplied clockid.
1540 * nptl/Makefile: Add tst-cond26 and tst-cond27
1541 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
1542 * sysdeps/nptl/pthread.h: Likewise
1543 * nptl/forward.c: Add __pthread_cond_clockwait
1544 * nptl/forward.c: Likewise
1545 * nptl/pthreadP.h: Likewise
1546 * sysdeps/nptl/pthread-functions.h: Likewise
1547 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
1548 clockid parameter and comment describing why we don't need to check
1549 its value. Use that value when calling
1550 futex_abstimed_wait_cancelable rather than reading the clock from
1551 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
1552 (__pthread_cond_timedwait): Read clock from flags and pass it to
1553 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
1554 function with weak alias from pthread_cond_clockwait.
1555 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
1556 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
1557 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
1558 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
1559 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
1560 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
1561 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
1562 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1563 (GLIBC_2.30): Likewise.
1564 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1565 (GLIBC_2.30): Likewise.
1566 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1567 (GLIBC_2.30): Likewise.
1568 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1569 (GLIBC_2.30): Likewise.
1570 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1571 (GLIBC_2.30): Likewise.
1572 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
1573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1574 (GLIBC_2.30): Likewise.
1575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1576 (GLIBC_2.30): Likewise.
1577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1578 (GLIBC_2.30): Likewise.
1579 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1580 (GLIBC_2.30): Likewise.
1581 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1582 (GLIBC_2.30): Likewise.
1583 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1584 (GLIBC_2.30): Likewise.
1585 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
1586 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1587 (GLIBC_2.30): Likewise.
1588 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1589 (GLIBC_2.30): Likewise.
1590 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1591 (GLIBC_2.30): Likewise.
1592 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1593 (GLIBC_2.30): Likewise.
1594 * nptl/tst-cond11.c (run_test): Support testing
1595 pthread_cond_clockwait too by using a special magic
1596 CLOCK_USE_ATTR_CLOCK value to determine whether to call
1597 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
1598 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
1599 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
1600 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
1601 clocks to pthread_cond_clockwait.
1602 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
1603 struct timespec and pthread_cond_clockwait.
1604 * manual/threads.texi: Document pthread_cond_clockwait.
1606 nptl: Add POSIX-proposed sem_clockwait which behaves just like
1607 sem_timedwait, but measures abstime against the specified clock.
1608 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
1609 clockid parameters to indicate the clock which abstime should be
1611 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
1612 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
1613 __new_sem_wait_slow.
1614 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
1616 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
1617 sem_clockwait.c to match those used for sem_timedwait.c.
1618 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
1619 * nptl/Versions (GLIBC_2.30): Likewise.
1620 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
1621 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
1622 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
1623 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
1624 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
1625 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
1626 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
1627 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1628 (GLIBC_2.30): Likewise.
1629 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1630 (GLIBC_2.30): Likewise.
1631 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1632 (GLIBC_2.30): Likewise.
1633 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1634 (GLIBC_2.30): Likewise.
1635 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1636 (GLIBC_2.30): Likewise.
1637 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
1638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1639 (GLIBC_2.30): Likewise.
1640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1641 (GLIBC_2.30): Likewise.
1642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1643 (GLIBC_2.30): Likewise.
1644 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1645 (GLIBC_2.30): Likewise.
1646 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1647 (GLIBC_2.30): Likewise.
1648 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1649 (GLIBC_2.30): Likewise.
1650 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
1651 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1652 (GLIBC_2.30): Likewise.
1653 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1654 (GLIBC_2.30): Likewise.
1655 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1656 (GLIBC_2.30): Likewise.
1657 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1658 (GLIBC_2.30): Likewise.
1659 * nptl/tst-sem17.c: Add new test for passing invalid clock to
1661 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
1662 tests to also test sem_clockwait.
1663 * manual/threads.texi: Document sem_clockwait.
1665 nptl: Add clockid parameter to futex timed wait calls
1666 * sysdeps/nptl/lowlevellock-futex.h,
1667 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
1668 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
1669 takes a clockid rather than a special clockbit.
1670 * sysdeps/nptl/lowlevellock-futex.h: Add
1671 lll_futex_supported_clockid so that client functions can check
1672 whether their clockid parameter is valid even if they don't
1673 ultimately end up calling lll_futex_clock_wait_bitset.
1674 * sysdeps/nptl/futex-internal.h,
1675 sysdeps/unix/sysv/linux/futex-internal.h
1676 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
1677 clockid_t parameter to indicate which clock the absolute time
1678 passed should be measured against. Pass that clockid onto
1679 lll_futex_clock_wait_bitset. Add invalid clock as reason for
1681 * sysdeps/nptl/futex-internal.h,
1682 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
1683 futex_abstimed_supported_clockid so that client functions can check
1684 whether their clockid parameter is valid even if they don't
1685 ultimately end up calling futex_abstimed_wait.
1686 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
1687 code to calculate relative timeout for
1688 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
1689 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
1690 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
1691 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
1692 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
1693 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
1694 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
1696 2019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1699 * posix/tst-mmap-offset.c: Mention BZ #24699.
1700 (do_test_bz21270): Rename to do_test_large_offset and use
1701 mmap64_maximum_offset to check for maximum expected offset value.
1702 * sysdeps/generic/mmap_info.h: New file.
1703 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
1704 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
1707 2019-07-10 DJ Delorie <dj@redhat.com>
1708 Sergei Trofimovich <slyfox@inbox.ru>
1712 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
1714 * nss/tst-nss-db-endgrent.c: New.
1715 * nss/tst-nss-db-endgrent.root: New.
1716 * nss/tst-nss-db-endpwent.c: New.
1717 * nss/tst-nss-db-endpwent.root: New.
1718 * nss/Makefile: Add new tests.
1719 * support/links-dso-program-c.c: Add selinux dependency.
1720 * support/links-dso-program.cc: Add selinux dependency.
1721 * support/Makefile: Build those with -lselinux if enabled.
1723 2019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
1725 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
1726 DT_AARCH64_VARIANT_PCS check.
1727 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
1728 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
1731 2019-07-10 Andreas Schwab <schwab@suse.de>
1734 * malloc/malloc.h (__malloc_check_init): Don't declare.
1735 * include/malloc.h (__malloc_check_init): Likewise.
1736 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
1737 * manual/memory.texi (__malloc_check_init): Don't mention it.
1739 2019-07-10 Mao Han <han_mao@c-sky.com>
1741 * locale/Makefile: Fix tst-locale-locpath arguments passing.
1743 2019-07-09 Paul A. Clarke <pc@us.ibm.com>
1745 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
1746 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
1748 2019-07-08 DJ Delorie <dj@redhat.com>
1751 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
1752 * io/tst-ftw-lnk.c: New test.
1753 * io/Makefile: Run it.
1755 2019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1757 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
1758 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
1759 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
1760 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
1761 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
1762 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
1763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
1764 Adjust implementation path.
1765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
1766 Adjust implementation path.
1767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
1768 Adjust implementation path.
1769 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1770 (libm-sysdep_routines): Add s_log* objects.
1771 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
1772 CFLAGS-s_logb-power7.c): New fule.
1773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
1775 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
1777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
1779 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
1781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
1782 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
1783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
1785 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
1787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
1789 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
1791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
1792 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
1793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
1795 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
1797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
1799 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
1801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
1802 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
1803 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
1804 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
1805 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1806 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1808 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
1809 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
1810 powerpc32 integer 0 converting to -0.
1812 * benchtests/Makefile (bench-math): Add logb.
1813 * benchtests/logb-inputs: New file.
1814 * benchtests/logbf-inputs: New file.
1816 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
1817 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
1818 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
1819 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
1820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1824 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
1825 sysdep_routines): Add s_modf* objects.
1826 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
1827 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
1828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
1830 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
1832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
1834 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
1836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
1837 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
1838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
1840 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
1842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
1843 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
1845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
1846 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
1848 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
1849 twoM500, twoM600, two60factor, pdnum): Remove.
1850 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
1851 (__ieee754_hypot): Replace static variables with inline definition,
1852 remove ununsed branches.
1853 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1854 (libm-sysdep_routines): Remove e_hypot-* objects.
1855 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
1856 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
1858 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
1859 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
1860 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
1861 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
1862 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
1864 * benchtests/Makefile (bench-math): Add hypot.
1865 * benchtests/hypot-inputs: New file.
1867 2019-07-08 Vincent Chen <vincentc@andestech.com>
1869 * sysdeps/unix/sysv/linux/dl-vdso.h
1870 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
1872 2019-07-04 Andreas Schwab <schwab@suse.de>
1875 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
1877 2019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1879 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
1880 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
1881 * sysdeps/aarch64/sys/ifunc.h: New file.
1882 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
1883 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
1885 2019-07-01 Florian Weimer <fweimer@redhat.com>
1888 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
1889 Replace __vfork with __libpthread_version_placeholder for
1891 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
1892 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
1894 * nptl/pt-vfork.c: Remove file.
1895 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
1896 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
1897 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
1898 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
1899 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
1900 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
1901 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
1902 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
1903 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
1904 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
1905 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
1906 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
1907 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
1908 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1909 Remove vfork, __vfork.
1910 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1912 (GLIBC_2.1.2): Replace __vfork with
1913 __libpthread_version_placeholder.
1914 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1915 Remove vfork, __vfork.
1916 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1918 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1920 (GLIBC_2.1.2): Replace __vfork with
1921 __libpthread_version_placeholder.
1922 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1924 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1925 (GLIBC_2.4): Remove vfork, __vfork.
1926 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1927 (GLIBC_2.0): Remove vfork.
1928 (GLIBC_2.1.2): Replace __vfork with
1929 __libpthread_version_placeholder.
1930 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1931 (GLIBC_2.18): Remove vfork, __vfork.
1932 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1933 (GLIBC_2.0): Remove vfork.
1934 (GLIBC_2.2): Remove __vfork.
1935 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
1936 (GLIBC_2.2): Remove vfork, __vfork.
1937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
1938 (GLIBC_2.0): Remove vfork.
1939 (GLIBC_2.1.2): Replace __vfork with
1940 __libpthread_version_placeholder.
1941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1942 (GLIBC_2.3): Remove vfork, __vfork.
1943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1944 (GLIBC_2.17): Likewise.
1945 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1946 (GLIBC_2.0): Remove vfork.
1947 (GLIBC_2.1.2): Replace __vfork with
1948 __libpthread_version_placeholder.
1949 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1950 (GLIBC_2.2): Remove vfork, __vfork.
1951 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1953 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1954 (GLIBC_2.0): Remove vfork.
1955 (GLIBC_2.1.2): Replace __vfork with
1956 __libpthread_version_placeholder.
1957 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1958 (GLIBC_2.2): Remove vfork, __vfork.
1959 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1960 (GLIBC_2.2.5): Likewise.
1961 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1962 (GLIBC_2.16): Likewise.
1963 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
1964 Remove __errno_location.
1966 2019-07-02 Florian Weimer <fweimer@redhat.com>
1969 * malloc/Depend: Add nptl and htl, due to potential indirect
1970 libpthread dependency of memusagestat.
1972 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
1974 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
1977 2019-07-01 Florian Weimer <fweimer@redhat.com>
1979 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
1980 variant for arm-linux-gnueabi.
1982 2019-07-01 H.J. Lu <hongjiu.lu@intel.com>
1985 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
1987 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
1988 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
1989 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
1990 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
1991 and tst-cet-legacy-mod-6c.
1992 (CFLAGS-tst-cet-legacy-5a.c): New.
1993 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
1994 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
1995 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
1996 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
1997 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
1998 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
1999 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
2000 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
2001 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
2002 ($(objpfx)tst-cet-legacy-5a): Likewise.
2003 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
2004 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
2005 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
2006 ($(objpfx)tst-cet-legacy-5b): Likewise.
2007 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
2008 (tst-cet-legacy-5b-ENV): Likewise.
2009 ($(objpfx)tst-cet-legacy-6a): Likewise.
2010 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
2011 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
2012 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
2013 ($(objpfx)tst-cet-legacy-6b): Likewise.
2014 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
2015 (tst-cet-legacy-6b-ENV): Likewise.
2016 * sysdeps/x86/tst-cet-legacy-5.c: New file.
2017 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
2018 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
2019 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
2020 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
2021 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
2022 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
2023 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
2024 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
2025 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
2026 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
2027 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
2028 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
2029 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
2031 2019-06-30 Paul A. Clarke <pc@us.ibm.com>
2033 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
2034 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
2035 (__fegetround_ISA300) New.
2036 (__fegetround_ISA2) New.
2037 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
2038 (_FPU_MFFS): Move implementation...
2040 (_FPU_MFFSL): Move implementation....
2041 (_FPU_GET_RC_ISA300): Here. New.
2042 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
2043 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
2044 (fegetenv_status): New.
2045 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
2046 instead of fegetenv_register().
2047 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
2049 2019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
2051 * benchtests/bench-math-inlines.c: Increase iterations.
2052 * benchtests/bench-memcmp.c: Likewise.
2053 * benchtests/bench-rawmemchr.c: Likewise.
2054 * benchtests/bench-strcmp.c: Likewise.
2055 * benchtests/bench-strcpy_chk.c: Likewise.
2056 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
2057 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
2058 (INNER_LOOP_ITERS_SMALL): Likewise.
2059 * benchtests/bench-strncat.c: Increase iterations.
2060 * benchtests/bench-strncmp.c: Increase iterations.
2061 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
2062 * benchtests/bench-strrchr.c: Increase iterations.
2063 * benchtests/bench-strstr.c: Keep iterations unchanged.
2064 * benchtests/bench-strtod.c: Increase iterations.
2066 2019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2068 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
2069 with INNER_LOOP_ITERS_LARGE.
2070 * benchtests/bench-memchr.c: Likewise.
2071 * benchtests/bench-rawmemchr.c: Likewise.
2072 * benchtests/bench-strcat.c: Likewise.
2073 * benchtests/bench-strchr.c: Likewise.
2074 * benchtests/bench-string.h: Likewise.
2075 * benchtests/bench-strlen.c: Likewise.
2076 * benchtests/bench-strncpy.c: Likewise.
2077 * benchtests/bench-strnlen.c: Likewise.
2079 2019-06-28 Florian Weimer <fweimer@redhat.com>
2081 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
2082 Use mmap instead of malloc. malloc with M_PERTURB writes to the
2083 entire allocated memory range.
2085 2019-06-28 Tobias Klauser <tklauser@distanz.ch>
2087 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
2088 (prepare_version_base): New helper inline function.
2089 (prepare_version): New macro replacing PREPARE_VERSION.
2090 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
2092 2019-06-28 Florian Weimer <fweimer@redhat.com>
2095 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
2096 mismatch in a versioned symbol reference.
2097 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
2098 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
2099 tst-sonamemove-dlopen.
2100 (module-names): Add tst-sonamemove-linkmod1,
2101 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
2102 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
2103 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
2104 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
2105 (tst-sonamemove-runmod1.so): Link against
2106 tst-sonamemove-runmod2.so.
2107 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
2108 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
2109 tst-sonamemove-runmod2.so.
2110 (tst-sonamemove-dlopen): Link with -ldl.
2111 (tst-sonamemove-dlopen.out): Likewise.
2112 * elf/tst-sonamemove-link.c: New file.
2113 * elf/tst-sonamemove-dlopen.c: Likewise.
2114 * elf/tst-sonamemove-linkmod1.c: Likewise.
2115 * elf/tst-sonamemove-linkmod1.map: Likewise.
2116 * elf/tst-sonamemove-runmod1.c: Likewise.
2117 * elf/tst-sonamemove-runmod1.map: Likewise.
2118 * elf/tst-sonamemove-runmod2.c: Likewise.
2119 * elf/tst-sonamemove-runmod2.map: Likewise.
2121 2019-06-28 Florian Weimer <fweimer@redhat.com>
2123 * support/xdlfcn.h (xdlvsym): Declare function.
2124 * support/xdlfcn.c (xdlvsym): Define funciton.
2126 2019-06-28 Florian Weimer <fweimer@redhat.com>
2129 io: Remove the copy_file_range emulation.
2130 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
2131 not define and call copy_file_range_compat.
2132 * io/Makefile (tests-static, tests-internal): Do not add
2133 tst-copy_file_range-compat.
2134 * io/copy_file_range-compat.c: Remove file.
2135 * io/copy_file_range.c (copy_file_range): Define as stub.
2136 * io/tst-copy_file_range-compat.c: Remove file.
2137 * io/tst-copy_file_range.c (xdevfile): Remove variable.
2138 (typical_sizes): Update comment. Remove 16K sizes.
2139 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
2141 (find_maximum_offset, pipe_as_source, pipe_as_destination)
2142 (delayed_write_failure_beginning, delayed_write_failure_end)
2143 (cross_device_failure, enospc_failure_1, enospc_failure)
2144 (oappend_failure): Remove functions.
2145 (tests): Adjust test case list.
2146 (do_test): Remove file system search code. Check for ENOSYS from
2147 copy_file_range. Do not free xdevfile.
2148 * manual/llio.texi (Copying File Data): Document ENOSYS error from
2149 copy_file_range. Do not document the EXDEV error, which future
2150 kernels may not report. Update the wording to reflect that
2151 further errors are possible.
2152 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2153 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
2155 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2156 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
2158 * sysdeps/unix/sysv/linux/kernel-features.h
2159 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
2161 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2162 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
2164 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2165 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
2168 2019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
2170 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
2171 used as a mask for the mode argument of __vfprintf_internal.
2172 * stdio-common/printf-parse.h (printf_arg): New union member:
2174 * stdio-common/vfprintf-internal.c
2175 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
2176 (PARSE_FLOAT_VA_ARG): Likewise.
2177 (SETUP_FLOAT128_INFO): Likewise.
2178 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
2179 SETUP_FLOAT128_INFO.
2180 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
2181 floating-point value to the new union member, pa_float128.
2182 (printf_positional): Zero-initialize args_value[cnt] with memset.
2184 2019-06-27 Florian Weimer <fweimer@redhat.com>
2187 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
2188 buffer size if necessary.
2189 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
2191 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
2193 (large_buffer_checks): Likewise.
2194 (do_test): Call large_buffer_checks.
2196 2019-06-26 H.J. Lu <hongjiu.lu@intel.com>
2198 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
2199 * sysdeps/x86/dl-lookupcfg.h: Here.
2200 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
2202 2019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2204 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2205 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
2206 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
2208 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
2209 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
2210 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
2211 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2212 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
2214 * sysdeps/powerpc/powerpc32/fpu/Makefile
2215 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
2216 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
2217 and fctidz optimization.
2218 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
2219 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
2220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2221 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
2222 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
2223 CFLAGS-s_lround-power5+.c): New rule.
2224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
2226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
2228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
2230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
2232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
2234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2244 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2245 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
2246 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2247 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
2248 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2249 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2250 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
2252 2019-06-26 Vincent Chen <vincentc@andestech.com>
2254 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
2255 specific system calls, fp_udfiex_crtl and udftrap.
2257 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
2259 * nptl/tst-eintr1.c (tf1): Add return statement.
2260 (do_test): Remove unused th variable.
2262 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
2264 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
2265 Return error if get_character fails.
2267 2019-06-25 Stefan Liebler <stli@linux.ibm.com>
2269 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2271 2019-06-24 Rafal Luzynski <digitalfreak@lingonborough.com>
2274 * localedata/locales/szl_PL (day): Use the correct Unicode
2275 sequences instead of non-ASCII characters.
2277 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
2280 * localedata/locales/szl_PL (abday): Spelling corrections.
2284 (alt_mon): This, then apply spelling corrections.
2285 (mon): New entry, month names in the genitive case.
2287 2019-06-21 Rafal Luzynski <digitalfreak@lingonborough.com>
2290 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
2291 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
2292 (thousands_sep): Likewise.
2293 (grouping): Set to 3;3.
2295 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
2297 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
2298 PREPARE_VERSION_KNOWN.
2299 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
2300 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
2302 (VDSO_HASH_LINUX_2_6_39): Likewise.
2303 (VDSO_NAME_LINUX_4_9): Likewise.
2304 (VDSO_HASH_LINUX_4_9): Likewise.
2305 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
2306 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2307 (_libc_vdso_platform_setup): Likewise.
2308 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
2309 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
2311 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
2314 2019-06-20 Mike Crowe <mac@mcrowe.com>
2316 * nptl/eintr.c: Use libsupport.
2317 * nptl/tst-eintr1.c: Likewise.
2318 * nptl/tst-eintr2.c: Likewise.
2319 * nptl/tst-eintr3.c: Likewise.
2320 * nptl/tst-eintr4.c: Likewise.
2321 * nptl/tst-eintr5.c: Likewise.
2322 * nptl/tst-mutex-errorcheck.c: Likewise.
2323 * nptl/tst-mutex5.c: Likewise.
2325 * support/test-driver.h: Add verbose_printf macro.
2327 * support/xtime.h: Add xclock_now() helper function.
2329 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
2330 Florian Weimer <fweimer@redhat.com>
2333 * libio/genops.c (_IO_unbuffer_all)
2334 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
2335 buffers and access _IO_FILE_complete members of legacy libio streams.
2336 * libio/tst-bz24228.c: New file.
2337 * libio/tst-bz24228.map: Likewise.
2338 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
2339 [build-shared] (generated): Add tst-bz24228.mtrace and
2341 [run-built-tests && build-shared] (tests-special): Add
2342 $(objpfx)tst-bz24228-mem.out.
2343 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
2344 ($(objpfx)tst-bz24228-mem.out): New rule.
2346 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
2348 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
2349 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
2350 (__FPU_MFFSL): Likewise.
2351 (_FPU_SETCW): Likewise.
2353 2019-06-19 Stan Shebs <stanshebs@google.com>
2354 Raoni Fassina Firmino <raoni@linux.ibm.com>
2357 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
2358 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
2359 static-linking version.
2360 * sysdeps/unix/sysv/linux/powerpc/Makefile
2361 (tests-static): Add test-gettimebasefreq-static.
2363 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
2366 2019-06-19 Rafal Luzynski <digitalfreak@lingonborough.com>
2369 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
2370 between the currency symbol and the minus sign).
2371 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
2373 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
2376 * string/test-strcasestr.c (check_result): Add NULL check.
2377 * nss/tst-field.c (check_rewrite): Likewise.
2378 * benchtests/bench-strstr.c (do_one_test): Likewise.
2379 * string/test-strstr.c (check_result): Likewise.
2380 * argp/argp-test.c (popt): Increase size of buf to 12.
2381 * benchtests/bench-malloc-simple.c (bench):
2382 Do not initialize tests array out of bounds.
2384 2019-06-19 Florian Weimer <fweimer@redhat.com>
2387 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
2390 2019-06-18 Florian Weimer <fweimer@redhat.com>
2393 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
2394 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
2395 fail when called from dlopen.
2396 * elf/Makefile [have-fpie && build-shared] (tests): Add
2398 (tst-dlopen-pie): Link with -ldl.
2399 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
2400 * elf/tst-dlopen-pie.c (do_test): New file.
2402 2019-06-17 Rafal Luzynski <digitalfreak@lingonborough.com>
2405 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
2406 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
2407 between the currency symbol and the minus sign).
2408 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
2409 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
2411 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2413 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
2414 sysdep-rtld-routines): Remove rules.
2415 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
2416 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
2417 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
2418 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
2419 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
2420 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
2421 vDSO path for SHARED.
2422 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
2423 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
2424 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2425 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
2426 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
2427 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
2429 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2430 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
2431 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
2432 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
2433 CFLAGS-s_llround-power5+.c): New rule.
2434 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
2436 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
2438 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
2440 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
2442 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
2444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
2445 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
2446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
2447 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
2448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
2449 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
2450 * sysdeps/powerpc/powerpc64/fpu/Makefile
2451 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
2452 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2453 (libm-sysdep_routines): Remove s_llround-* objects.
2454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
2456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
2458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
2460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
2462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
2464 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2465 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2466 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
2467 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
2468 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
2469 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
2470 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
2471 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
2472 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2473 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
2474 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2475 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
2476 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2477 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
2479 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
2480 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
2481 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
2482 * sysdeps/powerpc/powerpc32/fpu/Makefile
2483 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
2484 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
2486 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
2487 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
2488 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
2489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2490 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
2491 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
2492 CFLAGS-s_lrint-ppc32.c): New rule.
2493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2503 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2504 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2505 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2506 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
2509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
2511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
2513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
2515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
2518 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2519 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
2521 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
2522 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
2524 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
2526 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
2528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
2529 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
2530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
2531 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
2532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
2533 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
2534 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
2535 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
2536 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2537 (libm-sysdep_routines): Remove s_llrint-* objects.
2538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
2540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
2542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
2543 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
2544 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
2545 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
2546 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
2547 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
2548 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2549 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
2550 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2551 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2553 2019-06-14 Florian Weimer <fweimer@redhat.com>
2555 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
2556 argument to __glibc_has_include to inhibit macro expansion.
2558 2019-06-14 Florian Weimer <fweimer@redhat.com>
2560 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
2561 function-like macro, so that __has_include can inhibit expansion
2564 2019-06-13 Joseph Myers <joseph@codesourcery.com>
2566 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
2569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2570 Allow memset in libc.so.
2572 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2574 * sysdeps/aarch64/dl-dtprocnum.h: New file.
2575 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
2576 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
2577 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
2578 symbols at load time.
2579 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
2581 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2583 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
2584 (DT_AARCH64_VARIANT_PCS): Define.
2586 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2589 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
2591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
2595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
2596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
2599 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2600 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
2601 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
2602 Remove s_finite* objects.
2603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
2604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
2605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
2606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
2608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
2609 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2610 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
2611 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2612 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
2614 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
2615 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
2617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2618 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
2620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
2622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
2624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
2625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
2628 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2629 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
2630 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
2631 Remove s_isinf* and s_isinf* objects.
2632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
2633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
2634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
2635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
2637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
2638 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2639 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
2640 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2641 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
2643 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
2644 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
2646 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
2647 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
2648 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2650 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
2652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
2654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
2656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
2658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
2660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
2661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
2663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
2666 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2667 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
2668 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2669 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
2670 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2671 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
2672 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
2673 Remove s_isnan-* and s_isnanf-* objects.
2674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
2675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
2676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
2678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
2679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
2680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
2681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
2683 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2684 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2685 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2686 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2687 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2688 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
2689 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2690 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
2692 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
2693 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
2695 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
2696 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
2697 CFLAGS-bench-isfinite.c): New rule.
2698 * benchtests/isnan-input: New file.
2699 * benchtests/isinf-input: New file.
2700 * benchtests/isfinite-input: New file.
2702 * sysdeps/powerpc/fpu/s_copysign.c: New file.
2703 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
2704 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
2705 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
2706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2707 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
2709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
2717 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2718 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
2719 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
2720 Remove s_copysign-power6 s_copysign-ppc64.
2721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
2723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
2725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
2727 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2728 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
2729 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2730 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
2732 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
2733 round_to_integer_float, round_mode): Add RINT handling.
2734 (reset_fenv_mode): New symbol.
2735 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
2736 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
2737 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
2738 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2739 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2740 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2742 2019-06-12 Florian Weimer <fweimer@redhat.com>
2745 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
2746 * libio/freopen.c (freopen): Use it.
2748 2019-06-12 Florian Weimer <fweimer@redhat.com>
2750 Linux: Deprecate sysctl.
2751 * include/sysctl.h (__sysctl): Remove declaration.
2752 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
2754 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
2755 (sysctl): Add deprecation attribute.
2756 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
2757 directly, to avoid the deprecation warning. Do not include
2759 (__sysctl): Remove hidden alias.
2761 2019-06-12 Florian Weimer <fweimer@redhat.com>
2763 Linux: Use kernel headers for statx definitions if available.
2764 * include/bits/statx-generic.h: New file.
2765 * include/bits/types/struct_statx.h: Likewise.
2766 * include/bits/types/struct_statx_timestamp.h: Likewise.
2767 * io/Makefile (headers): Add bits/statx-generic.h.
2768 * io/bits/statx-generic.h: New file. Partly copied from
2770 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
2771 define original_statx.
2772 * io/bits/types/struct_statx.h: Likewise.
2773 * io/bits/types/struct_statx_timestamp.h: Likewise.
2774 (statx_generic): Use original_statx.
2775 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
2776 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
2778 2019-06-12 Florian Weimer <fweimer@redhat.com>
2780 * misc/sys/cdefs.h (__glibc_has_include): Define.
2782 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2784 * string/memmem.c (__memmem): Rewrite to improve performance.
2786 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2788 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
2790 (two_way_long_needle): Block inlining.
2791 * string/strstr.c (strstr2): Add new function.
2792 (strstr3): Likewise.
2793 (STRSTR): Completely rewrite strstr to improve performance.
2795 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
2797 * benchtests/bench-strstr.c (test_hard_needle): New function.
2799 2019-06-10 Joseph Myers <joseph@codesourcery.com>
2801 * malloc/tst-calloc.c: Include <libc-diag.h>.
2802 (null_test): Ignore -Wunused-result around calls to calloc.
2803 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
2804 (do_test): Ignore -Wunused-result around call to malloc.
2806 2019-06-07 Florian Weimer <fweimer@redhat.com>
2808 Linux: Add getdents64 system call.
2809 * include/dirnent.h (getdents): Add comment and change buffer
2810 argument type to void *.
2811 (getdents64): Likewise. Add hidden prototype.
2812 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
2814 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
2816 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
2817 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
2818 argument type to void *.
2819 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
2820 Add hidden definition and getdents64 alias.
2821 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
2823 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
2824 * manual/filesys.texi (Accessing Directories): Add Low-level
2825 Directory Access node reference.
2826 (Opening a Directory): Cross-reference it.
2827 (Low-level Directory Access): New node.
2828 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
2830 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2832 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2833 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
2835 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
2837 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
2839 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
2841 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2843 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2845 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2847 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2848 (GLIBC_2.30): Likewise.
2849 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2850 (GLIBC_2.30): Likewise.
2851 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2852 (GLIBC_2.30): Likewise.
2853 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2854 (GLIBC_2.30): Likewise.
2855 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2858 (GLIBC_2.30): Likewise.
2859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2860 (GLIBC_2.30): Likewise.
2861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2862 (GLIBC_2.30): Likewise.
2863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2864 (GLIBC_2.30): Likewise.
2865 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2867 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2869 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2871 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2872 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2874 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2876 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2878 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2881 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
2883 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
2887 (_FPU_GETCW): Use __FPU_MFFS().
2888 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
2890 2019-06-06 Florian Weimer <fweimer@redhat.com>
2892 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
2893 internal GCC preprocessor identifier __has_include__.
2895 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
2897 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
2898 with call to equivalent function.
2900 2019-06-04 Florian Weimer <fweimer@redhat.com>
2902 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
2903 (do_release_shlib): Adjust for __twalk_r.
2904 (__gconv_release_shlib): Call __twalk_r.
2906 2019-06-04 Andreas Schwab <schwab@suse.de>
2909 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
2910 no irreversible characters occurred.
2911 * iconv/gconv_simple.c (internal_ucs4_loop)
2912 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
2913 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
2914 (ucs4_internal_loop_single, internal_ucs4le_loop)
2915 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
2916 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
2917 (ucs4le_internal_loop_single): Add const to outend.
2918 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
2919 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
2920 * iconv/Makefile (tests): Add tst-iconv7.
2921 * iconv/tst-iconv7.c: New file.
2923 2019-06-03 Joseph Myers <joseph@codesourcery.com>
2925 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
2927 2019-06-01 Florian Weimer <fweimer@redhat.com>
2929 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
2930 * sysdeps/unix/sysv/linux/arm/Makefile
2931 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
2932 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
2933 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
2934 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
2935 compatibility symbols.
2937 2019-05-31 Florian Weimer <fweimer@redhat.com>
2939 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
2940 system calls for the arm architecture: breakpoint, get_tls,
2941 set_tls, usr26, usr32.
2943 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
2945 * sysdeps/powerpc/Makefile
2946 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
2947 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
2948 Declare '.machine power7' to get support for ldbrx.
2949 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
2950 directive based on the directory of the file.
2951 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2952 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2953 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
2954 '.machine' directive.
2955 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
2956 (VADDUQM_V7_V8): Remove.
2957 (__STRCASECMP): Replace macros with actual instructions.
2958 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
2959 '.machine' directive.
2960 (VCLZD_V8_v7): Remove.
2961 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
2963 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2965 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
2967 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
2969 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2971 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
2973 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
2974 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
2975 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
2976 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
2977 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
2978 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2980 2019-05-28 mansayk <6688000@gmail.com>
2983 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
2985 2019-05-28 mansayk <6688000@gmail.com>
2988 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
2989 (abmon): Likewise, but remove the trailing dots.
2991 2019-05-28 Joseph Myers <joseph@codesourcery.com>
2993 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
2995 2019-05-27 Florian Weimer <fweimer@redhat.com>
2997 * nptl/nptl-init.c: Add comment.
2999 2019-05-24 Florian Weimer <fweimer@redhat.com>
3001 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
3002 struct in_addr/struct in6_addr alignment.
3004 2019-05-23 Joseph Myers <joseph@codesourcery.com>
3006 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3007 (F_SEAL_FUTURE_WRITE): New macro.
3009 2019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
3011 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
3012 * elf/tst-ldconfig-bad-aux-cache.c: New file.
3013 * elf/tst-ldconfig_aux-cache.root: New directory.
3014 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
3015 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
3016 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
3018 2019-05-22 Zack Weinberg <zackw@panix.com>
3020 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
3022 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
3023 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
3025 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
3026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
3027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
3030 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
3031 Issue an #error if used with a compiler in SPE-float mode.
3032 * sysdeps/powerpc/powerpc32/__longjmp_common.S
3033 * sysdeps/powerpc/powerpc32/setjmp_common.S
3034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
3036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
3037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
3038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3040 Remove code to preserve SPE register state.
3042 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3043 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3044 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
3045 Remove __SPE__ ifndefs.
3047 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
3049 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
3050 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
3051 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
3052 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
3053 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
3054 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
3055 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
3056 (INNER_LOOP_ITERS_MEDIUM): New define.
3057 (INNER_LOOP_ITERS_SMALL): New define.
3058 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
3059 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
3060 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
3061 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
3062 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
3064 2019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
3066 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
3068 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
3069 (SEMTIMEDOP_IPC_ARGS): Likewise.
3071 2019-05-21 Florian Weimer <fweimer@redhat.com>
3074 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
3075 before updating __counter field and release it afterwards. Add
3077 * iconv/gconv.h (struct __gconv_step): Mention synchronization
3078 requirement for __counter member.
3080 2019-05-21 Florian Weimer <fweimer@redhat.com>
3083 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
3084 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
3085 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
3086 instead of __gconv_release_step.
3087 * libio/Makefile (tests): Add tst-wfile-gconv.
3088 (tests-container): Add tst-wfile-ascii.
3089 (tst-wfile-gconv-ENV): Enable mtrace.
3090 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
3091 (tests-special): Add tst-wfile-gconv-mem.out.
3092 (tst-wfile-gconv.out): Depend on locales.
3093 (tst-wfile-gconv-mem.out): Add mtrace rule.
3094 * libio/tst-wfile-ascii.c: New file.
3095 * libio/tst-wfile-gconv.c: Likewise.
3097 2019-05-20 Florian Weimer <fweimer@redhat.com>
3100 libio: Remove codecvt vtable.
3101 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
3103 * libio/iofgetpos.c (_IO_new_fgetpos): Call
3104 __libio_codecvt_encoding.
3105 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
3106 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
3107 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
3108 * libio/iofwide.c (__libio_codecvt): Remove variable.
3109 (_IO_fwide): Do not copy __libio_codecvt.
3110 (__libio_codecvt_out): Rename from do_out and export.
3111 (do_unshift): Remove function.
3112 (__libio_codecvt_in): Rename from do_in and export.
3113 (__libio_codecvt_encoding): Rename from do_encoding and export.
3114 (do_always_noconv): Remove function.
3115 (__libio_codecvt_length): Rename from do_length and export.
3116 (do_max_length): Remove function.
3117 * libio/libio.h (enum __codecvt_result): Remove definition; moved
3119 (struct _IO_codecvt): Remove fields __codecvt_destr,
3120 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
3121 __codecvt_do_encoding, __codecvt_do_always_noconv,
3122 __codecvt_do_length, __codecvt_do_max_length.
3123 * libio/libioP.h (enum __codecvt_result): Define; moved from
3125 (__libio_codecvt_out, __libio_codecvt_in)
3126 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
3128 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
3129 (_IO_wfile_underflow): Call __libio_codecvt_in.
3130 (_IO_wfile_underflow): Likewise.
3131 (_IO_wfile_underflow_mmap): Likewise.
3132 (_IO_wfile_sync): Call __libio_codecvt_encoding,
3133 __libio_codecvt_length.
3134 (adjust_wide_data): Call __libio_codecvt_encoding,
3136 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
3137 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
3138 __libio_codecvt_length.
3140 2019-05-20 Florian Weimer <fweimer@redhat.com>
3142 * support/support.h (support_sbindir_prefix): Declare.
3143 (support_install_rootsbindir): Update comment.
3144 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
3145 * support/support_paths.c (support_sbindir_prefix): Define.
3147 2019-05-20 Mike Crowe <mac@mcrowe.com>
3149 * support/timespec.c: Add backslash to correct newline in failure
3152 * support/timespec.h: Correct confusing comment.
3154 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3156 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
3158 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
3159 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
3160 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
3161 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
3164 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
3167 2019-05-20 Joseph Myers <joseph@codesourcery.com>
3169 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
3170 (NT_ARM_PACG_KEYS): Likewise.
3172 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
3174 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
3175 (tcache_put): Remove redundant assert.
3176 (tcache_get): Remove redundant asserts.
3177 (__libc_malloc): Check tcache count is not zero.
3178 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
3180 2019-05-17 Florian Weimer <fweimer@redhat.com>
3182 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
3184 2019-05-16 Joseph Myers <joseph@codesourcery.com>
3186 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3187 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
3189 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
3191 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3192 (__ASSUME_STATX): Likewise.
3194 2019-05-16 Florian Weimer <fweimer@redhat.com>
3196 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
3198 (LINE_PARSER): Do not map IPv4 addresses.
3199 (internal_nis_gethostent_r): Remove flags argument. Adjust call
3201 (_nss_nis_gethostent_r): Always pass AF_INET to
3202 internal_nis_gethostent_r.
3203 (internal_gethostbyname2_r): Remove flags argument. Adjust call
3205 (_nss_nis_gethostbyname2_r): Adjust call to
3206 internal_nis_gethostent_r.
3207 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
3208 call to internal_nis_gethostent_r.
3209 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
3211 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
3212 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
3213 Remove flags argument. Do not map IPv4 addresses.
3214 (internal_nisplus_gethostent_r): Adjust call to
3215 _nss_nisplus_parse_hostent.
3216 (internal_gethostbyname2_r): Remove flags argument. Adjust call
3217 to _nss_nisplus_parse_hostent.
3218 (_nss_nisplus_gethostbyname2_r): Adjust call to
3219 internal_gethostbyname2_r.
3220 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
3221 Adjust call to internal_gethostbyname2_r.
3222 (_nss_nisplus_gethostbyaddr_r): Adjust call to
3223 _nss_nisplus_parse_hostent.
3224 (_nss_nisplus_gethostbyname4_r): Adjust call to
3225 internal_gethostbyname2_r.
3227 2019-05-16 Florian Weimer <fweimer@redhat.com>
3229 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
3231 (LINE_PARSER): Remove address mapping.
3232 (EXTRA_ARGS_VALUE): Remove flags argument.
3233 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
3234 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
3235 gethostbyname3_multi.
3236 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
3237 _nss_files_gethostbyname3_r.
3238 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
3240 2019-05-16 Florian Weimer <fweimer@redhat.com>
3242 * support/support_test_compare_blob.c (report_blob): Report
3243 incorrect NULL blobs.
3245 2019-05-15 Mark Wielaard <mark@klomp.org>
3248 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
3249 __libc_once_get (once) and static_buf == NULL.
3250 (__dlerror): Check we have a valid key, set result to static_buf
3253 2019-05-15 Andreas Schwab <schwab@suse.de>
3256 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
3257 __codecvt_do_length.
3258 * libio/Makefile (tests): Add tst-wfile-sync.
3259 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
3260 * libio/tst-wfile-sync.c: New file.
3261 * libio/tst-wfile-sync.input: New file.
3263 2019-05-15 Florian Weimer <fweimer@redhat.com>
3265 nss: Turn __nss_database_lookup into a compatibility symbol.
3266 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
3267 __nss_database_lookup.
3268 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
3269 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
3270 __nss_database_lookup.
3271 (__nss_next): Move to …
3272 * nss/compat-lookup.c (nss_next): … here. Change it to fail
3274 (__nss_database_lookup): New function.
3275 * nss/Versions (GLIBC_2.0): Update comment.
3276 (GLIBC_PRIVATE): Export __nss_database_lookup2.
3277 * grp/initgroups.c (internal_getgrouplist): Call
3278 __nss_database_lookup2 instead of __nss_database_lookup.
3279 * nscd/aicache.c (addhstaiX): Likewise.
3280 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3281 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3282 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
3283 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
3284 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
3286 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
3287 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
3288 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3290 2019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
3292 * support/support.h (support_install_rootsbindir): New variable.
3293 * support/support_paths.c: Likewise.
3294 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
3296 2019-05-15 Florian Weimer <fweimer@redhat.com>
3298 * iconv/gconv.h (__gconv_transliterate): Move declaration …
3299 * iconv/gconv_int.h (__gconv_transliterate): … here.
3300 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
3301 * iconv/skeleton.c: Likewise.
3303 2019-05-14 Florian Weimer <fweimer@redhat.com>
3305 Linux: Add the tgkill function.
3306 * bits/signal_ext.h: New file.
3307 * manual/signal.texi (Signaling Another Process): Document tgkill.
3308 * signal/Makefile (headers): Add bits/signal_ext.h.
3309 * signal/signal.h: Include <bits/signal_ext.h>.
3310 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
3311 (tst-tgkill): Link with libpthread.
3312 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
3313 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
3314 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
3315 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
3317 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3318 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3319 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
3320 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3321 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3322 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3323 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3324 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3325 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3326 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3327 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
3329 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3330 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3331 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
3338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
3340 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
3341 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3342 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3343 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3344 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3345 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3346 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3347 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3349 2019-05-14 Carlos O'Donell <carlos@redhat.com>
3351 * manual/search.texi (Tree Search Function): Adjust twalk_r
3354 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3357 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
3360 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
3361 * support/support.h (support_bindir_prefix): New variable.
3362 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
3364 * config.make.in (bindir): New variable.
3366 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
3367 (lll_trylock): Call __lll_trylock.
3368 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
3369 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
3370 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
3371 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3372 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
3373 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
3374 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3375 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3376 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
3377 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
3378 lowlevellock-futex.h.
3380 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
3381 initialization for LLL_LOCK_INITIALIZER different than 0.
3382 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
3383 Assume LLL_LOCK_INITIALIZER being 0.
3384 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
3385 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
3387 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
3388 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
3390 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
3391 Optimize futex call and add systemtap probe.
3393 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
3394 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
3395 __libc_disable_asynccancel, __librt_enable_asynccancel,
3396 __libc_disable_asynccancel, __librt_enable_asynccancel,
3397 __librt_disable_asynccancel): Move to ...
3398 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
3399 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
3400 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
3401 * sysdeps/generic/single-thread.h: New file.
3402 * sysdeps/unix/sysdep.h: Include single-thread.h.
3403 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
3404 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3406 2019-05-08 Mike FABIAN <mfabian@redhat.com>
3409 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
3410 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
3412 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
3413 * localedata/unicode-gen/PropList.txt: Likewise.
3414 * localedata/unicode-gen/UnicodeData.txt: Likewise.
3415 * localedata/charmaps/UTF-8: Regenerate.
3416 * localedata/locales/i18n_ctype: Likewise.
3417 * localedata/locales/tr_TR: Likewise.
3418 * localedata/locales/translit_circle: Likewise.
3419 * localedata/locales/translit_cjk_compat: Likewise.
3420 * localedata/locales/translit_combining: Likewise.
3421 * localedata/locales/translit_compat: Likewise.
3422 * localedata/locales/translit_font: Likewise.
3423 * localedata/locales/translit_fraction: Likewise.
3425 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
3428 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
3429 (do_set_tcache_count): Only update if count is small enough.
3430 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
3432 2019-05-10 Florian Weimer <fweimer@redhat.com>
3434 * nptl/sem_close.c (struct walk_closure): Define.
3435 (walker): Adjust for __twalk_r.
3436 (sem_close): Call __twalk_r.
3438 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3440 * support/timespec.c (test_timespec_before_impl,
3441 test_timespec_equal_or_after_impl): print timespec member as intmax_t
3444 2019-05-09 Mike Crowe <mac@mcrowe.com>
3446 * nptl/tst-abstime.c: Use libsupport.
3448 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
3449 small bug where only tv.tv_usec was checked which could cause an
3450 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
3453 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
3456 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
3457 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
3459 * nptl/tst-cond11.c: Use libsupport.
3461 * support/timespec.h: New file. Provide timespec helper functions
3462 along with macros in the style of those in check.h.
3463 * support/timespec.c: New file. Implement check functions declared
3464 in support/timespec.h.
3465 * support/timespec-add.c: New file from gnulib containing
3466 timespec_add implementation that handles overflow.
3467 * support/timespec-sub.c: New file from gnulib containing
3468 timespec_sub implementation that handles overflow.
3469 * support/README: Mention timespec.h.
3471 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3474 * nptl/Makefile: Move tst-eintr1 to xtests.
3476 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3478 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
3480 (round_mode): Add definition for TRUNC.
3481 * sysdeps/powerpc/fpu/s_trunc.c: New file.
3482 * sysdeps/powerpc/fpu/s_truncf.c: New file.
3483 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
3484 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3485 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
3487 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
3489 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
3491 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
3493 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
3495 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
3497 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
3499 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
3501 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
3502 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
3503 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
3504 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
3505 s_truncf-power5+, and s_truncf-ppc64.
3506 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
3507 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
3509 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
3510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
3511 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
3512 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
3514 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
3516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
3517 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
3518 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3519 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
3520 s_truncf-power5+, and s_truncf-ppc64.
3521 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
3523 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
3524 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
3526 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
3527 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3528 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3529 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
3530 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
3532 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
3534 (round_mode): Add definition for ROUND.
3535 (round_to_integer_float): Likewise.
3536 * sysdeps/powerpc/fpu/s_round.c: New file.
3537 * sysdeps/powerpc/fpu/s_roundf.c: New file.
3538 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
3539 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3540 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
3542 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
3544 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
3546 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
3548 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
3550 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
3552 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
3554 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
3556 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
3557 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
3558 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
3559 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
3560 s_roundf-power5+, and s_roundf-ppc64.
3561 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
3562 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
3564 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
3565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
3566 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
3567 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
3569 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
3571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
3572 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
3573 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3574 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
3575 s_roundf-power5+, and s_roundf-ppc64.
3576 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
3578 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
3579 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
3581 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
3582 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3583 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3584 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
3585 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
3587 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
3589 (round_mode): Add definition for FLOOR.
3590 * sysdeps/powerpc/fpu/s_floor.c: New file.
3591 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
3592 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
3593 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
3596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
3598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
3600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
3602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
3604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
3606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
3608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
3610 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
3611 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
3612 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3613 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
3614 s_floorf-power5+, and s_floorf-ppc64.
3615 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
3616 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
3618 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
3619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
3620 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
3621 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
3623 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
3625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
3626 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
3627 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3628 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
3629 s_floorf-power5+, and s_floorf-ppc64.
3630 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
3632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
3634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
3636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
3638 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3639 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3640 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
3641 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
3643 2019-05-08 Mike Crowe <mac@mcrowe.com>
3645 * support/xclock_gettime.c (xclock_gettime): New file. Provide
3646 clock_gettime wrapper for use in tests that fails the test rather
3647 than returning failure.
3649 * support/xtime.h: New file to declare xclock_gettime.
3651 * support/Makefile: Add xclock_gettime.c.
3653 * support/README: Mention xtime.h.
3655 2019-05-08 Florian Weimer <fweimer@redhat.com>
3657 malloc/tst-mallocfork2: Use process-shared barriers.
3658 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
3659 (signal_count, sigusr1_sender_pid): Remove.
3660 (iterations): Define constant.
3661 (shared): New variable.
3662 (sigusr1_received): Update comment.
3663 (sigusr1_handler): Do not send SIGSTOP to the sender process.
3664 (signal_sender): Optional use barriers to avoid sending signals
3665 during irrelevant times.
3666 (do_it): Initialize variable shared. Use xfork for error
3667 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
3668 the iteration count, independent of signal delivery. Check for
3669 deadlocks in fork. Introduce barriers for reducing signal
3670 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
3671 replaced by the barriers. Count signals during fork/free/malloc
3673 * malloc/Makefile (tst-mallocfork): Link with libpthread.
3675 2019-05-07 Joseph Myers <joseph@codesourcery.com>
3677 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3679 (clock_adjtime64) New syscall.
3680 (clock_getres_time64) Likewise.
3681 (clock_gettime64) Likewise.
3682 (clock_nanosleep_time64) Likewise.
3683 (clock_settime64) Likewise.
3684 (futex_time64) Likewise.
3685 (io_pgetevents_time64) Likewise.
3686 (io_uring_enter) Likewise.
3687 (io_uring_register) Likewise.
3688 (io_uring_setup) Likewise.
3689 (mq_timedreceive_time64) Likewise.
3690 (mq_timedsend_time64) Likewise.
3691 (pidfd_send_signal) Likewise.
3692 (ppoll_time64) Likewise.
3693 (pselect6_time64) Likewise.
3694 (recvmmsg_time64) Likewise.
3695 (rt_sigtimedwait_time64) Likewise.
3696 (sched_rr_get_interval_time64) Likewise.
3697 (semtimedop_time64) Likewise.
3698 (timer_gettime64) Likewise.
3699 (timer_settime64) Likewise.
3700 (timerfd_gettime64) Likewise.
3701 (timerfd_settime64) Likewise.
3702 (utimensat_time64) Likewise.
3704 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
3705 version to 9 branch.
3707 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
3709 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
3710 __memmove_thunderx2 to the list of implementations
3711 * sysdeps/aarch64/multiarch/memmove.c: Likewise
3712 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
3713 (__memmove_thunderx2): Rewritten using SIMD ld/st
3714 (__memcpy_thunderx2): Fixed handling overlapping cases.
3715 Used ldp/stp instead of ldr/str if possible. Made loops
3718 2019-05-03 Florian Weimer <fweimer@redhat.com>
3720 * misc/tst-tsearch.c (walk_tree): Add more error checking.
3722 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3725 * elf/tst-pldd.c (in_str_list): New function.
3726 (do_test): Add default names for ld and libc as one option.
3728 2019-05-02 Florian Weimer <fweimer@redhat.com>
3730 misc: Add twalk_r function.
3731 * include/search.h (__twalk_r): Declare.
3732 * manual/examples/twalk.c: New file.
3733 * manual/search.texi (Tree Search Function): Document twalk_r.
3734 * misc/Versions (2.30): Export twalk_r.
3735 (GLIBC_PRIVATE): Export __twalk_r.
3736 * misc/search.h [__USE_GNU] (twalk_r): Declare.
3737 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
3738 (twalk_r): Add weak alias.
3739 * misc/tst-tsearch.c (struct walk_trace_element): Define.
3740 (walk_trace): New variable.
3741 (struct twalk_with_twalk_r_closure): Define.
3742 (twalk_with_twalk_r_action): New function.
3743 (twalk_with_twalk_r): Likewise.
3744 (walk_action): Call walk_trace_add.
3745 (walk_tree_with): Rename from walk_tree. Add walk argument.
3746 (walk_tree): New function.
3747 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
3748 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
3750 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3752 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3753 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
3754 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
3755 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
3756 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
3757 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3759 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3761 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3763 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3764 (GLIBC_2.30): Likewise.
3765 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3766 (GLIBC_2.30): Likewise.
3767 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3768 (GLIBC_2.30): Likewise.
3769 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3770 (GLIBC_2.30): Likewise.
3771 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3774 (GLIBC_2.30): Likewise.
3775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3776 (GLIBC_2.30): Likewise.
3777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3778 (GLIBC_2.30): Likewise.
3779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3780 (GLIBC_2.30): Likewise.
3781 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3783 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3785 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3787 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3788 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3790 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3792 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3794 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3797 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
3799 Make mktime etc. compatible with __time64_t
3800 Keep these functions compatible with Gnulib while adding
3801 __time64_t support. The basic idea is to move private API
3802 declarations from include/time.h to time/mktime-internal.h, since
3803 the former file cannot easily be shared with Gnulib whereas the
3805 Also, do some other minor cleanup while in the neighborhood.
3806 * include/time.h: Include stdbool.h, time/mktime-internal.h.
3807 (__mktime_internal): Move this prototype to time/mktime-internal.h,
3808 since Gnulib needs it.
3809 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
3810 Move these macros to time/mktime-internal.h, since Gnulib needs them.
3811 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
3812 (in_time_t_range): New static function.
3813 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
3814 so that glibc users are not tempted to use __time64_t.
3815 * time/mktime-internal.h: Rewrite so that it does both glibc
3816 and Gnulib work. Include time.h if not _LIBC.
3817 (mktime_offset_t) [!_LIBC]: Define for gnulib.
3818 (__time64_t): New type or macro, moved here from
3820 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
3821 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
3822 from include/time.h.
3823 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
3824 New macros, taken from GNulib.
3825 (__mktime_internal): New prototype, moved here from include/time.h.
3826 * time/mktime.c (mktime_min, mktime_max, convert_time)
3827 (ranged_convert, __mktime_internal, __mktime64):
3828 * time/timegm.c (__timegm64):
3829 Use __time64_t, not time_t.
3830 * time/mktime.c: Stop worrying about whether time_t is floating-point.
3831 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
3833 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
3834 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
3835 for libc_hidden_def.
3837 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
3839 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
3841 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
3844 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
3845 from `-Wmaybe-uninitialized'.
3846 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
3848 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3850 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
3852 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
3853 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
3854 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
3855 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
3856 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
3857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3858 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
3859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
3861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
3863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
3865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
3867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
3869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
3871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
3873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
3875 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
3876 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
3877 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
3878 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
3880 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
3882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
3883 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
3884 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
3886 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
3888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
3889 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
3891 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3892 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
3893 s_ceilf-power5+, and s_ceilf-ppc64.
3894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
3896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
3897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
3898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
3899 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
3900 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
3901 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
3902 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
3904 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
3905 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
3906 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
3908 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
3910 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
3911 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
3912 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
3913 (sem_getvalue): Likewise.
3915 2019-04-26 Florian Weimer <fweimer@redhat.com>
3917 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
3918 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
3920 2019-04-26 Florian Weimer <fweimer@redhat.com>
3922 Makeconfig: Move -Wl,-rpath-link options before library references.
3923 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
3924 (link-libc): Remove $(link-libc-rpath-link).
3926 2019-04-25 Florian Weimer <fweimer@redhat.com>
3928 * Makeconfig (+link-pie-before-libc): Remove $(CC).
3929 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
3930 (+link-static-before-libc): Remove $(CC).
3931 (+link-static, +link-static-tests): Add $(CC).
3932 (+link-before-libc): Remove $(CC).
3933 (+link, +link-pie, +link-pie-printers): Add $(CC).
3935 2019-04-26 Florian Weimer <fweimer@redhat.com>
3937 * Makeconfig (+link-pie-before-libc): Remove $(CC).
3938 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
3939 (+link-static-before-libc): Remove $(CC).
3940 (+link-static, +link-static-tests): Add $(CC).
3941 (+link-before-libc): Remove $(CC).
3942 (+link, +link-pie, +link-pie-printers): Add $(CC).
3944 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
3947 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
3949 2019-04-25 Florian Weimer <fweimer@redhat.com>
3951 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
3952 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
3953 (bench-link-targets): New variable.
3954 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
3956 2019-04-25 Florian Weimer <fweimer@redhat.com>
3958 Also enable BIND_NOW for programs if --enable-bind-now.
3959 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
3960 (+link-pie): Use $(link-extra-flags).
3961 (+link-static): Likewise.
3962 [! $(build-pie-default)] (+link): Likewise.
3963 * manual/install.texi (Configuring and compiling): Update
3964 --enable-bind-now description.
3965 * INSTALL: Regenerated.
3967 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
3969 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
3970 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
3972 2019-04-24 Mike Frysinger <vapier@gentoo.org>
3975 * malloc/Makefile (others): Add memusagestat.
3976 ($(objpfx)memusagestat): Delete rule.
3977 (LDLIBS-memusagestat): New variable.
3979 2019-04-24 Florian Weimer <fweimer@redhat.com>
3981 * locale/Makefile (tests-special): Guard setting by
3982 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
3983 to run while cross-compiling.
3985 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3988 * elf/Makefile (tests-container): Add tst-pldd.
3989 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
3990 (E(find_maps)): Avoid use alloca, use default read file operations
3991 instead of explicit LFS names, and fix infinite loop.
3992 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
3993 (get_process_info): Use _Static_assert instead of assert, use default
3994 directory operations instead of explicit LFS names, and free some
3996 * elf/tst-pldd.c: New file.
3998 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
4000 * malloc/arena.c (do_set_mallopt_check): Removed.
4002 2019-04-23 Florian Weimer <fweimer@redhat.com>
4004 locale: Add LOCPATH diagnostics to the locale program.
4005 * locale/programs/locale.c (setlocale_failed): New variable.
4006 (try_setlocale): New function.
4007 (quote_string): Likewise.
4008 (setlocale_diagnostics): Likewise.
4009 (main): Call try_setlocale instead of setlocale. Call
4010 setlocale_diagnostics.
4011 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
4012 (tst-locale-locpath.out): New target.
4013 * locale/tst-locale-locpath.sh: New file.
4015 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4017 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
4020 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4023 * malloc/hooks.c (malloc_check, realloc_check): Use
4024 __builtin_add_overflow on overflow check and adapt to
4025 checked_request2size change.
4026 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
4027 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
4028 allocation size to PTRDIFF_MAX.
4029 (REQUEST_OUT_OF_RANGE): Remove macro.
4030 (checked_request2size): Change to inline function and limit maximum
4031 requested size to PTRDIFF_MAX.
4032 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
4033 maximum allocation size to PTRDIFF_MAX.
4034 (_mid_memalign): Use _int_memalign call for overflow check.
4035 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
4036 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
4037 limit maximum requested size to PTRDIFF_MAX.
4038 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
4039 valloc, pvalloc): Add __attribute_alloc_size__.
4040 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
4041 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
4042 larger than PTRDIFF_MAX.
4043 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
4044 around tests of malloc with negative sizes.
4045 * malloc/tst-posix_memalign.c (do_test): Likewise.
4046 * malloc/tst-pvalloc.c (do_test): Likewise.
4047 * malloc/tst-valloc.c (do_test): Likewise.
4048 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
4049 with resulting size allocation larger than PTRDIFF_MAX with
4050 reallocarray_nowarn.
4051 (reallocarray_nowarn): New function.
4052 * NEWS: Mention the malloc function semantic change.
4054 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4056 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
4057 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4059 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
4060 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
4061 * sysdeps/powerpc/fpu/s_fma.c: New file.
4062 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4064 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
4065 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
4067 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
4068 the magic flag store.
4069 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
4071 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
4073 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
4074 Remove rt_sigreturn call.
4076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4077 Remove rt_sigreturn call.
4078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
4081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4083 * support/Makefile (libsupport-routines): Add support_subprocess,
4084 xposix_spawn, xposix_spawn_file_actions_addclose, and
4085 xposix_spawn_file_actions_adddup2.
4086 (tst-support_capture_subprocess-ARGS): New rule.
4087 * support/capture_subprocess.h (support_capture_subprogram): New
4089 * support/support_capture_subprocess.c (support_capture_subprocess):
4090 Refactor to use support_subprocess and support_capture_poll.
4091 (support_capture_subprogram): New function.
4092 * support/tst-support_capture_subprocess.c (write_mode_to_str,
4093 str_to_write_mode, test_common, parse_int, handle_restart,
4094 do_subprocess, do_subprogram, do_multiple_tests): New functions.
4095 (do_test): Add support_capture_subprogram tests.
4096 * support/subprocess.h: New file.
4097 * support/support_subprocess.c: Likewise.
4098 * support/xposix_spawn.c: Likewise.
4099 * support/xposix_spawn_file_actions_addclose.c: Likewise.
4100 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
4101 * support/xspawn.h: Likewise.
4103 2019-04-17 Mike Gerow <gerow@google.com>
4105 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
4108 2019-04-11 Florian Weimer <fweimer@redhat.com>
4110 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
4111 domain with empty string.
4112 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4114 2019-04-11 Florian Weimer <fweimer@redhat.com>
4116 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
4118 (alloc_buffer_next): Change return type to non-const. Update
4121 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
4123 * manual/time.texi (Formatting Calendar Time): Add missing percent
4124 sign to conversion specifier.
4126 2019-04-09 Carlos O'Donell <carlos@redhat.com>
4127 Kwok Cheung Yeung <kcy@codesourcery.com>
4130 * malloc/mtrace.c: Define prototypes for all hooks.
4131 (set_default_hooks): New function.
4132 (set_trace_hooks): Likewise.
4133 (save_default_hooks): Likewise.
4134 (tr_freehook): Use new s*_hooks functions.
4135 (tr_mallochook): Likewise.
4136 (tr_reallochook): Likewise.
4137 (tr_memalignhook): Likewise.
4139 (muntrace): Likewise.
4141 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4143 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
4144 (generic_stpcpy): New function.
4145 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
4146 (generic_stpncpy): New function.
4147 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
4148 (generic_strcat): New function.
4149 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
4150 (generic_strcpy): New function.
4151 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
4152 (STUPID_STRNCAT): Remove function.
4153 (generic_strncat): New function.
4154 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
4155 (STUPID_STRNCPY): Remove function.
4156 (generic_strncpy): New function.
4157 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
4158 (generic_strnlen): New function.
4159 (memchr_strnlen): New function.
4160 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
4161 (memchr_strlen): Likewise.
4163 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4165 * benchtests/bench-strstr.c (input): Add realistic input text.
4166 (stupid_strstr): Remove function.
4167 (basic_strstr): Add function.
4168 (twoway_strstr): Add function.
4169 (do_one_test): Add result checking.
4170 (do_test): Use new input text. Remove accidental early matches.
4171 (test_main): Improve range of tests, reduce unaligned cases.
4173 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4175 * benchtests/bench-memmem.c (simple_memmem): Remove function.
4176 (basic_memmem): Add function.
4177 (twoway_memmem): Add function.
4179 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4181 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
4182 * benchtests/bench-malloc-thread.c: Likewise.
4183 * benchtests/bench-skeleton.c: Likewise.
4184 * benchtests/bench-strtod.c: Likewise.
4185 * benchtests/bench-timing.h: Likewise.
4187 2019-04-08 Florian Weimer <fweimer@redhat.com>
4189 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
4191 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
4192 RES_INSECURE2 security checks.
4193 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
4194 RES_INSECURE2 handling.
4196 2019-04-08 Florian Weimer <fweimer@redhat.com>
4198 resolv: Remove support for RES_USE_INET6 and the inet6 option.
4199 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
4200 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
4202 * resolv/Makefile (tests): Remove tst-res_use_inet6.
4203 (tests-internal): Update justification for tst-resolv-res_init,
4204 tst-resolv-res_init-thread.
4205 (tst-res_use_inet6): Remove target.
4206 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
4207 * resolv/res_debug.c (p_option): Remove "inet6" support.
4208 * resolv/res_init.c (res_setoptions): Likewise.
4209 * resolv/res_use_inet6.h: Remove file.
4210 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
4212 (res_use_inet6): Always return false.
4213 * resolv/resolv.h (RES_USE_INET6): Remove definition.
4214 * resolv/resolv_context.h: Adjust file comment.
4215 (struct resolv_context): Update comment on __next field.
4216 (__resolv_context_put): Update comment.
4217 * resolv/tst-res_use_inet6.c: Remove file.
4218 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
4220 (test_cases): Adjust test case.
4221 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
4222 (thread_byname2_af_inet6): Use old byname_inet6 code.
4223 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
4224 (gai): Remove do_inet6 argument.
4225 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
4226 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
4227 (thread_gai_unspec_inet6): Remove functions.
4228 (do_test): Adjust thread_funcs.
4229 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
4231 (gaih_inet): Do not disable RES_USE_INET6 flag.
4233 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4235 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
4236 and remove redundant code.
4238 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4240 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
4242 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
4243 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
4245 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
4247 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
4249 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4250 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
4251 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
4252 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
4253 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4254 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
4255 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4256 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
4258 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
4259 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4260 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4261 Remove wcsrchr optimizations.
4262 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4264 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
4267 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
4269 * sysdeps/powerpc/power6/wcschr.c: Remove file.
4270 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
4272 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
4274 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
4276 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4277 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
4278 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
4279 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
4280 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4281 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
4282 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4283 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
4285 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
4286 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4287 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4288 Remove wcschr optimizations.
4289 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4291 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
4294 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
4296 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
4297 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
4299 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
4301 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
4303 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4304 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
4305 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
4306 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
4307 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4308 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
4309 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4310 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
4312 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
4313 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4314 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4315 Remove wcscpy optimizations.
4316 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4318 * include/loop_unroll.h: New file.
4319 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
4320 besides generic implementation.
4322 2019-04-03 DJ Delorie <dj@redhat.com>
4324 * time/tst-strftime3.c (tm_to_printed): Disable warning about
4325 snprintf truncating output.
4327 2019-04-02 DJ Delorie <dj@redhat.com>
4329 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
4332 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
4335 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
4337 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
4338 (mkreftable): Add rules for the new Japanese era and the new dates.
4340 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
4341 Rafal Luzynski <digitalfreak@lingonborough.com>
4343 * time/tst-strftime2.c (date_t): Explicitly define the type.
4344 (dates): Use natural month and year numbers to express a date.
4345 (is_before): New function to compare dates.
4346 (mkreftable): Minor improvements to simplify maintenance.
4347 (do_test): Reflect the changes in dates array.
4350 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
4351 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
4352 * time/tst-strftime2.c (locales): Likewise.
4353 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
4354 2010-04-01, and 2011-04-01.
4355 (mkreftable): Add rules for the new locales and the new dates.
4357 2019-04-01 Carlos O'Donell <carlos@redhat.com>
4359 * localedata/locales/ja_JP: Add comments to era entries.
4361 2019-04-01 DJ Delorie <dj@redhat.com>
4364 * time/strptime_l.c (%Ey): Fix fencepost error.
4365 * time/tst-strftime3.c: New.
4366 * time/Makefile (tests): Add tst-strftime3.
4368 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
4370 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
4371 conditional branch to DIVBYZERO. Fix unwind info.
4372 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
4373 excb after conditional branch to $powerof2. Add missing unop
4374 instructions and .align directives and reorder instructions to
4377 2019-04-01 Richard Henderson <rth@twiddle.net>
4379 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
4381 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
4384 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
4386 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
4387 $libc_cv_riscv_float_abi in `test' invocation.
4388 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
4390 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
4392 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
4394 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
4396 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4397 (_GET_SI_FPSCR): Likewise.
4398 (_SET_SI_FPSCR): Likewise.
4400 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4402 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
4404 (signbit): Use builtin for clang 3.3.
4405 (isinf): Use builtin for clang 3.7.
4407 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4409 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
4411 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
4413 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
4416 2019-03-25 Mike Crowe <mac@mcrowe.com>
4418 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
4419 pthread_rwlock_timedrdlock with calls to
4420 pthread_rwlock_timedwrlock to ensure that the latter is tested
4421 too. Use new function name in diagnostic messages too.
4423 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
4424 (do_test) Use libsupport test macros rather than hand-coded
4425 conditionals and error messages. Ensure that sem_init returns zero
4426 rather than not -1. Use <support/test-driver.c> rather than
4429 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
4430 test macros rather than hand-coded conditionals and error messages.
4431 Use <support/test-driver.c> rather than test-skeleton.c.
4433 2019-03-25 Joseph Myers <joseph@codesourcery.com>
4435 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
4437 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
4438 (NT_MIPS_MSA): Likewise.
4440 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4442 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
4443 * benchtests/README: Update description.
4444 * benchtests/bench-timing.h: Default to hp-timing.
4445 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
4446 HP_TIMING_PRINT): Remove.
4447 (HP_TIMING_NOW): Add generic implementation.
4448 (hp_timing_t): Change to uint64_t.
4450 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
4452 * nptl/descr.h: Likewise.
4453 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
4454 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
4455 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
4456 Abstract hp-timing usage with RTLD_* macros.
4457 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
4458 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
4459 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
4460 HP_TIMING_NONAVAIL): Likewise.
4461 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
4463 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
4464 HP_SMALL_TIMING_AVAIL): Likewise.
4465 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
4466 HP_SMALL_TIMING_AVAIL): Likewise.
4467 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
4468 HP_SMALL_TIMING_AVAIL): Likewise.
4469 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
4470 HP_SMALL_TIMING_AVAIL): Likewise.
4471 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
4473 * sysdeps/generic/hp-timing-common.h: Update comment with
4474 HP_TIMING_AVAIL removal.
4476 * include/random-bits.h: New file.
4477 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
4478 (__res_context_mkquery): Remove usage hp-timing usage and replace with
4480 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
4481 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
4484 * include/libc-internal.h (__get_clockfreq): Remove prototype.
4485 * rt/Makefile (clock-routines): Remove get_clockfreq.
4486 * rt/get_clockfreq.c: Remove file.
4487 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
4488 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
4489 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
4490 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
4491 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
4493 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
4494 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
4495 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
4496 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
4497 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
4499 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
4500 pthread_clock_settime.
4501 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
4502 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
4503 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
4504 * elf/rtld.c (_dl_start_final): Likewise.
4505 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
4506 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
4508 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
4509 (_dl_cpuclock_offset): Remove.
4510 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
4511 cpuclock_offset_ununsed.
4512 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
4513 cpuclock_offset set.
4514 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
4515 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4516 * nptl/pthread_clock_gettime.c: Remove file.
4517 * nptl/pthread_clock_settime.c: Likewise.
4518 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
4519 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
4520 and CLOCK_PROCESS_CPUTIME_ID support.
4521 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
4522 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
4523 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
4524 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
4525 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
4527 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
4529 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4531 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
4532 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
4533 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
4535 * sysdeps/s390/memmem-arch13.S: New file.
4536 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
4537 if it is only used as fallback.
4538 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
4539 * sysdeps/s390/multiarch/ifunc-impl-list.c
4540 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
4542 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4544 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
4545 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
4546 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
4548 * sysdeps/s390/multiarch/ifunc-impl-list.c
4549 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
4550 * sysdeps/s390/strstr-arch13.S: New file.
4551 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
4552 if it is only used as fallback.
4553 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
4555 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4557 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
4558 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
4559 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
4560 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
4562 * sysdeps/s390/multiarch/ifunc-impl-list.c
4563 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
4564 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
4565 S390_IS_ARCH13_MIE3): New defines.
4567 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4569 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
4570 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
4571 * sysdeps/s390/configure.ac: Add checks for arch13 support.
4572 * sysdeps/s390/configure: Regenerated.
4574 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4576 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
4577 Add vxe2, vxp, dflt, sort flags.
4578 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
4579 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
4581 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
4582 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
4583 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
4584 HWCAP_S390_DFLT): Define.
4586 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4589 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
4590 of compiler warning.
4591 * locale/programs/ld-collate.c (collate_output): Likewise.
4593 2019-03-21 DJ Delorie <dj@redhat.com>
4596 * iconv/iconvconfig.c (write_output): Replace floating point math
4597 with integer math to avoid imprecise results.
4598 * locale/programs/ld-collate.c (collate_output): Likewise.
4600 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
4602 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
4603 Add HWCAP_S390_VX and HWCAP_S390_VXE.
4605 2019-03-20 mansayk <6688000@gmail.com>
4608 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
4609 (abday): Likewise, but remove the trailing dots.
4611 2019-03-19 Joseph Myers <joseph@codesourcery.com>
4613 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
4615 (HWCAP_PACA): Likewise.
4616 (HWCAP_PACG): Likewise.
4617 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
4619 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
4621 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4623 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
4626 2019-03-15 Joseph Myers <joseph@codesourcery.com>
4628 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4630 (old_getpagesize): New syscall.
4632 2019-03-15 Felix Yan <felixonmars@archlinux.org>
4635 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
4636 * localedata/locales/cmn_TW (era): Likewise.
4637 * localedata/locales/hak_TW (era): Likewise.
4638 * localedata/locales/lzh_TW (era): Likewise.
4639 * localedata/locales/nan_TW (era): Likewise.
4641 2019-03-14 Adam Maris <amaris@redhat.com>
4643 * malloc/malloc.c (_int_malloc): Check for large bin list
4644 corruption when inserting unsorted chunk.
4646 2019-03-14 Florian Weimer <fweimer@redhat.com>
4648 Remove obsolete, never-implemented XSI STREAMS declarations.
4649 * manual/terminal.texi (Allocation): Remove portability note and
4651 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
4653 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
4654 * sysdeps/unix/inet/Subdirs (streams): Remove.
4655 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
4656 (conformtest-headers-UNIX98): Likewise.
4657 (conformtest-headers-XOPEN2K): Likewise.
4658 (conformtest-headers-POSIX2008): Likewise.
4659 * posix/compat-streams.c: New file.
4660 * posix/Makefile (routines): Add it.
4661 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
4662 getpmsg, isastream, putmsg, putpmsg.
4663 (GLIBC_2.30): New section.
4664 * bits/stropts.h: Remove file.
4665 * bits/xtitypes.h: Likewise.
4666 * conform/data/stropts.h-data: Likewise.
4667 * include/stropts.h: Likewise.
4668 * include/sys/stropts.h: Likewise.
4669 * include/xtitypes.h: Likewise.
4670 * streams/Makefile: Likewise.
4671 * streams/fattach.c: Likewise.
4672 * streams/fdetach.c: Likewise.
4673 * streams/getmsg.c: Likewise.
4674 * streams/getpmsg.c: Likewise.
4675 * streams/isastream.c: Likewise.
4676 * streams/putmsg.c: Likewise.
4677 * streams/putpmsg.c: Likewise.
4678 * streams/stropts.h: Likewise.
4679 * streams/sys/stropts.h: Likewise.
4680 * sysdeps/ia64/bits/xtitypes.h: Likewise.
4681 * sysdeps/s390/bits/xtitypes.h: Likewise.
4682 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
4683 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
4684 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
4685 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
4686 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
4687 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
4688 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
4689 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
4690 * sysdeps/x86/bits/xtitypes.h: Likewise.
4692 2019-03-14 Florian Weimer <fweimer@redhat.com>
4694 * nss/tst-nss-files-alias-truncated.c (do_test): Load
4696 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
4697 but not with libnss_files.
4698 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
4700 2019-03-14 Zack Weinberg <zackw@panix.com>
4702 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
4703 Specify encoding="utf-8" when opening headers to check.
4705 2019-03-13 Joseph Myers <joseph@codesourcery.com>
4707 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4709 (Context.checkout_tar): Handle variable major version for Linux
4712 2019-03-13 Florian Weimer <fweimer@redhat.com>
4715 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
4717 2019-03-13 Zack Weinberg <zackw@panix.com>
4719 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
4721 * include/inttypes.h: Adjust to match.
4722 * include/stdint.h: New wrapper.
4724 2019-03-13 Zack Weinberg <zackw@panix.com>
4726 * scripts/check-obsolete-constructs.py: New test script.
4727 * scripts/check-installed-headers.sh: Remove tests for
4728 obsolete typedefs, superseded by check-obsolete-constructs.py.
4729 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
4730 as a special test. Update commentary.
4731 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
4732 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
4734 * posix/sys/types.h (__u_intN_t): Remove.
4735 (u_int8_t): Typedef using __uint8_t.
4736 (u_int16_t): Typedef using __uint16_t.
4737 (u_int32_t): Typedef using __uint32_t.
4738 (u_int64_t): Typedef using __uint64_t.
4740 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
4742 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
4744 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
4745 Ignore types other than AT_HWCAP.
4746 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
4747 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
4749 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
4750 in the case of falling back to generic output mechanism.
4751 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
4754 2019-03-12 Florian Weimer <fweimer@redhat.com>
4756 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
4758 2019-03-12 Florian Weimer <fweimer@redhat.com>
4761 resolv: Enable full ICMP errors for UDP DNS sockets
4762 * resolv/res_enable_icmp.c: New file.
4763 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
4764 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
4765 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
4768 2019-03-11 Mao Han <han_mao@c-sky.com>
4770 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
4771 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
4773 2019-03-11 Mao Han <han_mao@c-sky.com>
4775 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
4776 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
4777 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
4779 2019-03-11 Mao Han <han_mao@c-sky.com>
4781 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
4783 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
4786 2019-03-11 Mao Han <han_mao@c-sky.com>
4788 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
4789 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
4792 2019-03-08 Mike FABIAN <mfabian@redhat.com>
4795 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
4796 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
4798 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
4799 * localedata/unicode-gen/PropList.txt: Likewise.
4800 * localedata/unicode-gen/UnicodeData.txt: Likewise.
4801 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
4802 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
4803 * localedata/charmaps/UTF-8: Regenerate.
4804 * localedata/locales/i18n_ctype: Likewise.
4805 * localedata/locales/tr_TR: Likewise.
4806 * localedata/locales/translit_circle: Likewise.
4807 * localedata/locales/translit_cjk_compat: Likewise.
4808 * localedata/locales/translit_combining: Likewise.
4809 * localedata/locales/translit_compat: Likewise.
4810 * localedata/locales/translit_font: Likewise.
4811 * localedata/locales/translit_fraction: Likewise.
4813 2019-03-07 Joseph Myers <joseph@codesourcery.com>
4815 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
4816 than after operators.
4817 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
4818 (setitimer_locked): Likewise.
4819 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
4820 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
4821 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
4822 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
4823 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
4824 (PPC_CPU_SUPPORTED): Likewise.
4825 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
4826 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
4827 (stat_overflow): Likewise.
4828 (statfs_overflow): Likewise.
4829 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
4830 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
4831 (eq_ttyname_r): Likewise.
4832 (run_chroot_tests): Likewise.
4834 2019-03-07 Florian Weimer <fweimer@redhat.com>
4836 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
4839 2019-03-07 Martin Liska <mliska@suse.cz>
4841 * math/Makefile: Change location where math-vector-fortran.h is
4843 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
4844 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
4845 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
4846 * scripts/check-installed-headers.sh: Skip Fortran header files.
4847 * scripts/check-wrapper-headers.py: Likewise.
4849 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4851 * nptl/nptl-init.c (__have_futex_clock_realtime,
4852 __have_futex_clock_realtime): Remove definition.
4853 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
4854 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
4855 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
4856 __ASSUME_FUTEX_CLOCK_REALTIME support.
4857 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
4858 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4859 * sysdeps/unix/sysv/linux/kernel-features.h
4860 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
4861 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
4864 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4866 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
4867 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
4868 __GI___wcscpy and wcscpy.
4870 2019-03-04 Florian Weimer <fweimer@redhat.com>
4872 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
4874 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
4877 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
4879 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
4880 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4882 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
4885 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
4886 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
4888 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4890 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
4892 (do_test): Likewise.
4893 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
4894 (do_test_call_varg): Likewise.
4895 (do_test_call_rarg): Likewise.
4896 * sysdeps/ieee754/ldbl-opt/Makefile
4897 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
4899 ($(objpfx)tst-nldbl-warn.c): New rule.
4900 ($(objpfx)tst-nldbl-error.c): Likewise.
4901 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
4904 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4907 * include/bits/error-ldbl.h: New file.
4908 * include/error.h: Include stdarg.h. Declare internal functions
4909 __error_internal and __error_at_line_internal.
4910 * misc/Makefile (headers): Add bits/error-ldbl.h.
4911 * misc/bits/error-ldbl.h: New file.
4912 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
4913 avoid the inclusion of bits/error.h.
4914 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
4915 and __nldbl_error_at_line.
4916 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
4917 (__nldbl_error, __ndlbl_error_at_line): New functions.
4918 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
4919 Redirect error and error_at_line.
4920 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
4921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4929 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4930 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4931 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4933 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4936 * include/bits/err-ldbl.h: New file.
4937 * include/err.h: Add prototypes for the internal functions:
4938 __vwarnx_internal and __vwarn_internal.
4939 * misc/Makefile (headers): Add bits/err-ldbl.h.
4940 * misc/bits/err-ldbl.h: New file.
4941 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
4942 defined, i.e.: when -mlong-double-64 is in use.
4943 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
4944 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
4945 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
4946 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
4947 (VA_CALL): New macro.
4948 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
4949 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
4951 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
4952 declare prototypes for the new functions.
4953 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
4954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4962 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4963 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4964 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4966 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4968 * sysdeps/ieee754/ldbl-opt/Makefile
4969 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
4970 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
4971 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
4973 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4976 * argp/Makefile (headers): Add bits/argp-ldbl.h.
4977 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
4978 * argp/bits/argp-ldbl.h: New file.
4979 * include/argp.h: Include stdarg.h. Add prototypes for internal
4980 functions: __argp_error_internal and __argp_failure_internal.
4981 * include/bits/argp-ldbl.h: New file.
4982 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
4983 __nldbl_argp_error and __nldbl_argp_failure.
4984 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
4985 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
4986 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
4987 Redirect argp_error and argp_failure calls.
4988 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
4989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4997 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4998 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4999 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5001 2019-03-01 Florian Weimer <fweimer@redhat.com>
5004 * elf/tst-big-note-lib.S: Create a syntactically valid note.
5005 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
5006 code, to avoid creating an ABI tag note.
5007 (modules-names-nobuild): Add tst-big-note-lib.
5009 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
5011 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
5012 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
5014 2019-03-01 Florian Weimer <fweimer@redhat.com>
5017 * sysdeps/unix/sysv/linux/netlink_assert_response.c
5018 (__netlink_assert_response): Add additional missing newlines.
5020 2019-02-28 Joseph Myers <joseph@codesourcery.com>
5022 * sysdeps/powerpc/powerpc32/dl-machine.c
5023 (__elf_machine_fixup_plt): Use space before '('.
5024 (__process_machine_rela): Likewise.
5025 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
5027 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
5029 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
5031 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
5032 (pattern): Likewise.
5034 (check_result): Likewise.
5035 (check_excepts): Likewise.
5036 (check_op): Likewise.
5037 (fail_xr): Likewise.
5038 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
5039 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
5041 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
5044 (__makecontext): Likewise.
5045 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
5048 2019-02-28 Florian Weimer <fweimer@redhat.com>
5051 elf: Add test with a local IFUNC resolver.
5052 * elf/ifuncmain9.c: New file.
5053 * elf/ifuncmain9pic.c: Likewise.
5054 * elf/ifuncmain9picstatic.c: Likewise.
5055 * elf/ifuncmain9pie.c: Likewise.
5056 * elf/ifuncmain9static.c: Likewise.
5057 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
5058 ifuncmain9static, ifuncmain9picstatic.
5059 * elf/Makefile [multi-arch && build-shared] (tests-internal):
5060 Add ifuncmain9, ifuncmain9pic.
5061 * elf/Makefile [multi-arch && build-shared && have-fpie]
5062 (ifunc-pie-tests): Add ifuncmain9pie.
5063 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
5064 (CFLAGS-ifuncmain9picstatic.c): Likewise.
5065 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
5067 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
5069 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
5070 * configure: Regenerated.
5071 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
5073 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5075 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
5076 symbol as __wcspcy instead of wcscpy.
5078 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5080 * include/stdio.h (__renameat2): New hidden prototype.
5081 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
5082 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
5083 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
5084 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
5086 2019-02-27 Joseph Myers <joseph@codesourcery.com>
5088 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
5091 * benchtests/bench-strcpy.c (do_test): Use space before '('.
5092 * benchtests/bench-string.h (cmdline_process_function): Likewise.
5093 * benchtests/bench-strlen.c (do_test): Likewise.
5094 (test_main): Likewise.
5095 * catgets/gencat.c (read_old): Likewise.
5096 * elf/cache.c (load_aux_cache): Likewise.
5097 * iconvdata/bug-iconv8.c (do_test): Likewise.
5098 * math/test-tgmath-ret.c (do_test): Likewise.
5099 * nis/nis_call.c (rec_dirsearch): Likewise.
5100 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5101 * nptl/tst-audit-threads.c (do_test): Likewise.
5102 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
5103 * nss/nss_test1.c (init): Likewise.
5104 * nss/test-netdb.c (test_hosts): Likewise.
5105 * posix/execvpe.c (maybe_script_execute): Likewise.
5106 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
5107 * stdio-common/tst-printf.c (do_test): Likewise.
5108 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
5109 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
5110 * stdlib/qsort.c (STACK_SIZE): Likewise.
5111 * stdlib/test-canon.c (do_test): Likewise.
5112 * stdlib/tst-swapcontext1.c (do_test): Likewise.
5113 * string/memcmp.c (OPSIZ): Likewise.
5114 * string/test-strcpy.c (do_test): Likewise.
5115 (do_random_tests): Likewise.
5116 * string/test-strlen.c (do_test): Likewise.
5117 (test_main): Likewise.
5118 * string/test-strrchr.c (do_test): Likewise.
5119 (do_random_tests): Likewise.
5120 * string/tester.c (test_memrchr): Likewise.
5121 (test_memchr): Likewise.
5122 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
5123 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
5124 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
5125 (read_encoded_value_with_base): Likewise.
5126 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
5127 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
5128 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
5129 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
5130 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
5131 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
5133 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
5135 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
5136 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
5137 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
5139 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
5141 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
5143 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
5145 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
5146 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5147 (FP_XSTATE_MAGIC2_SIZE): Likewise.
5148 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
5149 * time/test_time.c (main): Likewise.
5151 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5153 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
5155 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
5158 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
5161 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
5163 * include/wchar.h (__wcscpy): New prototype.
5164 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
5165 (__wcscpy): Route internal symbol to generic implementation.
5166 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
5167 Add internal __wcscpy alias.
5168 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
5169 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
5170 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
5171 * wcsmbs/wcscpy.c (wcscpy): Add
5172 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
5173 use generic implementation.
5174 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
5176 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
5179 * sysdeps/m68k/wcpcpy.c: Remove file.
5180 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
5182 2019-02-26 Joseph Myers <joseph@codesourcery.com>
5184 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
5185 than after operators.
5186 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
5187 * sysdeps/mach/hurd/getcwd.c
5188 (__hurd_canonicalize_directory_name_internal): Likewise.
5189 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
5190 (pthread_mutex_consistent): Likewise.
5191 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
5193 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
5194 (__pthread_mutex_transfer_np): Likewise.
5195 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
5196 (__pthread_mutex_unlock): Likewise.
5197 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
5198 (mtx_owned_p): Likewise.
5199 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
5200 (pthread_mutexattr_getrobust): Likewise.
5201 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
5202 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
5204 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5205 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
5206 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
5207 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
5208 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
5209 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5210 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
5212 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
5214 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
5215 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
5216 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
5217 (____longjmp_chk): Likewise.
5218 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
5220 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5221 (INTERNAL_SYSCALL): Likewise.
5222 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5223 (INTERNAL_SYSCALL): Likewise.
5224 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5225 (__get_clockfreq_via_cpuinfo): Likewise.
5227 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
5229 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
5230 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
5231 (WORD_COPY_BWD): Likewise.
5232 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5233 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5235 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
5236 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
5238 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
5240 2019-02-25 Joseph Myers <joseph@codesourcery.com>
5242 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
5243 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
5244 rather than after operators.
5245 * elf/cache.c (print_cache): Likewise.
5246 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
5247 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
5248 * hurd/hurdinit.c (_hurd_setproc): Likewise.
5249 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
5250 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
5251 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
5252 (reauth_proc): Likewise.
5253 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
5254 (__file_name_split_at): Likewise.
5255 (__directory_name_split_at): Likewise.
5256 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
5257 * hurd/port2fd.c (_hurd_port2fd): Likewise.
5258 * iconv/gconv_dl.c (do_print): Likewise.
5259 * inet/netinet/in.h (struct sockaddr_in): Likewise.
5260 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
5261 * locale/setlocale.c (new_composite_name): Likewise.
5262 * malloc/memusagestat.c (main): Likewise.
5263 * misc/fstab.c (fstab_convert): Likewise.
5264 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
5266 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
5267 (getgrent_next_file): Likewise.
5268 (internal_getgrnam_r): Likewise.
5269 (internal_getgrgid_r): Likewise.
5270 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
5272 (internal_getgrent_r): Likewise.
5273 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
5274 (getpwent_next_nss): Likewise.
5275 (getpwent_next_file): Likewise.
5276 (internal_getpwnam_r): Likewise.
5277 (internal_getpwuid_r): Likewise.
5278 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
5280 (getspent_next_nss): Likewise.
5281 (internal_getspnam_r): Likewise.
5282 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
5283 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
5284 * string/strchr.c (STRCHR): Likewise.
5285 * string/strchrnul.c (STRCHRNUL): Likewise.
5286 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
5287 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5288 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
5289 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
5290 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
5292 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
5293 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
5294 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
5295 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
5296 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
5297 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
5298 (open_file): Likewise.
5299 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
5300 (pthread_mutexattr_setprotocol): Likewise.
5301 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5302 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
5303 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
5304 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
5305 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
5307 (elf_machine_rela): Likewise.
5308 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5309 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5310 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
5311 * sysdeps/posix/rename.c (rename): Likewise.
5312 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
5313 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
5314 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
5315 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
5316 * sysdeps/unix/grantpt.c (grantpt): Likewise.
5317 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
5318 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
5320 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
5322 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
5323 * time/tzfile.c (__tzfile_compute): Likewise.
5325 2019-02-22 Joseph Myers <joseph@codesourcery.com>
5327 * benchtests/bench-memmem.c (simple_memmem): Break lines before
5328 rather than after operators.
5329 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
5330 * crypt/md5.c (md5_finish_ctx): Likewise.
5331 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
5332 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
5333 * elf/cache.c (load_aux_cache): Likewise.
5334 * elf/dl-load.c (open_verify): Likewise.
5335 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
5336 * elf/readelflib.c (process_elf_file): Likewise.
5337 * elf/rtld.c (dl_main): Likewise.
5338 * elf/sprof.c (generate_call_graph): Likewise.
5339 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
5340 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
5341 * hurd/dtable.c (reauth_dtable): Likewise.
5342 * hurd/getdport.c (__getdport): Likewise.
5343 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
5344 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
5345 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
5347 * hurd/hurdioctl.c (fioctl): Likewise.
5348 * hurd/hurdselect.c (_hurd_select): Likewise.
5349 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
5350 (STOPSIGS): Likewise.
5351 * hurd/hurdstartup.c (_hurd_startup): Likewise.
5352 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
5353 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
5354 * hurd/msgportdemux.c (msgport_server): Likewise.
5355 * hurd/setauth.c (_hurd_setauth): Likewise.
5356 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
5357 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
5358 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
5359 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
5360 * login/tst-utmp.c (do_check): Likewise.
5361 (simulate_login): Likewise.
5362 * mach/lowlevellock.h (lll_lock): Likewise.
5363 (lll_trylock): Likewise.
5364 * math/test-fenv.c (ALL_EXC): Likewise.
5365 * math/test-fenvinline.c (ALL_EXC): Likewise.
5366 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
5367 * nis/nis_call.c (__do_niscall3): Likewise.
5368 * nis/nis_callback.c (cb_prog_1): Likewise.
5369 * nis/nis_defaults.c (searchaccess): Likewise.
5370 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5371 * nis/nis_ismember.c (internal_ismember): Likewise.
5372 * nis/nis_local_names.c (nis_local_principal): Likewise.
5373 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
5374 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
5376 * nis/ypclnt.c (yp_match): Likewise.
5377 (yp_first): Likewise.
5378 (yp_next): Likewise.
5379 (yp_master): Likewise.
5380 (yp_order): Likewise.
5381 * nscd/hstcache.c (cache_addhst): Likewise.
5382 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5383 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
5384 (internal_getpwuid_r): Likewise.
5385 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
5386 * posix/glob.h (__GLOB_FLAGS): Likewise.
5387 * posix/regcomp.c (peek_token): Likewise.
5388 (peek_token_bracket): Likewise.
5389 (parse_expression): Likewise.
5390 * posix/regexec.c (sift_states_iter_mb): Likewise.
5391 (check_node_accept_bytes): Likewise.
5392 * posix/tst-spawn3.c (do_test): Likewise.
5393 * posix/wordexp-test.c (testit): Likewise.
5394 * posix/wordexp.c (parse_tilde): Likewise.
5395 (exec_comm): Likewise.
5396 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
5397 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
5398 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
5399 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
5400 * stdio-common/tst-fileno.c (do_test): Likewise.
5401 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
5402 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
5403 * stdlib/strtod_l.c (round_and_return): Likewise.
5404 (____STRTOF_INTERNAL): Likewise.
5405 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
5406 * string/strcspn.c (STRCSPN): Likewise.
5407 * string/test-memmem.c (simple_memmem): Likewise.
5408 * termios/tcsetattr.c (tcsetattr): Likewise.
5409 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
5410 * time/asctime.c (asctime_internal): Likewise.
5411 * time/strptime_l.c (__strptime_internal): Likewise.
5412 * time/sys/time.h (timercmp): Likewise.
5413 * time/tzfile.c (__tzfile_compute): Likewise.
5415 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
5418 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
5420 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5422 * argp/argp-help.c (__argp_error_internal): New function,
5423 renamed from __argp_error, but that takes a 'mode_flags'
5424 parameter to control the format of long double parameters.
5425 (__argp_error): Converted into a call __argp_error_internal.
5426 (__argp_failure_internal): New function, renamed from
5427 __argp_failure, but that takes a 'mode_flags' parameter.
5428 (__argp_failure): Converted into a call __argp_failure_internal.
5429 * misc/err.c (__vwarnx_internal): New function, renamed from
5430 vwarnx, but that takes a 'mode_flags' parameter.
5431 (vwarnx): Converted into a call to __vwarnx_internal.
5432 (__vwarn_internal): New function, renamed from vwarn, but that
5433 takes a 'mode_flags' parameter.
5434 (vwarn): Converted into a call to __vwarn_internal.
5435 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
5436 call to __vfxprintf with 'mode_flags'.
5437 (__error_internal): New function, renamed from error, but that
5438 takes a 'mode_flags' parameter.
5439 (error): Converted into a call to __error_internal.
5440 (__error_at_line_internal): New function, renamed from
5441 error_at_line, but that takes a 'mode_flags' parameter.
5442 (error_at_line): Converted into a call to
5443 __error_at_line_internal.
5444 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
5445 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
5448 2019-02-20 Martin Liska <mliska@suse.cz>
5450 * math/Makefile: Install math-vector-fortran.h.
5451 * bits/math-vector-fortran.h: New file.
5452 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
5454 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5456 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
5457 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
5459 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
5461 * nptl/pthread_mutex_trylock.c: Fix comment.
5463 2019-02-19 Carlos O'Donell <carlos@redhat.com>
5465 * nptl/pthread_tryjoin.c: Fix comment.
5467 2019-02-18 Joseph Myers <joseph@codesourcery.com>
5470 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
5471 after R_SPARC_H34 case.
5473 2019-02-18 Florian Weimer <fweimer@redhat.com>
5475 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
5476 (getanswer): Do not call Dprintf.
5477 (res_gethostbyname2_context): Likewise.
5478 (res_gethostbyaddr_context): Likewise.
5480 2019-02-18 Florian Weimer <fweimer@redhat.com>
5482 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
5484 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
5486 * libio/stdfiles.c: Update comment.
5487 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
5488 set _IO_stdin, _IO_stdout, _IO_stderr.
5489 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
5490 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
5492 (_IO_deallocate_file): New inline function.
5493 * libio/iolibio.h (_IO_vprintf): Remove definition.
5494 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
5495 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
5496 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
5498 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
5499 __builtin_expect. Use _IO_legacy_file.
5501 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
5503 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
5504 Initialize ctid with a known value and remove update of ctid
5506 (wait_tid): Adjust arguments and call futex_wait with ctid_val
5507 as assumed current value of ctid_ptr.
5509 2019-02-16 Florian Weimer <fweimer@redhat.com>
5511 Check that non-sysdeps headers have wrapper headers.
5512 * scripts/check-wrapper-headers.py: New file.
5513 * Makefile (tests-special): Add check-wrapper-headers.out.
5514 (check-wrapper-headers.out): New target.
5515 * Rules (tests-special): Add check-wrapper-headers.out.
5516 (check-wrapper-headers.out): New target.
5518 2019-02-16 Florian Weimer <fweimer@redhat.com>
5520 Add missing header wrappers under include/.
5521 * include/ar.h: New file.
5522 * include/bits/mqueue2.h: Likewise.
5523 * include/bits/stdio.h: Likewise.
5524 * include/bits/stdio2.h: Likewise.
5525 * include/fstab.h: Likewise.
5526 * include/fts.h: Likewise.
5527 * include/lastlog.h: Likewise.
5528 * include/netinet/icmp6.h: Likewise.
5529 * include/netinet/igmp.h: Likewise.
5530 * include/netinet/ip6.h: Likewise.
5531 * include/re_comp.h: Likewise.
5532 * include/regexp.h: Likewise.
5533 * include/rpcsvc/bootparam.h: Likewise.
5534 * include/rpcsvc/yp_prot.h: Likewise.
5535 * include/sys/random.h: Likewise.
5536 * include/sys/stropts.h: Likewise.
5537 * include/sys/ttychars.h: Likewise.
5538 * include/sys/vfs.h: Likewise.
5539 * include/wait.h: Likewise.
5541 2019-02-16 Florian Weimer <fweimer@redhat.com>
5543 * nptl_db/proc_service.h: Move to ...
5544 * sysdeps/nptl/proc_service.h: ... here.
5545 * nptl_db/thread_db.h: Move to ...
5546 * sysdeps/nptl/thread_db.h: ... here.
5547 * nptl/descr.h: Include <thread_db.h>.
5549 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5551 * io/Makefile (tests): Add tst-lockf.
5552 * io/lockf.c (lockf): Use __fcntl and only define for
5553 !__OFF_T_MATCHES_OFF64_T.
5554 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
5555 __OFF_T_MATCHES_OFF64_T case.
5556 * io/tst-lockf.c: New file.
5557 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
5558 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
5559 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
5560 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
5561 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
5562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
5563 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
5564 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
5565 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
5567 2019-02-15 Florian Weimer <fweimer@redhat.com>
5570 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
5571 pd->result after the thread descriptor has been freed.
5573 2019-02-15 Joseph Myers <joseph@codesourcery.com>
5575 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
5576 from function return type.
5578 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
5580 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5582 * scripts/test_printers_common.py: Set TERM to a known harmless
5585 2019-02-14 Joseph Myers <joseph@codesourcery.com>
5587 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
5588 (xdr_u_int): Likewise.
5589 (xdr_enum): Likewise.
5590 (xdr_bytes): Reword fall-through comment.
5591 (xdr_string): Likewise.
5593 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5596 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
5597 (tests): Add tst-join8 tst-join9.
5598 * nptl/lll_timedwait_tid.c: Remove file.
5599 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
5600 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
5601 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
5602 * nptl/pthread_join_common.c (timedwait_tid): New function.
5603 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
5605 * nptl/tst-join5.c (thread_join): New function.
5606 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
5608 * nptl/tst-join8.c: New file.
5609 * nptl/tst-join9.c: Likewise.
5610 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
5611 lll_futex_timed_wait_cancel): Add generic macros.
5612 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
5614 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5615 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5616 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5617 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
5619 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
5621 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5622 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
5623 (lll_futex_timed_wait_cancel): New macro.
5625 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
5627 * benchtests/Makefile: Add malloc-simple benchmark.
5628 * benchtests/bench-malloc-simple.c: New benchmark.
5630 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
5632 * benchtests/bench-memmove.c (do_one_test): Remove unused
5635 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
5639 2019-01-13 Jim Wilson <jimw@sifive.com>
5642 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
5643 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
5645 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
5647 * nptl/Makefile (tests): Add tst-unwind-thread.
5648 (CFLAGS-tst-unwind-thread.c): Define.
5649 * nptl/tst-unwind-thread.c: New file.
5650 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
5653 2019-02-13 Joseph Myers <joseph@codesourcery.com>
5655 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
5657 * nis/nis_call.c (__do_niscall3): Likewise.
5659 * catgets/gencat.c (normalize_line): Use braces around empty
5661 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
5662 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
5663 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
5664 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
5665 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
5666 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
5667 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
5670 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
5673 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
5675 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
5676 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
5677 * benchtests/bench-strchr.c (stupid_strchr): Remove.
5678 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
5679 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
5680 * benchtests/bench-strlen.c (builtin_strlen): Remove.
5681 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
5682 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
5683 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
5684 * benchtests/bench-strspn.c (stupid_strspn): Remove.
5685 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
5686 * benchtests/bench-bcopy.c: Delete file.
5687 * benchtests/bench-bzero.c: Likewise.
5688 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
5689 (simple_memccpy): Remove.
5690 (generic_memccpy): Add function.
5691 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
5692 * benchtests/bench-memmove.c (simple_bcopy): Remove.
5693 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
5694 (generic_mempcpy): Add new function.
5695 * benchtests/bench-memset.c (simple_bzero): Remove.
5696 (builtin_bzero): Remove.
5697 (builtin_memset): Remove.
5698 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
5699 (generic_rawmemchr): Add new function.
5701 2019-02-12 Florian Weimer <fweimer@redhat.com>
5703 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
5705 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5708 * elf/Makefile (tests): Add tst-audit13.
5709 (modules-names): Add tst-audit13mod1.
5710 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
5712 * elf/tst-audit13.c: New file.
5713 * elf/tst-audit13mod1.c: Likewise.
5715 2019-02-12 Florian Weimer <fweimer@redhat.com>
5718 * elf/rtld.c (unload_audit_module): New function.
5719 (report_audit_module_load_error): Likewise.
5720 (load_audit_module): Likewise. Extracted from dl_main. Call
5721 _dl_close if the laversion symbol cannot be found. Use early
5722 returns for error handling. Add malloc error check. Check for a
5723 zero return value from la_version. Remove spurious comment about
5724 static TLS initialization. Remove useless casts.
5725 (notify_audit_modules_of_loaded_object): New function. Extracted
5727 (load_audit_module): Likewise.
5728 (dl_main): Call load_audit_modules.
5730 2019-02-12 Joseph Myers <joseph@codesourcery.com>
5732 * elf/dl-exception.c (_dl_exception_create_format): Add
5733 fall-through comments.
5734 * elf/ldconfig.c (parse_conf_include): Likewise.
5735 * elf/rtld.c (print_statistics): Likewise.
5736 * locale/programs/charmap.c (parse_charmap): Likewise.
5737 * misc/mntent_r.c (__getmntent_r): Likewise.
5738 * posix/wordexp.c (parse_arith): Likewise.
5739 (parse_backtick): Likewise.
5740 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
5741 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
5742 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5744 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
5746 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
5747 Use float instead of double.
5749 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
5751 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
5753 2019-02-08 Joseph Myers <joseph@codesourcery.com>
5755 * sysdeps/powerpc/bits/mathinline.h: Remove.
5757 2019-02-08 Florian Weimer <fweimer@redhat.com>
5759 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
5760 * math/bits/math-finite.h: Move to ...
5761 * bits/math-finite.h: ... here.
5763 2019-02-08 Florian Weimer <fweimer@redhat.com>
5765 * sysdeps/generic/bits/unistd_ext.h: Move to ...
5766 * bits/unistd_ext.h: here.
5768 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
5771 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
5772 * nss/tst-nss-files-hosts-long.c: New file.
5773 * nss/tst-nss-files-hosts-long.root: New directory.
5774 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
5775 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
5777 2019-02-08 Florian Weimer <fweimer@redhat.com>
5779 * include/bits/unistd_ext.h: Remove file.
5780 * posix/bits/unistd_ext.h: Move to ...
5781 * sysdeps/generic/bits/unistd_ext.h: ... here.
5783 2019-02-08 Florian Weimer <fweimer@redhat.com>
5785 * include/bits/unistd_ext.h: New file.
5787 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
5789 * time/tst-strftime2.c: Use array_length macros instead of magic
5792 2019-02-08 Florian Weimer <fweimer@redhat.com>
5795 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
5797 * nptl/register-atfork.c (__run_fork_handlers): Only perform
5798 locking if the new do_locking argument is true.
5799 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
5800 __run_fork_handlers.
5802 2019-02-08 Florian Weimer <fweimer@redhat.com>
5805 Linux: Add gettid system call wrapper.
5806 * posix/Makefile (headers): Add bits/unistd_ext.h.
5807 * posix/bits/unistd_ext.h: New file.
5808 * posix/unistd.h: Include it.
5809 * manual/process.texi (Process Identification): Document gettid.
5810 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
5811 tst-gettid, tst-gettid-kill.
5812 (tst-gettid): Link with $(shared-thread-library).
5813 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
5814 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
5815 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
5816 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
5817 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
5818 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
5820 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
5822 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
5823 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
5825 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
5827 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
5829 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
5831 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
5833 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
5835 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
5837 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5838 (GLIBC_2.30): Likewise.
5839 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5840 (GLIBC_2.30): Likewise.
5841 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5842 (GLIBC_2.30): Likewise.
5843 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5844 (GLIBC_2.30): Likewise.
5845 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
5847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5848 (GLIBC_2.30): Likewise.
5849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5850 (GLIBC_2.30): Likewise.
5851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
5852 (GLIBC_2.30): Likewise.
5853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
5854 (GLIBC_2.30): Likewise.
5855 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
5857 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
5859 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
5861 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
5862 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
5864 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
5866 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
5868 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
5870 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
5872 2019-02-08 Florian Weimer <fweimer@redhat.com>
5874 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
5875 compatibility symbols.
5877 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
5880 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5881 Add compiler barriers and comments.
5883 2019-02-07 Florian Weimer <fweimer@redhat.com>
5885 * include/array_length.h (array_length): Do not use a statement
5886 expression and _Static_assert, so that array_length can be used at
5887 file scope and as a constant expression.
5889 2019-02-07 Florian Weimer <fweimer@redhat.com>
5891 * support/xdlfcn.h (xdlmopen): Declare.
5892 * support/xdlmopen.c: New file.
5893 * support/Makefile (libsupport-routines): Add xdlmopen.
5895 2019-02-06 Joseph Myers <joseph@codesourcery.com>
5897 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
5898 before return type, without separate inline.
5899 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
5900 * elf/dl-tunables.h (tunable_is_name): Likewise.
5901 * malloc/malloc.c (do_set_trim_threshold): Likewise.
5902 (do_set_top_pad): Likewise.
5903 (do_set_mmap_threshold): Likewise.
5904 (do_set_mmaps_max): Likewise.
5905 (do_set_mallopt_check): Likewise.
5906 (do_set_perturb_byte): Likewise.
5907 (do_set_arena_test): Likewise.
5908 (do_set_arena_max): Likewise.
5909 (do_set_tcache_max): Likewise.
5910 (do_set_tcache_count): Likewise.
5911 (do_set_tcache_unsorted_limit): Likewise.
5912 * nis/nis_subr.c (count_dots): Likewise.
5913 * nptl/allocatestack.c (advise_stack_range): Likewise.
5914 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
5916 (reduce_sincos): Likewise.
5917 (do_sincos): Likewise.
5918 * sysdeps/unix/sysv/linux/x86/elision-conf.c
5919 (do_set_elision_enable): Likewise.
5920 (TUNABLE_CALLBACK_FNDECL): Likewise.
5922 2019-02-06 Florian Weimer <fweimer@redhat.com>
5924 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
5925 (xdlsym): Use dlerror to detect a NULL symbol.
5927 2019-02-06 Florian Weimer <fweimer@redhat.com>
5929 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
5931 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5933 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
5935 * libio/tst-bz24153.c (wide): Use wide char format specifier.
5937 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
5939 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
5940 __wmemcmp and weak alias to wmemcmp.
5942 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
5945 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
5946 TLS_TCB_AT_TP tls variant.
5947 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
5948 Add alignment checks.
5949 * support/Makefile (libsupport-routines): Add xposix_memalign and
5951 * support/support.h: Add xposix_memalign.
5952 * support/xthread.h: Add xpthread_attr_setstack.
5953 * support/xposix_memalign.c: New File.
5954 * support/xpthread_attr_setstack.c: Likewise.
5956 2019-02-05 Florian Weimer <fweimer@redhat.com>
5959 arm: Use "nr" constraint for Systemtap probes, to avoid the
5960 compiler using memory operands for constants, due to the "o"
5961 alternative in the default "nor" constraint.
5962 * include/stap-probe.h [USE_STAP_PROBE]: Include
5963 <stap-probe-machine.h>
5964 * sysdeps/generic/stap-probe-machine.h: New file.
5965 * sysdeps/arm/stap-probe-machine.h: Likewise.
5967 2019-02-04 Joseph Myers <joseph@codesourcery.com>
5969 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
5970 with 0, not tcache->entries[tc_idx].
5972 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
5975 2019-02-04 Andreas Schwab <schwab@suse.de>
5979 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
5980 looking up collating elements match against (wide) character
5981 sequence instead of name. Correct alignment adjustment.
5982 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
5983 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
5984 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
5985 (LOCALES): Add cs_CZ.ISO-8859-2.
5986 * posix/tst-fnmatch4.c: New file.
5987 * posix/tst-fnmatch5.c: New file.
5988 * include/wchar.h (__wmemcmp): Declare.
5989 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
5990 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
5991 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
5992 * sysdeps/s390/wmemcmp.c: Likewise.
5994 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
5998 * NEWS: Updated for CVE-2019-7309.
5999 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
6000 upper 32 bits of RDX register for x32. Use unsigned Jcc
6001 instructions, instead of signed.
6002 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
6003 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
6005 2019-02-04 Florian Weimer <fweimer@redhat.com>
6007 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
6008 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
6009 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
6011 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
6012 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
6013 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
6014 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
6016 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
6018 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
6020 (posix_spawn_file_actions_addopen): Likewise.
6021 (posix_spawn_file_actions_addclose): Likewise.
6022 (posix_spawn_file_actions_adddup2): Likewise.
6023 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
6025 (posix_spawn_file_actions_addfchdir_np): Likewise.
6027 2019-02-04 David Newall <glibc@davidnewall.com>
6029 elf: Implement --preload option for the dynamic linker.
6030 * elf/rtld.c (preloadarg): New variable.
6031 (handle_preload_list): Pass through “where” argument to
6033 (dl_main): Handle "--preload" and add second call to
6034 handle_preload_list.
6035 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
6036 (tst-rtld-preload-OBJS): Set variable.
6037 (tst-rtld-preload.out): New target.
6038 * elf/tst-rtld-preload.sh: New file.
6040 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
6042 * Makefile (testrun.sh): Exit in case of incorrect argument.
6044 2019-02-04 Florian Weimer <fweimer@redhat.com>
6046 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
6049 2019-02-03 Florian Weimer <fweimer@redhat.com>
6051 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
6052 implicit overflow checks.
6054 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
6056 * stdlib/isomac.c: Include <unistd.h>.
6058 2019-02-03 Florian Weimer <fweimer@redhat.com>
6060 * include/time.h (__tzfile_default): Use int, not long int, for
6062 * time/tzfile.c (struct ttinfo): Change type of the offset member
6064 (__tzfile_read): Remove useless cast.
6065 (__tzfile_default): Adjust prototype.
6066 * time/tzset.c (tz_rule): Change type of the offset member to int.
6067 (parse_offset): Change the type of the sign variable to int.
6069 2019-02-03 Florian Weimer <fweimer@redhat.com>
6072 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
6073 * libio/getchar.c (getchar): Likewise.
6074 * libio/getchar_u.c (getchar_unlocked): Likewise.
6075 * libio/getwchar.c (getwchar): Likewise.
6076 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6077 * libio/iogets.c (_IO_gets): Likewise.
6078 * libio/vscanf.c (_IO_vscanf): Likewise.
6079 * libio/vwscanf.c (__vwscanf): Likewise.
6080 * libio/tst-bz24153.c: New file.
6081 * libio/Makefile (tests): Add it.
6083 2019-02-02 Florian Weimer <fweimer@redhat.com>
6086 * manual/resource.texi (Basic Scheduling Functions): Add
6087 portability note. Change process to task throughout the section.
6088 Remove incorrect comment about sched_yield as it affects
6089 tasks/threads, not entire processes.
6090 * sysdeps/unix/sysv/linux/bits/posix_opt.h
6091 (_POSIX_PRIORITY_SCHEDULING): Update comment.
6093 2019-02-01 Joseph Myers <joseph@codesourcery.com>
6095 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
6096 * configure: Regenerated.
6097 * manual/install.texi (Tools for Compilation): Update minimum GCC
6099 * INSTALL: Regenerated.
6101 2019-02-01 Florian Weimer <fweimer@redhat.com>
6103 * support/support_test_compare_string.c
6104 (support_test_compare_string): Use "string" in error message.
6105 * support/tst-test_compare_string.c (do_test): Adjust.
6107 2019-02-01 Florian Weimer <fweimer@redhat.com>
6109 * support/support_format_address_family.c
6110 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
6112 2019-02-01 Florian Weimer <fweimer@redhat.com>
6114 * manual/socket.texi (Internet Address Formats): Clarify the byte
6115 order of struct sockaddr_in, struct sockaddr_in6. Document
6116 sin6_flowinfo and sin6_scope_id.
6118 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
6120 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
6121 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
6122 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
6123 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
6124 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
6125 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
6127 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6129 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
6130 [!MEMCHR](MEMCHR): Set to __memchr.
6131 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6132 Add memchr_generic and memchr_nosimd.
6133 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6134 (__libc_ifunc_impl_list): Add memchr ifuncs.
6135 * sysdeps/aarch64/multiarch/memchr.c: New file.
6136 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
6137 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
6139 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6141 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6143 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6144 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
6145 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
6146 Add IS_EMAG check for ifunc dispatch.
6147 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
6148 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
6150 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6152 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
6153 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6155 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
6158 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
6160 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
6162 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
6164 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
6165 syscall-template file.
6167 2019-01-31 Carlos O'Donell <carlos@redhat.com>
6168 Torvald Riegel <triegel@redhat.com>
6169 Rik Prohaska <prohaska7@gmail.com>
6172 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
6173 tst-rwlock-trywrlock-stall.
6174 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
6175 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
6176 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
6177 Set __wrphase_fute to 1 only if we started the write phase.
6178 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
6179 * nptl/tst-rwlock-trywrlock-stall.c: New file.
6180 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
6181 * support/xpthread_rwlock_destroy.c: New file.
6182 * support/xthread.h: Declare xpthread_rwlock_destroy.
6184 2019-02-01 Joseph Myers <joseph@codesourcery.com>
6186 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
6189 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6192 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
6193 * libio/fileops.c (_IO_new_file_underflow): Likewise
6194 * libio/wfileops.c (_IO_wfile_underflow): Likewise
6195 * libio/putchar.c (putchar): Likewise.
6196 * libio/putchar_u.c (putchar_unlocked): Likewise.
6197 * libio/putwchar.c (putchar): Likewise.
6198 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
6199 * libio/tst-bz24051.c: New test.
6200 * libio/Makefile (tests): Add tst-bz24051
6202 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
6205 regex: fix read overrun [BZ #24114]
6206 Problem found by AddressSanitizer, reported by Hongxu Chen in:
6207 https://debbugs.gnu.org/34140
6208 * posix/regexec.c (proceed_next_node):
6209 Do not read past end of input buffer.
6211 2019-01-31 Florian Weimer <fweimer@redhat.com>
6214 * nss/nss_files/files-alias.c (get_next_alias): Handle
6215 continuation line without newline at the end.
6216 * nss/tst-nss-files-alias-truncated.c: New file.
6217 * nss/Makefile [$(build-shared)] (tests): Add
6218 tst-nss-files-alias-truncated.
6219 (tst-nss-files-alias-truncated): Link with libnss_files.so.
6220 * support/namespace.h (struct support_chroot_configuration): Add
6222 (struct support_chroot): Add path_aliases member.
6223 * support/support_chroot.c (support_chroot_create): Handle
6225 (support_chroot_free): Free path_aliases.
6227 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
6229 * version.h (RELEASE): Set to "development".
6230 (VERSION): Set to "2.29.9000".
6231 * NEWS: Add section for 2.30.
6233 * version.h (RELEASE): Set to "stable".
6234 (VERSION): Set to "2.29".
6235 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
6237 * NEWS: Add the list of bugs fixed in 2.29.
6238 * manual/contrib.texi: Update contributors list with some more
6240 * manual/install.texi: Update latest versions of packages
6242 * INSTALL: Regenerated.
6244 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
6246 * po/be.po: Update translations.
6247 * po/bg.po: Likewise.
6248 * po/ca.po: Likewise.
6249 * po/cs.po: Likewise.
6250 * po/da.po: Likewise.
6251 * po/de.po: Likewise.
6252 * po/el.po: Likewise.
6253 * po/eo.po: Likewise.
6254 * po/es.po: Likewise.
6255 * po/fi.po: Likewise.
6256 * po/fr.po: Likewise.
6257 * po/gl.po: Likewise.
6258 * po/hr.po: Likewise.
6259 * po/hu.po: Likewise.
6260 * po/ia.po: Likewise.
6261 * po/id.po: Likewise.
6262 * po/it.po: Likewise.
6263 * po/ja.po: Likewise.
6264 * po/ko.po: Likewise.
6265 * po/lt.po: Likewise.
6266 * po/nb.po: Likewise.
6267 * po/nl.po: Likewise.
6268 * po/pl.po: Likewise.
6269 * po/pt_BR.po: Likewise.
6270 * po/ru.po: Likewise.
6271 * po/rw.po: Likewise.
6272 * po/sk.po: Likewise.
6273 * po/sl.po: Likewise.
6274 * po/sv.po: Likewise.
6275 * po/tr.po: Likewise.
6276 * po/uk.po: Likewise.
6277 * po/vi.po: Likewise.
6278 * po/zh_CN.po: Likewise.
6279 * po/zh_TW.po: Likewise.
6281 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
6284 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
6285 of $f3 register on $y_is_neg path.
6287 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
6290 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
6291 sigaltstack.ss_flags.
6293 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
6296 * manual/time.texi (strftime): Document "%Ey".
6297 * time/strftime_l.c (__strftime_internal): Set the default width
6298 padding with zero of "%Ey" to 2.
6301 * manual/time.texi (strftime): Document "%EC" and "%EY".
6302 * time/Makefile (tests): Add tst-strftime2.
6303 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
6304 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
6305 override padding for "%Ey".
6306 If an optional flag ('_' or '-') is specified to "%EY", interpret the
6307 "%Ey" in the subformat as if decorated with that flag.
6308 * time/tst-strftime2.c: New file.
6310 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6312 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
6316 * elf/Makefile (tests): Add tst-audit13.
6317 (modules-names): Add tst-audit13mod1.
6318 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
6320 * elf/rtld.c (dl_main): Handle invalid audit module version.
6321 * elf/tst-audit13.c: New file.
6322 * elf/tst-audit13mod1.c: Likewise.
6324 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
6326 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
6327 returned by __hurd_at_flags.
6328 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
6329 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
6330 directly instead of __hurd_file_name_lookup.
6332 2019-01-21 Joseph Myers <joseph@codesourcery.com>
6334 * scripts/build-many-glibcs.py (Context.checkout): Default
6335 binutils version to 2.32 branch.
6337 2019-01-21 Florian Weimer <fweimer@redhat.com>
6341 resolv: Reject trailing characters in host names
6342 * include/arpa/inet.h (__inet_aton_exact): Declare.
6343 (inet_aton): Remove hidden prototype. No longer used internally.
6344 * nscd/gai.c (__inet_aton): Do not define.
6345 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
6346 * nss/digits_dots.c (__inet_aton): Likewise.
6347 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
6348 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
6349 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
6350 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
6351 (tst-resolv-trailing): Likewise.
6352 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
6354 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
6355 Make static. Add endp parameter.
6356 (__inet_aton_exact): New function.
6357 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
6358 (__inet_addr): Call inet_aton_end.
6359 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
6360 not just IPv6. Call __inet_aton_exact.
6361 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
6362 (tests): Make const. Add additional test cases with trailing
6364 (do_test): Use array_length.
6365 * resolv/tst-inet_aton_exact.c: New file.
6366 * resolv/tst-resolv-trailing.c: Likewise.
6367 * resolv/tst-resolv-nondecimal.c: Likewise.
6368 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
6370 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6374 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
6375 Clear the upper 32 bits of RSI register.
6376 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
6377 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
6378 and tst-size_t-wcsnlen.
6379 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
6380 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
6382 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6386 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
6387 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6388 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6389 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
6390 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
6392 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6396 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
6397 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6398 * sysdeps/x86_64/strcmp.S: Likewise.
6399 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
6400 tst-size_t-strncmp and tst-size_t-wcsncmp.
6401 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
6402 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
6403 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
6405 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6409 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
6410 RDX_LP for length. Clear the upper 32 bits of RDX register.
6411 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
6412 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
6413 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
6414 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
6416 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6420 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
6421 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
6422 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
6423 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
6425 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6429 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
6430 length. Clear the upper 32 bits of RDX register.
6431 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6432 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
6434 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6436 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
6438 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
6440 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6444 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
6445 length. Clear the upper 32 bits of RDX register.
6446 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6447 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6448 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
6450 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
6451 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
6453 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6457 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
6458 upper 32 bits of RDX register.
6459 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
6460 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
6462 * sysdeps/x86_64/x32/test-size_t.h: New file.
6463 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
6464 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
6466 2019-01-18 Florian Weimer <fweimer@redhat.com>
6469 resolv: Do not send queries for non-host-names in nss_dns.
6470 * resolv/nss_dns/dns-host.c (check_name): New function.
6471 (_nss_dns_gethostbyname2_r): Use it.
6472 (_nss_dns_gethostbyname_r): Likewise.
6473 (_nss_dns_gethostbyname4_r): Likewise.
6475 2019-01-21 Florian Weimer <fweimer@redhat.com>
6477 * resolv/inet_addr.c: Reformat to GNU style.
6478 (__inet_addr, __inet_aton): Update comment.
6480 2019-01-18 Florian Weimer <fweimer@redhat.com>
6482 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
6483 ("malloc: Use current (C11-style) atomics for fastbin access").
6484 This commit introduces a substantial performance regression on
6486 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
6487 (REMOVE_FB): Define.
6488 (_int_malloc): Use it and reindent.
6489 (_int_free): Use CAS loop with
6490 catomic_compare_and_exchange_val_rel.
6491 (malloc_consolidate): Use atomic_exchange_acq.
6494 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
6496 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
6498 (LDFLAGS-tst-minsigstksz-2): Likewise.
6499 (LDFLAGS-tst-minsigstksz-3): Likewise.
6500 (LDFLAGS-tst-minsigstksz-3a): Likewise.
6501 (LDFLAGS-tst-minsigstksz-4): Likewise.
6503 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
6505 * manual/time.texi (strftime): Fix the wording to "alternative" rather
6508 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
6510 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
6512 2019-01-16 Zack Weinberg <zackw@panix.com>
6514 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
6515 (xget_sigstack_location): New test support functions.
6516 * support/xsigstack.c: New file, implementing them.
6517 * support/tst-xsigstack.c: New test for them.
6518 * support/Makefile: Update.
6520 * signal/tst-minsigstksz-1.c
6521 * signal/tst-minsigstksz-2.c
6522 * signal/tst-minsigstksz-3.c
6523 * signal/tst-minsigstksz-3a.c
6524 * signal/tst-minsigstksz-4.c: New tests.
6525 * signal/Makefile: Run them.
6527 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
6529 * po/libc.pot: Regenerate.
6531 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6533 * math/libm-test-fma.inc (fma_test_data): Set
6534 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
6536 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
6538 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
6539 (do_test): Changed __vector __int128_t to __vector unsigned int.
6541 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6543 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6544 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
6545 stpcpy-avx2 and stpncpy-avx2.
6546 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
6547 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
6548 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
6550 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
6551 ifunc-strcpy.h}: rename header for a more generic name.
6552 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
6553 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
6554 AVX unaligned load is fast and vzeroupper is preferred.
6555 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
6556 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
6557 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
6558 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
6559 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
6560 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
6562 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
6564 * argp/argp-help.c: Fix typo in comment.
6565 * misc/sys/cdefs.h: Likewise.
6566 * posix/regexec.c (sift_states_iter_mb): Likewise.
6567 * socket/sockatmark.c: Likewise.
6568 * socket/sys/socket.h: Likewise.
6569 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
6570 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
6571 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
6572 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6573 * sysdeps/unix/sockatmark.c: Likewise.
6574 * time/strptime_l.c: Likewise.
6576 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
6578 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
6579 missing space after the cast of "_NL_CURRENT".
6581 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
6583 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
6584 ifdef to fix read of VSCR.
6585 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
6586 tst-ucontext-ppc64-vscr.c to test list.
6587 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
6589 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
6591 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
6594 2019-01-09 Jim Wilson <jimw@sifive.com>
6596 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
6598 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
6600 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
6601 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
6602 __memcpy_falkor for ares.
6603 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
6605 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6608 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
6611 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
6612 4_FP_W_TYPEs are used for IEEE quad precision.
6613 * soft-fp/extendhftf2.c: Likewise.
6614 * soft-fp/extendsftf2.c: Likewise.
6615 * soft-fp/extendxftf2.c: Likewise.
6616 * soft-fp/trunctfdf2.c: Likewise.
6617 * soft-fp/trunctfhf2.c: Likewise.
6618 * soft-fp/trunctfsf2.c: Likewise.
6619 * soft-fp/trunctfxf2.c: Likewise.
6620 * sysdeps/alpha/ots_cvttx.c: Likewise.
6621 * sysdeps/alpha/ots_cvtxt.c: Likewise.
6622 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
6623 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
6624 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
6625 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
6626 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
6627 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
6628 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
6629 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
6630 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
6631 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
6632 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
6633 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
6634 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
6635 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
6636 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
6637 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
6639 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
6642 * Makeconfig: Build libm with -fno-math-errno but build the remaining
6643 code with -fmath-errno.
6644 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
6645 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
6646 * string/test-strerror-errno.c: New file.
6648 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
6651 * localedata/locales/en_US (date_fmt): Add, set to
6652 "%a %d %b %Y %r %Z".
6654 2019-01-07 Florian Weimer <fweimer@redhat.com>
6657 * manual/arith.texi (Math Error Reporting): Use @code{errno}
6658 instead of @var{errno}.
6659 (Parsing of Integers): Likewise.
6660 (Parsing of Floats): Likewise.
6661 * manual/filesys.texi (Working with Directory Trees): Likewise.
6662 (Temporary Files): Likewise.
6663 * manual/job.texi (Terminal Access Functions): Likewise.
6664 * manual/llio.texi (Synchronizing I/O): Likewise.
6665 * manual/math.texi (SVID Random): Likewise.
6666 * manual/message.texi (The catgets Functions): Likewise.
6667 (Translation with gettext): Likewise.
6668 (Locating gettext catalog): Likewise.
6669 (Charset conversion in gettext): Likewise.
6670 * manual/nss.texi (NSS Module Function Internals): Likewise.
6671 * manual/search.texi (Hash Search Function): Likewise.
6672 * manual/setjmp.texi (System V contexts): Likewise.
6673 * manual/time.texi (Sleeping): Likewise.
6674 * manual/users.texi (Lookup User): Likewise.
6675 (Lookup Group): Likewise.
6677 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6679 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
6682 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
6685 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
6686 __builtin_unreachable for default case in switch.
6687 (__ieee754_yn): Likewise.
6688 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6689 (__ieee754_ynl): Likewise.
6690 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6691 (__ieee754_ynl): Likewise.
6692 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6693 (__ieee754_ynl): Likewise.
6695 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
6697 * manual/maint.texi: Use @{ and @}.
6699 2019-01-04 Florian Weimer <fweimer@redhat.com>
6701 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
6703 (do_in_chroot_1): Call it.
6705 Improve error reporting in case it is not possible to create a
6706 collision for the PTY name required by the test.
6708 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6710 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
6711 lll_wait_tid with timeout.
6712 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
6713 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
6714 futex_reltimed_wait_cancelable for cancelabla mode.
6715 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
6716 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
6718 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
6719 * sysdeps/posix/waitid.c (__sigwait): Likewise.
6720 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
6721 SYSCALL_CANCEL_NCS): New macro.
6722 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
6723 (lll_timedwait_tid): Remove macro.
6724 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
6726 (lll_timedwait_tid): Likewise.
6727 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
6729 (lll_timedwait_tid): Likewise.
6730 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
6732 (lll_timedwait_tid): Likewise.
6733 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
6734 Use INTERNAL_SYSCALL_CANCEL.
6735 * sysdeps/unix/sysv/linux/futex-internal.h
6736 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
6737 instead of __pthread_{enable,disable}_asynccancel.
6738 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
6739 (lll_futex_wait_cancel): New macro.
6741 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
6742 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
6744 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
6745 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
6747 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
6748 in backtrace analysis.
6749 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
6751 (tf_send): Likewise.
6753 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
6754 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
6755 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
6756 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
6757 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
6758 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
6759 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
6760 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
6761 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
6762 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
6763 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
6764 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
6766 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
6767 tst-cancel-wrappers.sh.
6768 (generated): Remove tst-cancel-wrappers.out.
6769 (tst-cancel-wrappers.out): Remove rule.
6770 * nptl/tst-cancel-wrappers.sh: Remove file.
6772 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6774 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
6775 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
6778 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6781 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
6782 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
6783 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
6784 close-on-exec reset for adddup2 file action.
6785 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
6787 2019-01-03 Zack Weinberg <zackw@panix.com>
6789 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
6790 parameter. Only use deprecated scanf when __USE_GNU is defined
6791 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
6792 than 201103L, whichever is relevant for the language being compiled.
6794 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
6795 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
6796 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
6797 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
6798 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
6802 * libio/iovswscanf.c
6807 * stdio-common/fscanf.c
6808 * stdio-common/scanf.c
6809 * stdio-common/vfscanf.c
6810 * stdio-common/vfwscanf.c
6811 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6812 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
6813 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
6814 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
6815 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
6816 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
6817 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
6818 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
6819 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
6820 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
6821 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
6822 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
6823 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
6824 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
6825 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
6827 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
6828 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
6829 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
6831 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
6832 with a preprocessor macro.
6834 * stdio-common/bug21.c, stdio-common/scanf14.c:
6835 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
6836 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
6837 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
6838 to xscanf, xfscanf, xsscanf.
6840 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
6841 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
6842 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
6843 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
6845 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
6846 override feature selection macros or provide definitions of u_char etc.
6847 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
6848 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
6849 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
6852 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6854 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6855 bits/termios-misc.h.
6856 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
6857 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6858 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6859 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6860 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
6861 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
6863 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
6864 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
6865 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
6866 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
6867 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
6868 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
6870 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
6871 (sysdep_headers): Add termios-misc.h.
6873 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
6874 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6875 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6877 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6879 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
6880 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
6881 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
6882 TCSAFLUSH): Move to termios-tcflow.h.
6883 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6884 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6885 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6886 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6888 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6890 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
6891 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
6892 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
6893 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
6894 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
6895 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
6896 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
6897 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
6899 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6900 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6901 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6902 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6904 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6906 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
6907 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
6908 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
6909 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
6910 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
6912 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6913 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6914 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6915 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6918 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6920 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
6921 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
6922 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
6923 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
6924 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
6925 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
6926 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
6927 __MAX_BAUD): Move to termios-baud.h.
6928 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
6929 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
6930 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6931 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6932 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6934 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
6936 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
6937 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
6938 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
6939 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
6940 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
6941 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
6943 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
6944 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
6946 [USE_MISC] (XTABS): Likewise.
6947 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6948 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6949 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6950 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
6952 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
6954 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
6955 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
6956 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
6957 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
6958 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
6959 IUTF8): Move to termios-c_iflag.h.
6960 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6961 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6962 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6963 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6965 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
6967 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
6968 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
6969 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
6970 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
6971 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
6972 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
6973 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
6974 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
6975 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6976 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6977 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6978 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6980 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
6981 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
6982 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
6983 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
6984 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6986 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
6988 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
6990 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
6992 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
6994 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
6996 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
6997 _HAVE_C_OSPEED): Define.
6998 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
6999 _HAVE_C_OSPEED): Likewise.
7000 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
7001 _HAVE_C_OSPEED): Likewise.
7002 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
7003 (cfsetospeed): Check for define value instead of existence.
7004 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
7005 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7006 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
7007 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7008 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
7011 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
7013 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7014 (TIOCSER_TEMT): Likewise.
7015 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
7016 (TEOCSER_TEMT): Likewise.
7018 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
7021 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
7023 2019-01-02 Joseph Myers <joseph@codesourcery.com>
7025 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
7027 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7029 * sysdeps/htl/pt-barrierattr-setpshared.c
7030 (pthread_barrierattr_setpshared): Add stub warning.
7031 * sysdeps/htl/pt-condattr-setpshared.c
7032 (pthread_condattr_setpshared): Likewise.
7033 * sysdeps/htl/pt-mutexattr-setpshared.c
7034 (pthread_mutexattr_setpshared): Likewise.
7035 * sysdeps/htl/pt-rwlockattr-setpshared.c
7036 (pthread_rwlockattr_setpshared): Likewise.
7037 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
7038 (pthread_mutexattr_setpshared): Likewise.
7040 2019-01-02 Joseph Myers <joseph@codesourcery.com>
7042 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
7043 constants to match with Linux 4.20.
7045 * sysdeps/mips/mips32/libm-test-ulps: Update.
7046 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7048 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
7051 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
7052 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
7053 than __typeof (...) for the a_ptr variable.
7055 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7057 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
7058 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
7059 * libio/Makefile (tests): Add tst-sprintf-ub and
7061 (CFLAGS-tst-sprintf-ub.c): New variable.
7062 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
7063 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
7064 destination buffer and check for overflows in fortified mode.
7065 * libio/libioP.h (PRINTF_CHK): New macro.
7066 * libio/tst-sprintf-chk-ub.c: New file.
7067 * libio/tst-sprintf-ub.c: Likewise.
7069 2019-01-02 Florian Weimer <fweimer@redhat.com>
7072 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
7075 2019-01-02 Florian Weimer <fweimer@redhat.com>
7077 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
7079 2019-01-01 Joseph Myers <joseph@codesourcery.com>
7081 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
7084 * sysdeps/unix/sysv/linux/netpacket/packet.h
7085 (PACKET_IGNORE_OUTGOING): New macro.
7087 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
7090 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7092 (riscv_flush_icache): New syscall.
7094 * manual/texinfo.tex: Update to version 2018-12-28.17 with
7095 trailing whitespace removed.
7096 * scripts/config.guess: Update to version 2019-01-01.
7097 * scripts/config.sub: Update to version 2019-01-01.
7098 * scripts/move-if-change: Update from gnulib.
7100 * NEWS: Update copyright dates.
7101 * catgets/gencat.c (print_version): Likewise.
7102 * csu/version.c (banner): Likewise.
7103 * debug/catchsegv.sh: Likewise.
7104 * debug/pcprofiledump.c (print_version): Likewise.
7105 * debug/xtrace.sh (do_version): Likewise.
7106 * elf/ldconfig.c (print_version): Likewise.
7107 * elf/ldd.bash.in: Likewise.
7108 * elf/pldd.c (print_version): Likewise.
7109 * elf/sotruss.sh: Likewise.
7110 * elf/sprof.c (print_version): Likewise.
7111 * iconv/iconv_prog.c (print_version): Likewise.
7112 * iconv/iconvconfig.c (print_version): Likewise.
7113 * locale/programs/locale.c (print_version): Likewise.
7114 * locale/programs/localedef.c (print_version): Likewise.
7115 * login/programs/pt_chown.c (print_version): Likewise.
7116 * malloc/memusage.sh (do_version): Likewise.
7117 * malloc/memusagestat.c (print_version): Likewise.
7118 * malloc/mtrace.pl: Likewise.
7119 * manual/libc.texinfo: Likewise.
7120 * nptl/version.c (banner): Likewise.
7121 * nscd/nscd.c (print_version): Likewise.
7122 * nss/getent.c (print_version): Likewise.
7123 * nss/makedb.c (print_version): Likewise.
7124 * posix/getconf.c (main): Likewise.
7125 * scripts/test-installation.pl: Likewise.
7126 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7128 * All files with FSF copyright notices: Update copyright dates
7129 using scripts/update-copyrights.
7130 * locale/programs/charmap-kw.h: Regenerated.
7131 * locale/programs/locfile-kw.h: Likewise.
7133 2018-12-31 Joseph Myers <joseph@codesourcery.com>
7135 * timezone/zdump.c: Update from tzcode 2018i.
7136 * timezone/zic.c: Likewise.
7138 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
7140 regex: improve Gnulib port to AIX
7141 From the glibc point of view, this removes duplicate macro
7142 definitions and is obviously safe.
7143 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
7144 * posix/regex_internal.h:
7145 (__attribute__, __attribute_warn_unused_result__):
7146 Remove; already defined elsewhere.
7148 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
7151 * malloc/malloc.c (_int_realloc): Always call memcpy for the
7152 copying operation. (ncopies had the wrong type, resulting in an
7153 integer wraparound and too few elements being copied.)
7155 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
7158 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
7159 <asm/syscalls.h> exists with __has_include__ before including it.
7161 2018-12-31 Joseph Myers <joseph@codesourcery.com>
7163 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7166 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
7168 * hurd/lookup-retry: Include <unistd.h>.
7169 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
7170 Release it on return. Handle "pid" magical lookup retry.
7172 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
7175 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
7176 (t_fmt_ampm): Likewise.
7177 * localedata/locales/aa_ER (t_fmt): Likewise.
7178 (t_fmt_ampm): Likewise.
7179 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
7180 (t_fmt_ampm): Likewise.
7181 * localedata/locales/aa_ET (t_fmt): Likewise.
7182 (t_fmt_ampm): Likewise.
7183 * localedata/locales/am_ET (t_fmt): Likewise.
7184 (t_fmt_ampm): Likewise.
7185 * localedata/locales/byn_ER (t_fmt): Likewise.
7186 (t_fmt_ampm): Likewise.
7187 * localedata/locales/om_ET (t_fmt): Likewise.
7188 (t_fmt_ampm): Likewise.
7189 * localedata/locales/sid_ET (t_fmt): Likewise.
7190 (t_fmt_ampm): Likewise.
7191 * localedata/locales/so_DJ (t_fmt): Likewise.
7192 (t_fmt_ampm): Likewise.
7193 * localedata/locales/so_ET (t_fmt): Likewise.
7194 (t_fmt_ampm): Likewise.
7195 * localedata/locales/so_SO (t_fmt): Likewise.
7196 (t_fmt_ampm): Likewise.
7197 * localedata/locales/ti_ER (t_fmt): Likewise.
7198 (t_fmt_ampm): Likewise.
7199 * localedata/locales/ti_ET (t_fmt): Likewise.
7200 (t_fmt_ampm): Likewise.
7201 * localedata/locales/tig_ER (t_fmt): Likewise.
7202 (t_fmt_ampm): Likewise.
7203 * localedata/locales/wal_ET (t_fmt): Likewise.
7204 (t_fmt_ampm): Likewise.
7206 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
7207 * localedata/locales/ar_IN (t_fmt): Likewise.
7208 * localedata/locales/bhb_IN (t_fmt): Likewise.
7209 * localedata/locales/bho_IN (t_fmt): Likewise.
7210 * localedata/locales/bi_VU (t_fmt): Likewise.
7211 * localedata/locales/bn_BD (t_fmt): Likewise.
7212 * localedata/locales/bn_IN (t_fmt): Likewise.
7213 * localedata/locales/brx_IN (t_fmt): Likewise.
7214 * localedata/locales/doi_IN (t_fmt): Likewise.
7215 * localedata/locales/en_HK (t_fmt): Likewise.
7216 (t_fmt_ampm): Likewise.
7217 * localedata/locales/en_IN (t_fmt): Likewise.
7218 * localedata/locales/en_PH (t_fmt): Likewise.
7219 * localedata/locales/gu_IN (t_fmt): Likewise.
7220 * localedata/locales/hi_IN (t_fmt): Likewise.
7221 * localedata/locales/hif_FJ (t_fmt): Likewise.
7222 * localedata/locales/hne_IN (t_fmt): Likewise.
7223 * localedata/locales/kn_IN (t_fmt): Likewise.
7224 * localedata/locales/kok_IN (t_fmt): Likewise.
7225 * localedata/locales/ks_IN (t_fmt): Likewise.
7226 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
7227 * localedata/locales/mag_IN (t_fmt): Likewise.
7228 * localedata/locales/mai_IN (t_fmt): Likewise.
7229 * localedata/locales/mjw_IN (t_fmt): Likewise.
7230 * localedata/locales/ml_IN (t_fmt): Likewise.
7231 * localedata/locales/mni_IN (t_fmt): Likewise.
7232 * localedata/locales/mr_IN (t_fmt): Likewise.
7233 * localedata/locales/ms_MY (t_fmt): Likewise.
7234 * localedata/locales/pa_IN (t_fmt): Likewise.
7235 * localedata/locales/raj_IN (t_fmt): Likewise.
7236 * localedata/locales/sa_IN (t_fmt): Likewise.
7237 * localedata/locales/sat_IN (t_fmt): Likewise.
7238 * localedata/locales/sd_IN (t_fmt): Likewise.
7239 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
7240 * localedata/locales/tcy_IN (t_fmt): Likewise.
7241 * localedata/locales/the_NP (t_fmt): Likewise.
7242 * localedata/locales/to_TO (t_fmt): Likewise.
7243 * localedata/locales/ur_IN (t_fmt): Likewise.
7245 * localedata/locales/hif_FJ (d_t_fmt): Set to
7246 "%A %d %b %Y %I:%M:%S %p".
7247 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
7249 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
7250 * localedata/locales/ar_BH (t_fmt): Likewise.
7251 * localedata/locales/ar_DZ (t_fmt): Likewise.
7252 * localedata/locales/ar_EG (t_fmt): Likewise.
7253 * localedata/locales/ar_IQ (t_fmt): Likewise.
7254 * localedata/locales/ar_JO (t_fmt): Likewise.
7255 * localedata/locales/ar_KW (t_fmt): Likewise.
7256 * localedata/locales/ar_LB (t_fmt): Likewise.
7257 * localedata/locales/ar_LY (t_fmt): Likewise.
7258 * localedata/locales/ar_OM (t_fmt): Likewise.
7259 * localedata/locales/ar_QA (t_fmt): Likewise.
7260 * localedata/locales/ar_SD (t_fmt): Likewise.
7261 * localedata/locales/ar_SS (t_fmt): Likewise.
7262 * localedata/locales/ar_SY (t_fmt): Likewise.
7263 * localedata/locales/ar_TN (t_fmt): Likewise.
7264 * localedata/locales/ar_YE (t_fmt): Likewise.
7266 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
7267 (t_fmt_ampm): Likewise.
7268 * localedata/locales/gez_ET (t_fmt): Likewise.
7269 (t_fmt_ampm): Likewise.
7271 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
7272 (t_fmt_ampm): Likewise.
7273 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
7275 * localedata/locales/zh_HK (t_fmt):
7276 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
7278 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
7279 because this locale does not use the 12-hour clock.
7280 (t_fmt): Set to "%Z %H:%M:%S".
7281 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
7283 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
7284 because this locale does not use the 12-hour clock.
7285 (t_fmt): Set to "%H:%M:%S %Z".
7286 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
7288 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
7289 because this locale does not use the 12-hour clock.
7290 (t_fmt): Set to "%T".
7291 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
7292 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
7294 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
7295 because this locale does not use the 12-hour clock.
7296 (t_fmt): Set to "%H:%M:%S %Z".
7297 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
7299 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
7300 because this locale does not use the 12-hour clock.
7301 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
7302 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
7304 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
7308 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
7309 (t_fmt_ampm): Likewise.
7310 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
7311 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
7312 (d_fmt): Set to "%-d.%-m.%y".
7314 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7316 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
7317 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
7318 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
7320 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
7321 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
7322 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
7324 * support/blob_repeat.c (check_mul_overflow_size_t,
7325 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
7327 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
7329 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
7331 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
7333 regex: simplify Gnulib port
7334 This simplifies the code, by removing stuff intended for porting
7335 to Gnulib but no longer needed there.
7336 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
7337 uses of libc_hidden_def, weak_alias.
7338 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
7339 _Restrict_ except for public-facing headers.
7340 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
7341 Remove; already defined elsewhere.
7342 * posix/regex.c, posix/regex_internal.h:
7343 Use __GNUC_PREREQ instead of rolling our own.
7344 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
7346 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
7348 * benchtests/bench-strlen.c (generic_strlen): New function.
7349 (memchr_strlen): New function.
7351 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
7353 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
7354 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
7355 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
7357 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
7359 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7361 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
7363 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
7364 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
7365 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
7366 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
7367 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
7368 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
7369 <sysdeps/ieee754/flt-32/s_sincosf.c>.
7371 2018-12-21 Joseph Myers <joseph@codesourcery.com>
7374 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
7375 PLT reference in libc.so.
7376 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
7377 _Q_lltoq and _Q_qtod PLT references in libc.so.
7379 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
7381 * benchtests/bench-memchr.c: Cleanup defines.
7382 * benchtests/bench-memcmp.c: Likewise.
7383 * benchtests/bench-memset.c: Likewise.
7384 * benchtests/bench-memset-large.c: Likewise.
7385 * benchtests/bench-memset-walk.c: Likewise.
7386 * benchtests/bench-stpcpy.c: Likewise.
7387 * benchtests/bench-stpncpy.c: Likewise.
7388 * benchtests/bench-strcat.c: Likewise.
7389 * benchtests/bench-strchr.c: Likewise.
7390 * benchtests/bench-strcmp.c: Likewise.
7391 * benchtests/bench-strcpy.c: Likewise.
7392 * benchtests/bench-strcspn.c: Likewise.
7393 * benchtests/bench-string.h: Likewise.
7394 * benchtests/bench-strlen.c: Likewise.
7395 * benchtests/bench-strncat.c: Likewise.
7396 * benchtests/bench-strncmp.c: Likewise.
7397 * benchtests/bench-strncpy.c: Likewise.
7398 * benchtests/bench-strnlen.c: Likewise.
7399 * benchtests/bench-strpbrk.c: Likewise.
7400 * benchtests/bench-strrchr.c: Likewise.
7401 * benchtests/bench-strspn.c: Likewise.
7403 2018-12-21 Joseph Myers <joseph@codesourcery.com>
7405 * stdlib/longlong.h: Update from GCC.
7408 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
7409 * configure: Regenerated.
7410 * manual/install.texi (Tools for Compilation): Update minimum GCC
7412 * INSTALL: Regenerated.
7414 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
7416 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
7418 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
7420 * malloc/malloc.c (mremap_chunk): Additional checks.
7422 2018-12-21 Mao Han <han_mao@c-sky.com>
7424 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
7425 * scripts/build-many-glibcs.py: Add C-SKY targets.
7426 * sysdeps/csky/Implies: New file.
7427 * sysdeps/csky/Makefile: Likewise.
7428 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
7429 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
7430 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
7431 * sysdeps/csky/abiv2/memcmp.S: Likewise.
7432 * sysdeps/csky/abiv2/memcpy.S: Likewise.
7433 * sysdeps/csky/abiv2/memmove.S: Likewise.
7434 * sysdeps/csky/abiv2/memset.S: Likewise.
7435 * sysdeps/csky/abiv2/setjmp.S: Likewise.
7436 * sysdeps/csky/abiv2/start.S: Likewise.
7437 * sysdeps/csky/abiv2/strcmp.S: Likewise.
7438 * sysdeps/csky/abiv2/strcpy.S: Likewise.
7439 * sysdeps/csky/abiv2/strlen.S: Likewise.
7440 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
7441 * sysdeps/csky/abort-instr.h: Likewise.
7442 * sysdeps/csky/atomic-machine.h: Likewise.
7443 * sysdeps/csky/bits/endian.h: Likewise.
7444 * sysdeps/csky/bits/fenv.h: Likewise.
7445 * sysdeps/csky/bits/link.h: Likewise.
7446 * sysdeps/csky/bits/setjmp.h: Likewise.
7447 * sysdeps/csky/bsd-_setjmp.S: Likewise.
7448 * sysdeps/csky/bsd-setjmp.S: Likewise.
7449 * sysdeps/csky/configure: Likewise.
7450 * sysdeps/csky/configure.ac: Likewise.
7451 * sysdeps/csky/dl-machine.h: Likewise.
7452 * sysdeps/csky/dl-procinfo.c: Likewise.
7453 * sysdeps/csky/dl-procinfo.h: Likewise.
7454 * sysdeps/csky/dl-sysdep.h: Likewise.
7455 * sysdeps/csky/dl-tls.h: Likewise.
7456 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
7457 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
7458 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
7459 * sysdeps/csky/fpu/fegetenv.c: Likewise.
7460 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
7461 * sysdeps/csky/fpu/fegetmode.c: Likewise.
7462 * sysdeps/csky/fpu/fegetround.c: Likewise.
7463 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
7464 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
7465 * sysdeps/csky/fpu/fenv_private.h: Likewise.
7466 * sysdeps/csky/fpu/fesetenv.c: Likewise.
7467 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
7468 * sysdeps/csky/fpu/fesetmode.c: Likewise.
7469 * sysdeps/csky/fpu/fesetround.c: Likewise.
7470 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
7471 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
7472 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
7473 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
7474 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
7475 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
7476 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
7477 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
7478 * sysdeps/csky/fpu_control.h: Likewise.
7479 * sysdeps/csky/gccframe.h: Likewise.
7480 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
7481 * sysdeps/csky/ldsodefs.h: Likewise.
7482 * sysdeps/csky/libc-tls.c: Likewise.
7483 * sysdeps/csky/linkmap.h: Likewise.
7484 * sysdeps/csky/machine-gmon.h: Likewise.
7485 * sysdeps/csky/memusage.h: Likewise.
7486 * sysdeps/csky/nofpu/Implies: Likewise.
7487 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
7488 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
7489 * sysdeps/csky/nptl/Makefile: Likewise.
7490 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
7491 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
7492 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
7493 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
7494 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
7495 * sysdeps/csky/nptl/tls.h: Likewise.
7496 * sysdeps/csky/preconfigure: Likewise.
7497 * sysdeps/csky/sfp-machine.h: Likewise.
7498 * sysdeps/csky/sotruss-lib.c: Likewise.
7499 * sysdeps/csky/stackinfo.h: Likewise.
7500 * sysdeps/csky/sysdep.h: Likewise.
7501 * sysdeps/csky/tininess.h: Likewise.
7502 * sysdeps/csky/tst-audit.h: Likewise.
7503 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
7504 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
7505 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
7506 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
7507 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
7508 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
7509 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
7510 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
7511 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
7512 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
7513 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
7514 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
7515 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
7516 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
7517 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
7518 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
7519 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
7520 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
7521 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
7522 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
7523 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
7524 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
7525 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
7526 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
7527 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
7528 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
7529 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
7530 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
7531 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
7532 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
7533 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
7534 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
7535 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
7536 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
7537 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
7538 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
7539 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
7540 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
7541 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
7542 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
7543 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
7544 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
7545 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
7546 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
7548 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
7550 * include/time.h (__difftime64): Add.
7551 * time/difftime.c (subtract): convert to 64-bit time.
7552 * time/difftime.c (__difftime64): Add.
7553 * time/difftime.c (__difftime): Wrap around __difftime64.
7555 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
7557 * manual/examples/add.c: Remove redundant "if not".
7558 * manual/examples/argp-ex1.c: Likewise.
7559 * manual/examples/argp-ex2.c: Likewise.
7560 * manual/examples/argp-ex3.c: Likewise.
7561 * manual/examples/argp-ex4.c: Likewise.
7562 * manual/examples/atexit.c: Likewise.
7563 * manual/examples/db.c: Likewise.
7564 * manual/examples/dir.c: Likewise.
7565 * manual/examples/dir2.c: Likewise.
7566 * manual/examples/execinfo.c: Likewise.
7567 * manual/examples/filecli.c: Likewise.
7568 * manual/examples/filesrv.c: Likewise.
7569 * manual/examples/fmtmsgexpl.c: Likewise.
7570 * manual/examples/genpass.c: Likewise.
7571 * manual/examples/inetcli.c: Likewise.
7572 * manual/examples/inetsrv.c: Likewise.
7573 * manual/examples/isockad.c: Likewise.
7574 * manual/examples/longopt.c: Likewise.
7575 * manual/examples/memopen.c: Likewise.
7576 * manual/examples/memstrm.c: Likewise.
7577 * manual/examples/mkdirent.c: Likewise.
7578 * manual/examples/mkfsock.c: Likewise.
7579 * manual/examples/mkisock.c: Likewise.
7580 * manual/examples/mygetpass.c: Likewise.
7581 * manual/examples/pipe.c: Likewise.
7582 * manual/examples/popen.c: Likewise.
7583 * manual/examples/rprintf.c: Likewise.
7584 * manual/examples/search.c: Likewise.
7585 * manual/examples/select.c: Likewise.
7586 * manual/examples/setjmp.c: Likewise.
7587 * manual/examples/sigh1.c: Likewise.
7588 * manual/examples/sigusr.c: Likewise.
7589 * manual/examples/stpcpy.c: Likewise.
7590 * manual/examples/strdupa.c: Likewise.
7591 * manual/examples/strftim.c: Likewise.
7592 * manual/examples/subopt.c: Likewise.
7593 * manual/examples/swapcontext.c: Likewise.
7594 * manual/examples/termios.c: Likewise.
7595 * manual/examples/testopt.c: Likewise.
7596 * manual/examples/testpass.c: Likewise.
7597 * manual/examples/timeval_subtract.c: Likewise.
7599 2018-12-19 Joseph Myers <joseph@codesourcery.com>
7601 * sysdeps/x86/fpu/math_private.h: New file.
7602 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
7604 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
7609 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7611 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
7612 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
7613 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
7614 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
7616 (_dl_show_auxv): Give a special treatment to
7617 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
7618 and AT_L3_CACHEGEOMETRY.
7619 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
7620 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
7621 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
7622 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
7624 2018-12-19 Andreas Schwab <schwab@suse.de>
7626 * nscd/connections.c (check_use): Don't abort on invalid len.
7628 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
7630 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
7631 values in the 64bit value cases.
7633 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
7639 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
7645 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
7648 (__gmtime64_r): Add.
7650 (__gmtime64_r): Add.
7651 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
7657 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
7660 (__localtime64_r): Add.
7662 (__localtime64_r): Add.
7663 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
7665 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7667 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
7668 kernel_sigction definition.
7670 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
7672 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
7674 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
7675 __syscall_rt_sigaction.
7676 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
7677 (kernel_sigaction): Use Linux generic defintion.
7679 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
7680 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
7681 (__syscall_rt_sigaction): Remove implementation.
7682 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
7684 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
7685 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
7686 INTERNAL_SYSCALL): Remove definitions.
7687 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
7688 action and signal set size.
7689 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
7690 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
7692 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7693 James Clarke <jrtc27@jrtc27.com>
7696 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
7697 Define if SA_RESTORER is defined.
7698 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
7699 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
7701 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
7702 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
7704 (HAS_SA_RESTORER): Define.
7705 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
7706 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
7707 (HAS_SA_RESTORER): Define.
7708 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
7709 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
7710 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
7711 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
7712 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7714 2018-12-18 Joseph Myers <joseph@codesourcery.com>
7716 * sysdeps/unix/sysv/linux/kernel-features.h
7717 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
7718 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7719 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
7720 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7721 (__ASSUME_ST_INO_64_BIT): Likewise.
7722 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7723 <kernel-features.h>.
7724 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
7725 Remove conditional code.
7726 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7727 <kernel-features.h>.
7728 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
7729 Remove conditional code.
7730 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
7731 <kernel-features.h>.
7732 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
7733 Remove conditional code.
7734 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
7735 <kernel-features.h>.
7736 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
7737 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
7739 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7741 * sysdeps/s390/multiarch/ifunc-resolve.h
7742 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
7743 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
7744 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
7745 Delete macro definition.
7746 (s390_libc_ifunc_init): Rename to
7747 s390_libc_ifunc_expr_stfle_init.
7748 * sysdeps/s390/bzero: Use
7749 s390_libc_ifunc_expr_stfle_init instead of
7750 s390_libc_ifunc_init.
7751 * sysdeps/s390/memcmp.c: Likewise.
7752 * sysdeps/s390/memcpy.c: Likewise.
7753 * sysdeps/s390/mempcpy.c: Likewise.
7754 * sysdeps/s390/memset.c: Likewise.
7756 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7758 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
7759 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
7761 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7763 * sysdeps/s390/multiarch/Makefile
7764 (sysdep_routines): Remove wmemcmp variants.
7765 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
7766 * sysdeps/s390/multiarch/ifunc-impl-list.c
7767 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
7768 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
7769 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
7770 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
7771 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
7772 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
7773 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
7774 * sysdeps/s390/ifunc-wmemcmp.h: New file.
7776 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7778 * sysdeps/s390/multiarch/Makefile
7779 (sysdep_routines): Remove wmemset variants.
7780 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
7781 * sysdeps/s390/multiarch/ifunc-impl-list.c
7782 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
7783 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
7784 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
7785 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
7786 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
7787 * sysdeps/s390/multiarch/wmemset.c: Move to ...
7788 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
7789 * sysdeps/s390/ifunc-wmemset.h: New file.
7791 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7793 * sysdeps/s390/multiarch/Makefile
7794 (sysdep_routines): Remove wmemchr variants.
7795 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
7796 * sysdeps/s390/multiarch/ifunc-impl-list.c
7797 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
7798 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
7799 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
7800 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
7801 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
7802 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
7803 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
7804 * sysdeps/s390/ifunc-wmemchr.h: New file.
7806 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7808 * sysdeps/s390/multiarch/Makefile
7809 (sysdep_routines): Remove wcscspn variants.
7810 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
7811 * sysdeps/s390/multiarch/ifunc-impl-list.c
7812 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
7813 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
7814 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
7815 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
7816 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
7817 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
7818 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
7819 * sysdeps/s390/ifunc-wcscspn.h: New file.
7821 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7823 * sysdeps/s390/multiarch/Makefile
7824 (sysdep_routines): Remove wcspbrk variants.
7825 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
7826 * sysdeps/s390/multiarch/ifunc-impl-list.c
7827 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
7828 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
7829 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
7830 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
7831 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
7832 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
7833 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
7834 * sysdeps/s390/ifunc-wcspbrk.h: New file.
7836 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7838 * sysdeps/s390/multiarch/Makefile
7839 (sysdep_routines): Remove wcsspn variants.
7840 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
7841 * sysdeps/s390/multiarch/ifunc-impl-list.c
7842 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
7843 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
7844 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
7845 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
7846 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
7847 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
7848 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
7849 * sysdeps/s390/ifunc-wcsspn.h: New file.
7851 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7853 * sysdeps/s390/multiarch/Makefile
7854 (sysdep_routines): Remove wcsrchr variants.
7855 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
7856 * sysdeps/s390/multiarch/ifunc-impl-list.c
7857 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
7858 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
7859 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
7860 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
7861 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
7862 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
7863 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
7864 * sysdeps/s390/ifunc-wcsrchr.h: New file.
7866 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7868 * sysdeps/s390/multiarch/Makefile
7869 (sysdep_routines): Remove wcschrnul variants.
7870 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
7871 * sysdeps/s390/multiarch/ifunc-impl-list.c
7872 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
7873 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
7874 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
7875 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
7876 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
7877 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
7878 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
7879 * sysdeps/s390/ifunc-wcschrnul.h: New file.
7881 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7883 * sysdeps/s390/multiarch/Makefile
7884 (sysdep_routines): Remove wcschr variants.
7885 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
7886 * sysdeps/s390/multiarch/ifunc-impl-list.c
7887 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
7888 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
7889 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
7890 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
7891 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
7892 * sysdeps/s390/multiarch/wcschr.c: Move to ...
7893 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
7894 * sysdeps/s390/ifunc-wcschr.h: New file.
7896 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7898 * sysdeps/s390/multiarch/Makefile
7899 (sysdep_routines): Remove wcsncmp variants.
7900 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
7901 * sysdeps/s390/multiarch/ifunc-impl-list.c
7902 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
7903 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
7904 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
7905 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
7906 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
7907 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
7908 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
7909 * sysdeps/s390/ifunc-wcsncmp.h: New file.
7911 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7913 * sysdeps/s390/multiarch/Makefile
7914 (sysdep_routines): Remove wcscmp variants.
7915 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
7916 * sysdeps/s390/multiarch/ifunc-impl-list.c
7917 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
7918 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
7919 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
7920 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
7921 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
7922 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
7923 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
7924 * sysdeps/s390/ifunc-wcscmp.h: New file.
7926 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7928 * sysdeps/s390/multiarch/Makefile
7929 (sysdep_routines): Remove wcsncat variants.
7930 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
7931 * sysdeps/s390/multiarch/ifunc-impl-list.c
7932 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
7933 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
7934 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
7935 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
7936 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
7937 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
7938 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
7939 * sysdeps/s390/ifunc-wcsncat.h: New file.
7941 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7943 * sysdeps/s390/multiarch/Makefile
7944 (sysdep_routines): Remove wcscat variants.
7945 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
7946 * sysdeps/s390/multiarch/ifunc-impl-list.c
7947 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
7948 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
7949 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
7950 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
7951 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
7952 * sysdeps/s390/multiarch/wcscat.c: Move to ...
7953 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
7954 * sysdeps/s390/ifunc-wcscat.h: New file.
7956 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7958 * sysdeps/s390/multiarch/Makefile
7959 (sysdep_routines): Remove wcpncpy variants.
7960 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
7961 * sysdeps/s390/multiarch/ifunc-impl-list.c
7962 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
7963 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
7964 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
7965 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
7966 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
7967 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
7968 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
7969 * sysdeps/s390/ifunc-wcpncpy.h: New file.
7971 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7973 * sysdeps/s390/multiarch/Makefile
7974 (sysdep_routines): Remove wcsncpy variants.
7975 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
7976 * sysdeps/s390/multiarch/ifunc-impl-list.c
7977 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
7978 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
7979 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
7980 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
7981 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
7982 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
7983 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
7984 * sysdeps/s390/ifunc-wcsncpy.h: New file.
7986 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7988 * sysdeps/s390/multiarch/Makefile
7989 (sysdep_routines): Remove wcpcpy variants.
7990 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
7991 * sysdeps/s390/multiarch/ifunc-impl-list.c
7992 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
7993 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
7994 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
7995 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
7996 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
7997 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
7998 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
7999 * sysdeps/s390/ifunc-wcpcpy.h: New file.
8001 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8003 * sysdeps/s390/multiarch/Makefile
8004 (sysdep_routines): Remove wcscpy variants.
8005 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
8006 * sysdeps/s390/multiarch/ifunc-impl-list.c
8007 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
8008 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
8009 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
8010 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
8011 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
8012 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
8013 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
8014 * sysdeps/s390/ifunc-wcscpy.h: New file.
8016 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8018 * sysdeps/s390/multiarch/Makefile
8019 (sysdep_routines): Remove wcsnlen variants.
8020 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
8021 * sysdeps/s390/multiarch/ifunc-impl-list.c
8022 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
8023 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
8024 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
8025 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
8026 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
8027 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
8028 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
8029 * sysdeps/s390/ifunc-wcsnlen.h: New file.
8031 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8033 * sysdeps/s390/multiarch/Makefile
8034 (sysdep_routines): Remove wcslen variants.
8035 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
8036 * sysdeps/s390/multiarch/ifunc-impl-list.c
8037 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
8038 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
8039 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
8040 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
8041 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
8042 * sysdeps/s390/multiarch/wcslen.c: Move to ...
8043 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
8044 * sysdeps/s390/ifunc-wcslen.h: New file.
8046 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8048 * sysdeps/s390/multiarch/Makefile
8049 (sysdep_routines): Remove memrchr variants.
8050 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
8051 * sysdeps/s390/multiarch/ifunc-impl-list.c
8052 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
8053 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
8054 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
8055 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
8056 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
8057 * sysdeps/s390/multiarch/memrchr.c: Move to ...
8058 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
8059 * sysdeps/s390/ifunc-memrchr.h: New file.
8061 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8063 * sysdeps/s390/multiarch/Makefile
8064 (sysdep_routines): Remove memccpy variants.
8065 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
8066 * sysdeps/s390/multiarch/ifunc-impl-list.c
8067 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
8068 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
8069 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
8070 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
8071 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
8072 * sysdeps/s390/multiarch/memccpy.c: Move to ...
8073 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
8074 * sysdeps/s390/ifunc-memccpy.h: New file.
8076 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8078 * sysdeps/s390/multiarch/Makefile
8079 (sysdep_routines): Remove rawmemchr variants.
8080 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
8081 * sysdeps/s390/multiarch/ifunc-impl-list.c
8082 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
8083 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
8084 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
8085 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
8086 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
8087 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
8088 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
8089 * sysdeps/s390/ifunc-rawmemchr.h: New file.
8091 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8093 * sysdeps/s390/multiarch/Makefile
8094 (sysdep_routines): Remove memchr variants.
8095 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
8096 * sysdeps/s390/multiarch/ifunc-impl-list.c
8097 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
8098 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
8099 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
8100 * sysdeps/s390/multiarch/memchr.c: Move to ...
8101 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
8102 * sysdeps/s390/ifunc-memchr.h: New file.
8103 * sysdeps/s390/s390-64/memchr.S: Move to ...
8104 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
8105 for 31/64bit and ifunc handling.
8106 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
8107 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
8108 * sysdeps/s390/s390-32/memchr.S: Likewise.
8110 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8112 * sysdeps/s390/multiarch/Makefile
8113 (sysdep_routines): Remove strcspn variants.
8114 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
8115 * sysdeps/s390/multiarch/ifunc-impl-list.c
8116 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
8117 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
8118 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
8119 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
8120 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
8121 * sysdeps/s390/multiarch/strcspn.c: Move to ...
8122 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
8123 * sysdeps/s390/ifunc-strcspn.h: New file.
8125 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8127 * sysdeps/s390/multiarch/Makefile
8128 (sysdep_routines): Remove strpbrk variants.
8129 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
8130 * sysdeps/s390/multiarch/ifunc-impl-list.c
8131 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
8132 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
8133 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
8134 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
8135 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
8136 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
8137 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
8138 * sysdeps/s390/ifunc-strpbrk.h: New file.
8140 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8142 * sysdeps/s390/multiarch/Makefile
8143 (sysdep_routines): Remove strspn variants.
8144 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
8145 * sysdeps/s390/multiarch/ifunc-impl-list.c
8146 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
8147 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
8148 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
8149 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
8150 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
8151 * sysdeps/s390/multiarch/strspn.c: Move to ...
8152 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
8153 * sysdeps/s390/ifunc-strspn.h: New file.
8155 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8157 * sysdeps/s390/multiarch/Makefile
8158 (sysdep_routines): Remove strrchr variants.
8159 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
8160 * sysdeps/s390/multiarch/ifunc-impl-list.c
8161 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
8162 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
8163 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
8164 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
8165 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
8166 * sysdeps/s390/multiarch/strrchr.c: Move to ...
8167 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
8168 * sysdeps/s390/ifunc-strrchr.h: New file.
8170 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8172 * sysdeps/s390/multiarch/Makefile
8173 (sysdep_routines): Remove strchrnul variants.
8174 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
8175 * sysdeps/s390/multiarch/ifunc-impl-list.c
8176 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
8177 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
8178 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
8179 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
8180 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
8181 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
8182 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
8183 * sysdeps/s390/ifunc-strchrnul.h: New file.
8185 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8187 * sysdeps/s390/multiarch/Makefile
8188 (sysdep_routines): Remove strchr variants.
8189 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
8190 * sysdeps/s390/multiarch/ifunc-impl-list.c
8191 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
8192 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
8193 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
8194 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
8195 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
8196 * sysdeps/s390/multiarch/strchr.c: Move to ...
8197 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
8198 * sysdeps/s390/ifunc-strchr.h: New file.
8200 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8202 * sysdeps/s390/multiarch/Makefile
8203 (sysdep_routines): Remove strncmp variants.
8204 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
8205 * sysdeps/s390/multiarch/ifunc-impl-list.c
8206 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
8207 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
8208 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
8209 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
8210 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
8211 * sysdeps/s390/multiarch/strncmp.c: Move to ...
8212 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
8213 * sysdeps/s390/ifunc-strncmp.h: New file.
8215 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8217 * sysdeps/s390/multiarch/Makefile
8218 (sysdep_routines): Remove strcmp variants.
8219 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
8220 * sysdeps/s390/multiarch/ifunc-impl-list.c
8221 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
8222 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
8223 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
8224 * sysdeps/s390/multiarch/strcmp.c: Move to ...
8225 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
8226 * sysdeps/s390/ifunc-strcmp.h: New file.
8227 * sysdeps/s390/s390-64/strcmp.S: Move to ...
8228 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
8229 for 31/64bit and ifunc handling.
8230 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
8231 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
8232 * sysdeps/s390/s390-32/strcmp.S: Likewise.
8234 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8236 * sysdeps/s390/multiarch/Makefile
8237 (sysdep_routines): Remove strncat variants.
8238 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
8239 * sysdeps/s390/multiarch/ifunc-impl-list.c
8240 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
8241 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
8242 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
8243 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
8244 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
8245 * sysdeps/s390/multiarch/strncat.c: Move to ...
8246 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
8247 * sysdeps/s390/ifunc-strncat.h: New file.
8249 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8251 * sysdeps/s390/multiarch/Makefile
8252 (sysdep_routines): Remove strcat variants.
8253 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
8254 * sysdeps/s390/multiarch/ifunc-impl-list.c
8255 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
8256 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
8257 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
8258 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
8259 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
8260 * sysdeps/s390/multiarch/strcat.c: Move to ...
8261 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
8262 * sysdeps/s390/ifunc-strcat.h: New file.
8264 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8266 * sysdeps/s390/multiarch/Makefile
8267 (sysdep_routines): Remove stpncpy variants.
8268 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
8269 * sysdeps/s390/multiarch/ifunc-impl-list.c
8270 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
8271 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
8272 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
8273 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
8274 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
8275 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
8276 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
8277 * sysdeps/s390/ifunc-stpncpy.h: New file.
8279 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8281 * sysdeps/s390/multiarch/Makefile
8282 (sysdep_routines): Remove strncpy variants.
8283 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
8284 * sysdeps/s390/multiarch/ifunc-impl-list.c
8285 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
8286 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
8287 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
8288 * sysdeps/s390/multiarch/strncpy.c: Move to ...
8289 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
8290 * sysdeps/s390/ifunc-strncpy.h: New file.
8291 * sysdeps/s390/s390-64/strncpy.S: Move to ...
8292 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
8293 and adjust ifunc handling.
8294 * sysdeps/s390/s390-32/strncpy.S: Move to ...
8295 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
8296 and adjust ifunc handling.
8297 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
8298 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
8300 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8302 * sysdeps/s390/multiarch/Makefile
8303 (sysdep_routines): Remove stpcpy variants.
8304 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
8305 * sysdeps/s390/multiarch/ifunc-impl-list.c
8306 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
8307 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
8308 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
8309 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
8310 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
8311 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
8312 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
8313 * sysdeps/s390/ifunc-stpcpy.h: New file.
8315 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8317 * sysdeps/s390/multiarch/Makefile
8318 (sysdep_routines): Remove strcpy variants.
8319 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
8320 * sysdeps/s390/multiarch/ifunc-impl-list.c
8321 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
8322 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
8323 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
8324 * sysdeps/s390/multiarch/strcpy.c: Move to ...
8325 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
8326 * sysdeps/s390/ifunc-strcpy.h: New file.
8327 * sysdeps/s390/s390-64/strcpy.S: Move to ...
8328 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
8329 for 31/64bit and ifunc handling.
8330 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
8331 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
8332 * sysdeps/s390/s390-32/strcpy.S: Likewise.
8334 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8336 * sysdeps/s390/multiarch/Makefile
8337 (sysdep_routines): Remove strnlen variants.
8338 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
8339 * sysdeps/s390/multiarch/ifunc-impl-list.c
8340 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
8341 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
8342 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
8343 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
8344 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
8345 * sysdeps/s390/multiarch/strnlen.c: Move to ...
8346 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
8347 * sysdeps/s390/ifunc-strnlen.h: New file.
8349 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8351 * sysdeps/s390/multiarch/Makefile
8352 (sysdep_routines): Remove strlen variants.
8353 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
8354 * sysdeps/s390/multiarch/ifunc-impl-list.c
8355 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
8356 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
8357 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
8358 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
8359 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
8360 * sysdeps/s390/multiarch/strlen.c: Move to ...
8361 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
8362 * sysdeps/s390/ifunc-strlen.h: New file.
8364 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8366 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
8367 * sysdeps/s390/multiarch/ifunc-impl-list.c
8368 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
8369 * sysdeps/s390/ifunc-memmem.h: New file.
8370 * sysdeps/s390/memmem.c: Likewise.
8371 * sysdeps/s390/memmem-c.c: Likewise.
8372 * sysdeps/s390/memmem-vx.c: Likewise.
8374 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8376 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
8377 * sysdeps/s390/multiarch/ifunc-impl-list.c
8378 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
8379 * sysdeps/s390/ifunc-strstr.h: New file.
8380 * sysdeps/s390/strstr.c: Likewise.
8381 * sysdeps/s390/strstr-c.c: Likewise.
8382 * sysdeps/s390/strstr-vx.c: Likewise.
8384 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8386 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
8387 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
8388 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
8389 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
8391 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
8392 * sysdeps/s390/memmove-c.c: New file.
8393 * sysdeps/s390/memmove.c: Likewise.
8394 * sysdeps/s390/multiarch/ifunc-impl-list.c
8395 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
8397 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8399 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
8400 * sysdeps/s390/configure.ac: Add check for z13 support.
8401 * sysdeps/s390/configure: Regenerated.
8403 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8405 * sysdeps/s390/memcopy.h: New file.
8407 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8409 * sysdeps/s390/s390-32/bcopy.S: Remove.
8410 * sysdeps/s390/s390-64/bcopy.S: Likewise.
8412 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8414 * sysdeps/s390/ifunc-memcpy.h: New File.
8415 * sysdeps/s390/memcpy.S: Move to ...
8416 * sysdeps/s390/memcpy-z900.S ... here.
8417 Move implementations from memcpy-s390x.s to here.
8418 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
8419 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
8420 Remove memcpy/mempcpy variants.
8421 * sysdeps/s390/Makefile (sysdep_routines):
8422 Add memcpy/mempcpy variants.
8423 * sysdeps/s390/multiarch/ifunc-impl-list.c
8424 (__libc_ifunc_impl_list): Adjust ifunc variants for
8426 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
8428 * sysdeps/s390/memcpy.c: ... here.
8429 Adjust ifunc variants for memcpy.
8430 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
8431 * sysdeps/s390/mempcpy.c: ... here.
8432 Adjust ifunc variants for mempcpy.
8433 * sysdeps/s390/mempcpy.S: Delete file.
8435 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8437 * sysdeps/s390/s390-64/memcpy.S: Move to ...
8438 * sysdeps/s390/memcpy.S: ... here.
8439 Adjust to be usable for 31/64bit.
8440 * sysdeps/s390/s390-32/memcpy.S: Delete File.
8441 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
8442 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
8443 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
8444 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
8445 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
8446 Adjust to be usable for 31/64bit.
8447 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
8448 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
8449 * sysdeps/s390/multiarch/memcpy.c: ... here.
8450 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
8452 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8454 * sysdeps/s390/ifunc-memcmp.h: New File.
8455 * sysdeps/s390/memcmp.S: Move to ...
8456 * sysdeps/s390/memcmp-z900.S ... here.
8457 Move implementations from memcmp-s390x.s to here.
8458 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
8459 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
8460 Remove memcmp variants.
8461 * sysdeps/s390/Makefile (sysdep_routines):
8462 Add memcmp variants.
8463 * sysdeps/s390/multiarch/ifunc-impl-list.c
8464 (__libc_ifunc_impl_list): Adjust ifunc variants for
8466 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
8468 * sysdeps/s390/memcmp.c: ... here.
8469 Adjust ifunc variants for memcmp.
8471 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8473 * sysdeps/s390/s390-64/memcmp.S: Move to ...
8474 * sysdeps/s390/memcmp.S: ... here.
8475 Adjust to be usable for 31/64bit.
8476 * sysdeps/s390/s390-32/memcmp.S: Delete File.
8477 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
8478 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
8480 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
8481 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
8482 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
8483 Adjust to be usable for 31/64bit.
8484 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
8485 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
8486 * sysdeps/s390/multiarch/memcmp.c: ... here.
8487 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
8489 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8491 * sysdeps/s390/s390-32/bzero.S: Delete file.
8492 * sysdeps/s390/s390-64/bzero.S: Likewise.
8493 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
8494 * sysdeps/s390/bzero.c: New file.
8495 * sysdeps/s390/memset-z900.S: Add bzero entry points.
8496 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
8497 * sysdeps/s390/multiarch/ifunc-impl-list.c
8498 (__libc_ifunc_impl_list): Add bzero ifunc variants.
8500 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8502 * sysdeps/s390/ifunc-memset.h: New File.
8503 * sysdeps/s390/memset.S: Move to ...
8504 * sysdeps/s390/memset-z900.S ... here.
8505 Move implementations from memset-s390x.s to here.
8506 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
8507 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
8508 Remove memset variants.
8509 * sysdeps/s390/Makefile (sysdep_routines):
8510 Add memset variants.
8511 * sysdeps/s390/multiarch/ifunc-impl-list.c
8512 (__libc_ifunc_impl_list): Adjust ifunc variants for
8514 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
8516 * sysdeps/s390/memset.c: ... here.
8517 Adjust ifunc variants for memset.
8519 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8521 * sysdeps/s390/s390-64/memset.S: Move to ...
8522 * sysdeps/s390/memset.S: ... here.
8523 Adjust to be usable for 31/64bit.
8524 * sysdeps/s390/s390-32/memset.S: Delete File.
8525 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
8526 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
8528 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
8529 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
8530 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
8531 Adjust to be usable for 31/64bit.
8532 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
8533 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
8534 * sysdeps/s390/multiarch/memset.c: ... here.
8535 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
8537 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8539 * sysdeps/s390/multiarch/ifunc-resolve.h
8540 (s390_libc_ifunc_init, s390_libc_ifunc,
8541 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
8543 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8545 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
8546 * sysdeps/s390/configure.ac: Add check for z10 support.
8547 * sysdeps/s390/configure: Regenerated.
8549 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
8551 * sysdeps/i386/atomic-machine.h: Merged with ...
8552 * sysdeps/x86_64/atomic-machine.h: To ...
8553 * sysdeps/x86/atomic-machine.h: This. New file.
8555 2018-12-18 Florian Weimer <fweimer@redhat.com>
8557 Rewrite locale/gen-translit.pl in Python.
8558 * locale/Makefile (generated): Add C-translit.h.
8559 (before-compile): Add $(objpfx)C-translit.h.
8560 (C-translit.h): Move to $(objpfx). Create target directory.
8561 Build using Python script.
8562 * locale/gen-translit.py: New file.
8563 * locale/gen-translit.pl: Remove file.
8564 * locale/C-translit.h.in: Change comment character to '#' for
8565 easier parsing without a C preprocessor.
8566 * locale/C-translit.h: Remove generated file.
8567 * manual/install.texi (Tools for Compilation): Do not mention
8569 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
8570 Remove locale/C-translit.h.
8571 * scripts/update-copyrights: Likewise.
8572 * INSTALL: Regenerate.
8574 2018-12-18 Florian Weimer <fweimer@redhat.com>
8577 * localedata/locales/bi_VU: Remove executable bit from file.
8579 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
8582 (__localtime64): Add.
8583 * manual/maint.texi: Document Y2038 symbol handling.
8585 (__localtime64): Add.
8586 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
8588 2018-12-17 Joseph Myers <joseph@codesourcery.com>
8590 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
8593 * scripts/glibcextract.py (compare_macro_consts): Take parameters
8594 to allow extra macros from first or second sources.
8595 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
8596 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8597 (tests-special): Add $(objpfx)tst-mman-consts.out.
8598 ($(objpfx)tst-mman-consts.out): New makefile target.
8600 2018-12-17 Mao Han <han_mao@c-sky.com>
8602 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
8603 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
8604 without stat64 system call support.
8605 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
8606 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
8607 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8608 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
8609 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
8610 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
8611 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
8612 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
8613 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
8614 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
8615 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
8617 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
8619 regex: fix storage-exhaustion error
8621 * posix/regexec.c (get_subexp):
8622 Do not continue if storage is exhausted.
8624 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
8626 regex: fix heap-use-after-free error
8628 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
8629 https://debbugs.gnu.org/32592
8630 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
8631 call extend_buffers which reallocates the re_string_t internal buffer.
8632 Local variable 'buf' was not updated in such case, resulting in
8634 * posix/regexec.c (get_subexp): Update 'buf' after call to
8637 2018-12-15 Florian Weimer <fweimer@redhat.com>
8639 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
8640 (minimum_stride_size): Use it.
8641 (support_blob_repeat_allocate): Likewise.
8643 2018-12-14 Joseph Myers <joseph@codesourcery.com>
8645 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
8650 2018-12-14 Florian Weimer <fweimer@redhat.com>
8652 * manual/process.texi (Process Creation Concepts): Remove
8653 documentation of process (ID) lifetime. List more process
8654 creation functions. Reference Process Identification section.
8655 (Process Identification): Add information about process ID
8656 lifetime. Describe Linux thread/task IDs.
8657 * manual/signal.texi (Signaling Another Process): Mention that the
8658 signal is always sent to the process.
8660 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8662 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
8663 and tst-ldbl-efgcvt.
8664 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
8665 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
8666 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
8667 (fcvt_tests, output_error, output_r_error, do_test): Use the
8668 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
8669 select the type of floating-point variables and arguments; to
8670 produce extra tests for double and conversion specifiers for
8671 printf; and to set the names of called functions.
8672 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
8673 in tst-efgcvt-template.c.
8674 * misc/tst-ldbl-efgcvt.c: Likewise.
8676 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
8678 * nss/Makefile (tst-nss-test3.out): New rule.
8680 2018-12-13 Joseph Myers <joseph@codesourcery.com>
8682 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
8685 2018-12-13 fanjinke <fanjinke@hygon.cn>
8687 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
8690 2018-12-13 Andreas Schwab <schwab@suse.de>
8693 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
8694 (__pthread_rwlock_rdlock_full): Update expected value for
8695 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
8696 * nptl/tst-rwlock-pwn.c: New file.
8697 * nptl/Makefile (tests): Add tst-rwlock-pwn.
8699 2018-12-12 Joseph Myers <joseph@codesourcery.com>
8701 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
8704 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8706 * benchtests/scripts/compare_bench.py (do_compare): write to
8707 stderr in casestat is not present.
8708 * benchtests/scripts/compare_bench.py (plot_graphs): write to
8709 stderr in case timings field is not present. Also string showing
8710 the output filename goes into the stderr.
8712 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8714 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
8715 and ZeroDivisorError exceptions.
8716 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
8717 argument to loop through user provided statistics.
8718 * benchtests/scripts/compare_bench.py (main): Include the --stats
8721 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8723 * benchtests/scripts/compare_bench.py (compare_runs): Continue
8726 2018-12-12 Florian Weimer <fweimer@redhat.com>
8728 * sysdeps/posix/timespec_get.c: Add missing “any later version”
8729 clause to copyright header.
8731 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8734 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
8735 registers saved in the stack frame.
8736 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
8737 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
8739 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8741 * include/bits/monetary-ldbl.h: New file.
8742 * include/bits/printf-ldbl.h: Likewise.
8743 * include/bits/stdio-ldbl.h: Likewise.
8744 * include/bits/stdlib-ldbl.h: Likewise.
8745 * include/bits/syslog-ldbl.h: Likewise.
8746 * include/bits/wchar-ldbl.h: Likewise.
8748 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8750 * libio/libio.h: Remove redirection for _IO_vfprintf.
8752 2018-12-11 Andreas Schwab <schwab@suse.de>
8754 * Makerules: Remove all references to abilist-pattern.
8755 (update-all-abi): Simplify find expression.
8757 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
8760 * math/auto-libm-test-in: Add new test case.
8761 * math/auto-libm-test-out-pow: Regenerated.
8762 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
8764 2018-12-10 DJ Delorie <dj@redhat.com>
8767 * support/test-container.c: Move postclean step to before we
8770 2018-12-10 Joseph Myers <joseph@codesourcery.com>
8772 * scripts/gen-as-const.py (main): Handle --python option.
8773 * scripts/gen-py-const.awk: Remove.
8774 * Makerules (py-const-script): Use gen-as-const.py.
8775 ($(py-const)): Likewise.
8776 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
8777 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
8778 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
8779 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
8780 ~PTHREAD_MUTEX_NO_ELISION_NP.
8781 * manual/README.pretty-printers: Update reference to
8784 * scripts/glibcextract.py: New file.
8785 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
8786 or tempfile. Import glibcexctract.
8787 (compute_c_consts): Remove. Moved to glibcextract.py.
8788 (gen_test): Update reference to compute_c_consts.
8790 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
8791 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
8792 * sysdeps/unix/sysv/linux/Makefile
8793 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
8794 Redirect stderr as well as stdout.
8796 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
8799 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
8800 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
8801 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
8802 ALWAYS_USE_VSYSCALL.
8803 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
8804 ALWAYS_USE_VSYSCALL.
8805 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
8806 ALWAYS_USE_VSYSCALL.
8808 2018-12-10 Florian Weimer <fweimer@redhat.com>
8811 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
8812 offset instead of count for clarity. Fix typo in comment.
8813 (__old_getdents64): Keep track of previous offset. Use it to call
8815 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
8816 that d_off is never zero.
8818 2018-12-10 Andreas Schwab <schwab@suse.de>
8820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
8821 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
8822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
8823 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
8824 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
8826 2018-12-10 Joseph Myers <joseph@codesourcery.com>
8828 * timezone/private.h: Update from tzcode 2018g.
8829 * timezone/tzfile.h: Likewise.
8830 * timezone/tzselect.ksh: Likewise.
8831 * timezone/zdump.c: Likewise.
8832 * timezone/zic.c: Likewise.
8834 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8837 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
8838 (do_test): Adjust buffer size and fix format.
8840 2018-12-07 DJ Delorie <dj@redhat.com>
8843 * malloc/tst-tcfree3.c: New.
8844 * malloc/Makefile: Add it.
8846 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
8848 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
8850 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8852 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
8853 used as a mask for the mode argument of __vfscanf_internal and
8854 __vfwscanf_internal.
8855 * stdio-common/vfscanf-internal.c
8856 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
8857 (__strtof128_internal): Define to __wcstof128_internal.
8858 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
8859 __strtof128_internal or __wcstof128_internal when the format of
8860 long double is the same as _Float128.
8862 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
8864 * include/unistd.h (__confstr): Add prototype and hidden prototype.
8865 * posix/confstr.c (confstr): Rename to __confstr.
8866 (__confstr): Add hidden def.
8867 (confstr): Add weak alias for __confstr.
8868 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
8871 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
8873 * NEWS: Mention getcpu.
8874 * include/sched.h (__getcpu): New libc_hidden_proto.
8875 * manual/resource.texi: Document getcpu.
8876 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
8877 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
8878 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
8879 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8880 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8881 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8882 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8883 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8884 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8885 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8886 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8887 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8888 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
8890 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8891 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8892 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
8899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
8901 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
8902 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8903 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8904 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8905 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8906 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8907 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8908 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8909 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
8910 * sysdeps/unix/sysv/linux/getcpu.c: New file.
8911 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
8914 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
8916 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
8918 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
8920 2018-12-07 Florian Weimer <fweimer@redhat.com>
8923 * posix/Makefile (routines): Add spawn_faction_addfchdir.
8924 * posix/Versions (GLIBC_2.29): Export
8925 posix_spawn_file_actions_addfchdir_np.
8926 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
8927 * posix/spawn_faction_destroy.c
8928 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
8929 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
8930 and the field action.fchdir_action.
8931 * posix/tst-spawn-chdir.c (add_chdir): New function.
8932 (do_test): Add do_fchdir loop. Call add_chdir.
8933 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
8934 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
8935 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
8936 posix_spawn_file_actions_addfchdir_np.
8937 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
8939 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
8941 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
8942 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
8944 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
8946 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
8948 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
8950 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
8952 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
8954 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8955 (GLIBC_2.29): Likewise.
8956 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8957 (GLIBC_2.29): Likewise.
8958 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8959 (GLIBC_2.29): Likewise.
8960 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8961 (GLIBC_2.29): Likewise.
8962 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
8964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8965 (GLIBC_2.29): Likewise.
8966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8967 (GLIBC_2.29): Likewise.
8968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8969 (GLIBC_2.29): Likewise.
8970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8971 (GLIBC_2.29): Likewise.
8972 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
8974 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
8976 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
8978 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
8979 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
8981 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
8983 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
8985 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
8988 2018-12-06 Joseph Myers <joseph@codesourcery.com>
8990 * manual/texinfo.tex: Update to version 2018-09-21.20 with
8991 trailing whitespace removed.
8992 * scripts/config.guess: Update to version 2018-11-28.
8993 * scripts/config.sub: Update to version 2018-11-28.
8994 * scripts/install-sh: Update to version 2018-03-11.20.
8995 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
8996 * scripts/move-if-change: Update to version 2018-03-07 03:47.
8998 2018-12-07 Florian Weimer <fweimer@redhat.com>
9002 * inet/tst-if_index-long.c: New file.
9003 * inet/Makefile (tests): Add tst-if_index-long.
9005 2018-12-07 Florian Weimer <fweimer@redhat.com>
9007 * support/check.h (support_record_failure_is_failed): Declare.
9008 * support/descriptors.h: New file.
9009 * support/support_descriptors.c: Likewise.
9010 * support/tst-support_descriptors.c: Likewise.
9011 * support/support_record_failure.c
9012 (support_record_failure_is_failed): New function.
9013 * support/Makefile (libsupport-routines): Add support_descriptors.
9014 (tests): Add tst-support_descriptors.
9016 2018-12-05 Zack Weinberg <zackw@panix.com>
9017 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9019 * stdio-common/vfprintf-internal.c
9020 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
9021 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
9022 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
9023 and __no_long_double.
9024 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
9025 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
9026 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
9027 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
9028 and __nldbl_*syslog* functions.
9029 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
9030 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
9031 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
9032 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
9033 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
9034 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
9035 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
9036 (__nldbl_vwprintf, __nldbl_wprintf):
9037 Directly call the appropriate __v*printf_internal routine, passing
9038 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
9040 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
9041 (__nldbl___printf_chk, __nldbl___snprintf_chk)
9042 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
9043 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
9044 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
9045 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9046 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
9047 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
9048 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
9049 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
9050 Likewise, and also pass PRINTF_FORTIFY when appropriate.
9051 (__nldbl_syslog, __nldbl_vsyslog):
9052 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
9053 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9055 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9058 2018-12-05 Zack Weinberg <zackw@panix.com>
9059 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9062 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
9063 Moved here from debug/vsprintf_chk.c.
9064 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
9065 and completion logic for the strfile to match exactly what
9066 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
9067 _IO_str_init_static_internal instead of maxlen-1.
9068 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9069 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
9070 __vsprintf_internal.
9072 * debug/vsprintf_chk.c (__vsprintf_chk)
9073 * debug/sprintf_chk.c (__sprintf_chk):
9074 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
9075 'flags' argument is positive, and slen as maxlen. No need to lock
9076 the FILE and/or construct a temporary FILE. Minimize and normalize
9077 header inclusions and variable names. Do not libc_hidden_def anything.
9079 * debug/asprintf_chk.c (__asprintf_chk)
9080 * debug/dprintf_chk.c (__dprintf_chk)
9081 * debug/fprintf_chk.c (__fprintf_chk)
9082 * debug/fwprintf_chk.c (__fwprintf_chk)
9083 * debug/printf_chk.c (__printf_chk)
9084 * debug/snprintf_chk.c (__snprintf_chk)
9085 * debug/swprintf_chk.c (__swprintf_chk)
9086 * debug/vasprintf_chk.c (__vasprintf_chk)
9087 * debug/vdprintf_chk.c (__vdprintf_chk)
9088 * debug/vfprintf_chk.c (__vfprintf_chk)
9089 * debug/vfwprintf_chk.c (__vfwprintf_chk)
9090 * debug/vprintf_chk.c (__vprintf_chk)
9091 * debug/vsnprintf_chk.c (__vsnprintf_chk)
9092 * debug/vswprintf_chk.c (__vswprintf_chk)
9093 * debug/vwprintf_chk.c (__vwprintf_chk)
9094 * debug/wprintf_chk.c (__wprintf_chk):
9095 Directly call the corresponding vxxprintf_internal function, passing
9096 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
9097 the FILE and/or construct a temporary FILE. Minimize and normalize
9098 header inclusions and variable names. Do not libc_hidden_def anything.
9100 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
9101 __obstack_vprintf_internal.
9102 (__obstack_vprintf_chk): Convert into a wrapper that calls
9103 __obstack_vprintf_internal (these two functions already had the
9104 same code) and move to new file...
9105 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
9107 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
9108 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
9109 * debug/Makefile (routines): Add vobprintf_chk.
9111 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
9112 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9113 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
9114 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9115 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
9116 (__nldbl___obstack_vfprintf_chk):
9117 Directly call the corresponding vxxprintf_internal function,
9118 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
9119 duplicate comparison of slen with 0 or maxlen from the corresponding
9120 non-__nldbl function.
9122 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
9123 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
9124 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
9125 Remove libc_hidden_proto.
9127 * stdio-common/vfprintf-internal.c
9128 (__vfprintf_internal, __vfwprintf_internal):
9129 Do not check _IO_FLAGS2_FORTIFY.
9130 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
9131 * libio/libioP.h: Update prototype of __vsprintf_internal and add
9132 a comment explaining why it has the maxlen argument.
9133 (_IO_acquire_lock_clear_flags2_fct): Remove.
9134 (_IO_acquire_lock_clear_flags2): Remove.
9135 (_IO_release_lock): Remove conditional statement which will
9137 (_IO_acquire_lock): Remove variable which is now unused.
9138 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9139 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9141 * stdio-common/Makefile (tests): Add tst-bz11319 and
9142 tst-bz11319-fortify2.
9143 (CFLAGS-tst-bz11319-fortify2.c): New macro.
9144 * stdio-common/tst-bz11319-fortify2.c: New file.
9145 * stdio-common/tst-bz11319.c: Likewise.
9147 2018-12-05 Zack Weinberg <zackw@panix.com>
9148 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9150 * misc/syslog.c: Include libioP.h, not iolibio.h.
9151 (__vsyslog_internal): New function with the former body of
9152 __vsyslog_chk; takes mode_flags argument same as
9153 __v*printf_internal. Call __vfprintf_internal directly.
9155 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
9156 Remove libc_hidden_def.
9157 (__syslog, __syslog_chk): Use __vsyslog_internal.
9158 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
9160 * include/sys/syslog.h: Add multiple inclusion guard.
9161 Add prototype for __vsyslog_internal.
9162 Remove declaration and libc_hidden_proto for __vsyslog_chk.
9164 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
9165 Use __vsyslog_internal.
9167 2018-12-05 Zack Weinberg <zackw@panix.com>
9168 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9170 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
9171 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
9172 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
9174 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
9175 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
9177 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
9178 Include wctype.h here if COMPILE_WPRINTF is defined.
9179 Define __vfprintf_internal or __vfwprintf_internal, depending
9181 Temporarily, on entry to this function, update mode_flags
9182 according to the environmental settings corresponding to
9183 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
9184 Throughout, check mode_flags instead of __ldbl_is_dbl and
9185 _IO_FLAGS2_FORTIFY on the destination FILE.
9186 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
9187 Include vfprintf-internal.c. Don't include wctype.h.
9188 * stdio-common/vfprintf.c: New file. Just define __vfprintf
9189 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
9191 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
9192 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
9194 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
9196 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
9197 and add mode_flags argument; use __vfprintf_internal.
9198 (__vdprintf): New function. Alias vdprintf to this.
9199 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
9200 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
9201 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
9202 (__obstack_printf): Use __obstack_printf_internal.
9203 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
9204 public aliases __vsnprintf and vsnprintf.
9205 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
9207 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
9208 public aliases _IO_vsprintf and vsprintf.
9209 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
9210 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
9211 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
9212 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
9213 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
9215 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
9216 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
9217 * stdio-common/fprintf.c, stdio-common/fxprintf.c
9218 * stdio-common/printf.c: Use __vfprintf_internal.
9220 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
9221 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
9222 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
9224 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
9225 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
9226 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
9227 __vfwprintf_internal.
9229 * libio/libio.h: Remove libc_hidden_proto and declaration for
9231 Remove declaration of _IO_vfwprintf.
9232 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
9234 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
9236 * include/stdio.h: Add prototype for __vasprintf.
9237 (__vsnprintf): Remove declaration, because there are no more
9239 * include/wchar.h (__vfwprintf, __vswprintf): Remove
9240 declaration, because there are no more internal calls.
9242 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
9243 __vsnprintf_internal, instead of _IO_vsnprintf.
9244 * argp/argp-help.c (__argp_error, __argp_failure): Use
9245 __vasprintf_internal, instead of _IO_vasprintf.
9246 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
9247 redefine, because there are no more internal calls.
9249 2018-12-05 Zack Weinberg <zackw@panix.com>
9250 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9252 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
9253 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
9254 Include libio/strfile.h instead of libioP.h.
9255 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
9256 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
9257 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
9258 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
9259 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
9260 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
9261 necessary. Do not set __no_long_double. Normalize variable names.
9262 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
9263 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
9264 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
9265 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
9266 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
9267 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
9268 Call __vfscanf_internal / __vfwscanf_internal directly, passing
9269 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
9270 Do not set __no_long_double. Normalize variable names.
9272 2018-12-05 Zack Weinberg <zackw@panix.com>
9273 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9275 * stdio-common/isoc99_scanf.c
9276 * stdio-common/isoc99_fscanf.c
9277 * stdio-common/isoc99_sscanf.c
9278 * stdio-common/isoc99_vscanf.c
9279 * stdio-common/isoc99_vfscanf.c
9280 * stdio-common/isoc99_vsscanf.c
9281 * wcsmbs/isoc99_wscanf.c
9282 * wcsmbs/isoc99_fwscanf.c
9283 * wcsmbs/isoc99_swscanf.c
9284 * wcsmbs/isoc99_vwscanf.c
9285 * wcsmbs/isoc99_vfwscanf.c
9286 * wcsmbs/isoc99_vswscanf.c:
9287 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
9288 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
9289 No need to lock and unlock the FILE passed to that function.
9291 * stdio-common/vfscanf-internal.c
9292 (__vfscanf_internal, __vfwscanf_internal):
9293 Don't look at _IO_FLAGS2_SCANF_STD.
9294 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
9295 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
9296 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
9298 2018-12-05 Zack Weinberg <zackw@panix.com>
9299 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9301 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
9302 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
9303 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
9304 * libio/strfile.h: Add multiple inclusion guard.
9305 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
9307 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
9308 consistency with the other version of this file.
9309 (ldbl_compat_symbol): New macro.
9310 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
9313 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
9314 Define __vfscanf_internal or __vfwscanf_internal, depending on
9315 COMPILE_WSCANF; don't define any other public symbols.
9316 Remove errval and code to set errp.
9317 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
9318 as the mode_flags argument.
9319 (encode_error, conv_error, input_error): Don't set errval.
9320 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
9321 Include vfscanf-internal.c.
9322 * stdio-common/vfscanf.c: New file defining the public entry
9323 point vfscanf, which calls __vfscanf_internal.
9324 * stdio-common/vfwscanf.c: New file defining the public entry
9325 point vfwscanf, which calls __vfwscanf_internal.
9327 * stdio-common/iovfscanf.c: New file.
9328 * stdio-common/iovfwscanf.c: Likewise.
9330 * stdio-common/Makefile (routines): Add vfscanf-internal,
9331 vfwscanf-internal, iovfscanf, iovfwscanf.
9332 * stdio-common/Versions: Mention GLIBC_2.29, so that
9333 it can be used in SHLIB_COMPAT expressions.
9334 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
9335 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
9336 Call __vfscanf_internal, instead of _IO_vfscanf.
9337 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
9339 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
9342 * libio/iovsscanf.c: Clean up includes, when possible. Use
9343 _IO_strfile_read or _IO_strfile_readw, when needed. Call
9344 __vfscanf_internal or __vfwscanf_internal directly.
9345 * libio/iovswscanf.c: Likewise.
9346 * libio/swscanf.c: Likewise.
9347 * libio/vscanf.c: Likewise.
9348 * libio/vwscanf.c: Likewise.
9349 * libio/wscanf.c: Likewise.
9350 * stdio-common/isoc99_fscanf.c: Likewise.
9351 * stdio-common/isoc99_scanf.c: Likewise.
9352 * stdio-common/isoc99_sscanf.c: Likewise.
9353 * stdio-common/isoc99_vfscanf.c: Likewise.
9354 * stdio-common/isoc99_vscanf.c: Likewise.
9355 * stdio-common/isoc99_vsscanf.c: Likewise.
9356 * stdio-common/scanf.c: Likewise.
9357 * stdio-common/sscanf.c: Likewise.
9358 * wcsmbs/isoc99_fwscanf.c: Likewise.
9359 * wcsmbs/isoc99_swscanf.c: Likewise.
9360 * wcsmbs/isoc99_vfwscanf.c: Likewise.
9361 * wcsmbs/isoc99_vswscanf.c: Likewise.
9362 * wcsmbs/isoc99_vwscanf.c: Likewise.
9363 * wcsmbs/isoc99_wscanf.c: Likewise.
9365 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
9368 (__tz_compute): Replace time_t with __time64_t.
9369 (__tz_convert): Replace time_t* with __time64_t.
9370 (__offtime): Replace time_t* with __time64_t.
9372 (__gmtime_r): Adjust call to __tz_convert.
9375 (__localtime_r): Likewise.
9376 (localtime): Likewise.
9377 * time/offtime.c: Replace time_t with __time64_t.
9378 * time/tzset.c: Likewise.
9380 2018-12-04 Joseph Myers <joseph@codesourcery.com>
9382 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
9383 dynamic linker unless [$(run-built-tests) = yes].
9385 2018-12-03 DJ Delorie <dj@delorie.com>
9387 * support/test-container.c (check_for_unshare_hints): New.
9388 (main): Call it if unshare fails. Add support for "su" scriptlet
9391 2018-12-03 Joseph Myers <joseph@codesourcery.com>
9393 * scripts/gen-as-const.py (compute_c_consts): Take an argument
9394 'START' to indicate that start text should be output.
9395 (gen_test): Likewise.
9396 (main): Generate 'START' for first symbol or '--' line, or at end
9397 of input if not previously generated.
9399 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
9402 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
9403 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
9404 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
9405 ALWAYS_USE_VSYSCALL.
9407 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9410 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
9413 2018-12-03 Carlos O'Donell <carlos@redhat.com>
9416 * locale/programs/localedef.c: Declare boolean hard_links default true.
9417 (options): Add --no-hard-links option.
9418 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
9419 * locale/programs/localedef.h: Declare prototype for hard_links.
9420 * locale/programs/locfile.c (write_locale_data): Don't use hard
9421 links if hard_links is false.
9423 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
9425 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
9427 (__cache_sysconf): Likewise.
9428 (init_cacheinfo): Likewise.
9429 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
9430 populate COMMON_CPUID_INDEX_80000007 and
9431 COMMON_CPUID_INDEX_80000008.
9432 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
9433 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
9434 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
9435 (init_cpu_features): Use _Static_assert on
9436 index_arch_Fast_Unaligned_Load.
9437 __get_cpuid_registers and __get_arch_feature. Updated for
9438 cpu_features_basic. Set stepping in cpu_features.
9439 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
9440 (FEATURE_INDEX_2): New.
9441 (FEATURE_INDEX_MAX): Changed to enum.
9442 (COMMON_CPUID_INDEX_D_ECX_1): New.
9443 (COMMON_CPUID_INDEX_80000007): Likewise.
9444 (COMMON_CPUID_INDEX_80000008): Likewise.
9445 (cpuid_registers): Likewise.
9446 (cpu_features_basic): Likewise.
9447 (CPU_FEATURE_USABLE): Likewise.
9448 (bit_arch_XXX_Usable): Likewise.
9449 (cpu_features): Use cpuid_registers and cpu_features_basic.
9450 (bit_arch_XXX): Reweritten.
9451 (bit_cpu_XXX): Likewise.
9452 (index_cpu_XXX): Likewise.
9453 (reg_XXX): Likewise.
9454 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
9456 (CHECK_CPU_FEATURE): New.
9457 (CHECK_CPU_FEATURE_USABLE): Likewise.
9458 (cpu_kinds): Likewise.
9459 (do_test): Print vendor, family, model and stepping. Check
9460 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
9461 (TEST_FUNCTION): Removed.
9462 Include <support/test-driver.c> instead of
9463 "../../test-skeleton.c".
9464 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
9465 Check POPCNT instead of POPCOUNT.
9466 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
9468 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
9470 * scripts/gen-as-const.py (main): Avoid emitting empty line when
9471 there is no element in `consts'.
9473 2018-12-01 Florian Weimer <fweimer@redhat.com>
9475 * support/support_capture_subprocess.c
9476 (support_capture_subprocess): Check that pipe descriptors have
9477 expected values. Close original pipe descriptors in subprocess.
9479 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
9482 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
9483 attr with __pthread_default_barrierattr.
9484 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
9485 attr with __pthread_default_condattr.
9486 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
9487 attr with __pthread_default_mutexattr.
9488 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
9489 attr with __pthread_default_rwlockattr.
9491 2018-12-01 Kemi Wang <kemi.wang@intel.com>
9493 * manual/tunables.texi (POSIX Thread Tunables): New node.
9494 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
9495 * nptl/nptl-init.c: Include pthread_mutex_conf.h
9496 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
9497 __pthread_tunables_init.
9498 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
9499 (max_adaptive_count): Define.
9500 * nptl/pthread_mutex_conf.c: New file.
9501 * nptl/pthread_mutex_conf.h: New file.
9502 * sysdeps/generic/adaptive_spin_count.h: New file.
9503 * sysdeps/nptl/dl-tunables.list: New file.
9504 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
9505 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
9506 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
9509 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
9512 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
9513 * stdlib/on_exit.c (__on_exit): Likewise.
9514 * stdlib/Makefile (tests): Add tst-bz20544.
9515 * stdlib/tst-bz20544.c: New test.
9517 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
9520 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
9521 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
9524 2018-11-30 Florian Weimer <fweimer@redhat.com>
9526 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
9527 Extend error logging.
9528 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
9531 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9533 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
9534 __sigismember instead of sigismember.
9535 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
9536 cancel_handler): New definitions.
9537 (do_system): Use posix_spawn instead of fork and execl and remove
9539 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
9540 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
9541 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
9542 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9543 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9544 * sysdeps/unix/sysv/linux/system.c: Likewise.
9548 * NEWS: Add new semantic for atfork with popen and system.
9549 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
9552 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9555 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
9556 modification order when accessing reloc_result->addr.
9557 * include/link.h (reloc_result): Add field init.
9558 * nptl/Makefile (tests): Add tst-audit-threads.
9559 (modules-names): Add tst-audit-threads-mod1 and
9560 tst-audit-threads-mod2.
9561 Add rules to build tst-audit-threads.
9562 * nptl/tst-audit-threads-mod1.c: New file.
9563 * nptl/tst-audit-threads-mod2.c: Likewise.
9564 * nptl/tst-audit-threads.c: Likewise.
9565 * nptl/tst-audit-threads.h: Likewise.
9567 2018-11-30 Joseph Myers <joseph@codesourcery.com>
9569 * scripts/gen-as-const.py: New file.
9570 * scripts/gen-as-const.awk: Remove.
9571 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
9573 ($(objpfx)test-as-const-%.c): Likewise.
9575 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
9577 * elf/dl-exception.c: Include <_itoa.h>.
9579 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9581 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
9582 returned by __f_setlk.
9584 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
9585 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9587 * elf/Makefile (tests-internal): Add tst-create_format1.
9588 * elf/dl-exception.c (_dl_exception_create_format): Support
9590 * elf/tst-create_format1.c: New file.
9592 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
9594 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
9595 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
9597 * argp/argp-help.c (__argp_failure): Likewise.
9599 2018-11-29 Mao Han <han_mao@c-sky.com>
9601 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
9602 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
9603 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
9604 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
9605 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
9606 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
9607 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
9608 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
9609 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
9610 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
9611 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
9612 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
9613 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
9614 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
9615 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
9616 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
9617 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
9618 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
9619 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
9620 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
9621 (R_CKCORE_TLS_TPOFF32): New defines.
9623 2018-11-29 Florian Weimer <fweimer@redhat.com>
9625 * posix/Makefile (before-compile): Remove testcases.h and
9627 (generated): Add testcases.h and ptestcases.h.
9628 (testcases.h, ptestcases.h): Move to $(objpfx).
9629 (runtests.o): Add dependency on testcases.h.
9630 (runptests.o): Add dependency on ptestcases.h.
9631 * posix/testcases.h, posix/ptestcases.h: Remove files.
9632 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
9633 not touch posix/testcases.h and posix/ptestcases.h.
9635 2018-11-28 Florian Weimer <fweimer@redhat.com>
9637 support: Add signal support to support_capture_subprocess_check.
9638 * support/capture_subprocess.h (support_capture_subprocess_check):
9639 Adjust comment and rename parameter.
9640 * support/support_capture_subprocess_check.c
9641 (print_actual_status): New function.
9642 (support_capture_subprocess_check): Support negative
9643 status_or_signal. Call print_actual_status.
9644 * support/tst-support_capture_subprocess.c (do_test): Call
9645 support_capture_subprocess_check.
9646 * libio/tst-vtables-common.c (termination_status)
9647 (init_termination_status): Remove.
9648 (check_for_termination): Adjust support_capture_subprocess_check
9650 (do_test): Remove call to init_termination_status.
9652 2018-11-28 Joseph Myers <joseph@codesourcery.com>
9654 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
9655 source directory instead of a copy.
9656 (CommandList.create_copy_dir): Remove.
9658 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
9660 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9662 2018-11-28 Florian Weimer <fweimer@redhat.com>
9664 * support/support.h (support_quote_string): Do not use str
9667 2018-11-27 Joseph Myers <joseph@codesourcery.com>
9669 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
9670 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
9672 2018-11-27 Florian Weimer <fweimer@redhat.com>
9674 * support/support.h (support_quote_string): Declare.
9675 * support/support_quote_string.c: New file.
9676 * support/tst-support_quote_string.c: Likewise.
9677 * support/Makefile (libsupport-routines): Add
9678 support_quote_string.
9679 (tests): Add tst-support_quote_string.
9681 2018-11-27 Florian Weimer <fweimer@redhat.com>
9685 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
9686 descriptor leak in case of ENODEV error.
9688 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
9691 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
9692 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
9693 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
9695 2018-11-26 Carlos O'Donell <carlos@redhat.com>
9697 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
9698 Error for unknown lines.
9700 2018-11-26 Joseph Myers <joseph@codesourcery.com>
9702 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
9703 Touch additional files.
9705 2018-11-26 Florian Weimer <fweimer@redhat.com>
9708 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
9711 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
9714 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
9715 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
9716 SHARED. Include sysdep.h.
9717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
9718 ALWAYS_USE_VSYSCALL.
9719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
9720 ALWAYS_USE_VSYSCALL.
9722 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
9725 * nptl/Makefile (tests-static): Add tst-cond11-static.
9727 * nptl/tst-cond11-static.c: New File.
9728 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
9729 tst-affinity-static.
9731 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
9733 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
9734 (USE_VSYSCALL): Likewise.
9735 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
9736 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
9738 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
9740 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
9743 2018-11-23 Joseph Myers <joseph@codesourcery.com>
9746 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9747 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
9750 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
9752 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
9753 (tst-cet-legacy-1a-ARGS): New.
9754 ($(objpfx)tst-cet-legacy-1a): New target.
9755 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
9757 2018-11-22 Joseph Myers <joseph@codesourcery.com>
9759 * conform/conformtest.py (CompileSubTest.__init__): Set
9760 self.run_early to False.
9761 (ExecuteSubTest.__init__): Likewise.
9762 (HeaderTests.run): Try running all non-optional, non-XFAILed
9763 compilation tests in a single execution of the compiler.
9765 * conform/conformtest.py (CompileSubTest): New class.
9766 (ExecuteSubTest): Likewise.
9767 (ElementTest.run): Rename to gen_subtests. Append tests to
9768 self.subtests instead of running them.
9769 (ConstantTest.run): Likewise.
9770 (SymbolTest.run): Likewise.
9771 (TypeTest.run): Likewise.
9772 (TagTest.run): Likewise.
9773 (FunctionTest.run): Likewise.
9774 (VariableTest.run): Likewise.
9775 (MacroFunctionTest.run): Likewise.
9776 (MacroStrTest.run): Likewise.
9777 (HeaderTests.handle_test_line): Generate subtests for tests.
9778 (HeaderTests.run): Run subtests for tests.
9780 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
9782 * math/Versions (GLIBC_2.29): Add pow.
9783 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
9785 * math/w_pow.c: New file.
9786 * sysdeps/i386/fpu/w_pow.c: New file.
9787 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
9788 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
9789 and add necessary aliases.
9790 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
9791 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
9792 * sysdeps/mach/hurd/i386/libm.abilist: Update.
9793 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9794 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
9795 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
9796 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
9797 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9798 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
9799 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
9800 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
9801 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
9802 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
9803 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
9804 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
9805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
9806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
9807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
9808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
9809 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
9810 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
9811 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
9812 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
9813 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
9814 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
9815 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
9816 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
9818 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
9819 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
9820 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
9822 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
9824 * math/Versions (GLIBC_2.29): Add log2.
9825 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
9827 * math/w_log2.c: New file.
9828 * sysdeps/i386/fpu/w_log2.c: New file.
9829 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
9830 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
9831 and add necessary aliases.
9832 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
9833 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
9834 * sysdeps/mach/hurd/i386/libm.abilist: Update.
9835 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9836 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
9837 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
9838 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
9839 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9840 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
9841 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
9842 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
9843 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
9844 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
9845 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
9846 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
9847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
9848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
9849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
9850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
9851 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
9852 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
9853 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
9854 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
9855 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
9856 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
9857 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
9859 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
9861 * math/Versions (GLIBC_2.29): Add log.
9862 * math/w_log_compat.c (__log_compat): Change to versioned compat
9864 * math/w_log.c: New file.
9865 * sysdeps/i386/fpu/w_log.c: New file.
9866 * sysdeps/ia64/fpu/e_log.S: Update.
9867 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
9868 and add necessary aliases.
9869 * sysdeps/ieee754/dbl-64/w_log.c: New file.
9870 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
9871 * sysdeps/mach/hurd/i386/libm.abilist: Update.
9872 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9873 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
9874 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
9875 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
9876 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9877 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
9878 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
9879 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
9880 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
9881 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
9882 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
9883 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
9884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
9885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
9886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
9887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
9888 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
9889 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
9890 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
9891 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
9892 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
9893 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
9894 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
9895 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
9897 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
9898 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
9899 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
9900 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
9902 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
9904 * math/Versions (GLIBC_2.29): Add exp and exp2.
9905 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
9906 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
9907 * math/w_exp_compat.c (__exp_compat): Likewise.
9908 * math/w_exp.c: New file.
9909 * math/w_exp2.c: New file.
9910 * sysdeps/i386/fpu/w_exp.c: New file.
9911 * sysdeps/i386/fpu/w_exp2.c: New file.
9912 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
9913 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
9914 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
9915 and add necessary aliases.
9916 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
9917 and add necessary aliases.
9918 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
9919 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
9920 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
9921 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
9922 * sysdeps/mach/hurd/i386/libm.abilist: Update.
9923 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9924 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
9925 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
9926 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
9927 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9928 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
9929 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
9930 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
9931 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
9932 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
9933 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
9934 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
9935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
9936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
9937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
9938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
9939 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
9940 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
9941 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
9942 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
9943 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
9944 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
9945 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
9946 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
9947 (__ieee754_exp): Rename to __exp.
9948 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
9949 (__ieee754_exp): Rename to __exp.
9950 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
9951 (__ieee754_exp): Rename to __exp.
9952 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
9954 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
9956 2018-11-20 DJ Delorie <dj@redhat.com>
9958 * malloc/malloc.c (tcache_entry): Add key field.
9959 (tcache_put): Set it.
9960 (tcache_get): Likewise.
9961 (_int_free): Check for double free in tcache.
9962 * malloc/tst-tcfree1.c: New.
9963 * malloc/tst-tcfree2.c: New.
9964 * malloc/Makefile: Run the new tests.
9965 * manual/probes.texi: Document memory_tcache_double_free probe.
9967 * dlfcn/dlerror.c (check_free): Prevent double frees.
9969 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
9971 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
9973 2018-11-20 Joseph Myers <joseph@codesourcery.com>
9975 * conform/conformtest.py (ElementTest.run): Use unique identifiers
9976 in tests. Use names for format arguments.
9977 (ConstantTest.run): Likewise.
9978 (SymbolTest.run): Likewise.
9979 (TypeTest.run): Likewise.
9980 (TagTest.run): Likewise.
9981 (FunctionTest.run): Likewise.
9982 (VariableTest.run): Likewise.
9983 (MacroFunctionTest.run): Likewise.
9984 (MacroStrTest.run): Likewise.
9985 (HeaderTests.__init__): Set self.num_tests.
9986 (HeaderTests.handle_test_line): Set test.num. Increment
9989 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
9991 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
9992 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
9995 2018-11-19 Mao Han <han_mao@c-sky.com>
9997 * scripts/config.guess: Update to version 2018-08-29.
9998 * scripts/config.sub: Update to version 2018-08-29.
10000 2018-11-19 Florian Weimer <fweimer@redhat.com>
10002 support: Print timestamps in timeout handler.
10003 * support/support_test_main.c (print_timestamp): New function.
10004 (signal_handler): Use it to print the termination time and the
10005 time of the last write to standard output.
10007 2018-11-16 Zack Weinberg <zackw@panix.com>
10008 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10010 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
10011 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
10013 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
10014 and add flags argument. Check flags instead of __ldbl_is_dbl when
10015 deciding whether to set is_long_double.
10016 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
10017 passing zero for flags argument.
10018 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
10020 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
10021 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
10022 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
10023 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
10024 variable names. Remove libc_hidden_def/libc_hidden_proto from
10025 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
10026 longer called from within the library.
10027 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
10028 for __nldbl___vstrfmon_l, declare it explicitly.
10030 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
10032 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10034 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
10036 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
10037 F_SETLK64, F_SETLKW64, respectively.
10038 * sysdeps/mach/hurd/f_setlk.c: New file.
10039 * sysdeps/mach/hurd/f_setlk.h: New file.
10040 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
10042 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
10043 (__libc_fcntl): Move non-flock operations to...
10044 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
10045 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
10047 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
10049 mktime: DEBUG_MKTIME cleanup
10050 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
10051 And it’s no longer needed now that glibc and Gnulib both have
10052 their own testing mechanisms for mktime.
10053 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
10055 mktime: fix non-EOVERFLOW errno handling
10057 mktime was not properly reporting failures when the underlying
10058 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
10059 them like EOVERFLOW failures, and set errno to EOVERFLOW.
10060 The problem could happen on non-glibc platforms, with Gnulib.
10061 * time/mktime.c (guess_time_tm): Remove, replacing with ...
10062 (tm_diff): ... this simpler function, which does not change errno.
10063 All callers changed to deal with errno themselves.
10064 (ranged_convert, __mktime_internal): Return failure immediately if
10065 the underlying function reports any failure other than EOVERFLOW.
10066 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
10069 mktime: fix bug with Y2038 DST transition
10071 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
10072 mishandle a DST transition that jumps over the Y2038 boundary.
10073 No such DST transitions are known so this is only a theoretical
10074 bug, but we might as well do things right.
10076 mktime: make more room for overflow
10078 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
10079 This is so that we can add tm_diff results to a previous guess,
10080 which will be useful in a later patch.
10082 mktime: simplify offset guess
10084 * time/mktime.c (__mktime_internal): Omit excess precision.
10086 mktime: new test for mktime failure
10088 Based on a test suggested by Albert Aribaud in:
10089 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
10090 * time/Makefile (tests): Add bug-mktime4.
10091 * time/bug-mktime4.c: New file.
10093 mktime: fix EOVERFLOW bug
10095 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
10096 Include libc-config.h, not config.h, for __set_errno.
10097 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
10099 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
10101 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
10102 __attribute_copy__ to copy attributes from name. Drop static qualifier
10103 to avoid warnings about leaf attribute not having effect on static
10106 2018-11-13 Florian Weimer <fweimer@redhat.com>
10108 * malloc/malloc.c (fastbin_push_entry): New function.
10109 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
10110 (REMOVE_FB): Remove macro.
10111 (_int_malloc): Use fastbin_pop_entry and reindent.
10112 (_int_free): Use fastbin_push_entry.
10113 (malloc_consolidate): Use atomic_exchange_acquire.
10115 2018-11-13 Joseph Myers <joseph@codesourcery.com>
10117 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
10118 alias attribute, not with strong_alias.
10120 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
10121 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
10122 with additional parameter thread.
10123 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
10124 in terms of __hidden_ver2.
10125 (hidden_tls_def): New macro.
10126 (libc_hidden_tls_def): Likewise.
10127 (rtld_hidden_tls_def): Likewise.
10128 (libm_hidden_tls_def): Likewise.
10129 (libmvec_hidden_tls_def): Likewise.
10130 (libresolv_hidden_tls_def): Likewise.
10131 (librt_hidden_tls_def): Likewise.
10132 (libdl_hidden_tls_def): Likewise.
10133 (libnss_files_hidden_tls_def): Likewise.
10134 (libnsl_hidden_tls_def): Likewise.
10135 (libnss_nisplus_hidden_tls_def): Likewise.
10136 (libutil_hidden_tls_def): Likewise.
10137 (libutil_hidden_tls_def): Likweise.
10138 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
10139 libc_hidden_tls_def.
10140 (__sim_disabled_exceptions_thread): Likewise.
10141 (__sim_round_mode_thread): Likewise.
10143 * sysdeps/sparc/sparc-ifunc.h [SHARED]
10144 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
10145 copy attributes from name.
10147 2018-11-12 Joseph Myers <joseph@codesourcery.com>
10149 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
10150 Use __attribute_copy__ to copy attributes from name.
10152 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
10153 with __hidden_ver1 call.
10154 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
10155 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
10156 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
10157 (__cosf): Do not declare here.
10158 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
10159 (__sincosf): Do not declare here.
10160 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
10161 (__sinf): Do not declare here.
10163 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
10164 (__BIG_ENDIAN): Likewise.
10165 (__BYTE_ORDER): Likewise.
10166 (strong_alias): Likewise.
10167 (_strong_alias): Likewise.
10169 2018-11-12 Florian Weimer <fweimer@redhat.com>
10171 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
10172 function. Move after the definition of in_smallbin_range. Do not
10173 use __builtin_expect for paths that lead to a noreturn function.
10174 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
10175 because it is unclear whether this is in fact an unlikely
10177 (_int_malloc, _int_free): Adjust.
10178 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
10180 * malloc/arena.c (heap_trim): Likewise.
10182 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10184 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
10185 it, free it if needed.
10186 (reauthenticate): Test and use ccwdir.
10187 (child_init_port): In non-resetids case, test and use ccwdir.
10188 (child_chdir): New nested function to set ccwdir.
10189 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
10190 * hurd/hurd/port.h (_hurd_port_move): New function.
10191 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
10192 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
10193 * hurd/Versions (_hurd_port_move): Export function.
10194 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
10196 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
10197 of dtablesize for allocating dtable_cloexec.
10199 2018-11-09 Martin Sebor <msebor@redhat.com>
10201 * include/libc-symbols.h (__attribute_copy__): Define macro unless
10202 it's already defined.
10203 (_strong_alias): Use __attribute_copy__.
10204 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
10205 * misc/sys/cdefs.h (__attribute_copy__): New macro.
10206 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
10207 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
10208 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
10209 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
10210 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
10211 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
10212 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
10213 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
10214 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
10215 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
10216 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
10217 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
10218 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
10219 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
10220 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
10221 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
10222 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
10224 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10226 * misc/tst-efgcvt.c: Include support/check.h and
10227 support/test-driver.c. Do not include test-skeleton.c.
10228 (error_count): Remove.
10229 (output_error): Replace increments to error_count with calls to
10230 support_record_failure.
10231 (output_r_error): Likewise.
10232 (special): Likewise.
10233 (do_test): Unconditionally return zero.
10234 (TEST_FUNCTION): Remove.
10236 2018-11-09 Joseph Myers <joseph@codesourcery.com>
10238 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
10240 ($(linknamespace-header-tests)): Likewise.
10242 * conform/conformtest.py: New file.
10243 * conform/conformtest.pl: Remove.
10244 * conform/GlibcConform.pm: Likewise.
10245 * conform/glibcconform.py (KEYWORDS_C90): New constant.
10246 (KEYWORDS_C99): Likewise.
10247 (KEYWORDS): Likewise.
10248 * conform/Makefile ($(conformtest-header-tests)): Use
10249 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
10250 option. Use --header instead of --headers.
10251 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
10253 * conform/data/spawn.h-data: Likewise.
10254 * conform/data/fcntl.h-data (openat): Add space after function
10256 * conform/data/wchar.h-data (wcscasecmp): Likewise.
10257 (wcscasecmp_l): Likewise.
10258 * conform/data/termios.h-data (c_cc): Add space after element
10261 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10263 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
10264 instead of manually comparing and reporting mismatching strings.
10265 * misc/tst-ldbl-error.c (do_one_test): Likewise.
10266 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
10268 2018-11-08 Joseph Myers <joseph@codesourcery.com>
10270 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
10271 __ASSUME_SOCKETCALL.
10272 * sysdeps/unix/sysv/linux/i386/kernel-features.h
10273 (__ASSUME_SOCKETCALL): Remove.
10274 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10275 (__ASSUME_SOCKETCALL): Likewise.
10276 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10277 (__ASSUME_SOCKETCALL): Likewise.
10278 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10279 (__ASSUME_SOCKETCALL): Likewise.
10280 * sysdeps/unix/sysv/linux/s390/kernel-features.h
10281 (__ASSUME_SOCKETCALL): Likewise.
10282 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10283 (__ASSUME_SOCKETCALL): Likewise.
10284 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10285 (__ASSUME_SOCKETCALL): Likewise.
10287 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
10290 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
10291 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
10292 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
10293 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
10294 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
10297 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
10300 * resolv/tst-resolv-network.c: Add test for getnetbyname.
10302 2018-11-07 Joseph Myers <joseph@codesourcery.com>
10305 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10306 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
10307 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10308 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
10310 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10312 * support/support_test_compare_string.c
10313 (support_test_compare_string): Fix printf format.
10315 2018-11-07 Florian Weimer <fweimer@redhat.com>
10317 Implement TEST_COMPARE_STRING.
10318 * support/check.h (TEST_COMPARE_STRING): Define.
10319 (support_test_compare_string): Declare.
10320 * support/Makefile (libsupport-routines): Add
10321 support_test_compare_string.
10322 (tests): Add tst-test_compare_string.
10323 * support/support_test_compare_string.c: New file.
10324 * support/tst-test_compare_string.c: Likewise.
10326 2018-11-07 Andreas Schwab <schwab@suse.de>
10329 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
10330 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
10333 2018-11-06 Joseph Myers <joseph@codesourcery.com>
10336 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10337 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
10338 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
10339 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
10342 2018-11-06 Florian Weimer <fweimer@redhat.com>
10345 * posix/Makefile (routines): Add spawn_faction_addchdir.
10346 (tests): Add tst-spawn-chdir.
10347 * posix/Versions (GLIBC_2.29): Add
10348 posix_spawn_file_actions_addchdir_np.
10349 * posix/spawn_faction_addchdir.c: New file.
10350 * posix/spawn_faction_destroy.c
10351 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
10352 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
10353 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
10355 * posix/tst-spawn-chdir.c: New file.
10356 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
10357 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
10358 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
10359 posix_spawn_file_actions_addchdir_np.
10360 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
10362 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
10364 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
10365 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
10367 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
10369 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
10371 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
10373 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
10375 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
10377 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10378 (GLIBC_2.29): Likewise.
10379 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10380 (GLIBC_2.29): Likewise.
10381 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10382 (GLIBC_2.29): Likewise.
10383 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10384 (GLIBC_2.29): Likewise.
10385 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
10387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10388 (GLIBC_2.29): Likewise.
10389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10390 (GLIBC_2.29): Likewise.
10391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10392 (GLIBC_2.29): Likewise.
10393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10394 (GLIBC_2.29): Likewise.
10395 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
10397 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
10399 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
10401 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
10402 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
10404 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
10406 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
10408 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
10411 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10413 * misc/Makefile (tests): Add tst-ldbl-error.
10414 * misc/tst-ldbl-error.c: New file.
10416 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10418 * misc/Makefile (tests): Add tst-ldbl-warn.
10419 * misc/tst-ldbl-warn.c: New file.
10421 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10423 * argp/Makefile (tests): Add tst-ldbl-argp.
10424 * argp/tst-ldbl-argp.c: New file.
10426 2018-11-05 Arjun Shankar <arjun@redhat.com>
10428 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
10429 __gconv_path_elem and call __gconv_get_path unconditionally.
10431 2018-11-05 Andreas Schwab <schwab@suse.de>
10434 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
10435 creating the first helper thread failed.
10437 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10439 * sysdeps/mach/hurd/msync.c: New file.
10441 2018-11-02 Florian Weimer <fweimer@redhat.com>
10443 * support/shell-container.c (copy_func): Call
10444 support_copy_file_range instead of copy_file_range to support
10445 cross-device copies.
10447 2018-11-02 Florian Weimer <fweimer@redhat.com>
10449 * support/test-container.c: Include <libc-pointer-arith.h> for
10452 2018-11-01 Zong Li <zong@andestech.com>
10454 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
10455 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
10456 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
10457 (__FP_FRAC_SET_8): Add implementation for RV32 use.
10459 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
10460 variable to avoid overlap arguments.
10462 2018-11-01 Joseph Myers <joseph@codesourcery.com>
10464 * posix/bug-regex22.c (main): Use puts with distinct error
10465 messages for unexpected success of re_compile_pattern, not printf
10466 with NULL argument to %s.
10468 * stdio-common/bug22.c: Include <libc-diag.h>.
10469 (do_test): Disable -Wformat-overflow= warnings around fprintf
10470 calls outputting more than INT_MAX characters.
10471 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
10472 around printf call with NULL %s argument.
10475 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
10476 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
10478 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10479 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10480 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10481 (__ASSUME_SENDTO_SYSCALL): Likewise.
10482 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10483 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
10485 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10486 (__ASSUME_CONNECT_SYSCALL): Likewise.
10487 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10488 (__ASSUME_RECVFROM_SYSCALL): Likewise.
10489 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
10491 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
10493 [__LINUX_KERNEL_VERSION >= 0x040400]
10494 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10495 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
10497 (listen): Likewise.
10498 (setsockopt): Likewise.
10500 2018-11-01 Fredrik Noring <noring@nocrew.org>
10502 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
10503 with the ISA override.
10505 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
10507 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
10510 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10512 * manual/errno.texi (EIEIO): Document how translators should
10513 translate the error message.
10514 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
10515 printing trailing whitespaces refused by git.
10516 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
10517 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10518 * hurd/Makefile (user-interfaces): Add pci.
10520 2018-10-30 Joseph Myers <joseph@codesourcery.com>
10522 * conform/linknamespace.py: New file.
10523 * conform/linknamespace.pl: Remove file.
10524 * conform/Makefile ($(linknamespace-header-tests)): Use
10525 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
10528 2018-10-30 Florian Weimer <fweimer@redhat.com>
10530 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
10533 2018-10-30 Florian Weimer <fweimer@redhat.com>
10535 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
10537 2018-10-30 Florian Weimer <fweimer@redhat.com>
10539 * stdlib/tst-strtod-overflow.c (do_test): Switch to
10540 support_blob_repeat.
10542 2018-10-30 Florian Weimer <fweimer@redhat.com>
10544 Avoid spurious test failures in stdlib/test-bz22786.
10545 * support/Makefile (libsupport-routines): Add blob_repeat.
10546 (tests): Add tst-support_blob_repeat.
10547 * support/blob_repeat.h: New file.
10548 * support/blob_repeat.c: Likewise.
10549 * support/tst-support_blob_repeat.c: Likewise.
10550 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
10551 support_blob_repeat_allocate.
10553 2018-10-30 Andreas Schwab <schwab@suse.de>
10556 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
10557 Don't use tail call.
10558 * elf/tst-unwind-main.c: New file.
10559 * elf/Makefile (tests): Add tst-unwind-main.
10560 (CFLAGS-tst-unwind-main.c): Define.
10562 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
10565 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
10566 n_cs_precedes to 0.
10567 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
10569 2018-10-29 Joseph Myers <joseph@codesourcery.com>
10571 * conform/glibcconform.py: Do not import shutil.
10572 (list_exported_functions): Use tempfile.TemporaryDirectory instead
10575 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
10576 critic_missing for versions before 3.4.
10577 * configure: Regenerated.
10578 * manual/install.texi (Tools for Compilation): Document
10579 requirement for Python to build glibc.
10580 * INSTALL: Regenerated.
10581 * Rules [PYTHON]: Make code unconditional.
10582 * benchtests/Makefile [PYTHON]: Likewise.
10583 * conform/Makefile [PYTHON]: Likewise.
10584 * manual/Makefile [PYTHON]: Likewise.
10585 * math/Makefile [PYTHON]: Likewise.
10587 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10589 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
10590 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
10591 answer to interrupt_operation, return EIEIO instead of EINTR.
10592 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
10593 _hurd_intr_rpc_msg_about_to global point to start of controlled
10594 assembly snippet. Make it check canceled flag.
10595 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
10596 the _hurd_intr_rpc_msg_about_to point.
10597 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
10598 issue, remove cancel flag check.
10600 2018-10-26 Joseph Myers <joseph@codesourcery.com>
10602 * scripts/build-many-glibcs.py: Remove compatibility for missing
10603 os.cpu_count and re.fullmatch.
10605 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
10608 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
10609 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
10610 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
10612 2018-10-25 Joseph Myers <joseph@codesourcery.com>
10614 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
10617 2018-10-25 Florian Weimer <fweimer@redhat.com>
10621 XFAIL siginfo_t si_band conform test on sparc64.
10622 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
10623 (__SI_BAND_TYPE): Only override long int default type on sparc64.
10624 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10625 (conformtest-xfail-conds): Add sparc64-linux.
10626 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
10628 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
10630 2018-10-25 Joseph Myers <joseph@codesourcery.com>
10632 * elf/elf.h (NT_MIPS_DSP): New macro.
10633 (NT_MIPS_FP_MODE): Likewise.
10635 2018-10-25 Zong Li <zong@andestech.com>
10637 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
10638 name by adding the file extension (.so).
10640 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
10642 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
10643 (test-xfail-ISO11/threads.h/linknamespace,
10644 test-xfail-ISO11/threads.h/conform): Add.
10646 2018-10-24 Joseph Myers <joseph@codesourcery.com>
10648 * math/gen-libm-test.py: Import os.
10649 (ALL_FLOATS_MANUAL): New constant.
10650 (ALL_FLOATS_SUFFIX): Likewise.
10651 (Ulps.all_functions): New function.
10652 (real_all_ulps): Likewise.
10653 (generate_err_table_sub): Likewise.
10654 (generate_err_table): Likewise.
10655 (main): Handle -s and -m options.
10656 * manual/libm-err-tab.pl: Remove.
10657 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
10658 instead of libm-err-tab.pl.
10659 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
10661 * manual/install.texi (Tools for Compilation): Document
10662 requirement for Python to build manual.
10663 * INSTALL: Regenerated.
10665 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
10667 * bits/time64.h: New file.
10668 * include/time.h: Replace internal_time_t with __time64_t.
10669 * posix/bits/types (__time64_t): Add.
10670 * stdlib/Makefile: Add bits/time64.h to includes.
10671 * time/tzfile.c: Replace internal_time_t with __time64_t.
10673 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10675 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
10676 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
10677 __posix_spawn_file_actions_init, __posix_spawnattr_init,
10678 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
10679 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
10681 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
10682 * posix/spawn_faction_addclose.c
10683 (__posix_spawn_file_actions_addclose): Add hidden definition.
10684 * posix/spawn_faction_adddup2.c
10685 (__posix_spawn_file_actions_adddup2): Likewise.
10686 * posix/spawn_faction_destroy.c
10687 (__posix_spawn_file_actions_destroy): Likewise.
10688 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
10690 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
10691 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
10692 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
10694 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
10695 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
10698 2018-10-24 Andreas Schwab <schwab@suse.de>
10701 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
10703 * elf/cache.c (print_cache): Likewise.
10705 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
10707 * bits/timesize.h: New file.
10708 * stdlib/Makefile (headers): Add bits/timesize.h.
10709 * sysdeps/unix/sysv/linux/bits/msq-pad.h
10710 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
10711 * sysdeps/unix/sysv/linux/bits/sem-pad.h
10712 (__SEM_PAD_AFTER_TIME): Likewise.
10713 * sysdeps/unix/sysv/linux/bits/shm-pad.h
10714 (__SHM_PAD_AFTER_TIME): Likewise.
10715 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
10716 (__MSQ_PAD_BEFORE_TIME): Likewise.
10717 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
10718 (__SEM_PAD_BEFORE_TIME): Likewise.
10719 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
10720 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
10721 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
10722 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
10723 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
10724 (__MSQ_PAD_BEFORE_TIME): Likewise.
10725 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
10726 (__SEM_PAD_BEFORE_TIME): Likewise.
10727 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
10728 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
10729 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
10730 (__MSQ_PAD_BEFORE_TIME): Likewise.
10731 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
10732 (__SEM_PAD_BEFORE_TIME): Likewise.
10733 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
10734 (__SHM_PAD_BEFORE_TIME): Likewise.
10735 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
10736 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
10737 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
10739 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
10741 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
10742 USE_RDTSCP is defined.
10743 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
10744 USE_RDTSCP is defined.
10746 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10748 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
10752 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
10753 independently of other flags.
10755 2018-10-23 Florian Weimer <fweimer@redhat.com>
10757 * time/tst-mktime2.c (N_STRINGS): Remove.
10758 (set_timezone): New function.
10759 (spring_forward_gap): Call it. Use FAIL_EXIT1.
10760 (mktime_test1): Report localtime failure and check errno value.
10762 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
10763 (do_test): Remove alarm call. Use set_timezone and array_length.
10765 2018-10-23 Andreas Schwab <schwab@suse.de>
10767 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
10768 (__start_context): Use END instead of PSEUDO_END.
10770 2018-10-22 Joseph Myers <joseph@codesourcery.com>
10772 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10775 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10779 * wcsmbs/c32rtomb.c: New file.
10780 * wcsmbs/mbrtoc32.c: Likewise.
10781 * wcsmbs/tst-c32-state.c: Likewise.
10782 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
10783 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
10784 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
10785 (tests): Add tst-c32-state.
10786 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
10789 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
10791 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
10792 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
10794 2018-10-19 Joseph Myers <joseph@codesourcery.com>
10797 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
10798 pair and return 0 in that case, and use saved character to
10799 interpret following character.
10800 * wcsmbs/tst-c16-surrogate.c: New file.
10801 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
10802 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
10803 Depend on $(gen-locales)
10805 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
10808 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
10809 (struct siginfo_t): Use correct type for si_band.
10811 2018-10-19 Florian Weimer <fweimer@redhat.com>
10814 * resource/bits/types/struct_rusage.h (struct rusage): Update
10815 comment on struct. Remove extraneous field comment.
10817 2018-10-18 David S. Miller <davem@davemloft.net>
10819 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
10820 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
10821 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
10822 sysdep_routines in subdir elf.
10823 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
10824 version for __vdso_clock_gettime.
10825 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
10827 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
10828 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
10830 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
10832 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
10834 * sysdeps/i386/init-arch.h: Removed.
10835 * sysdeps/i386/i586/init-arch.h: Likewise.
10836 * sysdeps/i386/i686/init-arch.h: Likewise.
10837 * sysdeps/i386/i686/hp-timing.h: Likewise.
10838 * sysdeps/x86_64/hp-timing.h: Likewise.
10839 * sysdeps/i386/isa.h: New file.
10840 * sysdeps/i386/i586/isa.h: Likewise.
10841 * sysdeps/i386/i686/isa.h: Likewise.
10842 * sysdeps/x86_64/isa.h: Likewise.
10843 * sysdeps/x86/hp-timing.h: New file.
10844 * sysdeps/x86/init-arch.h: Include <isa.h>.
10846 2018-10-17 Joseph Myers <joseph@codesourcery.com>
10848 * math/libm-test-pow.inc (pow_test_data): Do not allow
10849 divide-by-zero exception for pow(+/- 0, -Inf).
10851 2018-10-17 Zack Weinberg <zackw@panix.com>
10853 * manual/job.texi (Job Control is Optional): Remove node, as
10854 job control has not been optional in quite some time.
10855 (Job Control): Mention briefly that systems older than
10856 POSIX.1-2001 might not support job control.
10857 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
10858 defined on systems conforming to POSIX.1-2001.
10860 2018-10-17 Arjun Shankar <arjun@redhat.com>
10863 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
10865 * (__gconv_read_conf): Mark function static.
10866 * (once): New static variable.
10867 * (__gconv_load_conf): New function.
10868 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
10869 * iconv/gconv_db.c (once): Remove static variable.
10870 * (__gconv_compare_alias): Use __gconv_load_conf instead of
10872 * (__gconv_find_transform): Likewise.
10873 * iconv/tst-iconv-mt.c: New test.
10874 * iconv/Makefile: Add tst-iconv_mt.
10876 2018-10-17 Joseph Myers <joseph@codesourcery.com>
10878 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10880 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
10881 (shmatt_t): Define as __syscall_ulong_t.
10882 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
10883 and [__SHM_PAD_AFTER_TIME].
10884 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
10885 Define shm_segsz and associated padding based on
10886 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
10887 Use __syscall_ulong_t instead of unsigned long int.
10888 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
10890 [__USE_MISC] (struct shm_info): Likewise.
10891 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
10892 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
10893 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
10894 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
10895 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
10896 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
10897 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
10898 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
10899 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10900 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10901 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10903 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10905 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
10906 (SHMLBA): Remove macro.
10907 (__getpagesize): Remove function declaration.
10908 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
10910 (SHMLBA): Remove macro.
10911 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
10913 (SHMLBA): Remove macro.
10914 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
10916 (SHMLBA): Remove macro.
10917 (__getpagesize): Remove function declaration.
10918 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
10920 (SHMLBA): Remove macro.
10921 (__getshmlba): Remove function declaration.
10922 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
10923 (SHMLBA): Remove macro.
10924 (__getpagesize): Remove function declaration.
10925 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
10926 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
10927 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10928 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
10929 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
10930 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
10931 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
10932 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
10933 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
10934 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
10936 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
10939 * nptl/tst-mutex10.c: New File.
10940 * nptl/Makefile (tests): Add tst-mutex10.
10941 (tst-mutex10-ENV): New variable.
10942 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
10943 Ensure that elision path is used if elision is available.
10944 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
10946 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
10948 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
10949 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
10950 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
10951 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
10953 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
10954 (__pthread_mutex_cond_lock_adjust): Likewise.
10955 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
10957 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
10958 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
10959 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10960 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
10962 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
10963 Use atomic_load_relaxed and atomic_store_relaxed.
10964 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
10965 Use atomic_store_relaxed.
10967 2018-10-17 Andreas Schwab <schwab@suse.de>
10969 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
10970 * crypt/badsalttest.c (TIMEOUT): Likewise.
10971 * crypt/sha256c-test.c (TIMEOUT): Likewise.
10972 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
10973 * io/test-lfs.c (TIMEOUT): Likewise.
10974 * libio/tst-atime.c (TIMEOUT): Likewise.
10975 * localedata/tst-leaks.c (TIMEOUT): Likewise.
10976 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
10977 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
10978 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
10979 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
10980 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
10981 * nptl/tst-cond11.c (TIMEOUT): Likewise.
10982 * nptl/tst-cond14.c (TIMEOUT): Likewise.
10983 * nptl/tst-cond15.c (TIMEOUT): Likewise.
10984 * nptl/tst-cond24.c (TIMEOUT): Likewise.
10985 * nptl/tst-cond25.c (TIMEOUT): Likewise.
10986 * nptl/tst-kill2.c (TIMEOUT): Likewise.
10987 * nptl/tst-kill3.c (TIMEOUT): Likewise.
10988 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
10989 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
10990 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
10991 * nptl/tst-once2.c (TIMEOUT): Likewise.
10992 * nptl/tst-once3.c (TIMEOUT): Likewise.
10993 * nptl/tst-once4.c (TIMEOUT): Likewise.
10994 * nptl/tst-robust8.c (TIMEOUT): Likewise.
10995 * nptl/tst-robust9.c (TIMEOUT): Likewise.
10996 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
10997 * nptl/tst-sem14.c (TIMEOUT): Likewise.
10998 * nptl/tst-sem6.c (TIMEOUT): Likewise.
10999 * nptl/tst-signal3.c (TIMEOUT): Likewise.
11000 * nptl/tst-spin4.c (TIMEOUT): Likewise.
11001 * nptl/tst-tls3.c (TIMEOUT): Likewise.
11002 * nptl/tst-tls4.c (TIMEOUT): Likewise.
11003 * posix/tst-chmod.c (TIMEOUT): Likewise.
11004 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
11005 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
11006 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
11007 * posix/tst-regex2.c (TIMEOUT): Likewise.
11008 * posix/tst-waitid.c (TIMEOUT): Likewise.
11009 * rt/tst-aio.c (TIMEOUT): Likewise.
11010 * rt/tst-aio10.c (TIMEOUT): Likewise.
11011 * rt/tst-aio4.c (TIMEOUT): Likewise.
11012 * rt/tst-aio5.c (TIMEOUT): Likewise.
11013 * rt/tst-aio6.c (TIMEOUT): Likewise.
11014 * rt/tst-aio64.c (TIMEOUT): Likewise.
11015 * rt/tst-aio7.c (TIMEOUT): Likewise.
11016 * rt/tst-aio9.c (TIMEOUT): Likewise.
11017 * rt/tst-clock.c (TIMEOUT): Likewise.
11018 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
11019 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
11020 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
11021 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
11022 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
11023 * rt/tst-timer4.c (TIMEOUT): Likewise.
11024 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
11025 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
11026 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
11027 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
11028 * time/tst-ftime.c (TIMEOUT): Likewise.
11029 * timezone/tst-tzset.c (TIMEOUT): Likewise.
11031 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
11033 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
11034 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
11037 2018-10-15 Joseph Myers <joseph@codesourcery.com>
11039 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11041 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
11042 instead of <bits/wordsize.h>.
11043 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
11044 and [__SEM_PAD_AFTER_TIME].
11045 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
11046 __syscall_ulong_t instead of unsigned long int.
11047 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
11048 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
11049 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
11050 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
11051 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
11052 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
11053 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
11054 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
11055 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11056 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11057 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11059 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
11061 regex: simplify by using intprops.h
11063 * posix/regex_internal.h [_LIBC]: Include intprops.h.
11064 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
11065 intprops.h defines them.
11067 regex: __builtin_expect → __glibc_unlikely
11069 This refactoring was prompted by a problem when the regex code is
11070 used as part of Gnulib and when the builder’s compiler does not grok
11071 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
11072 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
11073 Although this refactoring does not fix the problem directly,
11074 we might as well have Gawk use the now-preferred glibc style for when
11075 __builtin_expect is unavailable.
11076 * posix/regex_internal.h (BE): Remove.
11077 All uses replaced by __glibc_unlikely or __glibc_likely.
11079 2018-10-11 Joseph Myers <joseph@codesourcery.com>
11081 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11083 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
11084 instead of <bits/wordsize.h>.
11085 (msgqnum_t): Define as __syscall_ulong_t.
11086 (msglen_t): Likewise.
11087 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
11088 and [__MSQ_PAD_AFTER_TIME].
11089 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
11090 __syscall_ulong_t instead of unsigned long int.
11091 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
11092 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
11093 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
11094 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
11095 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
11096 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
11097 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
11098 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
11099 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11100 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11101 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11103 2018-10-10 Joseph Myers <joseph@codesourcery.com>
11105 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
11106 (struct shmid_ds): Condition padding after time fields on
11107 [__WORDSIZE == 32].
11108 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
11109 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
11110 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11112 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
11113 (struct semid_ds): Condition padding after time fields on
11114 [__WORDSIZE == 32].
11115 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
11116 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
11117 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
11118 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11120 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
11121 (struct msqid_ds): Condition padding after time fields on
11122 [__WORDSIZE == 32].
11123 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
11124 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
11125 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
11126 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11128 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11130 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
11132 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11134 * libio/tst-readline.c (TIMEOUT): Define.
11136 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
11138 mktime fix for Gnulib + coreutils
11140 This fix affects only Gnulib. Problem discovered when
11141 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
11143 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
11144 Do not define since it is not used. Defining an unused static
11145 function prompts a warning from GCC when Coreutils is configured
11146 with --enable-gcc-warnings.
11148 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11150 * benchtests/scripts/compare_bench.py (main): set float type on
11151 threshold argument.
11153 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
11156 * localedata/locales/kl_GL (mon): Update, the relative case.
11157 (alt_mon): Add, fill with month names in the nominative case.
11158 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
11159 (d_fmt): Set to "%b %d %Y".
11161 2018-10-04 Joseph Myers <joseph@codesourcery.com>
11163 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
11164 <bits/mman-linux.h>.
11165 (PROT_READ): Don't define here.
11166 (PROT_WRITE): Likewise.
11167 (PROT_EXEC): Likewise.
11168 (PROT_NONE): Likewise.
11169 (PROT_GROWSDOWN): Likewise.
11170 (PROT_GROWSUP): Likewise.
11171 (MAP_SHARED): Likewise.
11172 (MAP_PRIVATE): Likewise.
11173 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
11174 [__USE_MISC] (MAP_FILE): Likewise.
11175 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
11176 [__USE_MISC] (MAP_ANON): Likewise.
11177 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
11178 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
11179 (MCL_CURRENT): Likewise.
11180 (MCL_FUTURE): Likewise.
11181 (MCL_ONFAULT): Likewise.
11182 [__USE_MISC] (MADV_NORMAL): Likewise.
11183 [__USE_MISC] (MADV_RANDOM): Likewise.
11184 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
11185 [__USE_MISC] (MADV_WILLNEED): Likewise.
11186 [__USE_MISC] (MADV_DONTNEED): Likewise.
11187 [__USE_MISC] (MADV_FREE): Likewise.
11188 [__USE_MISC] (MADV_REMOVE): Likewise.
11189 [__USE_MISC] (MADV_DONTFORK): Likewise.
11190 [__USE_MISC] (MADV_DOFORK): Likewise.
11191 [__USE_MISC] (MADV_HWPOISON): Likewise.
11192 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
11193 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
11194 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
11195 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
11196 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
11197 (__MAP_ANONYMOUS): New macro.
11198 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
11199 <bits/mman-linux.h> inclusion.
11200 (MAP_FIXED): Likewise.
11201 (MS_SYNC): Likewise.
11202 (MS_ASYNC): Likewise.
11203 (MS_INVALIDATE): Likewise.
11204 [__USE_MISC] (MADV_MERGEABLE): Likewise.
11205 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
11206 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
11207 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
11208 [__USE_MISC] (MADV_DONTDUMP): Likewise.
11209 [__USE_MISC] (MADV_DODUMP): Likewise.
11210 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
11211 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
11214 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
11216 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
11217 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
11218 Add test-nldbl-redirect.
11219 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
11220 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
11221 $(objpfx)libnldbl_nonshared.a.
11223 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
11225 * support/support.h (support_objdir_elf_ldso): New variable.
11226 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
11227 * support/Makefile (CFLAGS-support_paths.c): Add definition
11228 for OBJDIR_ELF_LDSO_PATH.
11229 * support/test-container.c (main): Search for the ld.so
11230 which is also used by the testsuite.
11232 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
11235 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
11236 should be "sap" rather than "sab".
11237 (day): Fix spelling of Sunday, should be "sapaat" rather than
11240 2018-10-02 Joseph Myers <joseph@codesourcery.com>
11242 * math/libm-test-fma.inc (fma_test_data): Add more tests.
11244 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
11247 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
11248 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
11249 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
11251 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11253 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
11255 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
11257 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
11259 (CFLAGS-elision-unlock.c): Likewise.
11260 (CFLAGS-elision-timed.c): Likewise.
11261 (CFLAGS-elision-trylock.c): Likewise.
11262 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
11264 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11267 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
11268 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
11269 new fd_to_filename interface.
11270 * libio/freopen64.c (freopen64): Likewise.
11271 * libio/tst-memstream.h: New file.
11272 * libio/tst-memstream4.c: Likewise.
11273 * libio/tst-wmemstream4.c: Likewise.
11274 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
11275 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
11276 and remove internal dynamic allocation.
11278 2018-10-01 Joseph Myers <joseph@codesourcery.com>
11280 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
11281 (MREMAP_MAYMOVE): Do not define here.
11282 [__USE_GNU] (MREMAP_FIXED): Likewise.
11283 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
11284 (MREMAP_MAYMOVE): Define here instead.
11285 [__USE_GNU] (MREMAP_FIXED): Likewise.
11286 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
11287 (MREMAP_MAYMOVE): Remove.
11288 [__USE_GNU] (MREMAP_FIXED): Likewise.
11290 2018-09-28 Joseph Myers <joseph@codesourcery.com>
11292 * math/fromfp.h: Do not include <math_private.h>.
11293 * math/s_cacosh_template.c: Likewise.
11294 * math/s_casin_template.c: Likewise.
11295 * math/s_casinh_template.c: Likewise.
11296 * math/s_ccos_template.c: Likewise.
11297 * math/s_cproj_template.c: Likewise.
11298 * math/s_fdim_template.c: Likewise.
11299 * math/s_fmaxmag_template.c: Likewise.
11300 * math/s_fminmag_template.c: Likewise.
11301 * math/s_iseqsig_template.c: Likewise.
11302 * math/s_ldexp_template.c: Likewise.
11303 * math/s_nextdown_template.c: Likewise.
11304 * math/w_log1p_template.c: Likewise.
11305 * math/w_scalbln_template.c: Likewise.
11306 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
11307 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
11308 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
11309 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
11310 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
11311 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
11312 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
11313 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
11314 * sysdeps/i386/fpu/s_atanl.c: Likewise.
11315 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
11316 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
11317 * sysdeps/i386/fpu/s_fdim.c: Likewise.
11318 * sysdeps/i386/fpu/s_logbl.c: Likewise.
11319 * sysdeps/i386/fpu/s_rintl.c: Likewise.
11320 * sysdeps/i386/fpu/s_significandl.c: Likewise.
11321 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
11322 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
11323 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11324 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11325 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11326 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11327 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11328 * sysdeps/ieee754/k_standardf.c: Likewise.
11329 * sysdeps/ieee754/k_standardl.c: Likewise.
11330 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11331 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
11332 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
11333 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
11334 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
11335 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
11336 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11337 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11338 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11339 * sysdeps/ieee754/s_signgam.c: Likewise.
11340 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
11341 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
11342 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
11343 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
11344 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
11345 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
11346 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
11347 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
11348 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
11349 * sysdeps/riscv/rvd/s_finite.c: Likewise.
11350 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
11351 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
11352 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
11353 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
11354 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
11355 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
11356 * sysdeps/riscv/rvf/fegetround.c: Likewise.
11357 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
11358 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
11359 * sysdeps/riscv/rvf/fesetround.c: Likewise.
11360 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
11361 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
11362 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
11363 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
11364 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
11365 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
11366 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
11367 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
11368 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
11369 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
11370 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
11371 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
11372 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
11373 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
11374 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
11375 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
11376 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
11378 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
11380 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
11383 * sysdeps/i386/dl-cet.c: Removed.
11384 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
11386 (_dl_runtime_profile_shstk): Likewise.
11387 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
11388 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
11390 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11393 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
11394 do_test_with_invalid_iov): New tests.
11395 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
11396 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
11397 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
11399 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
11400 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
11401 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
11403 2018-09-27 Joseph Myers <joseph@codesourcery.com>
11405 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11406 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
11407 (MATH_REDIRECT_BINARY_ARGS): New macro.
11408 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11409 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
11410 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
11412 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
11413 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11414 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
11415 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11416 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11417 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11418 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
11421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
11423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
11424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
11425 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
11426 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
11427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
11429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
11431 * sysdeps/generic/math_private_calls.h
11432 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
11433 Do not declare and define as an inline function.
11434 * math/divtc3.c (__divtc3): Use copysign functions instead of
11435 __copysign variants.
11436 * math/multc3.c (__multc3): Likewise.
11437 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
11438 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
11439 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11440 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
11442 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11443 (__ieee754_yn): Likewise.
11444 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11445 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
11446 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11447 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11448 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
11450 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
11451 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
11453 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11455 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11457 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11458 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11460 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11461 (__ieee754_ynf): Likewise.
11462 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
11463 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11464 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
11465 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11467 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11468 (__ieee754_ynl): Likewise.
11469 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11470 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11471 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11473 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11474 (__ieee754_ynl): Likewise.
11475 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
11476 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11477 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11478 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11480 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11482 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
11483 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11484 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
11485 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
11486 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11488 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11489 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
11490 using MATH_REDIRECT.
11491 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
11493 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
11494 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11495 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11496 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
11497 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11498 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11499 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
11501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
11502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
11503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
11504 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
11505 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
11506 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11507 (round): Redirect to __round.
11508 (__roundl): Call round instead of __round.
11509 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
11511 [_ARCH_PWR5X] (__roundf): Likewise.
11512 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
11513 functions instead of __round variants.
11514 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11515 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
11517 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
11519 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
11521 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
11522 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
11524 (__ieee754_expl): Call roundl instead of __roundl.
11526 2018-09-27 Andreas Schwab <schwab@suse.de>
11529 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
11530 (do_test): Make st1 static.
11532 2018-09-26 Andreas Schwab <schwab@suse.de>
11535 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
11536 * elf/Makefile (tests): Add tst-unwind-ctor.
11537 (modules-names): Add tst-unwind-ctor-lib.
11538 ($(objpfx)tst-unwind-ctor): Depend on
11539 $(objpfx)tst-unwind-ctor-lib.so.
11541 2018-09-26 Joseph Myers <joseph@codesourcery.com>
11543 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
11544 file. Most contents moved from ....
11545 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
11546 and include <bits/mman-map-flags-generic.h>.
11547 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11548 (sysdep_headers): Add bits/mman-map-flags-generic.h.
11549 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
11550 <bits/mman-map-flags-generic.h>.
11551 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
11552 macros defined in <bits/mman-map-flags-generic.h>.
11553 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
11554 <bits/mman-map-flags-generic.h>.
11555 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
11556 defined in <bits/mman-map-flags-generic.h>.
11558 2018-09-26 Andreas Schwab <schwab@suse.de>
11560 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
11563 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
11564 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11565 Fangrui Song <maskray@google.com>
11568 * config.make.in (have-textrel_ifunc): New define.
11569 * configure.ac: Add check if linker supports textrel relocation with
11571 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
11573 (CFLAGS-tst-ifunc-textrel.c): New rule.
11574 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
11575 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
11576 * elf/tst-ifunc-textrel.c: New file.
11578 2018-09-25 Joseph Myers <joseph@codesourcery.com>
11580 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
11581 <bits/procfs-prregset.h>.
11582 (prgregset_t): Define using __prgregset_t.
11583 (prfpregset_t): Define using __prfpregset_t.
11584 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11585 (sysdep_headers): Add bits/procfs-prregset.h.
11586 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
11587 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
11588 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
11589 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
11591 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
11592 <bits/procfs-id.h> and <bits/procfs-extra.h>.
11593 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
11595 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11596 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
11597 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
11598 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
11599 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
11600 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
11601 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
11602 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
11603 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
11604 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
11605 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
11606 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
11607 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
11608 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
11609 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
11610 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
11611 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
11612 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
11613 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
11614 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
11615 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
11616 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
11617 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11618 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
11620 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
11621 AArch64 version. Include <bits/procfs.h>.
11622 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11623 (sysdep_headers): Add bits/procfs.h.
11624 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
11625 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
11626 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
11627 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
11628 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
11629 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
11630 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
11631 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
11632 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
11633 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
11634 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
11635 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
11636 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
11637 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
11638 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
11639 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11640 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
11642 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11644 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
11647 2018-09-25 Arjun Shankar <arjun@redhat.com>
11649 * iconv/gconv_int.h (__gconv_path_elem): Remove.
11650 (__gconv_max_path_elem_len): Likewise.
11651 (__gconv_nmodules): Likewise.
11652 (__gconv_get_path): Likewise.
11653 (path_elem): Move to ...
11654 * iconv/gconv_conf.c: ... here.
11655 (__gconv_get_path): Mark function static.
11656 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
11657 * iconv/gconv_open.c: ... here.
11659 2018-09-24 Andreas Schwab <schwab@suse.de>
11661 * scripts/haveversions.awk: New file.
11662 * Makerules ($(common-objpfx)Versions.def)
11663 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
11664 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
11666 * Makeconfig ($(common-objpfx)Versions.def)
11667 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
11668 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
11670 ($(common-objpfx)Versions.mk): New rule. Include it.
11671 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
11672 Emit error if build-obsolete-nsl = yes.
11673 * manual/install.texi (Configuring and compiling): Describe
11674 --enable-obsolete-nsl as unavaiable after version 2.28.
11675 * INSTALL: Regenerate.
11677 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11679 * NEWS: Add note about new TLE support on powerpc64le.
11680 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
11681 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
11683 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
11684 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
11685 * sysdeps/powerpc/powerpc32/sysdep.h,
11686 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
11687 ABORT_TRANSACTION): Remove macros.
11688 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
11689 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
11690 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
11691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
11692 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11693 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
11695 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
11697 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
11700 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
11701 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
11702 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
11703 which is the same as in it_IT.
11704 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
11705 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
11707 2018-09-20 Joseph Myers <joseph@codesourcery.com>
11709 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11710 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
11711 using MATH_REDIRECT.
11712 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
11714 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
11715 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11716 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
11717 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
11718 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11719 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
11721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
11722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
11723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
11724 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
11725 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
11726 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
11727 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
11728 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
11729 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
11730 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
11731 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11732 (ceil): Redirect to __ceil.
11733 (floor): Redirect to __floor.
11734 (trunc): Redirect to __trunc.
11735 (__truncl): Call trunc instead of __trunc.
11736 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
11738 [_ARCH_PWR5X] (__truncf): Likewise.
11739 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
11740 trunc functions instead of __trunc variants.
11741 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11743 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11745 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11747 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11750 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
11751 [__i586__ || __pentium__].
11752 [__i486__]: Handle explicitly.
11753 (HAS_CPUID): Define to 1 if above macros are undefined.
11754 (HAS_I586): Likewise.
11755 (HAS_I686): Likewise.
11757 2018-09-20 Florian Weimer <fweimer@redhat.com>
11759 * misc/tst-gethostid.c: New file.
11760 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
11761 (tst-gethostid): Link with -ldl.
11763 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
11765 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
11766 value from gethostbyname_r.
11768 2018-09-19 Carlos O'Donell <carlos@redhat.com>
11770 * stdlib/tst-setcontext9.c (f1): Rename to...
11772 (f1b): New function implementing lower half of f1 in alternate stack.
11774 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
11776 Fix mktime localtime offset confusion
11778 * include/time.h (__mktime_internal): The localtime offset is now
11779 of type long int instead of time_t. This is the longstanding type
11780 in glibc, and it is more than enough to represent difference
11781 between localtime and gmtime even if it is 32 bits and time_t is
11782 64. Changing it now will let us avoid an unnecessary change when
11783 time_t is widened to 64 bits on 32-bit platforms.
11784 * time/mktime-internal.h (mktime_offset_t): Now long int.
11786 Merge mktime, timegm from upstream Gnulib
11787 [BZ #23603][BZ #16346]
11788 This fixes some obscure problems with integer overflow.
11789 Although it looks scary, it is almost all a byte-for-byte copy
11790 from Gnulib, and the Gnulib code has been tested reasonably well.
11791 * include/intprops.h: New file, copied from Gnulib.
11792 * include/verify.h, time/mktime-internal.h:
11793 New tiny files, simplified from Gnulib.
11794 * time/mktime.c: Copy from Gnulib. This has the following changes:
11795 Do not include config.h if DEBUG_MKTIME is nonzero.
11796 Include stdbool.h, intprops.h, verify.h.
11797 Include string.h only if needed.
11798 Include stdlib.h on MS-Windows.
11799 Include mktime-internal.h.
11800 (DEBUG_MKTIME): Default to 0, and simplify later uses.
11801 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
11802 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
11803 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
11804 simplify later conditionals; default the others to zero. Use
11805 these conditionals to express only the code needed on the current
11806 platform. In uses of these conditionals, explicitly spell out how
11807 _LIBC affects things, so it’s easier to review from a glibc
11809 (WRAPV): Remove; no longer needed now that we have
11810 systematic overflow checking.
11811 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
11812 compartmentalize tzset issues. Move system-dependent tzsettish
11813 code here from mktime.
11814 (verify): Remove; now done by verify.h. All uses changed.
11815 (long_int): Use a more-conservative definition, to avoid
11817 (SHR): Remove, replacing with ...
11818 (shr): New function, which means we needn’t worry about side
11819 effects in args, and conversion analysis is simpler.
11820 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
11821 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
11822 (time_t_avg, time_t_add_ok): Remove.
11823 (mktime_min, mktime_max): New constants.
11824 (leapyear, isdst_differ): Use bool for booleans.
11825 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
11826 Use long_int, not time_t, for mktime differences.
11827 (long_int_avg): New function, replacing time_t_avg.
11828 INT_ADD_WRAPV replaces time_t_add_ok.
11829 (guess_time_tm): 6th arg is now long_int, not time_t const *.
11831 (convert_time): New function.
11832 (ranged_convert): Use it.
11833 (__mktime_internal): Last arg now points to mktime_offset_t, not
11834 time_t. All uses changed. This is a no-op on glibc, where
11835 mktime_offset_t is always time_t. Use int, not time_t, for UTC
11836 offset guess. Directly check for integer overflow instead of
11837 using a heuristic that works only 99.9...% of the time.
11838 Access *OFFSET only once, to avoid an unlikely race if the
11839 compiler delays a load and if this cascades into a signed integer
11841 (mktime): Move tzsettish code to my_tzset, and move
11842 localtime_offset to within mktime so that it doesn’t
11843 need a separate ifdef.
11844 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
11845 instead of localtime.
11846 * time/timegm.c: Copy from Gnulib. This has the following changes:
11847 Include mktime-internal.h.
11848 [!_LIBC]: Include config.h and time.h. Do not include
11849 timegm.h or time_r.h. Make __mktime_internal a macro,
11850 and include mktime-internal.h to get its declaration.
11851 (timegm): Temporary is now mktime_offset_t, not time_t.
11852 This affects only Gnulib.
11854 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
11857 * string/test-strstr.c (pr23637): New function.
11858 (test_main): Add tests with longer needles.
11859 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
11860 * string/strstr.c (AVAILABLE): Likewise.
11862 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
11864 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
11866 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
11868 * NEWS: Mention pow improvements.
11869 * math/Makefile (type-double-routines): Add e_pow_log_data.
11870 * sysdeps/generic/math_private.h (__exp1): Remove.
11871 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
11872 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
11873 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
11875 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
11876 (exp_inline): Remove.
11877 (__ieee754_exp): Only single double input is handled.
11878 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
11879 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
11880 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
11881 (__pow_log_data): Define.
11882 * sysdeps/ieee754/dbl-64/upow.h: Remove.
11883 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
11884 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
11885 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
11887 (CFLAGS-e_pow-fma4.c): Likewise.
11889 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
11891 Simplify tzfile fstat failure code
11893 * time/tzfile.c (__tzfile_read): Simplify slightly.
11895 Fix tzfile low-memory assertion failure
11897 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
11898 when registering time zone abbreviations.
11900 2018-09-18 Joseph Myers <joseph@codesourcery.com>
11902 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
11903 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
11904 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
11905 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
11906 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
11907 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
11908 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
11909 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11910 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11912 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
11914 (__ceill): Call ceil instead of __ceil.
11915 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
11917 (__floorl): Call floor instead of __floor.
11919 2018-09-17 Joseph Myers <joseph@codesourcery.com>
11921 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11922 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
11923 using MATH_REDIRECT.
11924 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
11926 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
11927 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11928 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11929 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
11930 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11931 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11932 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11933 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
11934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
11935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
11936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
11937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
11938 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
11939 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
11940 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
11941 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
11942 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
11943 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
11944 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
11946 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
11947 functions instead of __ceil variants.
11948 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11949 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
11951 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
11953 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
11954 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
11956 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
11957 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11960 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
11962 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
11963 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
11964 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
11965 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
11966 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
11967 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
11968 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
11969 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
11970 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
11971 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
11972 (ILL_BADIADDR): Remove constant.
11973 (TRAP_BRANCH): Likewise.
11974 (TRAP_HWBKPT): Likewise.
11976 2018-09-14 Joseph Myers <joseph@codesourcery.com>
11979 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
11980 Remove [_MIPS_SIM = _ABIN32] conditional case.
11981 (struct elf_prpsinfo): Likewise.
11984 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
11985 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
11986 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
11988 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
11989 elf_prpsinfo): Likewise.
11990 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
11991 elf_prpsinfo): Likewise.
11992 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
11995 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11996 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
11997 using MATH_REDIRECT.
11998 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
12000 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
12001 * sysdeps/alpha/fpu/s_rint.c: Likewise.
12002 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
12003 * sysdeps/i386/fpu/s_rintl.c: Likewise.
12004 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12005 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12006 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
12007 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12008 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12009 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12010 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
12011 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
12012 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
12013 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
12014 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
12015 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
12016 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12017 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
12018 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
12020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
12021 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
12022 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
12023 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
12024 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
12025 * sysdeps/x86_64/fpu/math_private.h: Remove file.
12026 * math/e_scalb.c (invalid_fn): Use rint functions instead of
12028 * math/e_scalbf.c (invalid_fn): Likewise.
12029 * math/e_scalbl.c (invalid_fn): Likewise.
12030 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12032 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12034 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
12035 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
12036 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12038 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12040 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12042 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
12043 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
12045 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12046 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
12048 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12049 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
12050 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12051 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
12052 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12053 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
12054 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12055 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
12056 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12057 && !NO_MATH_REDIRECT] (floor): Likewise.
12058 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
12060 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
12061 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12062 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12063 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
12064 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12065 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12066 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12067 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
12068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
12069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
12070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
12071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
12072 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12073 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12074 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
12075 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
12076 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
12077 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
12078 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
12080 [_ARCH_PWR5X] (__floorf): Likewise.
12081 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
12083 [__SSE4_1__] (__floorf): Likewise.
12084 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
12085 instead of __floor variants.
12086 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
12087 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
12088 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
12089 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
12090 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
12091 * math/w_tgamma_compat.c (__tgamma): Likewise.
12092 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
12093 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
12094 * math/w_tgammal_compat.c (__tgammal): Likewise.
12095 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
12096 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12098 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
12099 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
12100 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
12101 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12103 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12104 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
12106 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
12107 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
12109 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12110 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
12112 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12113 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12114 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
12115 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
12116 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12117 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12119 2018-09-12 Joseph Myers <joseph@codesourcery.com>
12121 * elf/Makefile (modules-names-tests): New variable.
12123 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12125 * NEWS: Mention log2 improvements.
12126 * math/Makefile (type-double-routines): Add e_log2_data.
12127 * sysdeps/i386/fpu/e_log2_data.c: New file.
12128 * sysdeps/ia64/fpu/e_log2_data.c: New file.
12129 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
12130 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
12131 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
12132 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
12133 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
12135 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12137 * NEWS: Mention log improvement.
12138 * math/Makefile (type-double-routines): Add e_log_data.
12139 * sysdeps/i386/fpu/e_log_data.c: New file.
12140 * sysdeps/ia64/fpu/e_log_data.c: New file.
12141 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
12142 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
12143 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
12144 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
12145 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
12146 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
12148 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
12149 Xuepeng Guo <xuepeng.guo@intel.com>
12152 * sysdeps/i386/start.S: Include <sysdep.h>
12153 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
12154 enabled. Add cfi_undefined (eip).
12156 2018-09-11 Joseph Myers <joseph@codesourcery.com>
12158 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
12160 (EXTRACT_WORDS64): Likewise.
12161 (INSERT_WORDS64): Likewise.
12162 (GET_FLOAT_WORD): Likewise.
12163 (SET_FLOAT_WORD): Likewise.
12165 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
12167 (Config.build_gcc): Use --disable-libsanitizer for first GCC
12168 build, but not for second build if --full-gcc. Use
12169 --enable-languages=all for second build if --full-gcc.
12170 (get_parser): Add --full-gcc option.
12171 (main): Update call to Context.
12173 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
12176 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
12177 Single Quotation Mark).
12178 (thousands_sep): Likewise.
12179 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
12180 * localedata/locales/it_IT (thousands_sep): Use ".".
12181 (grouping): Use "3;3".
12183 2018-09-10 Joseph Myers <joseph@codesourcery.com>
12185 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
12186 x86_64 and i686 configs using --enable-obsolete-rpc
12187 --enable-obsolete-nsl.
12189 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
12191 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12193 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
12195 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
12196 Increment size of new_argv by one.
12198 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
12201 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
12202 * localedata/locales/ar_IN (d_fmt): Likewise.
12203 * localedata/locales/bhb_IN (d_fmt): Likewise.
12204 * localedata/locales/bho_IN (d_fmt): Likewise.
12205 * localedata/locales/bn_BD (d_fmt): Likewise.
12206 * localedata/locales/bn_IN (d_fmt): Likewise.
12207 * localedata/locales/doi_IN (d_fmt): Likewise.
12208 * localedata/locales/gu_IN (d_fmt): Likewise.
12209 * localedata/locales/hi_IN (d_fmt): Likewise.
12210 * localedata/locales/hne_IN (d_fmt): Likewise.
12211 * localedata/locales/kn_IN (d_fmt): Likewise.
12212 * localedata/locales/mag_IN (d_fmt): Likewise.
12213 * localedata/locales/mai_IN (d_fmt): Likewise.
12214 * localedata/locales/mjw_IN (d_fmt): Likewise.
12215 * localedata/locales/ml_IN (d_fmt): Likewise.
12216 * localedata/locales/mni_IN (d_fmt): Likewise.
12217 * localedata/locales/mr_IN (d_fmt): Likewise.
12218 * localedata/locales/pa_IN (d_fmt): Likewise.
12219 * localedata/locales/raj_IN (d_fmt): Likewise.
12220 * localedata/locales/sat_IN (d_fmt): Likewise.
12221 * localedata/locales/sd_IN (d_fmt): Likewise.
12222 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
12223 * localedata/locales/ta_IN (d_fmt): Likewise.
12224 * localedata/locales/ta_LK (d_fmt): Likewise.
12225 * localedata/locales/tcy_IN (d_fmt): Likewise.
12226 * localedata/locales/ur_IN (d_fmt): Likewise.
12228 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
12229 * localedata/locales/ks_IN (d_fmt): Likewise.
12230 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
12232 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
12233 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
12234 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
12235 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
12237 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
12239 * NEWS: Mention exp and exp2 improvements.
12240 * math/Makefile (libm-support): Remove t_exp.
12241 (type-double-routines): Add math_err and e_exp_data.
12242 * sysdeps/aarch64/libm-test-ulps: Update.
12243 * sysdeps/arm/libm-test-ulps: Update.
12244 * sysdeps/i386/fpu/e_exp_data.c: New file.
12245 * sysdeps/i386/fpu/math_err.c: New file.
12246 * sysdeps/i386/fpu/t_exp.c: Remove.
12247 * sysdeps/ia64/fpu/e_exp_data.c: New file.
12248 * sysdeps/ia64/fpu/math_err.c: New file.
12249 * sysdeps/ia64/fpu/t_exp.c: Remove.
12250 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
12251 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
12252 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
12253 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
12254 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
12255 * sysdeps/ieee754/dbl-64/math_config.h: New file.
12256 * sysdeps/ieee754/dbl-64/math_err.c: New file.
12257 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
12258 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
12259 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
12260 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
12261 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
12262 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
12263 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
12264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12265 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12267 2018-09-05 Joseph Myers <joseph@codesourcery.com>
12269 * sysdeps/alpha/fpu/math_private.h: Remove.
12271 * sysdeps/generic/math_private.h
12272 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
12273 Move this inline function ....
12274 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
12275 * include/math.h [!_ISOMAC]: To here....
12277 2018-09-04 Joseph Myers <joseph@codesourcery.com>
12279 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
12281 [!FE_HAVE_ROUNDING_MODES]: And this code ....
12282 * include/fenv.h [!_ISOMAC]: ... to here.
12283 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
12284 (feraiseexcept): Likewise.
12285 * math/fromfp.h: Do not include <fenv_private.h>.
12286 * math/s_cexp_template.c: Likewise.
12287 * math/s_csin_template.c: Likewise.
12288 * math/s_csinh_template.c: Likewise.
12289 * math/s_ctan_template.c: Likewise.
12290 * math/s_ctanh_template.c: Likewise.
12291 * math/s_iseqsig_template.c: Likewise.
12292 * math/w_acos_compat.c: Likewise.
12293 * math/w_acosf_compat.c: Likewise.
12294 * math/w_acosl_compat.c: Likewise.
12295 * math/w_asin_compat.c: Likewise.
12296 * math/w_asinf_compat.c: Likewise.
12297 * math/w_asinl_compat.c: Likewise.
12298 * math/w_j0_compat.c: Likewise.
12299 * math/w_j0f_compat.c: Likewise.
12300 * math/w_j0l_compat.c: Likewise.
12301 * math/w_j1_compat.c: Likewise.
12302 * math/w_j1f_compat.c: Likewise.
12303 * math/w_j1l_compat.c: Likewise.
12304 * math/w_jn_compat.c: Likewise.
12305 * math/w_jnf_compat.c: Likewise.
12306 * math/w_log10_compat.c: Likewise.
12307 * math/w_log10f_compat.c: Likewise.
12308 * math/w_log10l_compat.c: Likewise.
12309 * math/w_log2_compat.c: Likewise.
12310 * math/w_log2f_compat.c: Likewise.
12311 * math/w_log2l_compat.c: Likewise.
12312 * math/w_log_compat.c: Likewise.
12313 * math/w_logf_compat.c: Likewise.
12314 * math/w_logl_compat.c: Likewise.
12315 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12316 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12317 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12318 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12319 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12320 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12321 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12322 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12323 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12324 * sysdeps/ieee754/k_standardl.c: Likewise.
12325 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12326 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12327 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12328 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12329 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12330 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12331 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12332 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12333 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12334 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12335 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12336 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12337 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12338 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12339 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12340 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12341 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12342 * math/w_ilogb_template.c: Include <fenv.h> instead of
12344 * math/w_llogb_template.c: Likewise.
12345 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12346 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12348 2018-09-03 Joseph Myers <joseph@codesourcery.com>
12350 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
12351 * math/fromfp.h: Include <fenv_private.h>.
12352 * math/math-narrow.h: Likewise.
12353 * math/s_cexp_template.c: Likewise.
12354 * math/s_csin_template.c: Likewise.
12355 * math/s_csinh_template.c: Likewise.
12356 * math/s_ctan_template.c: Likewise.
12357 * math/s_ctanh_template.c: Likewise.
12358 * math/s_iseqsig_template.c: Likewise.
12359 * math/w_acos_compat.c: Likewise.
12360 * math/w_acosf_compat.c: Likewise.
12361 * math/w_acosl_compat.c: Likewise.
12362 * math/w_asin_compat.c: Likewise.
12363 * math/w_asinf_compat.c: Likewise.
12364 * math/w_asinl_compat.c: Likewise.
12365 * math/w_ilogb_template.c: Likewise.
12366 * math/w_j0_compat.c: Likewise.
12367 * math/w_j0f_compat.c: Likewise.
12368 * math/w_j0l_compat.c: Likewise.
12369 * math/w_j1_compat.c: Likewise.
12370 * math/w_j1f_compat.c: Likewise.
12371 * math/w_j1l_compat.c: Likewise.
12372 * math/w_jn_compat.c: Likewise.
12373 * math/w_jnf_compat.c: Likewise.
12374 * math/w_llogb_template.c: Likewise.
12375 * math/w_log10_compat.c: Likewise.
12376 * math/w_log10f_compat.c: Likewise.
12377 * math/w_log10l_compat.c: Likewise.
12378 * math/w_log2_compat.c: Likewise.
12379 * math/w_log2f_compat.c: Likewise.
12380 * math/w_log2l_compat.c: Likewise.
12381 * math/w_log_compat.c: Likewise.
12382 * math/w_logf_compat.c: Likewise.
12383 * math/w_logl_compat.c: Likewise.
12384 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
12385 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
12386 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
12387 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
12388 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12389 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12390 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12391 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12392 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12393 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12394 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12395 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12396 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
12397 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
12398 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12399 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12400 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12401 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12402 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12403 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12404 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12405 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12406 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12407 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12408 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12409 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12410 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12411 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
12412 * sysdeps/ieee754/float128/float128_private.h: Likewise.
12413 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12414 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12415 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12416 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12417 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12418 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12419 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12420 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12421 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12422 * sysdeps/ieee754/k_standardl.c: Likewise.
12423 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12424 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12425 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12426 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12427 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
12428 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12429 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12430 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12431 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12432 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12433 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12434 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12435 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12436 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12437 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12438 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12439 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12440 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
12441 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12442 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12443 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12444 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12445 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12446 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12447 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12448 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12449 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12450 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
12451 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
12452 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12453 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12454 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12455 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12456 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12457 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12458 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12459 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12460 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12461 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12462 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12463 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
12464 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12465 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
12466 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12467 * sysdeps/riscv/rvd/s_finite.c: Likewise.
12468 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
12469 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
12470 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
12471 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
12472 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
12473 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
12474 * sysdeps/riscv/rvf/fegetround.c: Likewise.
12475 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
12476 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
12477 * sysdeps/riscv/rvf/fesetround.c: Likewise.
12478 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
12479 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
12480 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
12481 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12482 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
12483 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12484 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
12485 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
12486 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
12487 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
12488 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
12489 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
12490 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
12491 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
12492 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12493 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12495 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12498 * include/stdio.h (__libc_fatal): Mention newline in comment.
12499 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
12500 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
12501 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12502 * nss/nsswitch.c (__nss_next2): Likewise.
12503 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
12504 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
12505 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
12506 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
12507 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
12508 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
12509 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
12510 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
12511 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
12512 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
12513 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
12514 * sysdeps/unix/sysv/linux/netlink_assert_response.c
12515 (__netlink_assert_response): Likewise.
12517 2018-08-31 Joseph Myers <joseph@codesourcery.com>
12519 * conform/glibcconform.py: New file.
12520 * conform/list-header-symbols.py: Likewise.
12521 * conform/list-header-symbols.pl: Remove.
12522 * conform/Makefile (tests-special): Only add linknamespace tests
12524 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
12526 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
12529 * support/Makefile (libsupport-routines): Add
12530 support_copy_file_range and xcopy_file_range.
12531 * support/support.h: Include <sys/types.h>.
12532 (support_copy_file_range): New prototype.
12533 * support/support_copy_file_range.c: New file. Copied and
12534 modified from io/copy_file_range-compat.c.
12535 * support/test-container.c (copy_one_file): Call xcopy_file_rang
12536 instead of copy_file_range.
12537 * support/xcopy_file_range.c: New file.
12538 * support/xunistd.h (xcopy_file_range): New prototype.
12540 2018-08-30 Carlos O'Donell <carlos@redhat.com>
12542 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
12543 xpthread_create and xpthread_join.
12545 2018-08-30 Florian Weimer <fweimer@redhat.com>
12547 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
12549 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
12551 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
12554 2018-08-29 Joseph Myers <joseph@codesourcery.com>
12556 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
12557 and minus_oflow as non-finite.
12559 2018-08-28 Joseph Myers <joseph@codesourcery.com>
12561 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
12562 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
12563 moved to fenv_private.h except for ...
12564 (TOINT_INTRINSICS): Kept in math_private.h.
12565 (roundtoint): Likewise.
12566 (converttoint): Likewise.
12567 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
12568 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
12569 * sysdeps/arm/math_private.h: Remove.
12570 * sysdeps/generic/fenv_private.h: New file. Contents moved from
12572 * sysdeps/generic/math_private.h: ... this file. Include
12573 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
12574 Include <fenv_private.h>. Remove functions and macros moved to
12576 * sysdeps/i386/fpu/math_private.h: Remove.
12577 * sysdeps/mips/math_private.h: Move to ....
12578 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
12579 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
12580 [__mips_hard_float] conditional. Include next <fenv_private.h>.
12581 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
12582 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
12583 * sysdeps/powerpc/fpu/math_private.h: Do not include
12585 * sysdeps/riscv/rvf/math_private.h: Move to ....
12586 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
12587 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
12589 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
12590 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
12591 * sysdeps/sparc/fpu/math_private.h: Remove.
12592 * sysdeps/i386/fpu/fenv_private.h: Move to ....
12593 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
12594 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
12596 * sysdeps/x86_64/fpu/math_private.h: Do not include
12597 <sysdeps/i386/fpu/fenv_private.h>.
12599 2018-08-28 Florian Weimer <fweimer@redhat.com>
12602 * posix/tst-regcomp-truncated.c: New file.
12603 * posix/Makefile (tests): Add it.
12604 (tst-regcomp-truncated.out): Depend on generated locales.
12606 2018-08-28 Florian Weimer <fweimer@redhat.com>
12608 * support/test-container.c (main): Treat unshare failure with
12609 EPERM as an unsupported test.
12611 2018-08-28 Florian Weimer <fweimer@redhat.com>
12614 nscd: Fix use-after-free in addgetnetgrentX and its callers.
12615 * nscd/netgroupcache.c
12616 (addgetnetgrentX): Add tofreep parameter. Do not free
12617 heap-allocated buffer.
12618 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
12619 (addgetnetgrentX_ignore): New function.
12620 (addgetnetgrent): Call it.
12621 (readdgetnetgrent): Likewise.
12623 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12625 * string/memmem.c: Use memcmp for first match.
12627 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
12630 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
12632 2018-08-27 DJ Delorie <dj@redhat.com>
12634 * support/Makefile (others): Don't list programs explicitly as a
12635 dependency of "others".
12637 2018-08-27 Joseph Myers <joseph@codesourcery.com>
12639 * sysdeps/generic/math-tests-trap-force.h: New file.
12640 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
12641 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
12642 * sysdeps/powerpc/math-tests.h: Remove file.
12643 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
12645 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
12646 Torvald Riegel <triegel@redhat.com>
12649 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
12650 Update r to include the set wake-request flag if waiters are
12651 remaining after spinning.
12653 2018-08-27 Joseph Myers <joseph@codesourcery.com>
12655 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
12657 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
12660 regex: fix uninitialized memory access
12661 I introduced this bug into gnulib in commit
12662 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
12663 eventually it was merged into glibc. The bug was found by
12664 project-repo <bugs@feusi.co> and reported here:
12665 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
12666 Diagnosis and draft fix reported by Assaf Gordon here:
12667 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
12668 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
12669 * posix/regex_internal.c (build_wcs_upper_buffer):
12670 Fix bug when mbrtowc returns 0.
12672 2018-08-24 Carlos O'Donell <carlos@redhat.com>
12674 * po/be.po: Update translation.
12676 2018-08-24 DJ Delorie <dj@delorie.com>
12678 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
12681 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
12684 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
12685 create temporary files in source tree.
12687 2018-08-24 Joseph Myers <joseph@codesourcery.com>
12689 * sysdeps/generic/math-tests-trap.h: New file.
12690 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
12691 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
12692 * sysdeps/aarch64/math-tests.h: Remove file.
12693 * sysdeps/arm/math-tests.h: Likewise.
12694 * sysdeps/riscv/math-tests.h: Likewise.
12695 * sysdeps/aarch64/math-tests-trap.h: New file.
12696 * sysdeps/arm/math-tests-trap.h: Likewise.
12697 * sysdeps/riscv/math-tests-trap.h: Likewise.
12699 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
12701 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
12702 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
12703 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
12704 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
12705 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
12706 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
12707 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12708 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
12709 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
12710 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12711 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12712 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12713 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12714 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
12715 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
12716 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
12717 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
12718 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
12720 2018-08-23 Joseph Myers <joseph@codesourcery.com>
12722 * sysdeps/generic/math-tests-exceptions.h: New file.
12723 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
12724 (EXCEPTION_TESTS_float): Do not define here.
12725 (EXCEPTION_TESTS_double): Likewise.
12726 (EXCEPTION_TESTS_long_double): Likewise.
12727 (EXCEPTION_TESTS_float128): Likewise.
12728 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
12730 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
12731 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
12732 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
12733 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
12734 * sysdeps/mips/math-tests.h: Likewise.
12735 * sysdeps/nios2/math-tests.h: Likewise.
12736 * sysdeps/riscv/math-tests.h [!__riscv_flen]
12737 (EXCEPTION_TESTS_float): Do not define here.
12738 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
12739 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
12740 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
12742 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
12744 * NEWS: Move optimized sinf entry to 2.29.
12746 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
12748 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
12750 2018-08-22 DJ Delorie <dj@redhat.com>
12752 * Makefile (testroot.pristine): New rules to initialize the
12753 test-in-container "testroot".
12754 * Makerules (all-testsuite): Add tests-container.
12755 * Rules (tests-expected): Add tests-container.
12756 (binaries-all-tests): Likewise.
12757 (tests-container): New, run these tests in the testroot container.
12758 * support/Makefile (others): Add *-container, support_paths.c,
12759 xmkdirp, and links-dso-program.
12760 * support/links-dso-program-c.c: New.
12761 * support/links-dso-program.cc: New.
12762 * support/test-container.c: New.
12763 * support/shell-container.c: New.
12764 * support/echo-container.c: New.
12765 * support/true-container.c: New.
12766 * support/xmkdirp.c: New.
12767 * support/xsymlink.c: New.
12768 * support/support_paths.c: New.
12769 * support/support.h: Add support paths prototypes.
12770 * support/xunistd.h: Add xmkdirp () and xsymlink ().
12772 * nss/tst-nss-test3.c: Convert to test-in-container.
12773 * nss/tst-nss-test3.root/: New.
12775 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
12777 regex: port Gnulib code to z/OS POSIX environment
12778 Problem reported by Arnold Robbins in:
12779 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
12780 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
12783 2018-08-22 Joseph Myers <joseph@codesourcery.com>
12785 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
12786 (ROUNDING_TESTS_double): Remove.
12787 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
12788 (ROUNDING_TESTS_double): Remove.
12789 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
12790 (ROUNDING_TESTS_double): Remove.
12791 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
12792 (ROUNDING_TESTS_float): Remove.
12793 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
12794 (ROUNDING_TESTS_float): Remove.
12795 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
12796 (ROUNDING_TESTS_float): Remove.
12797 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
12798 !TEST_MATHVEC here.
12799 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12800 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12802 * sysdeps/generic/math-tests-rounding.h: New file.
12803 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
12804 (ROUNDING_TESTS_float): Do not define here.
12805 (ROUNDING_TESTS_double): Likewise.
12806 (ROUNDING_TESTS_long_double): Likewise.
12807 (ROUNDING_TESTS_float128): Likewise.
12808 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
12809 (ROUNDING_TESTS_double): Undefine before defining.
12810 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
12811 (ROUNDING_TESTS_double): Undefine before defining.
12812 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
12813 (ROUNDING_TESTS_double): Undefine before defining.
12814 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
12815 (ROUNDING_TESTS_float): Undefine before defining.
12816 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
12817 (ROUNDING_TESTS_float): Undefine before defining.
12818 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
12819 (ROUNDING_TESTS_float): Undefine before defining.
12820 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
12821 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
12823 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
12824 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
12825 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
12826 * sysdeps/riscv/math-tests.h [!__riscv_flen]
12827 (ROUNDING_TESTS_float): Do not define here.
12828 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
12829 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
12830 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
12831 (ROUNDING_TESTS_float): Likewise.
12832 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
12833 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
12834 * sysdeps/mips/math-tests.h [__mips_soft_float]
12835 (ROUNDING_TESTS_float): Likewise.
12836 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
12837 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
12838 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
12839 (ROUNDING_TESTS_double): Likewise.
12840 (ROUNDING_TESTS_long_double): Likewise.
12842 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
12844 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
12845 (PF_XDP): New macro.
12846 (AF_XDP): New macro.
12847 (SOL_XDP): New macro.
12849 2018-08-21 Joseph Myers <joseph@codesourcery.com>
12851 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
12852 (TCP_INQ): Likewise.
12853 (TCP_CM_INQ): Likewise.
12854 (TCP_REPAIR_ON): Likewise.
12855 (TCP_REPAIR_OFF): Likewise.
12856 (TCP_REPAIR_OFF_NO_WP): Likewise.
12857 (struct tcp_zerocopy_receive): New type.
12859 2018-08-21 Florian Weimer <fweimer@redhat.com>
12861 * support/support.h (support_descriptor_supports_holes): Declare.
12862 * support/Makefile (libsupport-routines): Add
12863 support_descriptor_supports_holes.
12864 * support/support_descriptor_supports_holes.c: New file.
12865 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
12866 and stop testing if holes are not supported.
12867 * io/test-lfs.c (do_prepare): Likewise.
12868 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
12870 * timezone/tst-tzset.c (create_tz_file): Likewise.
12871 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
12873 (do_prepare): Set it.
12874 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
12876 2018-08-21 Florian Weimer <fweimer@redhat.com>
12879 * Makeconfig (+cflags): Do not sort (and deduplicate).
12881 2018-08-21 Florian Weimer <fweimer@redhat.com>
12883 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
12884 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
12886 2018-08-20 Florian Weimer <fweimer@redhat.com>
12888 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
12889 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
12891 2018-08-20 Joseph Myers <joseph@codesourcery.com>
12893 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
12894 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
12895 and ssi_arch members.
12897 * elf/elf.c (NT_VMCOREDD): New macro.
12898 (AT_MINSIGSTKSZ): Likewise.
12900 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12902 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
12903 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
12904 s_cosf-ppc64 and s_cosf-power8.
12905 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
12906 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
12907 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12908 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
12909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
12910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
12911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
12912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
12913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
12914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
12915 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
12916 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
12918 2018-08-17 Florian Weimer <fweimer@redhat.com>
12920 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12922 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
12924 * malloc/malloc.c (_int_malloc): Additional binning code checks.
12926 2018-08-16 Florian Weimer <fweimer@redhat.com>
12928 * configure.ac: Add --with-nonshared-cflags option.
12929 * config.make.in (extra-nonshared-cflags): Set variable.
12930 * Makeconfig (CFLAGS-.oS): Use it.
12931 * manual/install.texi (Configuring and compiling): Document
12932 --with-nonshared-cflags.
12933 * configure: Regenerate.
12934 * INSTALL: Likewise.
12936 2018-08-16 Florian Weimer <fweimer@redhat.com>
12938 * Makeconfig (ASFLAGS): Always append required assembler flags.
12940 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
12942 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
12943 (malloc_consolidate): Likewise.
12945 2018-08-16 Pochang Chen <johnchen902@gmail.com>
12947 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
12949 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
12951 * benchtests/bench-strlen.c (do_test): Allocate buffers before
12954 * benchtests/bench-strlen.c: Print performance numbers in json.
12956 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12958 * sysdeps/powerpc/powerpc64/multiarch/Makefile
12959 (sysdep_routines): Build strcmp-power9 and strncmp-power9
12960 only for little endian.
12961 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12962 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
12963 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
12964 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
12965 Add check for little endian.
12966 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
12967 (__strcmp_power9): Add check for little endian.
12968 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
12969 Add check for little endian.
12970 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
12971 (__strncmp_power9): Add check for little endian.
12972 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
12973 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
12974 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
12975 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
12976 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
12978 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
12980 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
12981 [!STRLEN](STRLEN): Set to __strlen.
12982 * sysdeps/aarch64/multiarch/strlen.c: New file.
12983 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
12984 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
12985 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
12986 (__libc_ifunc_impl_list): Add strlen.
12987 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
12988 strlen_generic and strlen_asimd.
12990 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
12992 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
12993 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
12994 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
12996 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
12998 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
13000 2018-08-14 Florian Weimer <fweimer@redhat.com>
13003 * include/stdio.h (__vfxprintf): Declare.
13004 * stdio-common/fxprintf.c (__vfxprintf): New function.
13005 (__fxprintf): Call it.
13006 * misc/err.c (convert_and_print): Remove function.
13007 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
13008 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
13009 * misc/Makefile (tests): Add tst-warn-wide.
13010 * misc/tst-warn-wide.c: New file.
13012 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
13013 Szabolcs Nagy <szabolcs.nagy@arm.com>
13015 * NEWS: Mention sinf, cosf, sincosf.
13016 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
13017 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
13018 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
13019 constants rather than including generic sincosf.h.
13020 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
13021 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
13022 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
13023 (reduced_cos): Remove.
13024 (sinf_poly): New function.
13025 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
13027 2018-08-14 Florian Weimer <fweimer@redhat.com>
13031 * nss/nss_files/files-alias.c (get_next_alias): During :include:
13032 processing, bail out if no room, and close the stream before
13034 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
13035 (tst-nss-files-alias-leak): Link with libdl.
13036 (tst-nss-files-alias-leak.out): Depend on nss_files.
13038 * nss/tst-nss-files-alias-leak.c: New file.
13040 2018-08-14 Florian Weimer <fweimer@redhat.com>
13042 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
13043 server_user, stat_user.
13045 2018-08-13 Joseph Myers <joseph@codesourcery.com>
13047 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13049 (io_pgetevents): New syscall.
13052 * manual/install.texi (Configuring and compiling): Do not list
13053 tools used for testing pretty printers here.
13054 (Tools for Compilation): List Python, PExpect and GDB here.
13055 Update descriptions of uses of Perl and Python.
13056 * INSTALL: Regenerate.
13058 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13061 2018-08-13 Florian Weimer <fweimer@redhat.com>
13063 * misc/error.c (error): Add missing va_end call.
13064 (error_at_line): Likewise.
13066 2018-08-13 Florian Weimer <fweimer@redhat.com>
13068 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
13070 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13072 * benchtests/scripts/benchout.schema.json (properties): Add
13075 * benchtests/bench-skeleton.c (main): Add duration and
13076 iterations attributes.
13078 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
13080 regex: Gnulib unibyte RRI uses bytes not chars
13081 Adjust the non-glibc code to agree with what Gawk needs for
13082 rational range interpretation (RRI) for regular expression ranges.
13083 In unibyte locales, Gawk wants ranges to use the underlying byte
13084 rather than the character code point. This change does not affect
13086 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
13087 In unibyte locales, use the byte value rather than
13088 running it through btowc.
13090 2018-08-10 Joseph Myers <joseph@codesourcery.com>
13092 * sysdeps/generic/math-tests-snan.h: New file.
13093 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
13094 (SNAN_TESTS_float): Do not define here.
13095 (SNAN_TESTS_double): Likewise.
13096 (SNAN_TESTS_long_double): Likewise.
13097 (SNAN_TESTS_float128): Likewise.
13098 * sysdeps/i386/fpu/math-tests-snan.h: New file.
13099 * sysdeps/i386/fpu/math-tests.h: Remove file.
13100 * sysdeps/ia64/math-tests-snan.h: New file.
13101 * sysdeps/ia64/math-tests.h: Remove file.
13102 * sysdeps/x86/math-tests.h: Likewise.
13103 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
13105 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13106 Szabolcs Nagy <szabolcs.nagy@arm.com>
13108 * math/Makefile: Add s_sincosf_data.c.
13109 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
13110 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
13111 (sincosf_poly): Likewise.
13112 (reduce_small): Likewise.
13113 (reduce_large): Likewise.
13114 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
13115 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
13116 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
13117 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
13119 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13120 Szabolcs Nagy <szabolcs.nagy@arm.com>
13122 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
13123 (converttoint): Use lround.
13124 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
13125 document the semantics when TOINT_INTRINSICS is set.
13126 (converttoint): Likewise.
13127 (TOINT_RINT): Remove.
13128 (TOINT_SHIFT): Remove.
13129 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
13132 2018-08-10 Florian Weimer <fweimer@redhat.com>
13135 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
13137 (__old_getdents64): Use getdents64. Convert entries without
13139 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
13140 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
13141 tst-readdir64-compat.
13143 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13145 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
13148 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13150 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
13151 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
13152 code to s390x-mcount.h and #include it.
13153 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
13154 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
13157 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13159 * stdlib/Versions: Remove __fentry__.
13160 * sysdeps/i386/Versions: Add __fentry__.
13161 * sysdeps/x86_64/Versions: Add __fentry__.
13163 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13165 * sysdeps/s390/Makefile: Register the new tests.
13166 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
13167 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
13168 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
13169 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
13170 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
13171 * sysdeps/s390/tst-dl-runtime.c: New file.
13173 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13175 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
13178 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13180 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
13183 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13185 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
13188 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13190 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
13193 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13195 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
13196 Use symbolic offsets for stack variables.
13198 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13200 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
13201 Use symbolic offsets for stack variables.
13203 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13205 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
13206 Use symbolic offsets for stack variables.
13208 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13210 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
13211 Use symbolic offsets for stack variables.
13213 2018-08-09 Joseph Myers <joseph@codesourcery.com>
13215 * math/gen-libm-test.py: New file.
13216 * math/gen-libm-test.pl: Remove.
13217 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
13218 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
13220 ($(libm-test-c-noauto-obj)): Likewise.
13221 ($(libm-test-c-auto-obj)): Likewise.
13222 ($(libm-test-c-narrow-obj)): Likewise.
13223 (regen-ulps): Likewise.
13224 * math/README.libm-test: Update references to gen-libm-test.pl.
13225 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
13226 referencing gen-libm-test.pl.
13227 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
13228 * math/libm-test-support.c: Likewise.
13229 * math/libm-test-support.h: Likewise.
13230 * sysdeps/generic/libm-test-ulps: Likewise.
13232 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
13234 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
13237 2018-08-08 Joseph Myers <joseph@codesourcery.com>
13239 * math/libm-test-nextdown.inc (do_test): Move comment to ....
13240 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
13242 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
13244 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
13246 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
13247 __pthread_setspecific): Add hidden proto.
13248 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
13249 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
13251 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
13253 * benchtests/bench-string.h (buf1_size, buf2_size): New
13255 (init_sizes): New function.
13256 (test_init): Use it.
13257 (alloc_buf, exit_error): New functions.
13258 (alloc_bufs): Use ALLOC_BUF.
13259 (realloc_bufs): Remove.
13260 * benchtests/bench-memcmp.c (do_test): Adjust.
13261 * benchtests/bench-memset-large.c (do_test): Likewise.
13262 * benchtests/bench-memset-walk.c (do_test): Likewise.
13263 * benchtests/bench-memset.c (do_test): Likewise.
13264 * benchtests/bench-strncmp.c (do_test): Likewise.
13266 2018-08-06 Andreas Schwab <schwab@suse.de>
13268 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
13269 of CONST_THREAD_AREA.
13271 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
13273 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
13274 (STATE_SAVE_MASK): Likewise.
13275 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
13276 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
13277 (STATE_SAVE_MASK): Likewise.
13278 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
13279 instead of <cpu-features.h>.
13281 2018-08-03 DJ Delorie <dj@redhat.com>
13283 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
13284 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
13286 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
13288 2018-08-03 Joseph Myers <joseph@codesourcery.com>
13290 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
13291 after TEST_* calls.
13292 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
13293 * math/libm-test-logb.inc (logb_test_data): Likewise.
13295 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
13297 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
13298 * string/strstr.c (AVAILABLE): Likewise.
13300 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
13302 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
13304 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
13305 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
13306 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
13308 2018-08-03 Carlos O'Donell <carlos@redhat.com>
13310 * po/be.po: Update translation.
13312 * po/be.po: Update translation.
13314 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
13316 * sysdeps/x86/cpu-features-offsets.sym
13317 (rtld_global_ro_offsetof): Removed.
13318 (CPU_FEATURES_SIZE): Likewise.
13319 (CPUID_OFFSET): Likewise.
13320 (CPUID_SIZE): Likewise.
13321 (CPUID_EAX_OFFSET): Likewise.
13322 (CPUID_EBX_OFFSET): Likewise.
13323 (CPUID_ECX_OFFSET): Likewise.
13324 (CPUID_EDX_OFFSET): Likewise.
13325 (FAMILY_OFFSET): Likewise.
13326 (MODEL_OFFSET): Likewise.
13327 (FEATURE_OFFSET): Likewise.
13328 (FEATURE_SIZ): Likewise.
13329 (COMMON_CPUID_INDEX_1): Likewise.
13330 (COMMON_CPUID_INDEX_7): Likewise.
13331 (FEATURE_INDEX_1): Likewise.
13332 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
13334 2018-08-02 Carlos O'Donell <carlos@redhat.com>
13336 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
13337 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
13338 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
13339 (install-locales): Depend on install-locale-archive.
13340 (install-locale-archive): Define.
13341 (install-locale-files): Define.
13342 (build-one-locale): Define macro.
13343 * manual/install.texi (Running make install): Document.
13344 * manual/INSTALL: Regenerate.
13346 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
13348 * benchtests/scripts/compare_strings.py: Import traceback.
13349 (parse_file): Pretty-print error.
13351 * NEWS: Mention the change.
13352 * elf/dl-tunables.list: Rename tune namespace to cpu.
13353 * sysdeps/powerpc/dl-tunables.list: Likewise.
13354 * sysdeps/x86/dl-tunables.list: Likewise.
13355 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
13357 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
13358 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
13359 * manual/README.tunables: Likewise.
13360 * manual/tunables.texi: Likewise.
13361 * sysdeps/powerpc/cpu-features.c: Likewise.
13362 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
13363 (init_cpu_features): Likewise.
13364 * sysdeps/x86/cpu-features.c: Likewise.
13365 * sysdeps/x86/cpu-features.h: Likewise.
13366 * sysdeps/x86/cpu-tunables.c: Likewise.
13367 * sysdeps/x86_64/Makefile: Likewise.
13368 * sysdeps/x86/dl-cet.c: Likewise.
13370 2018-08-02 Joseph Myers <joseph@codesourcery.com>
13373 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
13374 [__mips_hard_float].
13375 (FE_UNDERFLOW): Likewise.
13376 (FE_OVERFLOW): Likewise.
13377 (FE_DIVBYZERO): Likewise.
13378 (FE_INVALID): Likewise.
13379 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
13380 (FE_TOWARDZERO): Define only if [__mips_hard_float].
13381 (FE_UPWARD): Likewise.
13382 (FE_DOWNWARD): Likewise.
13383 (__FE_UNDEFINED): Define if [!__mips_hard_float]
13384 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
13385 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
13386 [__mips_hard_float].
13387 (FP_ROUNDMODE): Likewise.
13388 (FP_RND_NEAREST): Likewise.
13389 (FP_RND_ZERO): Likewise.
13390 (FP_RND_PINF): Likewise.
13391 (FP_RND_MINF): Likewise.
13392 (FP_EX_INVALID): Likewise.
13393 (FP_EX_OVERFLOW): Likewise.
13394 (FP_EX_UNDERFLOW): Likewise.
13395 (FP_EX_DIVZERO): Likewise.
13396 (FP_EX_INEXACT): Likewise.
13397 (FP_INIT_ROUNDMODE): Likewise.
13398 * sysdeps/mips/nofpu/fesetenv.c: New file.
13399 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
13401 2018-08-01 Joseph Myers <joseph@codesourcery.com>
13403 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
13404 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
13405 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
13406 conditional on [FE_UPWARD].
13408 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
13410 regex: fix memory leak in Gnulib
13411 Problem and fix reported by Assaf Gordon in:
13412 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
13413 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
13414 range_ends members too, as they are defined in 'struct
13415 re_charset_t' even if not _LIBC. This affects only Gnulib.
13417 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
13419 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
13421 (get_common_indices): This.
13422 (init_cpu_features): Updated.
13424 2018-08-01 Joseph Myers <joseph@codesourcery.com>
13426 * sysdeps/generic/math-tests-snan-payload.h: New file.
13427 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
13428 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
13429 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
13430 * sysdeps/generic/math-tests.h: Include
13431 <math-tests-snan-payload.h>.
13432 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
13433 * sysdeps/hppa/math-tests.h: Remove file.
13434 * sysdeps/mips/math-tests.h [!__mips_nan2008]
13435 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
13436 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
13439 * sysdeps/generic/math-tests-snan-cast.h: New file.
13440 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
13441 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
13442 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
13443 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
13445 2018-08-01 Carlos O'Donel <carlos@redhat.com>
13447 * version.h (RELEASE): Set to "development".
13448 (VERSION): Set to "2.28.9000".
13449 * NEWS (2.29): New section.
13451 * version.h (RELEASE): Set to "stable".
13452 (VERSION): Set to "2.28".
13453 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
13454 * NEWS: Add the list of bugs fixed in 2.28.
13456 * po/ca.po: Update to latest version.
13457 * po/cs.po: Likewise
13458 * po/da.po: Likewise
13459 * po/el.po: Likewise
13460 * po/eo.po: Likewise
13461 * po/es.po: Likewise
13462 * po/fi.po: Likewise
13463 * po/fr.po: Likewise
13464 * po/gl.po: Likewise
13465 * po/hu.po: Likewise
13466 * po/ia.po: Likewise
13467 * po/id.po: Likewise
13468 * po/it.po: Likewise
13469 * po/ja.po: Likewise
13470 * po/ko.po: Likewise
13471 * po/lt.po: Likewise
13472 * po/nb.po: Likewise
13473 * po/nl.po: Likewise
13474 * po/pt_BR.po: Likewise
13475 * po/ru.po: Likewise
13476 * po/rw.po: Likewise
13477 * po/sk.po: Likewise
13478 * po/sl.po: Likewise
13479 * po/tr.po: Likewise
13480 * po/zh_CN.po: Likewise
13481 * po/zh_TW.po: Likewise
13483 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13485 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
13487 (init): ... before initializing libpthread.
13489 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
13490 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
13491 (__mach_setup_tls): ... new function.
13492 (mach_setup_tls): New alias.
13493 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
13494 __mach_setup_thread.
13495 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
13496 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
13497 * mach/Versions [libc] (mach_setup_tls): Add symbol.
13498 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
13500 2018-07-31 Carlos O'Donell <carlos@redhat.com>
13502 * manual/install.texi: Update versions.
13503 * INSTALL: Regenerate.
13505 * manual/contrib.texi (Contributors): Update contributions.
13507 2018-07-31 Carlos O'Donell <carlos@redhat.com>
13509 * po/be.po: Update translations.
13511 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13513 * sysdeps/sh/libm-test-ulps: Update.
13515 2018-07-30 Carlos O'Donell <carlos@redhat.com>
13517 * po/bg.po: Update translations.
13518 * po/de.po: Likewise.
13519 * po/hr.po: Likewise.
13520 * po/pt_BR.po: Likewise.
13521 * po/sv.po: Likewise.
13522 * po/vi.po: Likewise.
13524 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
13527 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
13528 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
13529 (CFLAGS-tst-cet-property-1.o): New.
13530 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
13531 ($(objpfx)tst-cet-property-2): Likewise.
13532 ($(objpfx)tst-cet-property-2.out): Likewise.
13533 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
13534 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
13535 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
13536 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
13537 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
13539 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
13542 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
13544 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
13546 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
13547 __sbrk): Do not set attribute_hidden.
13548 * sysdeps/mach/hurd/not-errno.h: New file.
13549 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
13550 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
13552 2018-07-27 Carlos O'Donell <carlos@redhat.com>
13554 * po/uk.po: Update translations.
13555 * po/cs.po: Likewise.
13556 * po/pl.po: Likewise.
13558 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
13560 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
13561 parse beyond the note end.
13563 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13565 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
13566 kernel does not support OFD locks.
13567 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
13569 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13571 * sysdeps/mach/hurd/Versions (libc): Make __access and
13572 __access_noerrno external so they can override the ld symbols.
13573 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
13574 __writev, __open64, __access_noerrno extern so they can be overrided.
13575 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
13576 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
13578 2018-07-26 Carlos O'Donell <carlos@redhat.com>
13580 * po/libc.pot: Regenerate.
13582 2018-07-26 Joseph Myers <joseph@codesourcery.com>
13584 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
13586 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
13589 * sysdeps/x86/cpu-features.c (get_extended_indices): New
13591 (init_cpu_features): Call get_extended_indices for both Intel
13593 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
13594 Remove "for AMD" comment.
13596 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
13599 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
13600 COMMON_CPUID_INDEX_80000001.
13602 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
13604 * string/tst-xbzero-opt.c (use_test_buffer): New function.
13605 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
13607 2018-07-26 Florian Weimer <fweimer@redhat.com>
13609 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
13610 aliases for symbols not in the implementation namespace.
13612 2018-07-25 Carlos O'Donell <carlos@redhat.com>
13615 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
13616 lowercase in LATIN script.
13617 * localedata/Makefile (test-input): Add en_US.UTF-8.
13618 * localedata/en_US.UTF-8.in: New file.
13619 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
13620 and restore old tests.
13621 * posix/tst-regexloc.c (do_test): Add back range expression test.
13623 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13625 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
13627 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13629 * nptl/threads.h: Move to ...
13630 * sysdeps/nptl/threads.h: ... here.
13631 * sysdeps/hurd/stdc-predef.h: New file.
13633 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13635 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
13636 tst-cet-setcontext-1 if CET is enabled.
13637 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
13638 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
13640 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13642 * include/threads.h: Move to ...
13643 * sysdeps/nptl/threads.h: ... here.
13644 * sysdeps/htl/threads.h: New file.
13645 * conform/Makefile (linknamespace-libs-ISO11): Use
13646 static-thread-library instead of linking libpthread.
13647 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
13649 2018-07-25 Florian Weimer <fweimer@redhat.com>
13651 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
13652 nanoseconds into seconds.
13653 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
13654 (do_test): Likewise.
13655 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
13656 (do_test): Likewise. Avoid nanosecond overflow and spurious
13657 timeouts due to system load.
13658 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
13659 (child_wait): Increment it.
13660 (do_test): Wait as long as necessary until all expected threads
13663 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
13664 H.J. Lu <hongjiu.lu@intel.com>
13666 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
13668 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
13669 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
13670 (__push___start_context): New.
13671 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
13673 (__getcontext): Record the current shadow stack base. Save the
13674 caller's shadow stack pointer and base.
13675 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
13676 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
13677 (__push___start_context): New prototype.
13678 (__makecontext): Call __push___start_context to allocate a new
13679 shadow stack, push __start_context onto the new stack as well
13680 as the new shadow stack.
13681 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
13683 (__setcontext): Restore the target shadow stack.
13684 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
13686 (__swapcontext): Record the current shadow stack base. Save
13687 the caller's shadow stack pointer and base. Restore the target
13689 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
13690 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
13691 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
13693 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13695 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
13696 tst-setcontext8 and tst-setcontext9.
13697 * stdlib/tst-setcontext6.c: New file.
13698 * stdlib/tst-setcontext7.c: Likewise.
13699 * stdlib/tst-setcontext8.c: Likewise.
13700 * stdlib/tst-setcontext9.c: Likewise.
13702 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13704 * stdlib/Makefile ((tests): Add tst-setcontext5.
13705 * stdlib/tst-setcontext5.c: New file.
13707 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13709 * stdlib/Makefile (tests): Add tst-setcontext4.
13710 * stdlib/tst-setcontext4.c: New file.
13712 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13714 * stdlib/Makefile (tests): Add tst-swapcontext1.
13715 * stdlib/tst-swapcontext1.c: New test.
13717 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13719 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
13720 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
13721 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
13722 and tst-cet-legacy-4c.
13723 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
13724 and tst-cet-legacy-mod-4.
13725 (CFLAGS-tst-cet-legacy-2.c): New.
13726 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
13727 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
13728 (CFLAGS-tst-cet-legacy-3.c): Likewise.
13729 (CFLAGS-tst-cet-legacy-4.c): Likewise.
13730 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
13731 ($(objpfx)tst-cet-legacy-1): Likewise.
13732 ($(objpfx)tst-cet-legacy-2): Likewise.
13733 ($(objpfx)tst-cet-legacy-2.out): Likewise.
13734 ($(objpfx)tst-cet-legacy-2a): Likewise.
13735 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
13736 ($(objpfx)tst-cet-legacy-4): Likewise.
13737 ($(objpfx)tst-cet-legacy-4.out): Likewise.
13738 ($(objpfx)tst-cet-legacy-4a): Likewise.
13739 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
13740 (tst-cet-legacy-4a-ENV): Likewise.
13741 ($(objpfx)tst-cet-legacy-4b): Likewise.
13742 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
13743 (tst-cet-legacy-4b-ENV): Likewise.
13744 ($(objpfx)tst-cet-legacy-4c): Likewise.
13745 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
13746 (tst-cet-legacy-4c-ENV): Likewise.
13747 * sysdeps/x86/tst-cet-legacy-1.c: New file.
13748 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
13749 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
13750 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
13751 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
13752 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
13753 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
13754 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
13755 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
13756 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
13757 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
13759 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13761 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
13762 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
13764 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
13765 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
13768 2018-07-25 Andreas Schwab <schwab@suse.de>
13771 * locale/weightwc.h (findidx): Handle the case where usrc is a
13772 prefix of cp but one character too short.
13774 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13776 * NEWS: Add ISO C threads addition.
13778 2018-07-24 Florian Weimer <fweimer@redhat.com>
13780 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13781 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
13782 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
13785 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
13787 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
13788 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
13789 <sys/prctl.h> and <asm/prctl.h>.
13790 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
13791 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
13793 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
13794 ARCH_CET_LEGACY_BITMAP.
13795 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
13796 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
13797 * sysdeps/x86/libc-start.c: Include <startup.h>.
13799 2018-07-24 Florian Weimer <fweimer@redhat.com>
13801 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
13802 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
13804 2018-07-24 Rical Jasan <rj@2c3t.io>
13805 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13806 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
13809 * manual/debug.texi: Update adjacent chapter name.
13810 * manual/probes.texi: Likewise.
13811 * manual/threads.texi (ISO C Threads): New section.
13812 (POSIX Threads): Convert to a section.
13814 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13815 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
13818 * nptl/Makefile (tests): Add new test files.
13819 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
13820 * nptl/tst-cnd-basic.c: Likewise.
13821 * nptl/tst-cnd-broadcast.c: Likewise.
13822 * nptl/tst-cnd-timedwait.c: Likewise.
13823 * nptl/tst-mtx-basic.c: Likewise.
13824 * nptl/tst-mtx-recursive.c: Likewise.
13825 * nptl/tst-mtx-timedlock.c: Likewise.
13826 * nptl/tst-mtx-trylock.c: Likewise.
13827 * nptl/tst-thrd-basic.c: Likewise.
13828 * nptl/tst-thrd-detach.c: Likewise.
13829 * nptl/tst-thrd-sleep.c: Likewise.
13830 * nptl/tst-tss-basic.c: Likewise.
13832 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13835 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
13836 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
13838 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13839 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13840 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13841 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13842 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13843 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13844 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13845 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13846 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13847 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13848 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13849 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
13856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13857 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13858 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13859 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13860 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13861 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13862 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13863 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13864 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13865 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
13866 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
13867 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
13868 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
13869 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
13871 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
13872 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
13873 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
13874 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
13875 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
13876 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
13877 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
13878 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
13879 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
13880 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
13881 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
13882 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
13884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
13885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13889 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
13890 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
13891 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
13892 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
13893 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
13894 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
13895 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
13896 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
13899 * conform/data/threads.h-data (thread_local): New macro.
13900 (TSS_DTOR_ITERATIONS): Likewise.
13902 (tss_dtor_t): Likewise.
13903 (tss_create): New function.
13904 (tss_get): Likewise.
13905 (tss_set): Likewise.
13906 (tss_delete): Likewise.
13907 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
13908 tss_get, and tss_set objects.
13909 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
13910 * nptl/tss_create.c: New file.
13911 * nptl/tss_delete.c: Likewise.
13912 * nptl/tss_get.c: Likewise.
13913 * nptl/tss_set.c: Likewise.
13914 * sysdeps/nptl/threads.h (thread_local): New define.
13915 (TSS_DTOR_ITERATIONS): Likewise.
13916 (tss_t): New typedef.
13917 (tss_dtor_t): Likewise.
13918 (tss_create): New prototype.
13919 (tss_get): Likewise.
13920 (tss_set): Likewise.
13921 (tss_delete): Likewise.
13924 * conform/data/threads.h-data (cnd_t): New type.
13925 (cnd_init): New function.
13926 (cnd_signal): Likewise.
13927 (cnd_broadcast): Likewise.
13928 (cnd_wait): Likewise.
13929 (cnd_timedwait): Likewise.
13930 (cnd_destroy): Likewise.
13931 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
13932 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
13934 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
13935 * nptl/cnd_broadcast.c: New file.
13936 * nptl/cnd_destroy.c: Likewise.
13937 * nptl/cnd_init.c: Likewise.
13938 * nptl/cnd_signal.c: Likewise.
13939 * nptl/cnd_timedwait.c: Likewise.
13940 * nptl/cnd_wait.c: Likewise.
13941 * sysdeps/nptl/threads.h (cnd_t): New type.
13942 (cnd_init): New prototype.
13943 (cnd_signa): Likewise.
13944 (cnd_broadcast): Likewise.
13945 (cnd_wait): Likewise.
13946 (cnd_timedwait): Likewise.
13947 (cnd_destroy): Likewise.
13950 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
13951 (once_flag): New type.
13952 (call_once): New function.
13953 * nptl/Makefile (libpthread-routines): Add call_once object.
13954 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
13955 * nptl/call_once.c: New file.
13956 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
13957 (once_flag): New type.
13958 (call_once): New prototype.
13961 * conform/data/threads.h-data (mtx_plain): New constant.
13962 (mtx_recursive): Likewise.
13963 (mtx_timed): Likewise.
13965 (mtx_init): New function.
13966 (mtx_lock): Likewise.
13967 (mtx_timedlock): Likewise.
13968 (mtx_trylock): Likewise.
13969 (mtx_unlock): Likewise.
13970 (mtx_destroy): Likewise.
13971 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
13972 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
13973 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
13974 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
13975 * nptl/mtx_destroy.c: New file.
13976 * nptl/mtx_init.c: Likewise.
13977 * nptl/mtx_lock.c: Likewise.
13978 * nptl/mtx_timedlock.c: Likewise.
13979 * nptl/mtx_trylock.c: Likewise.
13980 * nptl/mtx_unlock.c: Likewise.
13981 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
13982 (mtx_recursive): Likewise.
13983 (mtx_timed): Likewise.
13985 (mtx_init): New prototype.
13986 (mtx_lock): Likewise.
13987 (mtx_timedlock): Likewise.
13988 (mtx_trylock): Likewise.
13989 (mtx_unlock): Likewise.
13990 (mtx_destroy): Likewise.
13993 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
13994 (linknamespace-libs-ISO11): Add libpthread.a.
13995 * conform/data/threads.h-data: New file: add C11 thrd_* types and
13997 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
13998 * nptl/Makefile (headers): Add threads.h.
13999 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
14000 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
14002 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
14003 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
14004 thrd_join, thrd_sleep, and thrd_yield symbols.
14005 * nptl/descr.h (struct pthread): Add c11 field.
14006 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
14007 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
14008 routine with expected function prototype.
14009 (__pthread_create_2_1): Add C11 threads check based on attribute
14011 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
14012 * nptl/thrd_create.c: New file.
14013 * nptl/thrd_current.c: Likewise.
14014 * nptl/thrd_detach.c: Likewise.
14015 * nptl/thrd_equal.c: Likewise.
14016 * nptl/thrd_exit.c: Likewise.
14017 * nptl/thrd_join.c: Likewise.
14018 * nptl/thrd_priv.h: Likewise.
14019 * nptl/thrd_sleep.c: Likewise.
14020 * nptl/thrd_yield.c: Likewise.
14021 * include/threads.h: Likewise.
14023 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14025 * bits/indirect-return.h: New file.
14026 * misc/sys/cdefs.h (__glibc_has_attribute): New.
14027 * sysdeps/x86/bits/indirect-return.h: Likewise.
14028 * stdlib/Makefile (headers): Add bits/indirect-return.h.
14029 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
14030 (swapcontext): Add __INDIRECT_RETURN.
14031 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
14032 (prepare_test_buffer): Use it.
14034 2018-07-24 Andreas Schwab <schwab@suse.de>
14037 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
14038 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
14040 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14042 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
14043 Redefine if shadow stack is enabled.
14044 (SYSCALL_ERROR_LABEL): Likewise.
14045 (__vfork): Pop shadow stack and jump back to to caller directly
14046 when shadow stack is in use.
14047 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
14048 Redefine if shadow stack is enabled.
14049 (SYSCALL_ERROR_LABEL): Likewise.
14050 (__vfork): Pop shadow stack and jump back to to caller directly
14051 when shadow stack is in use.
14053 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14055 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
14058 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
14061 2018-07-20 Joseph Myers <joseph@codesourcery.com>
14063 * scripts/build-many-glibcs.py (Context.checkout): Default
14064 binutils version to 2.31 branch.
14066 2018-07-20 Zong Li <zong@andestech.com>
14068 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
14069 URL of gcc's tarball.
14071 2018-07-20 Florian Weimer <fweimer@redhat.com>
14074 * posix/regcomp.c (build_equiv_class): When comparing weights, do
14075 not compare an extra byte after the end of the weights.
14077 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14079 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
14081 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
14083 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
14084 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
14085 * scripts/check-execstack.awk: Consider `xfail' variable containing a
14086 list of libraries whose stack executability is expected.
14087 * elf/Makefile ($(objpfx)check-execstack.out): Pass
14088 $(check-execstack-xfail) to check-execstack.awk through `xfail'
14090 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
14091 libc.so libpthread.so.
14093 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
14095 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
14097 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
14099 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
14101 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
14103 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14105 * benchtests/scripts/compare_bench.py (__main__): use the argparse
14106 library to improve command line parsing.
14107 (__main__): make schema file as optional parameter (--schema),
14108 defaulting to benchtests/scripts/benchout.schema.json.
14109 (main): move out of the parsing stuff to __main_ and leave it
14110 only as caller of main comparison functions.
14112 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
14114 * NEWS: Add a note for Intel CET status.
14115 * manual/install.texi: Likewise.
14116 * INSTALL: Regenerated.
14118 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
14121 * localedata/locales/oc_FR (mon): Rename to...
14122 (alt_mon): This, then update October (typo fix).
14123 (mon): New content (genitive case, month names preceded by
14127 * localedata/locales/oc_FR (abday): Update all items.
14128 (day): Update Wednesday and Saturday (typo fixes).
14129 (abmon): Update all items, except May.
14130 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
14131 (LC_IDENTIFICATION): Bump the revision number and date.
14132 Keep the "category" entries in alphabetic order.
14133 (LC_ADDRESS): Remove no longer needed comment.
14134 (LC_COLLATE): Use “copy "ca_ES"”.
14135 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
14138 2018-07-18 Joseph Myers <joseph@codesourcery.com>
14140 * grp/tst_fgetgrent.c: Include <unistd.h>.
14141 (main): Use mkstemp instead of tmpnam.
14142 * io/test-utime.c (main): Likewise.
14143 * posix/annexc.c (macrofile): Change to modifiable array.
14144 (main): Remove macrofile here.
14145 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
14147 (check_header): Do not remove macrofile here.
14148 * posix/bug-getopt1.c: Include <stdlib.h>.
14149 (do_test): Use mkstemp instead of tmpnam.
14150 * posix/bug-getopt2.c: Include <stdlib.h>.
14151 (do_test): Use mkstemp instead of tmpnam.
14152 * posix/bug-getopt3.c: Include <stdlib.h>.
14153 (do_test): Use mkstemp instead of tmpnam.
14154 * posix/bug-getopt4.c: Include <stdlib.h>.
14155 (do_test): Use mkstemp instead of tmpnam.
14156 * posix/bug-getopt5.c: Include <stdlib.h>.
14157 (do_test): Use mkstemp instead of tmpnam.
14158 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
14159 (main): Use mkstemp instead of tmpnam.
14160 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
14161 (main): Use mkstemp instead of tmpnam.
14162 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
14163 (main): use mkstemp instead of tmpnam.
14164 * stdlib/isomac.c (macrofile): Change to modifiable array.
14165 (main): Remove macrofile here.
14166 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
14168 (check_header): Do not remove macrofile here.
14170 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14172 * manual/tunables.texi: Document glibc.tune.x86_ibt and
14173 glibc.tune.x86_shstk.
14175 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14177 * NEWS: Mention --enable-cet.
14178 * manual/install.texi: Document --enable-cet.
14179 * INSTALL: Regenerated.
14181 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14183 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
14184 Add _CET_NOTRACK before indirect jump to jump table.
14186 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14188 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
14189 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14192 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14194 * sysdeps/i386/i686/multiarch/strcat-sse2.S
14195 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14198 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14200 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
14201 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14204 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14206 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
14207 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14210 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14212 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
14213 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14215 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
14217 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14219 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
14220 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14223 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14225 * sysdeps/i386/i686/multiarch/memset-sse2.S
14226 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14229 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14231 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
14232 indirect jump to jump table.
14234 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14236 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
14237 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14239 (MEMCPY): Likewise.
14241 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14243 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
14244 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14246 (MEMCPY): Likewise.
14248 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14250 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
14251 _CET_NOTRACK before indirect jump to jump table.
14253 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14255 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
14256 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14259 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14261 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
14262 indirect jump to jump table.
14264 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
14267 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
14268 (LOCALES): Likewise.
14269 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
14270 * localedata/locales/sah_RU: New file.
14271 * localedata/sah_RU.UTF-8.in: New file.
14273 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14275 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
14277 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
14278 _CET_ENDBR to indirect jump targets and adjust jump destination
14280 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
14282 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
14283 _CET_ENDBR to indirect jump targets and adjust jump destination
14285 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
14287 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
14288 _CET_ENDBR to indirect jump targets and adjust jump destination
14291 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14293 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
14296 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14298 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
14300 (_dl_tlsdesc_undefweak): Likewise.
14301 (_dl_tlsdesc_dynamic): Likewise.
14302 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
14303 (_dl_tlsdesc_resolve_rel): Likewise.
14304 (_dl_tlsdesc_resolve_rela): Likewise.
14305 (_dl_tlsdesc_resolve_hold): Likewise.
14306 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
14307 (_dl_tlsdesc_undefweak): Likewise.
14308 (_dl_tlsdesc_dynamic): Likewise.
14309 (_dl_tlsdesc_resolve_rela): Likewise.
14310 (_dl_tlsdesc_resolve_hold): Likewise.
14312 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14314 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
14316 * sysdeps/x86_64/crti.S (_init): Likewise.
14319 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
14322 * localedata/locales/os_RU (mon): Rename to...
14324 (mon): Import from CLDR (genitive case).
14326 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14328 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
14329 cet-tunables.h> when CET is enabled.
14331 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
14334 * configure.ac: Add --enable-cet.
14335 * configure: Regenerated.
14336 * elf/Makefille (all-built-dso): Add a comment.
14337 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
14338 Include <dl-prop.h>.
14339 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
14341 * elf/dl-open.c: Include <dl-prop.h>.
14342 (dl_open_worker): Call _dl_open_check.
14343 * elf/rtld.c: Include <dl-prop.h>.
14344 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
14346 * sysdeps/generic/dl-prop.h: New file.
14347 * sysdeps/i386/dl-cet.c: Likewise.
14348 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
14349 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
14350 * sysdeps/x86/cet-tunables.h: Likewise.
14351 * sysdeps/x86/check-cet.awk: Likewise.
14352 * sysdeps/x86/configure: Likewise.
14353 * sysdeps/x86/configure.ac: Likewise.
14354 * sysdeps/x86/dl-cet.c: Likewise.
14355 * sysdeps/x86/dl-procruntime.c: Likewise.
14356 * sysdeps/x86/dl-prop.h: Likewise.
14357 * sysdeps/x86/libc-start.h: Likewise.
14358 * sysdeps/x86/link_map.h: Likewise.
14359 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
14361 (_dl_runtime_profile): Likewise.
14362 (_dl_runtime_resolve_shstk): New.
14363 (_dl_runtime_profile_shstk): Likewise.
14364 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
14366 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
14367 (CFLAGS-.os): Likewise.
14368 (CFLAGS-.op): Likewise.
14369 (CFLAGS-.oS): Likewise.
14370 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
14372 (tests-special): Add $(objpfx)check-cet.out.
14373 (cet-built-dso): New.
14374 (+$(cet-built-dso:=.note)): Likewise.
14375 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
14376 ($(objpfx)check-cet.out): New.
14377 (generated): Add check-cet.out.
14378 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
14380 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
14381 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
14382 (init_cpu_features): Call get_cet_status to check CET status
14383 and update dl_x86_feature_1 with CET status. Call
14384 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
14385 (set_x86_shstk). Disable and lock CET in libc.a.
14386 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
14387 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
14388 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
14389 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
14390 (_CET_ENDBR): Define if not defined.
14391 (ENTRY): Add _CET_ENDBR.
14392 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
14394 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
14396 (_dl_runtime_profile): Likewise.
14398 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
14401 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
14402 restore r2 on longjmp.
14403 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
14405 Added rules to build test tst-setjmp-bug21895-static.
14406 Added module setjmp-bug21895 and rules to build a shared object from it.
14407 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
14408 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
14410 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
14412 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
14413 * benchtests/bench-strstr.c: Likewise.
14414 * string/memmem.c (FASTSEARCH): Define.
14415 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
14416 Add support for FASTSEARCH.
14417 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
14418 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
14419 (FASTSEARCH): Define.
14420 * string/test-strcasestr.c: Rename __strnlen to strnlen.
14421 * string/test-strstr.c: Likewise.
14423 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
14425 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
14426 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
14428 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
14429 H.J. Lu <hongjiu.lu@intel.com>
14431 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
14432 (__longjmp): Restore shadow stack pointer if shadow stack is
14433 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
14434 isn't defined for __longjmp_cancel.
14435 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
14436 (_setjmp): Save shadow stack pointer if shadow stack is enabled
14437 and SHADOW_STACK_POINTER_OFFSET is defined.
14438 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
14439 (setjmp): Save shadow stack pointer if shadow stack is enabled
14440 and SHADOW_STACK_POINTER_OFFSET is defined.
14441 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
14442 (__sigsetjmp): Save shadow stack pointer if shadow stack is
14443 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14444 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
14446 (____longjmp_chk): Restore shadow stack pointer if shadow stack
14447 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14448 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
14449 Remove jmp_buf-ssp.sym.
14450 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14452 (____longjmp_chk): Restore shadow stack pointer if shadow stack
14453 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14454 * sysdeps/x86/Makefile (gen-as-const-headers): Add
14456 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
14457 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
14458 (__longjmp): Restore shadow stack pointer if shadow stack is
14459 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
14460 isn't defined for __longjmp_cancel.
14461 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
14462 (__sigsetjmp): Save shadow stack pointer if shadow stack is
14463 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14465 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
14468 * nptl/pthread_create.c: Include <tls-setup.h>.
14469 (__pthread_create_2_1): Call tls_setup_tcbhead.
14470 * sysdeps/generic/tls-setup.h: New file.
14471 * sysdeps/x86/nptl/tls-setup.h: Likewise.
14472 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
14473 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
14475 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
14477 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
14478 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
14479 (X86_FEATURE_1_SHSTK): Likewise.
14480 (CET_ENABLED): Likewise.
14481 (IBT_ENABLED): Likewise.
14482 (SHSTK_ENABLED): Likewise.
14484 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
14487 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
14488 (LOCALES): Likewise.
14489 * localedata/dsb_DE.UTF-8.in: New file.
14490 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
14492 2018-07-12 Florian Weimer <fweimer@redhat.com>
14494 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
14495 __mprotect, not mprotect.
14497 2018-07-11 Florian Weimer <fweimer@redhat.com>
14499 * io/Makefile (headers): Add bits/statx.h.
14501 2018-07-10 Mike FABIAN <mfabian@redhat.com>
14503 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
14504 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
14506 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
14507 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
14510 2018-07-10 Florian Weimer <fweimer@redhat.com>
14512 * io/Makefile (routines): Add statx.
14513 (tests-internal): Add tst-statx.
14514 * io/Versions (GLIBC_2.28): Export statx.
14515 * io/bits/statx.h: New file.
14516 * io/sys/stat.h [__USE_GNU]: Include it.
14517 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
14518 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
14520 * io/statx.c: New file.
14521 * io/statx_generic.: Likewise.
14522 * io/tst-statx.: Likewise.
14523 * include/bits/statx.h: Likewise.
14524 * sysdeps/unix/sysv/linux/kernel-features.h
14525 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
14526 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14527 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
14528 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
14530 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14531 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
14532 * sysdeps/unix/sysv/linux/statx.c: New file.
14533 * manual/filesys.texi: Note that statx is undocumented.
14534 * sysdeps/**/libc*.abilist: Update.
14536 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14538 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
14539 a kernel issue which lead to test failure in some cases.
14541 2018-07-10 Florian Weimer <fweimer@redhat.com>
14544 * posix/regexec.c (check_node_accept_bytes): When comparing
14545 weights, do not compare an extra byte after the end of the
14548 2018-07-10 Florian Weimer <fweimer@redhat.com>
14550 * libio/readline.c: Fix copyright year.
14551 * libio/tst-readline.c Likewise.
14552 * nss/tst-nss-files-hosts-getent.c: Likewise.
14554 2018-07-06 Florian Weimer <fweimer@redhat.com>
14557 * nss/nss_files/files-XXX.c (internal_getent): Use
14558 __libc_readline_unlocked. Seek back to the start of the line if
14559 parsing failes with ERANGE.
14560 (get_contents_ret, get_contents): Remove.
14561 * nss/tst-nss-files-hosts-getent.c: New file.
14562 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
14563 (tst-nss-files-hosts-getent): Link with -ldl.
14565 2018-07-06 Florian Weimer <fweimer@redhat.com>
14567 * include/stdio.h (__libc_readline_unlocked): Declare.
14568 (__ftello64, __fseeko64): Declare aliases.
14569 * libio/readline.c: New file.
14570 * libio/tst-readline.c: Likewise.
14571 (routines): Add readline.
14572 (tests-internal): Add tst-readlime.
14573 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
14574 __libc_readline_unlocked.
14575 * libio/fseeko.c (__fseeko): Rename from fseeko.
14576 (fseeko): Add alias.
14577 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
14578 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
14579 (fseeko64): Add alias.
14580 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
14581 * libio/ftello64.c (__ftello64): Rename from ftello64.
14582 (ftello64): Add alias.
14584 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
14586 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
14589 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
14591 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
14592 Use dl_hwcap without masking.
14593 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
14594 Remove HWCAP_CPUID.
14596 2018-07-06 Florian Weimer <fweimer@redhat.com>
14598 * conform/conformtest.pl (checknamespace): Escape literal braces
14599 in regular expressions.
14601 2018-07-06 Amit Pawar <amit.pawar@amd.com>
14603 * sysdeps/x86/cpu-features.c (get_common_indeces):
14604 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
14605 * sysdeps/x86/cpu-features.c (init_cpu_features):
14606 AVX_Fast_Unaligned_Load is disabled for Excavator core.
14608 2018-07-05 Florian Weimer <fweimer@redhat.com>
14610 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
14612 (CFLAGS-elf-init.oS): Likewise.
14614 2018-07-05 Florian Weimer <fweimer@redhat.com>
14615 Carlos O'Donell <carlos@redhat.com>
14617 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
14618 $(no-stack-protector). stack_chk_fail_local.c can be compiled
14619 with stack protector enabled because there is no risk of infinite
14622 2018-07-05 Maciej W. Rozycki <macro@mips.com>
14626 * libc-abis (ABSOLUTE): New ABI.
14627 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
14628 * NEWS: Mention the new ABI.
14630 2018-07-05 Florian Weimer <fweimer@redhat.com>
14633 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
14634 (RENAME_WHITEOUT): Define.
14635 [__USE_GNU] (renameat2): Declare.
14636 * stdio-common/Makefile (routines): Add renameat2.
14637 (tests): Add tst-renameat2.
14638 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
14639 * stdio-common/renameat2.c: New file.
14640 * stdio-common/tst-renameat2.c: Likewise.
14641 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
14642 * manual/filesys.texi (Temporary Files): Note that renameat2 is
14644 * sysdeps/unix/sysv/linux/kernel-features.h
14645 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
14646 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14647 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
14648 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14649 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
14650 * sysdeps/unix/sysv/linux/sh/kernel-features.h
14651 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
14652 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14653 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
14654 * include/stdio.h (__renameat): Add alias for renameat.
14655 * stdio-common/renameat.c (__renameat): Rename from renameat.
14656 Add hidden definition and alias.
14657 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
14658 * sysdeps/mach/hurd/renameat.c: Likewise.
14659 * sysdeps/**/libc*.abilist: Add renameat2.
14661 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14663 * posix/bug-regex33.c: Fix build after regex sync.
14665 2018-07-04 Carlos O'Donell <carlos@redhat.com>
14668 * localedata/tst-langinfo-setlocale.c: New file.
14669 * localedata/tst-langinfo-setlocale-static.c: New file.
14670 * localedata/tst-langinfo-newlocale.c: New file.
14671 * localedata/tst-langinfo-newlocale-static.c: New file.
14672 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
14673 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
14674 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
14675 (tests-static): Remove tst-langinfo-static. Add
14676 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
14677 (tests-special): Remove $(objpfx)tst-langinfo.out,
14678 $(objpfx)tst-langinfo-static.out. Add
14679 $(objpfx)tst-langinfo-setlocale.out,
14680 $(objpfx)tst-langinfo-newlocale.out,
14681 $(objpfx)tst-langinfo-setlocale-static.out,
14682 $(objpfx)tst-langinfo-newlocale-static.out.
14683 ($(objpfx)tst-langinfo.out): Remove.
14684 ($(objpfx)tst-langinfo-static.out): Remove.
14685 ($(objpfx)tst-langinfo-newlocale.out): New target.
14686 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
14687 (test-xfail-tst-langinfo-newlocale-static): Add.
14688 ($(objpfx)tst-langinfo-setlocale.out): New target.
14689 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
14690 * localedata/tst-langinfo.c: Call test_locale.
14691 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
14694 2018-07-04 Florian Weimer <fweimer@redhat.com>
14696 testrun.sh: Implement --tool=strace, --tool=valgrind
14697 * Makefile (testrun-script): Define variable.
14698 (testrun.sh): Use variable.
14699 * manual/install.texi (Tools for Compilation): make 4.0 or later
14701 * configure.ac: Check for make 4.0 or later.
14702 * INSTALL: Regenerate.
14703 * configure: Likewise.
14705 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14711 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
14712 * posix/PCRE.tests: Remove invalid test.
14713 * posix/bug-regex28.c: Fix expected values for used syntax.
14714 * posix/bug-regex37.c: New file.
14715 * posix/bug-regex38.c: Likewise.
14716 * posix/regcomp.c: Sync with gnulib.
14717 * posix/regex.c: Likewise.
14718 * posix/regex.h: Likewise.
14719 * posix/regex_internal.c: Likewise.
14720 * posix/regex_internal.h: Likewise.
14721 * posix/regexec.c: Likewise.
14723 2018-06-26 Mike FABIAN <mfabian@redhat.com>
14726 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
14727 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
14728 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
14729 * localedata/unicode-gen/PropList.txt: likewise.
14730 * localedata/unicode-gen/UnicodeData.txt: likewise.
14731 * localedata/charmaps/UTF-8: Regenerate.
14732 * localedata/locales/i18n_ctype: likewise.
14733 * localedata/locales/tr_TR: likewise.
14734 * localedata/locales/translit_circle: likewise.
14735 * localedata/locales/translit_cjk_compat: likewise.
14736 * localedata/locales/translit_combining: likewise.
14737 * localedata/locales/translit_compat: likewise.
14738 * localedata/locales/translit_font: likewise.
14739 * localedata/locales/translit_fraction: likewise.
14741 2018-07-03 Florian Weimer <fweimer@redhat.com>
14744 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
14745 * stdio-common/tst-printf.sh: Adjust expected output.
14746 * LICENSES: Update.
14748 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14750 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
14753 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14755 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
14756 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
14757 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
14758 * stdio-common/tst-printfsz-islongdouble.c: New file.
14759 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
14760 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
14761 [subdir == stdio-common] (routines): Add ieee128-printf_size.
14762 [subdir == stdio-common] (tests-internal): Add
14763 test-printf-size-ieee128, and test-printf-size-ibm128.
14764 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
14765 (CFLAGS-test-printf-size-ibm128.c): New variables.
14766 [subdir == stdio-common] (tests-special): Add
14767 $(objpfx)test-printf-size-ieee128.out and
14768 $(objpfx)test-printf-size-ibm128.out.
14769 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
14770 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
14771 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
14772 __printf_sizeieee128.
14773 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
14775 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
14777 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
14780 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
14782 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
14783 (exp2f_inline): Likewise.
14784 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
14785 (__math_uflowf): Likewise.
14786 (__math_may_uflowf): Likewise.
14787 (__math_divzerof): Likewise.
14788 (__math_invalidf): Likewise.
14789 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
14790 (__math_oflowf): Likewise.
14791 (__math_uflowf): Likewise.
14792 (__math_may_uflowf): Likewise.
14793 (__math_divzerof): Likewise.
14794 (__math_invalidf): Likewise.
14796 2018-06-29 DJ Delorie <dj@redhat.com>
14797 Carlos O'Donell <carlos@redhat.com>
14800 * include/libc-symbols.h: Comment the freeres framework.
14801 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
14802 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
14803 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
14804 * dlfcn/dlerror.c: Include libc-symbols.h
14805 (__dlerror_main_freeres): New function.
14806 * dlfcn/dlfreeres.c: New file.
14807 * dlfcn/sdlfreeres.c: New file.
14808 * include/dlfcn.h: Declare __dlerror_main_freeres.
14809 * malloc/set-freeres.c: Declare __libdl_freeres, and
14810 __libpthread_freeres.
14811 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
14812 the releavant libraries are loaded.
14813 * malloc/thread-freeres.c: Add comments.
14814 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
14815 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
14816 * nptl/allocatestack.c (__nptl_free_stacks): New function.
14817 (__free_stacks): Rename to...
14818 (free_stacks): ...this. Mark static.
14819 (queue_stack): Call free_stacks.
14820 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
14821 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
14822 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
14823 ptr_freeres element from struct.
14824 (pthread_functions): Remove .ptr_freeres from struct initializer.
14825 [SHARED] (nptl_freeres): Remove.
14826 * nptl/nptlfreeres.c: New file.
14828 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
14829 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
14831 (__free_stacks): Rename to...
14832 (__nptl_stacks_freeres): ...this.
14833 (__shm_directory_freeres): Declare.
14834 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
14835 (__nptl_unwind_freeres): ...this.
14836 * resolv/res-close.c: Add comment.
14837 * resolv/resolv_conf.c: Include libc-symbols.h.
14838 * string/strerror_l.c: Include libc-symbols.h.
14839 * sunrpc/rpc_thread.c: Include libc-symbols.h.
14840 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
14841 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
14842 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
14844 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14846 * stdlib/tst-strfmon_l.c: Add tests for long double.
14848 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
14851 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
14852 * localedata/locales/dsb_DE: New file.
14854 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
14857 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
14859 (alt_mon): New entry, import from CLDR (nominative case).
14861 2018-06-29 Sylvain Lesage <severo@rednegra.net>
14864 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
14866 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
14868 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
14869 Use vector registers.
14871 * sysdeps/aarch64/multiarch/memmove_falkor.S
14872 (__memcpy_falkor): Use vector registers.
14874 2018-06-29 Martin Sebor <msebor@redhat.com>
14876 * manual/stdio.texi (Customizing Printf): Mention interaction
14877 with GCC built-ins.
14879 2018-06-29 Maciej W. Rozycki <macro@mips.com>
14882 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
14883 `st_value' is 0 if `st_shndx' is SHN_ABS.
14884 * elf/tst-absolute-zero.c: New file.
14885 * elf/tst-absolute-zero-lib.c: New file.
14886 * elf/tst-absolute-zero-lib.lds: New file.
14887 * elf/Makefile (tests): Add `tst-absolute-zero'.
14888 (modules-names): Add `tst-absolute-zero-lib'.
14889 (LDLIBS-tst-absolute-zero-lib.so): New variable.
14890 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
14891 ($(objpfx)tst-absolute-zero: New dependency.
14893 2018-06-29 Zack Weinberg <zackw@panix.com>
14895 * configure.ac: New command-line option --disable-crypt.
14896 Force --disable-nss-crypt when --disable-crypt is given, with a
14897 warning if it was explicitly enabled.
14898 * configure: Regenerate.
14899 * config.make.in: New boolean substitution variable $(build-crypt).
14900 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
14901 when $(build-crypt).
14902 * manual/install.texi: Document --disable-crypt.
14903 * INSTALL: Regenerate.
14905 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
14906 which is never set.
14907 * conform/Makefile: Only include libcrypt.a in
14908 linknamespace-libs-xsi and linknamespace-libs-XPG4
14909 when $(build-crypt).
14910 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
14911 USE_CRYPT to 1 when $(build-crypt).
14912 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
14913 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
14914 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
14916 2018-06-29 Zack Weinberg <zackw@panix.com>
14918 * crypt/crypt.h, posix/unistd.h: Update comments and
14919 prototypes for crypt and crypt_r.
14921 * manual/crypt.texi (Cryptographic Functions): New initial
14923 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
14924 (Unpredictable Bytes): Improve initial exposition. Clarify error
14925 behavior of getentropy and getrandom.
14926 * manual/examples/genpass.c: Generate a salt using getentropy
14927 instead of the current time. Use hash $5$ (SHA-2-256).
14928 * manual/examples/testpass.c: Demonstrate validation against
14929 hashes generated with three different one-way functions.
14931 * manual/intro.texi: crypt.texi does not need an overview
14934 * manual/nss.texi, manual/memory.texi, manual/socket.texi
14935 * manual/terminal.texi: Consistently refer to "passphrases"
14936 * instead of "passwords", and to the "user database" instead
14937 * of the "password database".
14938 * manual/users.texi: Similarly. Add notes about how actual
14939 passphrase hashes are now stored in the shadow database.
14940 Remove 20-year-old junk todo note.
14942 2018-06-29 Zack Weinberg <zackw@panix.com>
14944 * manual/crypt.texi: Use a normal top-level @node declaration.
14945 Move most of the introductory text to the 'crypt' section.
14946 Move the example programs below the @deftypefun for 'crypt_r'.
14947 Move the 'getpass' section...
14948 * manual/terminal.texi: ...here.
14950 2018-06-29 Zack Weinberg <zackw@panix.com>
14951 Florian Weimer <fweimer@redhat.com>
14953 * posix/unistd.h: Do not declare encrypt.
14954 (_XOPEN_CRYPT): Remove macro definition.
14955 (crypt): Declare only for _USE_MISC.
14956 * stdlib/stdlib.h: Do not declare setkey.
14957 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
14958 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
14960 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
14961 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
14962 into compat symbols. Don't define initial_perm if it's not
14964 * crypt/cert.c: Link explicitly with the expected versions for
14965 setkey and encrypt. If they are not available at all, mark
14966 the test as unsupported.
14968 * sunrpc/des_crypt.c: Unconditionally block linkage with
14969 cbc_crypt and ecb_crypt for new binaries.
14970 * sunrpc/des_soft.c: Unconditionally block linkage with
14971 des_setparity for new binaries.
14973 * manual/crypt.texi: Remove the entire "DES Encryption"
14974 section. Also remove the paragraph talking about FIPS 140-2
14975 from the introduction.
14976 * manual/string.texi (strfry, memfrob): Revise. Recommend use
14977 of libgcrypt for "real" encryption, not DES.
14978 * manual/conf.texi (Constants for Sysconf): Mention that
14979 _XOPEN_CRYPT is no longer impelemented.
14981 * conform/data/unistd.h-data: Remove crypt function declaration.
14983 2018-06-29 Florian Weimer <fweimer@redhat.com>
14986 * malloc/hooks.c: Update comments on restoring of dumped heaps.
14987 (disallow_malloc_check): Remove variable.
14988 (__malloc_check_init): Adjust.
14989 (malloc_set_state): Update comment.
14990 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
14993 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
14996 * localedata/locales/ast_ES (mon): Rename to...
14998 (mon): Import from CLDR (genitive case).
15000 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
15001 Jakub Sitnicki <jkbs@redhat.com>
15004 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
15005 on NLM_F_DUMP_INTR.
15007 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
15009 * manual/llio.texi: Remove spurious space.
15011 2018-06-28 Florian Weimer <fweimer@redhat.com>
15014 * time/bits/types/struct_timespec.h: Change header inclusion guard to
15017 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15019 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
15020 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
15021 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
15022 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
15023 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
15024 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
15025 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
15027 2018-06-27 Maciej W. Rozycki <macro@mips.com>
15030 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
15031 Copy and null-terminate entries that are not terminated, in
15032 addition to empty ones.
15034 2018-06-27 Florian Weimer <fweimer@redhat.com>
15037 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
15038 (extend_alloca_account): Remove.
15039 * manual/stdio.texi (Variable Arguments Output): Update comment.
15041 2018-06-27 Joseph Myers <joseph@codesourcery.com>
15043 * nptl/sockperf.c: Remove file.
15045 2018-06-27 Florian Weimer <fweimer@redhat.com>
15048 * elf/dl-deps.c (_dl_map_object_deps): Use struct
15049 scratch_buffer instead of extend_alloca.
15051 2018-06-27 Florian Weimer <fweimer@redhat.com>
15054 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
15055 scratch_buffer instead of extend_alloca. Update comments.
15057 2018-06-27 Florian Weimer <fweimer@redhat.com>
15060 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
15061 instead of extend_alloca.
15063 2018-06-26 Joseph Myers <joseph@codesourcery.com>
15066 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
15067 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
15069 * scripts/test-installation.pl: Put temporary files in build
15070 directory, not /tmp.
15071 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
15072 (CFLAGS-bug4.c): Likewise.
15073 (CFLAGS-bug5.c): Likewise.
15074 (CFLAGS-test-fseek.c): Likewise.
15075 (CFLAGS-test-popen.c): Likewise.
15076 (CFLAGS-test_rdwr.c): Likewise.
15077 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
15079 * stdio-common/bug4.c (main): Likewise.
15080 * stdio-common/bug5.c (main): Likewise.
15081 * stdio-common/test-fseek.c (TESTFILE): Likewise.
15082 * stdio-common/test-popen.c (do_test): Likewise.
15083 * stdio-common/test_rdwr.c (main): Likewise.
15085 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
15087 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
15088 (sem_open): Set sem.newsem.pad to zero for valgrind.
15090 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15093 * NEWS: Mention fcntl64 addition.
15094 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
15095 * login/utmp_file.c: Likewise.
15096 * sysdeps/posix/fdopendir.c: Likewise.
15097 * sysdeps/posix/opendir.c: Likewise.
15098 * sysdeps/unix/pt-fcntl.c: Likewise.
15099 * include/fcntl.h (__libc_fcntl64, __fcntl64,
15100 __fcntl64_nocancel_adjusted): New prototype.
15101 (__fcntl_nocancel_adjusted): Remove prototype.
15102 * io/Makefile (routines): Add fcntl64.
15103 (CFLAGS-fcntl64.c): New rule.
15104 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
15105 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
15106 * io/fcntl.h (fcntl64): Add prototype and redirect if
15107 __USE_FILE_OFFSET64 is defined.
15108 * io/fcntl64.c: New file.
15109 * manual/llio.text: Add a note for which commands fcntl acts a
15110 cancellation point.
15111 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
15112 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
15113 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
15115 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
15116 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
15118 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
15119 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
15120 to __fcntl64_nocancel.
15121 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
15122 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
15123 to __fcntl64_nocancel.
15124 * sysdeps/generic/not-cancel.h: Likewise.
15125 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
15126 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
15127 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
15128 (fcntl64): New symbol.
15129 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15130 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15131 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15134 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15135 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15136 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15137 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15138 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15139 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
15140 fcntl64): Likewise.
15141 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15142 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
15143 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15144 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15145 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15146 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15147 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15148 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15149 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15154 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15155 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15156 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15158 2018-06-26 Florian Weimer <fweimer@redhat.com>
15160 Run thread shutdown functions in an explicit order.
15161 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
15163 (__libc_thread_freeres): Call thread shutdown functions
15165 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
15166 * include/string.h (__strerror_thread_freeres): Declare.
15167 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
15168 arena_thread_freeres. No longer static. Remove thread shutdown
15170 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
15172 * resolv/res-close.c (__res_thread_freeres): Renamed from
15173 res_thread_freeres. No longer static. Remove thread shutdown
15175 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
15176 * resolv/resolv_conf.c (freeres): Remove incorrect section
15177 attribute and use libc_freeres_fn.
15178 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
15179 strerror_thread_freeres. No longer static. Remove thread
15180 shutdown hook registration.
15181 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
15182 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
15183 shutdown hook registration.
15184 * Makerules (shlib.lds): Do not provide section boundary symbols
15185 for __libc_thread_subfreeres.
15186 * manual/memory.texi (Basic Allocation): Update comment.
15188 2018-06-26 Florian Weimer <fweimer@redhat.com>
15190 Remove always-defined _RPC_THREAD_SAFE_ macro.
15191 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
15192 Do not define _RPC_THREAD_SAFE_.
15193 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
15195 * sunrpc/clnt_perr.c: Likewise.
15196 * sunrpc/clnt_raw.c: Likewise.
15197 * sunrpc/clnt_simp.c: Likewise.
15198 * sunrpc/key_call.c: Likewise.
15199 * sunrpc/rpc_common.c: Likewise.
15200 * sunrpc/rpc_main.c: Likewise.
15201 * sunrpc/rpc_thread.c: Likewise.
15202 * sunrpc/svc.c: Likewise.
15203 * sunrpc/svc_raw.c: Likewise.
15204 * sunrpc/svc_simple.c: Likewise.
15205 * sumrpc/svcauth_des.c: Likewise.
15207 2018-06-26 Florian Weimer <fweimer@redhat.com>
15209 * libio/Makefile (tests-internal): Add tst-vtables,
15210 tst-vtables-interposed.
15211 * libio/tst-vtables.c: New file.
15212 * libio/tst-vtables-common.c: Likewise.
15213 * libio/tst-vtables-interposed.c: Likewise.
15215 2018-06-26 Florian Weimer <fweimer@redhat.com>
15217 * support/support_test_main.c (support_test_main): Only call
15218 setvbuf if not disables.
15219 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
15220 * support/test-driver.h (struct test_config): Add no_setvbuf member.
15222 2018-06-26 Florian Weimer <fweimer@redhat.com>
15225 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
15227 2018-06-25 Florian Weimer <fweimer@redhat.com>
15230 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15231 Use struct scratch_buffer instead of extend_alloca.
15233 2018-06-25 Florian Weimer <fweimer@redhat.com>
15236 * nss/getent.c (initgroups_keys): Use dynarray instead of
15239 2018-06-25 Florian Weimer <fweimer@redhat.com>
15242 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
15243 Use struct scratch_buffer instead of extend_alloca.
15245 2018-06-25 Florian Weimer <fweimer@redhat.com>
15248 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
15249 back to malloc directly, without stack allocations.
15251 2018-06-25 Florian Weimer <fweimer@redhat.com>
15254 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
15257 2018-06-25 Florian Weimer <fweimer@redhat.com>
15260 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
15262 * nscd/hstcache.c (addhstbyX): Likewise.
15263 * nscd/pwdcache.c (addpwbyX): Likewise.
15264 * nscd/servicescache.c (addservbyX): Likewise.
15266 2018-06-25 Florian Weimer <fweimer@redhat.com>
15269 * nscd/connections.c (read_cmdline): New function.
15270 (restart): Use it. Update comment.
15272 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
15275 * localedata/locales/csb_PL (mon): Rename to...
15277 (abmon): Rename to...
15278 (ab_alt_mon): This.
15279 (mon): Add with proper genitive forms, copy from Wikipedia.
15282 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
15285 * localedata/locales/csb_PL (mon): Fix typos:
15286 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
15287 (yesstr): Add, value is "jo".
15288 (nostr): Add, value is "nié".
15290 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15292 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
15293 all log1p and significand functions on m680x0.
15294 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
15295 of s_significand.c..
15296 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
15297 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
15298 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
15299 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
15300 s_log1p.c and include it..
15302 2018-06-21 Vincent Chen <vincentc@andestech.com>
15304 * elf/elf.h (R_NDS32_NONE): New define.
15305 (R_NDS32_32_RELA): Likewise.
15306 (R_NDS32_COPY): Likewise.
15307 (R_NDS32_GLOB_DAT): Likewise.
15308 (R_NDS32_JUMP_SLOT): Likewise.
15309 (R_NDS32_RELATIVE): Likewise.
15310 (R_NDS32_TLS_TPOFF): Likewise.
15311 (R_NDS32_TLS_DESC): Likewise.
15313 2018-06-21 Mark Wielaard <mark@klomp.org>
15315 * elf/elf.h (R_BPF_MAP_FD): Removed.
15316 (R_BPF_64_64, R_BPF_64_32): New.
15318 2018-06-21 Florian Weimer <fweimer@redhat.com>
15321 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
15322 Renamed from libc_feholdsetround_ctx.
15323 (default_libc_feresetround_ctx): Renamed from
15324 libc_feresetround_ctx.
15325 (default_libc_feholdsetround_noex_ctx): Renamed from
15326 libc_feholdsetround_noex_ctx.
15327 (default_libc_feresetround_noex_ctx): Renamed from
15328 libc_feresetround_noex_ctx.
15329 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
15330 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
15331 forwardning to the old implementations under the new names.
15332 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
15333 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
15334 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
15335 (libc_feresetround_ctx): Forward to default implements for i386
15336 and MATH_SET_BOTH_ROUNDING_MODES.
15337 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
15338 Add -DMATH_SET_BOTH_ROUNDING_MODES.
15340 2018-06-20 Joseph Myers <joseph@codesourcery.com>
15342 * string/tst-cmp.c: Include <libc-diag.h>.
15343 (strncmp_max): Disable -Wstringop-overflow= around call to
15345 (strncasecmp_max): Disable -Wstringop-overflow= around call to
15348 * string/bug-strpbrk1.c: Include <libc-diag.h>.
15349 (main): Disable -Wunused-value around call to strpbrk.
15350 * string/bug-strspn1.c: Include <libc-diag.h>.
15351 (main): Disable -Wunused-value around call to strspn.
15353 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15354 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15356 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
15357 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
15359 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15361 * math/Makefile (libm-calls): Move s_significandF to...
15362 (gen-libm-calls): ... here.
15363 * math/s_significand_template.c: New file.
15364 * math/s_significand.c: Removed.
15365 * math/s_significandf.c: Removed.
15366 * math/s_significandl.c: Removed.
15367 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
15368 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
15370 * math/e_exp2_template.c (declare_mgen_finite_alias,
15371 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
15372 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
15373 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
15375 2018-06-20 Florian Weimer <fweimer@redhat.com>
15377 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
15379 2018-06-19 Joseph Myers <joseph@codesourcery.com>
15382 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
15383 floating-point number to strtod functions rather than possibly
15384 negating result of those functions.
15385 * stdio-common/tst-scanf-round.c: New file.
15386 * stdio-common/Makefile (tests): Add tst-scanf-round.
15387 ($(objpfx)tst-scanf-round): Depend on $(libm).
15389 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15391 * sysdeps/mach/hurd/localplt.data: Move to...
15392 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
15393 R_386_GLOB_DAT like on Linux i386.
15395 2018-06-18 Joseph Myers <joseph@codesourcery.com>
15397 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
15398 (SHM_STAT_ANY): New macro.
15399 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
15400 (SHM_STAT_ANY): Likewise.
15401 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
15402 (SHM_STAT_ANY): Likewise.
15403 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
15404 (SHM_STAT_ANY): Likewise.
15405 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
15406 (SHM_STAT_ANY): Likewise.
15407 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
15408 (SHM_STAT_ANY): Likewise.
15409 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
15410 (SHM_STAT_ANY): Likewise.
15411 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
15412 (SHM_STAT_ANY): Likewise.
15413 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
15414 (SHM_STAT_ANY): Likewise.
15415 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
15416 (SHM_STAT_ANY): Likewise.
15417 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
15418 (SHM_STAT_ANY): Likewise.
15419 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
15420 (SHM_STAT_ANY): Likewise.
15422 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
15423 (SEM_STAT_ANY): New macro.
15424 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
15425 (SEM_STAT_ANY): Likewise.
15426 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
15427 (SEM_STAT_ANY): Likewise.
15428 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
15429 (SEM_STAT_ANY): Likewise.
15430 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
15431 (SEM_STAT_ANY): Likewise.
15432 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
15433 (SEM_STAT_ANY): Likewise.
15434 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
15435 (SEM_STAT_ANY): Likewise.
15436 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
15437 (SEM_STAT_ANY): Likewise.
15438 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
15439 (SEM_STAT_ANY): Likewise.
15440 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
15441 (SEM_STAT_ANY): Likewise.
15443 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
15444 (MSG_STAT_ANY): New macro.
15445 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
15446 (MSG_STAT_ANY): Likewise.
15447 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
15448 (MSG_STAT_ANY): Likewise.
15449 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
15450 (MSG_STAT_ANY): Likewise.
15451 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
15452 (MSG_STAT_ANY): Likewise.
15453 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
15454 (MSG_STAT_ANY): Likewise.
15455 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
15456 (MSG_STAT_ANY): Likewise.
15457 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
15458 (MSG_STAT_ANY): Likewise.
15459 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
15460 (MSG_STAT_ANY): Likewise.
15461 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
15462 (MSG_STAT_ANY): Likewise.
15464 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15465 (MAP_TYPE): Change value to 0x2b.
15467 2018-06-18 Florian Weimer <fweimer@redhat.com>
15470 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
15471 socket with SOCK_CLOEXEC.
15473 2018-06-18 Joseph Myers <joseph@codesourcery.com>
15476 * sysdeps/powerpc/powerpc64/le/Makefile
15477 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
15478 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
15479 (gnulib-tests): Also add $(f128-loader-link) for
15480 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
15482 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
15484 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
15485 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
15487 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
15488 (sendfile64): New strong alias.
15489 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
15490 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
15491 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
15492 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
15494 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
15495 ___pthread_get_cleanup_stack.
15496 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
15497 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
15498 * mach/shortcut.awk: Make syscall stubs include
15499 <mach-shortcuts-hidden.h> and add hidden definition.
15500 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
15501 (__mach_msg): Add hidden prototype.
15502 * mach/msg.c: Include <mach.h>.
15503 (__mach_msg): Add hidden definition.
15504 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
15505 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
15506 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
15507 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
15508 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
15509 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
15510 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
15511 prototype and definition.
15512 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
15513 hidden target for _hurd_self_sigstate.
15515 2018-06-15 Joseph Myers <joseph@codesourcery.com>
15518 * stdlib/tst-strtod-nan-sign-main.c: New file.
15519 * stdlib/tst-strtod-nan-sign.c: Likewise.
15520 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
15521 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
15522 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
15523 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
15524 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
15526 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
15529 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
15532 2018-06-14 Florian Weimer <fweimer@redhat.com>
15535 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
15536 that the result stays within the ISO-8859-1 range.
15537 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
15538 characters are defined in IBM273.
15540 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
15542 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
15543 __mach_task_self): Remove attribute_hidden.
15545 2018-06-14 Joseph Myers <joseph@codesourcery.com>
15547 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
15548 ignore -Wrestrict for one test.
15550 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
15551 Szabolcs Nagy <szabolcs.nagy@arm.com>
15553 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
15555 2018-06-14 Florian Weimer <fweimer@redhat.com>
15557 * scripts/update-abilist.sh: Accept empty list of files to patch.
15559 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
15561 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
15562 test-xfail-check-abi-libmachuser): Add.
15563 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
15564 __libc_read and __libc_write to __read and __write.
15565 * sysdeps/hurd/include/hurd/port.h: New file.
15566 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
15567 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
15568 __thread_switch, __evc_wait): Move declarations to...
15569 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
15571 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
15572 use PLT to call _hurd_self_sigstate.
15574 2018-06-13 Joseph Myers <joseph@codesourcery.com>
15577 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
15578 MAX_EXP as overflowing.
15579 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
15581 (round_str): Output also whether result overflows in each rounding
15583 * stdlib/tst-strtod-round-data: Add more tests.
15584 * stdlib/tst-strtod-round-data.h: Regenerated.
15585 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
15586 (TEST): Handle extra arguments for overflow flags.
15587 (struct test_overflow): New type.
15588 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
15589 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
15590 (test_in_one_mode): Take argument with overflow information.
15591 (do_test): Update calls to test_in_one_mode.
15593 2018-06-12 Carlos O'Donell <carlos@redhat.com>
15595 * elf/dl-load (_dl_dst_substitute): Correct comment.
15596 (_dl_dst_count): Likewise.
15598 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
15599 lll_futex_timed_wait.
15601 2018-06-12 Joseph Myers <joseph@codesourcery.com>
15604 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
15606 * math/test-nan-const.c: New file.
15607 * math/Makefile (tests): Add test-nan-const.
15608 (CFLAGS-test-nan-const.c): New variable.
15610 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
15612 * benchtests/scripts/compare_strings.py (process_results): Add
15613 funcs argument. Compare only functions which are selected.
15614 (main): Check if base function is among selected functions.
15615 Pass selected functions to process_results.
15616 (__main__): Add -f/--functions argument.
15618 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
15619 Hongbo Zhang <hongbo.zhang@linaro.org>
15621 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
15622 __memcpy_falkor for phecda core.
15623 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
15624 __memmove_falkor for phecda core.
15625 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
15626 __memset_falkor for phecda core.
15627 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
15629 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
15630 macro to identify phecda core.
15632 2018-06-12 Carlos O'Donell <carlos@redhat.com>
15633 Andreas Schwab <schwab@suse.de>
15634 Dmitry V. Levin <ldv@altlinux.org>
15635 Florian Weimer <fweimer@redhat.com>
15642 * elf/dl-dst.h: Remove DL_DST_COUNT.
15643 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
15644 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
15645 (is_dst): Comment. Support ELF gABI.
15646 (_dl_dst_count): Comment. Simplify and count DSTs.
15647 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
15648 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
15651 2018-06-12 Zack Weinberg <zackw@panix.com>
15653 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
15654 * sysdeps/unix/sysv/linux/dl-sysdep.c
15655 Include not-cancel.h. Use __close_nocancel instead of __close,
15656 __open64_nocancel instead of __open, __read_nocancel instead of
15657 __libc_read, and __write_nocancel instead of __libc_write.
15659 * csu/check_fds.c (check_one_fd)
15660 * sysdeps/posix/fdopendir.c (__fdopendir)
15661 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
15662 instead of __fcntl and/or __libc_fcntl.
15664 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
15665 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
15666 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
15667 Use __open64_nocancel instead of __open_nocancel.
15669 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
15670 hidden_proto declarations to the end and issue them if either
15671 IS_IN(libc) or IS_IN(rtld).
15672 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
15673 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
15674 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
15675 read_nocancel, waitpid_nocancel, write_nocancel.
15677 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
15678 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
15679 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
15681 * nptl/pt-fcntl.c: New file.
15682 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
15683 (libpthread-routines): Add pt-fcntl.
15684 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
15685 (__libc_fcntl): Remove attribute_hidden.
15686 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
15687 __fcntl_nocancel_adjusted, not fcntl_common.
15688 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
15689 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
15690 to fcntl_nocancel.c.
15691 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
15692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
15693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15694 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
15696 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
15697 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
15698 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
15699 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
15700 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
15701 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
15702 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
15703 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
15704 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
15705 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
15706 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
15707 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
15708 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
15709 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
15710 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
15711 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
15712 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
15713 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
15714 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
15715 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
15717 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
15718 libpthread-routines.
15719 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
15722 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
15723 __libc_read, and __write instead of __libc_write. Define
15724 __open64 in addition to __open.
15726 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
15730 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
15731 to _private_tm[3] and add __glibc_reserved2.
15732 Add _Static_assert of offset of __private_ss == 0x30.
15733 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
15734 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
15736 2018-06-12 Florian Weimer <fweimer@redhat.com>
15738 x86: Make strncmp usable from rtld.
15739 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
15740 __strncmp_ia32 if in libc (and not in rtld).
15741 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
15742 strncmp if not in libc (and not to __strncmp_sse2).
15744 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
15747 * localedata/locales/gd_GB (mon): Rename to...
15749 (mon): Import from CLDR (genitive case).
15750 * localedata/locales/hsb_DE (mon): Rename to...
15752 (mon): Import from CLDR (genitive case).
15753 * localedata/locales/wa_BE (mon): Rename to...
15755 (mon): Add, fill with the proper genitive forms, but CLDR data
15756 is incomplete; completed according to the comments in this file.
15757 (d_t_fmt): Do not use "di" before the month name, no longer needed.
15759 * localedata/locales/wa_BE (country_name): Reword
15760 "Beljike" -> "Beldjike".
15762 2018-06-11 Joseph Myers <joseph@codesourcery.com>
15765 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
15766 cases of non-finite arguments.
15767 * math/libm-test-fma.inc (fma_test_data): Add more tests.
15769 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
15772 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
15774 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15777 * include/unistd.h (__execvpex): New prototype.
15778 * posix/Makefile (tests): Add tst-spawn4.
15779 (tests-internal): Add tst-spawn4-compat.
15780 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
15781 * posix/tst-spawn4-compat.c: New file.
15782 * posix/tst-spawn4.c: Likewise.
15783 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
15784 binaries as shell scripts.
15785 * sysdeps/posix/spawni.c (__spawni): Likewise.
15787 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
15790 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
15791 ($(all-built-dso:=.dynsym): New target.
15792 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
15793 ($(objpfx)check-initfini.out): New target.
15794 (generated): Add check-initfini.out.
15795 * scripts/check-initfini.awk: New file.
15796 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
15798 * sysdeps/alpha/crti.S (_init): Mark as hidden.
15800 * sysdeps/arm/crti.S (_init): Mark as hidden.
15802 * sysdeps/hppa/crti.S (_init): Mark as hidden.
15804 * sysdeps/i386/crti.S (_init): Mark as hidden.
15806 * sysdeps/ia64/crti.S (_init): Mark as hidden.
15808 * sysdeps/m68k/crti.S (_init): Mark as hidden.
15810 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
15812 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
15814 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
15816 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
15818 * sysdeps/nios2/crti.S (_init): Mark as hidden.
15820 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
15822 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
15824 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
15826 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
15828 * sysdeps/sh/crti.S (_init): Mark as hidden.
15830 * sysdeps/sparc/crti.S (_init): Mark as hidden.
15832 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
15835 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15837 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
15838 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
15839 and TF redirection to KFtype and KF only when the default
15840 long double type is not the IEEE 128-bit floating point type.
15842 2018-06-05 Joseph Myers <joseph@codesourcery.com>
15844 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
15846 (HWCAP_USCAT): Likewise.
15847 (HWCAP_ILRCPC): Likewise.
15848 (HWCAP_FLAGM): Likewise.
15849 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
15851 (_dl_aarch64_cap_flags): Add new flag names.
15853 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
15854 (MAP_FIXED_NOREPLACE): New macro.
15855 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
15856 (MAP_FIXED_NOREPLACE): Likewise.
15857 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
15858 (MAP_FIXED_NOREPLACE): Likewise.
15859 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15860 (MAP_FIXED_NOREPLACE): Likewise.
15861 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
15862 (MAP_FIXED_NOREPLACE): Likewise.
15863 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
15864 (MAP_FIXED_NOREPLACE): Likewise.
15865 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
15866 (MAP_FIXED_NOREPLACE): Likewise.
15867 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
15868 (MAP_FIXED_NOREPLACE): Likewise.
15869 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
15870 (MAP_FIXED_NOREPLACE): Likewise.
15871 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
15872 (MAP_FIXED_NOREPLACE): Likewise.
15873 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
15874 (MAP_FIXED_NOREPLACE): Likewise.
15875 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
15876 (MAP_FIXED_NOREPLACE): Likewise.
15877 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
15878 (MAP_FIXED_NOREPLACE): Likewise.
15879 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
15880 (MAP_FIXED_NOREPLACE): Likewise.
15881 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
15882 (MAP_FIXED_NOREPLACE): Likewise.
15884 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15887 2018-06-04 Joseph Myers <joseph@codesourcery.com>
15889 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
15892 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15894 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
15896 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
15898 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15900 * benchtests/scripts/compare_string.py: (process_results) Catch
15901 exception in non-existent base_func and catch exception in
15902 non-existent attribute.
15903 (parse_file) Catch exception if input file does not exist.
15905 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15907 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
15908 options to avoid diff calculation and omit header, respectively.
15909 (main): process --no-diff and --no-header
15911 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15912 H.J. Lu <hongjiu.lu@intel.com>
15914 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15915 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
15917 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15918 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
15919 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
15920 and __wcsncmp_sse2.
15921 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
15922 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
15923 AVX unaligned load is fast and vzeroupper is preferred.
15924 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
15925 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
15926 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
15927 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
15928 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
15929 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
15930 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
15931 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
15932 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
15933 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
15936 2018-06-01 Florian Weimer <fweimer@redhat.com>
15938 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
15939 configuring with --disable-multi-arch, building with
15940 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
15943 2018-06-01 Florian Weimer <fweimer@redhat.com>
15945 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
15946 results from building with “-march=x86-64 -mtune=generic
15947 -mfpmath=sse” and running on a Haswell-era CPU.
15949 2018-06-01 Joseph Myers <joseph@codesourcery.com>
15952 * soft-fp/sqrttf2.c: Remove file.
15953 * soft-fp/sqrtdf2.c: Move to ....
15954 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
15956 (__sqrtdf2): Make conditional on
15957 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
15959 * soft-fp/sqrtsf2.c: Move to ....
15960 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
15962 (__sqrtsf2): Make conditional on
15963 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
15965 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
15966 (gcc-double-routines): Remove sqrtdf2.
15967 (gcc-quad-routines): Remove sqrttf2.
15968 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
15969 Do not filter out sqrtsf2 and sqrtdf2.
15970 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
15971 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
15973 2018-06-01 Florian Weimer <fweimer@redhat.com>
15975 * sysdeps/generic/libcidn.abilist: Remove file.
15977 2018-06-01 Florian Weimer <fweimer@redhat.com>
15980 * libio/strfile.h (struct _IO_str_fields): Rename members to
15981 discourage their use and add comment.
15982 (_IO_STR_DYNAMIC): Remove unused macro.
15983 * libio/strops.c (_IO_str_init_static_internal): Do not use
15984 callback pointers. Call malloc and free.
15985 (_IO_str_overflow): Do not use callback pointers. Call malloc
15987 (enlarge_userbuf): Likewise.
15988 (_IO_str_finish): Call free.
15989 * libio/wstrops.c (_IO_wstr_init_static): Initialize
15990 _allocate_buffer_unused.
15991 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
15993 (enlarge_userbuf): Likewise.
15994 (_IO_wstr_finish): Call free.
15995 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
15996 _allocate_buffer_unused, _free_buffer_unused.
15997 * libio/memstream.c (__open_memstream): Likewise.
15998 * libio/vasprintf.c (_IO_vasprintf): Likewise.
15999 * libio/wmemstream.c (open_wmemstream): Likewise.
16001 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
16003 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
16006 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16008 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
16009 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
16010 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
16012 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
16014 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
16016 2018-05-29 Florian Weimer <fweimer@redhat.com>
16018 * support/Makefile (libsupport-routines): Add
16019 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
16020 xpthread_barrierattr_setpshared.
16021 * support/xpthread_barrierattr_destroy.c: New file.
16022 * support/xpthread_barrierattr_init.c: Likewise.
16023 * support/xpthread_barrierattr_setpshared.c: Likewise.
16025 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
16028 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
16029 _r_debug and update DT_DEBUG for debugger.
16031 2018-05-29 Florian Weimer <fweimer@redhat.com>
16033 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
16034 (tst-strtod5i.out): Likewise.
16036 2018-05-25 Joseph Myers <joseph@codesourcery.com>
16038 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
16039 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
16040 (sparc64-quad-routines): New variable. Moved from ....
16041 [$(subdir) = soft-fp] (sysdep_routines): Add
16042 $(sparc64-quad-routines). Moved from ....
16043 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
16044 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
16045 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
16047 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
16048 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
16049 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
16050 * sysdeps/sparc/sparc64/qp_add.c: ... here.
16051 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
16052 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
16053 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
16054 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
16055 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
16056 * sysdeps/sparc/sparc64/qp_div.c: ... here.
16057 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
16058 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
16059 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
16060 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
16061 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
16062 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
16063 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
16064 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
16065 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
16066 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
16067 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
16068 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
16069 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
16070 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
16071 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
16072 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
16073 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
16074 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
16075 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
16076 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
16077 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
16078 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
16079 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
16080 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
16081 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
16082 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
16083 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
16084 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
16085 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
16086 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
16087 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
16088 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
16089 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
16090 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
16091 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
16092 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
16093 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
16094 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
16095 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
16096 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
16097 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
16098 * sysdeps/sparc/sparc64/qp_util.c: ... here.
16099 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
16100 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
16101 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
16102 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
16103 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
16104 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
16106 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
16107 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
16108 (sparc32-quad-routines): New variable. Moved from ....
16109 [$(subdir) = soft-fp] (sysdep_routines): Add
16110 $(sparc32-quad-routines). Moved from ....
16111 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
16112 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
16114 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
16115 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
16116 * sysdeps/sparc/sparc32/q_add.c: ... here.
16117 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
16118 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
16119 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
16120 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
16121 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
16122 * sysdeps/sparc/sparc32/q_div.c: ... here.
16123 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
16124 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
16125 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
16126 * sysdeps/sparc/sparc32/q_feq.c: ... here.
16127 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
16128 * sysdeps/sparc/sparc32/q_fge.c: ... here.
16129 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
16130 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
16131 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
16132 * sysdeps/sparc/sparc32/q_fle.c: ... here.
16133 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
16134 * sysdeps/sparc/sparc32/q_flt.c: ... here.
16135 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
16136 * sysdeps/sparc/sparc32/q_fne.c: ... here.
16137 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
16138 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
16139 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
16140 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
16141 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
16142 * sysdeps/sparc/sparc32/q_mul.c: ... here.
16143 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
16144 * sysdeps/sparc/sparc32/q_neg.c: ... here.
16145 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
16146 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
16147 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
16148 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
16149 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
16150 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
16151 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
16152 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
16153 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
16154 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
16155 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
16156 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
16157 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
16158 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
16159 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
16160 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
16161 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
16162 * sysdeps/sparc/sparc32/q_sub.c: ... here.
16163 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
16164 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
16165 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
16166 * sysdeps/sparc/sparc32/q_util.c: ... here.
16167 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
16168 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
16169 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
16170 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
16172 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16173 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16175 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
16176 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
16177 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
16178 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
16180 2018-05-24 Joseph Myers <joseph@codesourcery.com>
16182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
16184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16186 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
16187 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
16189 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16192 * math/math.h [C++] (iseqsig): Fix parameter type for the long
16195 2018-05-23 Joseph Myers <joseph@codesourcery.com>
16197 * sysdeps/sh/Implies: Remove sh/soft-fp.
16198 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
16199 * sysdeps/sh/sfp-machine.h: ... here.
16201 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
16203 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16204 (__mempcpy_erms): Skip zero length.
16205 (__memmove_erms): Likewise.
16206 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16207 (__memset_erms): Likewise.
16209 2018-05-23 Joseph Myers <joseph@codesourcery.com>
16211 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
16212 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
16213 Add functions moved from ....
16214 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
16215 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
16216 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
16218 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
16219 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
16220 * sysdeps/alpha/e_sqrtl.c: ... here.
16221 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
16222 * sysdeps/alpha/local-soft-fp.h: ... here.
16223 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
16224 * sysdeps/alpha/ots_add.c: ... here.
16225 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
16226 * sysdeps/alpha/ots_cmp.c: ... here.
16227 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
16228 * sysdeps/alpha/ots_cmpe.c: ... here.
16229 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
16230 * sysdeps/alpha/ots_cvtqux.c: ... here.
16231 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
16232 * sysdeps/alpha/ots_cvtqx.c: ... here.
16233 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
16234 * sysdeps/alpha/ots_cvttx.c: ... here.
16235 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
16236 * sysdeps/alpha/ots_cvtxq.c: ... here.
16237 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
16238 * sysdeps/alpha/ots_cvtxt.c: ... here.
16239 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
16240 * sysdeps/alpha/ots_div.c: ... here.
16241 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
16242 * sysdeps/alpha/ots_mul.c: ... here.
16243 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
16244 * sysdeps/alpha/ots_nintxq.c: ... here.
16245 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
16246 * sysdeps/alpha/ots_sub.c: ... here.
16247 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
16248 * sysdeps/alpha/sfp-machine.h: ... here.
16250 2018-05-23 Florian Weimer <fweimer@redhat.com>
16258 Switch to extern IDNA implementation (libidn2).
16259 * libidn: Remove subdirectory.
16260 * LICENSES: Do not mention licensing conditions for the removed
16262 * config.h.in (HAVE_LIBIDN): Remove.
16263 * include/dlfcn.h (__libc_dlopen): Update comment.
16264 * include/idna.h: Remove file.
16265 * inet/Makefile (routines): Add idna.
16266 (tests-static, tests-internal): Add tst-idna_name_classify.
16267 (LOCALES): Generate locales for tests.
16268 (tst-idna_name_classify.out): Depend on generated locales.
16269 * inet/idna_name_classify.c: New file.
16270 * inet/tst-idna_name_classify.c: Likewise.
16271 * inet/net-internal.h (__idna_to_dns_encoding)
16272 (__idna_from_dns_encoding): Declare.
16273 * inet/net-internal.h (enum idna_name_classification): Define.
16274 (__idna_name_classify): Declare.
16275 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
16276 __idna_from_dns_encoding.
16277 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
16278 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
16279 name as a fallback in case of encoding errors.
16280 (getnameinfo): Use DEPRECATED_NI_IDN.
16281 * inet/idna.c: New file.
16282 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
16283 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
16284 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
16285 (modules-names): Add tst-no-libidn2.
16286 (extra-test-objs): Add tst-no-libidn2.os.
16287 (LDFLAGS-tst-no-libidn2.so): Set soname.
16288 (LOCALES): Set, and generate locales.
16289 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
16290 (tst-resolv-ai_idn-latin1): Likewise.
16291 (tst-resolv-ai_idn-nolibidn2): Likewise.
16292 (tst-resolv-ai_idn.out): Depend on locales.
16293 (tst-resolv-ai_idn-latin1.out): Depend on locales.
16294 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
16296 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
16297 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
16298 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
16299 * resolv/tst-resolv-ai_idn.c: New file.
16300 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
16301 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
16302 * resolv/tst-no-libidn2.c: Likewise.
16303 * support/support_format_addrinfo.c (format_ai_flags): Do not
16304 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
16305 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
16306 (gaih_inet): Call __idna_to_dns_encoding and
16307 __idna_from_dns_encoding, and use the original (punycode) name if
16308 __idna_from_dns_encoding fails due to an encoding error.
16309 (getaddrinfo): Use DEPRECATED_AI_IDN.
16310 * sysdeps/unix/inet/Subdirs (libidn): Remove.
16311 * sysdeps/unix/inet/configure: Remove file.
16312 * sysdeps/unix/inet/configure.ac: Likewise.
16314 2018-05-23 Florian Weimer <fweimer@redhat.com>
16316 Implement allocate_once.
16317 * include/allocate_once.h: New file.
16318 * misc/allocate_once.c: Likewise.
16319 * misc/tst-allocate_once.c: Likewise.
16320 * misc/Makefile (routines): Add allocate_once.
16321 (tests-internal): Add tst-allocate_once.
16322 (generated): Add tst-allocate_once.mtrace,
16323 tst-allocate_once-mem.out.
16324 (tests-special): Add tst-allocate_once-mem.out.
16325 (tst-allocate_once-ENV): Set MALLOC_TRACE.
16326 (tst-allocate_once-mem.out): Call mtrace.
16327 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
16329 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
16332 * string/test-memcpy.c (do_test1): New function.
16333 (test_main): Call it.
16335 2018-05-23 Andreas Schwab <schwab@suse.de>
16339 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
16340 (L(preloop_large)): Save initial destination pointer in %r11 and
16341 use it instead of %rax after the loop.
16342 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
16344 2018-05-22 Joseph Myers <joseph@codesourcery.com>
16346 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
16347 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
16348 -I../soft-fp. Moved from ....
16349 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
16350 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
16351 * sysdeps/aarch64/e_sqrtl.c: ... here.
16352 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
16353 * sysdeps/aarch64/sfp-machine.h: ... here.
16355 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
16356 -Wmaybe-uninitialized around access to fq[0].
16357 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16361 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
16362 aliases for non-libc case of versioned symbols.
16363 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
16364 (llseek): Define as compat symbol if
16365 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
16367 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
16368 Make into a compat symbol, disabled for minimum symbol version
16369 GLIBC_2.28 and later.
16370 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
16372 2018-05-22 Florian Weimer <fweimer@redhat.com>
16374 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
16375 not add -mpreferred-stack-boundary=4.
16376 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
16377 (stack-align-test-flags): Likewise.
16378 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
16380 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
16381 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
16382 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
16383 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
16384 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
16385 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
16386 (CFLAGS-tst-align2.c): Likewise.
16388 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
16390 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
16391 (index_arch_Prefer_FSRM): Likewise.
16392 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
16393 Also check Prefer_FSRM.
16394 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
16395 Also return OPTIMIZE (erms) for Prefer_FSRM.
16397 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
16399 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
16400 (index_cpu_FSRM): Likewise.
16401 (reg_FSRM): Likewise.
16403 2018-05-18 Joseph Myers <joseph@codesourcery.com>
16405 * math/gen-tgmath-tests.py: Import sys.
16406 (Tests.__init__): Initialize macros_seen.
16407 (Tests.add_tests): Add macro to macros_seen. Only generate tests
16408 if requested to do so for this macro.
16409 (Tests.add_all_tests): Take argument for macro for which to
16411 (Tests.check_macro_list): New function.
16412 (main): Handle check-list argument and argument specifying macro
16413 for which to generate tests.
16414 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
16415 [PYTHON] (tgmath3-macro-tests): Likewise.
16416 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
16417 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
16418 not test-tgmath3.c.
16419 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
16420 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
16422 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
16423 [PYTHON] ($(foreach
16424 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
16426 [PYTHON] (tests-special): Add
16427 $(objpfx)test-tgmath3-macro-list.out.
16428 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
16430 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
16431 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
16435 * time/tzset.c (SECSPERDAY): Cast to time_t.
16436 * time/tst-y2039.c: New file.
16437 * time/Makefile (tests): Add tst-y2039.
16439 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16441 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16442 (PREFETCH_ONE_SET): Remove duplicate line.
16444 2018-05-17 Florian Weimer <fweimer@redhat.com>
16446 * sysdeps/generic/math-type-macros-double.h: Include
16447 <math-nan-payload-double.h> after <libm-alias-double.h>.
16448 * sysdeps/generic/math-type-macros-float.h: Include
16449 <math-nan-payload-float.h> after <libm-alias-float.h>.
16450 * sysdeps/generic/math-type-macros-float128.h: Include
16451 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
16452 * sysdeps/generic/math-type-macros-ldouble.h: Include
16453 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
16455 2018-05-17 Andreas Schwab <schwab@suse.de>
16457 * resolv/res_send.c (__res_context_send): Don't set errno when
16458 returing error after malloc failure.
16460 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
16462 * nptl/allocatestack.c (allocate_stack): Remove the
16463 !__ASSUME_PRIVATE_FUTEX paths.
16464 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
16465 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
16467 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
16468 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
16469 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
16470 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
16471 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
16472 !__ASSUME_PRIVATE_FUTEX path.
16473 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
16474 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
16475 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
16476 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
16477 !__ASSUME_PRIVATE_FUTEX macros.
16478 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
16479 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
16480 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
16481 * sysdeps/unix/sysv/linux/kernel-features.h
16482 (__ASSUME_PRIVATE_FUTEX): Removed.
16484 2018-05-17 Joseph Myers <joseph@codesourcery.com>
16486 * math/Makefile (libm-narrow-fns): Add div.
16487 (libm-test-funcs-narrow): Likewise.
16488 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
16489 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
16490 * math/gen-auto-libm-tests.c (test_functions): Add div.
16491 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
16492 (NARROW_DIV_ROUND_TO_ODD): Likewise.
16493 (NARROW_DIV_TRIVIAL): Likewise.
16494 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
16496 (__ddivl): Likewise.
16497 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
16499 (CFLAGS-nldbl-ddiv.c): New variable.
16500 (CFLAGS-nldbl-fdiv.c): Likewise.
16501 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16503 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
16505 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
16506 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
16507 * math/auto-libm-test-in: Add tests of div.
16508 * math/auto-libm-test-out-narrow-div: New generated file.
16509 * math/libm-test-narrow-div.inc: New file.
16510 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
16511 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
16512 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
16513 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
16514 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
16515 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
16516 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
16517 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
16518 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
16519 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
16520 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
16521 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
16522 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
16523 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
16524 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
16525 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
16526 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
16527 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
16528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16529 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16530 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16531 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16532 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16533 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16534 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16535 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16536 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16537 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16538 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16539 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16540 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16541 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16546 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16547 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16548 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16549 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16550 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16551 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16552 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16553 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16555 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16558 * nscd/nscd-client.h (sendfileall): Remove prototype.
16559 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
16560 (handle_request): Use writeall instead of sendfileall.
16561 * nscd/aicache.c (addhstaiX): Likewise.
16562 * nscd/grpcache.c (cache_addgr): Likewise.
16563 * nscd/hstcache.c (cache_addhst): Likewise.
16564 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16565 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
16566 * nscd/pwdcache.c (cache_addpw): Likewise.
16567 * nscd/servicescache.c (cache_addserv): Likewise.
16568 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
16569 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
16570 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
16573 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
16575 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
16576 Include <string/strncat.c>.
16577 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
16579 (__GI___strncat): New hidden alias.
16581 2018-05-16 Joseph Myers <joseph@codesourcery.com>
16583 * sysdeps/mips/mips32/libm-test-ulps: Update.
16584 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16586 2018-05-16 Florian Weimer <fweimer@redhat.com>
16588 * support/Makefile (libsupport-routines): Add support_quote_blob,
16589 support_test_compare_blob.
16590 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
16591 * support/check.h (TEST_COMPARE_BLOB): Define.
16592 (support_test_compare_blob): Declare.
16593 * support/support.h (support_quote_blob): Declare.
16594 * support/support_quote_blob.c: New file.
16595 * support/support_test_compare_blob.c: Likewise.
16596 * support/tst-support_quote_blob.c: Likewise.
16597 * support/tst-test_compare_blob.c: Likewise.
16599 2018-05-16 Florian Weimer <fweimer@redhat.com>
16601 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
16602 of <strtod_nan_double.h>.
16603 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
16604 instead of SET_MANTISSA.
16605 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
16606 of include <strtod_nan_float.h>.
16607 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
16608 instead of <strtod_nan_ldouble.h>.
16609 * stdlib/strtod_nan_double.h: Move to ...
16610 * sysdeps/generic/math-nan-payload-double.h: ... here.
16611 (FLOAT): Remove definition.
16612 (SET_MANTISSA): Rename to ...
16613 (SET_NAN_PAYLOAD): ... this.
16614 * stdlib/strtod_nan_float.h: Move to ...
16615 * sysdeps/generic/math-nan-payload-float.h: ... here.
16616 (FLOAT): Remove definition.
16617 (SET_MANTISSA): Rename to ...
16618 (SET_NAN_PAYLOAD): ... this.
16619 * sysdeps/generic/math-type-macros-double.h: Include
16620 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
16621 instead of <math-svid-compat.h>.
16622 * sysdeps/generic/math-type-macros-float.h: Include
16623 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
16624 instead of <math-svid-compat.h>.
16625 * sysdeps/generic/math-type-macros-float128.h: Include
16626 <math-nan-payload-float128.h>.
16627 * sysdeps/generic/math-type-macros-ldouble.h: Include
16628 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
16629 instead of <math-svid-compat.h>.
16630 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
16631 check for definition.
16632 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
16633 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
16634 Include <ieee754_float128.h>.
16635 (FLOAT): Remove definition.
16636 (SET_MANTISSA): Rename to ...
16637 (SET_NAN_PAYLOAD): ... this.
16638 * sysdeps/ieee754/float128/strtof128_nan.c: Include
16639 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
16640 Do not include <float128_private.h>.
16641 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
16642 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
16643 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
16644 (FLOAT): Remove definition.
16645 (SET_MANTISSA): Rename to ...
16646 (SET_NAN_PAYLOAD): ... this.
16647 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
16648 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
16649 (FLOAT): Remove definition.
16650 (SET_MANTISSA): Rename to ...
16651 (SET_NAN_PAYLOAD): ... this.
16652 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
16653 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
16654 (FLOAT): Remove definition.
16655 (SET_MANTISSA): Rename to ...
16656 (SET_NAN_PAYLOAD): ... this.
16657 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
16658 of "../stdlib/strtod_nan_double.h".
16659 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
16660 of "../stdlib/strtod_nan_float.h".
16661 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
16662 instead of "../stdlib/strtod_nan_ldouble.h".
16663 * manual/arith.texi (Parsing of Floats): Adjust comment.
16665 2018-05-16 Joseph Myers <joseph@codesourcery.com>
16667 * math/Makefile (libm-narrow-fns): Add mul.
16668 (libm-test-funcs-narrow): Likewise.
16669 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
16670 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
16671 * math/gen-auto-libm-tests.c (test_functions): Add mul.
16672 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
16673 (NARROW_MUL_ROUND_TO_ODD): Likewise.
16674 (NARROW_MUL_TRIVIAL): Likewise.
16675 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
16676 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
16678 (__dmull): Likewise.
16679 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
16681 (CFLAGS-nldbl-dmul.c): New variable.
16682 (CFLAGS-nldbl-fmul.c): Likewise.
16683 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16685 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
16687 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
16688 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
16689 * math/auto-libm-test-in: Add tests of mul.
16690 * math/auto-libm-test-out-narrow-mul: New generated file.
16691 * math/libm-test-narrow-mul.inc: New file.
16692 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
16693 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
16694 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
16695 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
16696 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
16697 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
16698 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
16699 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
16700 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
16701 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
16702 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
16703 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
16704 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
16705 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
16706 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
16707 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
16708 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
16709 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
16710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16711 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16712 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16713 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16714 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16715 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16716 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16717 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16718 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16719 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16720 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16721 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16722 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16723 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16728 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16729 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16730 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16731 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16732 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16733 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16734 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16735 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16737 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
16739 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
16740 with *%eax in call.
16742 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
16744 * sysdeps/i386/ldsodefs.h: Removed.
16745 * sysdeps/x86_64/ldsodefs.h: Moved to ...
16746 * sysdeps/x86/ldsodefs.h: This.
16747 (La_i86_regs): New.
16748 (La_i86_retval): Likewise.
16749 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
16750 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
16752 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
16754 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
16757 2018-05-13 Alan Modra <amodra@gmail.com>
16759 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
16760 R_PARISC_TLS_DTPOFF32 reloc addend.
16762 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16764 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
16765 * math/math.h: Restrict the prototype definition for the functions
16766 issignaling(_Float128) and iszero(_Float128); and template
16767 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
16768 __HAVE_FLOAT128_UNLIKE_LDBL.
16769 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
16770 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
16771 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
16772 __f128() constants; define the type _Float128 as long double;
16773 and reuse long double in __CFLOAT128.
16775 2018-05-11 Joseph Myers <joseph@codesourcery.com>
16777 * sysdeps/generic/math_private.h: Do not include
16779 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
16781 * math/fromfp.h: Include <math-barriers.h>.
16782 * math/math-narrow.h: Likewise.
16783 * math/s_nextafter.c: Likewise.
16784 * math/s_nexttowardf.c: Likewise.
16785 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
16786 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
16787 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
16788 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
16789 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16790 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16791 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16792 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16793 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16794 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16795 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16796 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16797 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16798 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16799 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
16800 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
16801 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16802 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16803 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16804 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16805 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16806 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16807 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16808 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16809 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16810 * sysdeps/ieee754/k_standardl.c: Likewise.
16811 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16812 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16813 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16814 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
16815 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16816 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16817 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16818 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16819 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16820 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
16821 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16822 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16823 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16824 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16825 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16826 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16827 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
16828 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
16829 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16830 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16831 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
16832 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
16834 2018-05-11 Florian Weimer <fweimer@redhat.com>
16836 Use 64-bit epoch values in the time zone file parser.
16837 * include/time.h (internal_time_t): Define.
16838 (__tzfile_compute): Use it.
16839 * time/tzfile.c (struct leap): Use internal_time_t for epoch
16841 (transitions): Switch to internal_time_t.
16842 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
16844 (__tzfile_compute): Use internal_time_t for timer argument. Check
16845 for truncation before calling __offtime.
16847 2018-05-11 Florian Weimer <fweimer@redhat.com>
16850 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
16851 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
16853 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
16854 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
16855 export without --enable-obsolete-rpc.
16856 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
16857 symbol. This should not have been exported, ever.
16859 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
16862 * localedata/locales/gd_GB (abmon): Fix typo in May:
16863 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
16865 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
16867 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
16868 Use multiple registers to copy data in loop tail.
16870 * sysdeps/aarch64/multiarch/memmove_falkor.S
16871 (__memmove_falkor): Use multiple registers to move data in
16874 2018-05-10 Joseph Myers <joseph@codesourcery.com>
16876 * math/math-underflow.h: New file.
16877 * sysdeps/generic/math_private.h: Do not include <float.h>.
16878 (fabs_tg): Remove macro. Moved to math-underflow.h.
16879 (min_of_type_f): Likewise.
16880 (min_of_type_): Likewise.
16881 (min_of_type_l): Likewise.
16882 (min_of_type_f128): Likewise.
16883 (min_of_type): Likewise.
16884 (math_check_force_underflow): Likewise.
16885 (math_check_force_underflow_nonneg): Likewise.
16886 (math_check_force_underflow_complex): Likewise.
16887 * math/e_exp2_template.c: Include <math-underflow.h>.
16888 * math/k_casinh_template.c: Likewise.
16889 * math/s_catan_template.c: Likewise.
16890 * math/s_catanh_template.c: Likewise.
16891 * math/s_ccosh_template.c: Likewise.
16892 * math/s_cexp_template.c: Likewise.
16893 * math/s_clog10_template.c: Likewise.
16894 * math/s_clog_template.c: Likewise.
16895 * math/s_csin_template.c: Likewise.
16896 * math/s_csinh_template.c: Likewise.
16897 * math/s_csqrt_template.c: Likewise.
16898 * math/s_ctan_template.c: Likewise.
16899 * math/s_ctanh_template.c: Likewise.
16900 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16901 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16902 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16903 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16904 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16905 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16906 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16907 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16908 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16909 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16910 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16911 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16912 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16913 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16914 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16915 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16916 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16917 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16918 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16919 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16920 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
16921 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16922 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16923 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16924 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16925 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16926 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16927 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16928 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16929 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16930 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16931 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16932 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16933 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16934 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16935 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16936 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16937 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16938 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16939 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16940 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16941 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16942 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16943 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16944 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16945 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16946 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16947 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16948 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16949 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16950 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16951 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
16952 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16953 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
16954 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16955 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16956 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16957 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16958 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16959 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16960 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16961 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16962 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16963 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
16964 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16965 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16966 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16967 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
16968 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16969 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16970 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16971 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16972 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16973 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
16974 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16975 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16976 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16977 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16978 * sysdeps/x86/fpu/powl_helper.c: Likewise.
16979 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
16980 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
16981 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
16982 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
16983 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
16985 2018-05-09 Joseph Myers <joseph@codesourcery.com>
16987 * sysdeps/generic/math-barriers.h: New file.
16988 * sysdeps/generic/math_private.h [!math_opt_barrier]
16989 (math_opt_barrier): Move to math-barriers.h.
16990 [!math_opt_barrier] (math_force_eval): Likewise.
16991 * sysdeps/aarch64/fpu/math-barriers.h: New file.
16992 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
16994 (math_force_eval): Likewise.
16995 * sysdeps/alpha/fpu/math-barriers.h: New file.
16996 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
16998 (math_force_eval): Likewise.
16999 * sysdeps/x86/fpu/math-barriers.h: New file.
17000 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
17002 (math_force_eval): Likewise.
17003 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
17004 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
17005 multiple-include guard for rename.
17006 * sysdeps/powerpc/fpu/math-barriers.h: New file.
17007 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
17009 (math_force_eval): Likewise.
17011 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
17015 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
17017 * stdlib/Makefile (test-bz22786): New test.
17018 * stdlib/test-bz22786.c: New test.
17020 2018-05-09 Joseph Myers <joseph@codesourcery.com>
17022 * include/math-narrow-eval.h: New file. Contents moved from ....
17023 * sysdeps/generic/math_private.h: ... here.
17024 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
17025 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
17026 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
17027 * stdlib/strtod_l.c: Likewise.
17028 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17029 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
17030 * sysdeps/i386/fpu/s_fdim.c: Likewise.
17031 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17032 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17033 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17034 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17035 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17036 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17037 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17038 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17039 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
17040 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17041 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17042 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17043 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17044 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17045 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17046 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17047 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17048 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17049 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17050 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17051 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17052 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
17053 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17054 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17055 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17056 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17058 2018-05-08 Andreas Schwab <schwab@suse.de>
17060 * sysdeps/nptl/internaltypes.h: Fix comment.
17062 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
17064 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17065 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
17068 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
17070 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
17071 of I into loop header.
17072 * benchtests/bench-memmove-walk.c
17073 (test_main): Likewise.
17075 2018-05-07 Alexandre Oliva <oliva@gnu.org>
17078 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
17079 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
17081 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17084 * elf/dl-load.c (open_verify): Fix stack overflow.
17085 * elf/Makefile (tst-big-note): New test.
17086 * elf/tst-big-note-lib.S: New.
17087 * elf/tst-big-note.c: New.
17089 2018-05-04 Joseph Myers <joseph@codesourcery.com>
17091 * scripts/abilist.awk: Ignore absolute symbols.
17092 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
17093 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
17094 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
17095 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
17096 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
17097 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
17098 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17099 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
17100 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
17101 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
17102 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
17103 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
17104 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
17105 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
17106 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
17107 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
17108 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
17109 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
17110 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17111 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
17112 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
17113 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
17114 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
17115 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
17116 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
17117 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
17118 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
17119 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
17120 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17121 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
17122 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
17123 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17124 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
17125 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
17126 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
17127 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
17128 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
17129 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
17130 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
17131 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
17132 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
17133 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17134 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
17135 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
17136 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17137 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
17138 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
17139 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
17140 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
17141 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
17142 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
17143 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
17144 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
17145 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
17146 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17147 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
17148 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
17149 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17150 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
17151 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
17152 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
17153 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
17154 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
17155 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
17156 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
17157 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
17158 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
17159 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17160 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
17161 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
17162 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17163 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
17164 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
17165 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
17166 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
17167 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
17168 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
17169 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
17170 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
17171 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
17172 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17173 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
17174 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
17175 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17176 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
17177 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
17178 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
17179 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
17180 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
17181 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
17182 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
17183 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
17185 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
17186 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17187 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
17188 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
17189 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17190 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
17191 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
17192 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
17193 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
17194 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
17195 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
17196 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
17197 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
17199 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
17200 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17201 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
17202 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
17203 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17204 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
17205 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
17206 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
17207 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
17208 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
17209 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
17210 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
17211 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
17212 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
17213 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17214 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
17215 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
17216 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17217 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
17218 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
17219 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
17220 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
17221 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
17222 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
17223 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17224 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
17225 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
17227 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
17228 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
17229 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
17230 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
17231 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17232 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
17233 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
17234 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
17235 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
17236 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
17237 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
17238 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
17239 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
17240 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
17241 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
17242 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
17243 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
17244 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
17245 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
17246 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
17248 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
17249 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
17250 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
17251 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17252 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
17253 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
17254 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
17255 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
17256 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
17257 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
17258 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17259 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
17260 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
17261 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17262 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
17263 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
17264 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
17265 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
17266 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17267 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
17268 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
17269 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17270 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
17271 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
17272 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
17273 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
17274 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
17275 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
17276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
17277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
17279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
17281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
17282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
17283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
17284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
17285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
17287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
17289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
17290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
17292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
17293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
17298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
17299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
17301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
17303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
17305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
17306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
17307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
17310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
17311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
17312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
17313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
17317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
17318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
17320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
17322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
17324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
17326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
17327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
17328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
17330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
17332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
17334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
17335 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
17336 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
17338 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
17339 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
17340 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
17341 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
17342 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17343 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
17344 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
17345 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
17346 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
17347 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
17348 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
17349 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
17350 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
17351 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
17353 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17354 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
17355 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
17356 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17357 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
17358 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
17359 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
17360 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
17361 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
17362 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
17363 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
17364 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
17366 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17367 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
17368 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
17369 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17370 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
17371 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
17372 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
17373 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
17374 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
17375 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
17376 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
17377 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
17378 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
17379 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17380 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
17381 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
17382 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17383 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
17384 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
17385 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
17386 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
17387 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
17388 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
17389 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
17390 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
17392 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
17393 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17394 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
17395 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
17396 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17397 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
17398 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
17399 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
17400 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
17401 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
17402 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
17403 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
17404 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
17406 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
17407 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17408 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
17409 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
17410 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17411 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
17412 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
17413 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
17414 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
17415 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
17416 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
17417 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
17418 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
17419 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
17420 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17421 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
17422 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
17423 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17424 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
17425 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
17426 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
17427 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
17428 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
17429 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
17430 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
17431 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
17432 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
17433 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
17434 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17435 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
17436 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
17437 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17438 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
17439 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
17440 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
17441 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
17442 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
17443 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
17445 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
17448 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
17449 Use atomic_load_acquire to load __tid.
17451 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
17453 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
17454 Restore the pointer into %rdx, after syscall and use %rdx,
17455 instead of %rsi, to restore context.
17457 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
17459 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
17460 Pop the pointer into %rdx after syscall and use %rdx, instead
17461 of %rsi, to restore context.
17463 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
17465 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
17466 handlers after setjmp.
17467 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
17469 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
17470 <libc-pointer-arith.h>.
17471 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
17472 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
17473 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
17474 _JUMP_BUF_SIGSET_BITS_PER_WORD.
17475 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
17476 * sysdeps/x86/__longjmp_cancel.S: New file.
17477 * sysdeps/x86/longjmp.c: Likewise.
17478 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
17480 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17482 * NEWS: Add ustat.h deprecation entry.
17483 * bits/ustat.h: Remove file.
17484 * misc/sys/ustat.h: Likewise.
17485 * misc/ustat.h: Likewise.
17486 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
17487 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
17488 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
17489 compatibility mode.
17490 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
17491 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
17492 generic Linux implementation.
17494 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17496 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
17497 * math/w_expl_compat.c: Likewise.
17498 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
17500 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
17502 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
17504 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17506 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
17507 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
17508 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
17510 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
17511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17512 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17513 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
17514 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
17517 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17519 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
17521 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
17522 * math/w_asin_template.c: Likewise.
17523 * math/w_atanh_template.c: Likewise.
17525 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17527 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
17528 to powerpc/powerpc64/be for big-endian.
17529 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
17532 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
17533 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
17534 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
17535 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
17536 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17537 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
17538 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
17539 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
17540 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
17541 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
17542 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
17543 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
17544 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
17545 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
17546 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
17547 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
17548 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
17549 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
17550 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
17551 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
17552 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
17553 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
17554 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
17555 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
17556 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
17557 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
17558 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
17559 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
17560 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
17561 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
17562 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
17563 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
17565 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
17566 adjusted to imply powerpc64 and older processors on powerpc64/be.
17567 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
17568 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
17569 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
17570 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
17571 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
17572 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
17573 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
17574 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
17575 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
17576 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
17577 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
17578 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
17579 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
17580 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
17581 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
17582 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
17583 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
17584 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
17585 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
17586 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
17587 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
17588 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
17589 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
17590 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
17591 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
17592 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
17593 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
17594 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
17595 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
17596 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
17597 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
17599 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
17600 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
17601 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
17602 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
17604 * sysdeps/powerpc/powerpc64/be/Implies: New file.
17605 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
17606 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
17607 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
17609 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
17610 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
17611 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
17612 * sysdeps/powerpc/powerpc64le/configure: Likewise.
17613 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
17614 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
17615 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
17616 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
17617 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
17618 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
17619 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
17621 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
17622 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
17623 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
17624 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
17625 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
17626 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
17627 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
17628 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
17629 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
17630 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
17631 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
17633 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
17634 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
17635 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
17636 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
17637 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
17638 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
17639 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
17640 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
17641 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
17642 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
17643 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
17644 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
17646 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
17647 and adjusted to imply olders processors.
17648 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
17649 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
17650 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
17651 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
17652 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
17653 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
17654 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
17655 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
17656 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
17657 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
17658 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
17660 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
17662 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
17663 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
17665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
17667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
17668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
17670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
17672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
17674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
17676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
17677 powerpc64 and adjusted.
17678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
17679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
17680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
17683 2018-04-27 Joseph Myers <joseph@codesourcery.com>
17685 * sysdeps/tile: Remove.
17686 * sysdeps/unix/sysv/linux/tile: Likewise.
17687 * README (tilegx-*-linux-gnu): Remove from list of supported
17689 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
17690 contribution of support for generic Linux kernel syscall
17692 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
17693 tilegx configurations.
17694 (Config.install_linux_headers): Do not handle tile.
17695 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
17697 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
17698 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
17699 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
17700 conditional undefine and redefine.
17701 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
17703 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
17704 conditional undefine and redefine.
17706 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
17708 * signal/tst-sigaction.c: New file to test BZ #23069.
17709 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
17711 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17714 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
17715 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
17716 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
17717 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
17719 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17721 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
17722 _DIRENT_MATCHES_DIRENT64 is not defined.
17723 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
17724 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
17726 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
17727 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
17729 2018-04-25 Joseph Myers <joseph@codesourcery.com>
17731 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
17732 version to GCC 8 branch.
17734 2018-04-24 Joseph Myers <joseph@codesourcery.com>
17736 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
17737 (check_no_hidden): Use type of original function when declaring
17740 * sysdeps/unix/sysv/linux/sys/ptrace.h
17741 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
17742 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
17743 (struct __ptrace_seccomp_metadata): New type.
17744 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
17745 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17746 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
17747 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17748 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
17749 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17750 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
17751 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17752 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
17753 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17754 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
17755 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17756 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
17757 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17758 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
17759 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17761 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17763 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
17765 * dirent/versionsort.c (versionsort): Likewise.
17766 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
17767 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
17768 * dirent/versionsort64.c (versionsort64): Likewise.
17769 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
17770 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
17771 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
17772 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
17773 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
17774 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
17775 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
17776 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
17777 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
17778 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
17779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
17780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
17781 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
17782 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
17784 2018-04-23 Joseph Myers <joseph@codesourcery.com>
17786 * elf/elf.h (NT_PPC_PKEY): New macro.
17788 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
17791 * localedata/locales/hr_HR: fix thousands_sep and
17794 2018-04-20 Joseph Myers <joseph@codesourcery.com>
17796 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
17797 (XTABS): Define to TAB3.
17799 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17801 * sysdeps/hppa/fpu/libm-test-ulps: Update.
17803 * dirent/scandir-tail-common.c: New file.
17804 * dirent/scandir-tail.c: Use scandir-tail-common.c.
17805 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
17806 * dirent/scandir.c: Use scandir-tail-common.c.
17807 * dirent/scandirat.c: Likewise.
17808 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
17809 * dirent/scandir64.c (scandir64): Always build and alias to scandir
17810 if _DIRENT_MATCHES_DIRENT64 is defined.
17811 * dirent/scandirat64.c (scandirat64): Likewise.
17812 * include/dirent.h (__scandir_tail): Only define iff
17813 _DIRENT_MATCHES_DIRENT64 is not defined.
17814 (__scandir64_tail): Define regardless.
17815 (__scandirat, scandirat64): Remove libc_hidden_proto.
17816 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
17817 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
17818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
17819 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
17820 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
17821 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
17822 * sysdeps/unix/sysv/linux/scandir64.c: New file.
17824 2018-04-20 Joseph Myers <joseph@codesourcery.com>
17826 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
17828 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
17830 (_dl_aarch64_cap_flags): Add asimdfhm.
17832 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
17834 * sysdeps/nios2/libm-test-ulps: Update.
17836 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17838 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
17839 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
17841 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
17843 (_DIRENT_MATCHES_DIRENT64): Undef
17844 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
17845 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
17846 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
17847 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
17848 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
17849 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
17850 use getdents64 syscalls as base.
17851 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
17852 symbol if required.
17853 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
17854 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
17855 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
17856 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
17857 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
17858 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
17859 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
17860 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
17861 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17862 (__get_clockfreq_via_proc_openprom): Use __getdents64.
17863 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
17865 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
17867 * scripts/test_printers_common.py (init_test): Disable lock elision.
17869 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
17871 * math/test-tgmath.c (count_double, count_float,
17872 count_ldouble, count_cdouble, count_cfloat,
17873 count_cldouble): Use volatile int.
17875 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
17877 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
17878 (conformtest-xfail-conds): Add i386-gnu.
17879 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
17881 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
17882 ipc_perm.cuid, ipc_perm.cgid): Likewise.
17883 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
17884 msqid_ds.msg_lrpid): Likewise.
17885 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
17887 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
17888 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
17889 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
17890 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
17892 (struct statvfs64): Likewise.
17893 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
17895 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
17896 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
17897 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
17898 instead of wait_queue.
17899 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
17900 instead of vm_area_struct.
17901 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
17902 struct sched_param definition to it.
17903 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
17904 * bits/types/struct_sched_param.h: New file.
17905 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
17906 <bits/types/struct_sched_param.h> instead of <sched.h>.
17907 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
17908 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
17909 generic version but include <bits/pthreadtypes.h> to make struct
17910 sigevent's sigev_notify_attributes field a pthread_attr_t*.
17911 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
17913 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
17914 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
17915 [__USE_XOPEN] (OFDEL): New macro.
17916 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
17917 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
17918 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
17920 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
17921 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
17922 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
17924 * sysdeps/i386/sys/ucontext.h: Likewise.
17925 * sysdeps/m68k/sys/ucontext.h: Likewise.
17926 * sysdeps/mips/sys/ucontext.h: Likewise.
17927 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
17928 * sysdeps/mach/hurd/i386/Makefile
17929 (test-xfail-POSIX/fcntl.h/conform): Add.
17930 (test-xfail-POSIX/signal.h/conform): Add.
17931 (test-xfail-POSIX/semaphore.h/conform): Add.
17932 (test-xfail-POSIX/regex.h/conform): Add.
17933 (test-xfail-POSIX/aio.h/conform): Add.
17934 (test-xfail-POSIX/mqueue.h/conform): Add.
17935 (test-xfail-POSIX/sys/types.h/conform): Add.
17936 (test-xfail-UNIX98/fcntl.h/conform): Add.
17937 (test-xfail-UNIX98/netdb.h/conform): Add.
17938 (test-xfail-UNIX98/signal.h/conform): Add.
17939 (test-xfail-UNIX98/semaphore.h/conform): Add.
17940 (test-xfail-UNIX98/regex.h/conform): Add.
17941 (test-xfail-UNIX98/aio.h/conform): Add.
17942 (test-xfail-UNIX98/ftw.h/conform): Add.
17943 (test-xfail-UNIX98/mqueue.h/conform): Add.
17944 (test-xfail-UNIX98/netinet/in.h/conform): Add.
17945 (test-xfail-UNIX98/sys/wait.h/conform): Add.
17946 (test-xfail-UNIX98/sys/sem.h/conform): Add.
17947 (test-xfail-UNIX98/sys/uio.h/conform): Add.
17948 (test-xfail-UNIX98/sys/socket.h/conform): Add.
17949 (test-xfail-UNIX98/sys/types.h/conform): Add.
17950 (test-xfail-UNIX98/stdlib.h/conform): Add.
17951 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
17952 (test-xfail-POSIX2008/fcntl.h/conform): Add.
17953 (test-xfail-POSIX2008/netdb.h/conform): Add.
17954 (test-xfail-POSIX2008/signal.h/conform): Add.
17955 (test-xfail-POSIX2008/semaphore.h/conform): Add.
17956 (test-xfail-POSIX2008/regex.h/conform): Add.
17957 (test-xfail-POSIX2008/aio.h/conform): Add.
17958 (test-xfail-POSIX2008/mqueue.h/conform): Add.
17959 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
17960 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
17961 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
17962 (test-xfail-POSIX2008/sys/types.h/conform): Add.
17963 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
17964 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
17965 (test-xfail-XOPEN2K/netdb.h/conform): Add.
17966 (test-xfail-XOPEN2K/signal.h/conform): Add.
17967 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
17968 (test-xfail-XOPEN2K/regex.h/conform): Add.
17969 (test-xfail-XOPEN2K/aio.h/conform): Add.
17970 (test-xfail-XOPEN2K/ftw.h/conform): Add.
17971 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
17972 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
17973 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
17974 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
17975 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
17976 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
17977 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
17978 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
17979 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
17980 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
17981 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
17982 (test-xfail-XOPEN2K8/signal.h/conform): Add.
17983 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
17984 (test-xfail-XOPEN2K8/regex.h/conform): Add.
17985 (test-xfail-XOPEN2K8/aio.h/conform): Add.
17986 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
17987 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
17988 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
17989 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
17990 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
17991 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
17992 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
17993 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
17994 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
17995 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
17996 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
17998 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
17999 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
18001 2018-04-18 Joseph Myers <joseph@codesourcery.com>
18003 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18004 --enable-obsolete for powerpc-linux-gnuspe.
18006 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
18008 * conform/data/sys/un.h-data: Allow sun_ prefix.
18009 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
18011 * sysdeps/mach/include/mach.h: Likewise.
18012 * sysdeps/mach/include/mach/mig_support.h: Likewise.
18013 * sysdeps/mach/include/mach_error.h: Likewise.
18015 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18017 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
18018 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
18019 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
18020 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
18022 2018-04-16 Andreas Schwab <schwab@suse.de>
18025 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
18027 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18029 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
18030 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
18032 2018-04-12 DJ Delorie <dj@redhat.com>
18034 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18037 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
18039 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
18040 (struct kernel_sigaction): Use the same definition on 31bit as is used
18043 2018-04-09 Florian Weimer <fweimer@redhat.com>
18046 * resolv/res_send.c (send_dg): Use designated initializers instead
18047 of assignment to zero-initialize other fields of struct mmsghdr.
18049 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18051 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
18052 __READDIR_ALIAS): Undefine after usage.
18053 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
18054 __READDIR_R_ALIAS): Likewise.
18055 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
18056 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
18057 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
18058 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
18059 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
18060 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
18061 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18062 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18063 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
18064 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
18065 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
18066 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
18067 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18068 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
18069 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
18070 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
18071 * sysdeps/unix/sysv/linux/readdir.c: New file.
18072 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
18073 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
18074 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
18076 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
18078 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
18080 * manual/charset.texi (Converting a Character): Fix typo.
18082 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18086 * sysdeps/arm/libm-test-ulps: Update.
18088 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
18089 as base implementation.
18090 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
18091 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
18092 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18093 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18094 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
18095 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
18096 remove unrequired definitions and update comments.
18097 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
18098 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
18099 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
18100 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
18101 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
18102 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
18103 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
18104 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
18105 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
18106 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
18107 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
18108 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
18109 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
18110 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
18111 and RESET_SA_RESTORER hooks.
18113 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
18115 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18117 2018-04-05 Florian Weimer <fweimer@redhat.com>
18119 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
18120 integer overflow, memory leak on error, and indeterminate errno
18121 value. Add a null wide character to terminate the result string.
18122 * manual/charset.texi (Converting a Character): Mention embedded
18123 null bytes in the mbrtowc input string. Explain what happens in
18124 the -2 result case. Do not claim that mbrtowc is simple or
18125 obvious to use. Adjust the description of the code example. Use
18126 @code, not @var, for concrete variables.
18128 2018-04-05 Florian Weimer <fweimer@redhat.com>
18130 * manual/examples/mbstouwcs.c: New file.
18131 * manual/charset.texi (Converting a Character): Include it.
18133 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18135 * include/dirent.h (dirfd): Add hidden proto.
18136 * dirent/dirfd.c (dirfd): Add hidden def.
18137 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
18138 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
18140 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18142 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
18143 sin, cos and sincos to 1 ULP.
18145 2018-04-04 Maciej W. Rozycki <macro@mips.com>
18148 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
18150 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
18151 * elf/tst-absolute-sym.c: New file.
18152 * elf/tst-absolute-sym-lib.c: New file.
18153 * elf/tst-absolute-sym-lib.lds: New file.
18154 * elf/Makefile (tests): Add `tst-absolute-sym'.
18155 (modules-names): Add `tst-absolute-sym-lib'.
18156 (LDLIBS-tst-absolute-sym-lib.so): New variable.
18157 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
18158 ($(objpfx)tst-absolute-sym): New dependency.
18161 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
18163 (SYMBOL_ADDRESS): New macro.
18164 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
18165 SYMBOL_ADDRESS for symbol address calculation.
18166 * elf/dl-runtime.c (_dl_fixup): Likewise.
18167 (_dl_profile_fixup): Likewise.
18168 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
18169 * elf/rtld.c (dl_main): Likewise.
18170 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
18171 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
18172 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
18173 (elf_machine_rela): Likewise.
18174 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
18175 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
18176 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18177 (elf_machine_rela): Likewise.
18178 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18179 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
18180 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
18181 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
18183 (elf_machine_reloc): Likewise.
18184 (elf_machine_got_rel): Likewise.
18185 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
18186 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
18187 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18189 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18191 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
18192 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18194 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18196 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18197 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18199 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18201 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
18202 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18204 2018-04-04 Zack Weinberg <zackw@panix.com>
18206 * sysdeps/generic/internal-signals.h: Include signal.h,
18207 sigsetops.h, and stdbool.h.
18208 (__libc_signal_block_all): Actually block all signals.
18209 (__libc_signal_block_app): Likewise.
18210 (__libc_signal_restore_set): Actually restore the signal mask.
18212 2018-04-04 Florian Weimer <fweimer@redhat.com>
18214 inet: Actually build and run tst-deadline.
18215 * inet/Makefile (tests-internal): Add tst-deadline and do not
18216 overwrite the variable.
18217 (tests-static-internal): Remove variable.
18219 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
18222 * bits/uio-ext.h (RWF_APPEND): New.
18223 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
18224 * manual/llio.texi: Document RWF_APPEND.
18225 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
18226 (RWF_SUPPORTED): Add RWF_APPEND.
18228 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18231 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
18232 check for internal nptl signals.
18233 * nptl/sigaction.c (__sigaction): Likewise.
18234 * signal/sigaddset.c (sigaddset): Likewise.
18235 * signal/sigdelset.c (sigdelset): Likewise.
18236 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
18237 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
18239 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
18240 to filter out internal nptl signals.
18241 * signal/tst-sigset.c (do_test): Check ech signal indidually and
18242 also check realtime signals using standard macros.
18243 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
18244 __is_internal_signal, __libc_signal_block_all,
18245 __libc_signal_block_app, __libc_signal_restore_set): New functions.
18246 * sysdeps/nptl/sigfillset.c: Remove file.
18247 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
18248 Change return to bool.
18249 (__clear_internal_signals): Remove SIGTIMER clean since it is
18250 equal to SIGCANEL on Linux.
18251 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
18252 signal set was constructed using standard functions.
18254 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18256 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
18257 ifname is too long.
18258 * hurd/hurdsig.c (interrupted_reply_port_location): Use
18259 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
18260 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
18262 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
18263 * signal/sigaddset.c: Include <sigsetopts.h>.
18264 * signal/sigdelset.c: Likewise.
18266 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18268 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
18270 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
18271 logic as sin and cos.
18273 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18275 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
18276 inputs. Return correct sign.
18277 (do_sincos): Remove small input check before do_sin, let do_sin set
18282 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18284 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
18285 (do_cos_slow): Likewise.
18286 (do_sin_slow): Likewise.
18287 (reduce_and_compute): Likewise.
18292 (sloww1): Likewise.
18293 (sloww2): Likewise.
18295 (bslow1): Likewise.
18296 (bslow2): Likewise.
18297 (cslow2): Likewise.
18299 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18301 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
18302 (do_cos): Remove corp parameter and calculations.
18303 (do_sin): Likewise.
18304 (do_sincos): Remove cor variable.
18305 (__sin): Use do_sincos for huge inputs.
18307 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
18308 (reduce_and_compute_sincos): Remove unused function.
18310 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18312 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
18313 reduce_sincos, improve accuracy to 136 bits.
18314 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
18315 (__sin): Use improved reduction and simplified do_sincos calculation.
18317 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
18319 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18321 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
18322 (do_sincos_2): Likewise.
18323 (__sin): Remove middle range reduction case.
18325 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
18328 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18330 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
18331 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
18334 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
18336 2018-04-03 Joseph Myers <joseph@codesourcery.com>
18338 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
18341 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18343 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
18344 Remove definitions.
18345 (opendir_oflags): Use O_DIRECTORY regardless.
18346 (__opendir, __opendirat): Remove need_isdir_precheck usage.
18347 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
18349 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18351 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
18352 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
18354 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
18355 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
18356 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
18357 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
18358 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
18359 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
18361 * htl/Makefile: Bump licence to LGPL 2.1+.
18362 * htl/alloca_cutoff.c: Likewise.
18363 * htl/cthreads-compat.c: Likewise.
18364 * htl/lockfile.c: Likewise.
18365 * htl/pt-alloc.c: Likewise.
18366 * htl/pt-cancel.c: Likewise.
18367 * htl/pt-cleanup.c: Likewise.
18368 * htl/pt-create.c: Likewise.
18369 * htl/pt-dealloc.c: Likewise.
18370 * htl/pt-detach.c: Likewise.
18371 * htl/pt-exit.c: Likewise.
18372 * htl/pt-getattr.c: Likewise.
18373 * htl/pt-initialize.c: Likewise.
18374 * htl/pt-internal.h: Likewise.
18375 * htl/pt-join.c: Likewise.
18376 * htl/pt-self.c: Likewise.
18377 * htl/pt-setcancelstate.c: Likewise.
18378 * htl/pt-setcanceltype.c: Likewise.
18379 * htl/pt-sigmask.c: Likewise.
18380 * htl/pt-spin-inlines.c: Likewise.
18381 * htl/pt-testcancel.c: Likewise.
18382 * htl/pt-yield.c: Likewise.
18383 * htl/tests/test-1.c: Likewise.
18384 * htl/tests/test-10.c: Likewise.
18385 * htl/tests/test-11.c: Likewise.
18386 * htl/tests/test-12.c: Likewise.
18387 * htl/tests/test-13.c: Likewise.
18388 * htl/tests/test-14.c: Likewise.
18389 * htl/tests/test-15.c: Likewise.
18390 * htl/tests/test-16.c: Likewise.
18391 * htl/tests/test-17.c: Likewise.
18392 * htl/tests/test-2.c: Likewise.
18393 * htl/tests/test-3.c: Likewise.
18394 * htl/tests/test-4.c: Likewise.
18395 * htl/tests/test-5.c: Likewise.
18396 * htl/tests/test-6.c: Likewise.
18397 * htl/tests/test-7.c: Likewise.
18398 * htl/tests/test-8.c: Likewise.
18399 * htl/tests/test-9.c: Likewise.
18400 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
18401 * sysdeps/htl/bits/cancelation.h: Likewise.
18402 * sysdeps/htl/bits/pthread-np.h: Likewise.
18403 * sysdeps/htl/bits/pthread.h: Likewise.
18404 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
18405 * sysdeps/htl/bits/semaphore.h: Likewise.
18406 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
18407 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
18408 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
18409 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
18410 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
18411 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
18412 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
18413 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
18414 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
18415 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
18416 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
18417 * sysdeps/htl/old_pt-atfork.c: Likewise.
18418 * sysdeps/htl/pt-atfork.c: Likewise.
18419 * sysdeps/htl/pt-attr-destroy.c: Likewise.
18420 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
18421 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
18422 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
18423 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
18424 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
18425 * sysdeps/htl/pt-attr-getscope.c: Likewise.
18426 * sysdeps/htl/pt-attr-getstack.c: Likewise.
18427 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
18428 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
18429 * sysdeps/htl/pt-attr-init.c: Likewise.
18430 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
18431 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
18432 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
18433 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
18434 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
18435 * sysdeps/htl/pt-attr-setscope.c: Likewise.
18436 * sysdeps/htl/pt-attr-setstack.c: Likewise.
18437 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
18438 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
18439 * sysdeps/htl/pt-attr.c: Likewise.
18440 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
18441 * sysdeps/htl/pt-barrier-init.c: Likewise.
18442 * sysdeps/htl/pt-barrier-wait.c: Likewise.
18443 * sysdeps/htl/pt-barrier.c: Likewise.
18444 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
18445 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
18446 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
18447 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
18448 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
18449 * sysdeps/htl/pt-cond-destroy.c: Likewise.
18450 * sysdeps/htl/pt-cond-init.c: Likewise.
18451 * sysdeps/htl/pt-cond-signal.c: Likewise.
18452 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
18453 * sysdeps/htl/pt-cond-wait.c: Likewise.
18454 * sysdeps/htl/pt-cond.c: Likewise.
18455 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
18456 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
18457 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
18458 * sysdeps/htl/pt-condattr-init.c: Likewise.
18459 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
18460 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
18461 * sysdeps/htl/pt-destroy-specific.c: Likewise.
18462 * sysdeps/htl/pt-equal.c: Likewise.
18463 * sysdeps/htl/pt-getconcurrency.c: Likewise.
18464 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
18465 * sysdeps/htl/pt-getschedparam.c: Likewise.
18466 * sysdeps/htl/pt-getspecific.c: Likewise.
18467 * sysdeps/htl/pt-init-specific.c: Likewise.
18468 * sysdeps/htl/pt-key-create.c: Likewise.
18469 * sysdeps/htl/pt-key-delete.c: Likewise.
18470 * sysdeps/htl/pt-key.h: Likewise.
18471 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
18472 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
18473 * sysdeps/htl/pt-mutex-init.c: Likewise.
18474 * sysdeps/htl/pt-mutex-lock.c: Likewise.
18475 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
18476 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
18477 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
18478 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
18479 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
18480 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
18481 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
18482 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
18483 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
18484 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
18485 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
18486 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
18487 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
18488 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
18489 * sysdeps/htl/pt-mutexattr.c: Likewise.
18490 * sysdeps/htl/pt-once.c: Likewise.
18491 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
18492 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
18493 * sysdeps/htl/pt-rwlock-init.c: Likewise.
18494 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
18495 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
18496 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
18497 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
18498 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
18499 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
18500 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
18501 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
18502 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
18503 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
18504 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
18505 * sysdeps/htl/pt-setconcurrency.c: Likewise.
18506 * sysdeps/htl/pt-setschedparam.c: Likewise.
18507 * sysdeps/htl/pt-setschedprio.c: Likewise.
18508 * sysdeps/htl/pt-setspecific.c: Likewise.
18509 * sysdeps/htl/pt-spin.c: Likewise.
18510 * sysdeps/htl/pt-startup.c: Likewise.
18511 * sysdeps/htl/pthread.h: Likewise.
18512 * sysdeps/htl/sem-close.c: Likewise.
18513 * sysdeps/htl/sem-destroy.c: Likewise.
18514 * sysdeps/htl/sem-getvalue.c: Likewise.
18515 * sysdeps/htl/sem-init.c: Likewise.
18516 * sysdeps/htl/sem-open.c: Likewise.
18517 * sysdeps/htl/sem-post.c: Likewise.
18518 * sysdeps/htl/sem-timedwait.c: Likewise.
18519 * sysdeps/htl/sem-trywait.c: Likewise.
18520 * sysdeps/htl/sem-unlink.c: Likewise.
18521 * sysdeps/htl/sem-wait.c: Likewise.
18522 * sysdeps/hurd/htl/pt-kill.c: Likewise.
18523 * sysdeps/i386/htl/pt-machdep.h: Likewise.
18524 * sysdeps/mach/htl/pt-block.c: Likewise.
18525 * sysdeps/mach/htl/pt-spin.c: Likewise.
18526 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
18527 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
18528 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
18529 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
18530 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
18531 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
18532 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
18533 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
18534 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
18535 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
18536 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
18537 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
18538 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
18539 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
18540 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
18541 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
18542 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
18543 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
18544 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
18545 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
18546 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
18547 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
18548 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
18549 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
18550 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
18551 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
18552 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
18553 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
18554 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
18555 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
18556 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
18557 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
18558 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
18559 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
18560 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
18561 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
18562 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
18563 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
18564 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
18565 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
18566 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
18567 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
18568 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
18570 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
18571 * README: Remove the mention of out-of-tree patches needed for
18574 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
18575 (UTIME_NOW, UTIME_OMIT): Define macros.
18577 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
18578 instead of pthread_detach.
18579 (__cthread_fork): Call __pthread_create instead of pthread_create.
18580 (__cthread_keycreate): Call __pthread_key_create instead of
18581 pthread_key_create.
18582 (__cthread_getspecific): Call __pthread_getspecific instead of
18583 pthread_getspecific.
18584 (__cthread_setspecific): Call __pthread_setspecific instead of
18585 pthread_setspecific.
18586 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
18587 __pthread_mutex_unlock instead of pthread_mutex_lock and
18588 pthread_mutex_unlock.
18589 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
18590 ___pthread_get_cleanup_stack.
18591 (__pthread_get_cleanup_stack): New strong alias.
18592 * htl/pt-create.c: Include <pthreadP.h>.
18593 (entry_point): Call __pthread_exit instead of pthread_exit.
18594 (pthread_create): Rename to __pthread_create.
18595 (pthread_create): New strong alias.
18596 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
18597 (pthread_detach): New strong alias.
18598 (__pthread_detach): Call __pthread_cond_broadcast instead of
18599 pthread_cond_broadcast.
18600 * htl/pt-exit.c: Include <pthreadP.h>.
18601 (__pthread_exit): Call __pthread_setcancelstate and
18602 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
18603 __pthread_get_cleanup_stack.
18604 * htl/pt-testcancel.c: Include <pthreadP.h>.
18605 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
18606 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
18607 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
18608 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
18609 pthread_attr_getstacksize.
18610 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
18611 Rename to __pthread_attr_getstackaddr.
18612 (pthread_attr_getstackaddr): New strong alias.
18613 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
18614 Rename to __pthread_attr_getstacksize.
18615 (pthread_attr_getstacksize): New strong alias.
18616 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
18617 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
18618 (pthread_attr_setstack): New strong alias.
18619 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
18620 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
18621 pthread_attr_getstacksize, pthread_attr_setstacksize and
18622 pthread_attr_setstackaddr.
18623 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
18624 Rename to __pthread_attr_setstackaddr.
18625 (pthread_attr_setstackaddr): New strong alias.
18626 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
18627 Rename to __pthread_attr_setstacksize.
18628 (pthread_attr_setstacksize): New strong alias.
18629 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
18630 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
18632 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
18633 (__pthread_key_create): New hidden def.
18634 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
18635 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
18636 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
18637 __pthread_exit, __pthread_key_create, __pthread_getspecific,
18638 __pthread_setspecific, __pthread_setcancelstate,
18639 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
18640 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
18641 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
18643 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
18644 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
18645 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
18646 (pthread_attr_setstackaddr): New strong alias.
18647 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
18648 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
18649 (pthread_attr_setstacksize): New strong alias.
18650 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
18651 (call_exit): Call __pthread_exit instead of pthread_exit.
18652 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
18653 (_pthread_mutex_init): New hidden definition.
18654 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
18655 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
18656 instead of pthread_attr_init and pthread_attr_setstack.
18658 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
18659 __vm_deallocate instead of vm_allocate and vm_deallocate.
18660 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
18662 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
18664 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
18666 * hurd/siginfo.c: Include <libioP.h>.
18667 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
18668 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
18670 * mach/devstream.c: Include <libioP.h>.
18671 (dealloc_ref): Call __mach_port_deallocate instead of
18672 mach_port_deallocate.
18673 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
18674 Call __mach_port_deallocate instead of mach_port_deallocate.
18675 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
18677 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
18679 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
18680 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
18681 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
18683 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
18685 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
18686 instead of sysconf.
18687 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
18688 __clock_gettime instead of clock_gettime.
18689 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
18690 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
18691 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
18692 * sysdeps/unix/bsd/stty.c (stty): Likewise.
18693 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
18695 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
18696 __clock_gettime and __nanosleep instead of clock_gettime and
18698 * hurd/catch-signal.c (hurd_catch_signal): Rename to
18699 __hurd_catch_signal.
18700 (hurd_catch_signal): New strong alias.
18701 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
18702 __hurd_catch_signal instead of hurd_catch_signal.
18703 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
18704 * hurd/hurdexec.c (_hurd_init): Add hidden def.
18705 * hurd/hurdinit.c (_hurd_init): Add hidden def.
18706 * hurd/hurdsig.c: Include <mach/mig_support.h>.
18707 (_hurd_thread_sigstate): Add hidden def.
18708 (_hurd_internal_post_signal): Use __mutex_unlock instead of
18710 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
18711 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
18712 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
18713 __hurd_file_name_path_lookup.
18714 (hurd_file_name_path_lookup): New strong alias.
18715 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
18716 hurd_file_name_path_lookup.
18717 * mach/errstring.c (mach_error_type): Add hidden def.
18718 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
18719 * mach/mutex-init.c (__mutex_init): Add hidden def.
18720 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
18721 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
18722 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
18723 * sysdeps/mach/hurd/getcwd.c
18724 (_hurd_canonicalize_directory_name_internal): Rename to
18725 __hurd_canonicalize_directory_name_internal.
18726 (_hurd_canonicalize_directory_name_internal): New strong alias.
18727 (__canonicalize_directory_name_internal, __getcwd): Call
18728 __hurd_canonicalize_directory_name_internal instead of
18729 _hurd_canonicalize_directory_name_internal.
18730 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
18731 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
18733 * sysdeps/hurd/include/hurd.h: New file.
18734 * sysdeps/hurd/include/hurd/fd.h: New file.
18735 * sysdeps/hurd/include/hurd/signal.h: New file.
18736 * sysdeps/mach/include/lock-intern.h: New file.
18737 * sysdeps/mach/include/mach.h: New file.
18738 * sysdeps/mach/include/mach/mig_support.h: New file.
18739 * sysdeps/mach/include/mach_error.h: New file.
18740 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
18742 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
18743 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
18744 _HEADER_H_HIDDEN_DEF macro.
18745 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
18746 _hurd_fd_error_signal): Add hidden prototype.
18747 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
18749 * libio/iolibio.h (_IO_puts): New hidden prototype.
18750 * libio/ioputs.c (_IO_puts): New hidden def.
18751 * sysdeps/mach/hurd/localplt.data: New file.
18753 2018-04-02 Agustina Arzille <avarzille@riseup.net>
18754 Amos Jeffries <squid3@treenet.co.nz>
18755 David Michael <fedora.dm0@gmail.com>
18756 Marco Gerards <marco@gnu.org>
18757 Marcus Brinkmann <marcus@gnu.org>
18758 Neal H. Walfield <neal@gnu.org>
18759 Pino Toscano <toscano.pino@tiscali.it>
18760 Richard Braun <rbraun@sceen.net>
18761 Roland McGrath <roland@gnu.org>
18762 Samuel Thibault <samuel.thibault@ens-lyon.org>
18763 Thomas DiModica <ricinwich@yahoo.com>
18764 Thomas Schwinge <tschwinge@gnu.org>
18766 * htl: New directory.
18767 * sysdeps/htl: New directory.
18768 * sysdeps/hurd/htl: New directory.
18769 * sysdeps/i386/htl: New directory.
18770 * sysdeps/mach/htl: New directory.
18771 * sysdeps/mach/hurd/htl: New directory.
18772 * sysdeps/mach/hurd/i386/htl: New directory.
18773 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
18774 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
18775 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
18777 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18779 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
18780 signals in thread created for runing timers.
18782 2018-04-01 Florian Weimer <fweimer@redhat.com>
18784 * support/support_format_addrinfo.c (support_format_addrinfo):
18785 Include unknown error number in formatted result.
18787 2018-03-29 Florian Weimer <fweimer@redhat.com>
18789 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
18792 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18794 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
18795 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
18796 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
18797 (__ASSUME_CLONE_BACKWARDS): Define.
18799 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
18802 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
18803 early when linux sentinel value is set.
18805 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18807 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
18809 2018-03-27 Andreas Schwab <schwab@suse.de>
18812 * resolv/res_send.c (__res_context_send): Return ENOMEM if
18813 allocation of private copy of nsaddr_list fails.
18815 2018-03-26 Joseph Myers <joseph@codesourcery.com>
18818 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
18819 * sysdeps/unix/sysv/linux/umount.c: ... here.
18820 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
18821 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
18822 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
18823 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
18824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
18825 * sysdeps/unix/sysv/linux/umount.S: Likewise.
18826 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
18828 2018-03-26 Andreas Schwab <schwab@suse.de>
18830 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
18831 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
18832 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
18833 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
18834 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
18835 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
18836 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
18837 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
18838 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
18839 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
18840 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
18841 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
18842 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
18843 (R_RISCV_NUM): Define.
18845 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
18847 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
18848 TLS declaration of errno.
18849 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
18851 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
18852 (ARCH_SETUP_TLS): Likewise.
18853 * sysdeps/mach/hurd/libc-start.h: New file copied from
18854 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
18855 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
18856 instead of __libc_setup_tls.
18857 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
18858 __libc_setup_tls before initializing libpthread and running _hurd_init
18859 which starts the signal thread.
18860 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
18862 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18864 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
18867 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
18868 after it is defined.
18870 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
18871 Max Horn <max@quendi.de>
18875 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
18877 * string/test-memmove.c (do_test2): New testcase.
18879 2018-03-22 Joseph Myers <joseph@codesourcery.com>
18881 * sysdeps/generic/frame.h: Remove file.
18882 * sysdeps/arm/frame.h: Likewise.
18883 * sysdeps/hppa/frame.h: Likewise.
18884 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
18886 (GET_FRAME): Likewise.
18887 (GET_STACK): Likewise.
18888 (CALL_SIGHANDLER): Likewise.
18889 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
18891 (GET_FRAME): Likewise.
18892 (GET_STACK): Likewise.
18893 (CALL_SIGHANDLER): Likewise.
18894 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
18895 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18896 (GET_FRAME): Likewise.
18897 (GET_STACK): Likewise.
18898 (CALL_SIGHANDLER): Likewise.
18899 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
18900 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18901 (GET_FRAME): Likewise.
18902 (GET_STACK): Likewise.
18903 (ADVANCE_STACK_FRAME): Likewise.
18904 (CALL_SIGHANDLER): Likewise.
18905 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
18906 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18907 (GET_FRAME): Likewise.
18908 (GET_STACK): Likewise.
18909 (CALL_SIGHANDLER): Likewise.
18910 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
18911 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18912 (GET_FRAME): Likewise.
18913 (GET_STACK): Likewise.
18914 (CALL_SIGHANDLER): Likewise.
18915 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
18916 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18917 (GET_FRAME): Likewise.
18918 (GET_STACK): Likewise.
18919 (CALL_SIGHANDLER): Likewise.
18920 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
18921 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18922 (GET_FRAME): Likewise.
18923 (GET_STACK): Likewise.
18924 (CALL_SIGHANDLER): Likewise.
18925 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
18926 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18927 (GET_FRAME): Likewise.
18928 (GET_STACK): Likewise.
18929 (CALL_SIGHANDLER): Likewise.
18930 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
18931 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18932 (GET_FRAME): Likewise.
18933 (GET_STACK): Likewise.
18934 (CALL_SIGHANDLER): Likewise.
18935 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
18936 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18937 (GET_FRAME): Likewise.
18938 (GET_STACK): Likewise.
18939 (CALL_SIGHANDLER): Likewise.
18940 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
18941 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18942 (GET_FRAME): Likewise.
18943 (GET_STACK): Likewise.
18944 (CALL_SIGHANDLER): Likewise.
18945 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
18946 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18947 (GET_FRAME): Likewise.
18948 (GET_STACK): Likewise.
18949 (CALL_SIGHANDLER): Likewise.
18950 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
18951 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18952 (FIRST_FRAME_POINTER): Likewise.
18953 (ADVANCE_STACK_FRAME): Likewise.
18954 (GET_STACK): Likewise.
18955 (GET_FRAME): Likewise.
18956 (CALL_SIGHANDLER): Likewise.
18957 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
18958 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18959 (ADVANCE_STACK_FRAME): Likewise.
18960 (GET_STACK): Likewise.
18961 (GET_FRAME): Likewise.
18962 (CALL_SIGHANDLER): Likewise.
18963 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
18964 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18965 (GET_FRAME): Likewise.
18966 (GET_STACK): Likewise.
18967 (CALL_SIGHANDLER): Likewise.
18968 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
18969 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18970 (GET_FRAME): Likewise.
18971 (GET_STACK): Likewise.
18972 (CALL_SIGHANDLER): Likewise.
18974 2018-03-21 Joseph Myers <joseph@codesourcery.com>
18976 * sysdeps/x86_64/backtrace.c: Move to ....
18977 * debug/backtrace.c: ... here.
18978 * sysdeps/aarch64/backtrace.c: Remove file.
18979 * sysdeps/alpha/backtrace.c: Likewise.
18980 * sysdeps/hppa/backtrace.c: Likewise.
18981 * sysdeps/ia64/backtrace.c: Likewise.
18982 * sysdeps/mips/backtrace.c: Likewise.
18983 * sysdeps/nios2/backtrace.c: Likewise.
18984 * sysdeps/riscv/backtrace.c: Likewise.
18985 * sysdeps/sh/backtrace.c: Likewise.
18986 * sysdeps/tile/backtrace.c: Likewise.
18988 2018-03-20 Joseph Myers <joseph@codesourcery.com>
18991 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
18994 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
18997 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
18998 possibly overflowing computations.
19000 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
19002 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
19003 values from Linux-specific section now that it is in the GNU section.
19004 * sysdeps/gnu/errlist.c: Regenerate.
19006 2018-03-20 Joseph Myers <joseph@codesourcery.com>
19008 * math/Makefile (libm-narrow-fns): Add sub.
19009 (libm-test-funcs-narrow): Likewise.
19010 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
19011 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
19012 * math/gen-auto-libm-tests.c (test_functions): Add sub.
19013 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
19014 (NARROW_SUB_ROUND_TO_ODD): Likewise.
19015 (NARROW_SUB_TRIVIAL): Likewise.
19016 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
19018 (__dsubl): Likewise.
19019 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
19021 (CFLAGS-nldbl-dsub.c): New variable.
19022 (CFLAGS-nldbl-fsub.c): Likewise.
19023 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
19025 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
19027 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
19028 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
19029 * math/auto-libm-test-in: Add tests of sub.
19030 * math/auto-libm-test-out-narrow-sub: New generated file.
19031 * math/libm-test-narrow-sub.inc: New file.
19032 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
19033 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
19034 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
19035 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
19036 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
19037 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
19038 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
19039 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
19040 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
19041 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
19042 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
19043 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
19044 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
19045 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
19046 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
19047 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
19048 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
19049 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
19050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19051 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
19052 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19053 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19054 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19055 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19056 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19057 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19058 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19059 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19060 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19061 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19062 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19063 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
19066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19068 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19069 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19070 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19071 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19072 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19073 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19074 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
19075 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
19076 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19077 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19079 2018-03-19 Joseph Myers <joseph@codesourcery.com>
19082 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
19084 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
19086 * benchtests/bench-timing.h (attribute_hidden): Undefine.
19088 2018-03-18 Richard Braun <rbraun@sceen.net>
19090 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
19093 2018-03-18 Agustina Arzille <avarzille@riseup.net>
19095 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
19096 (__libc_cleanup_fct): Define function.
19097 (__libc_cleanup_region_start, __libc_cleanup_region_end,
19098 __libc_cleanup_end): Rewrite implementation using
19099 __attribute__ ((__cleanup__)).
19100 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
19101 * hurd/Makefile (routines): Add hurdlock.
19102 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
19104 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
19105 * hurd/hurdpid.c: Include <lowlevellock.h>
19106 (_S_msg_proc_newids): Use lll_wait to synchronize.
19107 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
19108 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
19109 * mach/Makefile (lock-headers): Remove machine-lock.h.
19110 * mach/lock-intern.h: Include <lowlevellock.h> instead of
19112 (__spin_lock_t): New type.
19113 (__SPIN_LOCK_INITIALIZER): New macro.
19114 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
19115 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
19116 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
19117 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
19118 (__mutex_init): Initialize with lll.
19119 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
19120 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
19122 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19123 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
19124 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
19125 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
19126 (__setpgid): Use lll for synchronization.
19127 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
19128 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
19129 instead of <cthreads.h>.
19130 (_IO_lock_inexpensive): New macro
19131 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
19132 (__libc_lock_self0): New declaration.
19133 (__libc_lock_owner_self): New macro.
19134 (__libc_key_t): Remove type.
19135 (_LIBC_LOCK_INITIALIZER): New macro.
19136 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
19137 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
19138 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
19139 __libc_lock_define_initialized_recursive,
19140 __rtld_lock_define_initialized_recursive,
19141 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
19142 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
19143 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
19144 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
19145 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
19146 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
19147 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
19149 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
19150 * hurd/hurdlock.c: New file.
19151 * hurd/hurdlock.h: New file.
19152 * mach/lowlevellock.h: New file
19154 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
19156 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
19157 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
19158 when opening a symlink with O_NOFOLLOW.
19159 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
19160 path when flags contains O_NOFOLLOW.
19161 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
19162 if flags contains O_DIRECTORY and the result is a directory.
19163 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
19164 oneself when the pointer given in D is nul (as set by ext2fs).
19165 * sysdeps/mach/hurd/mlockall.c: New file.
19166 * sysdeps/mach/hurd/munlockall.c: New file.
19168 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
19170 * hurd/hurdsig.c: Include <pthread.h>.
19171 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
19172 get the signal thread stack layout.
19173 * hurd/Makefile (headers): Remove threadvar.h.
19174 (inline-headers): Remove threadvar.h.
19175 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
19176 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
19177 __hurd_threadvar_max, __hurd_errno_location.
19178 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
19179 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
19180 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
19181 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
19182 unless TLS is not initialized yet, in which case we do not need a
19183 critical section yet anyway.
19184 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
19186 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
19188 (__hurd_threadvar_index): Remove enum.
19189 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
19190 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
19192 (__hurd_reply_port0): New variable declaration.
19193 (__hurd_local_reply_port): New macro.
19194 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
19195 (interrupted_reply_port_location): Add thread_t parameter. Use it
19196 with THREAD_TCB to access thread-local variables.
19197 (_hurdsig_abort_rpcs): Pass ss->thread to
19198 interrupted_reply_port_location.
19199 (_hurd_internal_post_signal): Likewise.
19200 (_hurdsig_init): Use presence of cthread_fork instead of
19201 __hurd_threadvar_stack_mask to start signal thread by hand.
19202 Remove signal thread threadvar initialization.
19203 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
19204 * hurd/sigunwind.c: Include <hurd/threadvar.h>
19205 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
19207 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
19209 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
19210 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
19211 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
19212 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
19213 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
19214 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
19215 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
19217 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
19218 <hurd/threadvar.h>.
19219 [IS_IN(rtld)] (rtld_errno): New variable.
19220 [IS_IN(rtld)] (__errno_location): New weak function.
19221 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
19222 * sysdeps/mach/hurd/errno.c: Remove file.
19223 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
19224 (__fork): Remove THREADVAR_SPACE macro and its use.
19225 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
19227 (init): Do not initialize threadvar.
19228 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
19230 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
19231 __hurd_local_reply_port instead of threadvar.
19232 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
19233 _hurd_sigstate fields.
19234 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
19235 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
19236 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
19237 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
19238 instead of threadvar.
19239 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
19240 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
19241 (use_threadvar, global_reply_port): Remove variables.
19242 (__hurd_reply_port0): New variable.
19243 (__mig_get_reply_port): Use __hurd_local_reply_port and
19244 __hurd_reply_port0 instead of threadvar.
19245 (__mig_dealloc_reply_port): Likewise.
19246 (__mig_init): Do not initialize threadvar.
19247 * sysdeps/mach/hurd/profil.c: Fix comment.
19248 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
19249 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
19250 cthread_keycreate, cthread_getspecific, cthread_setspecific to
19251 __cthread_fork, __cthread_detach, __pthread_getattr_np,
19252 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
19253 __cthread_setspecific.
19254 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
19255 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
19256 __cthread_t instead of cthread_fork, cthread_detach,
19257 pthread_getattr_np, pthread_attr_getstack.
19258 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
19259 __cthread_keycreate.
19260 (cthread_getspecific): Rename to __cthread_getspecific.
19261 (cthread_setspecific): Rename to __cthread_setspecific.
19262 (__libc_getspecific): Use __cthread_getspecific instead of
19263 cthread_getspecific.
19264 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
19265 __cthread_keycreate instead of cthread_keycreate.
19266 (__libc_setspecific): Use __cthread_setspecific instead of
19267 cthread_setspecific.
19268 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
19270 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
19271 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
19272 testing whether it is defined.
19274 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19276 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
19278 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
19279 * sysdeps/mach/i386/thread_state.h
19280 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
19282 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
19284 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
19286 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
19287 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
19289 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
19291 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
19292 descriptor instead of creating a new one.
19293 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
19295 * mach/setup-thread.c: Include <ldsodefs.h>.
19296 (__mach_setup_thread): Call _dl_allocate_tls, pass
19297 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
19298 MACHINE_THREAD_STATE_FLAVOR, before getting
19299 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
19300 MACHINE_THREAD_STATE_FLAVOR with the result.
19301 * hurd/hurdfault.c (_hurdsig_fault_init): Call
19302 MACHINE_THREAD_STATE_FIX_NEW.
19303 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
19304 too. Add original thread parameter.
19306 2018-03-16 Joseph Myers <joseph@codesourcery.com>
19308 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
19309 Remove inline function.
19311 * sysdeps/i386/fpu/libm-test-ulps: Update.
19312 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19314 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
19316 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
19319 2018-03-15 Joseph Myers <joseph@codesourcery.com>
19321 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
19322 (__sincos_code): Remove define and undefine.
19323 [__FAST_MATH__] (__sincos): Remove inline function.
19324 [__FAST_MATH__] (__sincosf): Remove inline function.
19325 [__FAST_MATH__] (__sincosl): Remove inline function.
19326 (__atan2l): Remove inline functions.
19327 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
19328 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
19330 (floor): Remove inline function.
19332 [__FAST_MATH__] (__ldexp_code): Remove macro.
19333 [__FAST_MATH__] (ldexp): Remove inline function.
19334 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
19335 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
19336 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
19337 [__USE_ISOC99] (__lrint_code): Remove macro.
19338 [__USE_ISOC99] (__llrint_code): Likewise.
19339 [__USE_ISOC99] (lrintf): Remove inline function.
19340 [__USE_ISOC99] (lrint): Likewise.
19341 [__USE_ISOC99] (lrintl): Likewise.
19342 [__USE_ISOC99] (llrint): Likewise.
19343 [__USE_ISOC99] (llrintf): Likewise.
19344 [__USE_ISOC99] (llrintl): Likewise.
19346 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19348 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
19349 (__ieee754_sqrtf): Remove.
19350 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
19351 (__ieee754_sqrtf): Remove.
19352 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
19353 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
19354 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
19355 (__ieee754_sqrtf): Remove.
19356 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
19357 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
19360 (__ieee754_sqrt): Remove.
19361 (__ieee754_sqrtf): Remove.
19362 (__ieee754_sqrtl): Remove.
19363 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
19364 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
19365 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
19366 (__ieee754_sqrtf): Remove.
19367 (__ieee754_sqrtl): Remove.
19369 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19371 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
19372 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
19373 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
19374 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
19375 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
19376 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19377 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19378 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19380 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
19381 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
19382 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
19383 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
19384 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
19385 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
19386 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
19387 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
19388 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
19389 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
19390 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
19391 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
19392 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
19393 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
19394 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
19395 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19396 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19397 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
19398 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
19399 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
19400 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19401 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19402 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
19403 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
19404 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
19405 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
19406 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19407 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19408 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
19409 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
19410 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
19411 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
19412 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
19413 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
19414 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19415 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19416 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
19417 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
19418 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
19419 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
19421 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19423 * include/math.h (sqrt): Declare with asm redirect.
19426 (sqrtf128): Likewise.
19427 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
19428 nonlib and libnldbl with -fmath-errno.
19429 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
19430 * math/w_sqrt_template.c: Likewise.
19431 * math/w_sqrtf_compat.c: Likewise.
19432 * math/w_sqrtl_compat.c: Likewise.
19433 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
19434 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
19435 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
19438 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19440 * benchtests/Makefile: Define _ISOMAC.
19441 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
19442 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
19443 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
19444 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
19445 * benchtests/bench-timing.h: Define attribute_hidden.
19447 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
19449 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
19452 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
19455 * localedata/locales/cs_CZ (mon): Rename to...
19457 (mon): Import from CLDR (genitive case).
19459 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
19462 * localedata/locales/el_CY (abmon): Rename to...
19463 (ab_alt_mon): This.
19464 (abmon): Import from CLDR (abbreviated genitive case).
19465 * localedata/locales/el_GR (abmon): Rename to...
19466 (ab_alt_mon): This.
19467 (abmon): Import from CLDR (abbreviated genitive case).
19469 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
19472 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
19474 2018-03-15 Robert Buj <robert.buj@gmail.com>
19477 * localedata/locales/ca_ES (abmon): Rename to...
19478 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
19479 (mon): Rename to...
19481 (abmon): Import from CLDR (genitive case, month names preceded by
19484 (abday): Synchronize with CLDR.
19485 (d_t_fmt): Likewise.
19489 (LC_TIME): Improve indentation.
19490 (LC_TELEPHONE): Likewise.
19491 (LC_NAME): Likewise.
19492 (LC_ADDRESS): Likewise.
19494 2018-03-14 Joseph Myers <joseph@codesourcery.com>
19496 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
19497 (lrintf): Remove definitions used only with old GCC.
19498 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
19499 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
19500 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
19501 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
19502 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
19503 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
19504 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
19505 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
19506 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
19507 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
19508 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
19509 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
19510 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
19511 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
19512 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
19513 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
19514 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
19515 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
19516 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
19517 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
19518 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
19519 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
19520 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
19521 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
19522 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
19523 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
19524 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
19525 [__FAST_MATH__] (__M_SQRT2): Remove macro.
19527 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
19529 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
19530 instruction to unbreak builds with binutils 2.26 and older.
19532 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
19534 * sysdeps/aarch64/strncmp.S (count): New macro.
19535 (strncmp): Store misaligned length in SRC1 in COUNT.
19536 (mutual_align): Adjust.
19537 (misaligned8): Load dword at a time when it is safe.
19539 2018-03-12 Zack Weinberg <zackw@panix.com>
19543 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
19544 if the _IO_EOF_SEEN bit is already set; update commentary.
19545 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
19546 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
19548 * support/support_openpty.c, support/tty.h: New files.
19549 * support/Makefile (libsupport-routines): Add support_openpty.
19551 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
19553 * libio/Makefile (tests): Add tst-fgetc-after-eof.
19554 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
19556 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
19558 * po/pt_BR.po: Update translations.
19560 2018-03-12 David Michael <fedora.dm0@gmail.com>
19562 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
19563 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
19564 get a port to the startup server.
19566 2018-03-11 Zack Weinberg <zackw@panix.com>
19568 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
19569 before nldbl-compat.h.
19571 2018-03-10 Zack Weinberg <zackw@panix.com>
19573 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
19574 math.h or math_private.h.
19576 * sysdeps/alpha/fpu/s_isnan.c
19577 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
19578 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
19579 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
19580 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
19581 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
19582 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
19583 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
19584 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
19585 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
19586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
19587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
19588 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
19589 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
19590 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
19591 Include math_private.h.
19593 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
19594 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
19595 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
19596 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
19597 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
19598 * sysdeps/powerpc/power7/fpu/s_logb.c:
19599 Include math.h and math_private.h.
19601 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
19602 uses of $at in .set noat / .set at.
19604 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
19606 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
19607 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
19608 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
19609 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
19612 2018-03-09 Florian Weimer <fweimer@redhat.com>
19614 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
19617 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
19620 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
19621 Add nop before __startcontext, add explaining comments.
19623 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19626 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
19628 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
19629 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
19630 Do not build hardware transactional code for __SPE__.
19631 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
19632 (__lll_trylock_elision): Likewise.
19633 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
19634 (__lll_unlock_elision): Likewise.
19636 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
19637 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
19638 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
19639 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
19640 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
19641 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
19642 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
19643 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
19644 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
19645 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
19646 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
19647 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
19648 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
19649 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
19650 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
19651 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
19652 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
19653 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
19654 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
19655 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
19656 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
19657 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19658 (__ASSUME_CLONE_BACKWARDS): Define.
19659 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
19660 __clone2 if __NR_clone2 is defined.
19661 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19662 (__ASSUME_CLONE_BACKWARDS): Likewise.
19663 * sysdeps/unix/sysv/linux/i386/kernel-features.h
19664 (__ASSUME_CLONE_BACKWARDS): Likewise.
19665 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19666 (__ASSUME_CLONE2): Likewise.
19667 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19668 (__ASSUME_CLONE_BACKWARDS3): Likewise.
19669 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
19670 variants and the define architecture can use.
19671 (__ASSUME_CLONE_DEFAULT): Define as default.
19672 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19673 (__ASSUME_CLONE_BACKWARDS): Likewise.
19674 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19675 (__ASSUME_CLONE_BACKWARDS): Likewise.
19676 * sysdeps/unix/sysv/linux/s390/kernel-features.h
19677 (__ASSUME_CLONE_BACKWARDS2): Likewise.
19679 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
19681 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
19683 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
19686 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
19687 (do_test_limit): Likewise.
19689 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
19690 for every implementation.
19691 (do_test): Likewise.
19693 * benchtests/bench-strncmp.c: Convert output to json.
19695 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19697 * io/futimens.c: Add missing start-of-file descriptive comment.
19698 * io/utime.c: Likewise.
19699 * misc/futimesat.c: Likewise.
19700 * misc/utimes.c: Likewise.
19701 * sysdeps/mach/hurd/futimesat.c: Likewise.
19702 * sysdeps/mach/hurd/utimes.c: Likewise.
19703 * sysdeps/posix/utime.c: Likewise.
19704 * sysdeps/posix/utimes.c: Likewise.
19705 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
19706 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
19707 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
19708 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
19710 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
19712 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
19714 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
19715 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
19716 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
19717 (__futimens): Move implementation to...
19718 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
19719 utime_tvalue_from_tspec): ... new helper functions.
19720 (hurd_futimens): New function.
19721 * sysdeps/mach/hurd/futimesat.c: New file.
19722 * sysdeps/mach/hurd/utimensat.c: New file.
19724 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
19726 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
19727 UTIME_OMIT): New macros.
19728 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
19729 before reverting to converting time spec to time value and calling
19731 * sysdeps/mach/hurd/utime-helper.c: New file.
19732 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
19733 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
19734 reverting to utime_tvalue_from_tval and __file_utimes.
19735 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
19736 (__lutimes): Just call hurd_futimens after lookup.
19737 * sysdeps/mach/hurd/utimes.c: Likewise.
19739 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
19741 * bits/sigaction.h: Add include guard.
19742 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
19743 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
19744 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
19745 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
19746 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
19747 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
19748 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
19749 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
19750 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
19752 2018-03-05 Joseph Myers <joseph@codesourcery.com>
19754 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
19755 -Wmaybe-uninitialized for -Os.
19756 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
19759 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19761 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
19762 __INO_T_MATCHES_INO64_T is defined.
19763 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
19764 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
19766 * dirent/alphasort64.c: Likewise.
19767 * dirent/scandir.c: Likewise.
19768 * dirent/scandir64-tail.c: Likewise.
19769 * dirent/scandir64.c: Likewise.
19770 * dirent/scandirat.c: Likewise.
19771 * dirent/scandirat64.c: Likewise.
19772 * dirent/versionsort.c: Likewise.
19773 * dirent/versionsort64.c: Likewise.
19774 * include/dirent.h: Likewise.
19776 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
19777 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
19778 for socketpair endpoint.
19779 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
19780 WRITE_BUFFER_SIZE as buffer size for sending socket.
19781 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
19782 issue on system where send is implemented with sendto syscall.
19783 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
19784 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
19785 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
19786 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
19789 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
19790 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
19791 sa_restorer for vDSO case.
19792 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
19794 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19796 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
19797 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
19798 * hurd/hurd/ioctl.h: Include <mach/port.h>
19799 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
19800 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
19801 <mach/mach_types.h> and <mach/message.h>.
19802 (headers): Move mach/param.h to bits/mach/param.h.
19803 * sysdeps/mach/i386/mach/param.h: Move file to ...
19804 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
19805 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
19807 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
19808 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
19809 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
19810 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
19811 trivial, for C++ conformity.
19812 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
19813 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
19814 Process mig output through $(migheadersed).
19815 * hurd/Makefile (migheadersed): Define variable.
19816 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
19817 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
19819 * hurd/hurd.h: Include <bits/types/sigset_t.h>
19820 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
19821 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
19822 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
19823 <bits/types/sigset_t.h>.
19824 [!defined __USE_GNU]: Do not #error out.
19825 (struct hurd_sigstate): Use _NSIG instead of NSIG.
19826 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
19827 Include <stddef.h> and <bits/types/sigset_t.h>
19828 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
19829 instead of sighandler_t.
19830 * stdlib/errno.h (error_t): Move definition to...
19831 * bits/types/error_t.h: ... new header.
19832 * stdlib/Makefile (headers): Add bits/types/error_t.h.
19833 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
19834 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
19835 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
19836 * hurd/hurd.h: Include <bits/types/error_t.h>
19837 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
19838 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
19839 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
19840 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
19841 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
19842 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
19843 * sysdeps/mach/hurd/futimens.c: New file.
19845 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
19848 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
19849 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
19850 * nscd/gai.c (__nss_hosts_database): Readd definition.
19851 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
19852 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
19853 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
19855 2018-03-02 Joseph Myers <joseph@codesourcery.com>
19857 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
19858 (ifunc_one): Likewise.
19860 2018-03-01 DJ Delorie <dj@delorie.com>
19863 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
19866 2018-03-01 Maciej W. Rozycki <macro@mips.com>
19868 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
19869 `match_pid' parameter.
19870 (td_ta_thr_iter): Update accordingly.
19872 2018-03-01 Florian Weimer <fweimer@redhat.com>
19874 * nptl/Makefile (install-lib-ldscripts): Remove.
19875 (install): Remove rule.
19876 ($(inst_libdir)/libpthread.so): Likewise.
19878 2018-03-01 Mike FABIAN <mfabian@redhat.com>
19881 * localedata/locales/an_ES: update month and day names,
19882 improve d_fmt, improve postal_fmt, add country_post,
19885 2018-03-01 Mike FABIAN <mfabian@redhat.com>
19887 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
19888 Ukrainian instead of Bulgarian.
19890 2018-03-01 Florian Weimer <fweimer@redhat.com>
19892 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
19895 2018-03-01 Florian Weimer <fweimer@redhat.com>
19897 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
19898 * nptl/Makefile (routines): Add pthread_atfork.
19899 (static-only-routines): Set to pthread_atfork.
19900 (libpthread-routines): Remove pthread_atfork.
19901 (libpthread-static-only-routines): Remove.
19902 (install): Update comment.
19903 (libpthread.so): Do not install libpthread_nonshared.a.
19904 (tests): Do not link with libpthread_nonshared.a.
19905 (generated): Remove libpthread_nonshared.a.
19906 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
19907 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
19908 with libpthread_nonshared.a.
19910 2018-02-28 Joseph Myers <joseph@codesourcery.com>
19913 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
19914 (libc_feholdexcept_setroundf128): New macro.
19915 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
19918 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
19920 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
19921 * include/inttypes.h: New file.
19923 2018-02-27 Joseph Myers <joseph@codesourcery.com>
19925 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
19926 -Os in two more places.
19928 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19930 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
19931 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
19932 be sorted correctly at the moment because of a bug.
19934 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19936 [BZ #22550] - es_ES locale (and other es_* locales): collation should
19937 treat ñ as a primary different character, sync the collation
19938 for Spanish with CLDR.
19939 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
19940 * localedata/Makefile: Add new test files.
19941 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
19942 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
19944 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
19945 * localedata/am_ET.UTF-8.in: New test file.
19946 * localedata/az_AZ.UTF-8.in: Likewise.
19947 * localedata/be_BY.UTF-8.in: Likewise.
19948 * localedata/ber_DZ.UTF-8.in: Likewise.
19949 * localedata/ber_MA.UTF-8.in: Likewise.
19950 * localedata/bg_BG.UTF-8.in: Likewise.
19951 * localedata/br_FR.UTF-8.in: Likewise.
19952 * localedata/cmn_TW.UTF-8.in: Likewise.
19953 * localedata/crh_UA.UTF-8.in: Likewise.
19954 * localedata/csb_PL.UTF-8.in: Likewise.
19955 * localedata/cv_RU.UTF-8.in: Likewise.
19956 * localedata/cy_GB.UTF-8.in: Likewise.
19957 * localedata/dz_BT.UTF-8.in: Likewise.
19958 * localedata/eo.UTF-8.in: Likewise.
19959 * localedata/es_ES.UTF-8.in: Likewise.
19960 * localedata/fa_IR.UTF-8.in: Likewise.
19961 * localedata/fi_FI.UTF-8.in: Likewise.
19962 * localedata/fil_PH.UTF-8.in: Likewise.
19963 * localedata/fur_IT.UTF-8.in: Likewise.
19964 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
19965 * localedata/ha_NG.UTF-8.in: Likewise.
19966 * localedata/ig_NG.UTF-8.in: Likewise.
19967 * localedata/ik_CA.UTF-8.in: Likewise.
19968 * localedata/kk_KZ.UTF-8.in: Likewise.
19969 * localedata/ku_TR.UTF-8.in: Likewise.
19970 * localedata/ky_KG.UTF-8.in: Likewise.
19971 * localedata/ln_CD.UTF-8.in: Likewise.
19972 * localedata/mi_NZ.UTF-8.in: Likewise.
19973 * localedata/ml_IN.UTF-8.in: Likewise.
19974 * localedata/mn_MN.UTF-8.in: Likewise.
19975 * localedata/mr_IN.UTF-8.in: Likewise.
19976 * localedata/mt_MT.UTF-8.in: Likewise.
19977 * localedata/nb_NO.UTF-8.in: Likewise.
19978 * localedata/om_KE.UTF-8.in: Likewise.
19979 * localedata/os_RU.UTF-8.in: Likewise.
19980 * localedata/ps_AF.UTF-8.in: Likewise.
19981 * localedata/ro_RO.UTF-8.in: Likewise.
19982 * localedata/ru_RU.UTF-8.in: Likewise.
19983 * localedata/sc_IT.UTF-8.in: Likewise.
19984 * localedata/se_NO.UTF-8.in: Likewise.
19985 * localedata/sq_AL.UTF-8.in: Likewise.
19986 * localedata/sv_SE.UTF-8.in: Likewise.
19987 * localedata/szl_PL.UTF-8.in: Likewise.
19988 * localedata/tg_TJ.UTF-8.in: Likewise.
19989 * localedata/tk_TM.UTF-8.in: Likewise.
19990 * localedata/tt_RU.UTF-8.in: Likewise.
19991 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
19992 * localedata/ug_CN.UTF-8.in: Likewise.
19993 * localedata/uz_UZ.UTF-8.in: Likewise.
19994 * localedata/vi_VN.UTF-8.in: Likewise.
19995 * localedata/yi_US.UTF-8.in: Likewise.
19996 * localedata/yo_NG.UTF-8.in: Likewise.
19997 * localedata/zh_CN.UTF-8.in: Likewise.
19998 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
19999 file and fix bugs in the collation.
20000 * localedata/locales/az_AZ: Likewise.
20001 * localedata/locales/be_BY: Likewise.
20002 * localedata/locales/ber_DZ: Likewise.
20003 * localedata/locales/ber_MA: Likewise.
20004 * localedata/locales/bg_BG: Likewise.
20005 * localedata/locales/br_FR: Likewise.
20006 * localedata/locales/br_FR@euro: Likewise.
20007 * localedata/locales/ca_ES: Likewise.
20008 * localedata/locales/cns11643_stroke: Likewise.
20009 * localedata/locales/crh_UA: Likewise.
20010 * localedata/locales/cs_CZ: Likewise.
20011 * localedata/locales/csb_PL: Likewise.
20012 * localedata/locales/cv_RU: Likewise.
20013 * localedata/locales/cy_GB: Likewise.
20014 * localedata/locales/da_DK: Likewise.
20015 * localedata/locales/dz_BT: Likewise.
20016 * localedata/locales/en_CA: Likewise.
20017 * localedata/locales/eo: Likewise.
20018 * localedata/locales/es_CU: Likewise.
20019 * localedata/locales/es_EC: Likewise.
20020 * localedata/locales/es_ES: Likewise.
20021 * localedata/locales/es_US: Likewise.
20022 * localedata/locales/et_EE: Likewise.
20023 * localedata/locales/fa_IR: Likewise.
20024 * localedata/locales/fi_FI: Likewise.
20025 * localedata/locales/fil_PH: Likewise.
20026 * localedata/locales/fur_IT: Likewise.
20027 * localedata/locales/gez_ER@abegede: Likewise.
20028 * localedata/locales/ha_NG: Likewise.
20029 * localedata/locales/hr_HR: Likewise.
20030 * localedata/locales/hsb_DE: Likewise.
20031 * localedata/locales/hu_HU: Likewise.
20032 * localedata/locales/ig_NG: Likewise.
20033 * localedata/locales/ik_CA: Likewise.
20034 * localedata/locales/is_IS: Likewise.
20035 * localedata/locales/iso14651_t1_pinyin: Likewise.
20036 * localedata/locales/kk_KZ: Likewise.
20037 * localedata/locales/ku_TR: Likewise.
20038 * localedata/locales/ky_KG: Likewise.
20039 * localedata/locales/ln_CD: Likewise.
20040 * localedata/locales/lt_LT: Likewise.
20041 * localedata/locales/lv_LV: Likewise.
20042 * localedata/locales/mi_NZ: Likewise.
20043 * localedata/locales/ml_IN: Likewise.
20044 * localedata/locales/mn_MN: Likewise.
20045 * localedata/locales/mr_IN: Likewise.
20046 * localedata/locales/mt_MT: Likewise.
20047 * localedata/locales/nb_NO: Likewise.
20048 * localedata/locales/om_KE: Likewise.
20049 * localedata/locales/os_RU: Likewise.
20050 * localedata/locales/pl_PL: Likewise.
20051 * localedata/locales/ps_AF: Likewise.
20052 * localedata/locales/ro_RO: Likewise.
20053 * localedata/locales/ru_RU: Likewise.
20054 * localedata/locales/ru_UA: Likewise.
20055 * localedata/locales/sc_IT: Likewise.
20056 * localedata/locales/se_NO: Likewise.
20057 * localedata/locales/si_LK: Likewise.
20058 * localedata/locales/sq_AL: Likewise.
20059 * localedata/locales/sv_FI: Likewise.
20060 * localedata/locales/sv_FI@euro: Likewise.
20061 * localedata/locales/sv_SE: Likewise.
20062 * localedata/locales/szl_PL: Likewise.
20063 * localedata/locales/tg_TJ: Likewise.
20064 * localedata/locales/ti_ER: Likewise.
20065 * localedata/locales/tk_TM: Likewise.
20066 * localedata/locales/tl_PH: Likewise.
20067 * localedata/locales/tr_TR: Likewise.
20068 * localedata/locales/tt_RU: Likewise.
20069 * localedata/locales/tt_RU@iqtelif: Likewise.
20070 * localedata/locales/ug_CN: Likewise.
20071 * localedata/locales/uk_UA: Likewise.
20072 * localedata/locales/uz_UZ: Likewise.
20073 * localedata/locales/uz_UZ@cyrillic: Likewise.
20074 * localedata/locales/vi_VN: Likewise.
20075 * localedata/locales/yi_US: Likewise.
20076 * localedata/locales/yo_NG: Likewise.
20078 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20080 * gen-locales.mk: Make test files which contain @ modifiers in their
20082 * localedata/gen-locale.sh: Likewise.
20084 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20086 * posix/tst-fnmatch.input: Fix results for range expressions
20088 * posix/tst-regexloc.c: Do not use a range expression for
20089 de_DE.ISO-8859-1 locale.
20091 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20093 * posix/bug-regex5.c: Fix test case because with the new
20094 iso14651_t1_common file, the da_DK locale now has 6 collating elements
20095 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
20098 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20100 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
20101 downloaded from ISO, the collation order of @-. and space has changed.
20102 Therefore, this test file needed to be adapted.
20103 * localedata/fr_CA.UTF-8.in: Likewise.
20104 * localedata/fr_FR.UTF-8.in: Likewise.
20105 * localedata/uk_UA.UTF-8.in: Likewise.
20107 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20109 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
20110 order of ȥ in the new iso14651_t1_common file.
20111 * localedata/pl_PL.UTF-8.in: Likewise.
20113 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20115 * localedata/locales/iso14651_t1_common: Add sections for various
20116 scripts to the iso14651_t1_common file.
20118 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20120 * localedata/locales/iso14651_t1_common: Use the code point of a
20121 character in the fourth collation level instead of IGNORE for all
20122 entries which have IGNORE on all 4 levels.
20124 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20126 * localedata/locales/iso14651_t1_common: Add some convenient collation
20127 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
20128 rules similar to those in CLDR.
20130 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20132 * localedata/locales/iso14651_t1_common: The new version of this
20133 file downloaded from ISO contained several syntax errors which
20134 are fixed by this patch.
20136 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20138 * localedata/locales/iso14651_t1_common: replace all <U.....>
20139 with <U000.....> because glibc understands only 4 digit or 8 digit
20141 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20143 * localedata/locales/iso14651_t1_common: Necessary changes
20144 to make the file downloaded from ISO usable by glibc.
20146 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20149 * localedata/locales/iso14651_t1_common: Update file to
20150 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
20152 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
20154 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
20155 of <nptl/pthreadP.h>
20156 (thread_attr_compare): Move function to...
20157 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
20158 * sysdeps/nptl/timer_routines.h: ... new header.
20159 * sysdeps/mach/hurd/gai_misc.h: New file.
20161 2018-02-26 Joseph Myers <joseph@codesourcery.com>
20163 * string/strcoll_l.c: Include <libc-diag.h>.
20164 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
20165 declarations of seq1 and seq2.
20168 * stdlib/atoi.c (atoi): Use libc_hidden_def.
20169 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
20171 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
20175 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
20176 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
20177 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
20178 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
20179 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
20180 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
20182 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20184 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
20185 macros used in __ptrace_request.
20187 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
20190 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
20192 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
20193 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
20194 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
20197 2018-02-23 Joseph Myers <joseph@codesourcery.com>
20200 * ctype/ctype.c (tolower): Use libc_hidden_def.
20201 (toupper): Likewise.
20202 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
20203 [!_ISOMAC] (toupper): Likewise.
20205 2018-02-23 Mike FABIAN <mfabian@redhat.com>
20207 * localedata/Makefile: Remove --quiet argument when
20210 2018-02-23 Mike FABIAN <mfabian@redhat.com>
20213 * localedata/locales/pt_BR (LC_TIME): use / instead of -
20215 * localedata/locales/pt_PT (LC_TIME): likewise
20217 2018-02-23 Mike FABIAN <mfabian@redhat.com>
20220 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
20221 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
20222 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
20224 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20228 * nptl/Makefile (routines): Remove unregister-atfork.
20229 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
20230 (fork_handler_alloc): Remove function.
20231 (fork_handlers, fork_handler_init): New variables.
20232 (__fork_lock): Rename to atfork_lock.
20233 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
20234 to use a dynamic array to add/remove atfork handlers.
20235 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
20236 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
20237 Remove declaration.
20238 (fork_handler): Remove next, refcntr, and need_signal member.
20239 (__run_fork_handler_type): New enum.
20240 (__run_fork_handlers): New prototype.
20241 * nptl/register-atfork.c: Remove file.
20242 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
20244 * sysdeps/nptl/nptl-signals.h: Move to ...
20245 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
20247 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
20248 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
20249 unnecessary check for SIGTIMER.
20250 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
20251 remove unnecessary removal of SIGTIMER.
20252 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
20253 include-signals.h rename.
20254 * nptl/pthreadP.h: Likewise.
20255 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
20256 __is_internal_signal instead of __nptl_is_internal_signal.
20258 2018-02-22 Andrew Waterman <andrew@sifive.com>
20261 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
20262 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
20263 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
20264 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
20266 2018-02-22 DJ Delorie <dj@delorie.com>
20268 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
20270 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
20272 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
20273 do_misaligned, not misaligned8.
20275 2018-02-22 Steve Ellcey <sellcey@cavium.com>
20277 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
20278 Add memcpy_thunderx2.
20279 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
20281 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
20282 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
20283 and IS_THUNDERX2PA checks.
20284 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
20285 Use macro to set name appropriately.
20286 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
20287 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
20288 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
20290 (IS_THUNDERX2): New macro.
20292 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
20294 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20296 2018-02-21 Zack Weinberg <zackw@panix.com>
20298 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
20299 Define here, unconditionally.
20300 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
20301 * libio/libioP.h: Remove #if 0 blocks.
20302 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
20303 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
20304 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
20306 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
20307 Assume weak_alias is always defined.
20309 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
20310 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
20311 Remove #if 0 and #ifdef TODO blocks.
20312 Assume text_set_element is always defined.
20314 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
20315 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
20316 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
20318 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
20319 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
20320 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
20321 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
20322 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
20323 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
20324 Reformat bit flags for _flags field to make occupancy clearer.
20326 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
20327 Keep definitions consistent with those in libio/libio.h.
20329 * libio/libio.h (_IO_file_flags): Remove macro.
20330 All uses changed to _flags.
20332 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
20333 (__HAVE_COLUMN, _IO_BE): Don't define.
20334 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
20335 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
20336 * libio/libioP.h (EOF): Don't define.
20337 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
20338 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
20339 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
20340 testing _IO_UNIFIED_JUMPTABLES.
20342 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
20343 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
20344 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
20345 (_IO_size_t): Delete; all uses changed to size_t.
20346 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
20347 (_IO_off_t): Delete; all uses changed to off_t.
20348 (_IO_off64_t): Delete; all uses changed to off64_t.
20349 (_IO_pid_t): Delete; all uses changed to pid_t.
20350 (_IO_uid_t): Delete; all uses changed to uid_t.
20351 (_IO_wint_t): Delete; all uses changed to wint_t.
20352 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
20353 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
20354 (_IO_cookie_io_functions_t): Delete; all uses changed to
20355 cookie_io_functions_t.
20356 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
20357 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
20358 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
20359 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
20361 * libio/iofopncook.c: Remove unnecessary forward declarations.
20362 * libio/iolibio.h: Correct outdated commentary.
20363 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
20364 * stdio-common/fxprintf.c (__fxprintf_nocancel):
20365 Remove unnecessary casts.
20366 * stdio-common/getline.c: Use _IO_getdelim directly.
20367 Don't redefine ssize_t.
20368 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
20369 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
20370 Remove outdated comments.
20371 * stdio-common/vfscanf.c: Don't redefine va_list.
20373 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
20374 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
20375 Remove preprocessor conditionals on _LIBC and __USE_GNU,
20376 which are always true, and __cplusplus, which is always false.
20378 2018-02-21 Joseph Myers <joseph@codesourcery.com>
20382 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
20383 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
20384 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
20385 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
20387 [!_ISOMAC] (putc_unlocked): Likewise.
20388 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
20389 define inline if [__USE_EXTERN_INLINES].
20390 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
20395 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
20396 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
20397 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
20398 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
20399 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
20401 * time/tzfile.c (__tzfile_read): Likewise.
20403 2018-02-21 Mike FABIAN <mfabian@redhat.com>
20406 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
20408 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
20410 * io/fcntl.h: Fix a typo in a comment.
20412 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
20415 * include/features.h: Add _ISOC11_SOURCE to test for whether to
20416 define _DEFAULT_SOURCE.
20417 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
20419 2018-02-21 Florian Weimer <fweimer@redhat.com>
20422 * elf/cache.c (save_cache): Call fsync on temporary file before
20424 (save_aux_cache): Call fdatasync on temporary file before renaming
20427 2018-02-21 Florian Weimer <fweimer@redhat.com>
20430 * include/caller.h: Remove file.
20431 * elf/dl-caller.c: Likewise.
20432 * elf/Makefile (dl-routines): Remove dl-caller.
20433 (shared-only-routines): Do not add dl-caller.
20434 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
20436 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
20438 (dl_open_worker): Do not call __check_caller.
20439 (_dl_open): Do not set caller_dl_open member.
20440 * elf/rtld.c (_rtld_global_ro): Do not initialize
20441 _dl_check_caller member.
20442 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
20443 _dl_check_caller member.
20444 (_dl_check_caller): Remove declaration.
20445 * sysdeps/unix/sysv/linux/dl-execstack.c
20446 (_dl_make_stack_executable): Do not call __check_caller.
20448 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
20450 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
20451 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
20453 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
20455 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
20458 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
20461 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
20462 of 199606L, 200112L, and 200809L.
20463 (_XOPEN_SOURCE): Document special values of 600 and 700.
20464 (_ISOC11_SOURCE): Document macro.
20465 (_ATFILE_SOURCE): Likewise.
20466 (_FORTIFY_SOURCE): Likewise.
20468 2018-02-19 Joseph Myers <joseph@codesourcery.com>
20472 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
20473 and define as weak alias of __ferror_unlocked. Use
20475 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
20477 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
20478 function if [__USE_EXTERN_INLINES].
20479 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
20482 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
20485 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
20487 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
20490 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
20491 the GLIBC_2.1 version.
20493 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
20496 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
20497 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
20498 intl/tst-gettext-de.po from po/de.po by removing the
20499 POT-Creation-Date line.
20500 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
20502 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
20505 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
20507 * mach/Makefile (headers): Add mach/param.h.
20508 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
20509 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
20510 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
20511 (__ptsname_r): Move implementation to...
20512 (__ptsname_internal): ... new function. Add filling the STP
20515 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
20517 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
20520 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
20522 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
20525 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
20527 * nptl/Makefile (tst-mutex8-ENV): Delete.
20528 * nptl/tst-mutex8.c (check_type):
20529 Add runtime check if mutex will be elided.
20531 2018-02-15 Joseph Myers <joseph@codesourcery.com>
20535 * manual/install.texi (Configuring and compiling): Describe
20536 passing CC and CFLAGS on configure command line, not as
20537 environment variables. Use @code markup on those variables.
20538 Specify what options go in CC and what go in CFLAGS. Note the
20539 requirement to compile with optimization.
20540 * INSTALL: Regenerated.
20543 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
20544 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
20545 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
20546 __sigprocmask instead of sigprocmask.
20547 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
20549 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
20550 __sigsetjmp and sigprocmask.
20553 * include/argz.h (argz_next): Use libc_hidden_proto.
20554 (__argz_next): Likewise.
20555 * string-argz-next.c (__argz_next): Use libc_hidden_def.
20556 (argz_next): Use libc_hidden_weak.
20559 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
20561 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
20565 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
20567 * libio/iofputs.c (fputs): Use libc_hidden_weak.
20571 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
20572 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
20573 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
20574 (__feof_unlocked): New declaration, and inline function if
20575 [__USE_EXTERN_INLINES].
20576 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
20577 instead of feof_unlocked.
20578 * intl/localealias.c [_LIBC] (FEOF): Likewise.
20579 * nss/nsswitch.c (nss_parse_file): Likewise.
20580 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
20582 * time/getdate.c (__getdate_r): Likewise.
20583 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
20584 Define as macro to call __feof_unlocked.
20586 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
20588 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
20590 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
20592 * math/Makefile: Remove mpexp.c and mplog.c
20593 * sysdeps/i386/fpu/mpexp.c: Delete file.
20594 * sysdeps/i386/fpu/mplog.c: Likewise.
20595 * sysdeps/ia64/fpu/mpexp.c: Likewise.
20596 * sysdeps/ia64/fpu/mplog.c: Likewise.
20597 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
20598 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
20599 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
20600 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20601 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
20602 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
20603 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
20604 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
20605 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
20606 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20607 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
20608 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
20609 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20610 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
20611 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
20612 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20614 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
20616 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20618 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20620 * sysdeps/sh/libm-test-ulps: Update.
20622 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20624 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
20627 2018-02-12 Zack Weinberg <zackw@panix.com>
20630 * posix/sys/types.h: Don't include sys/sysmacros.h.
20631 * misc/sys/sysmacros.h: Remove the conditional deprecation
20632 warnings for the macros defined by this header.
20634 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20636 * manual/probes.texi: Remove slowexp probes.
20637 * math/Makefile: Remove slowexp.
20638 * sysdeps/generic/math_private.h (__slowexp): Remove.
20639 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
20640 document error bounds.
20641 * sysdeps/i386/fpu/slowexp.c: Remove.
20642 * sysdeps/ia64/fpu/slowexp.c: Remove.
20643 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
20644 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
20645 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
20646 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
20647 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
20648 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
20649 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
20650 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
20651 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
20652 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
20653 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
20655 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
20658 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
20659 * benchtests/pow-inputs: Update comment for slow path cases.
20660 * manual/probes.texi (slowpow_p10): Delete removed probe.
20661 (slowpow_p10): Likewise.
20662 * math/Makefile: Remove halfulp.c and slowpow.c.
20663 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
20664 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
20665 (__halfulp): Remove.
20666 (__slowpow): Remove.
20667 * sysdeps/i386/fpu/halfulp.c: Delete file.
20668 * sysdeps/i386/fpu/slowpow.c: Likewise.
20669 * sysdeps/ia64/fpu/halfulp.c: Likewise.
20670 * sysdeps/ia64/fpu/slowpow.c: Likewise.
20671 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
20672 improve comments and add error analysis.
20673 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
20674 (power1): Remove function:
20675 (log1): Remove error argument, add error analysis.
20676 (my_log2): Remove function.
20677 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
20678 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20679 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
20680 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
20681 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
20682 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
20683 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
20684 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
20685 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
20686 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
20687 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
20688 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20689 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
20690 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20692 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
20694 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
20695 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
20697 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
20700 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
20701 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
20702 and PTRACE_SETHBPREGS.
20704 2018-02-10 Zack Weinberg <zackw@panix.com>
20707 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
20709 * malloc/tst-malloc-stats-cancellation.c: New test case.
20710 * malloc/Makefile: Add new test case.
20712 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
20714 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
20716 2018-02-10 Joseph Myers <joseph@codesourcery.com>
20718 * math/Makefile (libm-narrow-fns): Add add.
20719 (libm-test-funcs-narrow): Likewise.
20720 * math/Versions (GLIBC_2.28): Add narrowing add functions.
20721 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
20722 * math/gen-auto-libm-tests.c (test_functions): Add add.
20723 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
20724 (NARROW_ADD_ROUND_TO_ODD): Likewise.
20725 (NARROW_ADD_TRIVIAL): Likewise.
20726 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
20728 (__daddl): Likewise.
20729 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
20731 (CFLAGS-nldbl-dadd.c): New variable.
20732 (CFLAGS-nldbl-fadd.c): Likewise.
20733 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
20735 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
20737 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
20738 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
20739 * math/auto-libm-test-in: Add tests of add.
20740 * math/auto-libm-test-out-narrow-add: New generated file.
20741 * math/libm-test-narrow-add.inc: New file.
20742 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
20743 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
20744 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
20745 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
20746 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
20747 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
20748 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
20749 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
20750 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
20751 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
20752 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
20753 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
20754 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
20755 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
20756 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
20757 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
20758 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
20759 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
20760 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20761 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
20762 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20763 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20764 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20765 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20766 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20767 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20768 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20769 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20770 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20771 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20772 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20773 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
20775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
20776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
20777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
20778 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
20779 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20780 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20781 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20782 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20783 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20784 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
20785 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
20786 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20787 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20789 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
20790 (f128-pairs): New variable.
20791 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
20792 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
20794 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
20795 Also make tests add $(f128-loader-link) to gnulib-tests.
20797 2018-02-09 DJ Delorie <dj@redhat.com>
20800 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
20801 64-bit ELF type for 64-bit ELF objects.
20803 2018-02-09 Joseph Myers <joseph@codesourcery.com>
20805 * math/libm-test-driver.c (snan_tests_arg): New variable.
20806 * math/libm-test-support.h (snan_tests_arg): New declaration.
20807 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
20809 * math/Makefile (test-type-pairs): New variable.
20810 (test-type-pairs-f64xf128-yes): Likewise.
20811 (tests): Add test-narrow-macros.
20812 (libm-test-funcs-narrow): New variable.
20813 (libm-test-c-narrow): Likewise.
20814 (generated): Add $(libm-test-c-narrow).
20815 (libm-tests-base-narrow): New variable.
20816 (libm-tests-narrow): Likewise.
20817 (libm-tests): Add $(libm-tests-narrow).
20818 (libm-tests-for-type): Handle $(libm-tests-narrow).
20819 (libm-test-c-narrow-obj): New variable.
20820 ($(libm-test-c-narrow-obj)): New rule.
20821 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
20822 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
20823 $(o-iterator) to set dependencies and CFLAGS.
20824 * math/gen-auto-libm-tests.c: Document use for narrowing
20826 (output_for_one_input_case): Take argument NARROW.
20827 (generate_output): Likewise. Update call to
20828 output_for_one_input_case.
20829 (main): Take --narrow option. Update call to generate_output.
20830 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
20831 (apply_lit): Update call to _apply_lit.
20832 (apply_arglit): New function.
20833 (parse_args): Handle "a" arguments.
20834 (parse_auto_input): Handle format names using ":".
20835 * math/README.libm-test: Document "a" parameter type.
20836 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
20837 (ARG_TYPE_TRUE_MIN): Likewise.
20838 (ARG_TYPE_MAX): Likwise.
20839 (ARG_MIN_EXP): Likewise.
20840 (ARG_MAX_EXP): Likewise.
20841 (ARG_MANT_DIG): Likewise.
20842 (TEST_COND_arg_ibm128): Likewise.
20843 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
20844 (TEST_COND_arg_fmt): New macro.
20845 (init_max_error): Update prototype.
20846 * math/libm-test-support.c (test_ibm128): New variable.
20847 (init_max_error): Take argument testing_ibm128 and set test_ibm128
20848 instead of using [TEST_COND_ibm128] conditional.
20849 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
20850 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
20851 [TEST_NARROW] (TEST_MSG): New definition.
20852 (arg_plus_zero): New macro.
20853 (arg_minus_zero): Likewise.
20854 (arg_plus_infty): Likewise.
20855 (arg_minus_infty): Likewise.
20856 (arg_qnan_value_pl): Likewise.
20857 (arg_qnan_value): Likewise.
20858 (arg_snan_value_pl): Likewise.
20859 (arg_snan_value): Likewise.
20860 (arg_max_value): Likewise.
20861 (arg_min_value): Likewise.
20862 (arg_min_subnorm_value): Likewise.
20863 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
20864 (RUN_TEST_LOOP_aa_f): New macro.
20865 (TEST_SUFF): New macro.
20866 (TEST_SUFF_STR): Likewise.
20867 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
20868 (TEST_COND_any_ibm128): New macro.
20869 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
20870 this_func. Update call to init_max_error.
20871 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
20872 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
20873 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
20874 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
20875 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
20876 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
20877 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
20878 * math/test-math-scalar.h (TEST_NARROW): Likewise.
20879 * math/test-math-vector.h (TEST_NARROW): Likewise.
20880 * math/test-arg-double.h: New file.
20881 * math/test-arg-float128.h: Likewise.
20882 * math/test-arg-float32x.h: Likewise.
20883 * math/test-arg-float64.h: Likewise.
20884 * math/test-arg-float64x.h: Likewise.
20885 * math/test-arg-ldouble.h: Likewise.
20886 * math/test-math-narrow.h: Likewise.
20887 * math/test-narrow-macros.c: Likewise.
20888 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
20889 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
20890 test-narrow-macros-ldbl-64.
20891 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
20893 * math/bits/mathcalls-narrow.h: New file.
20894 * include/bits/mathcalls-narrow.h: Likewise.
20895 * math/math-narrow.h: Likewise.
20896 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
20897 (__MATHCALL_NARROW_ARGS_2): Likewise.
20898 (__MATHCALL_NARROW_ARGS_3): Likewise.
20899 (__MATHCALL_NARROW_NORMAL): Likewise.
20900 (__MATHCALL_NARROW_REDIR): Likewise.
20901 (__MATHCALL_NARROW): Likewise.
20902 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
20903 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
20905 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
20906 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
20907 (libm-narrow-fns): New variable.
20908 (libm-narrow-types-basic): Likewise.
20909 (libm-narrow-types-ldouble-yes): Likewise.
20910 (libm-narrow-types-float128-yes): Likewise.
20911 (libm-narrow-types-float128-alias-yes): Likewise.
20912 (libm-narrow-types): Likewise.
20913 (libm-routines): Add narrowing functions.
20914 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
20915 (libc_feholdexcept_setroundf128): New macro.
20916 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
20917 * sysdeps/ieee754/float128/float128_private.h: Include
20918 <math/math-narrow.h>.
20919 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
20920 Undefine and redefine.
20921 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
20922 (libm_alias_float_ldouble): Undefine and redefine.
20923 (libm_alias_double_ldouble): Likewise.
20925 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
20927 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
20929 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
20932 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
20934 * manual/creature.texi: Convert references to gcc.info to gcc.
20935 * manual/stdio.texi: Likewise.
20936 * manual/string.texi: Likewise.
20938 2018-02-07 Joseph Myers <joseph@codesourcery.com>
20941 * posix/bits/types.h (__int_least8_t): New typedef.
20942 (__uint_least8_t): Likewise.
20943 (__int_least16_t): Likewise.
20944 (__uint_least16_t): Likewise.
20945 (__int_least32_t): Likewise.
20946 (__uint_least32_t): Likewise.
20947 (__int_least64_t): Likewise.
20948 (__uint_least64_t): Likewise.
20949 * sysdeps/generic/stdint.h (int_least8_t): Define using
20951 (int_least16_t): Define using __int_least16_t.
20952 (int_least32_t): Define using __int_least32_t.
20953 (int_least64_t): Define using __int_least64_t.
20954 (uint_least8_t): Define using __uint_least8_t.
20955 (uint_least16_t): Define using __uint_least16_t.
20956 (uint_least32_t): Define using __uint_least32_t.
20957 (uint_least64_t): Define using __uint_least64_t.
20958 * wcsmbs/uchar.h: Include <bits/types.h>.
20959 (char16_t): Define using __uint_least16_t conditional only on
20961 (char32_t): Define using __uint_least32_t conditional only on
20963 * wcsmbs/test-char-types.c: New file.
20964 * wcsmbs/Makefile (tests): Add test-char-types.
20966 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
20969 2018-02-07 Zack Weinberg <zackw@panix.com>
20971 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
20972 Delete all contents except for definitions of _G_HAVE_MMAP and
20973 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
20974 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
20975 sysdeps/unix/sysv/linux/_G_config.h. Make same content
20978 * libio/libio.h: Don't include bits/_G_config.h here.
20979 Include stddef.h with __need_wchar_t defined. Include
20980 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
20981 Define _IO_iconv_t here, directly.
20982 Don't define _IO_HAVE_ST_BLKSIZE.
20983 * libio/libioP.h: Include _G_config.h here. Move include of
20984 shlib-compat.h up with rest of includes. Simplify conditionals
20985 controlling definition of _IO_JUMPS_OFFSET.
20987 * csu/init.c: Remove always-true #if around entire file.
20988 Don't include stdio.h. Set _IO_stdin_used to hardwired
20989 constant 0x20001, and update commentary.
20990 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
20991 Replace all uses of _G_va_list with __gnuc_va_list.
20992 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
20993 instead of #if _IO_HAVE_ST_BLKSIZE.
20994 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
20995 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
20998 * libio/bits/libio.h: Move back to libio/libio.h and adjust
20999 multiple-include guard to match.
21000 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
21002 Remove preprocessor conditionals that are always true and/or
21003 redundant to other preprocessor conditionals in the same nest.
21004 Include shlib-compat.h unconditionally.
21005 Error out if _LIBC is not defined, or if _ISOMAC is defined,
21006 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
21007 defined after including stdio.h.
21008 Use __BEGIN_DECLS/__END_DECLS.
21010 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
21011 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
21012 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
21014 2018-02-07 Zack Weinberg <zackw@panix.com>
21016 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
21017 New single-type headers split from _G_config.h.
21018 * libio/bits/types/cookie_io_functions_t.h
21019 * libio/bits/types/struct_FILE.h
21020 New single-type headers split from libio.h.
21022 * libio/Makefile: Install the above new headers. Don't install
21023 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
21025 * libio/_G_config.h, libio/libio.h: Delete file.
21027 * libio/bits/libio.h: Remove improper-inclusion guard.
21028 Include stdio.h and don't repeat anything that it does.
21029 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
21030 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
21031 __io_read_fn as cookie_read_function_t,
21032 __io_write_fn as cookie_write_function_t,
21033 __io_seek_fn as cookie_seek_function_t,
21034 __io_close_fn as cookie_close_function_t,
21035 and _IO_cookie_io_functions_t as cookie_io_functions_t.
21036 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
21037 here, in the "compatibility defines" section. Remove an #if 0
21038 block. Use the "body" macros from bits/types/struct_FILE.h to
21039 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
21040 and _IO_ferror_unlocked.
21041 Move prototypes of __uflow and __overflow...
21043 * libio/stdio.h: ...here. Don't include bits/libio.h.
21044 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
21045 directly from stdarg.h. Include bits/types/__fpos_t.h,
21046 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
21047 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
21048 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
21049 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
21050 cookie_io_functions_t, not _IO_cookie_io_functions_t;
21051 __ssize_t, not _IO_ssize_t. Unconditionally define
21052 BUFSIZ as 8192 and EOF as (-1).
21054 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
21055 macros from bits/types/struct_FILE.h instead of _IO_* macros
21056 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
21057 instead of _IO_ssize_t.
21058 * libio/bits/stdio2.h: Similarly.
21060 * libio/iolibio.h: Add multiple-include guard.
21061 Include bits/libio.h after stdio.h.
21062 * libio/libioP.h: Add multiple-include guard.
21063 Include stdio.h and bits/libio.h before iolibio.h.
21065 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
21066 * include/bits/types/cookie_io_functions_t.h
21067 * include/bits/types/struct_FILE.h: New wrappers.
21069 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
21070 Get definitions of _G_fpos_t and _G_fpos64_t from
21071 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
21072 respectively. Remove improper-inclusion guards.
21074 * conform/data/stdio.h-data: Update expectations of va_list.
21075 * scripts/check-installed-headers.sh: Remove special case for
21076 libio.h and _G_config.h.
21078 2018-02-07 Joseph Myers <joseph@codesourcery.com>
21082 * include/sys/sysmacros.h [!_ISOMAC]
21083 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
21084 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
21085 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
21086 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
21088 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
21089 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
21091 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
21092 Undefine and redefine to add use __gnu_dev_ prefix.
21093 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
21095 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
21096 and define as hidden inline function.
21097 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
21099 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
21101 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
21102 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
21103 (gnu_dev_minor): Likewise.
21104 (gnu_dev_makedev): Likewise.
21105 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
21107 * posix/wordexp.c (exec_comm_child): Likewise.
21108 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
21109 instead of minor and __gnu_dev_major instead of major.
21110 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
21111 __gnu_dev_major instead of major.
21112 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
21113 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
21114 instead of gnu_dev_minor.
21115 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
21116 (SLAVE_P): Likewise.
21117 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
21118 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
21122 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
21124 * locale/weightwc.h (findidx): Likewise.
21126 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
21128 * manual/probes.texi (slowlog): Delete documentation of removed probe.
21129 (slowlog_inexact): Likewise
21130 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
21131 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
21133 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
21136 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
21137 missing second underscore to parameter name.
21139 2018-02-06 Joseph Myers <joseph@codesourcery.com>
21145 * bits/byteswap.h: Update file comment. Do not include
21146 <bits/byteswap-16.h>.
21147 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
21149 (__bswap_16): Define as inline function.
21150 (__bswap_constant_32): Reformat definition.
21151 (__bswap_32): Always define as inline function, not macro, using
21152 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
21153 otherwise __bswap_constant_32.
21154 (__bswap_constant_64): Reformat definition. Do not use
21155 __extension__ here.
21156 (__bswap_64): Always define as inline function, not macro. Use
21157 __extension__ on function definition. Use __builtin_bswap64 if
21158 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
21159 * string/test-endian-file-scope.c: New file.
21160 * string/test-endian-sign-conversion.c: Likewise.
21161 * string/Makefile (headers): Remove bits/byteswap-16.h.
21162 (tests): Add test-endian-file-scope and
21163 test-endian-sign-conversion.
21164 (CFLAGS-test-endian-sign-conversion.c): New variable.
21165 * bits/byteswap-16.h: Remove file.
21166 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
21167 * sysdeps/ia64/bits/byteswap.h: Likewise.
21168 * sysdeps/m68k/bits/byteswap.h: Likewise.
21169 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21170 * sysdeps/s390/bits/byteswap.h: Likewise.
21171 * sysdeps/tile/bits/byteswap.h: Likewise.
21172 * sysdeps/x86/bits/byteswap-16.h: Likewise.
21173 * sysdeps/x86/bits/byteswap.h: Likewise.
21176 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
21177 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
21178 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
21179 199901L] (__restrict): Define to restrict.
21182 * string/testcopy.c: Include <support/support.h>. Do not include
21183 <malloc.h>. Use <support/test-driver.c>.
21184 (main): Rename to do_test. Make static. Use xmalloc instead of
21188 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
21189 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
21190 (SSIZE_MAX): Define to INT_MAX.
21191 * posix/test-ssize-max.c: New file.
21192 * posix/Makefile (tests): Add test-ssize-max.
21195 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
21196 <support/support.h>. Do not include <malloc.h>.
21197 (query_auxv): Use xmalloc instead of malloc.
21200 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
21201 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
21204 2018-02-06 Florian Weimer <fweimer@redhat.com>
21207 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21208 Use scratch_buffer instead of extend_alloca.
21210 2018-02-06 Zack Weinberg <zackw@panix.com>
21212 * libio/stdio.h: Don't define getc or putc as macros.
21213 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
21214 not _IO_getc and _IO_putc.
21216 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
21217 * stdio-common/tstgetln.c: Don't redefine ssize_t.
21219 2018-02-06 Joseph Myers <joseph@codesourcery.com>
21221 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
21222 (TCP_FASTOPEN_NO_COOKIE): Likewise.
21224 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
21227 * elf/elf.h (NT_PRFPREG): New macro.
21228 (NT_S390_VXRS_LOW): Likewise.
21229 (NT_S390_VXRS_HIGH): Likewise.
21230 (NT_S390_GS_CB): Likewise.
21231 (NT_S390_GS_BC): Likewise.
21232 (NT_S390_RI_CB): Likewise.
21234 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
21235 (MAP_SYNC): New macro.
21236 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
21238 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
21239 (MAP_SYNC): Likewise.
21240 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
21241 (MAP_SYNC): Likewise.
21242 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
21243 (MAP_SYNC): Likewise.
21244 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
21245 (MAP_SYNC): Likewise.
21246 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
21247 (MAP_SYNC): Likewise.
21248 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
21249 (MAP_SYNC): Likewise.
21250 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
21252 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
21255 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
21256 (MAP_SHARED_VALIDATE): New macro.
21257 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
21258 (MAP_SHARED_VALIDATE): Likewise.
21260 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21262 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
21263 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
21264 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
21266 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21268 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
21269 (DT_NUM): Updated to 35.
21271 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21273 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
21274 __builtin_expect with __glibc_likely and __glibc_unlikely.
21275 (elf_machine_rela): Likewise.
21276 (elf_machine_lazy_rel): Likewise.
21278 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21280 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
21281 __builtin_expect with __glibc_likely and __glibc_unlikely.
21282 (elf_machine_lazy_rel): Likewise.
21284 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21287 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
21289 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
21291 2018-02-05 Andreas Schwab <schwab@suse.de>
21294 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
21297 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21299 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
21300 not check against PTHREAD_STACK_MIN.
21302 2018-02-02 Sean McKean <smckean83@gmail.com>
21305 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
21307 2018-02-02 Florian Weimer <fweimer@redhat.com>
21310 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
21311 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
21312 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
21313 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
21314 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
21315 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
21316 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
21317 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
21318 * manual/llio.texi (Scatter-Gather): Mention offset -1.
21319 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
21320 * misc/tst-preadvwritev2.c (do_test): Call it.
21321 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
21323 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
21325 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
21327 * benchtests/bench-memcmp.c: Print json instead of plain text.
21329 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
21332 2018-02-01 Joseph Myers <joseph@codesourcery.com>
21334 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
21336 (s390_sthyi): New syscall.
21338 * sysdeps/generic/ldbl-classify-compat.h: New file.
21339 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
21340 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
21341 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
21342 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
21343 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
21344 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
21345 * sysdeps/ieee754/dbl-64/s_finite.c: Include
21346 <ldbl-classify-compat.h>.
21347 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21348 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
21349 <ldbl-classify-compat.h>.
21350 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21351 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
21352 <ldbl-classify-compat.h>.
21353 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21354 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
21355 <ldbl-classify-compat.h>.
21356 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21357 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
21358 <ldbl-classify-compat.h>.
21359 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21360 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
21361 <ldbl-classify-compat.h>.
21362 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21363 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
21364 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
21365 * sysdeps/m68k/coldfire/math_private.h: Remove file.
21366 * sysdeps/microblaze/math_private.h: Likewise.
21367 * sysdeps/nios2/math_private.h: Likewise.
21368 * sysdeps/sh/math_private.h: Likewise.
21370 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
21371 * sysdeps/m68k/coldfire/math_private.h: ... here.
21372 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
21373 * sysdeps/tile/math_private.h: Likewise.
21374 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
21376 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
21379 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
21381 (libc_fetestexcept): Likewise.
21382 (libc_feupdateenv_test): Likewise.
21383 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
21384 (libc_fetestexcept): Likewise.
21385 (libc_feupdateenv_test): Likewise.
21386 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
21387 (libc_fetestexcept): Likewise.
21388 (libc_feupdateenv_test): Likewise.
21389 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
21390 (libc_fetestexcept): Likewise.
21391 (libc_feupdateenv_test): Likewise.
21393 * sysdeps/generic/math_private.h
21394 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
21395 New inline function.
21396 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
21399 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
21400 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
21401 * sysdeps/generic/math_private.h
21402 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
21404 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
21406 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
21408 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
21410 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
21412 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
21414 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
21415 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
21416 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
21417 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
21418 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
21419 (__fegetenv): Likewise.
21420 (fesetenv): Likewise.
21421 (__fesetenv): Likewise.
21422 (feupdateenv): Likewise.
21423 (__feupdateenv): Likewise.
21424 (fegetround): Likewise.
21425 (__fegetround): Likewise.
21426 (fesetround): Likewise.
21427 (__fesetround): Likewise.
21429 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
21430 (feraiseexcept): New macro.
21431 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
21432 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
21434 (__feraiseexcept): Likewise.
21435 (feclearexcept): Likewise.
21436 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
21437 (__feraiseexcept): Likewise.
21438 (feclearexcept): Likewise.
21439 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
21440 (__feraiseexcept): Likewise.
21441 (feclearexcept): Likewise.
21442 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
21443 (__feraiseexcept): Likewise.
21444 (feclearexcept): Likewise.
21445 (fetestexcept): Likewise.
21447 * sysdeps/m68k/coldfire/math-tests.h: New file.
21449 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
21450 * sysdeps/m68k/bits/fenv.h: ... here.
21451 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
21453 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
21455 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
21457 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
21459 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
21461 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
21463 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
21464 (__FE_UNDEFINED): New enum constant.
21465 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
21467 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
21469 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
21471 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
21472 to match generic bits/fenv.h.
21473 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
21476 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
21478 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
21479 * soft-fp/half.h (union _FP_UNION_H): Likewise.
21480 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
21481 * soft-fp/single.h (union _FP_UNION_S): Likewise.
21483 2018-02-01 Carlos O'Donell <carlos@redhat.com>
21484 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
21485 Joseph Myers <joseph@codesourcery.com>
21488 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
21489 (__log1p): Disable -Wmaybe-uninitialized for -Os around
21490 computation using c.
21491 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
21492 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
21493 computation using c.
21495 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
21497 * version.h (RELEASE): Set to "development".
21498 (VERSION): Set to "2.27.9000".
21499 * NEWS (2.28): New section.
21501 * version.h (RELEASE): Set to "stable".
21502 (VERSION): Set to "2.27".
21503 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
21505 * NEWS: Add the list of bugs fixed in 2.27.
21507 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21509 * stdlib/test-atexit-race-common.c (do_test): Check stack size
21510 against PTHREAD_STACK_MIN.
21512 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
21514 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
21516 (Rafal Luzynski, Andreas Schwab): Update.
21518 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
21521 * NEWS: List the languages which actually use the alternative
21522 months feature in this release. Also explain that "alt_mon" and
21523 "ab_alt_mon" are optional.
21525 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
21528 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
21530 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
21532 * manual/install.texi (Tools for Compilation): Update the newest
21533 versions of gcc, binutils, texinfo, gawk, bison, and sed.
21534 * INSTALL: Regenerated.
21536 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21538 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
21539 instead of __builtin_expect.
21541 2018-01-30 Florian Weimer <fweimer@redhat.com>
21543 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
21545 * nss/tst-nss-getpwent.c (do_test): Likewise.
21547 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
21550 * localedata/locales/hr_HR (mon): Rename to...
21552 (mon): Import from CLDR (genitive case).
21553 (d_t_fmt): Update the comment.
21555 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
21557 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
21558 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
21559 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
21561 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
21563 * mach/Versions: Fix version when __mach_host_self_ was added.
21564 * hurd/Versions: Fix version when _hurd_exec_paths was added.
21565 * sysdeps/mach/hurd/i386/ld.abilist: New file.
21566 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
21567 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
21568 * sysdeps/mach/hurd/i386/libc.abilist: New file.
21569 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
21570 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
21571 * sysdeps/mach/hurd/i386/libm.abilist: New file.
21572 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
21573 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
21574 * sysdeps/mach/hurd/i386/librt.abilist: New file.
21575 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
21576 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
21577 || to respect codestyle.
21578 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
21579 (do_test_bz20181): Rename accordingly.
21580 * malloc/malloc.c: Include <assert.h>.
21581 (assert): Do not define.
21582 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
21583 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
21584 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
21585 * sysdeps/mach/hurd/hp-timing.h: New file.
21586 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
21588 2018-01-29 Darius Rad <darius@bluespec.com>
21590 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
21592 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
21594 * sysdeps/init_array/crti.S (.section .init_array): Add
21595 PREINIT_FUNCTION when defined.
21596 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
21597 * config.h.in: Regenerate.
21598 * manual/platform.texi: Add RISC-V documenation for
21599 __riscv_flush_icache.
21600 * sysdeps/riscv/__longjmp.S: New file.
21601 * sysdeps/riscv/backtrace.c: Likewise.
21602 * sysdeps/riscv/bits/endian.h: Likewise.
21603 * sysdeps/riscv/bits/setjmp.h: Likewise.
21604 * sysdeps/riscv/bits/wordsize.h: Likewise.
21605 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
21606 * sysdeps/riscv/bsd-setjmp.c: Likewise.
21607 * sysdeps/riscv/dl-trampoline.S: Likewise.
21608 * sysdeps/riscv/gccframe.h: Likewise.
21609 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
21610 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
21611 * sysdeps/riscv/machine-gmon.h: Likewise.
21612 * sysdeps/riscv/memusage.h: Likewise.
21613 * sysdeps/riscv/setjmp.S: Likewise.
21614 * sysdeps/riscv/sys/asm.h: Likewise.
21615 * sysdeps/riscv/tls-macros.h: Likewise.
21616 * sysdeps/riscv/dl-tls.h: New file.
21617 * sysdeps/riscv/libc-tls.c: Likewise.
21618 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
21619 * sysdeps/riscv/nptl/tls.h: Likewise.
21620 * sysdeps/riscv/stackinfo.h: Likewise.
21621 * sysdeps/riscv/bits/fenv.h: New file.
21622 * sysdeps/riscv/e_sqrtl.c: Likewise.
21623 * sysdeps/riscv/fpu_control.h: Likewise.
21624 * sysdeps/riscv/math-tests.h: Likewise.
21625 * sysdeps/riscv/nofpu/Implies: Likewise.
21626 * sysdeps/riscv/sfp-machine.h: Likewise.
21627 * sysdeps/riscv/tininess.h: Likewise.
21628 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
21629 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
21630 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
21631 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
21632 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
21633 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
21634 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
21635 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
21636 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
21637 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
21638 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
21639 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
21640 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
21641 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
21642 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
21643 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
21644 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
21645 * sysdeps/riscv/rvd/s_finite.c: Likewise.
21646 * sysdeps/riscv/rvd/s_fma.c: Likewise.
21647 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
21648 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
21649 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
21650 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
21651 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
21652 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
21653 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
21654 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
21655 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
21656 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
21657 * sysdeps/riscv/rvf/fegetround.c: Likewise.
21658 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
21659 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
21660 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
21661 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
21662 * sysdeps/riscv/rvf/fesetround.c: Likewise.
21663 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
21664 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
21665 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
21666 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
21667 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
21668 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
21669 * sysdeps/riscv/rvf/math_private.h: Likewise.
21670 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
21671 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
21672 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
21673 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
21674 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
21675 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
21676 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
21677 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
21678 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
21679 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
21680 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
21681 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
21682 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
21683 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
21684 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
21685 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
21686 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
21687 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
21688 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
21689 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
21690 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
21691 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
21692 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
21693 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
21694 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
21695 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
21696 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
21697 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
21698 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
21699 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
21700 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
21701 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
21702 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
21703 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
21704 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
21705 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
21706 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
21707 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
21708 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
21709 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
21710 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
21711 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
21712 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
21713 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
21714 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
21715 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
21716 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
21717 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
21718 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
21719 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
21720 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
21721 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
21722 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
21723 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
21724 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
21725 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
21726 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
21727 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
21728 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
21729 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
21730 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
21731 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
21732 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
21733 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
21734 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
21735 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
21736 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
21737 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
21738 * sysdeps/riscv/Implies: New file.
21739 * sysdeps/riscv/Makefile: Likewise.
21740 * sysdeps/riscv/configure: Likewise.
21741 * sysdeps/riscv/configure.ac: Likewise.
21742 * sysdeps/riscv/nptl/Makefile: Likewise.
21743 * sysdeps/riscv/preconfigure: Likewise.
21744 * sysdeps/riscv/rv64/Implies-after: Likewise.
21745 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
21746 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
21747 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
21748 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
21749 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
21750 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
21751 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
21752 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
21753 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
21754 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
21755 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
21756 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
21757 (Config): Likewise.
21759 2018-01-29 Florian Weimer <fweimer@redhat.com>
21762 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
21763 libnsl_hidden_proto.
21764 * include/rpcsvc/yp.h (yp_xdrall): Declare with
21765 libnsl_hidden_proto.
21766 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
21767 * nis/Makefile (libnsl-routines): Add nss-default only for
21768 build-obsolete-nsl.
21769 * nis/nis_defaults.c (__nis_default_ttl): Add
21770 libnsl_hidden_nolink_def.
21771 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
21773 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
21774 * nis/ypclnt.c (yp_maplist): Likewise.
21776 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
21778 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21779 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
21781 2018-01-29 Joseph Myers <joseph@codesourcery.com>
21783 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
21784 clean -dxfq for git updates when replacing sources.
21786 * scripts/build-many-glibcs.py (Config.build_gcc): Use
21787 --disable-libcilkrts unconditionally, not just for the final GCC
21790 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
21793 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
21796 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
21799 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
21802 * localedata/locales/be_BY (mon): Rename to...
21803 (alt_mon): This, then synchronize with CLDR (nominative case).
21804 (abmon): Rename to...
21805 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
21806 (mon): Import from CLDR (genitive case).
21808 * localedata/locales/be_BY@latin (mon): Rename to...
21810 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
21812 * localedata/locales/be_BY@latin (lang_name): Reworded to
21813 "biełaruskaja mova".
21815 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
21818 * localedata/locales/el_CY (mon): Renamed to...
21820 (mon): Import from CLDR (genitive case).
21821 * localedata/locales/el_GR: Likewise.
21823 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
21826 * localedata/locales/ru_RU (mon): Rename to...
21828 (abmon): Rename to...
21829 (ab_alt_mon): This.
21830 (mon): Import from CLDR (genitive case).
21831 (abmon): Copy from the old content except the 5th month which is
21832 now in the genitive case, even when abbreviated.
21833 * localedata/locales/ru_UA: Likewise.
21834 * time/tst-strptime.c (day_tests): Add an actual example of
21835 a difference between %b and %Ob in Russian.
21837 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
21839 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
21840 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
21842 * resolv/res-close.c: Include <stdlib.h>.
21843 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
21844 <sys/wait.h>, <time.h>, <sys/uio.h>.
21845 (NOT_CANCEL_H): Add inclusion guard.
21846 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
21847 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
21848 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
21850 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
21851 vm_address_t * to ElfW(Addr) * for dl_main parameter.
21852 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
21854 * sysdeps/pthread/timer_create.c (timer_create): Do not use
21855 timer_ptr2id to cast struct timer_node * to void *.
21856 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
21857 --disable-libcilkrts to gcc configure.
21858 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
21859 and make them the default for now.
21860 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
21861 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
21862 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
21863 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
21864 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
21866 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
21867 __task_terminate would ever return successfully.
21868 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
21870 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
21871 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
21872 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
21873 critical section to make code simpler and avoid warning.
21874 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
21875 critical section to make code simpler and avoid warning.
21876 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
21877 const char * instead of char *.
21878 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
21879 __hurd_file_name_split, hurd_file_name_split,
21880 __hurd_directory_name_split, hurd_directory_name_split,
21881 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
21882 hurd_file_name_path_lookup): Make lookup function parameter take a
21883 const char *name instead of char *name.
21884 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
21885 __hurd_directory_name_split): Likewise.
21886 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
21887 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
21888 * sysdeps/mach/hurd/check_native.c: New file.
21889 * sysdeps/mach/hurd/check_pf.c: New file.
21890 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
21891 (__freeifaddrs): Define macro to freeifaddrs.
21892 * sysdeps/mach/hurd/libhurduser.abilist: New file.
21893 * sysdeps/mach/libmachuser.abilist: New file.
21894 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
21895 (do_test_bz20181): Rename accordingly.
21896 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
21897 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
21899 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
21900 version only if __USE_EXTERN_INLINES is defined.
21901 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
21902 __hurd_sockfail): Likewise.
21903 (_hurd_fd_get): Always declare functions, and provide inline versions
21904 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
21905 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
21906 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
21907 _hurd_port_set): Always declare functions, and provide inline versions
21908 only if __USE_EXTERN_INLINES and _LIBC are defined and
21910 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
21911 _hurd_critical_section_unlock): Likewise.
21912 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
21913 * __hurd_threadvar_location): Likewise.
21914 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
21915 _hurd_userlink_clear): Likewise.
21916 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
21917 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
21918 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
21919 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
21920 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
21921 __spin_lock_locked): Likewise.
21922 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
21923 __spin_lock_locked): Likewise.
21924 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
21925 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
21926 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
21927 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
21928 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
21929 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
21930 _POSIX_NO_TRUNC): Define to 0.
21931 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
21932 check size against PTHREAD_STACK_MIN.
21933 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
21934 IS_IN(libpthread)]: Include <sigsetops.h>.
21935 * mach/Makefile (user-interfaces): Add mach/gnumach.
21936 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
21937 * sysdeps/mach/configure (mach_interface_list): Regenerate.
21938 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
21939 instead of invalid -1.
21940 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
21941 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
21942 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
21945 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
21947 * hurd/fcntl-internal.h: New file.
21949 2018-01-27 James Clarke <jrtc27@jrtc27.com>
21951 * sysdeps/hppa/fpu/libm-test-ulps: Update.
21953 * sysdeps/alpha/fpu/libm-test-ulps: Update.
21955 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
21958 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
21959 Build only shared objects.
21961 2018-01-26 Carlos O'Donell <carlos@redhat.com>
21963 * README: Update for hppa.
21965 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21967 * sysdeps/sparc/fpu/libm-test-ulps: Update
21968 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
21970 2018-01-26 Carlos O'Donell <carlos@redhat.com>
21974 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21977 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21978 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
21979 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21980 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
21983 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21986 * bits/types/__cancel_jmp_buf_tag.h: New file.
21987 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
21988 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
21989 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
21990 * nptl/Makefile (headers): Add
21991 bits/types/__cancel_jmp_buf_tag.h.
21992 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
21993 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
21994 * sysdeps/nptl/pthread.h: Include
21995 <bits/types/__cancel_jmp_buf_tag.h>.
21996 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
21998 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
22000 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
22003 * localedata/locales/uk_UA (mon): Renamed to...
22005 (alt_digits): "0" removed and then renamed to...
22007 (date_fmt): Definition changed not to use the alternative
22010 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
22012 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
22013 FLAG_RISCV_FLOAT_ABI_DOUBLE.
22014 * elf/elf.h (EF_RISCV_RVC): New define.
22015 (EF_RISCV_FLOAT_ABI): Likewise.
22016 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
22017 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
22018 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22019 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
22020 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
22022 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22024 2018-01-25 Andreas Schwab <schwab@suse.de>
22026 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
22028 * sysdeps/gnu/configure: Regenerate.
22029 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
22030 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22032 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
22033 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
22034 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
22035 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
22036 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
22038 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
22040 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
22041 URL, and run autoconf, make it the default for now.
22043 2018-01-24 Joseph Myers <joseph@codesourcery.com>
22045 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22046 soft-float ColdFire configuration.
22048 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
22049 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
22050 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
22052 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
22055 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
22057 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
22059 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
22062 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
22063 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
22064 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
22067 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
22070 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
22071 Rename to __reserved and add comment.
22072 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
22073 Rename to __reserved.
22075 2018-01-24 Joseph Myers <joseph@codesourcery.com>
22077 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22078 i686-gnu configurations.
22079 (Context.run_builds): Include mig, gnumach and hurd in components
22081 (Context.checkout): Add mig, gnumach and hurd to components.
22082 (Context.checkout_tar): Add URL mappings for mig, gnumach and
22084 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
22085 (Config.build): Install gnumach headers, build mig and install
22086 hurd headers for 'gnu' OS.
22087 (Config.install_gnumach_headers): New function.
22088 (Config.install_hurd_headers): Likewise.
22089 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
22090 when building for 'gnu' OS.
22092 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
22094 * manual/tunables.texi (Hardware Capability Tunables): Fix
22097 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
22099 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
22100 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
22101 (ALTMON_11, ALTMON_12): Improve documentation.
22102 * manual/time.texi (strftime): Likewise.
22104 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
22107 * localedata/locales/pl_PL: Alternative month names added,
22108 primary month names are genitive now.
22109 * time/tst-strptime.c (day_tests): Actually use a genitive case
22110 of a month name in Polish language.
22112 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
22115 * manual/locale.texi: Document ALTMON_1..12 constants for
22116 nl_langinfo. Specify when to use ALTMON instead of MON.
22117 * manual/time.texi (strftime, strptime): Document GNU extension
22118 permitting O modifier with %B and %b. Specify when to use
22121 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
22124 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
22125 names, define them as the same as abbreviated month names explicitly.
22126 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
22127 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
22128 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
22129 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
22130 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
22131 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
22132 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
22133 _NL_WABALTMON_12): New enum constants.
22134 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
22135 wab_alt_mon, and ab_alt_mon_defined members.
22136 (time_output): Output ab_alt_mon and wab_alt_mon members.
22137 (time_read): Read them, initialize them as copies of abmon and wabmon
22138 respectively if they are missing, initialize ab_alt_mon_defined.
22139 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
22140 * locale/programs/locfile-kw.h: Regenerate.
22141 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
22142 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
22144 * time/strftime_l.c (a_altmonth, aam_len): New macros.
22145 [!COMPILE_WIDE] (ABALTMON_1): New macro.
22146 (__strftime_internal): Handle %Ob and %Oh formats.
22147 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
22148 (__strptime_internal): Handle %Ob and %Oh formats.
22149 * time/tst-strptime.c (day_tests): Add more tests to parse different
22150 forms of month names including the new %Ob format specifier.
22152 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
22155 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
22156 define them as the same as primary full month names explicitly.
22157 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
22158 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
22159 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
22160 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
22161 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
22162 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
22163 _NL_WALTMON_12): New enum constants.
22164 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
22165 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
22167 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
22168 walt_mon, and alt_mon_defined members.
22169 (time_output): Output alt_mon and walt_mon members.
22170 (time_read): Read them, initialize them as copies of mon and wmon
22171 respectively if they are missing, initialize alt_mon_defined.
22172 * locale/programs/locfile-kw.gperf (alt_mon): Define.
22173 * locale/programs/locfile-kw.h: Regenerate.
22174 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
22175 * localedata/tst-langinfo.c (map): Add tests for the new constants
22176 ALTMON_1 .. ALTMON_12.
22177 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
22179 * time/strftime_l.c (f_altmonth): New macro.
22180 (__strftime_internal): Handle %OB format.
22181 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
22182 (__strptime_internal): Handle %OB format.
22183 * time/tst-strptime.c (day_tests): Add tests to parse different forms
22184 of month names including the new %OB format specifier.
22186 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22189 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
22190 from ABORT_TRANSACTION.
22191 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
22192 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
22193 ABORT_TRANSACTION_IMPL): Likewise.
22194 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
22195 Linux code, but remove the code that aborts transactions.
22197 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
22199 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
22201 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
22203 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
22204 in date: "2004-14-09" should be "2004-09-14".
22205 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
22206 "2003-15-09" should be "2003-09-15".
22208 2018-01-18 Arjun Shankar <arjun@redhat.com>
22214 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
22216 (_int_memalign): check for integer overflow before calling
22218 * malloc/tst-malloc-too-large.c: New test.
22219 * malloc/Makefile: Add tst-malloc-too-large.
22221 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
22223 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
22224 in date: "2017-24-07" should be "2017-07-24".
22225 * localedata/locales/mai_IN: Likewise.
22226 * localedata/locales/mai_NP: Likewise.
22228 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
22230 * po/ru.po: Update translations.
22232 2018-01-17 Joseph Myers <joseph@codesourcery.com>
22235 * sysdeps/hppa/backtrace.c: New file.
22237 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
22240 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
22241 align La_x86_64_retval to VEC_SIZE.
22243 2018-01-16 Joseph Myers <joseph@codesourcery.com>
22245 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
22246 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
22248 2018-01-16 Florian Weimer <fweimer@redhat.com>
22250 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
22251 Move tst-thread-exit-clobber ...
22252 [$(CXX)] (tests-unsupported): ... to here.
22254 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
22256 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
22257 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
22258 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
22259 (_dl_aarch64_cap_flags): Update.
22260 (_DL_HWCAP_COUNT): Update.
22262 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
22264 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
22265 (_DL_HWCAP_LAST): Remove.
22266 (_DL_HWCAP_COUNT): Move to ...
22267 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
22268 (_DL_HWCAP_COUNT): ... here.
22270 2018-01-16 Florian Weimer <fweimer@redhat.com>
22272 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
22273 mode with GNU extensions.
22275 2018-01-15 Alan Hayward <alan.hayward@arm.com>
22277 * elf/elf.h (NT_ARM_SVE): Define.
22279 2018-01-15 Florian Weimer <fweimer@redhat.com>
22282 * nptl/tst-minstack-throw.cc: New file.
22283 * nptl/Makefile (tests): Add tst-minstack-throw.
22284 (LDLIBS-tst-minstack-throw): Link with libstdc++.
22285 [!CXX] (tests-unsupported): Add tst-minstack-throw.
22287 2018-01-15 Joseph Myers <joseph@codesourcery.com>
22289 * scripts/build-many-glibcs.py (Context.checkout): Default
22290 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
22293 2018-01-13 Carlos O'Donell <carlos@redhat.com>
22296 * elf/elf.h (DF_1_STUB): Define.
22297 (DF_1_PIE): Define.
22299 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22302 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
22303 Do not add 0.5 to integer or out-of-range arguments.
22305 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
22307 * po/bg.po: Update translations.
22308 * po/cs.po: Likewise.
22309 * po/de.po: Likewise.
22310 * po/ko.po: Likewise.
22311 * po/pl.po: Likewise.
22312 * po/sv.po: Likewise.
22313 * po/uk.po: Likewise.
22314 * po/vi.po: Likewise.
22316 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
22318 * aarch64/start.S (_start): Use __wrap_main.
22319 (__wrap_main): New local symbol.
22321 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
22325 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
22326 generic_getcwd if the path returned by getcwd syscall is not absolute.
22327 * io/tst-getcwd-abspath.c: New test.
22328 * io/Makefile (tests): Add tst-getcwd-abspath.
22330 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
22332 * malloc/malloc.c (malloc_consolidate): Add size check.
22334 2018-01-12 Florian Weimer <fweimer@redhat.com>
22336 * support/write_message.c (write_message): Preserve errno.
22337 * support/check.c (print_failure): Likewise.
22338 * support/support_test_verify_impl.c (support_test_verify_impl):
22340 * support/support_test_compare_failure.c
22341 (support_test_compare_failure): Likewise.
22343 2018-01-12 Florian Weimer <fweimer@redhat.com>
22346 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
22347 Prevent installation of libnsl.so.
22348 (libnsl-inhibit-o): Do not build (or install) static libraries.
22350 2018-01-12 Egmont Koblinger <egmont@gmail.com>
22353 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
22354 before the day number which may produce a double space.
22355 (date_fmt): Likewise.
22357 2018-01-12 Joseph Myers <joseph@codesourcery.com>
22359 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
22360 instead of fegetenv.
22362 2018-01-11 Joseph Myers <joseph@codesourcery.com>
22365 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
22366 comment to say exceptions are discarded.
22367 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
22369 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
22372 2018-01-11 Florian Weimer <fweimer@redhat.com>
22374 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
22377 2018-01-11 Florian Weimer <fweimer@redhat.com>
22380 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
22381 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
22383 2018-01-10 Joseph Myers <joseph@codesourcery.com>
22386 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
22387 negative arguments in test for NaN or infinity argument.
22389 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
22391 * po/libc.pot: Regenerate.
22393 2018-01-10 Florian Weimer <fweimer@redhat.com>
22396 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
22397 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
22399 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22401 * hurd/hurd/fd.h: Include <fcntl.h>
22402 (__hurd_at_flags): New function.
22403 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
22404 with call to __hurd_at_flags.
22405 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
22406 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
22408 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
22409 (__access_noerrno): Use __faccessat_common instead of access_common.
22410 (__access): Likewise.
22411 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
22412 with a call to __faccessat.
22413 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
22414 (__faccessat_common): ... this. Move implementation of __access into it when
22415 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
22416 reauthenticate_cwdir_at helper to implement AT mechanism.
22417 (__faccessat_noerrno): New function, just calls __faccessat_common.
22418 (__faccessat): New function, just calls __faccessat_common.
22419 (faccessat): Define weak alias.
22421 2018-01-10 Joseph Myers <joseph@codesourcery.com>
22424 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22425 (CFLAGS-s_fmaxmagl.c): New variable.
22426 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
22429 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
22430 long int for arguments of possibly overflowing addition or
22432 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
22434 2018-01-09 Joseph Myers <joseph@codesourcery.com>
22437 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22438 (CFLAGS-e_remainderl.c): New variable.
22441 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
22443 (CFLAGS-s_cacoshl.c): Likewise.
22444 (CFLAGS-s_casinhl.c): Likewise.
22445 (CFLAGS-s_catanl.c): Likewise.
22446 (CFLAGS-s_catanhl.c): Likewise.
22447 (CFLAGS-s_cexpl.c): Likewise.
22448 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
22449 (CFLAGS-s_csinhl.c): Likewise.
22450 (CFLAGS-s_clogl.c): Likewise.
22451 (CFLAGS-s_clog10l.c): Likewise.
22452 (CFLAGS-s_csinl.c): Likewise.
22453 (CFLAGS-s_csqrtl.c): Likewise.
22455 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
22456 2017-01-09 Svante Signell <svante.signell@gmail.com>
22458 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
22459 (_hurd_exec_paths): New function.
22460 * hurd/hurd.h (_hurd_exec): Deprecate function.
22461 (_hurd_exec_paths): Declare function.
22462 * hurd/Versions: Export _hurd_exec_paths.
22463 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
22464 (__execve): Use __getcwd to build absolute path, and use
22465 _hurd_exec_paths instead of _hurd_exec.
22466 * sysdeps/mach/hurd/spawni.c: Likewise.
22467 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
22470 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
22472 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
22473 test instead of failing in case of ENOENT returned by posix_openpt.
22475 2018-01-08 Florian Weimer <fweimer@redhat.com>
22477 resolv: Support binary labels in test framework.
22478 * support/resolv_test.c (struct to_be_freed): Remove.
22479 (struct compressed_name): New.
22480 (allocate_compressed_name, ascii_tolower)
22481 (compare_compressed_name): New functions.
22482 (struct resolv_response_builder): Update type of
22483 compression_offsets for use with tsearch. Rempve to_be_freed.
22484 (response_push_pointer_to_free): Remove function.
22485 (resolv_response_add_name): Rewrite using struct compressed_name
22486 and tsearch instead of hsearch_r.
22487 (response_builder_allocate): Remove initialization of
22488 compression_offsets.
22489 (response_builder_free): Update for removal of to_be_freed. Use
22490 tdestroy instead of hdestroy_r.
22491 * resolv/Makefile (tests): Add tst-resolv-binary.
22492 (tst-resolv-binary): Link with -lresolv -lpthread.
22494 2018-01-08 Florian Weimer <fweimer@redhat.com>
22496 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
22497 time. Pass positive flag instead of negative flag to
22498 support_test_compare_failure.
22499 (support_test_compare_failure): Change negative parameter to
22501 * support/support_test_compare_failure.c (report)
22502 (support_test_compare_failure): Likewise.
22503 * support/tst-test_compare.c (return_ssize_t, return_int): New.
22504 (do_test): Check int/size_t, ssize_t/size_t comparisons.
22506 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
22509 * nptl/descr.h (stackblock, stackblock_size): Update comments.
22510 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
22511 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
22513 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
22515 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
22517 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22518 Add s_sincosf-sse2 and s_sincosf-fma.
22519 (CFLAGS-s_sincosf-fma.c): New.
22520 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
22521 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
22522 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
22523 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
22524 __sincosf is defined.
22526 2018-01-08 Florian Weimer <fweimer@redhat.com>
22528 * nptl/tst-thread-exit-clobber.cc: New file.
22529 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
22531 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
22532 (tests): Add tst-thread-exit-clobber.
22533 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
22535 2018-01-08 Florian Weimer <fweimer@redhat.com>
22537 * support/check.h (support_static_assert): Define.
22538 (TEST_COMPARE): Use it.
22540 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
22542 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
22543 [!__RLIM_T_MATCHES_RLIM64_T]
22544 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
22545 __getrlimit64. Add libc_hidden_weak.
22547 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
22549 * elf/elf.h (R_RISCV_NONE): New define.
22550 (R_RISCV_32): Likewise.
22551 (R_RISCV_64): Likewise.
22552 (R_RISCV_RELATIVE): Likewise.
22553 (R_RISCV_COPY): Likewise.
22554 (R_RISCV_JUMP_SLOT): Likewise.
22555 (R_RISCV_TLS_DTPMOD32): Likewise.
22556 (R_RISCV_TLS_DTPMOD64): Likewise.
22557 (R_RISCV_TLS_DTPREL32): Likewise.
22558 (R_RISCV_TLS_DTPREL64): Likewise.
22559 (R_RISCV_TLS_TPREL32): Likewise.
22560 (R_RISCV_TLS_TPREL64): Likewise.
22561 * Makerules (make-link-multidir): Make directories before linking into
22563 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
22565 (VDSO_HASH_LINUX_4_15): Likewise.
22566 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
22567 in subdirectories of lib.
22568 * nptl/Makefile (/librt.so): Always depend on
22569 "$(shared-thread-library)".
22571 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22573 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
22574 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
22575 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
22577 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
22578 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
22580 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
22581 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
22582 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
22583 * sysdeps/gnu/glob-lstat-compat.c: New file.
22584 * sysdeps/gnu/glob64-lstat-compat.c: New file.
22585 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
22587 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22589 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
22590 Reserve 16 chars to reloc_addr before calling _itoa_word.
22592 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
22595 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
22596 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
22598 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
22599 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
22601 * resource/tst-getrlimit.c: Add copyright header.
22603 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
22604 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22606 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
22607 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
22608 Define __GI_getrlimit64 as weak alias of __getrlimit64.
22609 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
22611 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
22612 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
22613 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
22614 RLIM64_INFINITY): Fix values to match the kernel ones.
22615 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
22616 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
22617 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
22618 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
22619 getrlimit64@@GLIBC_2_27.
22620 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
22622 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
22623 getrlimit, setrlimit, getrlimit64 and setrlimit64.
22624 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
22625 setrlimit, getrlimit64 and setrlimit64.
22627 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
22630 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
22631 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
22633 2018-01-04 Joseph Myers <joseph@codesourcery.com>
22635 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
22636 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
22637 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
22639 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22643 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
22644 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
22648 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
22649 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
22650 * sysdeps/alpha/fpu/s_floor.c: Likewise.
22651 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
22653 2018-01-04 Florian Weimer <fweimer@redhat.com>
22656 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
22657 Align the stack before calling exit.
22658 * stdlib/tst-makecontext-align.c: New file.
22659 * stdlib/Makefile (tests): Add tst-makecontext-align.
22661 2018-01-04 Florian Weimer <fweimer@redhat.com>
22663 Add support for calling dlvsym from libc.so.
22664 * include/dlfcn.h (__libc_dlvsym): Declare.
22665 * elf/Makefile (tests-static-internal): Add
22666 tst-libc_dlvsym-static.
22667 (tests-internal): Add tst-libc_dlvsym.
22668 (modules-names): Add tst-libc_dlvsym-dso.
22669 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
22670 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
22671 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
22672 object tst-libc_dlvsym-dso.so needs to be built before running
22674 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
22675 * elf/Versions: Export __libc_dlvsym.
22676 * elf/dl-libc.c (struct do_dlvsym_args): New.
22677 (do_dlvsym, __libc_dlvsym): New functions.
22678 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
22679 (_dl_open_hook2): New variable.
22680 (__libc_register_dl_open_hook): Set it.
22681 * elf/tst-libc_dlvsym-dso.c: New file.
22682 * elf/tst-libc_dlvsym-static.c: Likewise.
22683 * elf/tst-libc_dlvsym.c: Likewise.
22684 * elf/tst-libc_dlvsym.h: Likewise.
22686 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
22688 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
22689 include <sys/mount.h>.
22691 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
22693 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
22694 Add __NO_MATH_ERRNO__ check.
22696 2018-01-02 Joseph Myers <joseph@codesourcery.com>
22698 * sysdeps/mips/mips32/libm-test-ulps: Update.
22699 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22701 2018-01-02 Florian Weimer <fweimer@redhat.com>
22703 * misc/tst-pselect.c: Add copyright header.
22705 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
22707 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
22709 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
22711 (settrlimit): Rename into setrlimit.
22712 (__sttrlimit): Rename into __setrlimit.
22714 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
22715 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
22716 never defined in that case.
22718 2018-01-02 Joseph Myers <joseph@codesourcery.com>
22720 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
22722 * sysdeps/arm/libm-test-ulps: Update.
22724 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
22725 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
22727 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22729 * NEWS: Add cosf and sincosf to list of optimized functions.
22731 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
22734 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
22735 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
22736 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
22737 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
22739 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
22742 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
22744 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
22745 making a copy of it.
22747 2018-01-01 Joseph Myers <joseph@codesourcery.com>
22749 * manual/texinfo.tex: Update to version 2017-12-26.21 with
22750 trailing whitespace removed.
22751 * scripts/config.guess: Update to version 2018-01-01.
22752 * scripts/config.sub: Update to version 2018-01-01.
22753 * scripts/move-if-change: Update from gnulib.
22755 * NEWS: Update copyright dates.
22756 * catgets/gencat.c (print_version): Likewise.
22757 * csu/version.c (banner): Likewise.
22758 * debug/catchsegv.sh: Likewise.
22759 * debug/pcprofiledump.c (print_version): Likewise.
22760 * debug/xtrace.sh (do_version): Likewise.
22761 * elf/ldconfig.c (print_version): Likewise.
22762 * elf/ldd.bash.in: Likewise.
22763 * elf/pldd.c (print_version): Likewise.
22764 * elf/sotruss.sh: Likewise.
22765 * elf/sprof.c (print_version): Likewise.
22766 * iconv/iconv_prog.c (print_version): Likewise.
22767 * iconv/iconvconfig.c (print_version): Likewise.
22768 * locale/programs/locale.c (print_version): Likewise.
22769 * locale/programs/localedef.c (print_version): Likewise.
22770 * login/programs/pt_chown.c (print_version): Likewise.
22771 * malloc/memusage.sh (do_version): Likewise.
22772 * malloc/memusagestat.c (print_version): Likewise.
22773 * malloc/mtrace.pl: Likewise.
22774 * manual/libc.texinfo: Likewise.
22775 * nptl/version.c (banner): Likewise.
22776 * nscd/nscd.c (print_version): Likewise.
22777 * nss/getent.c (print_version): Likewise.
22778 * nss/makedb.c (print_version): Likewise.
22779 * posix/getconf.c (main): Likewise.
22780 * scripts/test-installation.pl: Likewise.
22781 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
22783 * All files with FSF copyright notices: Update copyright dates
22784 using scripts/update-copyrights.
22785 * locale/programs/charmap-kw.h: Regenerated.
22786 * locale/programs/locfile-kw.h: Likewise.
22788 2017-12-31 Zack Weinberg <zackw@panix.com>
22790 * libio/bits/libio-ldbl.h: Correct check for improper
22791 inclusion. Add own multiple include guard.
22793 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
22794 Dmitry V. Levin <ldv@altlinux.org>
22798 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
22799 string token expansion. Check for NULL pointer or empty string possibly
22800 returned by expand_dynamic_string_token.
22801 (decompose_rpath): Check for empty path after dynamic string
22804 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
22807 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
22809 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
22810 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
22811 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
22812 and PTRACE_SYSCALL.
22813 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
22814 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22815 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22816 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22817 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22818 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
22820 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
22821 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
22822 __ptrace_peeksiginfo_flags, ptrace): Move to ...
22823 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
22824 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22825 bits/ptrace-shared.h.
22826 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
22827 <bits/ptrace-shared.h>.
22828 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
22829 __ptrace_peeksiginfo_flags, ptrace): Remove.
22830 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22831 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22832 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22833 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22834 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
22836 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
22839 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
22840 end of the loop. Improve comments.
22842 2017-12-29 Zack Weinberg <zackw@panix.com>
22845 * manual/errno.texi (Checking for Errors): Explicitly say that errno
22846 might be set on success.
22848 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
22851 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
22852 is unchanged on success.
22854 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
22856 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
22858 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
22859 expand_dynamic_string_token): Likewise.
22860 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
22863 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
22866 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
22867 is set and name contains ':', and all code depending on these checks.
22869 2017-12-24 Zack Weinberg <zackw@panix.com>
22871 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
22872 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
22874 * libio/libio.h: Rename the original version of this file to
22875 libio/bits/libio.h. Error out if not included by stdio.h or the
22877 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
22878 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
22879 if not included by bits/libio.h or the stub _G_config.h.
22880 * sysdeps/unix/sysv/linux/_G_config.h: Move to
22881 sysdeps/unix/sysv/linux/bits. Error out if not included by
22882 bits/libio.h or the stub _G_config.h.
22883 * libio/stdio.h: Include bits/libio.h, not libio.h.
22884 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
22885 well as libio.h and _G_config.h.
22887 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
22888 * libio/strfile.h, stdio-common/vfscanf.c
22889 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
22890 Include stdio.h, not _G_config.h nor libio.h.
22891 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
22892 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
22894 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
22896 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
22899 * stdlib/getrandom.c (getrandom): Fix comment.
22900 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
22902 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
22905 * manual/arith.texi (strtoul): Fix a typo.
22908 * manual/arith.texi (finite): Fix the description of the return
22911 2017-12-22 Eric Blake <ebb9@byu.net>
22913 Avoid gcc warnings on cygwin
22914 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
22915 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
22916 Avoid unused variable.
22918 2017-12-22 Florian Weimer <fweimer@redhat.com>
22920 * io/Makefile (routines): Add copy_file_range.
22921 (tests): Add tst-copy_file_range.
22922 (tests-static, tests-internal): Add tst-copy_file_range-compat.
22923 * io/Versions (GLIBC_2.27): Export copy_file_range.
22924 * io/copy_file_range-compat.c: New file.
22925 * io/copy_file_range.c: Likewise.
22926 * io/tst-copy_file_range-compat.c: Likewise.
22927 * io/tst-copy_file_range.c: Likewise.
22928 * manual/llio.texi (Copying File Data): New section.
22929 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
22930 * support/Makefile (libsupport-routines): Add support-xfstat,
22931 xftruncate, xlseek.
22932 * support/support-xfstat.c: New file.
22933 * support/xftruncate.c: Likewise.
22934 * support/xlseek.c: Likewise.
22935 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
22936 * sysdeps/unix/sysv/linux/**.abilist: Update.
22937 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
22939 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
22941 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22942 disable-multi-arch variant to aarch64-linux-gnu.
22944 2017-12-20 Joseph Myers <joseph@codesourcery.com>
22946 * manual/texinfo.tex: Update to version 2017-12-18.20 with
22947 trailing whitespace removed.
22948 * scripts/config.guess: Update to version 2017-12-17.
22949 * scripts/config.sub: Update to version 2017-11-23.
22950 * scripts/install-sh: Update to version 2017-09-23.17.
22951 * scripts/move-if-change: Update to version 2017-09-13 06:45.
22953 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22955 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
22956 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
22957 * sysdeps/tile/_mcount.S (__mcount): Likewise.
22958 * sysdeps/tile/crti.S (_init, _fini): Likewise.
22959 * sysdeps/tile/crtn.S: Likewise.
22960 * sysdeps/tile/dl-start.S (_start): Likewise.
22961 * sysdeps/tile/dl-trampoline.S: Likewise.
22962 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
22963 * sysdeps/tile/start.S (_start): Likewise.
22964 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
22965 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
22966 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
22967 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
22968 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
22969 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
22970 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
22972 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
22974 * sysdeps/tile/preconfigure: Remove tilegx folder.
22975 * sysdeps/tile/tilegx/Implies: Move definitions to ...
22976 * sysdeps/tile/Implies: ... here.
22977 * sysdeps/tile/tilegx/Makefile: Move rules to ...
22978 * sysdeps/tile/Makefile: ... here.
22979 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
22980 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
22981 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
22982 * sysdeps/tile/bits/wordsize.h: ... here.
22983 * sysdeps/tile/tilegx/*: Move to ...
22984 * sysdeps/tile/*: ... here.
22985 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
22986 * sysdeps/tile/tilegx32/Implies: ... here.
22987 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
22988 * sysdeps/tile/tilegx64/Implies: ... here.
22989 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
22991 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
22992 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
22993 * sysdeps/unix/sysv/linux/tile/*: ... here.
22994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
22995 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
22996 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
22997 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
22999 * README: Remove tilepro-*-linux-gnu from supported architecture.
23000 * scripts/build-many-glibcs.py: Likewise.
23001 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23002 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
23003 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
23004 elf_machine_matches_host, elf_machine_dynamic,
23005 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
23006 howto, elf_machine_rela): Likewise.
23007 * sysdeps/tile/dl-start.S (_start): Likewise.
23008 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
23009 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
23010 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
23011 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
23012 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
23013 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
23015 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
23016 * sysdeps/tile/preconfigure: Likewise.
23017 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
23018 POINTER_CHK_GUARD): Likewise.
23019 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
23020 * sysdeps/tile/start.S (_start): Likewise.
23021 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
23023 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
23024 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
23026 * sysdeps/unix/sysv/linux/tile/bits/environments.h
23027 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
23028 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
23030 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
23031 * sysdeps/tile/tilepro/Implies: Remove file.
23032 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
23033 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
23034 * sysdeps/tile/tilepro/memchr.c: Likewise.
23035 * sysdeps/tile/tilepro/memcpy.S: Likewise.
23036 * sysdeps/tile/tilepro/memset.c: Likewise.
23037 * sysdeps/tile/tilepro/memusage.h: Likewise.
23038 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
23039 * sysdeps/tile/tilepro/strchr.c: Likewise.
23040 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
23041 * sysdeps/tile/tilepro/strlen.c: Likewise.
23042 * sysdeps/tile/tilepro/strrchr.c: Likewise.
23043 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
23044 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
23045 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23046 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
23047 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
23048 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
23050 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
23051 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23052 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
23053 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
23054 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23055 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
23056 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
23057 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
23058 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
23059 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
23060 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
23061 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
23062 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
23063 tilepro mention in comment.
23065 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
23066 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
23067 * nptl/pthread_join_common.c: New file: common function used on
23068 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
23069 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
23070 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
23071 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
23072 (cleanup): Move definition to pthread_join_common.c.
23073 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
23074 Remove superflous checks.
23075 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
23078 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
23080 * sysdeps/aarch64/libm-test-ulps: Update.
23082 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23084 * sysdeps/aarch64/memset.S (MEMSET): Define.
23086 2017-12-20 Florian Weimer <fweimer@redhat.com>
23089 nptl: Provide full implementation of pthread_self in libc.so.
23090 * nptl/Makefile (routines): Add pthread_self.
23091 (libpthread-routines): Replace pthread_self with
23092 compat-pthread_self.
23093 * nptl/forward.c (pthread_self): Remove.
23094 * nptl/nptl-init.c (pthread_functions): Do not initialize
23096 * nptl/pthread_self.c (pthread_self): Remove weak alias.
23097 * nptl/compat-pthread_self.c: New file.
23098 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
23099 Remove ptr_pthread_self.
23101 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
23103 * posix/regcomp.c: Fix spelling in comments.
23104 * posix/regex.h: Likewise.
23105 * posix/regex_internal.c: Likewise.
23106 * posix/regexec.c: Likewise.
23108 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23111 * math/Makefile [C++] (tests): Add test for iseqsig.
23112 * math/math.h [C++] (iseqsig): New implementation, which does
23113 not rely on __MATH_TG/__builtin_types_compatible_p.
23114 * math/test-math-iseqsig.cc: New file.
23115 * sysdeps/powerpc/powerpc64le/Makefile
23116 (CFLAGS-test-math-iseqsig.cc): New variable.
23118 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
23120 * elf/dl-load.c (is_trusted_path): Remove.
23121 (fillin_rpath): Remove check_trusted argument and its use,
23122 all callers changed.
23124 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23127 * Makeconfig (link-pie-before-libc): Replace -pie with
23128 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
23129 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
23130 (tst-dlopen-aout-no-pie): New.
23131 (LDFLAGS-tst-prelink): Removed.
23132 (tst-prelink-no-pie): New.
23133 (LDFLAGS-tst-main1): Removed.
23134 (tst-main1-no-pie): New.
23135 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
23136 (tst-gmon-no-pie): New.
23138 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23140 * manual/install.texi: Document that --enable-static-pie
23142 * INSTALL: Regenerated.
23144 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
23147 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
23150 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23154 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23156 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23158 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23160 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
23161 <errno.h>. Include "eexp.tbl".
23162 (half): New constant.
23164 (__ieee754_exp): Rewrite.
23165 (__slowexp): Remove prototype.
23166 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
23167 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
23168 * sysdeps/i386/fpu/slowexp.c: Likewise.
23169 * sysdeps/ia64/fpu/slowexp.c: Likewise.
23170 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
23171 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
23172 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
23173 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23174 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
23175 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
23177 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
23178 (CPPFLAGS-slowexp.c): Remove variable.
23179 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23180 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
23181 (CFLAGS-slowexp-fma.c): Remove variable.
23182 (CFLAGS-slowexp-fma4.c): Likewise.
23183 (CFLAGS-slowexp-avx.c): Likewise.
23184 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
23186 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
23187 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
23188 * math/Makefile (type-double-routines): Remove slowexp.
23189 * manual/probes.texi (slowexp_p6): Remove.
23190 (slowexp_p32): Likewise.
23192 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23194 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
23197 * lib/glob.c (glob): Do not pass NULL to mempcpy.
23199 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23201 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23203 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23205 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
23206 <errno.h>. Include "eexp.tbl".
23207 (half): New constant.
23209 (__ieee754_exp): Rewrite.
23210 (__slowexp): Remove prototype.
23211 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
23212 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
23213 * sysdeps/i386/fpu/slowexp.c: Likewise.
23214 * sysdeps/ia64/fpu/slowexp.c: Likewise.
23215 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
23216 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
23217 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
23218 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23219 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
23220 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
23222 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
23223 (CPPFLAGS-slowexp.c): Remove variable.
23224 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23225 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
23226 (CFLAGS-slowexp-fma.c): Remove variable.
23227 (CFLAGS-slowexp-fma4.c): Likewise.
23228 (CFLAGS-slowexp-avx.c): Likewise.
23229 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
23231 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
23232 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
23233 * math/Makefile (type-double-routines): Remove slowexp.
23234 * manual/probes.texi (slowexp_p6): Remove.
23235 (slowexp_p32): Likewise.
23237 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23238 James Clarke <jrtc27@jrtc27.com>
23241 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
23244 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23247 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
23250 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23253 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23254 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
23255 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23256 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
23259 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23262 * bits/types/__cancel_jmp_buf_tag.h: New file.
23263 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
23264 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
23265 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
23266 * nptl/Makefile (headers): Add
23267 bits/types/__cancel_jmp_buf_tag.h.
23268 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
23269 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
23270 * sysdeps/nptl/pthread.h: Include
23271 <bits/types/__cancel_jmp_buf_tag.h>.
23272 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
23274 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
23276 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
23278 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23279 --enable-static-pie variants to x86_64, x32 and i686.
23281 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23284 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
23285 argument for attrubutes. All callers changed.
23286 (__inline_mathop1): Likewise. All callers changed.
23287 (__inline_mathop): Likewise. All callers changed.
23288 [__USE_MISC] (scalbn): Use __inline_forward instead of
23289 __inline_forward_c.
23290 [__USE_ISOC99] (scalbln): Likewise.
23291 [__USE_ISOC99] (nearbyint): Likewise.
23292 [__USE_ISOC99] (lrint): Likewise.
23293 [__USE_MISC] (scalbnf): Likewise.
23294 [__USE_ISOC99] (scalblnf): Likewise.
23295 [__USE_ISOC99] (nearbyintf): Likewise.
23296 [__USE_ISOC99] (lrintf): Likewise.
23297 [__USE_MISC] (scalbnl): Likewise.
23298 [__USE_ISOC99] (scalblnl): Likewise.
23299 [__USE_ISOC99] (nearbyintl): Likewise.
23300 [__USE_ISOC99] (lrintl): Likewise.
23301 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
23302 __inline_mathop and __m81_defun changed.
23304 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
23305 CPU or FPU for ARM hard-float configurations.
23307 2017-12-18 Joseph Myers <joseph@codesourcery.com>
23309 * nptl/tst-attr3.c: Include <libc-diag.h>.
23310 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
23312 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
23314 * string/tester.c (test_strncat): Also disable -Warray-bounds
23315 warnings for two tests.
23317 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
23320 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
23321 $(cc-pie-default) == yes.
23322 * config.make.in (cc-pie-default): New.
23323 * configure.ac (libc_cv_pie_default): Renamed to ...
23324 (libc_cv_cc_pie_default): This.
23325 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
23326 * configure: Regenerated.
23328 2017-12-18 Florian Weimer <fweimer@redhat.com>
23331 ld.so: Harden dl-libc/libdl hooks.
23332 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
23333 (rtld_active): New function.
23334 * dlfcn/dladdr.c (__dladdr): Call it.
23335 * dlfcn/dladdr1.c (__dladdr1): Likewise.
23336 * dlfcn/dlclose.c (__dlcose): Likewise.
23337 * dlfcn/dlerror.c (__dlerror): Likewise.
23338 * dlfcn/dlinfo.c (__dlinfo): Likewise.
23339 * dlfcn/dlmopen.c (__dlmopen): Likewise.
23340 * dlfcn/dlopen.c (__dlopen): Likewise.
23341 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
23342 * dlfcn/dlsym.c (__dlsym): Likewise.
23343 * dlfcn/dlvsym.c (__dlvsym): Likewise.
23344 * libio/vtables.c (_IO_vtable_check): Likewise.
23345 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
23346 (__libc_dlclose): Likewise.
23347 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
23350 2017-12-18 Joseph Myers <joseph@codesourcery.com>
23353 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
23354 buffers for readlink input and output.
23356 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
23359 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
23360 inhibit_stack_protector.
23363 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
23364 inhibit_stack_protector.
23366 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
23369 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
23370 code and invocation.
23372 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
23374 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
23376 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
23379 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
23381 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23383 * sysdeps/s390/fpu/libm-test-ulps: Update.
23385 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23387 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23389 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23391 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
23392 constants to s_sincosf.h file.
23393 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23394 * sysdeps/ieee754/flt-32/s_sincosf.c: New
23396 * sysdeps/ieee754/flt-32/s_sincosf.h:
23399 2017-12-12 Carlos O'Donell <carlos@redhat.com>
23402 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
23405 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
23408 * INSTALL: Regenerated.
23409 * Makeconfig (real-static-start-installed-name): New.
23410 (pic-default): Updated for --enable-static-pie.
23411 (pie-default): New for --enable-static-pie.
23412 (default-pie-ldflag): Likewise.
23413 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
23414 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
23415 Replace $(static-start-installed-name) with
23416 $(real-static-start-installed-name).
23417 (+prectorT): Updated for --enable-static-pie.
23418 (+postctorT): Likewise.
23419 (CFLAGS-.o): Add $(pie-default).
23420 (CFLAGS-.op): Likewise.
23421 * NEWS: Mention --enable-static-pie.
23422 * config.h.in (ENABLE_STATIC_PIE): New.
23423 * configure.ac (--enable-static-pie): New configure option.
23424 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
23425 (have-static-pie): Likewise.
23426 Enable static PIE if linker supports --no-dynamic-linker.
23427 (ENABLE_STATIC_PIE): New AC_DEFINE.
23428 (enable-static-pie): New LIBC_CONFIG_VAR.
23429 * configure: Regenerated.
23430 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
23431 gr$(start-installed-name) for --enable-static-pie.
23432 (extra-objs): Likewise.
23433 (install-lib): Likewise.
23434 (extra-objs): Add static-reloc.o and static-reloc.os
23435 ($(objpfx)$(start-installed-name)): Also depend on
23436 $(objpfx)static-reloc.o.
23437 ($(objpfx)r$(start-installed-name)): New.
23438 ($(objpfx)g$(start-installed-name)): Also depend on
23439 $(objpfx)static-reloc.os.
23440 ($(objpfx)gr$(start-installed-name)): New.
23441 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
23443 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
23445 * csu/static-reloc.c: New file.
23446 * elf/Makefile (routines): Add dl-reloc-static-pie.
23447 (elide-routines.os): Likewise.
23448 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
23449 (tst-tls1-static-non-pie-no-pie): New.
23450 * elf/dl-reloc-static-pie.c: New file.
23451 * elf/dl-support.c (_dl_get_dl_main_map): New function.
23452 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
23453 STATIC_PIE_BOOTSTRAP.
23454 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
23455 * gmon/Makefile (tests): Add tst-gmon-static-pie.
23456 (tests-static): Likewise.
23457 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
23458 (tst-gmon-static-no-pie): New.
23459 (CFLAGS-tst-gmon-static-pie.c): Likewise.
23460 (CRT-tst-gmon-static-pie): Likewise.
23461 (tst-gmon-static-pie-ENV): Likewise.
23462 (tests-special): Likewise.
23463 ($(objpfx)tst-gmon-static-pie.out): Likewise.
23464 (clean-tst-gmon-static-pie-data): Likewise.
23465 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
23466 * gmon/tst-gmon-static-pie.c: New file.
23467 * manual/install.texi: Document --enable-static-pie.
23468 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
23469 (_dl_get_dl_main_map): Likewise.
23470 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
23471 * sysdeps/x86_64/configure.ac: Likewise.
23472 * sysdeps/i386/configure: Regenerated.
23473 * sysdeps/x86_64/configure: Likewise.
23474 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
23475 (ASFLAGS-.op): Likewise.
23477 2017-12-15 Joseph Myers <joseph@codesourcery.com>
23479 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
23480 * posix/tst-mmap-offset.c (fname): Use /tmp.
23481 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
23483 2017-12-15 Steve Ellcey <sellcey@cavium.com>
23485 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
23487 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
23489 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
23492 2017-12-15 Joseph Myers <joseph@codesourcery.com>
23494 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
23495 --with-float=hard for arm-linux-gnueabihf configurations.
23498 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
23499 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
23500 ($(mo-installed)): Use $(objpfx)%.mo.
23501 (realclean): Remove rule.
23503 * po/Makefile (linguas): Remove rule and dependencies.
23504 (linguas.mo): Likewise.
23505 (.PHONY): Do not depend on linguas and linguas.mo.
23506 (podir): Remove variable.
23507 (pofiles): Likewise.
23508 [$(pofiles)] (%.po): Remove rule.
23510 * sysdeps/sparc/sparc32/Makefile
23511 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
23512 start-of-line whitespace in argument of echo.
23513 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
23514 with whitespace. Generate __wrap_.udiv alias.
23515 * sysdeps/sparc/sparc32/rem.S: Regenerated.
23516 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
23517 * sysdeps/sparc/sparc32/udiv.S: Likewise.
23518 * sysdeps/sparc/sparc32/urem.S: Likewise.
23520 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23522 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
23523 for aligned inputs.
23525 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
23527 * benchtests/bench-strcmp.c: Print output in JSON format.
23529 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
23531 2017-12-14 Florian Weimer <fweimer@redhat.com>
23535 * elf/dl-load.c (_dl_init_paths): Compute number of components in
23536 the expanded path string.
23538 2017-12-14 Florian Weimer <fweimer@redhat.com>
23542 * elf/dl-load.c (system_dirs): Update comment.
23543 (nsystem_dirs_len): Use array_length.
23544 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
23546 2017-12-14 Florian Weimer <fweimer@redhat.com>
23548 Simplify compiling most of support/ outside of glibc.
23549 * support/check_addrinfo.c: Include <string.h>.
23550 * support/check_dns_packet.c: Likewise.
23551 * support/check_hostent.c: Likewise.
23552 * support/support_can_chroot.c: Include <support/xunistd.h>.
23553 * support/support_format_addrinfo.c: Include <stdlib.h>
23554 * support/support_format_dns_packet.c: Include <stdbool.h>.
23555 * support/support_format_hostent.c: Include <stdlib.h>.
23556 * support/support_format_netent.c: Likewise.
23557 * support/support_write_string.c: Include <support/xunistd.h>.
23558 * support/xdlfcn.c: Include <stddef.h>.
23560 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
23562 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
23564 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23565 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23567 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23568 (sysdeps_routines): Add memset-niagara7.
23569 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
23571 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
23573 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
23574 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
23575 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
23576 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
23577 Add niagara7 option.
23578 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
23581 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23582 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
23583 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
23585 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
23587 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
23588 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
23589 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
23590 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
23591 and __memmove_niagara7.
23592 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
23593 Add niagara7 option.
23594 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
23595 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
23596 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
23597 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
23598 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
23600 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
23602 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
23603 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
23604 * sysdeps/sparc/sparc64/memmove.S: Likewise.
23605 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
23607 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
23608 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
23609 _dl_sparc_cap_flags array.
23610 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
23612 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
23614 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
23615 time whenever possible.
23617 2017-12-12 Carlos O'Donell <carlos@redhat.com>
23619 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
23620 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
23622 2017-12-12 Joseph Myers <joseph@codesourcery.com>
23624 * soft-fp/fmadf4.c: Move to ....
23625 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
23626 * soft-fp/fmasf4.c: Move to ....
23627 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
23628 * soft-fp/fmatf4.c: Move to ....
23629 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
23630 * sysdeps/ieee754/soft-fp/Makefile: New file.
23631 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
23632 * sysdeps/arm/preconfigure: Regenerated.
23633 * sysdeps/arm/nofpu/Implies: New file.
23634 * sysdeps/arm/s_fma.c: Remove file.
23635 * sysdeps/arm/s_fmaf.c: Likewise.
23636 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
23637 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
23638 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
23639 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
23640 * sysdeps/microblaze/s_fma.c: Remove file.
23641 * sysdeps/microblaze/s_fmaf.c: Likewise.
23642 * sysdeps/mips/mips32/nofpu/Implies: New file.
23643 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
23644 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
23645 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
23646 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
23647 * sysdeps/mips/ieee754/s_fma.c: Remove file.
23648 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
23649 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
23651 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
23652 * sysdeps/nios2/s_fma.c: Remove file.
23653 * sysdeps/nios2/s_fmaf.c: Likewise.
23654 * sysdeps/sh/nofpu/Implies: New file.
23655 * sysdeps/sh/s_fma.c: Remove file.
23656 * sysdeps/sh/s_fmaf.c: Likewise.
23657 * sysdeps/tile/Implies: Add ieee754/soft-fp.
23658 * sysdeps/tile/s_fma.c: Remove file.
23659 * sysdeps/tile/s_fmaf.c: Likewise.
23661 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
23663 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23664 Add s_cosf-sse2 and s_cosf-fma.
23665 (CFLAGS-s_cosf-fma.c): New.
23666 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
23667 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
23668 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
23670 2017-12-12 Steve Ellcey <sellcey@cavium.com>
23672 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
23674 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23676 * libio/Makefile (tests): Add tst-bz22415.
23677 (tst-bz22415-ENV): New rule.
23678 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
23679 (tests-special): Add tst-bz22415-mem.out.
23680 ($(objpfx)tst-bz22415-mem.out): New rule.
23681 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
23682 in case of a successful seek operation.
23683 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23684 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
23685 buffer is required.
23686 * libio/tst-bz22415.c: New test.
23688 * sysdeps/ia64/fpu/libm-test-ulps: Update.
23690 2017-12-12 James Clarke <jrtc27@jrtc27.com>
23692 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
23693 __IPC_64 to 0 to avoid IPC_64 being set.
23695 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
23698 * math/bits/mathcalls.h (nextafter): Remove const.
23699 (nexttoward): Likewise.
23701 2017-12-12 Joseph Myers <joseph@codesourcery.com>
23703 * configure.ac (--with-fp): Remove configure option.
23704 (with_fp_cond): New variable.
23705 (libc_cv_with_fp): New configure test. Use this variable instead
23707 * configure: Regenerated.
23708 * config.make.in (with-fp): Use @libc_cv_with_fp@.
23709 * manual/install.texi (Configuring and compiling): Remove
23711 * INSTALL: Regenerated.
23712 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
23713 * sysdeps/mips/preconfigure (with_fp_cond): Define.
23714 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
23715 * sysdeps/sh/preconfigure (with_fp_cond): Define.
23716 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
23717 use --without-fp to configure glibc.
23719 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
23721 * manual/locale.texi (nl_langinfo): Fix a typo.
23723 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
23726 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
23728 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
23730 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
23731 (CFLAGS-argp-parse.c): Likewise.
23732 (CFLAGS-argp-fmtstream.c): Likewise.
23733 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
23734 (CPPFLAGS-sha512-crypt.c): Likewise.
23735 (CPPFLAGS-md5-crypt.c): Likewise.
23736 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
23737 (CFLAGS-stack_chk_fail_local.c): Likewise.
23738 (CFLAGS-backtrace.c): Likewise.
23739 (CFLAGS-sprintf_chk.c): Likewise.
23740 (CFLAGS-snprintf_chk.c): Likewise.
23741 (CFLAGS-vsprintf_chk.c): Likewise.
23742 (CFLAGS-vsnprintf_chk.c): Likewise.
23743 (CFLAGS-asprintf_chk.c): Likewise.
23744 (CFLAGS-vasprintf_chk.c): Likewise.
23745 (CFLAGS-obprintf_chk.c): Likewise.
23746 (CFLAGS-dprintf_chk.c): Likewise.
23747 (CFLAGS-vdprintf_chk.c): Likewise.
23748 (CFLAGS-printf_chk.c): Likewise.
23749 (CFLAGS-fprintf_chk.c): Likewise.
23750 (CFLAGS-vprintf_chk.c): Likewise.
23751 (CFLAGS-vfprintf_chk.c): Likewise.
23752 (CFLAGS-gets_chk.c): Likewise.
23753 (CFLAGS-fgets_chk.c): Likewise.
23754 (CFLAGS-fgets_u_chk.c): Likewise.
23755 (CFLAGS-fread_chk.c): Likewise.
23756 (CFLAGS-fread_u_chk.c): Likewise.
23757 (CFLAGS-swprintf_chk.c): Likewise.
23758 (CFLAGS-vswprintf_chk.c): Likewise.
23759 (CFLAGS-wprintf_chk.c): Likewise.
23760 (CFLAGS-fwprintf_chk.c): Likewise.
23761 (CFLAGS-vwprintf_chk.c): Likewise.
23762 (CFLAGS-vfwprintf_chk.c): Likewise.
23763 (CFLAGS-fgetws_chk.c): Likewise.
23764 (CFLAGS-fgetws_u_chk.c): Likewise.
23765 (CFLAGS-read_chk.c): Likewise.
23766 (CFLAGS-pread_chk.c): Likewise.
23767 (CFLAGS-pread64_chk.c): Likewise.
23768 (CFLAGS-recv_chk.c): Likewise.
23769 (CFLAGS-recvfrom_chk.c): Likewise.
23770 (CFLAGS-tst-longjmp_chk.c): Likewise.
23771 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
23772 (CFLAGS-tst-longjmp_chk2.c): Likewise.
23773 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
23774 (CFLAGS-tst-longjmp_chk3.c): Likewise.
23775 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
23776 (CFLAGS-tst-chk1.c): Likewise.
23777 (CFLAGS-tst-chk2.c): Likewise.
23778 (CFLAGS-tst-chk3.c): Likewise.
23779 (CFLAGS-tst-chk4.cc): Likewise.
23780 (CFLAGS-tst-chk5.cc): Likewise.
23781 (CFLAGS-tst-chk6.cc): Likewise.
23782 (CFLAGS-tst-lfschk1.c): Likewise.
23783 (CFLAGS-tst-lfschk2.c): Likewise.
23784 (CFLAGS-tst-lfschk3.c): Likewise.
23785 (CFLAGS-tst-lfschk4.cc): Likewise.
23786 (CFLAGS-tst-lfschk5.cc): Likewise.
23787 (CFLAGS-tst-lfschk6.cc): Likewise.
23788 (CFLAGS-tst-ssp-1.c): Likewise.
23789 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
23790 (CFLAGS-scandir64.c): Likewise.
23791 (CFLAGS-scandir-tail.c): Likewise.
23792 (CFLAGS-scandir64-tail.c): Likewise.
23793 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
23794 (CFLAGS-dl-tunables.c): Likewise.
23795 (CFLAGS-dl-runtime.c): Likewise.
23796 (CFLAGS-dl-lookup.c): Likewise.
23797 (CFLAGS-dl-iterate-phdr.c): Likewise.
23798 (CFLAGS-vismain.c): Likewise.
23799 (CFLAGS-tst-linkall-static.c): Likewise.
23800 (CFLAGS-tst-linkall-static.c): Likewise.
23801 (CPPFLAGS-dl-load.c): Likewise.
23802 (CFLAGS-ldconfig.c): Likewise.
23803 (CFLAGS-dl-cache.c): Likewise.
23804 (CFLAGS-cache.c): Likewise.
23805 (CFLAGS-rtld.c): Likewise.
23806 (CFLAGS-multiload.c): Likewise.
23807 (CFLAGS-filtmod1.c): Likewise.
23808 (CFLAGS-tst-align.c): Likewise.
23809 (CFLAGS-tst-align2.c): Likewise.
23810 (CFLAGS-tst-alignmod.c): Likewise.
23811 (CFLAGS-tst-alignmod2.c): Likewise.
23812 (CPPFLAGS-tst-execstack.c): Likewise.
23813 (CFLAGS-tst-ptrguard1-static.c): Likewise.
23814 (CFLAGS-tst-latepthreadmod.c): Likewise.
23815 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
23816 (CFLAGS-getgrnam_r.c): Likewise.
23817 (CFLAGS-getgrent_r.c): Likewise.
23818 (CFLAGS-getgrent.c): Likewise.
23819 (CFLAGS-fgetgrent.c): Likewise.
23820 (CFLAGS-fgetgrent_r.c): Likewise.
23821 (CFLAGS-putgrent.c): Likewise.
23822 (CFLAGS-initgroups.c): Likewise.
23823 (CFLAGS-getgrgid.c): Likewise.
23824 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
23825 (CFLAGS-getsgent.c): Likewise.
23826 (CFLAGS-fgetsgent.c): Likewise.
23827 (CFLAGS-fgetsgent_r.c): Likewise.
23828 (CFLAGS-putsgent.c): Likewise.
23829 (CFLAGS-getsgnam.c): Likewise.
23830 (CFLAGS-getsgnam_r.c): Likewise.
23831 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
23832 (CFLAGS-iconv_charmap.c): Likewise.
23833 (CFLAGS-dummy-repertoire.c): Likewise.
23834 (CFLAGS-charmap.c): Likewise.
23835 (CFLAGS-linereader.c): Likewise.
23836 (CFLAGS-simple-hash.c): Likewise.
23837 (CFLAGS-gconv_conf.c): Likewise.
23838 (CFLAGS-iconvconfig.c): Likewise.
23839 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23840 (CFLAGS-gethstbyad.c): Likewise.
23841 (CFLAGS-gethstbynm_r.c): Likewise.
23842 (CFLAGS-gethstbynm.c): Likewise.
23843 (CFLAGS-gethstbynm2_r.c): Likewise.
23844 (CFLAGS-gethstbynm2.c): Likewise.
23845 (CFLAGS-gethstent_r.c): Likewise.
23846 (CFLAGS-gethstent.c): Likewise.
23847 (CFLAGS-rcmd.c): Likewise.
23848 (CFLAGS-getnetbynm_r.c): Likewise.
23849 (CFLAGS-getnetbynm.c): Likewise.
23850 (CFLAGS-getnetbyad_r.c): Likewise.
23851 (CFLAGS-getnetbyad.c): Likewise.
23852 (CFLAGS-getnetent_r.c): Likewise.
23853 (CFLAGS-getnetent.c): Likewise.
23854 (CFLAGS-getaliasent_r.c): Likewise.
23855 (CFLAGS-getaliasent.c): Likewise.
23856 (CFLAGS-getrpcent_r.c): Likewise.
23857 (CFLAGS-getrpcent.c): Likewise.
23858 (CFLAGS-getservent_r.c): Likewise.
23859 (CFLAGS-getservent.c): Likewise.
23860 (CFLAGS-getprtent_r.c): Likewise.
23861 (CFLAGS-getprtent.c): Likewise.
23862 (CFLAGS-either_ntoh.c): Likewise.
23863 (CFLAGS-either_hton.c): Likewise.
23864 (CFLAGS-getnetgrent.c): Likewise.
23865 (CFLAGS-getnetgrent_r.c): Likewise.
23866 (CFLAGS-tst-checks-posix.c): Likewise.
23867 (CFLAGS-tst-sockaddr.c): Likewise.
23868 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
23869 (CFLAGS-tst-translit.c): Likewise.
23870 (CFLAGS-tst-gettext2.c): Likewise.
23871 (CFLAGS-tst-codeset.c): Likewise.
23872 (CFLAGS-tst-gettext3.c): Likewise.
23873 (CFLAGS-tst-gettext4.c): Likewise.
23874 (CFLAGS-tst-gettext5.c): Likewise.
23875 (CFLAGS-tst-gettext6.c): Likewise.
23876 * io/Makefile (CFLAGS-open.c): Likewise.
23877 (CFLAGS-open64.c): Likewise.
23878 (CFLAGS-creat.c): Likewise.
23879 (CFLAGS-creat64.c): Likewise.
23880 (CFLAGS-fcntl.c): Likewise.
23881 (CFLAGS-poll.c): Likewise.
23882 (CFLAGS-ppoll.c): Likewise.
23883 (CFLAGS-lockf.c): Likewise.
23884 (CFLAGS-statfs.c): Likewise.
23885 (CFLAGS-fstatfs.c): Likewise.
23886 (CFLAGS-statvfs.c): Likewise.
23887 (CFLAGS-fstatvfs.c): Likewise.
23888 (CFLAGS-fts.c): Likewise.
23889 (CFLAGS-fts64.c): Likewise.
23890 (CFLAGS-ftw.c): Likewise.
23891 (CFLAGS-ftw64.c): Likewise.
23892 (CFLAGS-lockf.c): Likewise.
23893 (CFLAGS-posix_fallocate.c): Likewise.
23894 (CFLAGS-posix_fallocate64.c): Likewise.
23895 (CFLAGS-fallocate.c): Likewise.
23896 (CFLAGS-fallocate64.c): Likewise.
23897 (CFLAGS-read.c): Likewise.
23898 (CFLAGS-write.c): Likewise.
23899 (CFLAGS-test-stat.c): Likewise.
23900 (CFLAGS-test-lfs.c): Likewise.
23901 * libio/Makefile (CFLAGS-fileops.c): Likewise.
23902 (CFLAGS-fputc.c): Likewise.
23903 (CFLAGS-fputwc.c): Likewise.
23904 (CFLAGS-freopen64.c): Likewise.
23905 (CFLAGS-freopen.c): Likewise.
23906 (CFLAGS-fseek.c): Likewise.
23907 (CFLAGS-fseeko64.c): Likewise.
23908 (CFLAGS-fseeko.c): Likewise.
23909 (CFLAGS-ftello64.c): Likewise.
23910 (CFLAGS-ftello.c): Likewise.
23911 (CFLAGS-fwide.c): Likewise.
23912 (CFLAGS-genops.c): Likewise.
23913 (CFLAGS-getc.c): Likewise.
23914 (CFLAGS-getchar.c): Likewise.
23915 (CFLAGS-getwc.c): Likewise.
23916 (CFLAGS-getwchar.c): Likewise.
23917 (CFLAGS-iofclose.c): Likewise.
23918 (CFLAGS-iofflush.c): Likewise.
23919 (CFLAGS-iofgetpos64.c): Likewise.
23920 (CFLAGS-iofgetpos.c): Likewise.
23921 (CFLAGS-iofgets.c): Likewise.
23922 (CFLAGS-iofgetws.c): Likewise.
23923 (CFLAGS-iofputs.c): Likewise.
23924 (CFLAGS-iofputws.c): Likewise.
23925 (CFLAGS-iofread.c): Likewise.
23926 (CFLAGS-iofsetpos64.c): Likewise.
23927 (CFLAGS-iofsetpos.c): Likewise.
23928 (CFLAGS-ioftell.c): Likewise.
23929 (CFLAGS-iofwrite.c): Likewise.
23930 (CFLAGS-iogetdelim.c): Likewise.
23931 (CFLAGS-iogetline.c): Likewise.
23932 (CFLAGS-iogets.c): Likewise.
23933 (CFLAGS-iogetwline.c): Likewise.
23934 (CFLAGS-ioputs.c): Likewise.
23935 (CFLAGS-ioseekoff.c): Likewise.
23936 (CFLAGS-ioseekpos.c): Likewise.
23937 (CFLAGS-iosetbuffer.c): Likewise.
23938 (CFLAGS-iosetvbuf.c): Likewise.
23939 (CFLAGS-ioungetc.c): Likewise.
23940 (CFLAGS-ioungetwc.c): Likewise.
23941 (CFLAGS-oldfileops.c): Likewise.
23942 (CFLAGS-oldiofclose.c): Likewise.
23943 (CFLAGS-oldiofgetpos64.c): Likewise.
23944 (CFLAGS-oldiofgetpos.c): Likewise.
23945 (CFLAGS-oldiofsetpos64.c): Likewise.
23946 (CFLAGS-oldiofsetpos.c): Likewise.
23947 (CFLAGS-peekc.c): Likewise.
23948 (CFLAGS-putc.c): Likewise.
23949 (CFLAGS-putchar.c): Likewise.
23950 (CFLAGS-putwc.c): Likewise.
23951 (CFLAGS-putwchar.c): Likewise.
23952 (CFLAGS-rewind.c): Likewise.
23953 (CFLAGS-wfileops.c): Likewise.
23954 (CFLAGS-wgenops.c): Likewise.
23955 (CFLAGS-oldiofopen.c): Likewise.
23956 (CFLAGS-iofopen.c): Likewise.
23957 (CFLAGS-iofopen64.c): Likewise.
23958 (CFLAGS-oldtmpfile.c): Likewise.
23959 (CFLAGS-tst_putwc.c): Likewise.
23960 * locale/Makefile (CFLAGS-md5.c): Likewise.
23961 (CFLAGS-charmap.c): Likewise.
23962 (CFLAGS-locfile.c): Likewise.
23963 (CFLAGS-charmap-dir.c): Likewise.
23964 * login/Makefile (CFLAGS-grantpt.c): Likewise.
23965 (CFLAGS-getpt.c): Likewise.
23966 (CFLAGS-pt_chown.c): Likewise.
23967 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
23968 (CFLAGS-obstack.c): Likewise.
23969 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
23970 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
23971 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
23972 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
23973 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
23974 (CFLAGS-test-tgmath.c): Likewise.
23975 (CFLAGS-test-tgmath2.c): Likewise.
23976 (CFLAGS-test-tgmath-ret.c): Likewise.
23977 (CFLAGS-test-powl.c): Likewise.
23978 (CFLAGS-test-snan.c): Likewise.
23979 (CFLAGS-test-signgam-finite.c): Likewise.
23980 (CFLAGS-test-signgam-finite-c99.c): Likewise.
23981 (CFLAGS-test-signgam-finite-c11.c): Likewise.
23982 (CFLAGS-test-signgam-uchar.c): Likewise.
23983 (CFLAGS-test-signgam-uchar-init.c): Likewise.
23984 (CFLAGS-test-signgam-uchar-static.c): Likewise.
23985 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
23986 (CFLAGS-test-signgam-uint.c): Likewise.
23987 (CFLAGS-test-signgam-uint-init.c): Likewise.
23988 (CFLAGS-test-signgam-uint-static.c): Likewise.
23989 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
23990 (CFLAGS-test-signgam-ullong.c): Likewise.
23991 (CFLAGS-test-signgam-ullong-init.c): Likewise.
23992 (CFLAGS-test-signgam-ullong-static.c): Likewise.
23993 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
23994 (CFLAGS-test-math-cxx11.cc): Likewise.
23995 (CFLAGS-test-math-isinff.cc): Likewise.
23996 (CFLAGS-test-math-iszero.cc): Likewise.
23997 (CFLAGS-test-math-issignaling.cc): Likewise.
23998 (CFLAGS-test-math-iscanonical.cc): Likewise.
23999 (CFLAGS-test-iszero-excess-precision.c): Likewise.
24000 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
24001 (CFLAGS-test-flt-eval-method.c): Likewise.
24002 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
24003 (CFLAGS-test-finite-macros.c): Likewise.
24004 * misc/Makefile (CFLAGS-select.c): Likewise.
24005 (CFLAGS-tsearch.c): Likewise.
24006 (CFLAGS-lsearch.c): Likewise.
24007 (CFLAGS-pselect.c): Likewise.
24008 (CFLAGS-readv.c): Likewise.
24009 (CFLAGS-writev.c): Likewise.
24010 (CFLAGS-preadv.c): Likewise.
24011 (CFLAGS-preadv64.c): Likewise.
24012 (CFLAGS-pwritev.c): Likewise.
24013 (CFLAGS-pwritev64.c): Likewise.
24014 (CFLAGS-preadv2.c): Likewise.
24015 (CFLAGS-preadv64v2.c): Likewise.
24016 (CFLAGS-pwritev2.c): Likewise.
24017 (CFLAGS-pwritev64v2.c): Likewise.
24018 (CFLAGS-usleep.c): Likewise.
24019 (CFLAGS-syslog.c): Likewise.
24020 (CFLAGS-error.c): Likewise.
24021 (CFLAGS-getpass.c): Likewise.
24022 (CFLAGS-mkstemp.c): Likewise.
24023 (CFLAGS-mkstemp64.c): Likewise.
24024 (CFLAGS-getsysstats.c): Likewise.
24025 (CFLAGS-getusershell.c): Likewise.
24026 (CFLAGS-err.c): Likewise.
24027 (CFLAGS-tst-tsearch.c): Likewise.
24028 (CFLAGS-msync.c): Likewise.
24029 (CFLAGS-fdatasync.c): Likewise.
24030 (CFLAGS-fsync.c): Likewise.
24031 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
24032 (CFLAGS-unwind.c): Likewise.
24033 (CFLAGS-unwind-forcedunwind.c): Likewise.
24034 (CFLAGS-pthread_cancel.c): Likewise.
24035 (CFLAGS-pthread_setcancelstate.c): Likewise.
24036 (CFLAGS-pthread_setcanceltype.c): Likewise.
24037 (CFLAGS-cancellation.c): Likewise.
24038 (CFLAGS-libc-cancellation.c): Likewise.
24039 (CFLAGS-pthread_exit.c): Likewise.
24040 (CFLAGS-forward.c): Likewise.
24041 (CFLAGS-pthread_testcancel.c): Likewise.
24042 (CFLAGS-pthread_join.c): Likewise.
24043 (CFLAGS-pthread_timedjoin.c): Likewise.
24044 (CFLAGS-pthread_once.c): Likewise.
24045 (CFLAGS-pthread_cond_wait.c): Likewise.
24046 (CFLAGS-sem_wait.c): Likewise.
24047 (CFLAGS-sem_timedwait.c): Likewise.
24048 (CFLAGS-fcntl.c): Likewise.
24049 (CFLAGS-lockf.c): Likewise.
24050 (CFLAGS-pread.c): Likewise.
24051 (CFLAGS-pread64.c): Likewise.
24052 (CFLAGS-pwrite.c): Likewise.
24053 (CFLAGS-pwrite64.c): Likewise.
24054 (CFLAGS-wait.c): Likewise.
24055 (CFLAGS-waitpid.c): Likewise.
24056 (CFLAGS-sigwait.c): Likewise.
24057 (CFLAGS-msgrcv.c): Likewise.
24058 (CFLAGS-msgsnd.c): Likewise.
24059 (CFLAGS-tcdrain.c): Likewise.
24060 (CFLAGS-open.c): Likewise.
24061 (CFLAGS-open64.c): Likewise.
24062 (CFLAGS-pause.c): Likewise.
24063 (CFLAGS-recv.c): Likewise.
24064 (CFLAGS-send.c): Likewise.
24065 (CFLAGS-accept.c): Likewise.
24066 (CFLAGS-sendto.c): Likewise.
24067 (CFLAGS-connect.c): Likewise.
24068 (CFLAGS-recvfrom.c): Likewise.
24069 (CFLAGS-recvmsg.c): Likewise.
24070 (CFLAGS-sendmsg.c): Likewise.
24071 (CFLAGS-close.c): Likewise.
24072 (CFLAGS-read.c): Likewise.
24073 (CFLAGS-write.c): Likewise.
24074 (CFLAGS-nanosleep.c): Likewise.
24075 (CFLAGS-sigsuspend.c): Likewise.
24076 (CFLAGS-msync.c): Likewise.
24077 (CFLAGS-fdatasync.c): Likewise.
24078 (CFLAGS-fsync.c): Likewise.
24079 (CFLAGS-pt-system.c): Likewise.
24080 (CFLAGS-tst-cleanup2.c): Likewise.
24081 (CFLAGS-tst-cleanupx2.c): Likewise.
24082 (CFLAGS-flockfile.c): Likewise.
24083 (CFLAGS-ftrylockfile.c): Likewise.
24084 (CFLAGS-funlockfile.c): Likewise.
24085 (CFLAGS-tst-initializers1.c): Likewise.
24086 (CFLAGS-tst-initializers1-c89.c): Likewise.
24087 (CFLAGS-tst-initializers1-c99.c): Likewise.
24088 (CFLAGS-tst-initializers1-c11.c): Likewise.
24089 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
24090 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
24091 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
24092 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
24093 (CFLAGS-nscd_getgr_r.c): Likewise.
24094 (CFLAGS-nscd_gethst_r.c): Likewise.
24095 (CFLAGS-nscd_getai.c): Likewise.
24096 (CFLAGS-nscd_initgroups.c): Likewise.
24097 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
24098 (CFLAGS-pause.c): Likewise.
24099 (CFLAGS-pread.c): Likewise.
24100 (CFLAGS-pread64.c): Likewise.
24101 (CFLAGS-pwrite.c): Likewise.
24102 (CFLAGS-pwrite64.c): Likewise.
24103 (CFLAGS-sleep.c): Likewise.
24104 (CFLAGS-wait.c): Likewise.
24105 (CFLAGS-waitid.c): Likewise.
24106 (CFLAGS-waitpid.c): Likewise.
24107 (CFLAGS-getopt.c): Likewise.
24108 (CFLAGS-wordexp.c): Likewise.
24109 (CFLAGS-sysconf.c): Likewise.
24110 (CFLAGS-pathconf.c): Likewise.
24111 (CFLAGS-fpathconf.c): Likewise.
24112 (CFLAGS-spawn.c): Likewise.
24113 (CFLAGS-spawnp.c): Likewise.
24114 (CFLAGS-spawni.c): Likewise.
24115 (CFLAGS-glob.c): Likewise.
24116 (CFLAGS-glob64.c): Likewise.
24117 (CFLAGS-getconf.c): Likewise.
24118 (CFLAGS-nanosleep.c): Likewise.
24119 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
24120 (CFLAGS-getpwent.c): Likewise.
24121 (CFLAGS-getpw.c): Likewise.
24122 (CFLAGS-fgetpwent_r.c): Likewise.
24123 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
24124 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
24125 (CFLAGS-mq_timedreceive.c): Likewise.
24126 (CFLAGS-mq_timedsend.c): Likewise.
24127 (CFLAGS-clock_nanosleep.c): Likewise.
24128 (CFLAGS-librt-cancellation.c): Likewise.
24129 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
24130 (CFLAGS-getspent.c): Likewise.
24131 (CFLAGS-fgetspent.c): Likewise.
24132 (CFLAGS-fgetspent_r.c): Likewise.
24133 (CFLAGS-putspent.c): Likewise.
24134 (CFLAGS-getspnam.c): Likewise.
24135 (CFLAGS-getspnam_r.c): Likewise.
24136 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
24137 (CFLAGS-sigsuspend.c): Likewise.
24138 (CFLAGS-sigtimedwait.c): Likewise.
24139 (CFLAGS-sigwait.c): Likewise.
24140 (CFLAGS-sigwaitinfo.c): Likewise.
24141 (CFLAGS-sigreturn.c): Likewise.
24142 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
24143 (CFLAGS-vfwprintf.c): Likewise.
24144 (CFLAGS-tmpfile.c): Likewise.
24145 (CFLAGS-tmpfile64.c): Likewise.
24146 (CFLAGS-tempname.c): Likewise.
24147 (CFLAGS-psignal.c): Likewise.
24148 (CFLAGS-vprintf.c): Likewise.
24149 (CFLAGS-cuserid.c): Likewise.
24150 (CFLAGS-errlist.c): Likewise.
24151 (CFLAGS-siglist.c): Likewise.
24152 (CFLAGS-scanf15.c): Likewise.
24153 (CFLAGS-scanf17.c): Likewise.
24154 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
24155 (CFLAGS-msort.c): Likewise.
24156 (CFLAGS-qsort.c): Likewise.
24157 (CFLAGS-system.c): Likewise.
24158 (CFLAGS-fmtmsg.c): Likewise.
24159 (CFLAGS-strfmon.c): Likewise.
24160 (CFLAGS-strfmon_l.c): Likewise.
24161 (CFLAGS-strfromd.c): Likewise.
24162 (CFLAGS-strfromf.c): Likewise.
24163 (CFLAGS-strfroml.c): Likewise.
24164 (CFLAGS-tst-bsearch.c): Likewise.
24165 (CFLAGS-tst-qsort.c): Likewise.
24166 (CFLAGS-tst-makecontext2.c): Likewise.
24167 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
24168 (CFLAGS-xnlm_prot.c): Likewise.
24169 (CFLAGS-xrstat.c): Likewise.
24170 (CFLAGS-xyppasswd.c): Likewise.
24171 (CFLAGS-xklm_prot.c): Likewise.
24172 (CFLAGS-xrex.c): Likewise.
24173 (CFLAGS-xsm_inter.c): Likewise.
24174 (CFLAGS-xmount.c): Likewise.
24175 (CFLAGS-xrusers.c): Likewise.
24176 (CFLAGS-xspray.c): Likewise.
24177 (CFLAGS-xnfs_prot.c): Likewise.
24178 (CFLAGS-xrquota.c): Likewise.
24179 (CFLAGS-xkey_prot.c): Likewise.
24180 (CFLAGS-auth_unix.c): Likewise.
24181 (CFLAGS-key_call.c): Likewise.
24182 (CFLAGS-pmap_rmt.c): Likewise.
24183 (CFLAGS-clnt_perr.c): Likewise.
24184 (CFLAGS-openchild.c): Likewise.
24185 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
24186 (CFLAGS-msgsnd.c): Likewise.
24187 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
24188 * time/Makefile (CFLAGS-tzfile.c): Likewise.
24189 (CFLAGS-tzset.c): Likewise.
24190 (CFLAGS-getdate.c): Likewise.
24191 (CFLAGS-test_time.c): Likewise.
24192 (CPPFLAGS-tst-tzname.c): Likewise.
24193 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
24194 (CFLAGS-zic.c): Likewise.
24195 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
24196 (CFLAGS-wcswidth.c): Likewise.
24197 (CFLAGS-wcstol.c): Likewise.
24198 (CFLAGS-wcstoul.c): Likewise.
24199 (CFLAGS-wcstoll.c): Likewise.
24200 (CFLAGS-wcstoull.c): Likewise.
24201 (CFLAGS-wcstod.c): Likewise.
24202 (CFLAGS-wcstold.c): Likewise.
24203 (CFLAGS-wcstof128.c): Likewise.
24204 (CFLAGS-wcstof.c): Likewise.
24205 (CFLAGS-wcstol_l.c): Likewise.
24206 (CFLAGS-wcstoul_l.c): Likewise.
24207 (CFLAGS-wcstoll_l.c): Likewise.
24208 (CFLAGS-wcstoull_l.c): Likewise.
24209 (CFLAGS-wcstod_l.c): Likewise.
24210 (CFLAGS-wcstold_l.c): Likewise.
24211 (CFLAGS-wcstof128_l.c): Likewise.
24212 (CFLAGS-wcstof_l.c): Likewise.
24213 (CPPFLAGS-tst-wchar-h.c): Likewise.
24214 (CPPFLAGS-wcstold_l.c): Likewise.
24216 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
24218 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
24220 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24221 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24223 * manual/tunables.texi (Hardware Capability Tunables): Document
24224 glibc.tune.cached_memopt.
24225 * sysdeps/powerpc/cpu-features.c: New file.
24226 * sysdeps/powerpc/cpu-features.h: New file.
24227 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
24228 _dl_powerpc_cpu_features.
24229 * sysdeps/powerpc/dl-tunables.list: New file.
24230 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
24231 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
24232 (INIT_ARCH): Initialize use_aligned_memopt.
24233 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
24234 IS_IN(rtld))]: Restrict dl_platform_init availability and
24235 initialize CPU features used by tunables.
24236 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
24237 Add memcpy-power8-cached.
24238 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
24239 __memcpy_power8_cached.
24240 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
24241 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
24244 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
24246 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
24247 (CFLAGS-noinl-tester.c): Likewise.
24248 (CFLAGS-tst-strlen.c): Likewise.
24249 (CFLAGS-stratcliff.c): Likewise.
24250 (CFLAGS-test-ffs.c): Likewise.
24251 (CFLAGS-tst-inlcall.c): Likewise.
24252 (CFLAGS-tst-xbzero-opt.c): Likewise.
24253 (CFLAGS-memcpy.c): Likewise.
24254 (CFLAGS-wordcopy.c): Likewise.
24256 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
24258 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
24259 Store r15 on stack and add cfi rule.
24260 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
24263 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
24266 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
24269 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
24271 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24272 Add s_sinf-sse2 and s_sinf-fma.
24273 (CFLAGS-s_sinf-fma.c): New.
24274 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
24275 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
24276 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
24278 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
24280 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
24282 2017-12-07 Joseph Myers <joseph@codesourcery.com>
24285 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
24286 part of result to imaginary part of argument if it is zero and the
24287 real part of the argument is not finite.
24288 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
24289 of result to real part of argument if it is zero and the imaginary
24290 part of the argument is not finite.
24292 2017-12-07 Mike FABIAN <mfabian@redhat.com>
24295 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
24296 and to the list of locales to be built for testing.
24297 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
24298 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
24299 and build the collation rules upon that.
24301 2017-12-07 Joseph Myers <joseph@codesourcery.com>
24303 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
24304 * manual/math.texi (Mathematics): Document support for _Float32.
24305 * math/Makefile (test-types): Add float32.
24306 * math/Versions (GLIBC_2.27): Add _Float32 functions.
24307 * stdlib/Versions (GLIBC_2.27): Likewise.
24308 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24309 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24310 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24311 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24312 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24313 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
24314 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24315 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
24316 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24317 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24318 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24319 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24320 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24321 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
24322 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24323 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
24324 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24325 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
24326 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24327 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
24328 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24329 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
24331 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24332 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24333 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24334 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
24335 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
24338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
24349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24353 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24354 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24355 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24356 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24357 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
24358 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24359 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24360 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24361 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24362 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24363 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
24365 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24367 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
24369 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24371 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24372 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24373 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24374 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24375 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24376 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24377 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24378 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24380 2017-12-06 Joseph Myers <joseph@codesourcery.com>
24382 * stdlib/strtof.c: Include <bits/floatn.h>
24383 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
24384 and later undefine as macro. Define as weak alias if
24386 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
24387 and later undefine as macro. Define as weak alias if
24389 * stdlib/strtof_l.c: Include <bits/floatn.h>
24390 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
24391 and later undefine as macro. Define as weak alias if
24393 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
24394 and later undefine as macro. Define as weak alias if
24397 * stdlib/strfromf.c: Include <bits/floatn.h>.
24398 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
24399 and later undefine as macro and define as weak alias.
24401 * math/test-float32.h: New file.
24403 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
24404 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
24405 (libm_alias_float_other_r): Create f32 alias.
24406 (libm_alias_float_r): Use semicolon before call to
24407 libm_alias_float_other_r.
24409 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
24410 second argument to libm_alias_float_other.
24411 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
24412 second argument to libm_alias_float_other.
24413 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
24414 argument to libm_alias_float_other.
24417 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
24418 real part of result for argument 0 + i * NaN.
24419 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
24420 results for tests of 0 + i * NaN.
24422 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24424 * sysdeps/alpha/fpu/libm-test-ulps: Update.
24426 2017-12-06 David S. Miller <davem@davemloft.net>
24428 * sysdeps/sparc/fpu/libm-test-ulps: Update
24429 exp_{downward,towardzero,upward} ulps.
24431 2017-12-06 Joseph Myers <joseph@codesourcery.com>
24433 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
24436 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
24438 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
24440 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
24442 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
24445 2017-12-06 Mike FABIAN <mfabian@redhat.com>
24448 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
24449 and to the list of locales to be built for testing.
24450 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
24451 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
24452 and build the collation rules upon that.
24454 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24456 * NEWS: Add sinf to list of optimized functions.
24458 2017-12-06 Joseph Myers <joseph@codesourcery.com>
24460 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
24461 (__HAVE_FLOAT32X): Likewise.
24462 * manual/math.texi (Mathematics): Document support for _Float64
24464 * math/Makefile (test-types): Add float64 and float32x.
24465 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
24467 * stdlib/Versions (GLIBC_2.27): Likewise.
24468 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24469 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24470 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24471 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24472 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24473 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
24474 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24475 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
24476 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24477 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24478 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24479 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24480 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24481 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
24482 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24483 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
24484 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24485 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
24486 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24487 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
24488 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24489 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
24491 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24492 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24493 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24494 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
24495 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
24498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
24508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24512 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24513 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24514 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24515 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24516 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
24517 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24518 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24519 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24520 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24521 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24522 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
24524 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
24528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24530 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24531 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24532 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24533 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24534 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24535 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24536 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24537 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24539 2017-12-05 Joseph Myers <joseph@codesourcery.com>
24541 * bits/floatn-common.h: Include <bits/long-double.h>.
24542 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
24543 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
24544 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
24545 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
24546 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
24547 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
24548 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
24549 (__builtin_huge_valf64): Use __builtin_huge_vall.
24550 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
24551 (__builtin_inff64): Use __builtin_infl.
24552 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
24553 (__builtin_nanf64): Use __builtin_nanl.
24554 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
24555 (__builtin_nansf64): Use __builtin_nansl.
24557 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
24558 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24559 Carlos O'Donnell <carlos@redhat.com>
24561 * elf/dl-tunables.list: Add elision parameters.
24562 * manual/tunables.texi: Add entries about elision tunable.
24563 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
24564 Add callback functions to dynamically enable/disable elision.
24565 Add multiple callbacks functions to set elision parameters.
24566 Deleted __libc_enable_secure check.
24567 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
24568 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
24569 * configure: Regenerated.
24570 * configure.ac: Option enable_lock_elision was deleted.
24571 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
24572 * config.make.in: Remove references to enable_lock_elision.
24573 * manual/install.texi: Elision configure option was removed.
24574 * INSTALL: Regenerated to remove enable_lock_elision.
24576 Disable elision so it can verify error case for destroying a mutex.
24577 * sysdeps/powerpc/nptl/elide.h:
24578 Cleanup ENABLE_LOCK_ELISION check.
24579 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
24580 * sysdeps/s390/configure: Regenerated.
24581 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
24582 * nptl/tst-mutex8.c:
24583 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
24584 * sysdeps/powerpc/powerpc32/sysdep.h:
24585 Deleted all ENABLE_LOCK_ELISION checks.
24586 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24587 * sysdeps/powerpc/sysdep.h: Likewise.
24588 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
24589 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
24590 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
24591 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
24592 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24593 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
24594 enable-lock-elision.
24596 2017-12-05 Joseph Myers <joseph@codesourcery.com>
24598 * stdlib/strtod.c: Include <bits/floatn.h>.
24599 (BUILD_DOUBLE): New macro.
24600 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24601 (strtof64): Define and later undefine as macro. Define as weak
24602 alias if [!USE_WIDE_CHAR].
24603 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24604 (wcstof64): Define and later undefine as macro. Define as weak
24605 alias if [USE_WIDE_CHAR].
24606 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24607 (strtof32x): Define and later undefine as macro. Define as weak
24608 alias if [!USE_WIDE_CHAR].
24609 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24610 (wcstof32x): Define and later undefine as macro. Define as weak
24611 alias if [USE_WIDE_CHAR].
24612 * stdlib/strtod_l.c: Include <bits/floatn.h>.
24613 (BUILD_DOUBLE): New macro.
24614 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24615 (strtof64_l): Define and later undefine as macro. Define as weak
24616 alias if [!USE_WIDE_CHAR].
24617 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24618 (wcstof64_l): Define and later undefine as macro. Define as weak
24619 alias if [USE_WIDE_CHAR].
24620 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24621 (strtof32x_l): Define and later undefine as macro. Define as weak
24622 alias if [!USE_WIDE_CHAR].
24623 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24624 (wcstof32x_l): Define and later undefine as macro. Define as weak
24625 alias if [USE_WIDE_CHAR].
24627 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24629 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
24630 (reduced): Use ones as double instead of integer.
24632 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
24634 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
24636 2017-12-05 Joseph Myers <joseph@codesourcery.com>
24638 * stdlib/strfromd.c: Include <bits/floatn.h>.
24639 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
24640 and later undefine as macro and define as weak alias.
24641 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
24644 * math/test-float32x.h: New file.
24645 * math/test-float64.h: Likewise.
24647 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
24648 (libm_alias_double_other_r_f64): New macro.
24649 (libm_alias_double_other_r_f32x): Likewise.
24650 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
24651 libm_alias_double_other_r_f32x.
24652 (libm_alias_double_r): Use semicolon before call to
24653 libm_alias_double_other_r.
24654 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
24656 (libm_alias_double_other_r_f64): New macro.
24657 (libm_alias_double_other_r_f32x): Likewise.
24658 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
24659 libm_alias_double_other_r_f32x.
24661 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
24663 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
24665 (SINF_FUNC): Likewise. Replace floor with simple casts.
24667 2017-12-05 Mike FABIAN <mfabian@redhat.com>
24670 * localedata/Makefile: Add et_EE.UTF-8 to test-input
24671 and to the list of locales to be built for testing.
24672 * localedata/et_EE.UTF-8.in: New file for testing the collation.
24673 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
24674 and build the collation rules upon that.
24676 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
24678 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
24679 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
24680 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
24681 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
24682 instead of __insn__xxx.
24683 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
24684 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
24685 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
24686 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
24687 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
24688 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
24690 2017-12-05 Florian Weimer <fweimer@redhat.com>
24692 Linux: Implement interfaces for memory protection keys
24693 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
24695 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
24696 * support/xunistd.h (xsysconf): Declare.
24697 * support/xraise.c: New file.
24698 * support/xsigaction.c: Likewise.
24699 * support/xsignal.c: Likewise.
24700 * support/xsysconf.c: Likewise.
24701 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
24702 pkey_set, pkey_get, pkey_mprotect.
24703 [misc] (tests): Add tst-pkey.
24704 (tst-pkey): Link with -lpthread.
24705 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
24706 pkey_free, pkey_set, pkey_get, pkey_mprotect.
24707 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
24708 (PKEY_DISABLE_WRITE): Define.
24709 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
24711 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
24712 (SEGV_PKUERR): Add.
24713 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
24714 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
24715 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
24716 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
24718 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
24719 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
24720 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
24721 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
24722 * sysdeps/unix/sysv/linux/**.abilist: Update.
24724 2017-12-05 Florian Weimer <fweimer@redhat.com>
24726 * support/tst-test_compare.c (subprocess): Use long long instead
24727 of long argument for consistent type width across 32-bit and
24728 64-bit architectures.
24729 (do_test): Adjust expected output.
24731 2017-12-05 Joseph Myers <joseph@codesourcery.com>
24733 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
24734 (cosf): Define using libm_alias_float.
24735 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
24736 (fabsf): Define using libm_alias_float.
24737 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
24738 (fmaf): Define using libm_alias_float.
24739 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
24740 (rintf): Define using libm_alias_float.
24741 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
24742 (sinf): Define using libm_alias_float.
24743 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
24744 <libm-alias-float.h>.
24745 (modff): Define using libm_alias_float.
24746 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
24747 <libm-alias-float.h>.
24748 (logbf): Define using libm_alias_float.
24749 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
24750 <libm-alias-float.h>.
24751 (ceilf): Define using libm_alias_float.
24752 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
24753 <libm-alias-float.h>.
24754 (copysignf): Define using libm_alias_float.
24755 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
24756 <libm-alias-float.h>.
24757 (floorf): Define using libm_alias_float.
24758 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
24759 <libm-alias-float.h>.
24760 (llrintf): Define using libm_alias_float.
24761 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
24762 <libm-alias-float.h>.
24763 (llroundf): Define using libm_alias_float.
24764 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
24765 <libm-alias-float.h>.
24766 (lrintf): Define using libm_alias_float.
24767 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
24768 <libm-alias-float.h>.
24769 (lroundf): Define using libm_alias_float.
24770 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
24771 <libm-alias-float.h>.
24772 (nearbyintf): Define using libm_alias_float.
24773 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
24774 <libm-alias-float.h>.
24775 (rintf): Define using libm_alias_float.
24776 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
24777 <libm-alias-float.h>.
24778 (roundf): Define using libm_alias_float.
24779 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
24780 <libm-alias-float.h>.
24781 (truncf): Define using libm_alias_float.
24782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
24783 Include <libm-alias-float.h>.
24784 (ceilf): Define using libm_alias_float.
24785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
24786 Include <libm-alias-float.h>.
24787 (copysignf): Define using libm_alias_float.
24788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
24789 Include <libm-alias-float.h>.
24790 (floorf): Define using libm_alias_float.
24791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
24792 Include <libm-alias-float.h>.
24793 (llrintf): Define using libm_alias_float.
24794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
24795 Include <libm-alias-float.h>.
24796 (llroundf): Define using libm_alias_float.
24797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
24798 Include <libm-alias-float.h>.
24799 (logbf): Define using libm_alias_float.
24800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
24801 Include <libm-alias-float.h>.
24802 (lrintf): Define using libm_alias_float.
24803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
24804 Include <libm-alias-float.h>.
24805 (lroundf): Define using libm_alias_float.
24806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
24807 Include <libm-alias-float.h>.
24808 (modff): Define using libm_alias_float.
24809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
24810 Include <libm-alias-float.h>.
24811 (roundf): Define using libm_alias_float.
24812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
24813 Include <libm-alias-float.h>.
24814 (truncf): Define using libm_alias_float.
24815 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
24816 <libm-alias-float.h>.
24817 (llrintf): Define using libm_alias_float.
24818 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
24819 <libm-alias-float.h>.
24820 (llroundf): Define using libm_alias_float.
24821 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
24822 <libm-alias-float.h>.
24823 (ceilf): Define using libm_alias_float.
24824 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
24825 <libm-alias-float.h>.
24826 (floorf): Define using libm_alias_float.
24827 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
24828 <libm-alias-float.h>.
24829 (llroundf): Define using libm_alias_float.
24830 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
24831 <libm-alias-float.h>.
24832 (lroundf): Define using libm_alias_float.
24833 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
24834 <libm-alias-float.h>.
24835 (roundf): Define using libm_alias_float.
24836 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
24837 <libm-alias-float.h>.
24838 (truncf): Define using libm_alias_float.
24839 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
24840 <libm-alias-float.h>.
24841 (copysignf): Define using libm_alias_float.
24842 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
24843 <libm-alias-float.h>.
24844 (llrintf): Define using libm_alias_float.
24845 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
24846 <libm-alias-float.h>.
24847 (llroundf): Define using libm_alias_float.
24848 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
24849 <libm-alias-float.h>.
24850 (lrintf): Define using libm_alias_float.
24851 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
24852 <libm-alias-float.h>.
24853 (lroundf): Define using libm_alias_float.
24854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
24855 <libm-alias-float.h>.
24856 (ceilf): Define using libm_alias_float.
24857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
24858 <libm-alias-float.h>.
24859 (copysignf): Define using libm_alias_float.
24860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
24861 <libm-alias-float.h>.
24862 (cosf): Define using libm_alias_float.
24863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
24864 <libm-alias-float.h>.
24865 (floorf): Define using libm_alias_float.
24866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
24867 <libm-alias-float.h>.
24868 (llrintf): Define using libm_alias_float.
24869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
24870 <libm-alias-float.h>.
24871 (llroundf): Define using libm_alias_float.
24872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
24873 <libm-alias-float.h>.
24874 (logbf): Define using libm_alias_float.
24875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
24876 <libm-alias-float.h>.
24877 (modff): Define using libm_alias_float.
24878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
24879 <libm-alias-float.h>.
24880 (roundf): Define using libm_alias_float.
24881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
24882 <libm-alias-float.h>.
24883 (sinf): Define using libm_alias_float.
24884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
24885 <libm-alias-float.h>.
24886 (truncf): Define using libm_alias_float.
24887 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
24888 <libm-alias-float.h>.
24889 (ceilf): Define using libm_alias_float.
24890 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
24891 <libm-alias-float.h>.
24892 (copysignf): Define using libm_alias_float.
24893 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
24894 <libm-alias-float.h>.
24895 (floorf): Define using libm_alias_float.
24896 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
24897 <libm-alias-float.h>.
24898 (llrintf): Define using libm_alias_float.
24899 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
24900 <libm-alias-float.h>.
24901 (llroundf): Define using libm_alias_float.
24902 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
24903 <libm-alias-float.h>.
24904 (nearbyintf): Define using libm_alias_float.
24905 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
24906 <libm-alias-float.h>.
24907 (rintf): Define using libm_alias_float.
24908 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
24909 <libm-alias-float.h>.
24910 (roundf): Define using libm_alias_float.
24911 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
24912 <libm-alias-float.h>.
24913 (truncf): Define using libm_alias_float.
24914 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
24915 <libm-alias-float.h>.
24916 (ceilf): Define using libm_alias_float.
24917 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
24918 <libm-alias-float.h>.
24919 (floorf): Define using libm_alias_float.
24920 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
24921 <libm-alias-float.h>.
24922 (llroundf): Define using libm_alias_float.
24923 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
24924 <libm-alias-float.h>.
24925 (roundf): Define using libm_alias_float.
24926 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
24927 <libm-alias-float.h>.
24928 (truncf): Define using libm_alias_float.
24929 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
24930 <libm-alias-float.h>.
24931 (copysignf): Define using libm_alias_float.
24932 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
24933 <libm-alias-float.h>.
24934 (llrintf): Define using libm_alias_float.
24935 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
24936 <libm-alias-float.h>.
24937 (llroundf): Define using libm_alias_float.
24938 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
24939 <libm-alias-float.h>.
24940 (cosf): Define using libm_alias_float.
24941 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
24942 <libm-alias-float.h>.
24943 (llrintf): Define using libm_alias_float.
24944 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
24945 <libm-alias-float.h>.
24946 (llroundf): Define using libm_alias_float.
24947 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
24948 <libm-alias-float.h>.
24949 (sinf): Define using libm_alias_float.
24951 2017-12-04 Florian Weimer <fweimer@redhat.com>
24953 * support/check.h (TEST_COMPARE): Define.
24954 (support_test_compare_failure): Declare.
24955 * support/Makefile (libsupport-routines): Add
24956 support_test_compare_failure.
24957 (tests): Add tst-test_compare.
24958 * support /support_test_compare_failure.c: New file.
24959 * support/tst-test_compare.c: Likewise.
24961 2017-12-04 Mike FABIAN <mfabian@redhat.com>
24964 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
24965 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
24966 available, this rewrite of the collation rules does reproduce
24967 the test file in the same order.
24969 2017-12-04 Mike FABIAN <mfabian@redhat.com>
24972 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
24973 digraphs in the month and day names. Using single code points for
24974 digraphs is deprecated. While there are dedicated Unicode
24975 codepoints, for the digraphs, these are included for backwards
24976 compatibility and modern texts use a sequence of Basic Latin
24977 characters. See: https://www.unicode.org/faq/ligature_digraph.html
24978 This makes the month and day names agree exactly with CLDR now,
24979 CLDR does not use the single code points for the digraphs either.
24981 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
24983 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
24985 2017-12-04 Joseph Myers <joseph@codesourcery.com>
24987 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
24990 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
24992 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
24993 Define only for libc.so.
24995 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
24997 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24998 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
24999 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
25000 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
25001 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25003 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25006 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
25008 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
25011 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
25012 PREINIT_FUNCTION_WEAK is nonzero.
25013 (gmon_initializer): New function. Put procedure label for it in
25014 .init_array section.
25015 (_init): Don't call PREINIT_FUNCTION.
25016 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
25017 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
25018 value when map argument is null.
25020 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
25021 depi instruction from PIC pc-relative sequence.
25022 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
25023 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
25024 (elf_machine_load_address): Likewise.
25025 (elf_machine_runtime_setup): Likewise.
25027 2017-12-02 Joseph Myers <joseph@codesourcery.com>
25029 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
25030 <libm-alias-double.h>.
25031 (logb): Define using libm_alias_double.
25032 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
25033 <libm-alias-double.h>.
25034 (copysign): Define using libm_alias_double.
25035 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
25036 <libm-alias-double.h>.
25037 (llrint): Define using libm_alias_double.
25038 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
25039 <libm-alias-double.h>.
25040 (llround): Define using libm_alias_double.
25041 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
25042 <libm-alias-double.h>.
25043 (lrint): Define using libm_alias_double.
25044 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
25045 <libm-alias-double.h>.
25046 (lround): Define using libm_alias_double.
25047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
25048 Include <libm-alias-double.h>.
25049 (copysign): Define using libm_alias_double.
25050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
25051 Include <libm-alias-double.h>.
25052 (llrint): Define using libm_alias_double.
25053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
25054 Include <libm-alias-double.h>.
25055 (llround): Define using libm_alias_double.
25056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
25057 <libm-alias-double.h>.
25058 (logb): Define using libm_alias_double.
25059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
25060 Include <libm-alias-double.h>.
25061 (lrint): Define using libm_alias_double.
25062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
25063 Include <libm-alias-double.h>.
25064 (lround): Define using libm_alias_double.
25065 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
25066 <libm-alias-double.h>.
25067 (llrint): Define using libm_alias_double.
25068 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
25069 <libm-alias-double.h>.
25070 (llround): Define using libm_alias_double.
25071 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
25072 <libm-alias-double.h>.
25073 (llround): Define using libm_alias_double.
25074 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
25075 <libm-alias-double.h>.
25076 (lround): Define using libm_alias_double.
25077 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25078 <libm-alias-double.h>.
25079 (copysign): Define using libm_alias_double.
25080 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
25081 <libm-alias-double.h>.
25082 (llrint): Define using libm_alias_double.
25083 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25084 <libm-alias-double.h>.
25085 (llround): Define using libm_alias_double.
25086 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25087 <libm-alias-double.h>.
25088 (lrint): Define using libm_alias_double.
25089 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25090 <libm-alias-double.h>.
25091 (lround): Define using libm_alias_double.
25092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
25093 <libm-alias-double.h>.
25094 (copysign): Define using libm_alias_double.
25095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
25096 <libm-alias-double.h>.
25097 (llrint): Define using libm_alias_double.
25099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
25100 <libm-alias-double.h>.
25101 (llround): Define using libm_alias_double.
25102 (lround): Likewise.
25103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
25104 <libm-alias-double.h>.
25105 (logb): Define using libm_alias_double.
25106 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25107 <libm-alias-double.h>.
25108 (copysign): Define using libm_alias_double.
25109 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25110 <libm-alias-double.h>.
25111 (llrint): Define using libm_alias_double.
25113 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
25114 <libm-alias-double.h>.
25115 (llround): Define using libm_alias_double.
25116 (lround): Likewise.
25117 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25118 <libm-alias-double.h>.
25119 (llround): Define using libm_alias_double.
25120 (lround): Likewise.
25121 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25122 <libm-alias-double.h>.
25123 (copysign): Define using libm_alias_double.
25124 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25125 <libm-alias-double.h>.
25126 (llrint): Define using libm_alias_double.
25128 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25129 <libm-alias-double.h>.
25130 (llround): Define using libm_alias_double.
25131 (lround): Likewise.
25132 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25133 <libm-alias-double.h>.
25134 (llrint): Define using libm_alias_double.
25136 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25137 <libm-alias-double.h>.
25138 (llround): Define using libm_alias_double.
25139 (lround): Likewise.
25141 2017-12-01 Joseph Myers <joseph@codesourcery.com>
25143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
25144 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
25145 compat symbol based on llround.
25147 * sysdeps/powerpc/power7/fpu/s_logb.c
25148 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
25149 symbol based on __logb, not on logb.
25150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
25151 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
25153 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25155 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
25156 (rint): Define using libm_alias_double.
25157 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
25158 <libm-alias-double.h>.
25159 (modf): Define using libm_alias_double.
25160 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
25161 <libm-alias-double.h>.
25162 (ceil): Define using libm_alias_double.
25163 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
25164 <libm-alias-double.h>.
25165 (floor): Define using libm_alias_double.
25166 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
25167 <libm-alias-double.h>.
25168 (nearbyint): Define using libm_alias_double.
25169 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
25170 <libm-alias-double.h>.
25171 (rint): Define using libm_alias_double.
25172 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
25173 <libm-alias-double.h>.
25174 (round): Define using libm_alias_double.
25175 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
25176 <libm-alias-double.h>.
25177 (trunc): Define using libm_alias_double.
25178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
25179 <libm-alias-double.h>.
25180 (ceil): Define using libm_alias_double.
25181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
25182 Include <libm-alias-double.h>.
25183 (floor): Define using libm_alias_double.
25184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
25185 <libm-alias-double.h>.
25186 (modf): Define using libm_alias_double.
25187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
25188 Include <libm-alias-double.h>.
25189 (round): Define using libm_alias_double.
25190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
25191 Include <libm-alias-double.h>.
25192 (trunc): Define using libm_alias_double.
25193 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
25194 <libm-alias-double.h>.
25195 (ceil): Define using libm_alias_double.
25196 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
25197 <libm-alias-double.h>.
25198 (floor): Define using libm_alias_double.
25199 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
25200 <libm-alias-double.h>.
25201 (round): Define using libm_alias_double.
25202 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
25203 <libm-alias-double.h>.
25204 (trunc): Define using libm_alias_double.
25205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
25206 <libm-alias-double.h>.
25207 (ceil): Define using libm_alias_double.
25208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
25209 <libm-alias-double.h>.
25210 (floor): Define using libm_alias_double.
25211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
25212 <libm-alias-double.h>.
25213 (modf): Define using libm_alias_double.
25214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
25215 <libm-alias-double.h>.
25216 (round): Define using libm_alias_double.
25217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
25218 <libm-alias-double.h>.
25219 (trunc): Define using libm_alias_double.
25220 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
25221 <libm-alias-double.h>.
25222 (ceil): Define using libm_alias_double.
25223 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
25224 <libm-alias-double.h>.
25225 (floor): Define using libm_alias_double.
25226 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
25227 <libm-alias-double.h>.
25228 (nearbyint): Define using libm_alias_double.
25229 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
25230 <libm-alias-double.h>.
25231 (rint): Define using libm_alias_double.
25232 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
25233 <libm-alias-double.h>.
25234 (round): Define using libm_alias_double.
25235 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
25236 <libm-alias-double.h>.
25237 (trunc): Define using libm_alias_double.
25238 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
25239 <libm-alias-double.h>.
25240 (ceil): Define using libm_alias_double.
25241 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
25242 <libm-alias-double.h>.
25243 (floor): Define using libm_alias_double.
25244 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
25245 <libm-alias-double.h>.
25246 (round): Define using libm_alias_double.
25247 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
25248 <libm-alias-double.h>.
25249 (trunc): Define using libm_alias_double.
25251 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
25252 (fabs): Define using libm_alias_double.
25253 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
25254 (fma): Define using libm_alias_double.
25255 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
25256 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
25257 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
25258 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
25260 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25262 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
25264 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
25265 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
25266 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
25268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
25269 due redirect macro.
25271 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
25273 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
25275 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25277 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
25278 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
25279 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
25280 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
25282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25283 (libm-sysdep_routines): Add s_nearbyintf-generic and
25284 s_nearbyint-generic.
25285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
25287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
25288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
25290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
25292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
25294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
25297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25298 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
25299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
25301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
25302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
25304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
25305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
25306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25309 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
25310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
25312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
25313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
25315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
25316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
25317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
25319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25320 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
25321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
25323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
25324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
25326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
25327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
25328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25331 (sysdep_calls): New rule.
25332 (sysdep_routines): Use sysdep_calls as base.
25333 (libm-sysdep_routines): Add generic rule for symbols shared with
25334 libc. Add s_copysign-generic and s_copysign-generic objects.
25335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
25337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
25338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
25340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
25341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
25342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
25344 2017-12-01 Mike FABIAN <mfabian@redhat.com>
25347 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
25348 the list of locales to be built for testing.
25349 * localedata/is_IS.UTF-8.in: New file.
25350 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
25353 2017-12-01 Joseph Myers <joseph@codesourcery.com>
25355 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
25356 <libm-alias-float.h>.
25357 (fabsf): Define using libm_alias_float.
25359 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
25361 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
25363 2017-11-30 Joseph Myers <joseph@codesourcery.com>
25365 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
25366 <libm-alias-float.h>.
25367 (fabsf): Define using libm_alias_float.
25368 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
25369 <libm-alias-float.h>.
25370 (lrintf): Define using libm_alias_float.
25371 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
25372 <libm-alias-float.h>.
25373 (rintf): Define using libm_alias_float.
25375 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
25376 <libm-alias-double.h>.
25377 (fabs): Define using libm_alias_double.
25378 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
25379 <libm-alias-double.h>.
25380 (lrint): Define using libm_alias_double.
25381 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
25382 <libm-alias-double.h>.
25383 (rint): Define using libm_alias_double.
25385 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
25386 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
25387 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
25388 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
25389 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
25390 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
25391 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
25392 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
25393 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
25394 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
25395 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
25396 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
25397 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
25398 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
25399 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
25400 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
25401 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
25402 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
25404 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
25405 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
25406 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
25408 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
25409 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
25410 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
25412 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
25413 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
25414 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
25415 s_expm1_template.c.
25416 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
25417 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
25418 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
25420 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
25421 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
25422 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
25423 s_floor_template.c.
25424 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
25425 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
25426 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
25427 s_frexp_template.c.
25428 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
25429 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
25430 s_lrint_template.c.
25431 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
25432 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
25433 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
25435 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
25436 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
25437 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
25438 s_nearbyint_template.c.
25439 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
25440 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
25441 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
25442 s_remquo_template.c.
25443 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
25444 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
25445 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
25447 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
25448 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
25449 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
25451 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
25452 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
25453 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
25454 s_sincos_template.c.
25455 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
25456 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
25457 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
25459 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
25460 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
25461 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
25463 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
25464 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
25465 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
25466 s_trunc_template.c.
25467 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
25468 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
25469 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
25470 s_atan.c instead of including s_atan.c.
25471 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
25472 s_atanf.c instead of including s_atanf.c.
25473 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
25474 s_atanl.c instead of including s_atanl.c.
25475 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
25476 instead of s_atan.c.
25477 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
25478 instead of s_atanf.c.
25479 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
25480 instead of s_atanl.c.
25482 * scripts/update-copyrights: Do not handle intl/plural.c
25485 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
25488 * configure.ac (BISON): Require to be present.
25489 * configure: Regenerated.
25490 * intl/Makefile (generated): Add plural.c.
25491 [$(BISON) != no]: Make code unconditional.
25492 (plural.c): Change rule to $(objpfx)plural.c.
25493 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
25494 * intl/plural.c: Remove.
25495 * manual/install.texi (Tools for Compilation): Document bison as
25497 * INSTALL: Regenerated.
25499 2017-11-30 Joseph Myers <joseph@codesourcery.com>
25501 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
25502 <libm-alias-double.h>.
25503 (llrint): Define using libm_alias_double.
25504 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
25505 <libm-alias-float.h>.
25506 (llrintf): Define using libm_alias_float.
25507 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
25508 <libm-alias-ldouble.h>.
25509 (llrintl): Define using libm_alias_ldouble.
25511 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
25512 declare_mgen_alias instead of weak_alias.
25513 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
25514 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
25515 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
25517 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25519 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25521 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
25522 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
25523 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
25525 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25526 Add submul_1-generic.
25527 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
25528 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
25529 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
25531 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25532 Add addmul_1-generic.
25533 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
25534 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
25535 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
25537 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25539 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
25540 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
25541 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
25543 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25545 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
25546 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
25547 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
25549 2017-11-30 Mike FABIAN <mfabian@redhat.com>
25551 According to CLDR, collation rules for Serbian and Bosnian
25552 should be the same as for Croatian.
25555 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
25556 and to the list of locales to be built for testing.
25557 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
25558 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
25559 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
25560 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
25562 2017-11-30 Mike FABIAN <mfabian@redhat.com>
25564 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
25565 to make test case pass.
25566 * localedata/hr_HR.UTF-8.in: Add more test strings.
25568 2017-11-30 Mike FABIAN <mfabian@redhat.com>
25570 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
25572 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
25574 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
25575 the list of locales to built for testing.
25576 * localedata/hr_HR.UTF-8.in: New file.
25578 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
25581 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
25583 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
25584 CLDR (except use ligatures for the digraphs, CLDR does not use
25585 the ligatures), add first_workday, some fixes in the date and time
25587 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
25589 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
25590 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
25591 Add int_p_cs_precedes and int_n_cs_precedes.
25592 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
25593 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
25595 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
25596 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
25598 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
25599 and lang_lib. Change postal_fmt.
25601 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
25603 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
25605 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
25606 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
25607 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
25608 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
25609 * sysdeps/generic/setjmpP.h: New file.
25610 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
25611 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
25612 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
25613 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
25614 Add jmp_buf-ssp.sym.
25615 (tests): Add tst-saved_mask-1.
25617 2017-11-30 Arjun Shankar <arjun@redhat.com>
25621 * malloc/malloc.c (__libc_malloc): Use checked_request2size
25622 instead of request2size.
25624 2017-11-30 Joseph Myers <joseph@codesourcery.com>
25626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
25627 (__lllrint): Remove alias.
25628 (lllrint): Likewise.
25629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
25630 (__lllrintf): Likewise.
25631 (lllrintf): Likewise.
25633 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
25634 <libm-alias-float.h>.
25635 (copysignf): Define using libm_alias_float.
25636 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
25637 <libm-alias-float.h>.
25638 (fabsf): Define using libm_alias_float.
25639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25640 Include <libm-alias-float.h>.
25641 (copysignf): Define using libm_alias_float.
25642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
25643 <libm-alias-float.h>.
25644 (fabsf): Define using libm_alias_float.
25645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
25646 <libm-alias-float.h>.
25647 (fdimf): Define using libm_alias_float.
25648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
25649 <libm-alias-float.h>.
25650 (fmaf): Define using libm_alias_float.
25651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
25652 <libm-alias-float.h>.
25653 (llrintf): Define using libm_alias_float.
25654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
25655 Include <libm-alias-float.h>.
25656 (nearbyintf): Define using libm_alias_float.
25657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
25658 <libm-alias-float.h>.
25659 (rintf): Define using libm_alias_float.
25660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
25661 <libm-alias-float.h>.
25662 (llrintf): Define using libm_alias_float.
25663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
25664 <libm-alias-float.h>.
25665 (lrintf): Define using libm_alias_float.
25666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
25667 <libm-alias-float.h>.
25668 (nearbyintf): Define using libm_alias_float.
25669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
25670 <libm-alias-float.h>.
25671 (rintf): Define using libm_alias_float.
25672 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
25673 <libm-alias-float.h>.
25674 (ceilf): Define using libm_alias_float.
25675 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
25676 <libm-alias-float.h>.
25677 (floorf): Define using libm_alias_float.
25678 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
25679 <libm-alias-float.h>.
25680 (fmaf): Define using libm_alias_float.
25681 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
25682 <libm-alias-float.h>.
25683 (lrintf): Define using libm_alias_float.
25684 (llrintf): Likewise.
25685 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
25686 <libm-alias-float.h>.
25687 (nearbyintf): Define using libm_alias_float.
25688 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
25689 <libm-alias-float.h>.
25690 (rintf): Define using libm_alias_float.
25691 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
25692 <libm-alias-float.h>.
25693 (truncf): Define using libm_alias_float.
25694 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
25695 <libm-alias-float.h>.
25696 (copysignf): Define using libm_alias_float.
25697 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
25698 <libm-alias-float.h>.
25699 (fabsf): Define using libm_alias_float.
25700 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
25701 <libm-alias-float.h>.
25702 (lrintf): Define using libm_alias_float.
25703 (llrintf): Likewise.
25704 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
25705 <libm-alias-float.h>.
25706 (nearbyintf): Define using libm_alias_float.
25707 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
25708 <libm-alias-float.h>.
25709 (rintf): Define using libm_alias_float.
25711 2017-11-29 Joseph Myers <joseph@codesourcery.com>
25713 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
25714 <libm-alias-double.h>.
25715 (copysign): Define using libm_alias_double.
25716 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
25717 <libm-alias-double.h>.
25718 (fabs): Define using libm_alias_double.
25719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25720 Include <libm-alias-double.h>.
25721 (copysign): Define using libm_alias_double.
25722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
25723 <libm-alias-double.h>.
25724 (fabs): Define using libm_alias_double.
25725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
25726 <libm-alias-double.h>.
25727 (fdim): Define using libm_alias_double.
25728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
25729 <libm-alias-double.h>.
25730 (fma): Define using libm_alias_double.
25731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
25732 <libm-alias-double.h>.
25733 (llrint): Define using libm_alias_double.
25734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
25735 Include <libm-alias-double.h>.
25736 (nearbyint): Define using libm_alias_double.
25737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
25738 <libm-alias-double.h>.
25739 (rint): Define using libm_alias_double.
25740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
25741 <libm-alias-double.h>.
25742 (fabs): Define using libm_alias_double.
25743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
25744 <libm-alias-double.h>.
25745 (llrint): Define using libm_alias_double.
25746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
25747 <libm-alias-double.h>.
25748 (nearbyint): Define using libm_alias_double.
25749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
25750 <libm-alias-double.h>.
25751 (rint): Define using libm_alias_double.
25752 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
25753 <libm-alias-double.h>.
25754 (ceil): Define using libm_alias_double.
25755 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
25756 <libm-alias-double.h>.
25757 (floor): Define using libm_alias_double.
25758 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
25759 <libm-alias-double.h>.
25760 (fma): Define using libm_alias_double.
25761 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
25762 <libm-alias-double.h>.
25763 (lrint): Define using libm_alias_double.
25764 (llrint): Likewise.
25765 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
25766 <libm-alias-double.h>.
25767 (nearbyint): Define using libm_alias_double.
25768 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
25769 <libm-alias-double.h>.
25770 (rint): Define using libm_alias_double.
25771 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
25772 <libm-alias-double.h>.
25773 (trunc): Define using libm_alias_double.
25774 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
25775 <libm-alias-double.h>.
25776 (copysign): Define using libm_alias_double.
25777 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
25778 <libm-alias-double.h>.
25779 (fabs): Define using libm_alias_double.
25780 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
25781 <libm-alias-double.h>.
25782 (lrint): Define using libm_alias_double.
25783 (llrint): Likewise.
25784 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
25785 <libm-alias-double.h>.
25786 (nearbyint): Define using libm_alias_double.
25787 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
25788 <libm-alias-double.h>.
25789 (rint): Define using libm_alias_double.
25792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
25794 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25796 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
25797 SPARC --disable-multi-arch glibc variants.
25799 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
25800 <libm-alias-float.h>.
25801 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25803 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
25804 <libm-alias-float.h>.
25805 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25807 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
25808 <libm-alias-float.h>.
25809 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25811 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
25812 <libm-alias-float.h>.
25813 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25815 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
25816 <libm-alias-float.h>.
25817 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25819 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
25820 <libm-alias-float.h>.
25821 (ceilf): Define using libm_alias_float.
25822 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
25823 <libm-alias-float.h>.
25824 (floorf): Define using libm_alias_float.
25825 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
25826 <libm-alias-float.h>.
25827 (fmaf): Define using libm_alias_float.
25828 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
25829 <libm-alias-float.h>.
25830 (nearbyintf): Define using libm_alias_float.
25831 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
25832 <libm-alias-float.h>.
25833 (rintf): Define using libm_alias_float.
25834 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
25835 <libm-alias-float.h>.
25836 (truncf): Define using libm_alias_float.
25837 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
25838 (copysignf): Define using libm_alias_float.
25839 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
25840 (cosf): Define using libm_alias_float.
25841 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
25842 (fabsf): Define using libm_alias_float.
25843 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
25844 (fmaxf): Define using libm_alias_float.
25845 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
25846 (fminf): Define using libm_alias_float.
25847 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
25848 (llrintf): Define using libm_alias_float.
25849 [!__ILP32__] (lrintf): Likewise.
25850 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
25851 (sincosf): Define using libm_alias_float.
25852 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
25853 (sinf): Define using libm_alias_float.
25854 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
25855 (lrintf): Define using libm_alias_float.
25857 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
25858 <libm-alias-double.h>.
25859 (atan): Define using libm_alias_double.
25860 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
25861 <libm-alias-double.h>.
25862 (ceil): Define using libm_alias_double.
25863 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
25864 <libm-alias-double.h>.
25865 (floor): Define using libm_alias_double.
25866 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
25867 <libm-alias-double.h>.
25868 (fma): Define using libm_alias_double.
25869 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
25870 <libm-alias-double.h>.
25871 (nearbyint): Define using libm_alias_double.
25872 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
25873 <libm-alias-double.h>.
25874 (rint): Define using libm_alias_double.
25875 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
25876 <libm-alias-double.h>.
25877 (sin): Define using libm_alias_double.
25879 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
25880 <libm-alias-double.h>.
25881 (tan): Define using libm_alias_double.
25882 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
25883 <libm-alias-double.h>.
25884 (trunc): Define using libm_alias_double.
25885 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
25886 (copysign): Define using libm_alias_double.
25887 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
25888 (fabs): Define using libm_alias_double.
25889 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
25890 (fmax): Define using libm_alias_double.
25891 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
25892 (fmin): Define using libm_alias_double.
25893 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
25894 (llrint): Define using libm_alias_double.
25895 [!__ILP32__] (lrint): Likewise.
25896 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
25897 (lrint): Define using libm_alias_double.
25899 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25901 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
25902 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
25904 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
25905 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
25906 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
25907 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
25908 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
25909 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25911 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
25912 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
25914 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
25915 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
25916 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
25917 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
25918 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
25919 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25921 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
25922 (libm-sysdep_routines): Add s_nearbyint-generic and
25923 s_nearbyintf-generic objects.
25924 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
25925 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
25926 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
25927 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
25928 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
25929 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
25931 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
25932 Add s_finitef-generic and s_finite-generic objects.
25933 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
25934 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
25935 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
25936 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
25937 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
25938 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
25940 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
25941 Add s_isinff-generic and s_isinf-generic objects.
25942 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
25943 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
25944 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
25945 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
25946 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
25947 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25949 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
25950 Add s_isnanf-generic and s_isnan-generic objects.
25951 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
25952 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
25953 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
25954 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
25955 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
25956 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25958 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
25960 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
25962 (sysdep_routines): Use sysdep_calls as base.
25963 (libm-sysdep_routines): Add generic rule for symbols shared with
25964 libc. Add s_signbit-generic and s_signbitf-generic objects.
25965 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
25966 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
25967 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
25968 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
25969 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
25970 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25972 2017-11-29 Joseph Myers <joseph@codesourcery.com>
25974 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
25975 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
25976 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
25977 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
25978 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
25979 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
25980 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
25981 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
25982 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
25983 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
25984 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
25985 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
25986 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
25987 libm_alias_float_r.
25988 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
25989 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
25991 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
25992 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
25993 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
25994 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
25995 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
25996 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
25997 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
25998 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
25999 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
26000 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
26002 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
26004 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
26005 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
26006 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
26007 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
26008 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
26009 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
26010 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
26011 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
26012 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
26013 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
26014 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
26015 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
26016 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
26017 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
26018 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
26019 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
26020 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
26021 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
26022 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
26024 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
26025 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
26026 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
26027 * sysdeps/ia64/fpu/w_lgammaf_main.c
26028 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
26029 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
26031 2017-11-28 Mike FABIAN <mfabian@redhat.com>
26032 Alexandre Oliva <aoliva@redhat.com>
26035 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
26036 * localedata/fr_CA.UTF-8.in: New file with test data for backward
26038 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
26040 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
26041 * localedata/locales/de_DE (LC_COLLATE): Likewise.
26042 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
26043 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
26044 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
26045 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
26046 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
26047 instead of “ifdef DIACRIT_BACKWARD”.
26049 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26051 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
26052 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
26053 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
26054 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
26055 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
26056 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
26057 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
26058 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
26059 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
26060 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
26061 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
26062 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
26063 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
26064 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
26065 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
26066 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
26067 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
26068 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
26069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26070 ($(have-as-vis3) == yes): Remove conditional.
26071 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
26073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
26075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
26077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
26079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
26081 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
26082 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
26083 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
26084 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
26085 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
26086 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
26087 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
26088 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
26090 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26092 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
26093 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
26094 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
26095 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
26096 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
26097 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
26098 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
26099 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
26100 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
26101 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
26102 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
26103 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
26104 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
26105 libm_alias_double_r.
26106 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
26108 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
26109 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
26110 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
26111 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
26112 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
26113 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
26114 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
26115 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
26116 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
26117 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
26118 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
26120 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
26122 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
26123 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
26124 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
26125 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
26126 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
26127 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
26128 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
26129 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
26130 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
26131 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
26132 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
26133 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
26134 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
26135 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
26136 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
26137 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
26138 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
26139 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
26141 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
26142 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
26143 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
26144 * sysdeps/ia64/fpu/w_lgamma_main.c
26145 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
26146 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
26148 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
26150 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
26151 address of $global$ into %dp register earlier. Use pc-relative
26152 instruction sequence for PIC case.
26154 2017-11-28 Joseph Myers <joseph@codesourcery.com>
26156 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
26157 (asinhf): Define using libm_alias_float.
26158 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
26159 (atanf): Define using libm_alias_float.
26160 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
26161 (cbrtf): Define using libm_alias_float.
26162 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
26163 (ceilf): Define using libm_alias_float.
26164 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26165 (copysignf): Define using libm_alias_float.
26166 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
26167 (expm1f): Define using libm_alias_float.
26168 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
26169 (fabsf): Define using libm_alias_float.
26170 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
26171 (floorf): Define using libm_alias_float.
26172 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26173 (fmaxf): Define using libm_alias_float.
26174 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
26175 (fminf): Define using libm_alias_float.
26176 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
26177 (frexpf): Define using libm_alias_float.
26178 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
26179 (llrintf): Define using libm_alias_float.
26180 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
26181 (logbf): Define using libm_alias_float.
26182 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
26183 (lrintf): Define using libm_alias_float.
26184 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
26185 (nearbyintf): Define using libm_alias_float.
26186 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
26187 (remquof): Define using libm_alias_float.
26188 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
26189 (rintf): Define using libm_alias_float.
26190 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
26191 (truncf): Define using libm_alias_float.
26192 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
26193 <libm-alias-float.h>.
26194 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26196 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
26197 <libm-alias-float.h>.
26198 (expf): Define using libm_alias_float, or libm_alias_float_other
26200 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
26201 <libm-alias-float.h>.
26202 (log2f): Define using libm_alias_float, or libm_alias_float_other
26204 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
26205 <libm-alias-float.h>.
26206 (logf): Define using libm_alias_float, or libm_alias_float_other
26208 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
26209 <libm-alias-float.h>.
26210 (powf): Define using libm_alias_float, or libm_alias_float_other
26212 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
26213 <libm-alias-float.h>.
26214 (cosf): Define using libm_alias_float.
26215 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
26216 <libm-alias-float.h>.
26217 (sincosf): Define using libm_alias_float.
26218 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
26219 <libm-alias-float.h>.
26220 (sinf): Define using libm_alias_float.
26221 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26222 (fmaxf): Define using libm_alias_float.
26223 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
26224 (fminf): Define using libm_alias_float.
26225 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26226 <libm-alias-float.h>.
26227 (fmaf): Define using libm_alias_float.
26229 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
26230 (asinh): Define using libm_alias_double.
26231 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
26232 (atan): Define using libm_alias_double.
26233 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
26234 (cbrt): Define using libm_alias_double.
26235 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
26236 (ceil): Define using libm_alias_double.
26237 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
26238 (copysign): Define using libm_alias_double.
26239 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
26240 (expm1): Define using libm_alias_double.
26241 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
26242 (fabs): Define using libm_alias_double.
26243 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
26244 (fdim): Define using libm_alias_double.
26245 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
26246 (floor): Define using libm_alias_double.
26247 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
26248 (fmax): Define using libm_alias_double.
26249 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
26250 (fmin): Define using libm_alias_double.
26251 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
26252 (frexp): Define using libm_alias_double.
26253 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
26254 (llrint): Define using libm_alias_double.
26255 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
26256 (logb): Define using libm_alias_double.
26257 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
26258 (lrint): Define using libm_alias_double.
26259 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
26260 (nearbyint): Define using libm_alias_double.
26261 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
26262 (remquo): Define using libm_alias_double.
26263 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
26264 (rint): Define using libm_alias_double.
26265 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
26266 (trunc): Define using libm_alias_double.
26267 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
26268 (fmax): Define using libm_alias_double.
26269 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
26270 (fmin): Define using libm_alias_double.
26271 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
26272 (fma): Define using libm_alias_double.
26274 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
26277 * elf/dl-hwcaps.c (ROUND): Removed.
26278 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
26279 and ELF_NOTE_NEXT_OFFSET.
26280 * elf/dl-load.c (ROUND): Removed.
26281 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
26282 * elf/readelflib.c (ROUND): Removed.
26283 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
26284 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
26285 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
26286 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
26288 2017-11-28 Joseph Myers <joseph@codesourcery.com>
26290 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
26291 [!__fmaf] (fmaf): Define using libm_alias_float.
26293 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
26294 [!__fma] (fma): Define using libm_alias_double.
26295 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
26297 2017-11-28 Mike FABIAN <mfabian@redhat.com>
26300 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
26301 and implement the collation rules for cs from CLDR on top of that.
26302 * Makefile: Add cs_CZ.UTF-8 to test-input.
26303 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
26305 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
26307 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
26309 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
26310 Icarus Sparry <icarus.w.sparry@intel.com>
26312 * benchtests/Makefile:Add BENCHSET to allow subsets of
26313 benchmarks to be run.
26314 * benchtests/README: Add documentation for: Running subsets of
26317 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
26319 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
26320 range of tests names.
26322 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
26323 result from property and remove "max", min" and "mean" from
26324 required properties based on benchtests/bench-skeleton.c.
26326 2017-11-28 Florian Weimer <fweimer@redhat.com>
26329 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
26330 due to Internet requirement.
26331 * posix/Makefile (tests): Remove tst-getaddrinfo4,
26333 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
26335 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26337 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
26338 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
26339 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
26340 (sysdep_routines): Add memset-ultra1.
26341 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
26343 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
26344 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
26345 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
26346 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
26347 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
26348 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
26349 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
26350 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26352 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
26354 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
26355 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
26356 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
26357 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
26358 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
26359 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
26360 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
26362 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
26363 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
26364 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
26365 (sysdep_routines): Add memcpy-ultra1.
26366 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
26367 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
26369 2017-11-28 Joseph Myers <joseph@codesourcery.com>
26371 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
26372 (cfloat_versions): Take function argument without trailing 'f'.
26373 Call libm_alias_float_other.
26374 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
26375 * sysdeps/alpha/fpu/cargf.c: Likewise.
26376 * sysdeps/alpha/fpu/cimagf.c: Likewise.
26377 * sysdeps/alpha/fpu/conjf.c: Likewise.
26378 * sysdeps/alpha/fpu/crealf.c: Likewise.
26379 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
26380 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
26381 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
26382 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
26383 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
26384 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
26385 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
26386 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
26387 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
26388 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
26389 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
26390 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
26391 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
26392 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
26393 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
26394 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
26395 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
26396 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
26397 (clog10f): Use libm_alias_float_other.
26398 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
26399 (ceilf): Define using libm_alias_float.
26400 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
26401 (copysignf): Define using libm_alias_float.
26402 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
26403 (fabsf): Define using libm_alias_float.
26404 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
26405 (floorf): Define using libm_alias_float.
26406 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
26407 (fmaxf): Define using libm_alias_float.
26408 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
26409 (fminf): Define using libm_alias_float.
26410 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
26411 (lrintf): Define using libm_alias_float.
26412 (llrintf): Likewise.
26413 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
26414 (lroundf): Define using libm_alias_float.
26415 (llroundf): Likewise.
26416 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
26417 (rintf): Define using libm_alias_float.
26418 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
26419 (truncf): Define using libm_alias_float.
26421 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
26422 (ceilf): Define using libm_alias_float.
26423 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
26424 (floorf): Define using libm_alias_float.
26425 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
26426 (fmaf): Define using libm_alias_float.
26427 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
26428 (fmaxf): Define using libm_alias_float.
26429 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
26430 (fminf): Define using libm_alias_float.
26431 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
26432 (llrintf): Define using libm_alias_float.
26433 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
26434 (llroundf): Define using libm_alias_float.
26435 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
26436 (lrintf): Define using libm_alias_float.
26437 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
26438 (lroundf): Define using libm_alias_float.
26439 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
26440 <libm-alias-float.h>.
26441 (nearbyintf): Define using libm_alias_float.
26442 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
26443 (rintf): Define using libm_alias_float.
26444 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
26445 (roundf): Define using libm_alias_float.
26446 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
26447 (truncf): Define using libm_alias_float.
26449 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
26450 (ceil): Define using libm_alias_double.
26451 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
26452 (copysign): Define using libm_alias_double.
26453 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
26454 (fabs): Define using libm_alias_double.
26455 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
26456 (floor): Define using libm_alias_double.
26457 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
26458 (fmax): Define using libm_alias_double.
26459 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
26460 (fmin): Define using libm_alias_double.
26461 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
26462 (lrint): Define using libm_alias_double.
26463 (llrint): Likewise.
26464 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
26465 (lround): Define using libm_alias_double.
26466 (llround): Likewise.
26467 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
26468 (rint): Define using libm_alias_double.
26469 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
26470 (trunc): Define using libm_alias_double.
26472 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
26473 (libm_alias_double_r): Add semicolon after weak_alias call.
26475 2017-11-27 Joseph Myers <joseph@codesourcery.com>
26477 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
26478 (ceil): Define using libm_alias_double.
26479 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
26480 (floor): Define using libm_alias_double.
26481 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
26482 (fma): Define using libm_alias_double.
26483 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
26484 (fmax): Define using libm_alias_double.
26485 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
26486 (fmin): Define using libm_alias_double.
26487 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
26488 (llrint): Define using libm_alias_double.
26489 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
26490 (llround): Define using libm_alias_double.
26491 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
26492 (lrint): Define using libm_alias_double.
26493 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
26494 (lround): Define using libm_alias_double.
26495 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
26496 (nearbyint): Define using libm_alias_double.
26497 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
26498 (rint): Define using libm_alias_double.
26499 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
26500 (round): Define using libm_alias_double.
26501 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
26502 (trunc): Define using libm_alias_double.
26504 2017-11-27 Florian Weimer <fweimer@redhat.com>
26506 * sysdeps/unix/sysv/linux/mlock2.c: New file.
26507 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
26508 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
26509 (tests): Add tst-mlock2.
26510 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
26511 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
26512 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
26513 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
26514 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
26515 for mlock. Document mlock2.
26517 2017-11-27 Joseph Myers <joseph@codesourcery.com>
26519 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
26520 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
26522 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
26524 * sysdeps/x86/Makeconfig: New file.
26525 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
26526 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26527 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
26528 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26529 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
26530 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26531 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
26533 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26534 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
26535 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26536 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
26537 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26538 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
26539 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26540 * manual/math.texi (Mathematics): Document support for _Float64x.
26541 * math/Versions (GLIBC_2.27): Add _Float64x functions.
26542 * stdlib/Versions (GLIBC_2.27): Likewise.
26543 * wcsmbs/Versions (GLIBC_2.27): Likewise.
26544 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
26545 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26546 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26547 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26548 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26549 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26550 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26551 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26552 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26553 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26554 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
26557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26559 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26560 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26561 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26562 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26563 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26564 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26565 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26566 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26567 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26568 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26569 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26570 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26571 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
26572 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26574 2017-11-27 Andreas Schwab <schwab@suse.de>
26576 * elf/Makefile (dl-routines): Add dl-sort-maps.
26577 * elf/dl-sort-maps.c: New file.
26578 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
26579 (_dl_sort_maps): Declare.
26580 * elf/dl-fini.c (_dl_sort_fini): Remove.
26581 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
26582 * elf/dl-close.c (_dl_close_worker): Likewise.
26583 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
26585 * elf/dl-open.c (dl_open_worker): Likewise.
26587 2017-11-24 Joseph Myers <joseph@codesourcery.com>
26589 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
26590 using libm_alias_float128.
26591 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
26593 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
26595 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
26596 (setpayloadsigf128): Likewise.
26597 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
26599 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
26602 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
26603 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
26604 -mfloat128 to CFLAGS.
26606 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
26608 (CFLAGS-libm-test-support-float64x.c): New variable.
26609 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
26610 $(f128-loader-link) to gnulib-tests.
26612 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
26613 (libm_alias_float128_other_r): If
26614 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
26616 (libm_alias_float128_r): Add semicolon after weak_alias call.
26617 * sysdeps/generic/libm-alias-ldouble.h
26618 (libm_alias_ldouble_other_r_f128): New macro.
26619 (libm_alias_ldouble_other_r_f64x): Likewise.
26620 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
26621 and libm_alias_ldouble_other_r_f64x.
26622 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
26623 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
26624 (libm_alias_ldouble_other_r_f128): New macro.
26625 (libm_alias_ldouble_other_r_f64x): Likewise.
26626 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
26627 and libm_alias_ldouble_other_r_f64x.
26629 * stdlib/strfroml.c: Always include <stdlib.h>.
26630 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
26631 undefine as macro and define as weak alias.
26632 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
26633 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
26635 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
26636 Define and later undefine as macro and define as weak alias.
26638 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
26639 Define and later undefine as macro. Define as weak alias if
26641 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
26642 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
26643 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
26644 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
26645 Define and later undefine as macro. Define as weak alias if
26647 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
26648 Define and later undefine as macro. Define as weak alias if
26650 * sysdeps/ieee754/float128/strtof128_l.c
26651 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
26652 Define and later undefine as macro. Define as weak alias if
26654 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
26655 Define and later undefine as macro. Define as weak alias if
26657 * sysdeps/ieee754/ldbl-128/strtold_l.c
26658 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
26659 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26660 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
26661 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
26662 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
26663 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
26664 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26665 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
26666 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
26667 * sysdeps/ieee754/ldbl-96/strtold_l.c
26668 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
26669 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26670 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
26671 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
26673 * math/test-float64x.h: New file.
26674 * math/Makefile (type-float64x-yes): New variable.
26675 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
26677 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
26678 function-like macro.
26679 (min_of_type_): Likewise.
26680 (min_of_type_l): Likewise.
26681 (min_of_type_f128): Likewise.
26682 (min_of_type): Pass () as last argument of __MATH_TG.
26684 * stdlib/tst-strtod-round-skeleton.c
26685 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
26688 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
26689 for combinations of long double with _Float64 and _Float64x.
26691 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
26692 (__DECL_SIMD_cosf32): Likewise.
26693 (__DECL_SIMD_cosf64): Likewise.
26694 (__DECL_SIMD_cosf32x): Likewise.
26695 (__DECL_SIMD_cosf64x): Likewise.
26696 (__DECL_SIMD_cosf128x): Likewise.
26697 (__DECL_SIMD_sinf16): Likewise.
26698 (__DECL_SIMD_sinf32): Likewise.
26699 (__DECL_SIMD_sinf64): Likewise.
26700 (__DECL_SIMD_sinf32x): Likewise.
26701 (__DECL_SIMD_sinf64x): Likewise.
26702 (__DECL_SIMD_sinf128x): Likewise.
26703 (__DECL_SIMD_sincosf16): Likewise.
26704 (__DECL_SIMD_sincosf32): Likewise.
26705 (__DECL_SIMD_sincosf64): Likewise.
26706 (__DECL_SIMD_sincosf32x): Likewise.
26707 (__DECL_SIMD_sincosf64x): Likewise.
26708 (__DECL_SIMD_sincosf128x): Likewise.
26709 (__DECL_SIMD_logf16): Likewise.
26710 (__DECL_SIMD_logf32): Likewise.
26711 (__DECL_SIMD_logf64): Likewise.
26712 (__DECL_SIMD_logf32x): Likewise.
26713 (__DECL_SIMD_logf64x): Likewise.
26714 (__DECL_SIMD_logf128x): Likewise.
26715 (__DECL_SIMD_expf16): Likewise.
26716 (__DECL_SIMD_expf32): Likewise.
26717 (__DECL_SIMD_expf64): Likewise.
26718 (__DECL_SIMD_expf32x): Likewise.
26719 (__DECL_SIMD_expf64x): Likewise.
26720 (__DECL_SIMD_expf128x): Likewise.
26721 (__DECL_SIMD_powf16): Likewise.
26722 (__DECL_SIMD_powf32): Likewise.
26723 (__DECL_SIMD_powf64): Likewise.
26724 (__DECL_SIMD_powf32x): Likewise.
26725 (__DECL_SIMD_powf64x): Likewise.
26726 (__DECL_SIMD_powf128x): Likewise.
26728 * stdlib/Versions (libc): Move entries for wcstof128 and
26729 wcstof128_l to ....
26730 * wcsmbs/Versions (libc): ... here.
26731 Include <float128-abi.h>.
26733 2017-11-24 Florian Weimer <fweimer@redhat.com>
26735 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26736 bits/mman-shared.h.
26737 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
26738 <bits/mman-shared.h>.
26739 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
26741 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
26742 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
26743 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
26744 <bits/mman-shared.h>.
26746 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26749 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
26750 posix_memalign/free.
26751 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
26753 2017-11-22 Mike FABIAN <mfabian@redhat.com>
26756 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
26757 and implement the collation rules for pl from CLDR on top of that.
26758 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
26759 of locales to be built for testing.
26760 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
26762 2017-11-23 Joseph Myers <joseph@codesourcery.com>
26764 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
26765 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
26766 libm_alias_ldouble_other.
26767 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
26768 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
26769 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
26770 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
26771 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
26772 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
26773 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
26774 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
26775 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
26776 libm_alias_ldouble_r.
26777 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
26778 libm_alias_ldouble_other.
26779 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
26780 (log10l): Likewise.
26781 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
26782 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
26783 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
26784 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
26785 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
26786 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
26787 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
26788 (atan2l): Likewise.
26789 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
26790 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
26791 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
26792 libm_alias_ldouble.
26793 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
26795 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
26796 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
26797 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
26799 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
26800 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
26801 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
26802 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
26803 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
26804 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
26805 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
26806 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
26807 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
26808 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
26809 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
26810 libm_alias_ldouble.
26811 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
26812 libm_alias_ldouble_other.
26813 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
26814 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
26815 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
26816 libm_alias_ldouble.
26817 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
26818 libm_alias_ldouble_other.
26819 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
26820 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
26821 * sysdeps/ia64/fpu/w_lgammal_main.c
26822 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
26823 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
26825 2017-11-23 Florian Weimer <fweimer@redhat.com>
26827 * malloc/malloc.c (tcache_thread_shutdown): Rename from
26828 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
26829 alike. Remove freeres marker.
26830 * malloc/arena.c (arena_thread_freeres): Call
26831 tcache_thread_shutdown.
26833 2017-11-23 Florian Weimer <fweimer@redhat.com>
26836 Export nscd hash function as __nss_hash.
26837 * include/nss.h (__nss_hash): Declare.
26838 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
26840 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
26841 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
26843 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
26844 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
26845 * nss/Makefiles (routines): Add nss_hash.
26846 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
26847 * nss/nss_hash.c: Rename from nis/nis_hash.c.
26848 (__nss_hash): Rename from __nis_hash. Define hidden alias.
26849 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
26851 2017-11-23 Florian Weimer <fweimer@redhat.com>
26854 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
26855 Return error code, not -1.
26856 * signal/tst-sigwait-eintr.c: New file.
26857 * signal/Makefile (tests): Add tst-sigwait-eintr.
26859 2017-11-23 Florian Weimer <fweimer@redhat.com>
26861 Linux: Add memfd_create system call wrapper
26862 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
26864 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
26865 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
26866 [__USE_GNU] (memfd_create): Declare.
26867 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
26868 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
26869 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
26870 * sysdeps/unix/sysv/linux/**.abilist: Update.
26871 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
26873 2017-11-22 Joseph Myers <joseph@codesourcery.com>
26875 * localedata/gen-locale.sh: Fix typo in variable name.
26877 * resolv/res_debug.c (p_secstodate): Condition definition on
26878 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
26879 directly as __p_secstodate, and as a compat symbol. Do not use
26880 libresolv_hidden_def.
26881 * resolv/resolv.h (p_secstodate): Remove macro and function
26883 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
26884 using p_secstodate.
26885 * include/resolv.h (__p_secstodate): Do not use
26886 libresolv_hidden_proto.
26887 * resolv/Makefile (tests): Move tst-p_secstodate to ....
26888 (tests-internal): ... here.
26889 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
26890 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
26891 and declare and use __p_secstodate and use compat_symbol_reference
26893 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
26894 implementation returning 77.
26897 * resolv/res_debug.c: Include <libc-diag.h>.
26898 (p_secstodate): Assert time_t at least as wide as u_long. On
26899 overflow, use integer seconds since the epoch as output, or use
26900 "<overflow>" as output and set errno to EOVERFLOW if integer
26901 seconds since the epoch would be 14 or more characters.
26902 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
26904 * resolv/tst-p_secstodate.c: New file.
26905 * resolv/Makefile (tests): Add tst-p_secstodate.
26906 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
26908 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
26909 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
26910 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
26912 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
26914 * posix/regcomp.c (init_word_char): Add comments.
26916 2017-11-22 Joseph Myers <joseph@codesourcery.com>
26919 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
26920 strlen to compute length of ut_user and set trailing NUL byte of
26923 2017-11-21 Mike FABIAN <mfabian@redhat.com>
26926 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
26927 using “copy "iso14651_t1"” and then implementing the
26928 collation rules for lv from CLDR on top of that.
26929 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
26930 of locales to be built for testing.
26931 * lv_LV.UTF-8.in: New file with test data to test the Latvian
26934 2017-11-21 Joseph Myers <joseph@codesourcery.com>
26936 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
26937 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
26938 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
26939 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
26940 [__USE_MISC] (MADV_HWPOISON): New macro.
26941 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
26943 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26945 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
26946 -Wmissing-braces on GCC 4.9.
26948 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
26950 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
26951 * sysdeps/s390/s390-32/start.S (_start): Likewise
26952 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
26953 (thread_start): Likewise.
26954 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
26955 (thread_start): Likewise.
26956 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
26957 (__makecontext_ret): Likewise.
26958 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
26959 (__makecontext_ret): Likewise.
26961 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
26963 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
26964 __wcschrnul): Remove attribute_hidden.
26966 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
26968 regex: don't assume uint64_t or uint32_t
26969 This avoids -Werror=overflow errors for 32-bit systems in
26970 the 64-bit case. Problem reported by Joseph Myers in:
26971 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
26972 Also, when this code is used in Gnulib it ports to platforms
26973 that lack uint64_t and uint32_t. The C standard doesn't guarantee
26974 them, and on some 32-bit compilers there is no uint64_t.
26975 Problem reported by Gianluigi Tiesi in:
26976 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
26977 * posix/regcomp.c (init_word_char): Don't assume that the types
26978 uint64_t and uint32_t exist. Adapted from Gnulib patch
26979 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
26980 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
26982 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
26984 * sysdeps/aarch64/memset-reg.h: New file.
26985 * sysdeps/aarch64/memset.S: Use it.
26986 (__memset): Rename to MEMSET macro.
26987 [ZVA_MACRO]: Use zva_macro.
26988 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
26989 Add memset_generic and memset_falkor.
26990 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
26991 (__libc_ifunc_impl_list): Add memset ifuncs.
26992 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
26993 local variable zva_size.
26994 * sysdeps/aarch64/multiarch/memset.c: New file.
26995 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
26996 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
26997 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
26998 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
26999 (DCZID_DZP_MASK): New macro.
27000 (DCZID_BS_MASK): Likewise.
27001 (init_cpu_features): Read and set zva_size.
27002 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
27003 (struct cpu_features): New member zva_size.
27005 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
27006 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
27007 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
27009 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
27010 backwards. Fix timing computation.
27011 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
27012 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
27013 on memset by N at a time. Fix timing computation.
27015 2017-11-20 Florian Weimer <fweimer@redhat.com>
27017 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
27018 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
27020 2017-11-19 Florian Weimer <fweimer@redhat.com>
27022 manual: Document mprotect
27023 * manual/memory.texi (Memory Protection): New section.
27024 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
27025 documentation of PROT_* flags and reference the Memory Protection
27028 2017-11-19 Florian Weimer <fweimer@redhat.com>
27030 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
27031 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
27032 (Scatter-Gather): ... to here. Remove misleading comment.
27034 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
27036 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
27039 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
27040 when /proc/<pid>/setgroups does not exist.
27042 2017-11-18 Florian Weimer <fweimer@redhat.com>
27044 * sysdeps/unix/sysv/linux/tst-ttyname.c
27045 (become_root_in_mount_ns): Remove.
27046 (do_in_chroot_1): Call support_enter_mount_namespace.
27047 (do_in_chroot_2): Likewise.
27048 (do_test): Call support_become_root early.
27050 2017-11-18 Florian Weimer <fweimer@redhat.com>
27052 * support/namespace.h (support_enter_mount_namespace): Declare.
27053 * support/support_enter_mount_namespace.c: New file.
27054 * support/Makefile (libsupport-routines): Add
27055 support_enter_mount_namespace.
27057 2017-11-18 Florian Weimer <fweimer@redhat.com>
27059 * support/temp_file.c (support_create_temp_directory): Use
27060 test_dir and do not rely on the presence of the XXXXXX suffix.
27061 * support/temp_file.h (support_create_temp_directory): Update
27063 * support/tst-xreadlink.c (do_test): Adjust.
27064 * support/support_chroot.c (support_chroot_create): Likewise.
27066 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27068 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
27070 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
27073 2017-11-17 Joseph Myers <joseph@codesourcery.com>
27075 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27076 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27077 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27078 (ceill): Define using libm_alias_ldouble.
27079 * sysdeps/x86_64/fpu/s_copysignl.S: Include
27080 <libm-alias-ldouble.h>.
27081 (copysignl): Define using libm_alias_ldouble.
27082 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27083 (fabsl): Define using libm_alias_ldouble.
27084 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27085 (floorl): Define using libm_alias_ldouble.
27086 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27087 (fmaxl): Define using libm_alias_ldouble.
27088 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27089 (fminl): Define using libm_alias_ldouble.
27090 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27091 (llrintl): Define using libm_alias_ldouble.
27092 (lrintl): Likewise.
27093 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
27094 <libm-alias-ldouble.h>.
27095 (nearbyintl): Define using libm_alias_ldouble.
27096 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27097 (truncl): Define using libm_alias_ldouble.
27098 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
27099 <libm-alias-ldouble.h>.
27100 (lrintl): Define using libm_alias_ldouble.
27102 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27103 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27104 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
27105 (asinhl): Define using libm_alias_ldouble.
27106 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
27107 (atanl): Define using libm_alias_ldouble.
27108 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
27109 (cbrtl): Define using libm_alias_ldouble.
27110 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27111 (ceill): Define using libm_alias_ldouble.
27112 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
27113 (copysignl): Define using libm_alias_ldouble.
27114 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27115 (fabsl): Define using libm_alias_ldouble.
27116 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27117 (floorl): Define using libm_alias_ldouble.
27118 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27119 (fmaxl): Define using libm_alias_ldouble.
27120 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27121 (fminl): Define using libm_alias_ldouble.
27122 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
27123 (frexpl): Define using libm_alias_ldouble.
27124 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27125 (llrintl): Define using libm_alias_ldouble.
27126 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
27127 (logbl): Define using libm_alias_ldouble.
27128 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
27129 (lrintl): Define using libm_alias_ldouble.
27130 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
27131 (nearbyintl): Define using libm_alias_ldouble.
27132 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
27133 (nextafterl): Define using libm_alias_ldouble.
27134 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
27135 (remquol): Define using libm_alias_ldouble.
27136 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
27137 (rintl): Define using libm_alias_ldouble.
27138 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27139 (truncl): Define using libm_alias_ldouble.
27140 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27141 (fmaxl): Define using libm_alias_ldouble.
27142 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27143 (fminl): Define using libm_alias_ldouble.
27145 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
27146 to C syntax instead of availability and properties of types.
27147 * bits/floatn.h [!__ASSEMBLER]: Likewise.
27148 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
27149 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
27150 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
27151 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
27152 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
27154 2017-11-17 Florian Weimer <fweimer@redhat.com>
27156 support_become_root: Enable file creation in namespaces.
27157 * support/support_become_root.c (setup_mapping): New function.
27158 (support_become_root): Call it.
27160 2017-11-17 Joseph Myers <joseph@codesourcery.com>
27162 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
27165 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27167 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
27168 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
27170 2017-11-16 Joseph Myers <joseph@codesourcery.com>
27172 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
27174 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
27177 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
27179 * INSTALL: Fix botched up regeneration.
27181 * NEWS: Update sourceare link to https.
27182 * configure.ac: Likewise.
27183 * crypt/md5test-giant.c: Likewise.
27184 * dlfcn/bug-atexit1.c: Likewise.
27185 * dlfcn/bug-atexit2.c: Likewise.
27186 * localedata/README: Likewise.
27187 * malloc/tst-mallocfork.c: Likewise.
27188 * manual/install.texi: Likewise.
27189 * nptl/tst-pthread-getattr.c: Likewise.
27190 * stdio-common/tst-fgets.c: Likewise.
27191 * stdio-common/tst-fwrite.c: Likewise.
27192 * sunrpc/Makefile: Likewise.
27193 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
27194 * wcsmbs/tst-mbrtowc2.c: Likewise.
27195 * configure: Regenerate.
27196 * INSTALL: Regenerate.
27198 2017-11-15 Martin Sebor <msebor@redhat.com>
27200 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
27201 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
27202 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
27204 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
27207 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
27208 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
27211 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
27212 Defer is_pty check until end of the function.
27213 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27216 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
27217 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
27218 (ttyname): Likewise.
27219 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
27220 (__ttyname_r): Likewise.
27222 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
27225 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
27227 * manual/terminal.texi (Is It a Terminal):
27228 Mention ENODEV for ttyname and ttyname_r.
27230 2017-11-15 Joseph Myers <joseph@codesourcery.com>
27232 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
27233 constant and macro.
27235 * sysdeps/unix/sysv/linux/bits/mman-linux.h
27236 [__USE_MISC] (MADV_WIPEONFORK): New macro.
27237 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
27238 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
27239 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
27240 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
27242 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27244 * signal/sigrelse.c (sigrelse): Optimize implementation.
27246 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
27247 (__sigpause): Rely on __sigsuspend to implement single thread
27248 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
27250 2017-11-15 Joseph Myers <joseph@codesourcery.com>
27252 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
27253 kernel version to 4.14.
27255 2017-11-15 Steve Ellcey <sellcey@cavium.com>
27258 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
27259 Check if ifname is too long.
27261 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
27263 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
27265 2017-11-15 Mike FABIAN <mfabian@redhat.com>
27267 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
27268 was accidentally lost.
27270 2017-11-15 Mike FABIAN <mfabian@redhat.com>
27272 * localedata/locales/az_IR: Add standard copyright header.
27274 2017-11-15 Florian Weimer <fweimer@redhat.com>
27277 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
27278 not just the top one. Output a new "subheaps" statistic.
27280 2017-11-15 Florian Weimer <fweimer@redhat.com>
27283 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
27284 under the per-arena lock.
27285 * malloc/Makefile (tests): Add tst-malloc_info.
27286 (tst-malloc_info): Link with libpthread.
27287 * malloc/tst-malloc_info.c: New file.
27289 2017-11-15 Joseph Myers <joseph@codesourcery.com>
27292 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
27293 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
27294 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
27295 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
27296 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
27297 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
27298 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
27299 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
27300 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
27301 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
27302 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
27303 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
27304 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
27305 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
27306 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
27307 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
27308 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
27309 (__floating_type): Likewise.
27310 (__real_integer_type): Likewise.
27311 (__complex_integer_type): Likewise.
27312 (__expr_is_real): Likewise.
27313 (__tgmath_real_type_sub): Likewise.
27314 (__tgmath_real_type): Likewise.
27315 (__tgmath_complex_type_sub): Likewise.
27316 (__tgmath_complex_type): Likewise.
27317 (__TGMATH_F128): Likewise.
27318 (__TGMATH_CF128): Likewise.
27319 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
27321 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
27322 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
27324 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
27326 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
27327 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
27328 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
27329 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
27331 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
27332 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
27334 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
27335 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
27336 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
27338 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
27339 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
27340 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
27344 2017-11-14 Joseph Myers <joseph@codesourcery.com>
27346 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
27347 for stpncpy calls for GCC 8.
27348 (test_strncat): Disable -Wstringop-truncation warning for strncat
27349 calls for GCC 8. Disable -Wstringop-overflow= warning for one
27350 strncat call for GCC 7.
27351 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
27353 (test_memcmp): Use memcpy instead of strncpy for calls not copying
27356 * string/bug-strncat1.c: Include <libc-diag.h>.
27357 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
27359 2017-11-13 Claude Paroz <claude@2xlibre.net>
27362 * localedata/locales/aa_DJ: Improved readibility by replacing
27363 <Uxxxx> sequences in the ASCII printable range by their ASCII
27364 character equivalents.
27365 * localedata/locales/aa_ER: Likewise.
27366 * localedata/locales/aa_ER@saaho: Likewise.
27367 * localedata/locales/aa_ET: Likewise.
27368 * localedata/locales/af_ZA: Likewise.
27369 * localedata/locales/agr_PE: Likewise.
27370 * localedata/locales/ak_GH: Likewise.
27371 * localedata/locales/am_ET: Likewise.
27372 * localedata/locales/anp_IN: Likewise.
27373 * localedata/locales/ar_AE: Likewise.
27374 * localedata/locales/ar_BH: Likewise.
27375 * localedata/locales/ar_DZ: Likewise.
27376 * localedata/locales/ar_EG: Likewise.
27377 * localedata/locales/ar_IN: Likewise.
27378 * localedata/locales/ar_IQ: Likewise.
27379 * localedata/locales/ar_JO: Likewise.
27380 * localedata/locales/ar_KW: Likewise.
27381 * localedata/locales/ar_LB: Likewise.
27382 * localedata/locales/ar_LY: Likewise.
27383 * localedata/locales/ar_MA: Likewise.
27384 * localedata/locales/ar_OM: Likewise.
27385 * localedata/locales/ar_QA: Likewise.
27386 * localedata/locales/ar_SA: Likewise.
27387 * localedata/locales/ar_SD: Likewise.
27388 * localedata/locales/ar_SS: Likewise.
27389 * localedata/locales/ar_SY: Likewise.
27390 * localedata/locales/ar_TN: Likewise.
27391 * localedata/locales/ar_YE: Likewise.
27392 * localedata/locales/as_IN: Likewise.
27393 * localedata/locales/ast_ES: Likewise.
27394 * localedata/locales/ayc_PE: Likewise.
27395 * localedata/locales/az_AZ: Likewise.
27396 * localedata/locales/az_IR: Likewise.
27397 * localedata/locales/be_BY: Likewise.
27398 * localedata/locales/be_BY@latin: Likewise.
27399 * localedata/locales/bem_ZM: Likewise.
27400 * localedata/locales/ber_DZ: Likewise.
27401 * localedata/locales/ber_MA: Likewise.
27402 * localedata/locales/bg_BG: Likewise.
27403 * localedata/locales/bhb_IN: Likewise.
27404 * localedata/locales/bho_IN: Likewise.
27405 * localedata/locales/bi_VU: Likewise.
27406 * localedata/locales/bn_BD: Likewise.
27407 * localedata/locales/bn_IN: Likewise.
27408 * localedata/locales/bo_CN: Likewise.
27409 * localedata/locales/bo_IN: Likewise.
27410 * localedata/locales/br_FR: Likewise.
27411 * localedata/locales/brx_IN: Likewise.
27412 * localedata/locales/bs_BA: Likewise.
27413 * localedata/locales/byn_ER: Likewise.
27414 * localedata/locales/ca_AD: Likewise.
27415 * localedata/locales/ca_ES: Likewise.
27416 * localedata/locales/ca_FR: Likewise.
27417 * localedata/locales/ca_IT: Likewise.
27418 * localedata/locales/ce_RU: Likewise.
27419 * localedata/locales/chr_US: Likewise.
27420 * localedata/locales/cmn_TW: Likewise.
27421 * localedata/locales/crh_UA: Likewise.
27422 * localedata/locales/cs_CZ: Likewise.
27423 * localedata/locales/csb_PL: Likewise.
27424 * localedata/locales/cv_RU: Likewise.
27425 * localedata/locales/cy_GB: Likewise.
27426 * localedata/locales/da_DK: Likewise.
27427 * localedata/locales/de_AT: Likewise.
27428 * localedata/locales/de_BE: Likewise.
27429 * localedata/locales/de_CH: Likewise.
27430 * localedata/locales/de_DE: Likewise.
27431 * localedata/locales/de_IT: Likewise.
27432 * localedata/locales/de_LI: Likewise.
27433 * localedata/locales/de_LU: Likewise.
27434 * localedata/locales/doi_IN: Likewise.
27435 * localedata/locales/dv_MV: Likewise.
27436 * localedata/locales/dz_BT: Likewise.
27437 * localedata/locales/el_CY: Likewise.
27438 * localedata/locales/el_GR: Likewise.
27439 * localedata/locales/en_AG: Likewise.
27440 * localedata/locales/en_AU: Likewise.
27441 * localedata/locales/en_BW: Likewise.
27442 * localedata/locales/en_CA: Likewise.
27443 * localedata/locales/en_DK: Likewise.
27444 * localedata/locales/en_GB: Likewise.
27445 * localedata/locales/en_HK: Likewise.
27446 * localedata/locales/en_IE: Likewise.
27447 * localedata/locales/en_IL: Likewise.
27448 * localedata/locales/en_IN: Likewise.
27449 * localedata/locales/en_NG: Likewise.
27450 * localedata/locales/en_NZ: Likewise.
27451 * localedata/locales/en_PH: Likewise.
27452 * localedata/locales/en_SG: Likewise.
27453 * localedata/locales/en_US: Likewise.
27454 * localedata/locales/en_ZA: Likewise.
27455 * localedata/locales/en_ZM: Likewise.
27456 * localedata/locales/en_ZW: Likewise.
27457 * localedata/locales/eo: Likewise.
27458 * localedata/locales/es_AR: Likewise.
27459 * localedata/locales/es_BO: Likewise.
27460 * localedata/locales/es_CL: Likewise.
27461 * localedata/locales/es_CO: Likewise.
27462 * localedata/locales/es_CR: Likewise.
27463 * localedata/locales/es_CU: Likewise.
27464 * localedata/locales/es_DO: Likewise.
27465 * localedata/locales/es_EC: Likewise.
27466 * localedata/locales/es_ES: Likewise.
27467 * localedata/locales/es_GT: Likewise.
27468 * localedata/locales/es_HN: Likewise.
27469 * localedata/locales/es_MX: Likewise.
27470 * localedata/locales/es_NI: Likewise.
27471 * localedata/locales/es_PA: Likewise.
27472 * localedata/locales/es_PE: Likewise.
27473 * localedata/locales/es_PR: Likewise.
27474 * localedata/locales/es_PY: Likewise.
27475 * localedata/locales/es_SV: Likewise.
27476 * localedata/locales/es_US: Likewise.
27477 * localedata/locales/es_UY: Likewise.
27478 * localedata/locales/es_VE: Likewise.
27479 * localedata/locales/et_EE: Likewise.
27480 * localedata/locales/eu_ES: Likewise.
27481 * localedata/locales/eu_ES@euro: Likewise.
27482 * localedata/locales/fa_IR: Likewise.
27483 * localedata/locales/ff_SN: Likewise.
27484 * localedata/locales/fi_FI: Likewise.
27485 * localedata/locales/fil_PH: Likewise.
27486 * localedata/locales/fo_FO: Likewise.
27487 * localedata/locales/fr_BE: Likewise.
27488 * localedata/locales/fr_CA: Likewise.
27489 * localedata/locales/fr_CH: Likewise.
27490 * localedata/locales/fr_FR: Likewise.
27491 * localedata/locales/fr_LU: Likewise.
27492 * localedata/locales/fur_IT: Likewise.
27493 * localedata/locales/fy_DE: Likewise.
27494 * localedata/locales/fy_NL: Likewise.
27495 * localedata/locales/ga_IE: Likewise.
27496 * localedata/locales/gd_GB: Likewise.
27497 * localedata/locales/gez_ER: Likewise.
27498 * localedata/locales/gez_ET: Likewise.
27499 * localedata/locales/gl_ES: Likewise.
27500 * localedata/locales/gu_IN: Likewise.
27501 * localedata/locales/gv_GB: Likewise.
27502 * localedata/locales/ha_NG: Likewise.
27503 * localedata/locales/hak_TW: Likewise.
27504 * localedata/locales/he_IL: Likewise.
27505 * localedata/locales/hi_IN: Likewise.
27506 * localedata/locales/hif_FJ: Likewise.
27507 * localedata/locales/hne_IN: Likewise.
27508 * localedata/locales/hr_HR: Likewise.
27509 * localedata/locales/hsb_DE: Likewise.
27510 * localedata/locales/ht_HT: Likewise.
27511 * localedata/locales/hu_HU: Likewise.
27512 * localedata/locales/hy_AM: Likewise.
27513 * localedata/locales/i18n: Likewise.
27514 * localedata/locales/ia_FR: Likewise.
27515 * localedata/locales/id_ID: Likewise.
27516 * localedata/locales/ig_NG: Likewise.
27517 * localedata/locales/ik_CA: Likewise.
27518 * localedata/locales/is_IS: Likewise.
27519 * localedata/locales/it_CH: Likewise.
27520 * localedata/locales/it_IT: Likewise.
27521 * localedata/locales/iu_CA: Likewise.
27522 * localedata/locales/ja_JP: Likewise.
27523 * localedata/locales/ka_GE: Likewise.
27524 * localedata/locales/kk_KZ: Likewise.
27525 * localedata/locales/kl_GL: Likewise.
27526 * localedata/locales/kn_IN: Likewise.
27527 * localedata/locales/ko_KR: Likewise.
27528 * localedata/locales/kok_IN: Likewise.
27529 * localedata/locales/ks_IN: Likewise.
27530 * localedata/locales/ks_IN@devanagari: Likewise.
27531 * localedata/locales/ku_TR: Likewise.
27532 * localedata/locales/kw_GB: Likewise.
27533 * localedata/locales/ky_KG: Likewise.
27534 * localedata/locales/lb_LU: Likewise.
27535 * localedata/locales/lg_UG: Likewise.
27536 * localedata/locales/li_BE: Likewise.
27537 * localedata/locales/li_NL: Likewise.
27538 * localedata/locales/lij_IT: Likewise.
27539 * localedata/locales/ln_CD: Likewise.
27540 * localedata/locales/lo_LA: Likewise.
27541 * localedata/locales/lt_LT: Likewise.
27542 * localedata/locales/lv_LV: Likewise.
27543 * localedata/locales/lzh_TW: Likewise.
27544 * localedata/locales/mag_IN: Likewise.
27545 * localedata/locales/mai_IN: Likewise.
27546 * localedata/locales/mg_MG: Likewise.
27547 * localedata/locales/mhr_RU: Likewise.
27548 * localedata/locales/mi_NZ: Likewise.
27549 * localedata/locales/mk_MK: Likewise.
27550 * localedata/locales/ml_IN: Likewise.
27551 * localedata/locales/mn_MN: Likewise.
27552 * localedata/locales/mni_IN: Likewise.
27553 * localedata/locales/mr_IN: Likewise.
27554 * localedata/locales/ms_MY: Likewise.
27555 * localedata/locales/mt_MT: Likewise.
27556 * localedata/locales/my_MM: Likewise.
27557 * localedata/locales/nan_TW: Likewise.
27558 * localedata/locales/nan_TW@latin: Likewise.
27559 * localedata/locales/nb_NO: Likewise.
27560 * localedata/locales/nds_DE: Likewise.
27561 * localedata/locales/nds_NL: Likewise.
27562 * localedata/locales/ne_NP: Likewise.
27563 * localedata/locales/nhn_MX: Likewise.
27564 * localedata/locales/niu_NU: Likewise.
27565 * localedata/locales/niu_NZ: Likewise.
27566 * localedata/locales/nl_AW: Likewise.
27567 * localedata/locales/nl_BE: Likewise.
27568 * localedata/locales/nl_NL: Likewise.
27569 * localedata/locales/nn_NO: Likewise.
27570 * localedata/locales/nr_ZA: Likewise.
27571 * localedata/locales/nso_ZA: Likewise.
27572 * localedata/locales/oc_FR: Likewise.
27573 * localedata/locales/om_ET: Likewise.
27574 * localedata/locales/om_KE: Likewise.
27575 * localedata/locales/or_IN: Likewise.
27576 * localedata/locales/os_RU: Likewise.
27577 * localedata/locales/pa_IN: Likewise.
27578 * localedata/locales/pa_PK: Likewise.
27579 * localedata/locales/pap_AW: Likewise.
27580 * localedata/locales/pap_CW: Likewise.
27581 * localedata/locales/pl_PL: Likewise.
27582 * localedata/locales/ps_AF: Likewise.
27583 * localedata/locales/pt_BR: Likewise.
27584 * localedata/locales/pt_PT: Likewise.
27585 * localedata/locales/quz_PE: Likewise.
27586 * localedata/locales/raj_IN: Likewise.
27587 * localedata/locales/ro_RO: Likewise.
27588 * localedata/locales/ru_RU: Likewise.
27589 * localedata/locales/ru_UA: Likewise.
27590 * localedata/locales/rw_RW: Likewise.
27591 * localedata/locales/sa_IN: Likewise.
27592 * localedata/locales/sat_IN: Likewise.
27593 * localedata/locales/sc_IT: Likewise.
27594 * localedata/locales/sd_IN: Likewise.
27595 * localedata/locales/sd_IN@devanagari: Likewise.
27596 * localedata/locales/se_NO: Likewise.
27597 * localedata/locales/sgs_LT: Likewise.
27598 * localedata/locales/shs_CA: Likewise.
27599 * localedata/locales/si_LK: Likewise.
27600 * localedata/locales/sid_ET: Likewise.
27601 * localedata/locales/sk_SK: Likewise.
27602 * localedata/locales/sl_SI: Likewise.
27603 * localedata/locales/sm_WS: Likewise.
27604 * localedata/locales/so_DJ: Likewise.
27605 * localedata/locales/so_ET: Likewise.
27606 * localedata/locales/so_KE: Likewise.
27607 * localedata/locales/so_SO: Likewise.
27608 * localedata/locales/sq_AL: Likewise.
27609 * localedata/locales/sq_MK: Likewise.
27610 * localedata/locales/sr_ME: Likewise.
27611 * localedata/locales/sr_RS: Likewise.
27612 * localedata/locales/sr_RS@latin: Likewise.
27613 * localedata/locales/ss_ZA: Likewise.
27614 * localedata/locales/st_ZA: Likewise.
27615 * localedata/locales/sv_FI: Likewise.
27616 * localedata/locales/sv_SE: Likewise.
27617 * localedata/locales/sw_KE: Likewise.
27618 * localedata/locales/sw_TZ: Likewise.
27619 * localedata/locales/szl_PL: Likewise.
27620 * localedata/locales/ta_IN: Likewise.
27621 * localedata/locales/ta_LK: Likewise.
27622 * localedata/locales/tcy_IN: Likewise.
27623 * localedata/locales/te_IN: Likewise.
27624 * localedata/locales/tg_TJ: Likewise.
27625 * localedata/locales/th_TH: Likewise.
27626 * localedata/locales/the_NP: Likewise.
27627 * localedata/locales/ti_ER: Likewise.
27628 * localedata/locales/ti_ET: Likewise.
27629 * localedata/locales/tig_ER: Likewise.
27630 * localedata/locales/tk_TM: Likewise.
27631 * localedata/locales/tl_PH: Likewise.
27632 * localedata/locales/tn_ZA: Likewise.
27633 * localedata/locales/to_TO: Likewise.
27634 * localedata/locales/tpi_PG: Likewise.
27635 * localedata/locales/tr_CY: Likewise.
27636 * localedata/locales/tr_TR: Likewise.
27637 * localedata/locales/ts_ZA: Likewise.
27638 * localedata/locales/tt_RU: Likewise.
27639 * localedata/locales/tt_RU@iqtelif: Likewise.
27640 * localedata/locales/ug_CN: Likewise.
27641 * localedata/locales/uk_UA: Likewise.
27642 * localedata/locales/unm_US: Likewise.
27643 * localedata/locales/ur_IN: Likewise.
27644 * localedata/locales/ur_PK: Likewise.
27645 * localedata/locales/uz_UZ: Likewise.
27646 * localedata/locales/uz_UZ@cyrillic: Likewise.
27647 * localedata/locales/ve_ZA: Likewise.
27648 * localedata/locales/vi_VN: Likewise.
27649 * localedata/locales/wa_BE: Likewise.
27650 * localedata/locales/wae_CH: Likewise.
27651 * localedata/locales/wal_ET: Likewise.
27652 * localedata/locales/wo_SN: Likewise.
27653 * localedata/locales/xh_ZA: Likewise.
27654 * localedata/locales/yi_US: Likewise.
27655 * localedata/locales/yo_NG: Likewise.
27656 * localedata/locales/yue_HK: Likewise.
27657 * localedata/locales/yuw_PG: Likewise.
27658 * localedata/locales/zh_CN: Likewise.
27659 * localedata/locales/zh_HK: Likewise.
27660 * localedata/locales/zh_SG: Likewise.
27661 * localedata/locales/zh_TW: Likewise.
27662 * localedata/locales/zu_ZA: Likewise.
27664 2017-11-13 Florian Weimer <fweimer@redhat.com>
27666 * support/next_to_fault.h, support/next_to_fault.c: New files.
27667 * support/Makefile (libsupport-routines): Add next_to_fault.
27668 * resolv/tst-inet_pton.c (struct next_to_fault)
27669 (next_to_fault_allocate, next_to_fault_free): Remove.
27670 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
27672 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
27674 * elf/dl-support.c: Include <dl-procruntime.c>.
27675 * include/link.h: Include <link_map.h>.
27676 * sysdeps/generic/dl-procruntime.c: New file.
27677 * sysdeps/generic/link_map.h: Likewise.
27678 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
27679 the writable ld.so namespace.
27681 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
27683 timezone: pacify GCC -Wstringop-truncation
27684 Problem reported by Martin Sebor in:
27685 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
27686 * timezone/zic.c (writezone): Use memcpy, not strncpy.
27688 2017-11-12 Florian Weimer <fweimer@redhat.com>
27690 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
27692 (tests): Add tst-xreadlink.
27693 * support/support.h (xstrndup): Declare.
27694 * support/xunistd.h (xunlink, xreadlink): Declare.
27695 * support/temp_file.h (support_create_temp_directory): Declare.
27696 * support/temp_file.c (support_create_temp_directory): New function.
27697 * support/support_chroot.c (support_chroot_create): Use it.
27698 * support/xreadlink.c: New file.
27699 * support/xstrndup.c: Likewise.
27700 * support/xunlink.c: Likewise.
27701 * support/tst-xreadlink.c: Likewise.
27703 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
27705 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
27707 2017-11-11 Florian Weimer <fweimer@redhat.com>
27711 * resolv/res_comp.c (printable_string, binary_hnok)
27712 (binary_leading_dash): New functions.
27713 (res_hnok): Reimplement using these functions and ns_name_pton.
27714 (res_ownok): Likewise.
27715 (res_mailok): Reimplement using printable_string, ns_name_pton and
27717 (res_dnok): Reimplement using printable_string and ns_name_pton.
27718 * resolv/tst-res_hnok.c (tests): Add additional tests.
27719 (LETTERDIGITS, PRINTABLE): Define.
27720 (do_test): Adjust one_char results.
27722 2017-11-11 Florian Weimer <fweimer@redhat.com>
27725 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
27726 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
27728 2017-11-11 Florian Weimer <fweimer@redhat.com>
27730 * resolv/tst-ns_name_pton.c: New file.
27731 * resolv/Makefile (tests): Add tst-ns_name_pton.
27732 (tst-ns_name_pton): Link against libresolv.
27734 2017-11-11 Florian Weimer <fweimer@redhat.com>
27736 * resolv/tst-res_hnok.c: New file.
27737 * resolv/Makefile (tests): Add tst-res_hnok.
27738 (tst-res_hnok): Link against libresolv.
27740 2017-11-11 Florian Weimer <fweimer@redhat.com>
27742 * resolv/tst-resolv-network.c: Use test framework instead explicit
27745 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
27747 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
27748 <jmp_buf-macros.h>.
27749 [!_ISOMAC] (STR_HELPER): New.
27750 [!_ISOMAC] (STR): Likewise.
27751 [!_ISOMAC] (TEST_SIZE): Likewise.
27752 [!_ISOMAC] (TEST_ALIGN): Likewise.
27753 [!_ISOMAC] (TEST_OFFSET): Likewise.
27754 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
27755 field offsets of jmp_buf as well as sigjmp_buf.
27756 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
27757 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
27758 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
27759 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
27760 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
27761 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
27762 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
27763 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
27764 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
27765 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
27767 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
27769 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
27770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
27772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
27774 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
27775 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
27776 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
27777 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
27778 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
27779 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
27781 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
27783 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
27784 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
27785 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
27787 2017-11-07 Joseph Myers <joseph@codesourcery.com>
27790 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27791 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
27792 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27793 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
27794 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27795 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
27796 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27797 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
27798 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27799 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
27800 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27801 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
27802 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27803 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
27804 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27805 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
27806 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27807 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
27808 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27809 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
27810 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27811 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
27812 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27813 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
27814 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27815 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
27816 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27817 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
27818 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27819 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
27820 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27821 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
27822 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27823 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
27824 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27825 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
27826 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27827 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
27828 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27829 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
27830 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27831 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
27832 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27833 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
27834 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27835 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
27836 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27837 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
27838 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27839 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
27840 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27841 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
27842 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27843 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
27844 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27845 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
27846 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27847 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
27848 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27849 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
27850 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27851 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
27852 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27853 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
27854 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27855 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
27856 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27857 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
27858 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27859 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
27860 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27861 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
27862 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27863 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
27864 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27865 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
27866 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27867 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
27868 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27869 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
27870 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27871 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
27872 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27873 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
27874 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27875 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
27876 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27877 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
27879 * stdlib/tst-strtod.h (F16): New macro.
27885 (IF_FLOAT16): Likewise.
27886 (IF_FLOAT32): Likewise.
27887 (IF_FLOAT64): Likewise.
27888 (IF_FLOAT32X): Likewise.
27889 (IF_FLOAT64X): Likewise.
27890 (IF_FLOAT128X): Likewise.
27891 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
27892 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
27893 (STRTOD_TEST_FOREACH): Likewise.
27894 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
27895 (CHOOSE_f64): Likewise.
27896 (CHOOSE_f32x): Likewise.
27897 (CHOOSE_f64x): Likewise.
27899 2017-11-07 Andreas Schwab <schwab@suse.de>
27901 * nptl/Makefile (tests-internal): Remove tst-typesizes.
27903 2017-11-07 Mike FABIAN <mfabian@redhat.com>
27906 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
27908 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
27911 2017-11-07 Claude Paroz <claude@2xlibre.net>
27914 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
27916 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
27918 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
27921 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27924 * nptl/allocatestack.c (allocate_stack): Check if
27925 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
27926 __PTHREAD_MUTEX_HAVE_PREV is defined.
27927 * nptl/descr.h (pthread): Likewise.
27928 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
27930 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
27931 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
27932 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
27933 * sysdeps/nptl/bits/thread-shared-types.h
27934 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
27936 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
27937 of __WORDSIZE for internal layout.
27938 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
27939 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
27940 instead of __WORDSIZE whether to use an union for __spins and __list
27942 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
27944 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
27945 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
27947 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
27948 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27950 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
27951 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27953 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
27954 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27956 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
27957 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27959 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
27960 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27962 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
27963 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27965 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
27966 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27968 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
27969 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27971 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
27972 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27974 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
27975 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27977 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
27978 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27980 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
27981 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27983 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
27984 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27986 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
27987 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27990 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
27992 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
27993 checks for expected input type size.
27994 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
27995 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
27997 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
27998 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
27999 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
28000 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
28001 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
28002 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
28003 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
28004 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
28005 superflous runtime assert check.
28006 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
28008 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
28010 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
28012 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
28014 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
28016 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
28018 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
28019 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
28020 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
28022 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
28024 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
28026 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
28028 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
28030 * nptl/pthread_attr_setinheritsched.c
28031 (__pthread_attr_setinheritsched): Likewise.
28032 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
28034 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
28036 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
28037 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
28038 __old_pthread_attr_setstack): Likewise.
28039 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
28041 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
28043 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
28045 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
28046 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
28048 * nptl/tst-typesizes.c: Remove file.
28050 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
28051 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
28052 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
28053 checks for internal pthread_mutex_t offsets.
28054 * sysdeps/aarch64/nptl/pthread-offsets.h
28055 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
28056 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
28057 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
28058 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
28059 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
28060 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
28061 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
28062 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
28063 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
28064 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
28065 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
28066 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
28067 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
28068 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
28069 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
28070 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
28071 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
28072 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
28074 2017-11-07 Florian Weimer <fweimer@redhat.com>
28076 * bits/mman-linux.h: Move ...
28077 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
28079 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
28082 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28084 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
28085 Redefine STRNLEN as __strnlen_power8.
28087 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28089 * signal/sighold.c (sighold): Optimize implementation.
28091 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
28092 __NR_rt_sigqueueinfo.
28094 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
28096 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
28097 assume __NR_rt_sigtimedwait.
28098 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
28099 and add LIBC_CANCEL_HANDLED for cancellation marking.
28100 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
28102 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28103 (sysdeps_routines): Add memchr_noneon.
28104 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
28105 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
28106 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
28107 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
28108 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
28109 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
28110 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
28112 * sysdeps/arm/arm-ifunc.h: New file.
28113 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
28114 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
28115 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
28116 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
28117 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
28118 (__memcpy_neon): Avoid create hidden alias.
28119 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
28120 (__memcpy_vfp): Likewise.
28121 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28122 (sysdep_routines): Add memcpy_arm.
28123 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
28125 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
28128 * Makerules (make-link-multidir): New.
28129 * config.make.in (multidir): New.
28130 * configure.ac (libc_cv_multidir): New. AC_SUBST.
28131 * configure: Regenerated.
28132 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
28133 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
28134 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
28137 2017-11-06 Joseph Myers <joseph@codesourcery.com>
28140 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
28141 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
28143 2017-11-04 Mike FABIAN <mfabian@redhat.com>
28145 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
28148 2017-11-04 Florian Weimer <fweimer@redhat.com>
28150 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
28152 2017-11-03 Joseph Myers <joseph@codesourcery.com>
28154 * math/math.h [__HAVE_DISTINCT_FLOAT16
28155 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
28156 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
28157 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
28158 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
28159 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
28160 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
28161 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28162 (__MATH_TG_F32): New macro.
28163 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28164 (__MATH_TG_F64X): Likewise.
28165 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28166 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
28168 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
28170 * po/de.po: Update translations.
28171 * po/ru.po: Likewise.
28173 2017-11-03 Florian Weimer <fweimer@redhat.com>
28175 * manual/filesys.texi (Hard Links): Document linkat.
28177 2017-11-03 Joseph Myers <joseph@codesourcery.com>
28179 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
28180 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
28181 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
28182 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
28183 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
28184 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
28185 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
28186 the same as _Float128.
28187 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
28188 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
28189 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
28192 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
28194 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
28196 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
28198 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28199 (strtof32x): Likewise.
28200 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28201 (strtof64x): Likewise.
28202 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28203 (strtof128x): Likewise.
28204 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28205 (strfromf16): Likewise.
28206 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28207 (strfromf32): Likewise.
28208 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28209 (strfromf64): Likewise.
28210 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28211 (strfromf32x): Likewise.
28212 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28213 (strfromf64x): Likewise.
28214 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28215 (strfromf128x): Likewise.
28216 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
28217 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
28218 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
28219 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
28220 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
28221 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
28223 2017-11-03 Richard Henderson <rth@twiddle.net>
28225 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
28227 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28229 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
28231 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28233 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
28234 DT_TLSDESC_GOT initialization.
28235 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
28236 (_dl_tlsdesc_resolve_hold): Likewise.
28237 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
28238 (_dl_tlsdesc_resolve_hold): Likewise.
28239 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
28240 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
28242 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28244 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
28246 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28249 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
28250 non-lazily for R_ARM_TLS_DESC.
28252 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28255 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
28256 R_ARM_TLS_DESC case.
28257 (elf_machine_lazy_rel): Remove the prelink check.
28259 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28261 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
28262 DT_TLSDESC_GOT initialization.
28263 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
28264 (_dl_tlsdesc_resolve_rela): Likewise.
28265 (_dl_tlsdesc_resolve_hold): Likewise.
28266 (_dl_tlsdesc_undefweak): Remove ldar.
28267 (_dl_tlsdesc_dynamic): Likewise.
28268 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
28269 (_dl_tlsdesc_resolve_rela): Likewise.
28270 (_dl_tlsdesc_resolve_hold): Likewise.
28271 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
28272 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
28273 (_dl_tlsdesc_resolve_rela): Likewise.
28274 (_dl_tlsdesc_resolve_hold): Likewise.
28276 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28278 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
28279 binding and initialization non-lazily for R_AARCH64_TLSDESC.
28281 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28283 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
28284 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
28286 2017-11-02 Joseph Myers <joseph@codesourcery.com>
28288 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
28290 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
28291 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
28292 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
28293 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
28294 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
28295 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
28296 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
28297 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
28298 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
28299 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
28300 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
28302 2017-11-02 Mike FABIAN <mfabian@redhat.com>
28305 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
28306 * localedata/locales/tpi_PG: Add standard header.
28308 2017-11-02 Florian Weimer <fweimer@redhat.com>
28310 test-errno-linux: quotactl can fail with EPERM in containers.
28311 * sysdeps/unix/sysv/linux/test-errno-linux.c
28312 (LIST, LIST_FORWARD): New macros.
28313 (check_error_in_list): New function.
28314 (test_wrp_rv): Accept list of permitted error codes.
28315 (test_wrp_rv2): Remove.
28316 (test_wrp): Call test_wrp_rv with list of error codes.
28317 (test_wrp2): Accept list of error codes.
28318 (do_test): Adjust. Allow EPERM for quotactl.
28320 2017-11-02 Florian Weimer <fweimer@redhat.com>
28322 * stdio-common/bug16.c (do_test): Use array_length.
28323 * stdio-common/errlist.c (_sys_nerr): Likewise.
28324 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
28325 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
28326 * stdio-common/psiginfo.c (psiginfo): Use array_length.
28327 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
28328 (do_test): Use array_length.
28329 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
28330 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
28331 * stdio-common/tst-printf-round.c (do_test): Likewise.
28332 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
28333 (CHECK): Use array_length.
28334 * stdio-common/tstdiomisc.c (t3, F): Likewise.
28335 * stdio-common/tstscanf.c (main): Likewise.
28336 * stdio-common/vfprintf.c (process_string_arg): Likewise.
28338 2017-11-02 Florian Weimer <fweimer@redhat.com>
28340 Add array_length and array_end macros.
28341 * include/array_length.h: New file.
28343 2017-11-02 Florian Weimer <fweimer@redhat.com>
28346 * posix/tst-glob-tilde.c (do_noescape): New variable.
28347 (one_test): Process it.
28348 (do_test): Set do_noescape. Add unescaping test case.
28350 2017-11-01 Joseph Myers <joseph@codesourcery.com>
28353 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
28354 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
28355 with appropriate macros defined and undefined.
28356 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
28357 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28358 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
28359 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28360 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
28361 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28362 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
28363 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28364 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
28365 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28368 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
28369 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
28370 that for long double. Do not condition define and undefine of
28371 _Mdouble_complex_ on [__CFLOAT128].
28373 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
28375 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
28376 of <sysdeps/generic/sysdep.h>.
28377 (ALIGNARG): Removed.
28378 (ASM_SIZE_DIRECTIVE): Likewise.
28381 (ENTRY_CHK): Likewise.
28382 (END_CHK): Likewise.
28383 (syscall_error): Likewise.
28384 (mcount): Likewise.
28385 (PSEUDO_END): Likewise.
28387 (atom_text_section): Likewise.
28388 * sysdeps/x86/sysdep.h: New file.
28389 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
28390 of <sysdeps/generic/sysdep.h>.
28391 (ALIGNARG): Removed.
28392 (ASM_SIZE_DIRECTIVE): Likewise.
28395 (ENTRY_CHK): Likewise.
28396 (END_CHK): Likewise.
28397 (syscall_error): Likewise.
28398 (mcount): Likewise.
28399 (PSEUDO_END): Likewise.
28401 (atom_text_section): Likewise.
28403 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
28405 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
28406 category of LC_CTYPE set to "i18n:2012".
28407 * localedata/locales/i18n_ctype: Regenerate.
28409 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
28411 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
28412 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
28413 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
28414 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
28416 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
28417 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
28418 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
28419 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
28421 2017-10-31 Joseph Myers <joseph@codesourcery.com>
28424 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
28426 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
28428 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
28430 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28431 (CMPLXF32X): Likewise.
28432 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28433 (CMPLXF64X): Likewise.
28434 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28435 (CMPLXF128X): Likewise.
28438 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
28439 (__MATH_EVAL_FMT2): Define to add 0.0f.
28441 2017-10-31 Alan Modra <amodra@gmail.com>
28443 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
28445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
28446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
28447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
28448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
28449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
28450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
28451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
28452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
28453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
28454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
28455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
28456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
28457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
28458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
28459 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
28460 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
28461 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
28462 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
28463 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
28464 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
28465 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
28466 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
28467 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
28468 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
28469 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
28470 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
28471 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
28472 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
28473 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
28474 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
28475 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
28476 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
28477 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
28478 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
28479 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
28480 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
28481 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
28482 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
28483 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
28484 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
28485 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
28486 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
28487 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
28488 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
28489 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
28490 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
28491 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
28492 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
28493 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
28494 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
28495 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
28496 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
28497 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
28498 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
28499 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
28500 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
28501 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
28502 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
28503 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
28504 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
28505 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
28506 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
28507 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
28508 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
28509 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
28510 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
28511 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
28512 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
28513 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
28515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
28516 include sysdep.h and math_ldbl_opt.h.
28518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
28519 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
28520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
28521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
28522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
28523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
28524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
28525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
28526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
28527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
28528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
28529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
28530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
28531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
28532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
28533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
28534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
28535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
28536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
28537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
28538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
28539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
28540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
28541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
28542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
28543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
28545 2017-10-31 Alan Modra <amodra@gmail.com>
28547 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
28548 string/strncase_l.c, not string/strncase.c.
28549 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
28550 (libc_hidden_def): Redefine.
28552 2017-10-31 Alan Modra <amodra@gmail.com>
28554 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
28555 (__STRCMP, STRCMP, __strcasecmp_l): Define.
28556 (__strcasecmp): Don't define.
28558 2017-10-31 Alan Modra <amodra@gmail.com>
28560 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
28562 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
28563 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
28564 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
28566 2017-10-31 Alan Modra <amodra@gmail.com>
28568 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
28571 2017-10-31 Alan Modra <amodra@gmail.com>
28573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
28574 Redefine only when SHARED.
28576 2017-10-30 Joseph Myers <joseph@codesourcery.com>
28578 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
28579 Include <bits/math-finite.h> with appropriate macros defined and
28581 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
28582 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
28583 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
28584 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
28585 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
28587 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
28588 [!_Mlong_double_] (_Mlong_double_): Likewise.
28589 [!_Mfloat16_] (_Mfloat16_): Likewise.
28590 [!_Mfloat32_] (_Mfloat32_): Likewise.
28591 [!_Mfloat64_] (_Mfloat64_): Likewise.
28592 [!_Mfloat128_] (_Mfloat128_): Likewise.
28593 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
28594 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
28595 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
28596 (_Mdouble_): Define without indirection through those macros.
28597 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
28598 [!_Mfloat128_] (_Mfloat128_): Likewise.
28599 [_Mlong_double_] (_Mlong_double_): Likewise.
28600 (_Mdouble_): Define without indirection through those macros.
28601 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
28602 not add -D_Mlong_double_=double.
28603 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
28604 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
28606 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
28608 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
28610 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
28612 * sysdeps/x86/libc-start.c: Reformat.
28614 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
28617 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
28618 (1): Renamed to ...
28621 (L(Src2)): Likewise.
28622 (L(1)): Renamed to ...
28625 2017-10-30 Joseph Myers <joseph@codesourcery.com>
28627 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
28628 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
28629 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
28630 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
28631 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
28632 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
28633 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
28634 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
28635 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
28636 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
28637 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
28638 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
28639 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
28640 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
28641 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
28642 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
28643 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
28644 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
28645 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
28646 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
28647 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
28648 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
28649 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
28650 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
28651 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
28652 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
28653 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
28654 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
28655 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
28656 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
28657 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
28658 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
28659 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
28660 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
28661 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
28662 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
28663 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
28664 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
28665 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
28666 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
28667 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
28668 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
28669 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
28670 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
28671 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
28672 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
28673 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
28674 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
28675 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
28676 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
28677 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
28678 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
28679 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
28680 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
28681 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
28682 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
28683 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
28684 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
28685 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
28686 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
28687 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
28688 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
28689 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
28690 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
28691 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
28692 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
28694 2017-10-30 Florian Weimer <fweimer@redhat.com>
28696 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
28698 * io/tst-mkdirat.c (do_test): Likewise.
28699 * io/tst-mkfifoat.c (do_test): Likewise.
28700 * io/tst-mknodat.c (do_test): Likewise.
28701 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
28702 * locale/programs/locale.c (select_dirs): Likewise.
28703 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
28704 * posix/bug-glob2.c (my_readdir): Likewise.
28705 * posix/tst-dir.c (main): Likewise.
28706 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
28707 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
28709 2017-10-30 Florian Weimer <fweimer@redhat.com>
28711 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
28714 2017-10-30 Florian Weimer <fweimer@redhat.com>
28716 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
28717 Convert to support/test-driver.c.
28718 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
28719 New macro parameters.
28720 (PRINTF): Remove macro. Use test_verbose conditionals instead.
28721 * posix/tst-gnuglob.c: New file.
28722 * posix/tst-gnuglob64.c: Likewise.
28723 * posix/Makefile (tests): Add tst-gnuglob64.
28725 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
28728 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
28729 and use a better translation for March in “mon”.
28730 * localedata/locales/csb_PL: Use more ASCII to improve the
28731 readability of the source.
28733 2017-10-30 Mike FABIAN <mfabian@redhat.com>
28736 * localedata/locales/km_KH: Use ASCII as much
28737 as possible for better readability of the source and
28738 remove useless comments.
28739 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
28740 was commented out and apparently wrong anyway because it was
28741 using Lao characters. If Buddhist era should be used
28742 for km_KH, a native speaker should write the correct formaat
28744 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
28745 (According to CLDR, the first weekday for Cambodia is Sunday).
28746 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
28747 (These were using Lao characters which must be wrong. If we get
28748 the correct data from a native speaker, we could add it back, until
28749 then it is better not to have name_mr and name_mrs at all than
28752 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
28754 * locale/loadlocale.c: Correct size of
28755 _nl_value_type_LC_<category> arrays.
28757 2017-10-27 Joseph Myers <joseph@codesourcery.com>
28759 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
28760 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
28761 with appropriate macros defined and undefined.
28762 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
28763 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
28764 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
28765 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
28766 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
28768 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
28770 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
28773 2017-10-27 Mike FABIAN <mfabian@redhat.com>
28775 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
28776 with lowercase letters to make it agree with CLDR.
28778 2017-10-27 Mike FABIAN <mfabian@redhat.com>
28781 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
28782 first letters of yesstr and nostr in yesexpr and noexpr,
28783 not for the full words.
28784 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
28785 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
28786 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
28787 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
28788 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
28789 first letters of yesstr and nostr in yesexpr and noexpr,
28790 until now only English was matched in yesexpr and noexpr.
28791 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
28792 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
28793 fil but not for tl. As tl and fil are very similar, using fil
28794 is probably better than using English.
28796 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
28799 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
28800 in yesstr and nostr.
28802 2017-10-26 Joseph Myers <joseph@codesourcery.com>
28804 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
28805 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
28806 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
28808 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
28810 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
28812 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
28814 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28815 (SNANF128X): Likewise.
28817 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
28818 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
28819 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28820 (HUGE_VAL_F32): Likewise.
28821 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28822 (HUGE_VAL_F64): Likewise.
28823 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28824 (HUGE_VAL_F32X): Likewise.
28825 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28826 (HUGE_VAL_F64X): Likewise.
28827 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28828 (HUGE_VAL_F128X): Likewise.
28830 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
28832 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
28833 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
28834 for the br_FR locale.
28836 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
28839 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
28841 2017-10-25 Carlos O'Donell <carlos@redhat.com>
28843 * locale/programs/record-status.h: Define globals, and function
28844 prototypes. Move function bodies...
28845 * locale/programs/record-status.c: ... to here. New file.
28846 * iconv/Makefile (iconv_prog-modules): Add record-status.
28847 * locale/Makefile (lib-modules): Likewise.
28848 * iconv/iconv_prog.c: Remove verbose.
28849 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
28850 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
28851 record a warning about ASCII compatibility.
28852 * locale/programs/ld-monetary.c (monetary_finish): If
28853 warn_int_curr_symbol is true then record a warning about the symbol
28854 not being in our ISO 4217 list.
28855 * locale/programs/locale.c: Include record-status.h. Remove verbose.
28856 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
28857 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
28858 (OPT_NO_WARN): Define.
28859 (OPT_WARN): Define.
28860 (options): Add entry for --no-warnings, and --warnings.
28861 (set_warnings): New function to enable/disable warnings.
28862 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
28863 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
28864 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
28865 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
28866 Pass flags to generate_locale.
28867 (generate_locale): Accept new flag argument and pass it to localedef
28869 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
28870 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
28872 * localedata/Makefile (test-input-data): Use full file name.
28873 * localedata/da_DK.in: Rename to...
28874 * localedata/da_DK.ISO-8859-1.in: ...this.
28875 * localedata/de_DE.in: Rename to...
28876 * localedata/de_DE.ISO-8859-1.in: ...this.
28877 * localedata/en_US.in: Rename to...
28878 * localedata/en_US.ISO-8859-1.in: ...this.
28879 * localedata/fr_FR.in: Rename to...
28880 * localedata/fr_FR.UTF-8.in: ... this.
28881 * localedata/hr_HR.in: Rename to...
28882 * localedata/hr_HR.ISO-8859-2.in: ...this.
28883 * localedata/hu_HU.in: Rename to...
28884 * localedata/hu_HU.UTF-8.in: ...this.
28885 * localedata/si_LK.in: Rename to...
28886 * localedata/si_LK.UTF-8.in: ...this.
28887 * localedata/sv_SE.in: Rename to...
28888 * localedata/sv_SE.ISO-8859-1.in: ...this.
28889 * localedata/tr_TR.in: Rename to...
28890 * localedata/tr_TR.UTF-8.in: ...this.
28891 * localedata/uk_UA.in: Rename to...
28892 * localedata/uk_UA.UTF-8.in: ...this.
28893 * localedata/sort-test.sh: Test file is locale name with the
28896 * localedata/unicode-gen/Makefile (check_i18n): Rename to
28897 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
28899 * localedata/locales/i18n_ctype: Regenerate.
28900 * localedata/locales/tr_TR: Likewise.
28901 * localedata/locales/translit_circle: Likewise.
28902 * localedata/locales/translit_cjk_compat: Likewise.
28903 * localedata/locales/translit_combining: Likewise.
28904 * localedata/locales/translit_compat: Likewise.
28905 * localedata/locales/translit_font: Likewise.
28906 * localedata/locales/translit_fraction: Likewise.
28908 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28910 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
28911 lxvd2x/stxvd2x with lvx/stvx.
28912 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
28914 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
28916 * include/alloc_buffer.h: Replace "if if " with "if " in
28918 * sysdeps/mips/memcpy.S: Likkewise.
28919 * sysdeps/mips/memset.S: Likewise.
28920 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
28922 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
28924 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
28927 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28930 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
28931 yesexpr and noexpr.
28932 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
28933 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
28934 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
28935 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
28936 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
28937 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
28938 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
28940 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28942 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
28943 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
28944 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
28945 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
28946 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
28947 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
28948 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
28949 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
28950 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
28951 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
28952 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
28953 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
28955 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28957 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
28958 as possible for better readability of the source.
28959 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
28960 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
28961 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
28962 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
28963 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
28964 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
28965 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
28966 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
28967 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
28968 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
28969 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
28970 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
28971 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
28972 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
28973 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
28974 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
28975 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
28976 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
28977 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
28978 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
28979 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
28980 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
28981 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
28982 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
28983 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
28984 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
28985 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
28986 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
28987 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
28988 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
28989 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
28990 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
28991 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
28992 * localedata/locales/en_US (LC_MESSAGES): Likewise.
28993 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
28994 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
28995 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
28996 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
28997 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
28998 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
28999 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
29000 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
29001 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
29002 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
29003 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
29004 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
29005 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
29006 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
29007 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
29008 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
29009 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
29010 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
29011 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
29012 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29013 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29014 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
29015 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
29016 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29017 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
29018 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
29019 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
29020 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
29021 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
29022 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
29023 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
29024 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
29025 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
29026 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
29027 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
29028 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
29029 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
29030 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
29031 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
29032 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
29033 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29034 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
29035 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
29036 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
29037 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
29038 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
29039 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
29040 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
29041 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
29042 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29043 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
29044 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
29045 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
29046 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29047 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
29048 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
29049 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
29050 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
29051 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29052 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
29053 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
29054 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29055 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
29056 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29057 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
29058 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
29059 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
29060 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
29061 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
29062 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
29063 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
29064 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
29065 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
29066 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
29067 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
29068 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
29069 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
29070 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
29071 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
29072 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
29073 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
29074 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
29075 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
29076 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
29077 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
29078 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
29079 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
29080 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
29081 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
29082 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
29083 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
29084 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
29085 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
29086 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
29087 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
29088 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
29089 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
29090 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
29091 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
29092 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
29093 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
29094 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
29095 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
29096 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
29097 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
29098 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
29099 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
29100 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
29101 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
29102 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
29103 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
29104 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29105 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
29106 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
29107 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
29108 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
29109 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
29110 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
29111 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
29112 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
29113 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29114 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
29115 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
29116 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
29117 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
29118 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
29119 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
29120 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
29121 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
29122 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
29123 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
29124 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29125 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
29126 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
29127 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
29128 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
29129 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29130 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29131 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29132 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
29134 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29136 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
29137 (Use first letters of yesstr and nostr correctly instead of using
29140 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29142 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
29143 (Use first letters of yesstr and nostr correctly).
29145 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29147 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
29148 also check for the first characters of yesstr and nostr.
29149 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
29150 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
29152 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29154 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
29155 also check for Chinese characters.
29157 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29159 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
29160 match also for the contents of yesstr and nostr. As the first letter
29161 of yesstr and nostr is equal, checking only for the first letter
29164 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29166 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
29167 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
29169 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29171 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
29172 of main contributor.
29174 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29176 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
29177 instead of using English.
29179 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29181 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
29182 by including the first letters of nostr and yesexpr in the regexp.
29183 Also make it more readable by using ASCII where possible.
29185 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29187 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
29188 the first letter of nostr in the regexp. It agrees with CLDR now.
29189 Also make it more readable by using ASCII where possible.
29191 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29193 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
29194 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
29195 these strings contain a U+17D6 (which somewhat looks like a colon)
29196 instead of a real colon to separate the full words for “yes”
29197 and “no” from the single letter responses.
29199 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29201 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
29202 it agree with CLDR (include the first letter of yesstr).
29203 Also make it more readable by using ASCII where possible.
29205 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29207 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
29208 and improve yesexpr and noexpr. The yesstr and nostr apparently
29209 came from CLDR. And CLDR has a bug there: these strings contain
29210 a U+0903 (which looks like a colon) instead of a real colon
29211 to separate the full words for “yes” and “no” from the single
29214 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29216 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
29217 letters of the full yesstr and nostr in yesexpr and noexpr.
29219 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29221 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
29222 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
29223 * localedata/locales/an_ES: Make source more readable by using ASCII
29226 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29229 * localedata/locales/yuw_PG: New file.
29230 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
29231 * locale/iso-639.def: Add Yau (Uruwa).
29233 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
29235 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
29237 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
29239 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
29240 (__libc_realloc): Likewise.
29241 (_mid_memalign): Likewise.
29242 (__libc_calloc): Likewise.
29244 2017-10-23 Mike FABIAN <mfabian@redhat.com>
29246 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
29247 by adding the generic +1 and -0 as in all other locales.
29248 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
29249 day names and make it more readable by using ASCII where possible.
29251 2017-10-24 Joseph Myers <joseph@codesourcery.com>
29253 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
29254 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
29256 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29258 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
29259 WNOHANG in waitpid call.
29261 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
29263 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
29264 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
29266 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
29267 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
29268 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
29269 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
29270 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
29271 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
29272 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
29273 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
29276 2017-10-23 Michael Collison <michael.collison@arm.com>
29278 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
29279 with __builtin_sqrt.
29280 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
29281 with __builtin_sqrtf.
29282 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
29283 with __builtin_ceil.
29284 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
29285 with __builtin_ceilf.
29286 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
29287 with __builtin_floor.
29288 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
29289 with __builtin_floorf.
29290 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
29291 with __builtin_fma.
29292 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
29293 with __builtin_fmaf.
29294 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
29295 with __builtin_fmax.
29296 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
29297 with __builtin_fmaxf.
29298 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
29299 with __builtin_fmin.
29300 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
29301 with __builtin_fminf.
29302 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
29303 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
29304 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
29305 with builtin_rint and conversion to int.
29306 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
29307 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
29308 with builtin_llround.
29309 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
29310 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
29311 with builtin_rint and conversion to long int.
29312 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
29313 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
29314 with builtin_lround.
29315 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
29316 with builtin_lroundf.
29317 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
29318 statements with __builtin_nearbyint.
29319 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
29320 statements with __builtin_nearbyintf.
29321 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
29322 with __builtin_rint.
29323 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
29324 with __builtin_rintf.
29325 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
29326 with __builtin_round.
29327 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
29328 with __builtin_roundf.
29329 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
29330 with __builtin_trunc.
29331 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
29332 with __builtin_truncf.
29333 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
29334 and s_l[l]round[f].c too.
29336 2017-10-23 Alan Modra <amodra@gmail.com>
29338 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
29339 Adjust stack after restoring regs. Add missing LR cfi_restore.
29341 2017-10-23 Alan Modra <amodra@gmail.com>
29343 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
29344 Move LR save and frame setup/teardown and LR restore to
29345 immediately around memset call. Provide cfi.
29347 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29349 * sysdeps/i386/fpu/e_powf.S: Removed.
29350 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
29351 * sysdeps/i386/fpu/w_powf.c: Likewise.
29352 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
29353 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29354 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29356 (CFLAGS-e_powf-sse2.c): New.
29357 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
29358 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
29360 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29362 * sysdeps/i386/fpu/e_log2f.S: Removed.
29363 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
29364 * sysdeps/i386/fpu/w_log2f.c: Likewise.
29365 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
29366 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29367 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29369 (CFLAGS-e_log2f-sse2.c): New.
29370 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
29371 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
29373 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29375 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29377 (CFLAGS-e_powf-fma.c): New.
29378 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
29379 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
29381 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29383 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29385 (CFLAGS-e_log2f-fma.c): New.
29386 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
29387 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
29389 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29391 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29393 (CFLAGS-e_logf-fma.c): New.
29394 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
29395 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
29397 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29399 * sysdeps/i386/fpu/e_logf.S: Removed.
29400 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
29401 * sysdeps/i386/fpu/w_logf.c: Likewise.
29402 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
29403 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
29404 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29405 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29407 (CFLAGS-e_logf-sse2.c): New.
29408 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
29409 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
29411 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29413 * sysdeps/i386/fpu/e_exp2f.S: Removed.
29414 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
29415 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
29416 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29417 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29419 (CFLAGS-e_exp2f-sse2.c): New.
29420 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
29421 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
29423 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29425 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29427 (CFLAGS-e_exp2f-fma.c): New.
29428 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
29429 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
29431 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29433 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
29434 * sysdeps/i386/fpu/e_expf.S: Likewise.
29435 * sysdeps/i386/fpu/math_errf.c: Likewise.
29436 * sysdeps/i386/fpu/w_expf.c: Likewise.
29437 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
29438 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29439 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
29440 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
29441 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29442 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29443 Remove e_expf-ia32.
29444 (CFLAGS-e_expf-sse2.c): New.
29445 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
29446 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
29448 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29450 * sysdeps/x86_64/fpu/e_expf.S: Removed.
29451 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
29452 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
29453 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
29455 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
29457 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
29458 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
29460 (__redirect_expf): This.
29461 (SYMBOL_NAME): Changed to expf.
29462 (__ieee754_expf): Renamed to ...
29464 (__GI___expf): This.
29465 (__ieee754_expf): Add strong_alias.
29466 (__expf_finite): Likewise.
29468 Include <sysdeps/ieee754/flt-32/e_expf.c>.
29470 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
29473 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
29476 2017-10-21 Florian Weimer <fweimer@redhat.com>
29478 * posix/Makefile (tests): Add tst-glob-tilde.
29479 (tests-special): Add tst-glob-tilde-mem.out
29480 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
29481 (tst-glob-tilde-mem.out): Add mtrace check.
29482 * posix/tst-glob-tilde.c: New file.
29484 2017-10-20 Joseph Myers <joseph@codesourcery.com>
29486 * bits/floatn-common.h: New file.
29487 * math/Makefile (headers): Add bits/floatn-common.h.
29488 * bits/floatn.h: Include <bits/floatn-common.h>.
29489 * sysdeps/ia64/bits/floatn.h: Likewise.
29490 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
29491 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
29492 * sysdeps/powerpc/bits/floatn.h: Likewise.
29493 * sysdeps/x86/bits/floatn.h: Likewise.
29495 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29497 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
29498 indicates whether compiler emits an warning for alias for
29499 functions with incompatible types.
29502 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
29503 the auxiliary process is terminated by a signal before calling _exit
29506 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
29509 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
29511 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
29512 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
29513 and bit_arch_XSAVEC_Usable if needed.
29514 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
29515 and bit_arch_Use_dl_runtime_resolve_opt.
29516 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
29518 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
29519 (bit_arch_Prefer_No_AVX512): Updated.
29520 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
29521 (bit_arch_XSAVEC_Usable): New.
29522 (STATE_SAVE_OFFSET): Likewise.
29523 (STATE_SAVE_MASK): Likewise.
29524 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
29525 (cpu_features): Add xsave_state_size and xsave_state_full_size.
29526 (index_arch_Use_dl_runtime_resolve_opt): Removed.
29527 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
29528 (index_arch_XSAVEC_Usable): New.
29529 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
29530 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
29531 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
29533 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
29534 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
29535 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
29536 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
29537 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
29538 _dl_runtime_resolve_xsavec.
29539 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
29541 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
29542 instead of VEC_SIZE.
29543 (REGISTER_SAVE_BND0): Removed.
29544 (REGISTER_SAVE_BND1): Likewise.
29545 (REGISTER_SAVE_BND3): Likewise.
29546 (REGISTER_SAVE_RAX): Always defined to 0.
29548 (_dl_runtime_resolve_avx): Likewise.
29549 (_dl_runtime_resolve_avx_slow): Likewise.
29550 (_dl_runtime_resolve_avx_opt): Likewise.
29551 (_dl_runtime_resolve_avx512): Likewise.
29552 (_dl_runtime_resolve_avx512_opt): Likewise.
29553 (_dl_runtime_resolve_sse): Likewise.
29554 (_dl_runtime_resolve_sse_vex): Likewise.
29556 (_dl_runtime_resolve_fxsave): Likewise.
29557 (USE_XSAVE): Likewise.
29558 (_dl_runtime_resolve_xsave): Likewise.
29559 (USE_XSAVEC): Likewise.
29560 (_dl_runtime_resolve_xsavec): Likewise.
29561 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
29563 (_dl_runtime_resolve_avx512_opt): Likewise.
29564 (_dl_runtime_resolve_avx): Likewise.
29565 (_dl_runtime_resolve_avx_opt): Likewise.
29566 (_dl_runtime_resolve_sse): Likewise.
29567 (_dl_runtime_resolve_sse_vex): Likewise.
29568 (_dl_runtime_resolve_fxsave): New.
29569 (_dl_runtime_resolve_xsave): Likewise.
29570 (_dl_runtime_resolve_xsavec): Likewise.
29572 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
29576 * posix/glob.c (__glob): Fix one-byte overflow.
29578 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
29580 * malloc/malloc.c (sysdep-cancel.h): Add include.
29582 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
29584 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
29586 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
29588 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
29589 (tests): Remove $(objpfx)ga_test depdendency.
29590 * resolv/ga_test.c: Remove file.
29592 2017-10-20 Mike FABIAN <mfabian@redhat.com>
29595 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
29596 * localedata/locales/kab_DZ: New file.
29598 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
29600 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
29601 _dl_relocate_static_pie instead of _dl_start to compute load
29602 address in static PIE.
29604 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
29606 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
29608 2017-10-20 Mike FABIAN <mfabian@redhat.com>
29611 * localedata/SUPPORTED: Add shn_MM/UTF-8.
29612 * localedata/locales/shn_MM: New file.
29614 2017-10-20 Florian Weimer <fweimer@redhat.com>
29617 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
29618 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
29619 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
29620 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
29621 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
29622 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
29624 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
29626 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29628 2017-10-19 Joseph Myers <joseph@codesourcery.com>
29630 * sysdeps/mips/ieee754/bits/floatn.h: New file.
29633 * sysdeps/mips/bits/long-double.h: Move to ....
29634 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
29636 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
29638 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
29640 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
29641 H.J. Lu <hongjiu.lu@intel.com>
29644 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
29645 GLRO(dl_platform) to NULL.
29646 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
29647 (modules-names): Add tst-platformmod-1 and
29648 x86_64/tst-platformmod-2.
29649 (CFLAGS-tst-platform-1.c): New.
29650 (CFLAGS-tst-platformmod-1.c): Likewise.
29651 (CFLAGS-tst-platformmod-2.c): Likewise.
29652 (LDFLAGS-tst-platformmod-2.so): Likewise.
29653 ($(objpfx)tst-platform-1): Likewise.
29654 ($(objpfx)tst-platform-1.out): Likewise.
29655 (tst-platform-1-ENV): Likewise.
29656 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
29657 * sysdeps/x86_64/tst-platform-1.c: New file.
29658 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
29659 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
29661 2017-10-19 Mike FABIAN <mfabian@redhat.com>
29664 * locale/iso-639.def: Add Karbi.
29665 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
29666 * localedata/locales/mjw_IN: New file.
29668 2017-10-18 Joseph Myers <joseph@codesourcery.com>
29670 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
29671 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
29672 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
29673 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
29674 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
29675 (libm_alias_ldouble_other_r): Also create _Float128 alias.
29676 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
29678 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
29679 (libm_alias_ldouble_other_r): Also create _Float128 alias.
29680 * manual/math.texi (Mathematics): Document additional architecture
29681 support for _Float128.
29682 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
29683 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
29684 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
29685 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29686 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29687 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
29688 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
29689 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
29690 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29691 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
29692 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29693 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
29694 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29695 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
29696 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29698 2017-10-18 Renlin Li <renlin.li@arm.com>
29700 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
29701 _DYNAMIC symbol to calculate load address.
29703 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
29705 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
29706 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
29708 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
29709 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
29711 2017-10-18 Mike FABIAN <mfabian@redhat.com>
29714 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
29715 and improve readability by using more ASCII.
29716 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
29717 and improve readability by using more ASCII.
29719 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
29721 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
29722 not all targets support atomics on bool.
29724 2017-10-17 Joseph Myers <joseph@codesourcery.com>
29726 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
29727 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
29729 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
29730 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
29731 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
29732 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
29733 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
29734 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
29736 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29738 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
29741 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
29744 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
29745 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
29746 (do_check_remalloced_chunk): Fix build bug.
29747 (do_check_malloc_state): Add assert that checks arena->top.
29748 (malloc_consolidate): Remove initialization.
29749 (int_mallinfo): Remove call to malloc_consolidate.
29750 (__libc_mallopt): Clarify why malloc_consolidate is needed.
29752 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
29754 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
29755 (have_fastchunks): Remove.
29756 (clear_fastchunks): Remove.
29757 (set_fastchunks): Remove.
29758 (malloc_state): Add have_fastchunks.
29759 (malloc_init_state): Use have_fastchunks.
29760 (do_check_malloc_state): Remove incorrect invariant checks.
29761 (_int_malloc): Use have_fastchunks.
29762 (_int_free): Likewise.
29763 (malloc_consolidate): Likewise.
29765 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
29767 * malloc/malloc.c (tcache_put): Inline.
29768 (tcache_get): Inline.
29770 2017-10-17 Jordi Mallach <jordi@gnu.org>
29772 Aurelien Jarno <aurelien@aurel32.net>
29774 * localedata/locales/ca_ES@valencia: New file.
29775 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
29777 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
29780 * math/math.h: Let signbit use the builtin in C++ mode with gcc
29783 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29785 * scripts/build-many-glibcs.py (Context.add_all_configs):
29786 Add arm-linux-gnueabihf multiarch extra_glibcs.
29788 * sysdeps/generic/ifunc-init.h: New file.
29789 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
29791 2017-10-17 Mike FABIAN <mfabian@redhat.com>
29794 * localedata/locales/el_GR: Set n_cs_precedes to 0.
29795 * localedata/locales/el_CY: copy "el_GR" because it is identical.
29796 * stdlib/tst-strfmon_l.c: adapt test case.
29798 2017-10-16 Joseph Myers <joseph@codesourcery.com>
29800 * sysdeps/generic/float128-abi.h: New file.
29801 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
29802 non-__prefixed symbols to ....
29803 * math/Versions: ... here. Include <float128-abi.h>.
29804 * stdlib/Versions ... and here. Include <float128-abi.h>
29806 2017-10-16 Florian Weimer <fweimer@redhat.com>
29808 * version.h (VERSION): Switch to ".9000" as the development
29811 2017-10-16 Florian Weimer <fweimer@redhat.com>
29814 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
29815 compat_symbol_reference to access non-default version.
29817 2017-10-16 Florian Weimer <fweimer@redhat.com>
29819 * malloc/Makefile (others-extras): Set to mcheck-init.o.
29821 2017-10-16 Carlos O'Donell <carlos@redhat.com>
29823 * include/shlib-compat.h (compat_symbol_reference): Update
29826 2017-10-16 Joseph Myers <joseph@codesourcery.com>
29828 * math/Makefile (test-types): Add
29829 $(type-float128-$(float128-alias-fcts)).
29830 * math/test-float128.h (TYPE_STR): Define conditional on
29831 [FLT128_MANT_DIG == LDBL_MANT_DIG].
29832 (ULP_IDX): Likewise.
29833 (ULP_I_IDX): Likewise.
29835 * stdlib/strtold.c: Include <bits/floatn.h>
29836 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
29837 and later undefine as macro. Define as weak alias if
29839 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
29840 and later undefine as macro. Define as weak alias if
29842 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
29843 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
29844 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
29845 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
29846 Define and later undefine as macro. Define as weak alias if
29848 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
29850 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
29851 Define and later undefine as macro. Define as weak alias if
29853 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
29854 Define and later undefine as macro. Define as weak alias if
29857 2017-10-15 Carlos O'Donell <carlos@redhat.com>
29859 * localedata/collate-test.c (allocate_arrays): Don't use \n in
29860 record_verbose messages.
29862 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
29865 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
29866 to silence -O3 -Wall warning with GCC 7.
29868 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
29870 * Makeconfig (+link-static-before-libc): Use the first of
29871 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
29872 * gmon/Makefile (tests): Add tst-gmon-static.
29873 (tests-static): Likewise.
29874 (CFLAGS-tst-gmon-static.c): New.
29875 (CRT-tst-gmon-static): Likewise.
29876 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
29877 (tst-gmon-static-ENV): Likewise.
29878 (tests-special): Likewise.
29879 ($(objpfx)tst-gmon-static.out): Likewise.
29880 (clean-tst-gmon-static-data): Likewise.
29881 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
29882 * gmon/tst-gmon-static-gprof.sh: New file.
29883 * gmon/tst-gmon-static.c: Likewise.
29885 2017-10-13 Carlos O'Donell <carlos@redhat.com>
29888 * locale/programs/linereader.c (get_string): Don't warn on
29889 non-symbolic character.
29892 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
29896 * locale/programs/record-status.h: New file
29897 * locale/programs/locale.c: Add comment.
29898 * locale/programs/charmap-dir.c: Don't include error.h.
29899 (charmap_opendir): Use record_error.
29900 * locale/programs/charmap.c: Don't include error.h.
29901 (charmap_read): Use record_error, and record_warning.
29902 (parse_charmap): Likewise.
29903 * locale/programs/ld-address.c: Don't include error.h.
29904 (address_finish): Use record_error, and record_warning.
29905 * locale/programs/ld-collate.c: Don't include error.h.
29906 (collate_finish): Use record_error, and record_error_at_line.
29907 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
29908 (ctype_class_new): Likewise.
29909 (ctype_map_new): Likewise.
29910 (set_one_default): Likewise.
29911 (set_class_defaults): Likewise.
29912 (translit_flatten): Likewise.
29913 (allocate_arrays): Use record_error, and record_verbose.
29914 * locale/programs/ld-identification.c: Don't include error.h.
29915 (indentation_finish): Use record_error and record_warning.
29916 * locale/programs/ld-measurement.c: Don't include error.h.
29917 (measurement_finish): Use record_error.
29918 * locale/programs/ld-messages.c
29919 (message_finish): Likewise.
29920 * locale/programs/ld-monetary.c
29921 (monetary_finish): Likewise.
29922 * locale/programs/ld-name.c (name_finish): Use record_error
29923 and record_warning.
29924 * locale/programs/ld-numeric.c
29925 (numeric_finish): Use record_error.
29926 * locale/programs/ld-paper.c: Don't include error.h.
29927 (paper_finish): Use record_error.
29928 * locale/programs/ld-telephone.c: Don't include error.h.
29929 (telephone_finish): Use record_error.
29930 * locale/programs/ld-time.c (time_finish): Likewise.
29931 * locale/programs/linereader.h (lr_error): Make inline func.
29932 * locale/programs/localedef.c: Define recorded_warning_count,
29933 and recorded_error_count.
29934 (main): Use record_error. Use recorded_error_count and
29935 recorded_warning_count to issue correct error returns.
29936 (add_to_readlist): Use record_error.
29937 (find_locale): Likewise.
29938 (load_locale): Likewise.
29939 * locale/programs/localedef.h: Remove be_quiet
29940 and WITH_CUR_LOCALE.
29941 * locale/programs/locarchive.c (compare_from_file): Use
29943 * locale/programs/locfile.c (write_locale_data): Use
29945 * locale/programs/repertoire.c: Dont include error.h.
29946 (repertoire_complain): Use record_error.
29947 * localedata/tst-fmon.sh: Expect failures from localedef.
29948 * localedata/tst-locale.sh: Likewise.
29949 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
29951 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
29952 (REPORTS): Likewise.
29954 (i18n): Rename to...
29955 (i18n_ctype): ...this.
29956 (i18n-report): Rename to...
29957 (i18n_ctype-report): ...this.
29958 * localedata/locales/i18n_ctype: Regenerate.
29959 * localedata/locales/i18n: copy i18n_ctype.
29961 2017-10-13 Joseph Myers <joseph@codesourcery.com>
29963 * stdlib/strfroml.c: Include <bits/floatn.h>.
29964 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
29965 Define before include of <stdlib.h> and undefine afterwards, then
29966 define as weak alias.
29968 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
29969 Undefine and restore default definition. Use
29970 libm_alias_ldouble_other.
29972 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
29975 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
29978 2017-10-13 James Clarke <jrtc27@jrtc27.com>
29980 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29981 Assign sym_map to be map for local symbols, as TLS relocations
29982 use sym_map to determine whether the symbol is defined and to
29983 extract the TLS information.
29984 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29985 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29987 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29990 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
29991 (math_force_eval): Add powerpc version.
29994 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
29996 (do_test): Likewise.
29997 * stdio-common/tst-printf.sh: Likewise.
29998 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
29999 ifdef clause in order to set the carry bit right. Replace r0 by
30000 0 without changing the behavior.
30002 2017-10-13 Joseph Myers <joseph@codesourcery.com>
30004 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
30005 <libm-alias-ldouble.h>.
30006 (fabsl): Define using libm_alias_ldouble.
30007 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
30008 <libm-alias-ldouble.h>.
30009 (fabsl): Define using libm_alias_ldouble.
30011 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
30012 Remove conditional code.
30014 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
30015 Rename to __clog10_internal_l.
30016 (__clog10_internal_l): Define aliases using
30017 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
30020 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30022 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
30023 * benchtests/sincosf-inputs: New file.
30024 * benchtests/cosf-inputs: New file.
30025 * benchtests/sinf-inputs: New file.
30027 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
30029 * posix/tst-spawn.c (do_test): Wait for both children.
30031 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
30034 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
30035 tests-pie): Add tst-gmon-pie.
30036 (CFLAGS-tst-gmon-pie.c): New.
30037 (CRT-tst-gmon-pie): Likewise.
30038 (tst-gmon-pie-ENV): Likewise.
30039 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
30040 ($(objpfx)tst-gmon-pie.out): Likewise.
30041 (clean-tst-gmon-pie-data): Likewise.
30042 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
30043 * gmon/gmon.c [PIC]: Include <link.h>.
30044 [PIC] (callback): New function.
30045 (write_hist): Add an argument for load address. Subtract load
30047 (write_call_graph): Likewise.
30048 (write_gmon): Call __dl_iterate_phdr to get load address, pass
30049 it to write_hist and write_call_graph.
30050 * gmon/tst-gmon-pie.c: New file.
30052 2017-10-11 Joseph Myers <joseph@codesourcery.com>
30054 * math/Makefile (test-types-basic): New variable.
30055 (test-types): Likewise.
30056 (libm-test-support): Use $(test-types) instead of $(types).
30057 (libm-tests-base-normal): Likewise.
30058 (libm-tests-base-finite): Likewise.
30059 (libm-tests-base-inline): Likewise.
30060 (generated): Likewise.
30061 ($(objpfx)libm-test-support-$(t).c): Likewise.
30062 (libm-tests-for-type iterator): Likewise.
30063 (libm-test-support iterator): Likewise.
30064 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
30065 (ulp_idx): Use ULP_IDX.
30066 * math/test-ldouble.h: Include <float.h>.
30067 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
30068 (ULP_IDX): New macro.
30069 (ULP_I_IDX): Likewise.
30070 * math/test-double.h (ULP_IDX): Likewise.
30071 (ULP_I_IDX): Likewise.
30072 * math/test-float.h (ULP_IDX): Likewise.
30073 (ULP_I_IDX): Likewise.
30074 * math/test-float128.h (ULP_IDX): Likewise.
30075 (ULP_I_IDX): Likewise.
30077 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30079 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
30080 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30081 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30082 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
30083 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30084 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
30085 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
30086 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30087 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30088 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30089 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
30090 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30091 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30092 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30093 (SINGLE_THREAD_BY_GLOBAL): Define.
30094 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30096 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30098 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30100 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30102 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
30103 (SINGLE_THREAD_BY_GLOBAL): Likewise.
30104 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30107 2017-10-11 Andreas Schwab <schwab@suse.de>
30109 * nis/Makefile (aux): Remove.
30110 * nscd/Makefile (aux): Add nscd_hash.
30111 (nscd-modules): Likewise.
30112 ($(objpfx)nscd): Don't depend on libnsl.
30113 * nscd/nscd_hash.c: New file.
30114 * nscd/nscd_hash.h: Likewise.
30115 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
30116 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
30117 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
30118 instead of <nis/rpcsvc/nis.h>.
30119 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
30121 2017-10-11 Florian Weimer <fweimer@redhat.com>
30124 Avoid large NSS buffers with many addresses, aliases.
30125 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
30126 using dynarrays and struct alloc_buffer.
30127 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
30128 (tst-nss-files-hosts-multi): Link with -ldl.
30129 * nss/tst-nss-files-hosts-multi.c: New file.
30131 2017-10-11 Florian Weimer <fweimer@redhat.com>
30134 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
30135 scratch_buffer. Eliminate gotos.
30137 2017-10-11 Joseph Myers <joseph@codesourcery.com>
30139 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
30140 libm_alias_ldouble_other.
30141 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
30142 undefine and redefine.
30143 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
30144 (exp10l): Do not define here.
30145 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
30146 (weak_alias): Undefine and redefine.
30147 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
30148 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30149 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
30150 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
30152 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
30153 [!__fma] (fma): Define using libm_alias_double.
30154 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
30155 [!__fmaf] (fmaf): Define using libm_alias_float.
30156 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
30157 (fmal): Define using libm_alias_ldouble.
30159 2017-10-10 Joseph Myers <joseph@codesourcery.com>
30161 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
30163 (libm_alias_double_other): Likewise.
30164 (libm_alias_double_r): Use libm_alias_double_other_r.
30165 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
30167 (libm_alias_float_other): Likewise.
30168 (libm_alias_float_r): Use libm_alias_float_other_r.
30169 * sysdeps/generic/libm-alias-float128.h
30170 (libm_alias_float128_other_r): New macro.
30171 (libm_alias_float128_other): Likewise.
30172 (libm_alias_float128_r): Use libm_alias_float128_other_r.
30173 * sysdeps/generic/libm-alias-ldouble.h
30174 (libm_alias_ldouble_other_r): New macro.
30175 (libm_alias_ldouble_other): Likewise.
30176 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
30177 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
30178 (libm_alias_double_other_r): New macro.
30179 (libm_alias_double_other): Likewise.
30180 (libm_alias_double_r): Use libm_alias_double_other_r.
30181 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
30182 (libm_alias_ldouble_other_r): New macro.
30183 (libm_alias_ldouble_other): Likewise.
30184 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
30185 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
30186 [!USE_AS_COMPAT]: Use libm_alias_double_other.
30187 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
30188 [!USE_AS_COMPAT]: Use libm_alias_float_other.
30189 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
30190 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
30191 * math/w_exp2f.c: Use libm_alias_float_other.
30192 * math/w_expf.c: Likewise.
30193 * math/w_log2f.c: Likewise.
30194 * math/w_logf.c: Likewise.
30195 * math/w_powf.c: Likewise.
30196 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
30197 [!__exp2f]: Use libm_alias_float_other.
30198 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
30199 [!__expf]: Use libm_alias_float_other.
30200 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
30201 [!__log2f]: Use libm_alias_float_other.
30202 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
30203 [!__logf]: Use libm_alias_float_other.
30204 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
30205 [!__powf]: Use libm_alias_float_other.
30207 2017-10-10 Florian Weimer <fweimer@redhat.com>
30209 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
30211 (_nss_files_gethostbyname3_r): Call it.
30213 2017-10-09 Joseph Myers <joseph@codesourcery.com>
30215 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
30216 error. Remove default definition of declare_mgen_alias.
30217 [!declare_mgen_alias_r]: Likewise.
30218 * sysdeps/generic/math-type-macros-double.h
30219 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
30220 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
30221 (declare_mgen_alias_r): Likewise.
30222 * sysdeps/generic/math-type-macros-float128.h
30223 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
30224 * sysdeps/generic/math-type-macros-ldouble.h
30225 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
30226 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
30228 (declare_mgen_alias_r_s): Likewise.
30229 (declare_mgen_alias_r): Likewise.
30230 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
30231 (lgamma_r): Define using libm_alias_double_r.
30232 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
30233 (lgammaf_r): Define using libm_alias_float_r.
30234 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
30235 (lgammal_r): Define using libm_alias_ldouble_r.
30236 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
30237 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
30239 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30241 * lib/glob.c (__glob_pattern_type): Remove now-spurious
30242 extern declaration.
30244 2017-10-09 Joseph Myers <joseph@codesourcery.com>
30246 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
30248 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
30251 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
30252 [__cplusplus >= 201103] (__USE_ISOC99): Define.
30253 * math/Makefile (test-math-cxx11): New test.
30254 * math/test-math-cxx11.cc: New file.
30256 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
30258 * login/openpty.c (openpty): Close slave pty file descriptor on error.
30260 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
30261 call to allocate the slave pty file descriptor.
30263 2017-10-06 Joseph Myers <joseph@codesourcery.com>
30265 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
30266 [!__fma] (fma): Define using libm_alias_double.
30267 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
30268 [!__fma] (fma): Define using libm_alias_double.
30270 * sysdeps/ieee754/float128/float128_private.h: Include
30271 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
30272 (libm_alias_ldouble_r): Undefine and redefine.
30273 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
30274 <libm-alias-ldouble.h>.
30275 (asinhl): Define using libm_alias_ldouble.
30276 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
30277 <libm-alias-ldouble.h>.
30278 (atanl): Define using libm_alias_ldouble.
30279 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
30280 <libm-alias-ldouble.h>.
30281 (cbrtl): Define using libm_alias_ldouble.
30282 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
30283 <libm-alias-ldouble.h>.
30284 (ceill): Define using libm_alias_ldouble.
30285 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
30286 <libm-alias-ldouble.h>.
30287 (copysignl): Define using libm_alias_ldouble.
30288 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
30289 <libm-alias-ldouble.h>.
30290 (cosl): Define using libm_alias_ldouble.
30291 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
30292 <libm-alias-ldouble.h>.
30293 (erfl): Define using libm_alias_ldouble.
30295 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
30296 <libm-alias-ldouble.h>.
30297 (expm1l): Define using libm_alias_ldouble.
30298 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
30299 <libm-alias-ldouble.h>.
30300 (fabsl): Define using libm_alias_ldouble.
30301 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
30302 <libm-alias-ldouble.h>.
30303 (floorl): Define using libm_alias_ldouble.
30304 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
30305 <libm-alias-ldouble.h>.
30306 (fmal): Define using libm_alias_ldouble.
30307 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
30308 <libm-alias-ldouble.h>.
30309 (frexpl): Define using libm_alias_ldouble.
30310 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
30311 libm_alias_ldouble.
30312 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
30313 <libm-alias-ldouble.h>.
30314 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
30315 libm_alias_ldouble.
30316 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
30317 <libm-alias-ldouble.h>.
30318 (getpayloadl): Define using libm_alias_ldouble.
30319 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
30320 <libm-alias-ldouble.h>.
30321 (llrintl): Define using libm_alias_ldouble.
30322 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
30323 <libm-alias-ldouble.h>.
30324 (llroundl): Define using libm_alias_ldouble.
30325 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
30326 <libm-alias-ldouble.h>.
30327 (logbl): Define using libm_alias_ldouble.
30328 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
30329 <libm-alias-ldouble.h>.
30330 (lrintl): Define using libm_alias_ldouble.
30331 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
30332 <libm-alias-ldouble.h>.
30333 (lroundl): Define using libm_alias_ldouble.
30334 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
30335 <libm-alias-ldouble.h>.
30336 (modfl): Define using libm_alias_ldouble.
30337 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
30338 <libm-alias-ldouble.h>.
30339 (nearbyintl): Define using libm_alias_ldouble.
30340 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
30341 <libm-alias-ldouble.h>.
30342 (nextafterl): Define using libm_alias_ldouble.
30343 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
30344 <libm-alias-ldouble.h>.
30345 (nextupl): Define using libm_alias_ldouble.
30346 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
30347 <libm-alias-ldouble.h>.
30348 (remquol): Define using libm_alias_ldouble.
30349 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
30350 <libm-alias-ldouble.h>.
30351 (rintl): Define using libm_alias_ldouble.
30352 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
30353 <libm-alias-ldouble.h>.
30354 (roundevenl): Define using libm_alias_ldouble.
30355 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
30356 <libm-alias-ldouble.h>.
30357 (roundl): Define using libm_alias_ldouble.
30358 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
30359 using libm_alias_ldouble.
30360 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
30361 <libm-alias-ldouble.h>.
30362 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
30363 Define using libm_alias_ldouble.
30364 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
30365 <libm-alias-ldouble.h>.
30366 (sincosl): Define using libm_alias_ldouble.
30367 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
30368 <libm-alias-ldouble.h>.
30369 (sinl): Define using libm_alias_ldouble.
30370 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
30371 <libm-alias-ldouble.h>.
30372 (tanhl): Define using libm_alias_ldouble.
30373 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
30374 <libm-alias-ldouble.h>.
30375 (tanl): Define using libm_alias_ldouble.
30376 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
30377 <libm-alias-ldouble.h>.
30378 (totalorderl): Define using libm_alias_ldouble.
30379 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
30380 <libm-alias-ldouble.h>.
30381 (totalordermagl): Define using libm_alias_ldouble.
30382 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
30383 <libm-alias-ldouble.h>.
30384 (truncl): Define using libm_alias_ldouble.
30385 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
30386 libm_alias_ldouble.
30387 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
30388 libm_alias_ldouble.
30389 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
30390 <libm-alias-ldouble.h>.
30391 (weak_alias): Do not undefine and redefine.
30392 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
30393 (copysignl): Define with long_double_symbol only if [IS_IN
30395 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
30396 <libm-alias-ldouble.h>.
30397 (weak_alias): Do not undefine and redefine.
30398 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
30399 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
30400 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
30401 <libm-alias-ldouble.h>.
30402 (weak_alias): Do not undefine and redefine.
30403 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
30404 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
30405 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
30406 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
30407 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
30408 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
30409 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
30410 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
30411 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
30412 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
30413 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
30414 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
30415 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
30416 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
30417 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
30418 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
30419 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
30420 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
30421 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
30422 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
30423 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
30424 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
30425 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
30426 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
30427 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
30428 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
30430 2017-10-06 Carlos O'Donell <carlos@redhat.com>
30433 * malloc/malloc.c (tcache_shutting_down): Use bool type.
30434 (tcache_thread_freeres): Set tcache_shutting_down before
30435 freeing the tcache.
30436 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
30437 * malloc/tst-malloc-tcache-leak.c: New file.
30439 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30441 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
30442 back to powerpc32 file.
30443 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
30444 (memrchr): Add __memrchr_power8 to ifunc list.
30445 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
30446 extra bytes for unaligned inputs.
30448 2017-10-06 Joseph Myers <joseph@codesourcery.com>
30450 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
30451 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
30452 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
30453 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
30454 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
30456 2017-10-05 Joseph Myers <joseph@codesourcery.com>
30458 * sysdeps/arm/libm-test-ulps: Update.
30460 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
30461 <libm-alias-ldouble.h>.
30462 (asinhl): Define using libm_alias_ldouble.
30463 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
30464 <libm-alias-ldouble.h>.
30465 (cbrtl): Define using libm_alias_ldouble.
30466 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
30467 <libm-alias-ldouble.h>.
30468 (copysignl): Define using libm_alias_ldouble.
30469 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
30470 <libm-alias-ldouble.h>.
30471 (cosl): Define using libm_alias_ldouble.
30472 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
30473 <libm-alias-ldouble.h>.
30474 (erfl): Define using libm_alias_ldouble.
30476 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
30477 <libm-alias-ldouble.h>.
30478 (fmal): Define using libm_alias_ldouble.
30479 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
30480 <libm-alias-ldouble.h>.
30481 (frexpl): Define using libm_alias_ldouble.
30482 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
30483 libm_alias_ldouble.
30484 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
30485 <libm-alias-ldouble.h>.
30486 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
30487 libm_alias_ldouble.
30488 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
30489 <libm-alias-ldouble.h>.
30490 (getpayloadl): Define using libm_alias_ldouble.
30491 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
30492 <libm-alias-ldouble.h>.
30493 (llrintl): Define using libm_alias_ldouble.
30494 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
30495 <libm-alias-ldouble.h>.
30496 (llroundl): Define using libm_alias_ldouble.
30497 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
30498 <libm-alias-ldouble.h>.
30499 (lrintl): Define using libm_alias_ldouble.
30500 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
30501 <libm-alias-ldouble.h>.
30502 (lroundl): Define using libm_alias_ldouble.
30503 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
30504 <libm-alias-ldouble.h>.
30505 (modfl): Define using libm_alias_ldouble.
30506 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
30507 <libm-alias-ldouble.h>.
30508 (nextupl): Define using libm_alias_ldouble.
30509 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
30510 <libm-alias-ldouble.h>.
30511 (remquol): Define using libm_alias_ldouble.
30512 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
30513 <libm-alias-ldouble.h>.
30514 (roundevenl): Define using libm_alias_ldouble.
30515 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
30516 <libm-alias-ldouble.h>.
30517 (roundl): Define using libm_alias_ldouble.
30518 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
30519 using libm_alias_ldouble.
30520 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
30521 <libm-alias-ldouble.h>.
30522 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
30523 <libm-alias-ldouble.h>.
30524 (setpayloadsigl): Define using libm_alias_ldouble.
30525 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
30526 <libm-alias-ldouble.h>.
30527 (sincosl): Define using libm_alias_ldouble.
30528 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
30529 <libm-alias-ldouble.h>.
30530 (sinl): Define using libm_alias_ldouble.
30531 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
30532 <libm-alias-ldouble.h>.
30533 (tanhl): Define using libm_alias_ldouble.
30534 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
30535 <libm-alias-ldouble.h>.
30536 (tanl): Define using libm_alias_ldouble.
30537 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
30538 <libm-alias-ldouble.h>.
30539 (totalorderl): Define using libm_alias_ldouble.
30540 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
30541 <libm-alias-ldouble.h>.
30542 (totalordermagl): Define using libm_alias_ldouble.
30543 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
30544 libm_alias_ldouble.
30545 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
30546 libm_alias_ldouble.
30548 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
30550 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
30552 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
30553 (__libc_ifunc_impl_list): Likewise.
30554 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
30555 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
30557 * benchtests/bench-memmove-walk.c: New file.
30558 * benchtests/Makefile (string-benchset): Add it.
30560 * benchtests/bench-memset-walk.c: New file.
30561 * benchtests/Makefile (string-benchset): Add it.
30563 * benchtests/bench-memcpy-walk.c: New file.
30564 * benchtests/Makefile (string-benchset): Add it.
30566 2017-10-05 Florian Weimer <fweimer@redhat.com>
30568 nscd: Eliminate compilation time dependency in the build output.
30569 * nscd/nscd_stat.c (STATDATA_VERSION)
30570 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
30571 (STATDATA_VERSION_FULL): New macro definitions.
30572 (compilation): Remove.
30573 (struct statdata): Adjust version member.
30574 (send_stats): Set version from STATDATA_VERSION_FULL.
30575 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
30577 2017-10-05 Joseph Myers <joseph@codesourcery.com>
30579 * configure.ac (--enable-add-ons): Remove option.
30580 (machine): Do not mention add-ons in comment.
30581 (LIBC_PRECONFIGURE): Likewise.
30582 (add_ons): Remove variable and sanity checks and logic to locate
30584 (add_ons_automatic): Remove variable.
30585 (configured_add_ons): Likewise.
30586 (add_ons_sfx): Likewise.
30587 (add_ons_pfx): Likewise.
30588 (add_on_subdirs): Likewise.
30589 (sysnames_add_ons): Likewise. Remove loop over add-ons and
30590 consideration of add-ons in Implies handling.
30591 (sysdeps_add_ons): Likewise.
30592 * configure: Regenerated.
30593 * libidn/configure.ac: Remove.
30594 * libidn/configure: Likewise.
30595 * sysdeps/unix/inet/configure.ac: New file.
30596 * sysdeps/unix/inet/configure: New generated file.
30597 * sysdeps/unix/inet/Subdirs: Add libidn.
30598 * Makeconfig (sysdeps-srcdirs): Remove variable.
30599 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
30600 ($(common-objpfx)config.status): Do not depend on add-on files.
30601 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
30603 (all-subdirs): Do not include $(add-on-subdirs).
30604 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
30605 * config.make.in (add-ons): Remove variable.
30606 (add-on-subdirs): Likewise.
30607 (sysdeps-add-ons): Likewise.
30608 * manual/Makefile (add-chapters): Remove.
30609 ($(objpfx)texis): Do not depend on $(add-chapters).
30610 (nonexamples): Do not handle $(add-chapters).
30611 (examples): Do not handle $(add-ons).
30612 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
30614 * manual/install.texi (Installation): Do not mention add-ons.
30615 (--enable-add-ons): Do not document configure option.
30616 * INSTALL: Regenerated.
30617 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
30618 * manual/maint.texi (Hierarchy Conventions): Do not mention
30620 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
30622 * scripts/gen-sorted.awk: Do not handle Subdirs files from
30624 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
30625 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
30627 2017-10-05 Andreas Schwab <schwab@suse.de>
30630 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
30631 (_IO_flush_all_lockp): Always lock list_all_lock.
30632 (_IO_flush_all_linebuffered): Likewise.
30633 (_IO_unbuffer_all): Likewise.
30635 2017-10-05 Florian Weimer <fweimer@redhat.com>
30638 Do not flush stdio streams on abort.
30639 * stdlib/abort.c (fflush): Remove macro definition.
30640 (abort): Remove stages related to stdio flushing.
30642 2017-10-05 Florian Weimer <fweimer@redhat.com>
30644 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
30646 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
30648 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
30650 2017-10-05 Florian Weimer <fweimer@redhat.com>
30652 * support/support_format_hostent.c (support_format_hostent): Add
30653 more error information for NETDB_INTERNAL.
30655 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
30657 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
30658 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
30659 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
30660 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
30661 AC_DEFINE if multi-arch is enabled.
30662 * sysdeps/i386/configure: Regenerated.
30664 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
30666 * Makeconfig (+link-static-before-libc): Use
30667 $(DEFAULT-LDFLAGS-$(@F)).
30668 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
30669 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
30670 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
30672 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
30674 * elf/Makefile (tests): Add tst-main1.
30675 (modules-names): Add tst-main1mod.
30676 ($(objpfx)tst-main1): New.
30677 (CRT-tst-main1): Likewise.
30678 (LDFLAGS-tst-main1): Likewise.
30679 (LDLIBS-tst-main1): Likewise.
30680 (tst-main1mod.so-no-z-defs): Likewise.
30681 * elf/tst-main1.c: New file.
30682 * elf/tst-main1mod.c: Likewise.
30684 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
30686 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
30688 2017-10-04 Joseph Myers <joseph@codesourcery.com>
30690 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
30691 (fma): Define using libm_alias_double.
30692 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
30693 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
30695 (fmal): Do not define as compat symbol here.
30696 * sysdeps/alpha/fpu/s_fma.c: New file.
30698 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
30700 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
30702 2017-10-04 Joseph Myers <joseph@codesourcery.com>
30705 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
30707 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
30709 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
30710 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
30711 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
30712 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
30713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
30714 Include <math_ldbl_opt.h>
30715 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
30717 (compat_symbol): Undefine and redefine.
30718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
30720 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
30721 (compat_symbol): Undefine and redefine.
30722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
30723 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
30724 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
30725 GLIBC_2_1 for libm.
30726 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
30727 GLIBC_2.0 copysignl symbol.
30728 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
30729 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
30731 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
30733 2017-10-04 Florian Weimer <fweimer@redhat.com>
30735 * scripts/check-local-headers.sh: Ignore nspr4 header file
30736 directory in addition to nspr.
30738 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
30741 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
30742 * configure: Regenerate.
30743 * crypt/Makefile (nss-cpp-flags): New variable.
30744 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
30745 (CPPFLAGS-md5-crypt.c): Use it.
30746 * scripts/check-local-headers.sh: Ignore nspr header file
30749 2017-10-04 Andreas Schwab <schwab@suse.de>
30751 * nis/Makefile (services): Remove compat.
30752 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
30753 ($(objpfx)libnss_compat.so): Remove rule.
30754 * nis/Versions (libnss_compat): Remove.
30755 * nss/Makefile (services): Add compat.
30756 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
30757 * nss/Versions (libnss_compat): Define.
30758 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
30759 Don't include <rpc/types.h>. Replace bool_t by bool.
30760 * nss/nss_compat/compat-initgroups.c: Likewise.
30761 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
30762 instead of <rpcsrv/ypclnt.h>.
30763 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
30764 yp_get_default_domain.
30765 * nss/nss_compat/compat-pwd.c: Likewise.
30766 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
30767 yp_get_default_domain.
30768 * nss/nss_compat/nisdomain.c: New file.
30769 * nss/nss_compat/nisdomain.h: Likewise.
30771 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
30774 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
30775 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30777 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
30780 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
30781 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
30783 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30785 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
30786 "movl main@GOTOFF(%ebx), %eax".
30788 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30790 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
30791 allow undefined _DYNAMIC in PIE libc.a.
30792 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
30795 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30797 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
30800 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30802 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
30805 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30807 * math/test-math-iscanonical.cc (error): Replace bool with int.
30809 2017-10-03 Joseph Myers <joseph@codesourcery.com>
30811 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
30812 (modf): Define using libm_alias_double, only if [!__modf].
30813 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
30814 <libm-alias-double.h>.
30815 (modf): Define using libm_alias_double, only if [!__modf].
30816 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
30817 compat symbol here.
30818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
30819 (weak_alias): Do not undefine and redefine.
30820 (strong_alias): Likewise.
30821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
30822 (weak_alias): Likewise.
30823 (strong_alias): Likewise.
30825 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
30826 (logb): Define using libm_alias_double, only if [!__logb].
30827 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
30828 <libm-alias-double.h>.
30829 (logb): Define using libm_alias_double, only if [!__logb].
30830 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
30831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
30832 (weak_alias): Do not undefine and redefine.
30833 (strong_alias): Likewise.
30834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
30835 (weak_alias): Likewise.
30836 (strong_alias): Likewise.
30838 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30840 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
30841 Check SHARED instead PIC.
30843 2017-10-03 Joseph Myers <joseph@codesourcery.com>
30845 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
30846 [!__fmaf] (fmaf): Define using libm_alias_float.
30848 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
30849 (frexp): Define using libm_alias_double.
30850 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
30851 <libm-alias-double.h>.
30852 (frexp): Define using libm_alias_double.
30853 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
30854 compat symbol here.
30856 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30859 * math/math.h: Trivial fix for unbalanced parentheses in comment.
30860 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
30861 (CFLAGS-test-math-iscanonical.cc): New variable.
30862 * math/test-math-iscanonical.cc: New file.
30863 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
30864 Provide a C++ implementation based on function overloading,
30865 rather than using __MATH_TG, which uses C-only builtins.
30866 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
30868 * sysdeps/powerpc/powerpc64le/Makefile
30869 (CFLAGS-test-math-iscanonical.cc): New variable.
30871 2017-10-03 Joseph Myers <joseph@codesourcery.com>
30873 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
30874 (ceil): Define using libm_alias_double.
30875 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
30876 (floor): Define using libm_alias_double.
30877 * sysdeps/ieee754/dbl-64/s_llround.c: Include
30878 <libm-alias-double.h>.
30879 (llround): Define using libm_alias_double.
30880 * sysdeps/ieee754/dbl-64/s_lround.c: Include
30881 <libm-alias-double.h>.
30882 (lround): Define using libm_alias_double.
30883 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
30884 <libm-alias-double.h>.
30885 (nearbyint): Define using libm_alias_double.
30886 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
30887 <libm-alias-double.h>.
30888 (remquo): Define using libm_alias_double.
30889 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
30890 (rint): Define using libm_alias_double.
30891 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
30892 (round): Define using libm_alias_double.
30893 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
30894 (trunc): Define using libm_alias_double.
30895 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
30896 <libm-alias-double.h>.
30897 (ceil): Define using libm_alias_double.
30898 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
30899 <libm-alias-double.h>.
30900 (floor): Define using libm_alias_double.
30901 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
30902 <libm-alias-double.h>.
30903 (llround): Define using libm_alias_double.
30904 [_LP64] (lround): Likewise.
30905 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
30906 <libm-alias-double.h>.
30907 [!_LP64] (lround): Define using libm_alias_double.
30908 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
30909 <libm-alias-double.h>.
30910 (nearbyint): Define using libm_alias_double.
30911 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
30912 <libm-alias-double.h>.
30913 (remquo): Define using libm_alias_double.
30914 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
30915 <libm-alias-double.h>.
30916 (rint): Define using libm_alias_double.
30917 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
30918 <libm-alias-double.h>.
30919 (round): Define using libm_alias_double.
30920 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
30921 <libm-alias-double.h>.
30922 (trunc): Define using libm_alias_double.
30923 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
30924 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
30925 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
30926 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
30927 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
30928 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
30929 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
30930 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
30931 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
30933 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
30935 * math/w_remainder.c: New file.
30936 * math/w_remainderf.c: New file.
30937 * math/w_remainderl.c: New file.
30939 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30941 * elf/rtld.c (BOOTSTRAP_MAP): New.
30942 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
30943 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
30945 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
30947 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
30950 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
30952 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
30953 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
30954 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
30955 rtld_hidden_data_ver): Define to empty.
30956 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
30957 __assert_perror_fail): Likewise.
30958 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
30959 (__rewinddir): Likewise.
30960 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
30961 (__profile_frequency): Likewise.
30962 * include/setjmp.h (__sigsetjmp): Likewise.
30963 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
30964 __libc_sigaction): Likewise.
30965 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
30966 not set hidden attribute.
30967 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
30968 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
30969 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
30970 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
30971 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
30972 __fxstatat64): Likewise.
30973 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
30974 (__uname): Likewise.
30975 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
30976 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
30977 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
30978 (NO_RTLD_HIDDEN): Set.
30979 * sysdeps/mach/hurd/configure: Refresh.
30980 * config.h.in: Refresh.
30982 2017-10-02 Joseph Myers <joseph@codesourcery.com>
30984 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
30985 (atan): Define using libm_alias_double.
30986 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
30987 (tan): Define using libm_alias_double.
30988 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
30989 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
30991 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
30992 define as weak alias of __atan. Do not define any aliases if
30994 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
30995 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
30996 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
30997 as weak alias of __tan. Do not define any aliases if [__tan].
30998 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
30999 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
31000 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
31002 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
31003 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
31004 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
31005 and define as weak alias of __atan.
31006 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
31008 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
31009 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
31010 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
31011 define as weak alias of __tan.
31013 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31015 * math/w_lgamma.c: New file.
31016 * math/w_lgammaf.c: New file.
31017 * math/w_lgammal.c: New file.
31019 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31021 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
31022 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
31023 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
31024 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
31025 * sysdeps/ieee754/flt-32/w_logf.c: New file.
31026 * sysdeps/ieee754/flt-32/w_powf.c: New file.
31027 * sysdeps/i386/fpu/w_log2f.c: New file.
31028 * sysdeps/i386/fpu/w_logf.c: New file.
31029 * sysdeps/i386/fpu/w_powf.c: New file.
31030 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
31031 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
31032 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
31034 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31035 H.J. Lu <hongjiu.lu@intel.com>
31037 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
31038 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
31039 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
31040 * sysdeps/ieee754/flt-32/w_expf.c: New file.
31041 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
31043 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
31044 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
31045 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
31046 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
31047 * sysdeps/i386/fpu/w_exp2f.c: New file.
31048 * sysdeps/i386/fpu/w_expf.c: New file.
31049 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
31050 * sysdeps/x86_64/fpu/w_expf.c: New file.
31052 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31054 * math/Versions (logf): New libm symbol at GLIBC_2.27.
31057 * math/w_log2f.c: New file.
31058 * math/w_logf.c: New file.
31059 * math/w_powf.c: New file.
31060 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
31061 * math/w_logf_compat.c (__logf_compat): Likewise.
31062 * math/w_powf_compat.c (__powf_compat): Likewise.
31063 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
31064 * sysdeps/ia64/fpu/e_logf.S: Likewise.
31065 * sysdeps/ia64/fpu/e_powf.S: Likewise.
31066 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
31067 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
31068 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
31069 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
31070 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
31071 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
31072 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
31073 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
31074 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
31075 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
31076 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
31077 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
31078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
31080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
31084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
31086 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
31087 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
31088 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
31089 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
31090 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
31091 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
31093 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
31095 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
31096 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
31097 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
31099 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31101 * sysdeps/powerpc/powerpc64/multiarch/Makefile
31102 (sysdep_routines): Add memrchr_power8.
31103 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31104 (memrchr): Add __memrchr_power8 to list of memrchr functions.
31105 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
31107 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
31108 (memrchr): Add __memrchr_power8 to ifunc list.
31109 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
31111 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31114 * sysdeps/unix/sysv/linux/posix_fadvise64.c
31115 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
31117 * sysdeps/unix/sysv/linux/posix_fallocate64.c
31118 (__posix_fallocate64_l64): Likewise.
31120 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31123 * sysdeps/unix/sysv/linux/sched_setaffinity.c
31124 (__sched_setaffinity_new): Add libc_hidden_proto and
31127 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31130 * include/glob.h (__glob64): Add libc_hidden_proto.
31131 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
31134 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31137 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
31140 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31143 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
31145 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31148 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
31151 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31154 * csu/version.c (__libc_print_version): Add attribute_hidden.
31156 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31159 * include/libc-internal.h (__init_misc): Add attribute_hidden.
31161 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31164 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
31166 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31169 * nscd/nscd_helper.c (__nis_hash): New prototype.
31171 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31174 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
31175 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
31177 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
31178 * termios/tcgetattr.c (__tcgetattr): Likewise.
31180 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31183 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
31184 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
31185 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
31186 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
31187 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
31189 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31192 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
31194 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31197 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
31198 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
31200 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31203 * intl/hash-string.h (__hash_string): Add attribute_hidden.
31205 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31208 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
31209 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
31211 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31214 * include/ifreq.h: New file.
31215 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
31216 (__ifreq): Likewise.
31217 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
31218 (__ifreq): Likewise.
31220 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31223 * include/idna.h: New file.
31224 * inet/getnameinfo.c: Include <idna.h> instead of
31226 (__idna_to_unicode_lzlz): Removed.
31227 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
31229 (__idna_to_ascii_lz): Removed.
31230 (__idna_to_unicode_lzlz): Likewise.
31232 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31235 * include/plural-exp.h: New file.
31236 * intl/plural-exp.c: Include <plural-exp.h> instead of
31239 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31242 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
31243 "getsourcefilter.h".
31244 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
31245 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
31246 "getsourcefilter.h".
31247 (__get_sol): Removed.
31249 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31252 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
31254 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
31256 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31259 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
31262 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31265 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
31267 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31270 * include/search.h (__tdestroy): Add libc_hidden_proto.
31271 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
31273 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31276 * include/assert.h (__assert_fail_base): Add attribute_hidden.
31278 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31281 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
31284 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31287 * include/signal.h (__kill): Add libc_hidden_proto.
31288 (__sigblock): Likewise.
31289 (__sigprocmask): Likewise.
31290 (__sigaltstack): Likewise.
31291 * signal/kill.c (__kill): Add libc_hidden_def.
31292 * signal/sigblock.c (__sigblock): Likewise.
31293 * signal/sigprocmask.c (__sigprocmask): Likewise.
31294 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
31295 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
31296 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
31297 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
31298 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
31300 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
31302 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
31303 (__sigprocmask): Likewise.
31304 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
31306 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
31307 (__sigprocmask): Likewise.
31308 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
31311 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31314 * include/string.h (__strsep): Add libc_hidden_proto.
31315 * string/strsep.c (__strsep): Add libc_hidden_def.
31317 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31320 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
31322 (__spawni): Likewise.
31324 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31327 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
31328 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
31331 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31334 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
31336 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31339 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
31340 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
31341 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
31342 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
31343 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
31345 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
31346 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
31348 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31351 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
31352 (__dcigettext): Likewise.
31354 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31357 * include/sys/sysinfo.h (__get_nprocs_conf): Add
31359 (__get_nprocs): Likewise.
31360 (__get_phys_pages): Likewise.
31361 (__get_avphys_pages): Likewise.
31362 (__get_child_max): Add attribute_hidden.
31363 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
31364 (__get_nprocs): Likewise.
31365 (__get_phys_pages): Likewise.
31366 (__get_avphys_pages): Likewise.
31367 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
31369 (__get_nprocs): Likewise.
31370 (__get_phys_pages): Likewise.
31371 (__get_avphys_pages): Likewise.
31372 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
31374 (__get_nprocs_conf): Likewise.
31375 (__get_phys_pages): Likewise.
31376 (__get_avphys_pages): Likewise.
31378 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31381 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
31383 (__netlink_close): Likewise.
31384 (__netlink_free_handle): Likewise.
31385 (__netlink_request): Likewise.
31387 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31390 * include/rpc/rpc.h (__rpc_thread_variables): Add
31392 (__rpc_thread_svc_cleanup): Likewise.
31393 (__rpc_thread_clnt_cleanup): Likewise.
31394 (__rpc_thread_key_cleanup): Likewise.
31396 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31399 * include/sys/uio.h (__readv): Add libc_hidden_proto.
31400 (__writev): Likewise.
31401 * misc/readv.c (__readv): Add libc_hidden_def.
31402 * misc/writev.c (__writev): Likewise.
31403 * sysdeps/posix/readv.c (__readv): Likewise.
31404 * sysdeps/posix/writev.c (__writev): Likewise.
31405 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
31406 (__readv): Likewise.
31407 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
31408 (__writev): Likewise.
31410 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31413 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
31414 (__regcomp): Add libc_hidden_proto.
31415 (__regexec): Likewise.
31416 (__regfree): Likewise.
31417 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
31418 (__regfree): Likewise.
31419 * posix/regexec.c (__regexec): Likewise.
31421 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31424 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
31425 (__getutent): Likewise.
31426 (__getutid): Likewise.
31427 (__getutline): Likewise.
31428 (__pututline): Likewise.
31429 (__getutent_r): Likewise.
31430 (__getutid_r): Likewise.
31431 (__getutline_r): Likewise.
31432 (__utmpname): Add attribute_hidden.
31433 (__setutent): Likewise.
31434 (__endutent): Likewise.
31435 * login/getutent.c (__getutent): Add libc_hidden_def.
31436 * login/getutent_r.c (__getutent_r): Likewise.
31437 (__pututline): Likewise.
31438 * login/getutid.c (__getutid): Likewise.
31439 * login/getutid_r.c (__getutid_r): Likewise.
31440 * login/getutline.c (__getutline): Likewise.
31441 * login/getutline_r.c (__getutline_r): Likewise.
31442 * login/updwtmp.c (__updwtmp): Likewise.
31444 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31447 * include/dirent.h (__opendir): Always add attribute_hidden.
31448 (__fdopendir): Likewise.
31449 (__closedir): Likewise.
31450 (__readdir): Likewise.
31451 (__readdir64): Add libc_hidden_proto.
31452 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
31453 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
31454 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
31455 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
31458 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31461 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
31462 * include/netdb.h (__gethostbyaddr_r): Likewise.
31463 (__gethostbyname_r): Likewise.
31464 (__gethostbyname2_r): Likewise.
31465 (__getnetbyaddr_r): Likewise.
31466 (__getnetbyname_r): Likewise.
31467 (__getservbyname_r): Likewise.
31468 (__getservbyport_r): Likewise.
31469 (__getprotobyname_r): Likewise.
31470 (__getprotobynumber_r): Likewise.
31471 (__getnetgrent_r): Likewise.
31472 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
31473 (__getrpcbynumber_r): Likewise.
31474 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
31476 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31479 * include/stdio.h (__fcloseall): Add attribute_hidden.
31480 (__getline): Likewise.
31481 (__path_search): Likewise.
31482 (__gen_tempname): Likewise.
31483 (__libc_message): Likewise.
31484 (__flockfile): Likewise.
31485 (__funlockfile): Likewise.
31486 (__fxprintf): Likewise.
31487 (__fxprintf_nocancel): Likewise.
31489 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31492 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
31493 (__sgetsgent_r): Likewise.
31495 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31498 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
31499 (__statfs64): Likewise.
31500 (__fstatfs64): Likewise.
31501 * include/sys/statvfs.h (__statvfs64): Likewise.
31502 (__fstatvfs64): Likewise.
31503 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
31504 (__statfs_filesize_max): Likewise.
31505 (__statfs_symlinks): Likewise.
31506 (__statfs_chown_restricted): Likewise.
31508 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31511 * include/time.h (__tzstring): Add attribute_hidden.
31512 (__tzfile_read): Likewise.
31513 (__tzfile_compute): Likewise.
31514 (__tzfile_default): Likewise.
31515 (__tzset_parse_tz): Likewise.
31516 (__offtime): Likewise.
31517 (__asctime_r): Likewise.
31518 (__tzset): Likewise.
31519 (__tz_convert): Likewise.
31520 (__getdate_r): Likewise.
31521 (__getclktck): Likewise.
31523 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31526 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
31527 (__nscd_unmap): Likewise.
31528 (__nscd_cache_search): Likewise.
31529 (__nscd_get_nl_timestamp): Likewise.
31530 (__nscd_getpwnam_r): Likewise.
31531 (__nscd_getpwuid_r): Likewise.
31532 (__nscd_getgrnam_r): Likewise.
31533 (__nscd_getgrgid_r): Likewise.
31534 (__nscd_gethostbyname_r): Likewise.
31535 (__nscd_gethostbyname2_r): Likewise.
31536 (__nscd_gethostbyaddr_r): Likewise.
31537 (__nscd_getai): Likewise.
31538 (__nscd_getgrouplist): Likewise.
31539 (__nscd_getservbyname_r): Likewise.
31540 (__nscd_getservbyport_r): Likewise.
31541 (__nscd_innetgr): Likewise.
31542 (__nscd_setnetgrent): Likewise.
31544 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31547 * include/gmp.h: Declare internal functions only if _ISOMAC is
31549 (__mpn_extract_double): Add attribute_hidden.
31550 (__mpn_extract_long_double): Likewise.
31551 (__mpn_extract_float128): Likewise.
31552 (__mpn_construct_float): Likewise.
31553 (__mpn_construct_double): Likewise.
31554 (__mpn_construct_long_double): Likewise.
31555 (__mpn_construct_float128): Likewise.
31556 (mpn_add_1): Likewise.
31557 (mpn_addmul_1): Likewise.
31558 (mpn_add_n): Likewise.
31559 (mpn_cmp): Likewise.
31560 (mpn_divrem): Likewise.
31561 (mpn_lshift): Likewise.
31562 (mpn_mul): Likewise.
31563 (mpn_mul_1): Likewise.
31564 (mpn_rshift): Likewise.
31565 (mpn_sub_1): Likewise.
31566 (mpn_submul_1): Likewise.
31567 (mpn_sub_n): Likewise.
31569 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31572 * include/wchar.h (__wcsnlen): Add attribute_hidden.
31573 (__wcscat): Likewise.
31574 (__btowc): Likewise.
31575 (__wcrtomb): Likewise.
31576 (__mbsrtowcs): Likewise.
31577 (__wcsrtombs): Likewise.
31578 (__mbsnrtowcs): Likewise.
31579 (__wcsnrtombs): Likewise.
31580 (__wcsncpy): Likewise.
31581 (__wcpncpy): Likewise.
31582 (__wmemcpy): Likewise.
31583 (__wmempcpy): Likewise.
31584 (__wmemmove): Likewise.
31585 (__wcschrnul): Likewise.
31586 (__vfwscanf): Likewise.
31587 (__vswprintf): Likewise.
31588 (__fwprintf): Likewise.
31589 (__vfwprintf): Likewise.
31591 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31594 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
31595 (__getgrgid_r): Likewise.
31596 (__getgrnam_r): Likewise.
31597 * include/pwd.h (__getpwuid_r): Likewise.
31598 (__getpwnam_r): Likewise.
31599 (__fgetpwent_r): Likewise.
31600 * include/shadow.h (__getspnam_r): Likewise.
31601 (__sgetspent_r): Likewise.
31602 (__fgetspent_r): Likewise.
31604 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31607 * include/unistd.h (__access): Add attribute_hidden.
31608 (__lseek64): Likewise.
31609 (__libc_pread64): Likewise.
31610 (__pipe2): Likewise.
31611 (__sleep): Likewise.
31612 (__chdir): Likewise.
31613 (__fchdir): Likewise.
31614 (__getcwd): Likewise.
31615 (__rmdir): Likewise.
31616 (__execvpe): Likewise.
31617 (__execve): Likewise.
31618 (__setsid): Likewise.
31619 (__getuid): Likewise.
31620 (__geteuid): Likewise.
31621 (__getgid): Likewise.
31622 (__getegid): Likewise.
31623 (__getgroups): Likewise.
31624 (__group_member): Likewise.
31625 (__ttyname_r): Likewise.
31626 (__isatty): Likewise.
31627 (__readlink): Likewise.
31628 (__unlink): Likewise.
31629 (__gethostname): Likewise.
31630 (__profil): Likewise.
31631 (__getdtablesize): Likewise.
31633 (__ftruncate): Likewise.
31634 (__ftruncate64): Likewise.
31636 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31639 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
31640 * argp/argp-fs-xinl.c: Likewise.
31641 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
31642 * argp/argp-parse.c: Include <argp.h>.
31643 * argp/argp-xinl.c: Likewise.
31644 * include/argp-fmtstream.h: New file.
31645 * include/argp.h (__argp_error): Add attribute_hidden.
31646 (__argp_failure): Likewise.
31647 (__argp_input): Likewise.
31648 (__argp_state_help): Likewise.
31650 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31653 * include/wchar.h (____wcstof_l_internal): New prototype.
31654 (____wcstod_l_internal): Likewise.
31655 (____wcstold_l_internal): Likewise.
31656 (____wcstol_l_internal): Likewise.
31657 (____wcstoul_l_internal): Likewise.
31658 (____wcstoll_l_internal): Likewise.
31659 (____wcstoull_l_internal): Likewise.
31660 (____wcstof128_l_internal): Likewise.
31661 * sysdeps/ieee754/float128/wcstof128.c
31662 (____wcstof128_l_internal): Removed.
31663 * sysdeps/ieee754/float128/wcstof128_l.c
31664 (____wcstof128_l_internal): Likewise.
31665 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
31666 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
31667 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
31668 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
31669 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
31670 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
31671 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
31672 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
31673 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
31674 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
31676 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31679 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
31680 instead of <sys/statvfs.h>.
31681 (__internal_statvfs): Removed.
31682 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
31683 instead of <sys/statvfs.h>.
31684 (__internal_statvfs64): Removed.
31685 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
31686 "internal_statvfs.h" instead of <sys/statvfs.h>.
31687 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
31688 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
31689 instead of <sys/statvfs.h>.
31690 (__internal_statvfs): Removed.
31691 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
31692 instead of <sys/statvfs.h>.
31693 (__internal_statvfs64): Removed.
31695 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31698 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
31699 (__gconv_close): Likewise.
31700 (__gconv): Likewise.
31701 (__gconv_find_transform): Likewise.
31702 (__gconv_lookup_cache): Likewise.
31703 (__gconv_compare_alias_cache): Likewise.
31704 (__gconv_load_cache): Likewise.
31705 (__gconv_get_path): Likewise.
31706 (__gconv_close_transform): Likewise.
31707 (__gconv_release_cache): Likewise.
31708 (__gconv_find_shlib): Likewise.
31709 (__gconv_release_shlib): Likewise.
31710 (__gconv_get_builtin_trans): Likewise.
31711 (__gconv_compare_alias): Likewise.
31712 * include/dlfcn.h (_dlerror_run): Likewise.
31713 * include/stdio.h (__fortify_fail_abort): Likewise.
31714 * include/time.h (__tz_compute): Likewise.
31715 (__strptime_internal): Likewise.
31716 * intl/gettextP.h (_nl_find_domain): Likewise.
31717 (_nl_load_domain): Likewise.
31718 (_nl_find_msg): Likewise.
31719 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
31720 (EXTRACT_PLURAL_EXPRESSION): Likewise.
31721 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
31722 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
31723 (__gai_find_request): Likewise.
31724 (__gai_remove_request): Likewise.
31725 (__gai_notify): Likewise.
31726 (__gai_notify_only): Likewise.
31727 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
31728 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
31729 (_dl_non_dynamic_init): Likewise.
31730 (_dl_aux_init): Likewise.
31731 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
31732 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
31734 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
31735 (__wcsmbs_clone_conv): Likewise.
31736 (__wcsmbs_named_conv): Likewise.
31738 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31741 * include/stdlib.h (__random): Add attribute_hidden.
31742 (__random_r): Likewise.
31743 (__srandom_r): Likewise.
31744 (__initstate_r): Likewise.
31745 (__setstate_r): Likewise.
31746 (__erand48_r): Likewise.
31747 (__nrand48_r): Likewise.
31748 (__jrand48_r): Likewise.
31749 (__srand48_r): Likewise.
31750 (__seed48_r): Likewise.
31751 (__lcong48_r): Likewise.
31752 (__drand48_iterate): Likewise.
31753 (__setenv): Likewise.
31754 (__unsetenv): Likewise.
31755 (__clearenv): Likewise.
31756 (__ptsname_r): Likewise.
31757 (__posix_openpt): Likewise.
31758 (__add_to_environ): Likewise.
31759 (__realpath): Add libc_hidden_proto.
31760 (__ecvt_r): Likewise.
31761 (__fcvt_r): Likewise.
31762 (__qecvt_r): Likewise.
31763 (__qfcvt_r): Likewise.
31764 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
31765 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
31767 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31770 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
31771 * include/time.h (__mktime_internal): Likewise.
31772 * libio/iolibio.h (__fopen_internal): Likewise.
31774 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
31776 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
31778 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
31779 Correct offset used to restore PIC register.
31781 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
31784 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
31785 code to load address of __getcontext_ret when generating PIC code.
31787 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
31789 * elf/Makefile (tests-static-internal): Add
31790 tst-tls1-static-non-pie.
31791 (LDFLAGS-tst-tls1-static-non-pie): New.
31792 * elf/tst-tls1-static-non-pie.c: New file.
31794 2017-09-29 Joseph Myers <joseph@codesourcery.com>
31796 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
31797 (asinh): Define using libm_alias_double.
31798 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
31799 (cbrt): Define using libm_alias_double.
31800 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
31801 <libm-alias-double.h>.
31802 (copysign): Define using libm_alias_double.
31803 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
31804 (erf): Define using libm_alias_double.
31806 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
31807 (expm1): Define using libm_alias_double.
31808 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
31809 (fabs): Define using libm_alias_double.
31810 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
31812 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
31813 <libm-alias-double.h>.
31814 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
31816 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
31817 <libm-alias-double.h>.
31818 (getpayload): Define using libm_alias_double.
31819 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
31820 <libm-alias-double.h>.
31821 (llrint): Define using libm_alias_double.
31822 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
31823 (lrint): Define using libm_alias_double.
31824 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
31825 <libm-alias-double.h>.
31826 (nextup): Define using libm_alias_double.
31827 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
31828 <libm-alias-double.h>.
31829 (roundeven): Define using libm_alias_double.
31830 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
31832 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
31833 <libm-alias-double.h>.
31834 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
31835 using libm_alias_double.
31836 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
31837 (cos): Define using libm_alias_double.
31839 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
31840 <libm-alias-double.h>.
31841 (sincos): Define using libm_alias_double.
31842 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
31843 (tanh): Define using libm_alias_double.
31844 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
31845 <libm-alias-double.h>.
31846 (totalorder): Define using libm_alias_double.
31847 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
31848 <libm-alias-double.h>.
31849 (totalordermag): Define using libm_alias_double.
31850 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
31852 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
31854 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
31855 <libm-alias-double.h>.
31856 (getpayload): Define using libm_alias_double.
31857 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
31858 <libm-alias-double.h>.
31859 (roundeven): Define using libm_alias_double.
31860 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
31861 <libm-alias-double.h>.
31862 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
31863 <libm-alias-double.h>.
31864 (totalorder): Define using libm_alias_double.
31865 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
31866 <libm-alias-double.h>.
31867 (totalordermag): Define using libm_alias_double.
31868 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
31869 libc compat symbol here.
31870 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
31871 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
31872 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
31873 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
31874 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
31875 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
31876 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
31877 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
31878 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
31879 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
31881 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
31883 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
31884 _dl_relocate_static_pie instead of _dl_start to compute load
31885 address in static PIE. Return 0 if _DYNAMIC is undefined for
31888 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
31890 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
31891 _DYNAMIC is undefined for static executable.
31893 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
31895 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
31897 2017-09-29 Joseph Myers <joseph@codesourcery.com>
31899 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31901 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
31903 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
31904 (__ieee754_lgamma_r): Use fabs rather than __fabs.
31905 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
31906 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
31907 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
31908 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
31909 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
31910 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
31911 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
31912 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
31913 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
31914 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
31915 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
31916 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
31917 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
31918 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
31919 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
31921 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
31923 * math/bits/cmathcalls.h (cimag): Remove inline.
31924 (creal): Remove inline.
31925 (conj): Remove inline.
31927 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31929 * math/Makefile (type-float-routines): Add e_powf_log2_data.
31930 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
31931 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
31932 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
31933 (issignalingf_inline): Likewise.
31934 (POWF_LOG2_TABLE_BITS): Likewise.
31935 (POWF_LOG2_POLY_ORDER): Likewise.
31936 (POWF_SCALE_BITS): Likewise.
31937 (POWF_SCALE): Likewise.
31938 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
31939 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
31940 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
31942 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31944 * math/Makefile (type-float-routines): Add e_log2f_data.
31945 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
31946 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
31947 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
31948 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
31949 * sysdeps/i386/fpu/e_log2f_data.c: New file.
31950 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
31951 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
31953 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31955 * math/Makefile (type-float-routines): Add e_logf_data.
31956 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
31957 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
31958 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
31959 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
31960 * sysdeps/i386/fpu/e_logf_data.c: New file.
31961 * sysdeps/ia64/fpu/e_logf_data.c: New file.
31962 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
31964 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
31966 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
31967 undefined _DYNAMIC in PIE libc.a.
31968 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
31971 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
31973 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
31974 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
31975 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
31976 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
31977 (__signbit): Remove.
31978 (__signbitl): Remove.
31979 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
31980 (__signbit): Remove.
31981 (__signbitl): Remove.
31982 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
31983 (__signbit): Remove.
31984 (__signbitl): Remove.
31985 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
31986 (__signbit): Remove.
31987 (__signbitl): Remove.
31988 * sysdeps/tile/bits/mathinline.h: Delete file.
31989 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
31990 (__signbit): Remove.
31991 (__signbitl): Remove.
31993 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
31995 * math/math.h: Improve handling of C99 isgreater macros.
31996 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
31997 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
31998 * sysdeps/powerpc/bits/mathinline.h: Likewise.
31999 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32000 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
32002 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
32004 * sysdeps/aarch64/libm-test-ulps: Update.
32006 2017-09-28 Joseph Myers <joseph@codesourcery.com>
32009 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32010 math_opt_barrier on argument when doing arithmetic on it.
32011 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32012 Likewise. Use math_force_eval not math_opt_barrier after
32014 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
32015 math_opt_barrier on argument when doing arithmetic on it.
32016 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32019 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
32021 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
32023 (__freeifaddrs): Likewise.
32025 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32027 * include/dirent.h (__dirfd): New declaration.
32028 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
32030 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
32031 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
32032 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
32033 * include/unistd.h (__revoke): New declaration.
32034 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
32036 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
32037 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
32039 * include/dirent.h (__seekdir): New declaration.
32040 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
32041 redefine as weak alias.
32042 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
32044 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
32045 and use libc_hidden_def on them.
32046 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
32048 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
32049 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
32050 instead of getifaddrs and freeifaddrs.
32052 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32055 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
32056 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
32057 (__dso_handle): Remove declaration.
32058 * dlfcn/tstatexit.c (__dso_handle): Removed.
32059 (main): Don't check __dso_handle.
32060 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
32061 (main): Don't check __dso_handle.
32062 * include/dso_handle.h: New file.
32063 * malloc/mtrace.c: Include <dso_handle.h>.
32064 (mtrace): Pass __dso_handle directly.
32065 * nptl/pthread_atfork.c: Include <dso_handle.h>.
32066 (__dso_handle): Remove declaration.
32067 (__pthread_atfork): Pass __dso_handle directly.
32068 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
32069 (__dso_handle): Removed.
32070 * posix/wordexp-test.c: Include <dso_handle.h>.
32071 (__dso_handle): Remove declaration.
32072 (__app_register_atfork): Pass __dso_handle directly.
32073 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
32074 (__dso_handle): Remove declaration.
32075 (at_quick_exit): Pass __dso_handle directly.
32076 * stdlib/atexit.c: Include <dso_handle.h>.
32077 (__dso_handle): Remove declaration.
32078 (atexit): Pass __dso_handle directly.
32079 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
32080 (__dso_handle): Removed.
32082 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32084 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
32087 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
32089 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
32090 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
32091 values to correct default value for given type.
32093 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32096 * elf/Makefile (tests): Add tst-debug1.
32097 ($(objpfx)tst-debug1): New.
32098 ($(objpfx)tst-debug1.out): Likewise.
32099 ($(objpfx)tst-debug1mod1.so): Likewise.
32100 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
32101 with p_filesz == 0.
32102 * elf/tst-debug1.c: New file.
32104 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32106 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
32107 Define using __ifunc.
32109 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32111 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
32114 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32117 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
32119 2017-09-26 Florian Weimer <fweimer@redhat.com>
32121 * resolv/Makefile (tests-internal): Fix typo in comment.
32123 2017-09-26 Florian Weimer <fweimer@redhat.com>
32125 * resolv/nss_dns/dns-host.c: Fix typo in comment.
32127 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32129 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
32130 Use an union instead of a max_align_t array for __space,
32131 so that __space is the same size on all platforms.
32132 * malloc/scratch_buffer_grow_preserve.c
32133 (__libc_scratch_buffer_grow_preserve): Likewise.
32136 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
32138 * posix/Makefile (routines): Add glob-lstat-compat and
32139 glob64-lstat-compat.
32140 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
32141 * posix/glob-lstat-compat.c: New file.
32142 * posix/glob64-lstat-compat.c: Likewise.
32143 * posix/tst-glob_lstat_compat.c: Likewise.
32144 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
32145 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
32146 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
32147 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
32149 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
32150 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
32151 * posix/glob.c (glob_lstat): New function.
32152 (glob): Rename to __glob and add versioned symbol to 2.27.
32153 (glob_in_dir): Use glob_lstat.
32154 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
32155 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
32156 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
32158 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
32159 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
32160 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
32161 gl_lstat on glob call.
32162 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
32163 and glob64 symbols.
32164 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
32165 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
32166 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
32167 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
32168 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
32169 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
32170 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
32171 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
32172 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
32173 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
32174 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
32175 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
32176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
32178 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
32179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
32180 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
32181 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
32182 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
32183 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
32184 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
32185 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
32186 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
32187 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
32188 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
32189 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
32191 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
32193 * configure.ac (AS): Require binutils 2.25 or later.
32194 * configure: Regenerated.
32196 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
32199 * stdlib/test-atexit-race-common.c (do_test): Minimize required
32202 2017-09-25 DJ Delorie <dj@redhat.com>
32205 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
32208 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
32210 * sysdeps/ieee754/dbl-64/sincos32.h
32211 [SINCCOS32_H]: Remove define.
32212 [SINCOS32_H]: Define.
32214 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32216 * math/Versions (expf): New libm symbol at GLIBC_2.27.
32218 * math/w_exp2f.c: New file.
32219 * math/w_expf.c: New file.
32220 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
32221 * math/w_expf_compat.c (__expf_compat): Likewise.
32222 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
32223 * sysdeps/ia64/fpu/e_expf.S: Likewise.
32224 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
32225 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
32226 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
32227 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
32228 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
32229 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
32230 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
32231 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
32232 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
32233 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
32234 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
32235 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
32236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
32238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
32240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
32242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
32244 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
32245 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
32246 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
32247 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
32248 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
32249 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
32251 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
32253 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
32254 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
32255 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
32257 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32259 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
32260 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
32261 (roundtoint, converttoint): Likewise.
32262 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
32263 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
32264 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
32265 * sysdeps/ieee754/flt-32/math_config.h: New file.
32266 * sysdeps/ieee754/flt-32/math_errf.c: New file.
32267 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
32268 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
32269 * sysdeps/i386/fpu/math_errf.c: New file.
32270 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
32271 * sysdeps/ia64/fpu/math_errf.c: New file.
32272 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
32273 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
32275 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
32277 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
32278 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
32279 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
32280 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
32281 to make sure that these symbols are defined.
32282 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
32284 (__need_NULL): Do not define.
32285 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
32287 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
32288 CMGROUP_MAX, cmsgcred): Do not define.
32289 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
32291 * bits/socket.h: Likewise.
32292 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
32293 __gettimeofday instead of gettimeofday.
32294 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
32295 instead of settimeofday.
32297 2017-09-22 Joseph Myers <joseph@codesourcery.com>
32299 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
32300 (asinhf): Define using libm_alias_float.
32301 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
32302 (atanf): Define using libm_alias_float.
32303 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
32304 (cbrtf): Define using libm_alias_float.
32305 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
32306 (ceilf): Define using libm_alias_float.
32307 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
32308 <libm-alias-float.h>.
32309 (copysignf): Define using libm_alias_float.
32310 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
32311 (cosf): Define using libm_alias_float.
32312 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
32313 (erff): Define using libm_alias_float.
32315 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
32316 (expm1f): Define using libm_alias_float.
32317 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
32318 (fabsf): Define using libm_alias_float.
32319 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
32320 (floorf): Define using libm_alias_float.
32321 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
32322 (frexpf): Define using libm_alias_float.
32323 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
32325 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
32326 <libm-alias-float.h>.
32327 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
32329 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
32330 <libm-alias-float.h>.
32331 (getpayloadf): Define using libm_alias_float.
32332 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
32333 <libm-alias-float.h>.
32334 (llrintf): Define using libm_alias_float.
32335 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
32336 <libm-alias-float.h>.
32337 (llroundf): Define using libm_alias_float.
32338 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
32339 (logbf): Define using libm_alias_float.
32340 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
32341 (lrintf): Define using libm_alias_float.
32342 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
32343 (lroundf): Define using libm_alias_float.
32344 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
32345 (modff): Define using libm_alias_float.
32346 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
32347 <libm-alias-float.h>.
32348 (nearbyintf): Define using libm_alias_float.
32349 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
32350 <libm-alias-float.h>.
32351 (nextafterf): Define using libm_alias_float.
32352 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
32353 <libm-alias-float.h>.
32354 (nextupf): Define using libm_alias_float.
32355 * sysdeps/ieee754/flt-32/s_remquof.c: Include
32356 <libm-alias-float.h>.
32357 (remquof): Define using libm_alias_float.
32358 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
32359 (rintf): Define using libm_alias_float.
32360 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
32361 <libm-alias-float.h>.
32362 (roundevenf): Define using libm_alias_float.
32363 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
32364 (roundf): Define using libm_alias_float.
32365 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
32366 using libm_alias_float.
32367 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
32368 <libm-alias-float.h>.
32369 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
32370 Define using libm_alias_float.
32371 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
32372 <libm-alias-float.h>.
32373 (sincosf): Define using libm_alias_float.
32374 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
32375 (sinf): Define using libm_alias_float.
32376 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
32377 (tanf): Define using libm_alias_float.
32378 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
32379 (tanhf): Define using libm_alias_float.
32380 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
32381 <libm-alias-float.h>.
32382 (totalorderf): Define using libm_alias_float.
32383 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
32384 <libm-alias-float.h>.
32385 (totalordermagf): Define using libm_alias_float.
32386 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
32387 (truncf): Define using libm_alias_float.
32388 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
32390 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
32393 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32396 math/math.h: Let fpclassify use the builtin in C++ mode, even
32397 when optimazing for size.
32399 2017-09-22 Joseph Myers <joseph@codesourcery.com>
32401 * csu/Makefile (generated): Do not add version-info.h.
32402 (before-compile): Likewise.
32403 (all-Banner-files): Remove variable.
32404 ($(objpfx)version-info.h): Remove rule.
32405 * csu/version.c (banner): Do not include "version-info.h".
32406 * libidn/Banner: Remove.
32407 * manual/contrib.texi (Simon Josefsson): New entry.
32409 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32411 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
32412 Remove conditionals on LDBL_MANT_DIG.
32413 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
32414 (__ieee754_lgammal_r): Likewise.
32416 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32418 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
32420 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
32421 _Float128 and L(). Replace _Float128 with long double and L(x)
32422 with xL, throughout the file.
32423 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
32424 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
32425 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
32426 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
32428 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32430 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
32431 sysdeps/ieee754/ldbl-128ibm.
32432 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
32433 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
32434 of including it. Keep _Float128 and L() intact. These will be
32435 reviewed by a separate patch.
32436 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
32437 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
32438 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
32439 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
32441 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
32444 (__finitef128): Define to __redirect___finitef128.
32445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
32446 (__isinff128): Define to __redirect___isinff128.
32447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
32448 (__isnanf128): Define to __redirect___isnanf128.
32450 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32452 * sysdeps/powerpc/powerpc64le/Makefile
32453 (CFLAGS-tst-strtod-nan-locale.c): New variable.
32454 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
32456 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
32457 Carlos O'Donell <carlos@redhat.com>
32460 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
32461 * stdlib/test-dlclose-exit-race.c: New file.
32462 * stdlib/test-dlclose-exit-race-helper.c: New file.
32463 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
32465 2017-09-21 Joseph Myers <joseph@codesourcery.com>
32467 * crypt/Banner: Remove file.
32468 * nptl/Banner: Likewise.
32469 * resolv/Banner: Likewise.
32470 * soft-fp/Banner: Likewise.
32471 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
32472 ($(objpfx)version.d): Remove dependency on banner.h.
32473 ($(objpfx)version.os): Likewise.
32474 * nptl/version.c (banner): Do not include banner.h.
32475 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
32476 Jelinek and BIND code.
32478 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
32479 Carlos O'Donell <carlos@redhat.com>
32481 * support/xdlfcn.h: New file.
32482 * support/xdlfcn.c: New file.
32483 * support/Makefile (libsupport-routines): Add xdlfcn.
32484 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
32486 2017-09-20 Joseph Myers <joseph@codesourcery.com>
32489 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32490 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
32491 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
32492 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
32493 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
32494 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
32495 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
32496 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
32498 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
32499 Ricky Zhou <rickyz@google.com>
32500 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
32503 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
32505 (__new_exitfn): Fail registration when we finished at_exit processing.
32506 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
32507 * stdlib/on_exit.c (__on_exit): Likewise.
32508 * stdlib/exit.c (__exit_funcs_done): New variable.
32509 (__run_exit_handlers): Use __exit_funcs_lock.
32510 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
32512 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
32513 (test-cxa_atexit-race, test-on_exit-race): New tests.
32514 * stdlib/test-atexit-race-common.c: New file.
32515 * stdlib/test-atexit-race.c: New file.
32516 * stdlib/test-at_quick_exit-race.c: New file.
32517 * stdlib/test-cxa_atexit-race.c: New file.
32518 * stdlib/test-on_exit-race.c: New file.
32520 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
32522 * benchtests/Makefile: Add exp2f and log2f benchmarks.
32523 * benchtests/exp2f-inputs: Copy of expf-inputs.
32524 * benchtests/log2f-inputs: Copy of logf-inputs.
32526 2017-09-19 Joseph Myers <joseph@codesourcery.com>
32528 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
32529 Explicitly take address of first element of array arguments in
32530 call to INLINE_SYSCALL.
32532 2017-09-19 Andreas Schwab <schwab@suse.de>
32535 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
32537 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
32539 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
32540 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
32541 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32542 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
32543 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32544 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
32545 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32546 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
32547 * posix/Makefile (tests): Add tst-fexecve.
32548 * posix/tst-fexecve.c: New file.
32550 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
32552 * benchtests/Makefile: Add logf benchmark.
32553 * benchtests/logf-inputs: Add reduced trace from wrf_r.
32555 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
32557 * benchtests/Makefile: Add expf benchmark.
32558 * benchtests/expf-inputs: Add reduced trace from wrf_r.
32560 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
32562 * csu/Makefile: Add -funwind-tables to libc-start.c.
32563 * debug/Makefile: Add -funwind-tables to backtrace.c.
32564 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
32565 * sysdeps/arm/Makefile: Likewise.
32566 * sysdeps/i386/Makefile: Likewise.
32567 * sysdeps/m68k/Makefile: Likewise.
32568 * sysdeps/mips/Makefile: Likewise.
32569 * sysdeps/nios2/Makefile: Likewise.
32570 * sysdeps/sh/Makefile: Likewise.
32571 * sysdeps/sparc/Makefile: Likewise.
32573 2017-09-19 Joseph Myers <joseph@codesourcery.com>
32575 * benchtests/Makefile (bench-math): Add trunc and truncf.
32576 (CFLAGS-bench-trunc.c): New variable.
32577 (CFLAGS-bench-truncf.c): Likewise.
32578 * benchtests/trunc-inputs: New file.
32579 * benchtests/truncf-inputs: Likewise.
32581 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32583 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
32585 2017-09-18 Joseph Myers <joseph@codesourcery.com>
32587 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
32588 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
32590 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
32591 (exp10l): Define as weak alias.
32592 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
32593 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
32595 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
32596 (remainderl): Define as weak alias.
32598 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
32599 (fmal): Define using libm_alias_ldouble.
32600 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
32601 (acoshl): Define using libm_alias_ldouble.
32602 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
32603 (acosl): Define using libm_alias_ldouble.
32604 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
32605 (asinl): Define using libm_alias_ldouble.
32606 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
32607 (atan2l): Define using libm_alias_ldouble.
32608 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
32609 (atanhl): Define using libm_alias_ldouble.
32610 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
32611 (coshl): Define using libm_alias_ldouble.
32612 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
32613 (exp10l): Define using libm_alias_ldouble.
32614 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
32615 (exp2l): Define using libm_alias_ldouble.
32616 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
32617 (expl): Define using libm_alias_ldouble.
32618 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
32619 (fmodl): Define using libm_alias_ldouble.
32620 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
32621 (hypotl): Define using libm_alias_ldouble.
32622 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
32623 (j0l): Define using libm_alias_ldouble.
32625 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
32626 (j1l): Define using libm_alias_ldouble.
32628 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
32629 (jnl): Define using libm_alias_ldouble.
32631 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
32632 (log10l): Define using libm_alias_ldouble.
32633 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
32634 (log2l): Define using libm_alias_ldouble.
32635 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
32636 (logl): Define using libm_alias_ldouble.
32637 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
32638 (powl): Define using libm_alias_ldouble.
32639 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
32640 (remainderl): Define using libm_alias_ldouble.
32641 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
32642 (sinhl): Define using libm_alias_ldouble.
32643 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
32644 (sqrtl): Define using libm_alias_ldouble.
32645 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
32646 (tgammal): Define using libm_alias_ldouble.
32647 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
32648 (exp10l): Do not use long_double_symbol here.
32649 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
32650 [LIBM_SVID_COMPAT] (remainderl): Likewise.
32651 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
32652 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
32653 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
32654 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
32655 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
32656 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
32657 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
32658 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
32659 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
32660 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
32661 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
32662 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
32663 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
32664 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
32665 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
32666 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
32667 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
32668 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
32669 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
32670 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
32672 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
32674 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
32675 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
32677 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
32679 * io/read.c (read): Add libc_hidden_weak.
32680 * sysdeps/mach/hurd/read.c (read): Likewise.
32681 * io/write.c (write): Likewise.
32682 * sysdeps/mach/hurd/write.c (write): Likewise.
32683 * io/pread64.c (__pread64): Likewise.
32684 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
32685 * posix/pread64.c (__pread64): Add libc_hidden_def.
32687 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
32689 * benchtests/scripts/compare_strings.py: New option -g.
32690 (draw_graph): Print a message that a graph is being generated.
32691 (process_results): Generate graph only if -g is passed.
32692 (main): Process option -g.
32694 * benchtests/scripts/compare_strings.py (process_results):
32695 Better spacing for output.
32697 * benchtests/scripts/compare_strings.py: Use argparse.
32698 * benchtests/README: Document existence of compare_strings.py.
32700 2017-09-15 Joseph Myers <joseph@codesourcery.com>
32702 * math/s_fma.c: Include <libm-alias-double.h>.
32703 (fma): Define using libm_alias_double.
32704 * math/s_nextafter.c: Include <libm-alias-double.h>.
32705 (nextafter): Define using libm_alias_double.
32706 * math/w_acos_compat.c: Include <libm-alias-double.h>.
32707 (acos): Define using libm_alias_double.
32708 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
32709 (aocsh): Define using libm_alias_double.
32710 * math/w_asin_compat.c: Include <libm-alias-double.h>.
32711 (asin): Define using libm_alias_double.
32712 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
32713 (atan2): Define using libm_alias_double.
32714 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
32715 (atanh): Define using libm_alias_double.
32716 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
32717 (cosh): Define using libm_alias_double.
32718 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
32719 (exp10): Define using libm_alias_double.
32720 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
32721 (exp2): Define using libm_alias_double.
32722 * math/w_exp_compat.c: Include <libm-alias-double.h>.
32723 (exp): Define using libm_alias_double.
32724 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
32725 (fmod): Define using libm_alias_double.
32726 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
32727 (hypot): Define using libm_alias_double.
32728 * math/w_j0_compat.c: Include <libm-alias-double.h>.
32729 (j0): Define using libm_alias_double.
32731 * math/w_j1_compat.c: Include <libm-alias-double.h>.
32732 (j1): Define using libm_alias_double.
32734 * math/w_jn_compat.c: Include <libm-alias-double.h>.
32735 (jn): Define using libm_alias_double.
32737 * math/w_log10_compat.c: Include <libm-alias-double.h>.
32738 (log10): Define using libm_alias_double.
32739 * math/w_log2_compat.c: Include <libm-alias-double.h>.
32740 (log2): Define using libm_alias_double.
32741 * math/w_log_compat.c: Include <libm-alias-double.h>.
32742 (log): Define using libm_alias_double.
32743 * math/w_pow_compat.c: Include <libm-alias-double.h>.
32744 (pow): Define using libm_alias_double.
32745 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
32746 (remainder): Define using libm_alias_double.
32747 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
32748 (sinh): Define using libm_alias_double.
32749 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
32750 (sqrt): Define using libm_alias_double.
32751 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
32752 (tgamma): Define using libm_alias_double.
32753 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
32754 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
32755 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
32756 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
32757 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
32758 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
32759 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
32760 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
32761 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
32762 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
32763 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
32764 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
32765 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
32766 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
32767 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
32768 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
32769 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
32770 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
32771 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
32772 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
32773 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
32774 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
32775 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
32776 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
32777 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
32779 * math/e_acoshl.c: Remove.
32780 * math/e_acosl.c: Likewise.
32781 * math/e_asinl.c: Likewise.
32782 * math/e_atan2l.c: Likewise.
32783 * math/e_atanhl.c: Likewise.
32784 * math/e_coshl.c: Likewise.
32785 * math/e_expl.c: Likewise.
32786 * math/e_fmodl.c: Likewise.
32787 * math/e_gammal_r.c: Likewise.
32788 * math/e_hypotl.c: Likewise.
32789 * math/e_j0l.c: Likewise.
32790 * math/e_j1l.c: Likewise.
32791 * math/e_jnl.c: Likewise.
32792 * math/e_lgammal_r.c: Likewise.
32793 * math/e_log10l.c: Likewise.
32794 * math/e_log2l.c: Likewise.
32795 * math/e_logl.c: Likewise.
32796 * math/e_powl.c: Likewise.
32797 * math/e_rem_pio2l.c: Likewise.
32798 * math/e_sinhl.c: Likewise.
32799 * math/e_sqrtf128.c: Likewise.
32800 * math/e_sqrtl.c: Likewise.
32801 * math/k_cosl.c: Likewise.
32802 * math/k_sinl.c: Likewise.
32803 * math/k_tanl.c: Likewise.
32804 * math/s_asinhl.c: Likewise.
32805 * math/s_atanl.c: Likewise.
32806 * math/s_cbrtl.c: Likewise.
32807 * math/s_erfl.c: Likewise.
32808 * math/s_expm1l.c: Likewise.
32809 * math/s_log1pl.c: Likewise.
32810 * math/s_tanhl.c: Likewise.
32812 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32815 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
32816 [$(subdir) = math] (sysdep_calls): New variable. Has the
32817 previous contents of sysdep_routines, but re-sorted..
32818 [$(subdir) = math] (sysdep_routines): Re-use the contents from
32820 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
32821 defined in sysdep_calls and replace by the respective m_* names.
32822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
32823 (compat_symbol): Undefine to avoid duplicated compat symbols in
32826 2017-09-15 Joseph Myers <joseph@codesourcery.com>
32828 * math/s_fmaf.c: Include <libm-alias-float.h>.
32829 (fmaf): Define using libm_alias_float.
32830 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
32831 (acosf): Define using libm_alias_float.
32832 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
32833 (acoshf): Define using libm_alias_float.
32834 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
32835 (asinf): Define using libm_alias_float.
32836 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
32837 (atan2f): Define using libm_alias_float.
32838 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
32839 (atanhf): Define using libm_alias_float.
32840 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
32841 (coshf): Define using libm_alias_float.
32842 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
32843 (exp10f): Define using libm_alias_float.
32844 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
32845 (fmodf): Define using libm_alias_float.
32846 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
32847 (hypotf): Define using libm_alias_float.
32848 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
32849 (j0f): Define using libm_alias_float.
32851 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
32852 (j1f): Define using libm_alias_float.
32854 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
32855 (jnf): Define using libm_alias_float.
32857 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
32858 (log10f): Define using libm_alias_float.
32859 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
32860 (log2f): Define using libm_alias_float.
32861 * math/w_logf_compat.c: Include <libm-alias-float.h>.
32862 (logf): Define using libm_alias_float.
32863 * math/w_powf_compat.c: Include <libm-alias-float.h>.
32864 (powf): Define using libm_alias_float.
32865 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
32866 (remainderf): Define using libm_alias_float.
32867 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
32868 (sinhf): Define using libm_alias_float.
32869 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
32870 (sqrtf): Define using libm_alias_float.
32871 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
32872 (tgammaf): Define using libm_alias_float.
32874 2017-09-14 Joseph Myers <joseph@codesourcery.com>
32876 * include/math.h (roundeven): Change hidden_proto call to
32878 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
32880 [NO_LONG_DOUBLE] (__j0l): New strong alias.
32881 (y0): Rename to __y0 and define as weak alias.
32882 [NO_LONG_DOUBLE] (__y0l): New strong alias.
32883 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
32885 (y0f): Rename to __y0f and define as weak alias.
32886 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
32888 [NO_LONG_DOUBLE] (__j1l): New strong alias.
32889 (y1): Rename to __y1 and define as weak alias.
32890 [NO_LONG_DOUBLE] (__y1l): New strong alias.
32891 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
32893 (y1f): Rename to __y1f and define as weak alias.
32894 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
32896 [NO_LONG_DOUBLE] (__jnl): New strong alias.
32897 (yn): Rename to __yn and define as weak alias.
32898 [NO_LONG_DOUBLE] (__ynl): New strong alias.
32899 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
32901 (ynf): Rename to __ynf and define as weak alias.
32902 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
32903 (fromfp): Define as weak alias.
32904 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
32905 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
32906 (fromfpx): Define as weak alias.
32907 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
32908 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
32909 __getpayload and define as weak alias.
32910 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
32911 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
32912 __roundeven and define as weak alias.
32913 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
32914 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
32916 (setpayload): Define as weak alias.
32917 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
32918 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
32920 (setpayloadsig): Define as weak alias.
32921 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
32922 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
32923 __totalorder and define as weak alias.
32924 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
32925 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
32926 to __totalordermag and define as weak alias.
32927 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
32928 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
32929 (ufromfp): Define as weak alias.
32930 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
32931 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
32933 (ufromfpx): Define as weak alias.
32934 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
32935 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
32936 Rename to __getpayload and define as weak alias.
32937 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
32938 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
32939 Rename to __roundeven and define as weak alias.
32940 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
32941 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
32942 Rename to __totalorder and define as weak alias.
32943 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
32944 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
32945 (totalordermag): Rename to __totalordermag and define as weak
32947 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
32948 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
32950 (__roundevenl): Likewise.
32951 (__totalorderl): Likewise.
32952 (__totalordermagl): Likewise
32953 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
32955 (fromfpf128): Define as weak alias.
32956 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
32958 (fromfpxf128): Define as weak alias.
32959 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
32961 (setpayloadf128): Define as weak alias.
32962 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
32963 __setpayloadsigf128.
32964 (setpayloadsigf128): Define as weak alias.
32965 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
32967 (ufromfpf128): Define as weak alias.
32968 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
32970 (ufromfpxf128): Define as weak alias.
32971 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
32972 (fromfpf): Define as weak alias.
32973 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
32975 (fromfpxf): Define as weak alias.
32976 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
32977 __getpayloadf and define as weak alias.
32978 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
32979 __roundevenf and define as weak alias.
32980 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
32982 (setpayloadf): Define as weak alias.
32983 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
32985 (setpayloadsigf): Define as weak alias.
32986 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
32987 __totalorderf and define as weak alias.
32988 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
32989 Rename to __totalordermagf and define as weak alias.
32990 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
32992 (ufromfpf): Define as weak alias.
32993 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
32995 (ufromfpxf): Define as weak alias.
32996 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
32998 (fromfpl): Define as weak alias.
32999 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
33001 (fromfpxl): Define as weak alias.
33002 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
33003 to __getpayloadl and define as weak alias.
33004 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
33005 __roundevenl and define as weak alias.
33006 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
33008 (setpayloadl): Define as weak alias.
33009 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
33011 (setpayloadsigl): Define as weak alias.
33012 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
33013 to __totalorderl and define as weak alias.
33014 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
33015 Rename to __totalordermagl and define as weak alias.
33016 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
33018 (ufromfpl): Define as weak alias.
33019 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
33021 (ufromfpxl): Define as weak alias.
33022 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
33024 (fromfpl): Define as weak alias.
33025 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
33027 (fromfpxl): Define as weak alias.
33028 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
33029 Rename to __getpayloadl and define as weak alias.
33030 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
33031 to __roundevenl and define as weak alias. Call __roundeven
33032 instead of roundeven.
33033 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
33035 (setpayloadl): Define as weak alias.
33036 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
33038 (setpayloadsigl): Define as weak alias.
33039 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
33040 Rename to __totalorderl and define as weak alias.
33041 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
33042 Rename to __totalordermagl and define as weak alias.
33043 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
33045 (ufromfpl): Define as weak alias.
33046 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
33048 (ufromfpxl): Define as weak alias.
33049 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
33051 (fromfpl): Define as weak alias.
33052 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
33054 (fromfpxl): Define as weak alias.
33055 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
33056 __getpayloadl and define as weak alias.
33057 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
33058 __roundevenl and define as weak alias.
33059 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
33061 (setpayloadl): Define as weak alias.
33062 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
33064 (setpayloadsigl): Define as weak alias.
33065 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
33066 __totalorderl and define as weak alias.
33067 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
33068 Rename to __totalordermagl and define as weak alias.
33069 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
33071 (ufromfpl): Define as weak alias.
33072 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
33074 (ufromfpxl): Define as weak alias.
33076 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
33078 * benchtests/bench-string.h (realloc_bufs): New function.
33079 (test_init): Call it.
33080 * benchtests/bench-memset-large.c (do_test): Likewise.
33081 * benchtests/bench-memset.c (do_test): Likewise.
33083 * benchtests/bench-memset-large.c: Print output in JSON
33085 * benchtests/bench-memset.c: Likewise.
33087 2017-09-14 Mike FABIAN <mfabian@redhat.com>
33090 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
33091 * iconvdata/Makefile: Add IBM858.
33092 * iconvdata/gconv-modules: Likewise.
33093 * iconvdata/tst-tables.sh: Likewise.
33094 * iconvdata/ibm858.c: New file.
33095 * localedata/charmaps/IBM858: Likewise.
33097 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
33100 * locales/niu_NZ (LC_TIME): copy "niu_NU".
33101 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
33103 2017-09-14 Mike FABIAN <mfabian@redhat.com>
33106 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
33107 and add tel_int_fmt.
33109 2017-09-14 Joseph Myers <joseph@codesourcery.com>
33111 * sysdeps/generic/libm-alias-float128.h: New file.
33112 * sysdeps/generic/math-type-macros-float128.h: Include
33113 <libm-alias-float128.h>.
33114 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
33116 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33118 * sysdeps/generic/libm-alias-ldouble.h: New file.
33119 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
33120 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
33121 * sysdeps/generic/math-type-macros-ldouble.h: Include
33122 <libm-alias-ldouble.h>.
33123 [!declare_mgen_alias] (declare_mgen_alias): Define to use
33124 libm_alias_ldouble.
33126 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
33128 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
33129 * math/w_exp_compat.c: ... here.
33130 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
33131 * math/w_expf_compat.c: ... here.
33132 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
33133 * math/w_expl_compat.c: ... here.
33134 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
33135 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
33136 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
33137 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33139 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33141 * math/w_scalbln_template.c (strong_alias): Do not undefine and
33143 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
33145 (ldexpl): Only define as compat symbol for libc, not libm.
33146 (scalbnl): Define as compat symbol for libc here.
33147 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
33148 define for [IS_IN (libc)].
33149 (__ldexpl_2): Remove alias.
33150 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
33151 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
33152 name in long_double_symbol call.
33153 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
33154 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
33155 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
33156 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
33157 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
33159 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
33160 Define as compat symbol.
33162 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33164 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
33165 * sysdeps/unix/sysv/linux/alpha/Makefile
33166 [$(subdir) = csu] (sysdep_routines): Remove rule.
33168 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33170 * sysdeps/generic/libm-alias-double.h: New file.
33171 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
33172 * sysdeps/generic/math-type-macros-double.h: Include
33173 <libm-alias-double.h>.
33174 [declare_mgen_alias] (declare_mgen_alias): Define to use
33176 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
33177 (M_LIBM_NEED_COMPAT): Remove macro.
33178 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
33179 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
33180 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
33182 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33183 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33184 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33185 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33186 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33187 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33188 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33189 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33190 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33191 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33192 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33193 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33194 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33195 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33196 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33197 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33198 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33199 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33200 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33201 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33202 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33203 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33204 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33205 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33206 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33207 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33208 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33209 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
33210 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
33212 (declare_mgen_alias): New macro.
33213 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
33214 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
33215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
33216 (M_LIBM_NEED_COMPAT): Remove macro.
33217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
33218 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
33219 <first-versions.h>.
33220 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
33221 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
33223 2017-09-12 Joseph Myers <joseph@codesourcery.com>
33225 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
33226 (declare_mgen_alias_2): Remove.
33227 * sysdeps/generic/math-type-macros-double.h
33228 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
33230 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
33232 (ldexp): Define with declare_mgen_alias.
33233 (scalbn): Likewise.
33235 2017-09-12 Steve Ellcey <sellcey@cavium.com>
33237 * grp/initgroups.c: Include config.h.
33238 (DEFAULT_CONFIG): New macro.
33239 (internal_getgrouplist): Use DEFAULT_CONFIG.
33240 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33241 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
33242 (DEFAULT_DEFCONFIG): New macro.
33243 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
33244 * nss/grp-lookup.c: Include config.h
33245 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
33246 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
33247 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
33248 * manual/nss.texi: Update default values section.
33250 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
33253 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
33255 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
33256 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
33257 Handle MathVec_Prefer_No_AVX512.
33258 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
33259 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
33262 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
33264 * posix/sched_primax.c (__sched_get_priority_max): Add
33266 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
33267 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
33268 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
33269 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
33270 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
33271 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
33272 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
33273 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
33276 2017-09-11 Joseph Myers <joseph@codesourcery.com>
33278 * sysdeps/generic/libm-alias-float.h: New file.
33279 * sysdeps/generic/math-type-macros-float.h: Include
33280 <libm-alias-float.h>.
33281 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
33283 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
33286 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
33287 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
33288 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
33289 (HWCAP_IMPORTANT): Likewise.
33290 (HWCAP_X86_64): New enum.
33291 (HWCAP_X86_AVX512_1): Updated.
33292 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
33293 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
33294 (modules-names): Add x86_64/tst-x86_64mod-1.
33295 (LDFLAGS-tst-x86_64mod-1.so): New.
33296 ($(objpfx)tst-x86_64-1): Likewise.
33297 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
33298 (tst-x86_64-1-clean): Likewise.
33299 * sysdeps/x86_64/tst-x86_64-1.c: New file.
33300 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
33302 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
33304 * po/sv.po: Update translations.
33305 * po/fr.po: Likewise.
33307 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33309 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
33311 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
33313 * elf/rtld-Rules: Fix $(error) use.
33315 2017-09-09 Mike FABIAN <mfabian@redhat.com>
33318 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
33319 * locale/iso-639.def: Change “Bengali” to “Bangla”.
33320 * localedata/locales/bn_BD: “Bengali” was still used in some
33321 comments. Change it to “Bangla”.
33323 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
33325 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
33327 2017-09-08 Steve Ellcey <sellcey@cavium.com>
33329 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
33330 thunderx2t99p1 to list of cpu names.
33331 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
33332 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
33334 2017-09-08 Steve Ellcey <sellcey@cavium.com>
33336 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
33337 Use strcmp instead of tunable_is_name.
33339 2017-09-08 Joseph Myers <joseph@codesourcery.com>
33341 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33342 (F_GET_RW_HINT): New macro.
33343 [__USE_GNU] (F_SET_RW_HINT): Likewise.
33344 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
33345 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
33346 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
33347 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
33348 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
33349 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
33350 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
33351 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
33353 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33354 (F_ADD_SEALS): New macro.
33355 [__USE_GNU] (F_GET_SEALS): Likewise.
33356 [__USE_GNU] (F_SEAL_SEAL): Likewise.
33357 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
33358 [__USE_GNU] (F_SEAL_GROW): Likewise.
33359 [__USE_GNU] (F_SEAL_WRITE): Likewise.
33361 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33363 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
33364 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
33365 * posix/glob_internal.h (__glob_pattern_type):
33366 * posix/glob.c (glob):
33367 * posix/glob_pattern_p.c (__glob_pattern_p):
33370 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
33371 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
33372 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
33373 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
33374 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
33375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
33376 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
33377 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
33378 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
33379 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33380 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
33381 * sysdeps/wordsize-64/glob.c: Likewise.
33382 * sysdeps/wordsize-64/glob64.c: Likewise.
33383 * sysdeps/wordsize-64/globfree.c: Likewise.
33384 * sysdeps/wordsize-64/globfree64.c: Likewise.
33385 * sysdeps/unix/sysv/linux/glob.c: New file.
33386 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
33387 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
33388 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
33389 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
33390 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
33391 adds !GLOB_NO_OLD_VERSION as an extra condition.
33392 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
33393 using relative path instead of absolute one.
33394 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
33395 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33396 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33397 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
33398 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
33399 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
33402 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
33403 (glob): Use the same scratch buffer for both getlogin_r and
33404 getpwnam_r. Don’t require preallocation of the login name. This
33405 simplifies storage allocation, and corrects the handling of
33409 * posix/glob.c (glob): Port recent patches to platforms
33410 lacking getpwnam_r.
33411 (glob): Fix longstanding misuse of errno after getpwnam_r, which
33412 returns an error number rather than setting errno.
33414 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
33415 instead of GCC extension.
33416 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
33417 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
33418 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
33422 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
33423 * posix/bug-glob1.c: Remove file.
33424 * posix/tst-glob_symlinks.c: New file.
33425 * posix/glob.c (__lstat64): New macro.
33426 (is_dir): New function.
33427 (glob, glob_in_dir): Match symlinks even if they are dangling.
33428 (link_stat, link_exists_p): Remove. All uses removed.
33432 * posix/glob.c (struct readdir_result): Remove skip_entry member.
33433 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
33438 * posix/Makefile (routines): Add globfree, globfree64, and
33440 * posix/flexmember.h: New file.
33441 * posix/glob_internal.h: Likewise.
33442 * posix/glob_pattern_p.c: Likewise.
33443 * posix/globfree.c: Likewise.
33444 * posix/globfree64.c: Likewise.
33445 * sysdeps/gnu/globfree64.c: Likewise.
33446 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
33447 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
33448 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
33449 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
33450 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
33451 * sysdeps/wordsize-64/globfree.c: Likewise.
33452 * sysdeps/wordsize-64/globfree64.c: Likewise.
33453 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
33454 [NDEBUG): Remove comments.
33455 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
33456 (dirent_type): New type. Use uint_fast8_t not
33457 uint8_t, as C99 does not require uint8_t.
33458 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
33459 (struct readdir_result): Use dirent_type. Do not define skip_entry
33460 unless it is needed; this saves a byte on platforms lacking d_ino.
33461 (readdir_result_type, readdir_result_skip_entry):
33462 New functions, replacing ...
33463 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
33464 these functions, which were removed. This makes the callers
33465 easier to read. All callers changed.
33466 (D_INO_TO_RESULT): Now empty if there is no d_ino.
33467 (size_add_wrapv, glob_use_alloca): New static functions.
33468 (glob, glob_in_dir): Check for size_t overflow in several places,
33469 and fix some size_t checks that were not quite right.
33470 Remove old code using SHELL since Bash no longer
33472 (glob, prefix_array): Separate MS code better.
33473 (glob_in_dir): Remove old Amiga and VMS code.
33474 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
33476 (glob_in_dir): Do not rely on undefined behavior in accessing
33477 struct members beyond their bounds. Use a flexible array member
33479 (link_stat): Rename from link_exists2_p and return -1/0 instead of
33480 0/1. Caller changed.
33481 (glob): Fix memory leaks.
33482 * posix/glob64 (globfree64): Move to separate file.
33483 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
33484 (globfree64): Remove hidden alias.
33485 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
33487 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
33489 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
33491 Move compat code to separate file.
33492 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
33495 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
33497 * resolv/tst-resolv-qtypes.c (domain): Changed to
33498 "const char domain[] =".
33500 2017-09-07 Joseph Myers <joseph@codesourcery.com>
33502 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
33505 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
33506 (TCP_MD5SIG_EXT): Likewise.
33507 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
33508 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
33509 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
33511 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
33513 2017-09-07 Mike FABIAN <mfabian@redhat.com>
33515 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
33517 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
33520 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
33522 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
33524 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
33525 before assuming that the file is empty. Avoid testing buffer content
33528 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33531 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
33533 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
33535 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
33537 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
33539 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
33541 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
33543 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
33546 2017-09-06 Florian Weimer <fweimer@redhat.com>
33548 * malloc/dynarray_emplace_enlarge.c
33549 (__libc_dynarray_emplace_enlarge): Add missing else.
33551 2017-09-06 Florian Weimer <fweimer@redhat.com>
33554 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
33555 case of failure to obtain the global conf object.
33557 2017-09-06 Florian Weimer <fweimer@redhat.com>
33560 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
33561 dynarray allocation failure.
33563 2017-09-06 Florian Weimer <fweimer@redhat.com>
33565 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
33566 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
33567 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
33569 (response): Call them. Add 'p', '6' flag processing.
33570 (test_reverse): New function.
33571 (test_get2_any): Call it.
33572 (test_no_inet6): Add 'p' test.
33573 (test_inet6): Likewise.
33575 2017-09-06 Florian Weimer <fweimer@redhat.com>
33577 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
33578 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
33580 (test_gai): Adjust query names. Add additional tests.
33581 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
33582 test_get2. Adjust query names. Add additional tests.
33583 (test_no_inet6): New function, extracted from threadfunc.
33584 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
33585 Add additional tests.
33587 2017-09-06 Mike FABIAN <mfabian@redhat.com>
33590 * localedata/unicode-gen/utf8_gen.py: Set the width for
33591 characters with Prepended_Concatenation_Mark property to 1
33592 * localedata/charmaps/UTF-8: Updated using the improved script.
33594 2017-09-06 Mike FABIAN <mfabian@redhat.com>
33597 * localedata/unicode-gen/utf8_gen.py: Improve the script to
33598 use the range notation for all ranges of neighbouring characters
33599 with the same width.
33601 2017-09-05 Joseph Myers <joseph@codesourcery.com>
33603 * sysdeps/generic/math-type-macros-double.h: Include
33604 <math-svid-compat.h>.
33605 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
33606 * sysdeps/generic/math-type-macros-float.h: Include
33607 <math-svid-compat.h>.
33608 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
33609 * sysdeps/generic/math-type-macros-ldouble.h: Include
33610 <math-svid-compat.h>.
33611 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
33612 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
33614 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
33615 * math/w_acosf_compat.c: Likewise.
33616 * math/w_acosh_compat.c: Likewise.
33617 * math/w_acoshf_compat.c: Likewise.
33618 * math/w_acoshl_compat.c: Likewise.
33619 * math/w_acosl_compat.c: Likewise.
33620 * math/w_asin_compat.c: Likewise.
33621 * math/w_asinf_compat.c: Likewise.
33622 * math/w_asinl_compat.c: Likewise.
33623 * math/w_atan2_compat.c: Likewise.
33624 * math/w_atan2f_compat.c: Likewise.
33625 * math/w_atan2l_compat.c: Likewise.
33626 * math/w_atanh_compat.c: Likewise.
33627 * math/w_atanhf_compat.c: Likewise.
33628 * math/w_atanhl_compat.c: Likewise.
33629 * math/w_cosh_compat.c: Likewise.
33630 * math/w_coshf_compat.c: Likewise.
33631 * math/w_coshl_compat.c: Likewise.
33632 * math/w_exp10_compat.c: Likewise.
33633 * math/w_exp10f_compat.c: Likewise.
33634 * math/w_exp10l_compat.c: Likewise.
33635 * math/w_exp2_compat.c: Likewise.
33636 * math/w_exp2f_compat.c: Likewise.
33637 * math/w_exp2l_compat.c: Likewise.
33638 * math/w_fmod_compat.c: Likewise.
33639 * math/w_fmodf_compat.c: Likewise.
33640 * math/w_fmodl_compat.c: Likewise.
33641 * math/w_hypot_compat.c: Likewise.
33642 * math/w_hypotf_compat.c: Likewise.
33643 * math/w_hypotl_compat.c: Likewise.
33644 * math/w_j0_compat.c: Likewise.
33645 * math/w_j0f_compat.c: Likewise.
33646 * math/w_j0l_compat.c: Likewise.
33647 * math/w_j1_compat.c: Likewise.
33648 * math/w_j1f_compat.c: Likewise.
33649 * math/w_j1l_compat.c: Likewise.
33650 * math/w_jn_compat.c: Likewise.
33651 * math/w_jnf_compat.c: Likewise.
33652 * math/w_jnl_compat.c: Likewise.
33653 * math/w_lgamma_r_compat.c: Likewise.
33654 * math/w_lgammaf_r_compat.c: Likewise.
33655 * math/w_lgammal_r_compat.c: Likewise.
33656 * math/w_log10_compat.c: Likewise.
33657 * math/w_log10f_compat.c: Likewise.
33658 * math/w_log10l_compat.c: Likewise.
33659 * math/w_log2_compat.c: Likewise.
33660 * math/w_log2f_compat.c: Likewise.
33661 * math/w_log2l_compat.c: Likewise.
33662 * math/w_log_compat.c: Likewise.
33663 * math/w_logf_compat.c: Likewise.
33664 * math/w_logl_compat.c: Likewise.
33665 * math/w_pow_compat.c: Likewise.
33666 * math/w_powf_compat.c: Likewise.
33667 * math/w_powl_compat.c: Likewise.
33668 * math/w_remainder_compat.c: Likewise.
33669 * math/w_remainderf_compat.c: Likewise.
33670 * math/w_remainderl_compat.c: Likewise.
33671 * math/w_sinh_compat.c: Likewise.
33672 * math/w_sinhf_compat.c: Likewise.
33673 * math/w_sinhl_compat.c: Likewise.
33674 * math/w_sqrt_compat.c: Likewise.
33675 * math/w_sqrtf_compat.c: Likewise.
33676 * math/w_sqrtl_compat.c: Likewise.
33677 * math/w_tgamma_compat.c: Likewise.
33678 * math/w_tgammaf_compat.c: Likewise.
33679 * math/w_tgammal_compat.c: Likewise.
33680 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
33681 [LIBM_SVID_COMPAT].
33682 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
33683 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
33684 [LIBM_SVID_COMPAT].
33685 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
33686 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
33687 [LIBM_SVID_COMPAT].
33688 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
33689 * sysdeps/i386/fpu/w_sqrt.c: New file.
33690 * sysdeps/ia64/fpu/w_acos.c: Likewise.
33691 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
33692 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
33693 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
33694 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
33695 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
33696 * sysdeps/ia64/fpu/w_asin.c: Likewise.
33697 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
33698 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
33699 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
33700 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
33701 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
33702 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
33703 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
33704 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
33705 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
33706 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
33707 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
33708 * sysdeps/ia64/fpu/w_exp.c: Likewise.
33709 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
33710 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
33711 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
33712 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
33713 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
33714 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
33715 * sysdeps/ia64/fpu/w_expf.c: Likewise.
33716 * sysdeps/ia64/fpu/w_expl.c: Likewise.
33717 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
33718 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
33719 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
33720 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
33721 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
33722 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
33723 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
33724 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
33725 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
33726 * sysdeps/ia64/fpu/w_log.c: Likewise.
33727 * sysdeps/ia64/fpu/w_log10.c: Likewise.
33728 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
33729 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
33730 * sysdeps/ia64/fpu/w_log2.c: Likewise.
33731 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
33732 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
33733 * sysdeps/ia64/fpu/w_logf.c: Likewise.
33734 * sysdeps/ia64/fpu/w_logl.c: Likewise.
33735 * sysdeps/ia64/fpu/w_pow.c: Likewise.
33736 * sysdeps/ia64/fpu/w_powf.c: Likewise.
33737 * sysdeps/ia64/fpu/w_powl.c: Likewise.
33738 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
33739 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
33740 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
33741 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
33742 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
33743 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
33744 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
33745 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
33746 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
33747 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
33748 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
33749 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
33750 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
33751 [LIBM_SVID_COMPAT].
33752 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
33753 * sysdeps/ieee754/k_standard.c: Likewise.
33754 * sysdeps/ieee754/k_standardf.c: Likewise.
33755 * sysdeps/ieee754/k_standardl.c: Likewise.
33756 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
33757 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
33758 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
33759 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
33760 long_double_symbol call on [LIBM_SVID_COMPAT].
33761 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
33762 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
33763 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
33764 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
33765 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
33766 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
33767 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
33768 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
33769 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
33770 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
33771 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
33772 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
33773 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
33774 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
33775 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
33776 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
33777 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
33778 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
33779 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
33780 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
33781 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
33782 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
33784 2017-09-05 Steve Ellcey <sellcey@cavium.com>
33786 * include/shlib-compat.h (TEST_COMPAT): New Macro.
33787 * malloc/tst-mallocstate.c: Convert from test-skeleton
33788 to test-driver. Ifdef code using TEST_COMPAT macro.
33789 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
33790 * math/test-matherr.c: Likewise.
33792 2017-09-05 Joseph Myers <joseph@codesourcery.com>
33795 * debug/pcprofiledump.c (main): Use byte-swapped mask when
33796 comparing word with byte-swapped constant.
33798 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
33801 * locale/iso-639.def: add Miskito.
33802 * localedata/SUPPORTED: Add miq_NI/UTF-8.
33803 * localedata/locales/miq_NI: New file.
33805 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
33808 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
33809 (__mkdir): Likewise.
33810 * io/chmod.c (__chmod): Add libc_hidden_def.
33811 * io/mkdir.c (__mkdir): Likewise.
33812 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
33813 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
33814 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
33815 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
33817 2017-09-04 Joseph Myers <joseph@codesourcery.com>
33819 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
33823 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
33824 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
33826 2017-09-04 Florian Weimer <fweimer@redhat.com>
33828 * math/math.h: Issue warning if log is defined.
33830 2017-09-04 Joseph Myers <joseph@codesourcery.com>
33832 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
33833 kernel version to 4.13.
33835 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
33837 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
33838 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
33840 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
33841 just <bits/types.h>.
33842 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
33843 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
33844 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
33845 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
33846 * misc/preadv2.c: Include <errno.h>.
33847 * misc/preadv64v2.c: Include <errno.h>.
33848 * misc/pwritev2.c: Include <errno.h>.
33849 * misc/pwritev64v2.c: Include <errno.h>.
33850 * sysdeps/posix/preadv2.c: Include <errno.h>.
33851 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
33852 Fix <unistd.h> inclusion.
33853 * sysdeps/posix/pwritev2.c: Include <errno.h>.
33854 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
33855 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
33856 __strtoul_internal): New functions.
33857 * sysdeps/posix/pause.c: Include <sigsetops.h>.
33858 * sysdeps/posix/system.c: Include <sigsetops.h>.
33859 * sysdeps/mach/hurd/i386/Makefile
33860 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
33861 [$(subdir) = csu] (sysdep-only-routines): Likewise.
33862 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
33863 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
33864 __feraiseexcept_renamed to feraiseexcept instead of
33865 __GI_feraiseexcept.
33866 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
33867 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
33868 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
33869 RWF_NOWAIT): Define to 0 if undefined already.
33870 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
33872 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
33873 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
33875 2017-09-01 Joseph Myers <joseph@codesourcery.com>
33877 * manual/math.texi (pow10): Do not document.
33878 (pow10f): Likewise.
33879 (pow10l): Likewise.
33880 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
33881 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
33882 * math/libm-test-exp10.inc (pow10_test): Remove.
33883 (do_test): Do not call pow10.
33884 * math/w_exp10_compat.c (pow10): Make into compat symbol.
33885 [NO_LONG_DOUBLE] (pow10l): Likewise.
33886 * math/w_exp10f_compat.c (pow10f): Likewise.
33887 * math/w_exp10l_compat.c (pow10l): Likewise.
33888 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
33889 (pow10): Make into compat symbol.
33890 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
33891 (pow10f): Make into compat symbol.
33892 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
33893 (pow10l): Make into compat symbol.
33894 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
33896 (CFLAGS-nldbl-pow10.c): Remove variable..
33897 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
33898 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
33899 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
33900 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
33901 Undefine and redefine.
33902 (pow10l): Make into compat symbol.
33903 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
33904 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
33905 * sysdeps/arm/libm-test-ulps: Likewise.
33906 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
33907 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
33908 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
33909 * sysdeps/microblaze/libm-test-ulps: Likewise.
33910 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
33911 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
33912 * sysdeps/nios2/libm-test-ulps: Likewise.
33913 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33914 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
33915 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33916 * sysdeps/sh/libm-test-ulps: Likewise.
33917 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33918 * sysdeps/tile/libm-test-ulps: Likewise.
33919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33921 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
33923 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
33925 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
33927 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
33928 "../ChangeLog.old/ChangeLog.8".
33929 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
33930 "../ChangeLog.old/ChangeLog.14".
33932 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
33934 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
33937 2017-09-01 Joseph Myers <joseph@codesourcery.com>
33939 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
33941 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
33943 * csu/version.c (banner): Remove "by Roland McGrath et al.".
33944 * nptl/Banner: Remove "by Ulrich Drepper et al.".
33946 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
33948 * stdlib/tst-atexit-common.c (do_test): Test support for at least
33949 32 atexit handlers.
33951 2017-09-01 Zack Weinberg <zackw@panix.com>
33953 * math/math.h (HUGE_VAL): Improve commentary.
33955 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33956 Andreas Schwab <schwab@suse.de>
33959 * include/stdio.h (__gen_tempfd): New function.
33960 * stdio-common/Makefile (routines): Add gentempfd.
33961 * stdio-common/gentempfd.c: New file.
33962 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
33963 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
33964 unnamed file first.
33966 2017-09-01 Florian Weimer <fweimer@redhat.com>
33970 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
33971 result to determine success or failure, not the errno value.
33972 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
33973 (tst-nss-files-hosts-erange): Link with -ldl.
33974 * nss/tst-nss-files-hosts-erange.c: New file.
33975 * nss/tst-resolv-basic.c (response): Handle nodata.example.
33976 (do_test): Add NO_DATA tests.
33977 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
33978 (do_test): Call it.
33980 2017-09-01 Florian Weimer <fweimer@redhat.com>
33983 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
33984 coming from gethostbyname2_r.
33986 2017-09-01 Florian Weimer <fweimer@redhat.com>
33988 * support/namespace.h (struct support_chroot_configuration): Add
33990 (struct support_chroot): Add path_hosts, path_host_conf.
33991 * support/support_chroot.c (write_file): New function.
33992 (support_chroot_create): Call it to process /etc/resolv.conf,
33993 /etc/hosts, /etc/host.conf.
33994 (support_chroot_free): Update.
33996 2017-09-01 Florian Weimer <fweimer@redhat.com>
33998 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
33999 status indicates it is set.
34001 2017-09-01 Florian Weimer <fweimer@redhat.com>
34004 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
34005 function lookup failures more reliable.
34007 2017-09-01 Florian Weimer <fweimer@redhat.com>
34009 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
34010 (getcanonname): Likewise.
34011 (gaih_inet): Likewise.
34013 2017-09-01 Florian Weimer <fweimer@redhat.com>
34015 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
34016 (getcanonname): Likewise.
34017 (gaih_inet): Likewise.
34019 2017-08-31 Steve Ellcey <sellcey@cavium.com>
34020 Richard Henderson <rth@twiddle.net>
34022 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
34023 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
34024 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
34025 (IREG_SIZE, OREG_SIZE): New macros.
34026 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
34027 (IREG_SIZE, OREG_SIZE): New macros.
34028 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
34029 (IREG_SIZE): New macro.
34030 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
34031 (IREG_SIZE): New macro.
34032 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
34034 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
34035 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
34036 (__CONCATX): Handle exceptions correctly on large values that may
34038 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
34039 Initialize if not already set.
34040 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
34042 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34044 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
34045 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
34047 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
34049 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
34051 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
34053 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
34055 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
34057 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
34059 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
34060 (NO_CANCELLATION): Likewise.
34061 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
34063 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
34065 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
34067 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
34068 (NO_CANCELLATION): Likewise.
34069 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
34070 (NO_CANCELLATION): Likewise.
34071 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
34073 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
34075 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
34077 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
34079 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
34081 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
34082 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
34084 2017-08-31 Steve Ellcey <sellcey@cavium.com>
34086 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
34089 2017-08-31 Florian Weimer <fweimer@redhat.com>
34091 * include/libc-symbols.h (internal_function): Remove.
34093 2017-08-31 Florian Weimer <fweimer@redhat.com>
34095 * stdlib/fmtmsg.c (internal_addseverity): Remove
34098 2017-08-31 Florian Weimer <fweimer@redhat.com>
34100 * stdio-common/printf_fp.c (group_number): Remove
34102 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
34104 2017-08-31 Florian Weimer <fweimer@redhat.com>
34106 * posix/fnmatch.c (internal_function): Remove definition.
34107 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
34108 * posix/regcomp.c (peek_token, init_word_char)
34109 (duplicate_node_closure, fetch_token, peek_token)
34110 (peek_token_bracket, build_range_exp, build_collating_symbol):
34112 * posix/regex_internal.c (re_string_construct_common)
34113 (create_ci_newstate, create_cd_newstate, re_string_allocate)
34114 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
34115 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
34116 (re_string_translate_buffer, re_string_reconstruct)
34117 (re_string_peek_byte_case, re_string_fetch_byte_case)
34118 (re_string_destruct, re_string_context_at, re_node_set_alloc)
34119 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
34120 (re_node_set_add_intersect, re_node_set_init_union)
34121 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
34122 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
34123 (re_dfa_add_node, calc_state_hash, re_acquire_state)
34124 (re_acquire_state_context): Likewise.
34125 * posix/regex_internal.h (internal_function): Remove definition.
34126 (re_string_realloc_buffers, build_wcs_buffer)
34127 (build_wcs_upper_buffer, build_upper_buffer)
34128 (re_string_translate_buffer, re_string_context_at)
34129 (re_string_char_size_at, re_string_wchar_at)
34130 (re_string_elem_size_at): Likewise.
34131 * posix/regexec.c (match_ctx_init, match_ctx_clean)
34132 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
34133 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
34134 (re_search_internal, re_search_2_stub, re_search_stub)
34135 (re_copy_regs, prune_impossible_nodes, check_matching)
34136 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
34137 (free_fail_stack_return, sift_states_iter_mb)
34138 (sift_states_backward, build_sifted_states)
34139 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
34140 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
34141 (check_subexp_limits, sift_states_bkref, merge_state_array)
34142 (find_recover_state, transit_state, merge_state_with_log)
34143 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
34144 (transit_state_mb, transit_state_bkref, get_subexp)
34145 (get_subexp_sub, find_subexp_node, check_arrival)
34146 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
34147 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
34148 (check_node_accept_bytes, find_collation_sequence_value)
34149 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
34150 (acquire_init_state_context, check_halt_node_context)
34151 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
34152 (sub_epsilon_src_nodes): Likewise.
34153 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
34154 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
34155 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
34156 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
34157 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
34158 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
34159 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
34160 * sysdeps/posix/ttyname.c (getttyname): Likewise.
34161 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
34162 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
34163 (PREADV): Likewise.
34164 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
34165 (PREADV): Likewise.
34166 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
34167 (PWRITEV): Likewise.
34168 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
34169 (PWRITEV): Likewise.
34170 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
34171 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
34173 2017-08-31 Florian Weimer <fweimer@redhat.com>
34175 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
34176 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
34177 Remove internal_function.
34178 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
34179 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
34180 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
34181 (__deallocate_stack, __libc_pthread_init)
34182 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
34183 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
34184 (__libc_disable_asynccancel, __librt_disable_asynccancel):
34186 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
34187 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
34188 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
34190 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
34191 (__pthread_mutex_unlock_usercnt): Likewise.
34193 2017-08-31 Florian Weimer <fweimer@redhat.com>
34195 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
34196 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
34197 (fts_safe_changedir): Remove internal_function.
34198 * io/ftw.c (internal_function): Remove definition.
34199 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
34201 2017-08-31 Florian Weimer <fweimer@redhat.com>
34203 * inet/deadline.c (__deadline_current_time)
34204 (__deadline_from_timeval, __deadline_to_ms): Remove
34206 * inet/getnameinfo.c (nrl_domainname): Likewise.
34207 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
34208 * inet/inet6_option.c (add_pad): Likewise.
34209 * inet/net-internal.h (__deadline_current_time)
34210 (__deadline_from_timeval, __deadline_to_ms): Likewise.
34211 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
34212 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
34213 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
34215 2017-08-31 Joseph Myers <joseph@codesourcery.com>
34217 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
34218 include <bits/nan.h>.
34219 * math/Makefile (headers): Remove bits/nan.h.
34220 * bits/nan.h: Remove.
34221 * sysdeps/ieee754/bits/nan.h: Likewise.
34222 * sysdeps/mips/bits/nan.h: Likewise.
34224 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
34225 not include <bits/inf.h>.
34226 * math/Makefile (headers): Remove bits/inf.h.
34227 * bits/inf.h: Remove.
34228 * sysdeps/ieee754/bits/inf.h: Likewise.
34230 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
34231 bits/huge_vall.h or bits/huge_val_flt128.h.
34232 (HUGE_VAL): Define directly here.
34233 [__USE_ISOC99] (HUGE_VALF): Likewise.
34234 [__USE_ISOC99] (HUGE_VALL): Likewise.
34235 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34236 (HUGE_VAL_F128): Likewise.
34237 * math/Makefile (headers): Remove bits/huge_val.h,
34238 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
34239 * bits/huge_val.h: Remove.
34240 * bits/huge_val_flt128.h: Likewise.
34241 * bits/huge_valf.h: Likewise.
34242 * bits/huge_vall.h: Likewise.
34243 * sysdeps/ia64/bits/huge_vall.h: Likewise.
34244 * sysdeps/ieee754/bits/huge_val.h: Likewise.
34245 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
34246 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
34247 * sysdeps/sh/bits/huge_val.h: Likewise.
34248 * sysdeps/sparc/bits/huge_vall.h: Likewise.
34249 * sysdeps/x86/bits/huge_vall.h: Likewise.
34251 2017-08-31 Florian Weimer <fweimer@redhat.com>
34253 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
34255 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
34257 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
34258 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
34259 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
34260 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
34261 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34262 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
34263 * elf/dl-libc.c (dlerror_run): Likewise.
34264 * elf/dl-load.c (add_name_to_object, decompose_rpath)
34265 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
34266 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
34267 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
34269 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
34270 (_dl_higher_prime_number, _dl_strtoul): Likewise.
34271 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
34272 * elf/dl-profile.c (_dl_start_profile): Likewise.
34273 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
34274 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
34276 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
34277 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
34278 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
34279 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
34280 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
34281 (_dl_allocate_tls_storage): Likewise.
34282 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
34283 (_dl_check_all_versions): Likewise.
34284 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
34285 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
34286 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
34287 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
34288 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
34289 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
34290 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
34291 internal_function from __dl_start.
34292 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
34293 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
34294 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
34295 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
34296 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
34297 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
34298 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
34299 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
34300 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
34301 (_dl_next_ld_env_entry, _dl_important_hwcaps)
34302 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
34303 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
34304 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
34305 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
34306 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
34308 (struct rtld_global_ro): Remove internal_function from the
34309 _dl_lookup_symbol_x member.
34310 (_dl_symbol_value): Remove. No longer defined anywhere.
34311 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
34313 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
34314 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
34315 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
34316 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
34317 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
34318 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
34319 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
34320 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
34321 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
34322 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
34323 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
34324 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
34326 2017-08-31 Florian Weimer <fweimer@redhat.com>
34328 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
34329 Remove internal_function.
34330 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
34332 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
34335 2017-08-31 Florian Weimer <fweimer@redhat.com>
34337 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
34338 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
34339 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
34341 2017-08-31 Florian Weimer <fweimer@redhat.com>
34343 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
34344 (__gai_enqueue_request): Remove internal_function.
34345 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
34346 (__gai_remove_request, __gai_notify, __gai_notify_only)
34347 (__gai_sigqueue): Likewise.
34348 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
34349 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
34350 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
34351 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
34354 2017-08-31 Florian Weimer <fweimer@redhat.com>
34356 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
34357 * include/dirent.h (__opendirat, __getdents, __getdents64)
34358 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
34359 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
34360 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34361 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
34363 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
34365 2017-08-31 Florian Weimer <fweimer@redhat.com>
34367 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
34369 (GETCWD_RETURN_TYPE): Likewise.
34371 2017-08-31 Florian Weimer <fweimer@redhat.com>
34373 * include/time.h (__tz_compute, __strptime_internal): Remove
34375 * time/strptime_l.c (__strptime_internal): Likewise.
34376 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
34378 2017-08-31 Florian Weimer <fweimer@redhat.com>
34380 * iconv/gconv.c (__gconv): Remove internal_function.
34381 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
34382 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
34383 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
34384 (__gconv_release_cache): Likewise.
34385 * iconv/gconv_close.c (__gconv_close): Likewise.
34386 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
34387 (read_conf_file, __gconv_get_path): Likewise.
34388 * iconv/gconv_db.c (derivation_lookup, add_derivation)
34389 (__gconv_release_step, gen_steps, increment_counter)
34390 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
34391 (__gconv_close_transform, free_modules_db): Likewise.
34392 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
34394 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
34395 (__gconv_find_transform, __gconv_lookup_cache)
34396 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
34397 (__gconv_close_transform, __gconv_release_cache)
34398 (__gconv_loaded_object, __gconv_release_shlib)
34399 (__gconv_compare_alias): Likewise.
34400 * iconv/gconv_open.c (__gconv_open): Likewise.
34401 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
34402 * iconv/iconvconfig.c (add_module): Likewise.
34403 * intl/dcigettext.c (plural_lookup, guess_category_value)
34404 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
34405 * intl/eval-plural.h (plural_eval): Likewise.
34406 * intl/finddomain.c (_nl_find_domain): Likewise.
34407 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
34408 (_nl_load_domain, _nl_find_msg): Likewise.
34409 (internal_function): Remove definition.
34410 * intl/loadinfo.h (internal_function): Likewise.
34411 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
34413 * intl/localealias.c (internal_function): Remove definition.
34414 (read_alias_file): Remove internal_function.
34415 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
34416 * intl/plural-exp.h (internal_function): Remove definition.
34417 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
34419 * intl/plural.c: Regenerate.
34420 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
34421 * locale/coll-lookup.c (__collidx_table_lookup)
34422 (__collseq_table_lookup): Likewise.
34423 * locale/coll-lookup.h (__collidx_table_lookup)
34424 (__collseq_table_lookup): Likewise.
34425 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
34426 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34427 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
34428 (_nl_unload_locale): Likewise.
34429 * locale/localeinfo.h (struct __locale_data): Remove
34430 internal_function from cleanup member.
34431 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
34432 (_nl_remove_locale, _nl_load_locale_from_archive)
34433 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
34434 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
34435 (_nl_cleanup_time): Remove internal_function.
34436 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
34437 (_nl_parse_alt_digit): Likewise.
34438 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
34439 (_nl_select_era_entry): Likewise.
34440 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
34441 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
34442 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
34443 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
34444 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
34446 2017-08-31 Florian Weimer <fweimer@redhat.com>
34448 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
34449 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
34450 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
34451 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
34453 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
34454 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
34455 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
34456 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
34458 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
34460 2017-08-31 Florian Weimer <fweimer@redhat.com>
34462 * misc/getttyent.c (skip, value): Remove internal_function.
34463 * misc/syslog.c (openlog_internal): Likewise.
34464 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
34466 2017-08-31 Florian Weimer <fweimer@redhat.com>
34468 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
34469 (__nss_rewrite_field): Remove internal_function.
34470 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34471 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
34472 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34473 * nss/nsswitch.c (nss_parse_file, nss_getline)
34474 (nss_parse_service_list, nss_new_service): Likewise.
34475 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
34476 * nss/valid_field.c (__nss_valid_field): Likewise.
34477 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
34479 2017-08-31 Florian Weimer <fweimer@redhat.com>
34481 * malloc/arena.c (__malloc_fork_lock_parent)
34482 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
34483 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
34484 internal_function from defintions.
34485 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
34486 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
34487 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
34488 internal_function from declarations.
34489 * malloc/malloc.c (internal_function): Do not define.
34490 (mem2mem_check): Remove internal_function from declaration.
34491 (munmap_chunk, mremap_chunk): Remove internal_function.
34492 * malloc/mtrace.c (tr_where): Likewise.
34494 2017-08-31 Florian Weimer <fweimer@redhat.com>
34496 * include/rpc/pmap_clnt.h (__get_socket): Remove
34498 * sunrpc/auth_des.c (synchronize): Likewise.
34499 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
34500 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
34501 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
34502 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
34503 (key_call): Likewise.
34504 * sunrpc/pm_getport.c (__get_socket): Likewise.
34505 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
34506 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
34507 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
34508 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
34509 (invalidate): Likewise.
34510 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
34511 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
34512 (set_input_fragment, get_input_bytes): Likewise.
34514 2017-08-31 Florian Weimer <fweimer@redhat.com>
34516 * malloc/malloc.c (_int_free): Remove locked variable and related
34519 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
34522 * Makerules (build-module-helper-objlist): Filter out
34523 $(elf-objpfx)sofini.os.
34524 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
34527 2017-08-31 Florian Weimer <fweimer@redhat.com>
34529 * libio/fcloseall.c: Assume weak_alias is defined.
34530 * libio/feof.c: Likewise.
34531 * libio/fileno.c: Likewise.
34532 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
34533 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
34535 (_IO_file_open): Call __open directly.
34536 (_IO_new_file_sync): Assume ESPIPE is defined.
34537 (_IO_file_seekoff_maybe_mmap): Call __read directly.
34538 (_IO_new_file_write): Call __write directly.
34539 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
34540 * libio/ftello64.c (__ftello64): Assume EIO is defined.
34541 * libio/genops.c: Assume _LIBC is defined.
34542 (save_for_backup): Remove internal_function.
34543 * libio/getc.c: Assume weak_alias is defined.
34544 * libio/getwc.c: Likewise.
34545 * libio/iofclose.c: Assume _LIBC is defined.
34546 * libio/iofdopen.c: Likewise.
34547 (_IO_fcntl): Remove macro definition.
34548 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
34549 Call __fcntl directly.
34550 * libio/iofflush.c: Assume weak_alias is defined.
34551 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
34553 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
34554 * libio/iofgets.c: Likewise.
34555 * libio/iofopen.c: Assume _LIBC is defined.
34556 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
34557 * libio/iofputs.c: Assume weak_alias is defined.
34558 * libio/iofread.c: Likewise.
34559 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
34560 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
34561 * libio/ioftell.c: Assume weak_alias is defined.
34562 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
34563 * libio/iofwide.c: Assume _LIBC is defined.
34564 (_IO_fwide): Drop SHARED conditional because it is implied by
34566 * libio/iofwrite.c: Assume weak_alias is defined.
34567 * libio/iogetdelim.c: Likewise.
34568 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
34569 * libio/iogetwline.c (wmemcpy): Remove macro definition.
34570 (_IO_getwline): Call __wmemcpy directly.
34571 * libio/iopopen.c: Assume _LIBC is defined.
34572 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
34573 (_IO_close): Remove macro definitions.
34574 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
34576 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
34578 * libio/ioputs.c: Assume weak_alias is defined.
34579 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
34580 * libio/iosetbuffer.c: Assume weak_alias is defined.
34581 * libio/iosetvbuf.c: Likewise.
34582 * libio/ioungetc.c: Likewise.
34583 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
34584 libc_hidden_def, libc_hidden_weak, NULL are defined.
34585 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
34586 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
34588 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
34590 (_IO_old_file_init_internal): Drop SHARED conditional because it
34591 is implied by SHLIB_COMPAT.
34592 (_IO_old_file_fopen): Call __open directly.
34593 (_IO_old_file_sync): Assume ESPIPE is defined.
34594 (_IO_old_file_write): Call __write directly.
34595 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
34596 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
34597 Call __fcntl directly.
34598 * libio/oldiofgetpos.c: Assume weak_alias is defined.
34599 (_IO_old_fgetpos): Assume EIO is defined.
34600 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
34601 (_IO_old_fgetpos64): Assume EIO is defined.
34602 * libio/oldiofsetpos.c: Assume weak_alias is defined.
34603 (_IO_old_fsetpos): Assume EIO is defined.
34604 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
34605 (_IO_old_fsetpos64): Assume EIO is defined.
34606 * libio/oldiopopen.c: Assume _LIBC is defined.
34607 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
34608 (_IO_close): Remove macro definitions.
34609 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
34611 (_IO_old_proc_close): Call __close, __waitpid directly.
34612 * libio/put.c: Assume weak_alias is defined.
34613 * libio/stdfiles.c: Assume _LIBC is defined.
34614 * libio/stdio.c: Likewise.
34615 * libio/wfileops.c: Likewise.
34616 (_IO_wfile_sync): Assume ESPIPE is defined.
34617 * libio/wgenops.c: Assume _LIBC is defined.
34618 (save_for_wbackup): Remove internal_function.
34620 2017-08-31 Florian Weimer <fweimer@redhat.com>
34622 * malloc/malloc.c (top_check): Change return type to void. Remove
34624 * malloc/hooks.c (top_check): Likewise.
34625 (malloc_check, realloc_check, memalign_check): Adjust.
34627 2017-08-30 Joseph Myers <joseph@codesourcery.com>
34630 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
34631 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
34632 sigcontext and namespace requirements.
34633 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
34634 * sysdeps/m68k/sys/ucontext.h: Likewise.
34635 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
34636 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
34637 <bits/sigcontext.h>.
34638 (__ctx): Define earlier.
34639 (mcontext_t): Define structure contents rather than using struct
34641 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
34642 __glibc_reserved1 instead of __reserved.
34643 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
34644 <bits/sigcontext.h>.
34645 (__ctx): Define earlier.
34646 (mcontext_t): Define structure contents rather than using struct
34648 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
34649 mcontext_t instead of struct sigcontext.
34650 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
34651 <bits/sigcontext.h>.
34652 (__ctx): Define earlier.
34653 (mcontext_t): Define structure contents rather than using struct
34655 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
34656 <bits/sigcontext.h>.
34657 (__ctx): Define earlier.
34658 (mcontext_t): Define structure contents rather than using struct
34660 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
34661 mcontext_t instead of struct sigcontext.
34662 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
34663 mcontext_t instead of struct sigcontext.
34664 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
34665 <bits/sigcontext.h>.
34666 (__ctx): New macro.
34667 (struct __ia64_fpreg_mcontext): New type.
34668 (mcontext_t): Define structure contents rather than using struct
34670 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
34671 (uc_sigmask): Define using __ctx.
34672 (uc_stack): Likewise.
34673 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
34674 <bits/sigcontext.h>.
34675 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34676 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
34677 <bits/sigcontext.h>.
34678 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
34679 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
34680 <bits/sigcontext.h>.
34681 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
34682 <bits/sigcontext.h>.
34683 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
34684 <bits/sigcontext.h>.
34685 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
34686 <bits/sigcontext.h>.
34687 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
34688 <bits/sigcontext.h>.
34689 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
34690 <bits/sigcontext.h>.
34691 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
34692 <bits/sigcontext.h>.
34693 (__ctx): Define earlier.
34694 (mcontext_t): Define structure contents rather than using struct
34696 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
34697 <bits/sigcontext.h>. Include <bits/types.h>.
34698 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
34699 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
34700 (test-xfail-XPG42/ucontext.h/conform): Likewise.
34701 (test-xfail-UNIX98/signal.h/conform): Likewise.
34702 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
34703 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
34704 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
34705 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
34706 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
34707 (test-xfail-POSIX2008/signal.h/conform): Likewise.
34708 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
34709 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
34710 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
34712 2017-08-30 Florian Weimer <fweimer@redhat.com>
34714 * malloc/dynarray_emplace_enlarge.c
34715 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
34716 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
34717 * malloc/tst-dynarray.c (test_long_overflow): New function.
34718 (do_test): Call it.
34720 2017-08-30 Florian Weimer <fweimer@redhat.com>
34722 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
34723 (set_arena_corrupt): Remove definitions.
34724 (mtrim): Do not check for corrupt arena.
34725 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
34728 2017-08-30 Florian Weimer <fweimer@redhat.com>
34731 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
34733 (ptmalloc_init): Do not set or use check_action.
34734 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
34735 call to malloc_printerr. Remove return statement.
34736 (free_check): Likewise. Remove arena unlock.
34737 (top_check): Update comment. Adjust call to malloc_printerr.
34738 Remove heap repair code.
34739 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
34740 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
34741 (sysmalloc): Adjust call to malloc_printerr.
34742 (munmap_chunk, __libc_realloc): Likewise. Remove return
34744 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
34745 Remove errout label and corresponding gotos.
34746 (_int_free): Likewise. Remove arena unlock.
34747 (do_set_mallopt_check): Do not set check_action.
34748 (malloc_printerr): Adjust parameter list. Do not mark arena as
34750 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
34752 * manual/probes.texi (Memory Allocation Probes): Remove
34753 memory_mallopt_check_action.
34755 2017-08-30 Steve Ellcey <sellcey@cavium.com>
34757 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
34758 Use pointer to uint64_t instead of long int for sp.
34760 2017-08-30 Florian Weimer <fweimer@redhat.com>
34763 * malloc/malloc.c (malloc_printerr): Always terminate the process,
34764 without printing a backtrace. Do not leak any information in the
34766 * manual/memory.texi (Heap Consistency Checking): Update.
34767 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
34769 2017-08-30 Florian Weimer <fweimer@redhat.com>
34771 Do not scale NPTL tests with available number of CPUs.
34772 * nptl/tst-cond16.c (count): Set to constant value of 8.
34773 * nptl/tst-cond18.c (count): Likewise.
34775 2017-08-29 Joseph Myers <joseph@codesourcery.com>
34778 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
34779 Define to take a second argument that is a macro that
34780 concatentates a suffix, not the suffix itself.
34781 (__CONCAT_d): New macro.
34782 (__CONCAT_f): Likewise.
34783 (__CONCAT_l): Likewise.
34785 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
34787 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
34790 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34791 Aurelien Jarno <aurelien@aurel32.net>
34792 Maciej W. Rozycki <macro@imgtec.com>
34795 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
34796 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
34797 `mips16-syscall6' and `mips16-syscall7'.
34798 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
34799 (CFLAGS-mips16-syscall7.c): Remove.
34800 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
34801 Remove `__mips16_syscall5', `__mips16_syscall6' and
34802 `__mips16_syscall7'.
34803 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
34804 (__mips16_syscall0): Rename `__mips16_syscall_return' to
34805 `__mips_syscall_return'.
34806 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
34807 (__mips16_syscall1): Likewise.
34808 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
34809 (__mips16_syscall2): Likewise.
34810 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
34811 (__mips16_syscall3): Likewise.
34812 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
34813 (__mips16_syscall4): Likewise.
34814 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
34816 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
34818 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
34820 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
34821 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
34822 `__mips16_syscall5'. Remove prototype.
34823 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
34824 `__mips16_syscall6'. Remove prototype.
34825 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
34826 `__mips16_syscall7'. Remove prototype.
34827 (__nomips16, __mips16_syscall_return): Move to...
34828 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
34829 (__nomips16, __mips_syscall_return): ... here.
34830 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
34831 `__mips16_syscall_return' to `__mips_syscall_return'.
34832 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
34833 `internal_syscall##nr'.
34834 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
34835 `internal_syscall##nr'.
34836 (FORCE_FRAME_POINTER): Remove.
34837 (__mips_syscall5): New prototype.
34838 (internal_syscall5): Rewrite to call `__mips_syscall5'.
34839 (__mips_syscall6): New prototype.
34840 (internal_syscall6): Rewrite to call `__mips_syscall6'.
34841 (__mips_syscall7): New prototype.
34842 (internal_syscall7): Rewrite to call `__mips_syscall7'.
34843 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
34844 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
34845 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
34846 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
34847 (sysdep_routines): Add libc-do-syscall.
34848 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
34849 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
34851 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34854 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
34855 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
34856 (advise_stack_range): New function.
34857 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
34858 stack non required to advise_stack_range at allocatestack.c
34860 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
34862 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
34864 2017-08-29 Florian Weimer <fweimer@redhat.com>
34867 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
34868 __end_fct. Mangle __end_fct after setting it to NULL.
34869 * iconv/Makefile (tests): Add tst-gconv-init-failure.
34870 (modules-names, modules-names-tests): Add
34871 tst-gconv-init-failure-mod.
34872 (gconv-modules): New target.
34873 (tst-gconv-init-failure-mod.so): Link against libsupport.
34874 (tst-gconv-init-failure): Depend on gconv-modules,
34875 tst-gconv-init-failure-mod.so.
34876 * iconv/tst-gconv-init-failure-mod.c: New file.
34877 * iconv/tst-gconv-init-failure.c: Likewise.
34878 * iconv/test-gconv-modules: Likewise.
34880 2017-08-29 Florian Weimer <fweimer@redhat.com>
34883 * iconv/gconv_db.c (free_derivation): Remove redundant
34885 (gen_steps): Unconditionally mangle __btowc_fct after
34887 (increment_counter): Likewise. Do not call init_fct for internal
34890 2017-08-29 Joseph Myers <joseph@codesourcery.com>
34893 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
34894 (_MSUF_): Remove macro.
34895 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
34897 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
34898 (__REDIRFROM_X): New macro.
34899 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
34901 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
34902 (__REDIRTO_X): Likewise.
34903 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
34905 (__MATH_REDIRCALL_2): Likewise.
34906 (__MATH_REDIRCALL_INTERNAL): Likewise.
34907 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
34908 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
34909 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
34910 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
34911 * math/test-finite-macros.c: New file.
34912 * math/Makefile (tests): Add test-finite-macros.
34913 (CFLAGS-test-finite-macros.c): New variable.
34915 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
34916 Jeff Law <law@redhat.com>
34919 Mangle NULL pointers in iconv/gconv.
34920 * iconv/gconv_cache.c (find_module): Demangle init_fct before
34921 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
34922 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
34923 is non-NULL before demangling the end_fct. Check for NULL
34924 end_fct after demangling.
34925 (__gconv_release_step): Demangle the end_fct before checking
34926 it for NULL. Remove assert on __shlibc_handle != NULL.
34927 (gen_steps): Don't check btowc_fct for NULL before mangling.
34928 Demangle init_fct before checking for NULL.
34929 (increment_counter): Likewise.
34930 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
34931 end_fct for NULL before mangling.
34932 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
34935 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
34938 * locale/iso-639.def: add Morisyen.
34940 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34943 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
34944 (iszero): New C++ implementation that does not use
34945 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
34946 signaling nans are enabled, since __builtin_types_compatible_p
34947 is a C-only feature.
34948 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
34949 defined, include ieee754_float128.h for access to the union and
34950 member ieee854_float128.ieee.
34951 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
34952 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
34953 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
34954 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
34955 options of test-math-zero on powerpc64le.
34957 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
34959 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
34960 Change double to float.
34962 2017-08-28 Joseph Myers <joseph@codesourcery.com>
34964 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
34966 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
34967 conditional code; define contents only for [LIBM_SVID_COMPAT].
34969 2017-08-28 Florian Weimer <fweimer@redhat.com>
34971 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
34972 (abi-lp64_be-options): Remove.
34973 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
34974 (abi-hard-options): Likewise.
34975 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
34976 (abi-o32_hard-options, abi-o32_soft_2008-options)
34977 (abi-o32_hard_2008-options, abi-n32_soft-options)
34978 (abi-n32_hard-options, abi-n32_soft_2008-options)
34979 (abi-n32_hard_2008-options, abi-n64_soft-options)
34980 (abi-n64_hard-options, abi-n64_soft_2008-options)
34981 (abi-n64_hard_2008-options): Likewise.
34982 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
34983 (abi-64-v1-options, abi-64-v2-options): Likewise.
34984 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
34985 (abi-64-options): Likewise.
34986 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
34987 (abi-64-options): Likewise.
34988 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
34989 (abi-64-options): Likewise.
34990 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
34991 (abi-64-options, abi-x32-options): Likewise.
34993 2017-08-28 Florian Weimer <fweimer@redhat.com>
34995 Store supported list of SYS_* system calls in the source tree.
34996 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
34997 (bits/syscall.h): Generate from list file.
34998 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
34999 [$(subdir) = misc] (tests): Add tst-syscall-list.
35000 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
35001 [$(subdir) = misc] (tst-syscall-list-macros.list)
35002 [$(subdir) = misc] (tst-syscall-list-nr.list)
35003 (tst-syscall-list-sys.list): Helper targets for new
35004 tst-syscall-list test.
35005 [$(subdir) = misc] (tst-syscall-list.out): Run test script
35006 tst-syscall-list.sh.
35007 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
35008 target. Do not include bits/syscall.d.
35009 [$(subdir) = misc] (generated): Do not update.
35010 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
35011 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
35012 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
35013 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
35015 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
35017 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
35018 (tst-cxa_atexit, tst-on_exit): Likewise.
35019 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
35020 tst-cxa_atexit, and tst-on_exit.
35021 * stdlib/tst-atexit-common.c: New file.
35022 * stdlib/tst-atexit.c: New file.
35023 * stdlib/tst-at_quick_exit.c: New file.
35024 * stdlib/tst-cxa_atexit.c: New file.
35025 * stdlib/tst-on_exit.c: New file.
35027 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
35029 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
35030 * mach/stack_chk_fail_local.c: New file.
35031 * hurd/stack_chk_fail_local.c: New file.
35032 * mach/Machrules ($(interface-library)-routines): Add
35033 stack_chk_fail_local.
35034 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
35035 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
35036 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
35037 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
35038 * hurd/Makefile (CFLAGS-hurdstartup.o,
35039 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
35041 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
35043 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
35044 (index_cpu_*, index_arch_*): Removed.
35046 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
35048 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
35049 Use uint64_t instead of unsigned long.
35051 2017-08-25 Joseph Myers <joseph@codesourcery.com>
35053 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
35054 [__HAVE_DISTINCT_FLOAT128].
35056 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
35057 of <bits/math-finite.h>.
35058 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
35059 inclusion of <bits/math-finite.h>.
35060 * math/bits/math-finite.h (__REDIRTO_X): Do not define
35061 conditionally on [__MATH_DECLARING_LDOUBLE && defined
35062 __NO_LONG_DOUBLE_MATH].
35063 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
35064 (__MATH_REDIRCALL_2): Likewise.
35065 (__MATH_REDIRCALL_INTERNAL): Likewise.
35066 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35067 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
35068 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
35072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
35074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
35076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
35078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
35080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
35082 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
35083 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
35084 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
35085 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
35086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
35087 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
35088 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
35089 w_sqrtf_compat-ppc32.
35091 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35093 * math/math.h [defined __cplusplus] (issignaling): In the long
35094 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
35095 is not defined. Call __issignaling, otherwise.
35097 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35099 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
35100 syscall definitions and replace __builtin_expect with __glibc_likely.
35101 * sysdeps/unix/syscall-template.S: Update comment about cancellable
35103 (SYSCALL_CANCELLABLE): Removedefinition
35104 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
35106 (PSEUDO_END): Likewise.
35107 [IS_IN (libpthread)] (CENABLE): Likewise.
35108 [IS_IN (libpthread)] (CDISABLE): Likewise.
35109 [IS_IN (libc)] (CENABLE): Likewise.
35110 [IS_IN (libc)] (CENABLE): Likewise.
35111 [IS_IN (librt)] (CDISABLE): Likewise.
35112 [IS_IN (librt)] (CDISABLE): Likewise.
35113 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35114 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
35116 (PSEUDO_END): Likewise.
35117 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
35118 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
35119 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35120 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35121 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35122 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35123 (CENABLE): Likewise.
35124 (CDISABLE): Likewise.
35125 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35126 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
35128 (PSEUDO_END): Likewise.
35129 [IS_IN (libpthread)] (CENABLE): Likewise.
35130 [IS_IN (libpthread)] (CDISABLE): Likewise.
35131 [IS_IN (libc)] (CENABLE): Likewise.
35132 [IS_IN (libc)] (CENABLE): Likewise.
35133 [IS_IN (librt)] (CDISABLE): Likewise.
35134 [IS_IN (librt)] (CDISABLE): Likewise.
35135 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35136 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
35138 (PSEUDO_END): Likewise.
35139 [IS_IN (libpthread)] (CENABLE): Likewise.
35140 [IS_IN (libpthread)] (CDISABLE): Likewise.
35141 [IS_IN (libc)] (CENABLE): Likewise.
35142 [IS_IN (libc)] (CENABLE): Likewise.
35143 [IS_IN (librt)] (CDISABLE): Likewise.
35144 [IS_IN (librt)] (CDISABLE): Likewise.
35145 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35146 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
35148 (PSEUDO_END): Likewise.
35149 [IS_IN (libpthread)] (CENABLE): Likewise.
35150 [IS_IN (libpthread)] (CDISABLE): Likewise.
35151 [IS_IN (libc)] (CENABLE): Likewise.
35152 [IS_IN (libc)] (CENABLE): Likewise.
35153 [IS_IN (librt)] (CDISABLE): Likewise.
35154 [IS_IN (librt)] (CDISABLE): Likewise.
35155 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35156 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
35158 (PSEUDO_END): Likewise.
35159 [IS_IN (libpthread)] (CENABLE): Likewise.
35160 [IS_IN (libpthread)] (CDISABLE): Likewise.
35161 [IS_IN (libc)] (CENABLE): Likewise.
35162 [IS_IN (libc)] (CENABLE): Likewise.
35163 [IS_IN (librt)] (CDISABLE): Likewise.
35164 [IS_IN (librt)] (CDISABLE): Likewise.
35165 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35166 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
35168 (PSEUDO_END): Likewise.
35169 [IS_IN (libpthread)] (CENABLE): Likewise.
35170 [IS_IN (libpthread)] (CDISABLE): Likewise.
35171 [IS_IN (libc)] (CENABLE): Likewise.
35172 [IS_IN (libc)] (CENABLE): Likewise.
35173 [IS_IN (librt)] (CDISABLE): Likewise.
35174 [IS_IN (librt)] (CDISABLE): Likewise.
35175 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35176 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
35178 (PSEUDO_END): Likewise.
35179 [IS_IN (libpthread)] (CENABLE): Likewise.
35180 [IS_IN (libpthread)] (CDISABLE): Likewise.
35181 [IS_IN (libc)] (CENABLE): Likewise.
35182 [IS_IN (libc)] (CENABLE): Likewise.
35183 [IS_IN (librt)] (CDISABLE): Likewise.
35184 [IS_IN (librt)] (CDISABLE): Likewise.
35185 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35186 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
35188 (PSEUDO_END): Likewise.
35189 [IS_IN (libpthread)] (CENABLE): Likewise.
35190 [IS_IN (libpthread)] (CDISABLE): Likewise.
35191 [IS_IN (libc)] (CENABLE): Likewise.
35192 [IS_IN (libc)] (CENABLE): Likewise.
35193 [IS_IN (librt)] (CDISABLE): Likewise.
35194 [IS_IN (librt)] (CDISABLE): Likewise.
35195 (SINGLE_THREAD_P): Likewise.
35196 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
35198 (PSEUDO_END): Likewise.
35199 [IS_IN (libpthread)] (CENABLE): Likewise.
35200 [IS_IN (libpthread)] (CDISABLE): Likewise.
35201 [IS_IN (libc)] (CENABLE): Likewise.
35202 [IS_IN (libc)] (CENABLE): Likewise.
35203 [IS_IN (librt)] (CDISABLE): Likewise.
35204 [IS_IN (librt)] (CDISABLE): Likewise.
35205 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35206 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
35208 (PSEUDO_END): Likewise.
35209 [IS_IN (libpthread)] (CENABLE): Likewise.
35210 [IS_IN (libpthread)] (CDISABLE): Likewise.
35211 [IS_IN (libc)] (CENABLE): Likewise.
35212 [IS_IN (libc)] (CENABLE): Likewise.
35213 [IS_IN (librt)] (CDISABLE): Likewise.
35214 [IS_IN (librt)] (CDISABLE): Likewise.
35215 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35216 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
35217 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
35218 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
35219 * sysdeps/unix/sysv/linux/s390/s390-32/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/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
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 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35239 * sysdeps/unix/sysv/linux/sh/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/sparc/sparc32/sysdep-cancel.h: Remove file.
35250 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
35251 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
35252 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
35254 (PSEUDO_END): Likewise.
35255 [IS_IN (libpthread)] (CENABLE): Likewise.
35256 [IS_IN (libpthread)] (CDISABLE): Likewise.
35257 [IS_IN (libc)] (CENABLE): Likewise.
35258 [IS_IN (libc)] (CENABLE): Likewise.
35259 [IS_IN (librt)] (CDISABLE): Likewise.
35260 [IS_IN (librt)] (CDISABLE): Likewise.
35261 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35262 * sysdeps/unix/sysv/linux/x86_64/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.
35273 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
35275 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
35277 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
35279 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35281 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
35284 * string/stratcliff.c (do_test): Declare size, nchars, inner,
35285 middle and outer with size_t instead of int. Repleace %d and
35286 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
35287 "MAX (outer, nchars - 64)" to support unsigned outer and
35288 nchars. Also exit loop when outer == 0.
35290 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35292 * include/fcntl.h (__fcntl_nocancel): Remove definition.
35293 * include/signal.h (__sigsuspend_nocancel): Likewise.
35294 * include/time.h (__nanosleep_nocancel): Likewise.
35295 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
35296 * login/utmp_file.c: Include non cancellable syscall header.
35297 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
35300 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
35302 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
35303 .byte sequences with AVX512F instructions.
35304 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
35305 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
35306 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
35307 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
35309 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
35312 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
35313 Steve Ellcey <sellcey@cavium.com>
35315 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
35316 Use PTR_REG macro in cmp instruction.
35318 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35320 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
35321 Change the return type of the ifunc resolver to match the return
35322 type of the target function.
35324 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35326 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
35327 (preadv64): Likewise.
35328 (pwrite64(: Likewise.
35329 (pwritev64): Likewise.
35331 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
35332 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
35333 (LOAD_ARGS_0): Likewise.
35334 (LOAD_ARGS_1): Likewise.
35335 (LOAD_ARGS_2): Likewise.
35336 (LOAD_ARGS_3): Likewise.
35337 (LOAD_ARGS_4): Likewise.
35338 (LOAD_ARGS_5): Likewise.
35339 (LOAD_ARGS_6): Likewise.
35340 (LOAD_REGS_0): Likewise.
35341 (LOAD_REGS_1): Likewise.
35342 (LOAD_REGS_2): Likewise.
35343 (LOAD_REGS_3): Likewise.
35344 (LOAD_REGS_4): Likewise.
35345 (LOAD_REGS_5): Likewise.
35346 (LOAD_REGS_6): Likewise.
35347 (ASM_ARGS_0): Likewise.
35348 (ASM_ARGS_1): Likewise.
35349 (ASM_ARGS_2): Likewise.
35350 (ASM_ARGS_3): Likewise.
35351 (ASM_ARGS_4): Likewise.
35352 (ASM_ARGS_5): Likewise.
35353 (ASM_ARGS_6): Likewise.
35354 (LOAD_ARGS_TYPES_1): Likewise.
35355 (LOAD_ARGS_TYPES_2): Likewise.
35356 (LOAD_ARGS_TYPES_3): Likewise.
35357 (LOAD_ARGS_TYPES_4): Likewise.
35358 (LOAD_ARGS_TYPES_5): Likewise.
35359 (LOAD_ARGS_TYPES_6): Likewise.
35360 (LOAD_REGS_TYPES_1): Likewise.
35361 (LOAD_REGS_TYPES_2): Likewise.
35362 (LOAD_REGS_TYPES_3): Likewise.
35363 (LOAD_REGS_TYPES_4): Likewise.
35364 (LOAD_REGS_TYPES_5): Likewise.
35365 (LOAD_REGS_TYPES_6): Likewise.
35366 (TYPEFY): New define.
35367 (ARGIFY): Likewise.
35368 (internal_syscall0): Likewise.
35369 (internal_syscall1): Likewise.
35370 (internal_syscall2): Likewise.
35371 (internal_syscall3): Likewise.
35372 (internal_syscall4): Likewise.
35373 (internal_syscall5): Likewise.
35374 (internal_syscall6): Likewise.
35375 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
35376 (INTERNAL_SYSCALL_NCS): Remove define.
35377 (internal_syscall1): Add define.
35379 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35381 * math/w_remainder_compat.c: Remove duplicate inclusion of
35382 math-svid-compat.h.
35383 * math/w_remainderf_compat.c: Likewise.
35384 * math/w_remainderl_compat.c: Likewise.
35386 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35388 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35390 2017-08-22 Joseph Myers <joseph@codesourcery.com>
35393 * math/tgmath.h (__floating_type): Simplify definitions.
35394 (__real_integer_type): New macro.
35395 (__complex_integer_type): Likewise.
35396 (__expr_is_real): Likewise.
35397 (__tgmath_real_type_sub): Update comment to describe handling of
35399 (__tgmath_complex_type_sub): New macro.
35400 (__tgmath_complex_type): Likewise.
35401 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35402 (__TGMATH_CF128): Use __expr_is_real.
35403 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
35405 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35406 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
35407 * math/gen-tgmath-tests.py (Type.create_type): Create complex
35410 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35412 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
35414 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
35416 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
35419 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
35420 nanosleep_not_cancel with __nanosleep_nocancel.
35421 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
35422 (__nanosleep_nocancel): New macro.
35423 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
35425 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
35427 (__nanosleep_nocancel): New prototype.
35429 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
35430 pause_not_cancel with __pause_nocancel.
35431 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
35432 (__pause_nocancel): New macro.
35433 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
35435 (__pause_nocancel): New prototype.
35436 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
35438 2017-08-22 Martin Sebor <msebor@redhat.com>
35440 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
35441 to return a pointer to the same type as the target function.
35443 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
35447 * include/printf.h (__printf_fphex): Add attribute_hidden.
35448 (__guess_grouping): New prototype.
35449 * stdio-common/printf_fp.c (__guess_grouping): Removed.
35450 * stdio-common/reg-printf.c (__register_printf_specifier): Add
35451 libc_hidden_proto and libc_hidden_def.
35452 * stdlib/strfmon_l.c (__guess_grouping): Removed.
35453 (__vstrfmon_l): Remove the third argument passed to
35456 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35458 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
35459 definition for issignaling that does not rely on __MATH_TG,
35460 since __MATH_TG uses __builtin_types_compatible_p, which is only
35461 available in C mode.
35462 (CFLAGS-test-math-issignaling.cc): New variable.
35463 * math/Makefile [CXX] (tests): Add test-math-issignaling.
35464 * math/test-math-issignaling.cc: New test for C++ implementation
35465 of type-generic issignaling.
35466 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
35467 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
35468 options of test-math-issignaling on powerpc64le.
35470 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
35472 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
35474 (hidden_proto): Likewise.
35475 (hidden_tls_proto): Likewise.
35476 (__hidden_proto): Likewise.
35478 2017-08-22 Florian Weimer <fweimer@redhat.com>
35480 math: Statically link tests of internal functionality.
35481 * math/Makefile (tests): Remove atest-exp, atest-sincos,
35483 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
35484 (gmp-objs): Remove assignment.
35485 (atest-exp, atest-sincos, atest-exp2): Remove targets.
35487 2017-08-22 Joseph Myers <joseph@codesourcery.com>
35490 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
35492 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
35494 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
35497 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
35498 variable definitions above inclusion of ../Rules.
35500 2017-08-21 Joseph Myers <joseph@codesourcery.com>
35502 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
35503 case calling __builtin_unreachable.
35505 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35507 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
35508 __waitpid_nocancel.
35509 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
35510 (__waitpid_nocancel): New macro.
35511 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
35513 (__waitpid_nocancel): Replace macro with a function.
35514 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
35517 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
35519 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
35520 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
35522 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
35523 __writev_nocancel_nostatus.
35524 (write_call_graph): Likewise.
35525 (write_bb_counts): Likewise.
35526 * resolv/herror.c (herror): Likewise.
35527 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
35529 (__writev_nocancel_nostatus): New macro.
35530 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
35532 (__writev_nocancel_nostatus): New function.
35534 2017-08-21 Joseph Myers <joseph@codesourcery.com>
35537 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35539 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
35541 (hidden_proto): Likewise.
35542 (hidden_tls_proto): Likewise.
35543 (__hidden_proto): Likewise.
35546 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
35547 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
35548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
35550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
35552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
35554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
35556 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
35557 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
35558 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
35559 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
35560 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
35561 GLIBC_2.0 sqrtl symbol.
35563 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
35564 [__USE_MISC] (_LIB_VERSION): Likewise.
35565 [__USE_MISC] (struct exception): Likewise.
35566 [__USE_MISC] (matherr): Likewise.
35567 [__USE_MISC] (DOMAIN): Likewise.
35568 [__USE_MISC] (SING): Likewise.
35569 [__USE_MISC] (OVERFLOW): Likewise.
35570 [__USE_MISC] (UNDERFLOW): Likewise.
35571 [__USE_MISC] (TLOSS): Likewise.
35572 [__USE_MISC] (PLOSS): Likewise.
35573 [__USE_MISC] (HUGE): Likewise.
35574 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
35575 * math/math-svid-compat.h: New file.
35576 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
35578 * include/math.h [!_ISOMAC] (__matherr): Remove.
35579 * manual/arith.texi (FP Exceptions): Do not document matherr.
35580 * math/Makefile (tests): Change test-matherr to test-matherr-3.
35581 (tests-internal): New variable.
35582 (install-lib): Do not add libieee.a.
35583 (non-lib.a): Likewise.
35584 (extra-objs): Do not add libieee.a and ieee-math.o.
35585 (CPPFLAGS-s_lib_version.c): Remove variable.
35586 ($(objpfx)libieee.a): Remove rule.
35587 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
35588 * math/ieee-math.c: Remove.
35589 * math/libm-test-support.c (matherr): Remove.
35590 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
35591 and license notices. Include <math-svid-compat.h> and
35593 (matherr): Undefine as macro. Use compat_symbol_reference.
35594 (_LIB_VERSION): Likewise.
35595 * math/test-matherr-2.c: New file.
35596 * math/test-matherr-3.c: Likewise.
35597 * sysdeps/generic/math_private.h (__kernel_standard): Remove
35599 (__kernel_standard_f): Likewise.
35600 (__kernel_standard_l): Likewise.
35601 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
35602 <math_private.h>. Include <math-svid-compat.h>.
35603 (_LIB_VERSION): Undefine as macro.
35604 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
35605 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
35606 [LIBM_SVID_COMPAT], use compat_symbol.
35607 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
35608 <math_private.h>. Include <math-svid-compat.h>.
35609 (matherr): Undefine as macro.
35610 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
35612 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
35613 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
35614 compat_symbol_reference.
35615 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
35616 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
35617 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
35618 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
35619 (MATHERR_D): Remove declaration.
35620 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
35621 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
35622 [LIBM_BUILD] (pmatherrf): Likewise.
35623 [LIBM_BUILD] (pmatherr): Likewise.
35624 [LIBM_BUILD] (pmatherrl): Likewise.
35625 (DOMAIN): Likewise.
35627 (OVERFLOW): Likewise.
35628 (UNDERFLOW): Likewise.
35631 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
35632 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
35634 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
35635 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
35637 * math/lgamma-compat.h: Include <math-svid-compat.h>.
35638 * math/w_acos_compat.c: Likewise.
35639 * math/w_acosf_compat.c: Likewise.
35640 * math/w_acosh_compat.c: Likewise.
35641 * math/w_acoshf_compat.c: Likewise.
35642 * math/w_acoshl_compat.c: Likewise.
35643 * math/w_acosl_compat.c: Likewise.
35644 * math/w_asin_compat.c: Likewise.
35645 * math/w_asinf_compat.c: Likewise.
35646 * math/w_asinl_compat.c: Likewise.
35647 * math/w_atan2_compat.c: Likewise.
35648 * math/w_atan2f_compat.c: Likewise.
35649 * math/w_atan2l_compat.c: Likewise.
35650 * math/w_atanh_compat.c: Likewise.
35651 * math/w_atanhf_compat.c: Likewise.
35652 * math/w_atanhl_compat.c: Likewise.
35653 * math/w_cosh_compat.c: Likewise.
35654 * math/w_coshf_compat.c: Likewise.
35655 * math/w_coshl_compat.c: Likewise.
35656 * math/w_exp10_compat.c: Likewise.
35657 * math/w_exp10f_compat.c: Likewise.
35658 * math/w_exp10l_compat.c: Likewise.
35659 * math/w_exp2_compat.c: Likewise.
35660 * math/w_exp2f_compat.c: Likewise.
35661 * math/w_exp2l_compat.c: Likewise.
35662 * math/w_fmod_compat.c: Likewise.
35663 * math/w_fmodf_compat.c: Likewise.
35664 * math/w_fmodl_compat.c: Likewise.
35665 * math/w_hypot_compat.c: Likewise.
35666 * math/w_hypotf_compat.c: Likewise.
35667 * math/w_hypotl_compat.c: Likewise.
35668 * math/w_j0_compat.c: Likewise.
35669 * math/w_j0f_compat.c: Likewise.
35670 * math/w_j0l_compat.c: Likewise.
35671 * math/w_j1_compat.c: Likewise.
35672 * math/w_j1f_compat.c: Likewise.
35673 * math/w_j1l_compat.c: Likewise.
35674 * math/w_jn_compat.c: Likewise.
35675 * math/w_jnf_compat.c: Likewise.
35676 * math/w_jnl_compat.c: Likewise.
35677 * math/w_lgamma_main.c: Likewise.
35678 * math/w_lgamma_r_compat.c: Likewise.
35679 * math/w_lgammaf_main.c: Likewise.
35680 * math/w_lgammaf_r_compat.c: Likewise.
35681 * math/w_lgammal_main.c: Likewise.
35682 * math/w_lgammal_r_compat.c: Likewise.
35683 * math/w_log10_compat.c: Likewise.
35684 * math/w_log10f_compat.c: Likewise.
35685 * math/w_log10l_compat.c: Likewise.
35686 * math/w_log2_compat.c: Likewise.
35687 * math/w_log2f_compat.c: Likewise.
35688 * math/w_log2l_compat.c: Likewise.
35689 * math/w_log_compat.c: Likewise.
35690 * math/w_logf_compat.c: Likewise.
35691 * math/w_logl_compat.c: Likewise.
35692 * math/w_pow_compat.c: Likewise.
35693 * math/w_powf_compat.c: Likewise.
35694 * math/w_powl_compat.c: Likewise.
35695 * math/w_remainder_compat.c: Likewise.
35696 * math/w_remainderf_compat.c: Likewise.
35697 * math/w_remainderl_compat.c: Likewise.
35698 * math/w_scalb_compat.c: Likewise.
35699 * math/w_scalbf_compat.c: Likewise.
35700 * math/w_scalbl_compat.c: Likewise.
35701 * math/w_sinh_compat.c: Likewise.
35702 * math/w_sinhf_compat.c: Likewise.
35703 * math/w_sinhl_compat.c: Likewise.
35704 * math/w_sqrt_compat.c: Likewise.
35705 * math/w_sqrtf_compat.c: Likewise.
35706 * math/w_sqrtl_compat.c: Likewise.
35707 * math/w_tgamma_compat.c: Likewise.
35708 * math/w_tgammaf_compat.c: Likewise.
35709 * math/w_tgammal_compat.c: Likewise.
35710 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
35711 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
35712 * sysdeps/ieee754/k_standard.c: Likewise.
35713 * sysdeps/ieee754/k_standardf.c: Likewise.
35714 * sysdeps/ieee754/k_standardl.c: Likewise.
35715 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
35716 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
35717 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
35718 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
35719 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
35720 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
35721 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
35722 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
35723 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
35724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
35726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
35728 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
35729 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
35730 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
35731 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
35733 2017-08-21 Florian Weimer <fweimer@redhat.com>
35736 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
35737 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
35738 Move before inclusion of ../Rules.
35740 2017-08-21 Florian Weimer <fweimer@redhat.com>
35743 * assert/assert.h (assert): Use static_cast (bool) for C++.
35744 Use the ternary operator in the warning branch for GNU C.
35745 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
35746 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
35747 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
35748 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
35749 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
35751 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35754 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35755 (__syscall_clock_gettime): Add attribute_hidden.
35756 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
35757 (__start_context): Likewise.
35759 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35761 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
35763 (hidden_proto): Likewise.
35764 (hidden_tls_proto): Likewise.
35765 (__hidden_proto): Likewise.
35767 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35769 * include/libc-symbols.h (attribute_hidden): Enable hidden
35770 visibility in libc.a compiled with PIE.
35772 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35775 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
35776 Add attribute_hidden.
35778 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35781 * Makerules (all-nonlib): Add $(others-extras).
35782 * catgets/Makefile (others-extras): New.
35783 * elf/Makefile (others-extras): Likewise.
35784 * nss/Makefile (others-extras): Likewise.
35786 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35789 * csu/libc-start.c (__libc_multiple_libcs): Removed.
35790 * elf/dl-open.c: Include <libc-internal.h>.
35791 (__libc_multiple_libcs): Removed.
35792 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
35794 * include/libc-internal.h (__libc_multiple_libcs): New.
35795 * misc/sbrk.c: Include <libc-internal.h>.
35796 (__libc_multiple_libcs): Removed.
35798 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35801 * grp/initgroups.c (__nss_group_database): Removed.
35802 (__nss_initgroups_database): Likewise.
35803 * nscd/gai.c (__nss_hosts_database): Likewise.
35804 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
35805 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
35806 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
35807 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
35808 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
35809 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
35811 * nss/nsswitch.c (__nss_database_custom): Define only if
35812 USE_NSCD is defined.
35813 (__nss_configure_lookup): Use __nss_database_custom only if
35814 USE_NSCD is defined.
35815 * nss/nsswitch.h (__nss_database_custom): Declare only if
35816 USE_NSCD is defined. Add attribute_hidden.
35817 (__nss_setent): Add attribute_hidden.
35818 (__nss_endent): Likewise.
35819 (__nss_getent_r): Likewise.
35820 (__nss_getent): Likewise.
35821 (DEFINE_DATABASE): Declare __nss_##arg##_database.
35823 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
35826 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
35827 libc_hidden_proto and libc_hidden_def.
35829 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
35832 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
35833 Add libc_hidden_proto.
35834 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
35835 Add libc_hidden_def.
35837 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
35840 * gmon/Makefile (routines): Remove bb_init_func and
35842 (elide-routines.os): Removed.
35843 * gmon/bb_exit_func.c: Likewise.
35844 * gmon/bb_init_func.c: Likewise.
35845 * include/sys/gmon.h (__bb): Likewise.
35846 (__bb_init_func): Likewise.
35847 (__bb_exit_func): Likewise.
35848 * sysdeps/alpha/bb_init_func.S: Likewise.
35850 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
35852 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
35853 * include/setjmp.h (____longjmp_chk): Here. Add
35856 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
35859 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
35861 (__strspn_sse2): Likewise.
35863 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35865 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
35866 (close_not_cancel_no_status): Likewise.
35867 (__close_nocancel): New macro.
35868 (__close_nocancel_nostatus): Likewise.
35869 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
35871 (close_not_cancel): Likewise.
35872 (close_not_cancel_no_status): Likewise.
35873 (__close_nocancel): New prototype.
35874 (__close_nocancel_nostatus): New function.
35875 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
35876 * catgets/open_catalog.c (__open_catalog): Replace
35877 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
35878 * gmon/gmon.c (write_gmon): Likewise.
35879 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
35880 * intl/loadmsgcat.c (close): Likewise.
35881 * io/ftw.c (open_dir_stream): Likewise.
35882 (ftw_startup): Likewise.
35883 * libio/fileops.c (_IO_file_open): Likewise.
35884 (_IO_file_close_mmap): Likewise.
35885 (_IO_file_close): Likewise.
35886 * libio/iopopen.c (_IO_dup2): Likewise.
35887 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35888 * locale/loadlocale.c (_nl_load_locale): Likewise.
35889 * login/utmp_file.c (pututline_file): Likewise.
35890 (endutent_file): Likewise.
35891 * misc/daemon.c (daemon): Likewise.
35892 * nscd/nscd_getai.c (__nscd_getai): Likewise.
35893 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35894 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
35895 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
35896 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35897 * nscd/nscd_helper.c (open_socket): Likewise.
35898 (__nscd_open_socket): Likewise.
35899 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
35900 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
35901 (__nscd_innetgr): Likewise.
35902 * nss/nss_db/db-open.c (internal_setent): Likewise.
35903 * resolv/res-close.c (__res_iclose): Likewise.
35904 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
35905 * sysdeps/posix/closedir.c (__closedir): Likewise.
35906 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
35907 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
35908 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
35909 (opendir_tail): Likewise.
35910 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
35911 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
35912 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
35913 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
35914 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
35915 (gethostid): Likewise.
35916 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
35917 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35919 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
35920 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
35921 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
35922 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
35924 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
35925 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
35926 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
35928 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
35929 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
35931 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
35933 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
35934 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
35935 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
35938 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
35939 (openat_not_cancel_3): Likewise.
35940 (openat64_not_cancel_3): Likewise).
35941 (openat_not_cancel_3): Likewise).
35942 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
35944 (openat_not_cancel_3): Likewise.
35945 (openat64_not_cancel): Likewise.
35946 (openat64_not_cancel_3): Likewise.
35947 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
35948 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
35949 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
35950 __open{64}_nocancel.
35951 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
35952 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
35953 * sysdeps/posix/opendir.c (__opendirat): Likewise.
35955 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
35958 * include/argz.h (__argz_create_sep): New function prototype.
35959 (__argz_append): Likewise.
35960 (__argz_add): Likewise.
35961 (__argz_add_sep): Likewise.
35962 (__argz_delete): Likewise.
35963 (__argz_insert): Likewise.
35964 (__argz_replace): Likewise.
35965 * string/argz.h (__argz_create_sep): Removed.
35966 (__argz_append): Likewise.
35967 (__argz_add): Likewise.
35968 (__argz_add_sep): Likewise.
35969 (__argz_delete): Likewise.
35970 (__argz_insert): Likewise.
35971 (__argz_replace): Likewise.
35973 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
35975 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
35976 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
35977 (GNU_PROPERTY_STACK_SIZE): Likewie.
35978 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
35979 (GNU_PROPERTY_LOPROC): Likewise.
35980 (GNU_PROPERTY_HIPROC): Likewise.
35981 (GNU_PROPERTY_LOUSER): Likewise.
35982 (GNU_PROPERTY_HIUSER): Likewise.
35983 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
35984 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
35985 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
35986 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
35987 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
35988 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
35989 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
35990 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
35991 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
35992 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
35993 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
35994 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
35995 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
35996 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
35997 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
35998 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
35999 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
36000 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
36001 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
36002 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
36003 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
36004 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
36005 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
36007 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36009 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
36012 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36015 * math/math.h (isinf): Check if in C or C++ mode before using
36016 __builtin_types_compatible_p, since this is a C mode feature.
36018 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36020 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
36021 (__write_nocancel): New macro.
36022 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
36023 Rewrite as a function prototype.
36024 (write_not_cancel): Remove macro.
36025 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
36026 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
36027 (write_gmon): Likewise.
36028 * libio/fileops.c (_IO_new_file_write): Likewise.
36029 * login/utmp_file.c (pututline_file): Likewise.
36030 (updwtmp_file): Likewise.
36031 * stdio-common/psiginfo.c (psiginfo): Likewise.
36032 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36033 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36034 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36036 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36039 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
36040 (__read_nocancel): New macro.
36041 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36043 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
36045 (__read_nocancel): New prototype.
36046 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
36047 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
36048 with __read_nocancel.
36049 * intl/loadmsgcat.c (read): Likewise.
36050 * libio/fileops.c (_IO_file_read): Likewise.
36051 * locale/loadlocale.c (_nl_load_locale): Likewise.
36052 * login/utmp_file.c (getutent_r_file): Likewise.
36053 (internal_getut_r): Likewise.
36054 (getutline_r_file): Likewise.
36055 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36056 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
36057 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36058 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36060 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
36061 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36062 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36064 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36066 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36068 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36070 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36072 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36075 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
36076 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
36079 2017-08-17 DJ Delorie <dj@redhat.com>
36081 * bug17079.c: Update to new test harness.
36082 * test-digits-dots.c: Likewise.
36083 * test-netdb.c: Likewise.
36084 * tst-field.c: Likewise.
36085 * tst-nss-getpwent.c: Likewise.
36086 * tst-nss-static.c: Likewise.
36087 * tst-nss-test1.c: Likewise.
36088 * tst-nss-test2.c: Likewise.
36089 * tst-nss-test3.c: Likewise.
36090 * tst-nss-test4.c: Likewise.
36091 * tst-nss-test5.c: Likewise.
36093 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36095 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
36096 (open_not_cancel_2): Likewise.
36097 (open_nocancel): New macro.
36098 (open64_nocancel): Likewise.
36099 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
36100 (open_not_cancel_2): Likewise.
36101 (__open_nocancel): New prototype.
36102 (__open64_nocancel): Likewise.
36103 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36105 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
36106 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
36107 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
36108 with __open_nocancel.
36109 * csu/check_fds.c (check_one_fd): Likewise.
36110 * gmon/gmon.c (write_gmon): Likewise.
36111 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
36112 * intl/loadmsgcat.c (open): Likewise.
36113 * libio/fileops.c (_IO_file_open): Likewise.
36114 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36115 * locale/loadlocale.c (_nl_load_locale): Likewise.
36116 * login/utmp_file.c (setutent_file): Likewise.
36117 * misc/daemon.c (daemon): Likewise.
36118 * nss/nss_db/db-open.c (internal_setent): Likewise.
36119 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36120 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
36121 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36122 (__opendir): Likewise.
36123 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36124 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36125 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36126 (gethostid): Likewise.
36127 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36128 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36130 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36131 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
36132 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36133 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36135 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36137 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36139 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
36141 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36143 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36145 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36146 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36148 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
36150 * benchtests/bench-skeleton.c (main): Add support for
36151 latency benchmarking.
36152 * benchtests/scripts/bench.py: Add support for latency benchmarking.
36154 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
36156 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
36157 the startup object.
36159 2017-08-17 Florian Weimer <fweimer@redhat.com>
36161 * include/sys/socket.h (__opensock): Remove internal_function.
36162 * socket/opensock.c (__opensock): Likewise.
36163 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
36165 2017-08-16 Joseph Myers <joseph@codesourcery.com>
36168 * signal/bits/types/__sigval_t.h: New file.
36169 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
36170 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
36171 and define sigval_t using __sigval_t.
36172 * include/bits/types/__sigval_t.h: New file.
36173 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
36174 instead of <bits/types/__sigval_t.h>.
36175 (struct sigevent): Use __sigval_t instead of sigval_t.
36176 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
36177 instead of <bits/types/__sigval_t.h>.
36178 (siginfo_t): Use __sigval_t instead of sigval_t.
36179 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
36180 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
36181 (struct sigevent): Use __sigval_t instead of sigval_t.
36182 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
36183 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
36184 (siginfo_t): Use __sigval_t instead of sigval_t.
36185 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
36187 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36189 * NEWS: Remove "[Add new features here]" for 2.27.
36191 2017-08-16 Joseph Myers <joseph@codesourcery.com>
36193 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
36196 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36198 * NEWS: Mention x86-64 FMA optimization.
36200 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36203 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36205 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
36206 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
36207 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
36209 2017-08-16 Andreas Schwab <schwab@suse.de>
36213 * elf/ldd.bash.in: Never run file directly.
36215 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
36218 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
36219 (L(SP_INF_0)): Likewise.
36221 2017-08-15 Florian Weimer <fweimer@redhat.com>
36223 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
36226 2017-08-15 Florian Weimer <fweimer@redhat.com>
36228 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
36229 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
36230 BROKEN_THREAD_SIGNALS code.
36231 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
36232 request_list): Remove caller_pid member used for
36233 BROKEN_THREAD_SIGNALS.
36234 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
36235 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
36236 Remove BROKEN_THREAD_SIGNALS support.
36237 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
36238 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
36240 2017-08-15 Florian Weimer <fweimer@redhat.com>
36242 * gmon/Makefile (tests): Add tst-gmon.
36243 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
36245 (tests-special): Add tst-gmon-prof.out.
36246 (tst-gmon.out): Depend on clean-tst-gmon-data.
36247 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
36248 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
36249 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
36251 * aclocal.m4 (GPROF): Set and substitute.
36252 * config.amke.in (GPROF): Set.
36253 * configure: Regenerate.
36255 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
36257 * elf/elf.h A (NT_PPC_TAR): New macro.
36258 (NT_PPC_PPR): Likewise.
36259 (NT_PPC_DSCR): Likewise.
36260 (NT_PPC_EBB): Likewise.
36261 (NT_PPC_PMU): Likewise.
36262 (NT_PPC_TM_CGPR): Likewise.
36263 (NT_PPC_TM_CFPR): Likewise.
36264 (NT_PPC_TM_CVMX): Likewise.
36265 (NT_PPC_TM_CVSX): Likewise.
36266 (NT_PPC_TM_SPR): Likewise.
36267 (NT_PPC_TM_CTAR): Likewise.
36268 (NT_PPC_TM_CPPR): Likewise.
36269 (NT_PPC_TM_CDSCR): Likewise.
36271 2017-08-15 Florian Weimer <fweimer@redhat.com>
36273 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
36274 regparm (2) instead of internal_function.
36275 (_MCOUNT_DECL): Adjust.
36277 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
36279 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
36280 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
36282 2017-08-14 Joseph Myers <joseph@codesourcery.com>
36284 * conform/data/sys/wait.h-data (si_value): Do not expect for
36287 2017-08-14 Florian Weimer <fweimer@redhat.com>
36290 NSS: Create stubs for accidentally exported lookup functions.
36291 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
36292 Remove declaration.
36293 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
36294 (ether_hostton): Call __nss_ethers_lookup2 instead.
36295 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
36296 (ether_ntohost): Call __nss_ethers_lookup2 instead.
36297 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
36298 (setup): Call __nss_netgroup_lookup2 instead.
36299 * nss/Makefile (routines): Add compat-lookup.
36300 * nss/Versions (GLIBC_2.27): Add symbol version.
36301 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
36302 (DB_COMPAT_FCT): Remove.
36303 * nss/compat-lookup.c: New file.
36304 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
36305 from databases.def.
36306 * nss/service-lookup.c (NO_COMPAT): Remove definition.
36307 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
36308 (netname2user): Call __nss_publickey_lookup2 instead.
36309 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
36310 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
36313 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36314 Sergei Trofimovich <slyfox@inbox.ru>
36317 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
36318 Rename to MMAP2_PAGE_UNIT.
36319 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
36320 __OFF_T_MATCHES_OFF64_T is not defined.
36321 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
36323 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
36324 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
36326 2017-08-14 Florian Weimer <fweimer@redhat.com>
36328 i386: Do not set internal_function.
36329 * config.h.in (USE_REGPARMS, internal_function): Remove.
36330 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
36331 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
36333 2017-08-14 Florian Weimer <fweimer@redhat.com>
36335 * elf/dl-init.c (_dl_init): Remove internal_function.
36336 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
36337 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
36339 2017-08-14 Florian Weimer <fweimer@redhat.com>
36341 * elf/rtld.c (_dl_start): Remove internal_function.
36342 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
36345 2017-08-14 Florian Weimer <fweimer@redhat.com>
36347 * elf/dl-fini.c (_dl_fini): Remove internal_function
36348 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
36350 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
36352 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
36353 (bit_cpu_SHSTK): Likewise.
36354 (index_cpu_IBT): Likewise.
36355 (index_cpu_SHSTK): Likewise.
36356 (reg_IBT): Likewise.
36357 (reg_SHSTK): Likewise.
36358 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
36359 Handle index_cpu_IBT and index_cpu_SHSTK.
36361 2017-08-14 Mike FABIAN <mfabian@redhat.com>
36364 * po/fr.po: Fix spelling mistake.
36366 2017-08-13 Florian Weimer <fweimer@redhat.com>
36368 * elf/dl-addr.c (_dl_addr): Remove internal_function.
36369 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
36370 (_dl_catch_error, _dl_receive_error): Likewise.
36371 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
36372 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
36373 (_dl_deallocate_tls): Likewise.
36374 * include/dlfcn.h (_dl_addr): Likewise.
36375 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
36376 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
36377 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
36380 2017-08-13 Florian Weimer <fweimer@redhat.com>
36382 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
36383 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
36385 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
36387 2017-08-13 Florian Weimer <fweimer@redhat.com>
36389 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
36391 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
36392 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
36393 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
36394 internal_function from _dl_make_stack_executable_hook member.
36395 (_dl_make_stack_executable): Remove internal_function.
36396 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
36398 * sysdeps/unix/sysv/linux/dl-execstack.c
36399 (_dl_make_stack_executable): Likewise.
36401 2017-08-13 Florian Weimer <fweimer@redhat.com>
36403 * sysdeps/unix/sysv/linux/netlinkaccess.h
36404 (__netlink_assert_response): Remove internal_function.
36405 * sysdeps/unix/sysv/linux/netlink_assert_response.c
36406 (__netlink_assert_response): Likewise.
36408 2017-08-13 Florian Weimer <fweimer@redhat.com>
36410 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
36412 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
36414 2017-08-13 Florian Weimer <fweimer@redhat.com>
36416 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
36418 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
36419 * inet/netgroup.h (__internal_setnetgrent)
36420 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
36421 * inet/getnetgrent_r.c (__internal_setnetgrent)
36422 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
36423 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
36424 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
36425 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
36426 * nss/nsswitch.h (db_lookup_function): Likewise.
36428 2017-08-13 Florian Weimer <fweimer@redhat.com>
36430 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
36431 Remove internal_function.
36432 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
36433 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
36434 message argument on the stack.
36435 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
36438 2017-08-12 Mike FABIAN <mfabian@redhat.com>
36440 Adapt test case data to the changes in the thousands
36444 * localedata/tst-langinfo.sh: Adapt test case data.
36445 * stdlib/tst-strfmon_l.c: Likewise.
36446 * stdlib/tst-strtod4.c: Likewise.
36447 * stdlib/tst-strtod5i.c: Likewise.
36449 2017-08-11 Florian Weimer <fweimer@redhat.com>
36452 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
36453 Suppress pedantic warning resulting from statement expression.
36454 (__ASSERT_FUNCTION): Add missing __extension__.
36456 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
36458 * benchtests/bench-memmove-large.c: Print output in JSON
36460 * benchtests/bench-memmove.c: Likewise.
36462 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
36463 * benchtests/bench-memchr.c (do_one_test): Likewise.
36464 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
36465 * benchtests/bench-memcpy.c (do_one_test): Likewise.
36466 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
36467 * benchtests/bench-memmove.c (do_one_test): Likewise.
36468 * benchtests/bench-memset-large.c (do_one_test): Likewise.
36469 * benchtests/bench-memset.c (do_one_test): Likewise.
36470 * benchtests/bench-string.h (test_init): Remove memsets.
36472 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
36475 (Computing the Width of an Integer Data Type): Rename section to
36476 "Width of an Integer Type". Remove inaccurate statement regarding
36477 lack of C language facilities for determining width of integer
36478 types, and reorder content to improve flow and context of
36481 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
36483 * lang.texi (va_copy): Change standard from ISO to C99.
36484 (__va_copy): Add standard and header annotation.
36485 Update description for clarity of origins and current use.
36487 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36490 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
36491 xssqrtqp requires operands to be in Vector Registers
36492 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
36493 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
36494 (__ieee754_sqrtf128): Likewise.
36496 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
36498 * sysdeps/aarch64/memcmp.S (memcmp):
36499 Rewrite of optimized memcmp.
36501 2017-08-10 Florian Weimer <fweimer@redhat.com>
36503 Introduce ld.so exceptions.
36504 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
36505 (_dl_exception_create, _dl_exception_create_format)
36506 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
36507 (_dl_catch_exception): Declare.
36508 (_dl_catch_error): Update comment.
36509 * elf/dl-error-skeleton.c (struct catch): Replace objname,
36510 errstring, malloced members with exception member.
36511 (_dl_out_of_memory): Remove.
36512 (fatal_error): New function, extracted from _dl_signal_error.
36513 (_dl_signal_exception, _dl_signal_cexception): New functions.
36514 (_dl_signal_error): Call _dl_exception_create to allocate an
36516 (_dl_catch_exception): New function, based on _dl_catch_error.
36517 (_dl_catch_error): Implement using _dl_catch_exception.
36518 * elf/dl-exception.c: New file.
36519 * elf/Makefile (dl-routines): Add dl-exception.
36520 (elide-routines.os): Likewise.
36521 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
36522 _dl_exception_create_format, _dl_exception_free.
36523 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
36524 _dl_signal_exception.
36525 * elf/dl-lookup.c (make_string): Remove.
36526 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
36527 _dl_signal_cexception, _dl_exception_free.
36528 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
36529 _dl_signal_exception.
36530 * elf/dl-sym.c (do_sym): Likewise.
36531 * elf/dl-version.c (make_string): Remove.
36532 (match_symbol): Use _dl_exception_create_format,
36533 _dl_signal_cexception, _dl_exception_free.
36534 (_dl_check_map_versions): Likewise.
36535 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
36536 _dl_catch_exception.
36537 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
36538 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
36539 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
36540 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
36541 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
36542 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
36543 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
36544 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
36546 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
36547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
36549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
36551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
36553 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
36554 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
36555 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
36557 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
36559 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
36561 2017-08-10 Florian Weimer <fweimer@redhat.com>
36563 * inet/net-internal.h (__inet6_scopeid_pton): Remove
36564 attribute_hidden, internal_function.
36565 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
36568 2017-08-10 Florian Weimer <fweimer@redhat.com>
36570 * malloc/malloc.c (get_max_fast): Reimplement as an inline
36571 function which calls __builtin_unreachable.
36573 2017-08-10 Mike FABIAN <mfabian@redhat.com>
36575 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
36576 Indian monetary formatting
36577 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
36580 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
36582 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
36583 Fix typo in comment.
36586 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
36587 PTRACE_SEIZE_DEVEL): Remove.
36588 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
36589 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36590 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36591 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36592 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36594 2017-08-09 Joseph Myers <joseph@codesourcery.com>
36596 * posix/bits/types.h (__qaddr_t): Remove.
36599 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
36600 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36602 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
36603 (ucontext_t): Use __ctx with uc_flags.
36604 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
36605 (__ctxt): Likewise.
36606 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36608 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
36609 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36611 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
36612 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36614 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
36616 (ucontext_t): Use __ctx with uc_flags.
36617 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
36618 (ucontext_t): Use __ctx with uc_flags.
36619 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
36620 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
36621 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
36622 (ucontext_t): Use __ctx with uc_flags.
36623 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
36624 undefine further down.
36625 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36627 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
36628 undefine further down.
36629 (ucontext_t): Use __ctx with uc_flags.
36630 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
36631 undefine further down.
36632 (ucontext_t): Use __ctx with uc_flags.
36633 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
36634 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
36635 Rename uc_pad to __glibc_reserved1.
36636 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
36637 undefine further down.
36638 (ucontext_t): Use __ctx with uc_flags.
36639 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
36641 (ucontext_t): Use __ctx with uc_flags.
36642 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
36643 __ctx with uc_flags.
36644 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
36645 (ucontext_t): Use __ctx with uc_flags.
36646 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
36647 __ctx with uc_flags.
36649 2017-08-09 Florian Weimer <fweimer@redhat.com>
36652 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
36653 before early return.
36655 2017-08-09 Andreas Schwab <schwab@suse.de>
36658 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
36662 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
36663 tst-compat-forwarder.
36664 (modules-names): Add tst-compat-forwarder-mod.
36665 ($(objpfx)tst-compat-forwarder): Depend on
36666 $(objpfx)tst-compat-forwarder-mod.so.
36667 * nptl/tst-compat-forwarder.c: New file.
36668 * nptl/tst-compat-forwarder-mod.c: New file.
36670 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
36672 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
36675 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
36676 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
36678 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
36680 (__libc_ifunc_impl_list): Add __memcpy_falkor.
36681 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
36682 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
36683 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
36685 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
36688 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36691 * manual/setjmp.texi (getcontex): Document uc_stack value
36692 compatibility differences.
36694 2017-08-08 Joseph Myers <joseph@codesourcery.com>
36696 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
36697 (old_malloc_hook): Likewise.
36698 (old_memalign_hook): Likewise.
36699 (old_realloc_hook): Likewise.
36700 (struct hdr): Likewise.
36702 (freehook): Likewise.
36703 (mallochook): Likewise.
36704 (memalignhook): Likewise.
36705 (reallochook): Likewise.
36706 (mprobe): Likewise.
36707 * malloc/mtrace.c (mallwatch): Likewise.
36708 (tr_old_free_hook): Likewise.
36709 (tr_old_malloc_hook): Likewise.
36710 (tr_old_realloc_hook): Likewise.
36711 (tr_old_memalign_hook): Likewise.
36712 (tr_where): Likewise.
36713 (lock_and_info): Likewise.
36714 (tr_freehook): Likewise.
36715 (tr_mallochook): Likewise.
36716 (tr_reallochook): Likewise.
36717 (tr_memalignhook): Likewise.
36718 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
36719 * misc/mmap.c (__mmap): Likewise.
36720 * misc/mmap64.c (__mmap64): Likewise.
36721 * misc/mprotect.c (__mprotect): Likewise.
36722 * misc/msync.c (msync): Likewise.
36723 * misc/munmap.c (__munmap): Likewise.
36724 * posix/posix_madvise.c (posix_madvise): Likewise.
36725 * socket/send.c (__send): Likewise.
36726 * socket/sendto.c (__sendto): Likewise.
36727 * socket/setsockopt.c (__setsockopt): Likewise.
36728 * string/memcmp.c (__ptr_t): Remove macro.
36729 (MEMCMP): Use void * instead of ptr_t.
36730 * string/memrchr.c (__ptr_t): Remove macro.
36731 (__memrchr): Use void * instead of ptr_t.
36732 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
36733 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
36734 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
36735 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
36736 * sysdeps/mach/msync.c (msync): Likewise.
36737 * sysdeps/mach/munmap.c (__munmap): Likewise.
36738 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
36740 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36741 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
36742 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
36743 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
36744 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
36745 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
36746 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
36747 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
36749 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
36750 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
36751 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
36752 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
36753 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
36754 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
36755 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
36756 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
36757 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
36759 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
36760 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
36761 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
36762 (MEMCMP): Use void * instead of ptr_t.
36763 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
36764 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
36766 2017-08-08 Florian Weimer <fweimer@redhat.com>
36768 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
36771 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
36774 * csu/libc-tls.c: Include <startup.h> first.
36775 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
36776 * elf/dl-tunables.c: Include <startup.h> first.
36777 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
36778 * sysdeps/generic/startup.h: New file.
36779 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
36780 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
36781 (I386_USE_SYSENTER): New. Defined to 0.
36783 2017-08-08 Andreas Schwab <schwab@suse.de>
36786 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
36787 * nptl/pt-system.c (system): Likewise.
36789 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36792 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
36794 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
36795 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
36796 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
36797 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
36798 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
36799 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
36800 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
36802 2017-08-07 Joseph Myers <joseph@codesourcery.com>
36805 * bits/sigaction.h (struct sigaction): Define sa_handler and
36806 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
36807 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36808 [__USE_XOPEN_EXTENDED].
36809 (SA_RESTART): Likewise.
36810 (SA_NODEFER): Likewise.
36811 (SA_RESETHAND): Likewise.
36812 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
36813 (struct sigaction): Define sa_handler and sa_sigaction using union
36814 also for [__USE_XOPEN_EXTENDED].
36815 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36816 [__USE_XOPEN_EXTENDED].
36817 (SA_RESTART): Likewise.
36818 (SA_NODEFER): Likewise.
36819 (SA_RESETHAND): Likewise.
36820 * sysdeps/unix/sysv/linux/bits/sigaction.h
36821 (struct sigaction): Define sa_handler and sa_sigaction using union
36822 also for [__USE_XOPEN_EXTENDED].
36823 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36824 [__USE_XOPEN_EXTENDED].
36825 (SA_RESTART): Likewise.
36826 (SA_NODEFER): Likewise.
36827 (SA_RESETHAND): Likewise.
36828 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
36829 (struct sigaction): Define sa_handler and sa_sigaction using union
36830 also for [__USE_XOPEN_EXTENDED].
36831 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36832 [__USE_XOPEN_EXTENDED].
36833 (SA_RESTART): Likewise.
36834 (SA_NODEFER): Likewise.
36835 (SA_RESETHAND): Likewise.
36836 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
36837 (struct sigaction): Define sa_handler and sa_sigaction using union
36838 also for [__USE_XOPEN_EXTENDED].
36839 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36840 [__USE_XOPEN_EXTENDED].
36841 (SA_RESTART): Likewise.
36842 (SA_NODEFER): Likewise.
36843 (SA_RESETHAND): Likewise.
36844 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
36845 (struct sigaction): Define sa_handler and sa_sigaction using union
36846 also for [__USE_XOPEN_EXTENDED].
36847 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36848 [__USE_XOPEN_EXTENDED].
36849 (SA_RESTART): Likewise.
36850 (SA_NODEFER): Likewise.
36851 (SA_RESETHAND): Likewise.
36852 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
36853 (struct sigaction): Define sa_handler and sa_sigaction using union
36854 also for [__USE_XOPEN_EXTENDED].
36855 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36856 [__USE_XOPEN_EXTENDED].
36857 (SA_RESTART): Likewise.
36858 (SA_NODEFER): Likewise.
36859 (SA_RESETHAND): Likewise.
36860 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
36861 (struct sigaction): Define sa_handler and sa_sigaction using union
36862 also for [__USE_XOPEN_EXTENDED].
36863 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36864 [__USE_XOPEN_EXTENDED].
36865 (SA_RESTART): Likewise.
36866 (SA_NODEFER): Likewise. Define directly rather than as alias.
36867 (SA_RESETHAND): Likewise.
36868 (SA_INTERRUPT): Define only for [__USE_MISC].
36869 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
36870 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
36872 (SA_STACK): Define only for [__USE_MISC].
36873 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
36874 (struct sigaction): Define sa_handler and sa_sigaction using union
36875 also for [__USE_XOPEN_EXTENDED].
36876 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36877 [__USE_XOPEN_EXTENDED].
36878 (SA_RESTART): Likewise.
36879 (SA_NODEFER): Likewise.
36880 (SA_RESETHAND): Likewise.
36881 (SA_NOPTRACE): Define only for [__USE_MISC].
36883 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
36884 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
36885 (struct catalog_info): Likewise.
36886 * inet/htontest.c (lo): Likewise.
36888 * inet/inet_lnaof.c (inet_lnaof): Likewise.
36889 * inet/inet_net.c (inet_network): Likewise.
36890 * inet/inet_netof.c (inet_netof): Likewise.
36891 * inet/rcmd.c (__ivaliduser): Likewise.
36892 (iruserok): Likewise.
36893 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
36894 * locale/programs/locale-spec.c (locale_special): Likewise.
36895 * nis/nis_findserv.c (struct findserv_req): Likewise.
36896 (__nis_findfastest_with_timeout): Likewise.
36897 * nss/test-netdb.c (test_network): Likewise.
36898 * resolv/inet_neta.c (inet_neta): Likewise.
36899 * resolv/ns_date.c (ns_datetosecs): Likewise.
36900 (SECS_PER_DAY): Likewise.
36901 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
36903 * resolv/res_comp.c (__putlong): Likewise.
36904 (__putshort): Likewise.
36905 (_getlong): Likewise.
36906 (_getshort): Likewise.
36907 * resolv/res_debug.c (p_time): Likewise.
36908 (precsize_ntoa): Likewise.
36909 (precsize_aton): Likewise.
36910 (latlon2ul): Likewise.
36911 (loc_aton): Likewise.
36912 (loc_ntoa): Likewise.
36913 * resolv/res_hconf.c (struct netaddr): Likewise.
36914 (_res_hconf_reorder_addrs): Likewise.
36915 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
36916 (clnttcp_control): Likewise.
36917 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36918 (clntudp_control): Likewise.
36919 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
36920 (clntunix_control): Likewise.
36921 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
36922 * sunrpc/rpc/auth.h (union des_block): Likewise.
36923 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
36924 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
36925 (xdrrec_create): Likewise.
36926 (xdrrec_endofrecord): Likewise.
36927 (flush_out): Likewise.
36928 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
36929 (xdrstdio_putlong): Likewise.
36930 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
36933 * misc/sys/cdefs.h (__long_double_t): Remove.
36934 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
36935 instead of __long_double_t,
36936 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
36938 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
36940 * benchtests/scripts/compare_strings.py: Avoid display error when
36941 running on a text terminal.
36943 * benchtests/scripts/compare_strings.py (main): Add an
36944 optional -base option.
36945 (process_results): New argument base_func.
36947 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
36949 * benchtests/bench-memcpy-large.c (test_name): Likewise.
36950 * benchtests/bench-memcpy-random.c (test_name): Likewise.
36952 2017-08-07 Andreas Schwab <schwab@suse.de>
36954 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
36955 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
36956 * intl/Makefile ($(objpfx)tst-gettext.out)
36957 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
36958 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
36959 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
36960 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
36961 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
36962 * posix/Makefile ($(objpfx)globtest.out)
36963 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
36964 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
36965 ($(objpfx)tst-printf.out): Likewise.
36966 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
36967 ($(objpfx)tst-setcontext3.out): Likewise.
36969 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
36971 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36972 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
36973 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
36974 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
36975 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
36977 (CFLAGS-doasin-fma.c): New.
36978 (CFLAGS-dosincos-fma.c): Likewise.
36979 (CFLAGS-e_asin-fma.c): Likewise.
36980 (CFLAGS-e_atan2-fma.c): Likewise.
36981 (CFLAGS-e_exp-fma.c): Likewise.
36982 (CFLAGS-e_log-fma.c): Likewise.
36983 (CFLAGS-e_pow-fma.c): Likewise.
36984 (CFLAGS-halfulp-fma.c): Likewise.
36985 (CFLAGS-mpa-fma.c): Likewise.
36986 (CFLAGS-mpatan-fma.c): Likewise.
36987 (CFLAGS-mpatan2-fma.c): Likewise.
36988 (CFLAGS-mpexp-fma.c): Likewise.
36989 (CFLAGS-mplog-fma.c): Likewise.
36990 (CFLAGS-mpsqrt-fma.c): Likewise.
36991 (CFLAGS-mptan-fma.c): Likewise.
36992 (CFLAGS-s_atan-fma.c): Likewise.
36993 (CFLAGS-sincos32-fma.c): Likewise.
36994 (CFLAGS-slowexp-fma.c): Likewise.
36995 (CFLAGS-slowpow-fma.c): Likewise.
36996 (CFLAGS-s_sin-fma.c): Likewise.
36997 (CFLAGS-s_tan-fma.c): Likewise.
36998 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
36999 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
37000 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
37001 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
37002 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
37003 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
37004 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
37005 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
37006 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
37007 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
37008 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
37009 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
37010 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
37011 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
37012 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
37013 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
37014 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
37015 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
37016 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
37017 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
37018 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
37019 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
37020 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
37021 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
37022 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37023 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37024 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37025 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
37026 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37027 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37028 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37030 2017-08-04 Joseph Myers <joseph@codesourcery.com>
37032 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
37033 (min_of_type_f): New macro.
37034 (min_of_type_): Likewise.
37035 (min_of_type_l): Likewise.
37036 (min_of_type_f128): Likewise.
37037 (min_of_type): Define using __MATH_TG and taking an expression
37039 (math_check_force_underflow): Pass expression instead of type to
37041 (math_check_force_underflow_nonneg): Likewise.
37043 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37045 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
37046 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
37047 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
37049 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37051 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37052 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
37053 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
37054 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
37055 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
37056 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
37057 memcpy_chk-nonshared, mempcpy_chk-nonshared,
37058 memmove_chk-nonshared and memset_chk-nonshared
37059 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
37060 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
37061 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
37062 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
37063 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
37064 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
37065 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
37066 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
37067 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
37068 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
37069 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
37070 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
37071 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
37072 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
37073 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
37074 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
37075 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
37076 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
37077 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
37078 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
37079 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
37080 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
37081 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
37082 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
37083 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
37084 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
37085 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
37086 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
37087 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
37088 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
37089 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
37090 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
37091 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
37092 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37093 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37094 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
37095 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
37096 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
37097 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
37098 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
37099 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
37100 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
37101 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
37102 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
37103 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
37104 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
37105 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
37106 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
37107 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
37108 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
37109 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
37110 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
37111 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
37112 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
37113 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
37114 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
37115 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
37116 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
37117 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
37118 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
37119 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
37120 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
37121 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
37122 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
37123 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
37124 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
37125 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
37126 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
37127 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
37128 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
37129 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
37130 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37131 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37132 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37133 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37134 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37135 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37136 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37137 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37138 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37139 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37140 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37141 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37142 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37143 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37144 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37145 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37146 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37147 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37148 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37149 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37150 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37151 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37152 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37153 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37154 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37155 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37156 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37157 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37158 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37159 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37160 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37161 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37162 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37163 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37164 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37165 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37166 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37168 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37170 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
37171 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
37172 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
37173 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
37174 svml_d_log2_core-sse2, svml_d_log4_core-sse,
37175 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
37176 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
37177 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
37178 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
37179 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
37180 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
37181 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
37182 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
37183 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
37184 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
37185 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
37186 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
37187 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
37188 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
37189 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
37190 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
37191 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
37192 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
37193 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
37194 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
37195 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
37196 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
37197 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
37198 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
37199 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
37200 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
37201 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
37202 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
37203 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
37204 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
37205 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
37206 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
37207 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
37208 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
37209 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
37210 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
37211 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
37212 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
37213 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
37214 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
37215 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
37216 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
37217 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
37218 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
37219 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
37220 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
37221 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
37222 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
37223 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
37224 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
37225 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
37226 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
37227 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
37228 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
37230 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
37231 Don't include <sysdep.h> nor <init-arch.h>.
37232 (_ZGVbN2v_cos): Removed.
37233 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
37235 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
37236 Don't include <sysdep.h> nor <init-arch.h>.
37237 (_ZGVdN4v_cos): Removed.
37238 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
37240 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
37241 Don't include <sysdep.h> nor <init-arch.h>.
37242 (_ZGVeN8v_cos): Removed.
37243 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
37245 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
37246 Don't include <sysdep.h> nor <init-arch.h>.
37247 (_ZGVbN2v_exp): Removed.
37248 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
37250 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
37251 Don't include <sysdep.h> nor <init-arch.h>.
37252 (_ZGVdN4v_exp): Removed.
37253 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
37255 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
37256 Don't include <sysdep.h> nor <init-arch.h>.
37257 (_ZGVeN8v_exp): Removed.
37258 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
37260 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
37261 Don't include <sysdep.h> nor <init-arch.h>.
37262 (_ZGVbN2v_log): Removed.
37263 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
37265 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
37266 Don't include <sysdep.h> nor <init-arch.h>.
37267 (_ZGVdN4v_log): Removed.
37268 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
37270 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
37271 Don't include <sysdep.h> nor <init-arch.h>.
37272 (_ZGVeN8v_log): Removed.
37273 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
37275 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
37276 Don't include <sysdep.h> nor <init-arch.h>.
37277 (_ZGVbN2vv_pow): Removed.
37278 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
37280 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
37281 Don't include <sysdep.h> nor <init-arch.h>.
37282 (_ZGVdN4vv_pow): Removed.
37283 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
37285 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
37286 Don't include <sysdep.h> nor <init-arch.h>.
37287 (_ZGVeN8vv_pow): Removed.
37288 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
37290 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
37291 Don't include <sysdep.h> nor <init-arch.h>.
37292 (_ZGVbN2v_sin): Removed.
37293 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
37295 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
37296 Don't include <sysdep.h> nor <init-arch.h>.
37297 (_ZGVbN4v_sin): Removed.
37298 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
37300 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
37301 Don't include <sysdep.h> nor <init-arch.h>.
37302 (_ZGVbN8v_sin): Removed.
37303 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
37305 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
37306 Don't include <sysdep.h> nor <init-arch.h>.
37307 (_ZGVbN2vvv_sincos): Removed.
37308 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
37310 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
37311 Don't include <sysdep.h> nor <init-arch.h>.
37312 (_ZGVdN4vvv_sincos): Removed.
37313 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
37315 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
37316 Don't include <sysdep.h> nor <init-arch.h>.
37317 (_ZGVeN8vvv_sincos): Removed.
37318 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
37320 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
37321 Don't include <sysdep.h> nor <init-arch.h>.
37322 (_ZGVeN16v_cosf): Removed.
37323 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
37325 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
37326 Don't include <sysdep.h> nor <init-arch.h>.
37327 (_ZGVbN4v_cosf): Removed.
37328 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
37330 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
37331 Don't include <sysdep.h> nor <init-arch.h>.
37332 (_ZGVdN8v_cosf): Removed.
37333 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
37335 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
37336 Don't include <sysdep.h> nor <init-arch.h>.
37337 (_ZGVeN16v_expf): Removed.
37338 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
37340 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
37341 Don't include <sysdep.h> nor <init-arch.h>.
37342 (_ZGVbN4v_expf): Removed.
37343 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
37345 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
37346 Don't include <sysdep.h> nor <init-arch.h>.
37347 (_ZGVdN8v_expf): Removed.
37348 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
37350 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
37351 Don't include <sysdep.h> nor <init-arch.h>.
37352 (_ZGVeN16v_logf): Removed.
37353 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
37355 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
37356 Don't include <sysdep.h> nor <init-arch.h>.
37357 (_ZGVbN4v_logf): Removed.
37358 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
37360 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
37361 Don't include <sysdep.h> nor <init-arch.h>.
37362 (_ZGVdN8v_logf): Removed.
37363 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
37365 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
37366 Don't include <sysdep.h> nor <init-arch.h>.
37367 (_ZGVeN16vv_powf): Removed.
37368 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
37370 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
37371 Don't include <sysdep.h> nor <init-arch.h>.
37372 (_ZGVbN4vv_powf): Removed.
37373 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
37375 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
37376 Don't include <sysdep.h> nor <init-arch.h>.
37377 (_ZGVdN8vv_powf): Removed.
37378 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
37380 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
37381 Don't include <sysdep.h> nor <init-arch.h>.
37382 (_ZGVeN16vvv_sincosf): Removed.
37383 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
37385 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
37386 Don't include <sysdep.h> nor <init-arch.h>.
37387 (_ZGVbN4vvv_sincosf): Removed.
37388 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
37390 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
37391 Don't include <sysdep.h> nor <init-arch.h>.
37392 (_ZGVdN8vvv_sincosf): Removed.
37393 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
37395 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
37396 Don't include <sysdep.h> nor <init-arch.h>.
37397 (_ZGVeN16v_sinf): Removed.
37398 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
37400 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
37401 Don't include <sysdep.h> nor <init-arch.h>.
37402 (_ZGVbN4v_sinf): Removed.
37403 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
37405 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
37406 Don't include <sysdep.h> nor <init-arch.h>.
37407 (_ZGVdN8v_sinf): Removed.
37409 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37411 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37412 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
37413 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
37414 s_rint-sse4_1 and s_rintf-sse4_1.
37415 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
37416 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
37417 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
37418 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
37419 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
37420 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
37421 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
37422 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
37423 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
37424 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
37425 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
37426 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37428 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
37429 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
37430 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37431 (__ceilf): Removed.
37432 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
37433 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
37434 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37435 (__floor): Removed.
37436 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
37437 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
37438 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37439 (__floorf): Removed.
37440 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
37441 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
37442 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37443 (__nearbyint): Removed.
37444 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
37445 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
37446 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37447 (__nearbyintf): Removed.
37448 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
37449 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
37450 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37452 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
37453 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
37454 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37455 (__rintf): Removed.
37457 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37459 * sysdeps/i386/start.S (_start): Check Check PIC instead of
37460 SHARED. Avoid dynamic relocation against main in static PIE.
37462 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37465 * elf/Makefile (CFLAGS-tst-prelink.c): New.
37466 (LDFLAGS-tst-prelink): Likewise.
37468 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37470 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
37471 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
37472 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
37473 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
37474 (INTERNAL_SYSCALL_NCS): Likewise.
37475 (LOADARGS_1): Likewise.
37476 (LOADARGS_5): Likewise.
37477 (RESTOREARGS_1): Likewise.
37478 (RESTOREARGS_5): Likewise.
37480 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37482 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
37483 (MEMPCPY_SYMBOL): Likewise.
37484 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
37485 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
37486 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
37488 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37489 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
37491 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
37492 (__hidden_ver1): Don't use in libc.a.
37493 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
37494 (__mempcpy): Don't create a weak alias in libc.a.
37495 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
37497 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
37498 (__hidden_ver1): Don't use in libc.a.
37500 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37502 * config.make.in (have-insert): New.
37503 * configure.ac (libc_cv_insert): New. Set to yes if linker
37504 supports INSERT in linker script.
37505 (AC_SUBST(libc_cv_insert): New.
37506 * configure: Regenerated.
37507 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
37508 if $(have-insert) == yes.
37510 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37512 * elf/Makefile (tests): Add vismain only if
37513 $(have-protected-data) == yes.
37514 (tests-pie): Likewise.
37516 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37519 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
37520 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
37522 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37525 * sysdeps/i386/i586/memset.S
37526 (__memset_zero_constant_len_parameter): Removed.
37527 * sysdeps/i386/i686/memset.S
37528 (__memset_zero_constant_len_parameter): Likewise.
37529 * sysdeps/i386/i686/multiarch/memset_chk.S
37530 (__memset_zero_constant_len_parameter): Likewise.
37531 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
37534 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
37536 * stdlib/getentropy.c (getentropy): Change return type to int.
37538 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
37540 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
37542 2017-08-03 Joseph Myers <joseph@codesourcery.com>
37544 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
37546 * math/s_nexttowardf.c (__nexttowardf): Likewise.
37547 * sysdeps/generic/math_private.h (ieee_double_shape_type):
37549 (ieee_float_shape_type): Likewise.
37550 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
37551 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
37552 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
37553 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37554 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
37555 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
37556 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
37557 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
37558 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
37560 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
37561 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
37562 (__ieee754_yn): Likewise.
37563 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
37564 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
37565 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
37567 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
37568 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
37569 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
37570 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
37571 (__erfc): Likewise.
37572 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
37573 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
37574 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
37575 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
37576 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
37577 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
37579 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
37580 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
37581 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
37582 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
37583 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
37584 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
37585 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
37586 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
37587 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
37588 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
37589 (__issignaling): Likewise.
37590 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
37591 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
37592 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
37594 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37595 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
37596 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
37597 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
37599 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
37601 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
37602 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
37603 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
37604 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
37605 (__erfcf): Likewise.
37606 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
37607 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
37608 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
37609 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
37611 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
37612 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
37614 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
37615 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
37616 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
37617 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
37618 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
37619 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
37620 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
37621 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
37623 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
37625 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
37627 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
37628 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
37630 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
37632 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
37633 (__ieee754_ynl): Likewise.
37634 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
37635 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
37637 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
37639 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
37640 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
37641 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37643 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
37644 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
37645 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
37646 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
37647 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
37648 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
37649 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
37650 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
37652 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
37653 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
37654 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
37656 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
37657 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
37658 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
37659 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
37660 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
37661 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
37663 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
37665 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37667 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37669 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
37670 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
37671 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37672 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
37673 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
37674 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
37675 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
37677 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
37679 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
37680 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37682 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
37683 (__ieee754_remainderl): Likewise.
37684 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37685 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37686 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
37687 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
37689 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
37690 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37692 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
37693 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
37694 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
37695 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
37696 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
37697 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
37699 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
37700 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
37701 (__ieee754_y0l): Likewise.
37704 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37705 (__ieee754_y1l): Likewise.
37708 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
37709 (__ieee754_ynl): Likewise.
37710 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
37711 (__ieee754_lgammal_r): Likewise.
37712 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
37714 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
37715 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
37716 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
37717 (__erfcl): Likewise.
37718 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
37719 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
37721 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
37722 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
37723 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
37724 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
37725 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
37726 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37727 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37729 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
37730 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
37731 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
37732 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
37733 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37735 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
37736 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
37738 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
37739 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
37740 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
37741 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
37742 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
37744 2017-08-03 Florian Weimer <fweimer@redhat.com>
37747 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
37748 on memory allocation failure.
37750 2017-08-03 Alan Modra <amodra@gmail.com>
37752 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
37753 tst-tlsopt-powerpc.c with function name change and no test harness.
37754 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
37755 Call tls_get_addr_opt_test.
37756 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
37757 (modules-names): Add mod-tlsopt-powerpc.
37758 (mod-tlsopt-powerpc.so-no-z-defs): Define.
37759 (tst-tlsopt-powerpc): Depend on .so.
37760 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
37761 define. Expand use in TLS_GD and TLS_LD.
37763 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37765 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
37767 * sysdeps/posix/shm_open.c: Include <pthread.h>.
37769 2017-08-02 Joseph Myers <joseph@codesourcery.com>
37772 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
37773 comparing size with that of double.
37774 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
37775 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
37776 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
37777 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
37778 (__TGMATH_BINARY_REAL_IMAG): Likewise.
37779 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
37780 unsigned __int128 types.
37782 2017-08-02 Steve Ellcey <sellcey@cavium.com>
37784 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
37785 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
37786 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
37787 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
37788 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
37790 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
37792 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
37794 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
37796 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
37798 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
37799 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37800 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37801 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37802 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37803 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37804 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37806 2017-08-02 Joseph Myers <joseph@codesourcery.com>
37809 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
37810 bit-field expressions passed to sizeof or typeof.
37811 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
37812 (__TGMATH_F128): Likewise.
37813 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
37814 (__TGMATH_CF128): Likewise.
37815 (__TGMATH_UNARY_REAL_ONLY): Likewise.
37816 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
37817 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
37818 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
37819 (__TGMATH_BINARY_REAL_ONLY): Likewise.
37820 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
37821 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
37822 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
37823 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
37824 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
37825 (__TGMATH_UNARY_REAL_IMAG): Likewise.
37826 (__TGMATH_UNARY_IMAG): Likewise.
37827 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
37828 (__TGMATH_BINARY_REAL_IMAG): Likewise.
37829 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
37831 (define_vars_for_type): Handle bit_field type specially.
37832 (Tests.__init__): Declare structure with bit-field element.
37834 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
37837 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
37838 (MEMCPY_CHK): Define only if SHARED is defined.
37839 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
37841 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
37844 See ChangeLog.18 for earlier changes.