1 2019-08-30 Richard Braun <rbraun@sceen.net>
3 * hurd/hurdselect.c (_hurd_select): Always call __io_select with no
5 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Fix preemptor setup.
7 2019-08-29 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
9 * elf/dl-addr.c (determine_info): Calculate the symbol index
10 using the newly defined ELF_MACHINE_HASH_SYMIDX macro.
11 * elf/dl-lookup.c (do_lookup_x): Ditto.
12 (_dl_setup_hash): Initialize MIPS xhash translation table.
13 * elf/elf.h (SHT_MIPS_XHASH): New define.
14 (DT_MIPS_XHASH): New define.
15 * sysdeps/generic/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
17 (ELF_MACHINE_HASH_SYMIDX): Ditto.
18 (ELF_MACHINE_XHASH_SETUP): Ditto.
19 * sysdeps/mips/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
21 (ELF_MACHINE_HASH_SYMIDX): Ditto.
22 (ELF_MACHINE_XHASH_SETUP): Ditto.
23 * sysdeps/mips/linkmap.h (struct link_map_machine): New member.
24 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increment valid ABI
26 * sysdeps/unix/sysv/linux/mips/libc-abis: New ABI version.
28 2019-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30 * sysdeps/sh/preconfigure.ac: New file.
31 * sysdeps/sh/preconfigure: Regenerate.
32 * sysdeps/sh/be/sh3/Implies: New file.
33 * sysdeps/sh/be/sh4/Implies: Likewise.
34 * sysdeps/sh/le/sh3/Implies: Likewise.
35 * sysdeps/sh/le/sh4/Implies: Likewise.
36 * sysdeps/unix/sysv/linux/sh/le/sh3/Implies: Likewise.
37 * sysdeps/unix/sysv/linux/sh/le/sh4/Implies: Likewise.
38 * sysdeps/unix/sysv/linux/sh/*.abilist: Move to
39 sysdeps/unix/sysv/linux/sh/le/*.abilist.
40 * sysdeps/unix/sysv/linux/sh/be/*.abilist: New files.
42 * sysdeps/microblaze/preconfigure.ac: New file.
43 * sysdeps/microblaze/preconfigure: Regenerate.
44 * sysdeps/microblaze/be/implies: New file.
45 * sysdeps/microblaze/le/implies: Likewise.
46 * sysdeps/unix/sysv/linux/microblaze/be/implies: Likewise.
47 * sysdeps/unix/sysv/linux/microblaze/le/implies: Likewise.
48 * sysdeps/unix/sysv/linux/microblaze/*.abilist. Move to
49 sysdeps/unix/sysv/linux/microblaze/be/*.abilist.
50 * sysdeps/unix/sysv/linux/microblaze/le/*.abilist: New files.
52 * sysdeps/arm/preconfigure.ac: Set machine based on endianness.
53 * sysdeps/arm/preconfigure: Regenerate.
54 * sysdeps/arm/be/Implies: New file.
55 * sysdeps/arm/be/armv6/Implies: Likewise.
56 * sysdeps/arm/be/armv6t2/Implies: Likewise.
57 * sysdeps/arm/be/armv7/Implies: Likewise.
58 * sysdeps/arm/le/Implies: Likewise.
59 * sysdeps/unix/sysv/linux/arm/be/Implies: Likewise.
60 * sysdeps/unix/sysv/linux/arm/le/Implies: Likewise.
61 * sysdeps/unix/sysv/linux/arm/*.abilist: Move to
62 sysdeps/unix/sysv/linux/arm/le/*.abilist.
63 * sysdeps/unix/sysv/linux/arm/be/l*.abilist: New files.
65 2019-08-27 Paul Eggert <eggert@cs.ucla.edu>
67 Fix posix/tst-regex by using UTF-8 and own test input
68 Problem reported by Stefan Liebler in:
69 https://sourceware.org/ml/libc-alpha/2019-08/msg00658.html
70 * posix/tst-regex.c: Convert this file from Latin-1 to UTF-8.
71 (do_test, test_expr): Adjust to the fact that this source file,
72 and the test data in ChangeLog.8, is now UTF-8 instead of Latin-1.
73 * posix/tst-regex.input: Copy from ChangeLog.old/ChangeLog.8,
74 so that it is now UTF-8.
76 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
78 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): Delete.
79 (fegetenv_status): Generate 'mffsl' unconditionally.
81 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
83 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Utilize lightweight
85 (_FPU_MASK_ALL): Delete.
87 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
89 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
90 Utilize lightweight FPSCR read if possible, set fewer FPSCR bits
92 (libc_feresetround_ppc): Replace call to __libc_femergeenv_ppc
93 with simpler required steps, set fewer FPSCR bits if possible.
95 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
97 * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_mode): New.
98 (FPSCR_FPRF_MASK): New. (FPSCR_STATUS_MASK): New.
99 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use lighter-
100 weight access to FPSCR; remove unnecessary second FPSCR read and
102 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
103 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Use lighter-weight
104 access to FPSCR; Use macros in fenv_libc.h in favor of local.
106 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
108 * sysdeps/powerpc/fpu/fenv_libc.h: Define FPSCR bitmasks.
109 (fenv_reg_to_exceptions): Replace bitwise operations with mask-shift.
110 (fenv_exceptions_to_reg): New.
111 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Replace bitwise
112 operation with call to fenv_exceptions_to_reg().
113 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
115 2019-08-28 Florian Weimer <fweimer@redhat.com>
117 * misc/mntent.c (struct mntent_buffer): Define.
118 (mntent_buffer): Adjust type to void *.
119 (allocate): Adjust for allocate_once.
120 (deallocate): New function.
121 (getmntent): Call allocate_once.
123 2019-08-28 Florian Weimer <fweimer@redhat.com>
125 nptl: Move pthread_attr_setdetachstate implementation into libc.
126 * nptl/Makefile (routines): Add pthread_attr_setdetachstate.
127 (libpthread-routines): Remove pthread_attr_setdetachstate.
128 * nptl/Versions (libpthread GLIBC_2.0): Remove
129 pthread_attr_setdetachstate.
130 * nptl/forward.c (pthread_attr_setdetachstate): Remove definition.
131 * nptl/nptl-init.c (pthread_functions): Remove initializer for
132 ptr_pthread_attr_setdetachstate.
133 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
134 Remove ptr_pthread_attr_setdetachstate member.
135 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
136 Remove pthread_attr_setdetachstate.
137 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
139 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
141 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
143 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
145 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
147 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
149 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
150 (GLIBC_2.4): Likewise.
151 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
152 (GLIBC_2.0): Likewise.
153 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
154 (GLIBC_2.18): Likewise.
155 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
156 (GLIBC_2.0): Likewise.
157 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
158 (GLIBC_2.0): Likewise.
159 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
162 (GLIBC_2.0): Likewise.
163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
164 (GLIBC_2.3): Likewise.
165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
166 (GLIBC_2.17): Likewise.
167 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
168 (GLIBC_2.27): Likewise.
169 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
170 (GLIBC_2.0): Likewise.
171 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
172 (GLIBC_2.2): Likewise.
173 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
175 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
176 (GLIBC_2.0): Likewise.
177 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
178 (GLIBC_2.2): Likewise.
179 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
180 (GLIBC_2.2.5): Likewise.
181 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
182 (GLIBC_2.16): Likewise.
184 2019-08-28 Florian Weimer <fweimer@redhat.com>
187 * login/Makefile (tests): Add tst-pututxline-lockfail.
188 (tst-pututxline-lockfail): Link with -lpthread.
189 * login/utmp_file.c (internal_getut_r): Remove buffer argument.
190 (__libc_getutid_r): Adjust.
191 (__libc_pututline): Likewise. Check for file_offset == -1.
192 * login/tst-pututxline-lockfail.c: New file.
194 2019-08-28 Stefan Liebler <stli@linux.ibm.com>
196 * posix/tst-regex.c (do_test): Use tst-regex.input as input file.
197 * posix/tst-regex.input: New file.
199 2019-08-23 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
202 * sysdeps/mips/Makefile [$(subdir) = elf] (tests): Add
204 [$(subdir) = elf] (modules-names): Add tst-undefined-weak-lib.
205 [$(subdir) = elf] ($(objpfx)tst-undefined-weak): Add dependency.
206 * sysdeps/mips/tst-undefined-weak-lib.S: New file.
207 * sysdeps/mips/tst-undefined-weak.c: Likewise.
208 * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
209 Increment highest valid ABIVERSION value.
211 2019-08-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
213 * sysdeps/unix/sysv/linux/mips/Makefile
214 (test-xfail-check-execstack):
215 Move under mips-has-gnustack != yes.
216 (CFLAGS-.o*, ASFLAGS-.o*): New rules.
217 Apply -Wa,-execstack if mips-force-execstack == yes.
218 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
219 * sysdeps/unix/sysv/linux/mips/configure.ac
220 (mips-force-execstack): New var.
221 Set to yes for hard-float builds with minimum_kernel < 4.8.0
222 or minimum_kernel not set at all.
223 (mips-has-gnustack): New var.
224 Use value of libc_cv_as_noexecstack
225 if mips-force-execstack != yes, otherwise set to no.
227 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
228 Florian Weimer <fweimer@redhat.com>
230 * gmon/Versions (libc) [GLIBC_2.31]: New entry.
231 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
232 Make a compat_symbol.
233 * sysdeps/unix/sysv/linux/sparc/profil-counter.h
234 (__profil_counter_global): Likewise.
236 * debug/segfault.c (install_handler): Use SA_SIGINFO if defined.
237 * sysdeps/generic/profil-counter.h (__profil_counter): Cast to
239 * sysdeps/generic/sigcontextinfo.h (GET_PC): Rename to
240 sigcontext_get_pc and return aligned cast to uintptr_t.
241 * sysdeps/mach/hurd/i386/sigcontextinfo.h (GET_PC): Likewise.
242 * sysdeps/posix/profil.c (profil_count): Change PC argument to
244 (__profil): Use SA_SIGINFO.
245 * sysdeps/posix/sprofil.c (profil_count): Change PCP argument to
247 (__sprofil): Use SA_SIGINFO.
248 * sysdeps/unix/sysv/linux/profil-counter.h: New file.
249 * sysdeps/unix/sysv/linux/aarch64/profil-counter.h: Remove file.
250 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
251 * sysdeps/unix/sysv/linux/hppa/profil-counter.h: Likewise.
252 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
253 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: Likewise.
254 * sysdeps/unix/sysv/linux/microblaze/profil-counter.h: Likewise.
255 * sysdeps/unix/sysv/linux/mips/profil-counter.h: Likewise.
256 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: Likewise.
257 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Likewise.
258 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: Likewise.
259 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
260 * sysdeps/sysv/linux/s390/s390-32/profil-counter.h: Likewise.
261 * sysdeps/sysv/linux/s390/s390-64/profil-counter.h: Likewise.
262 * sysdeps/unix/sysv/linux/sh/profil-counter.h: Likewise.
263 * sysdeps/unix/sysv/linux/arm/profil-counter.h (__profil_counter):
264 Assume SA_SIGINFO and use sigcontext_get_pc instead of GET_PC.
265 * sysdeps/unix/sysv/linux/sparc/profil-counter.h: New file.
266 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Remove file.
267 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Likewise.
268 * sysdpes/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT,
269 GET_PC, __sigaction, sigaction): Remove defines.
270 (sigcontext_get_pc): New function.
271 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
272 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
273 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
274 * sysdeps/unix/sysv/linux/hppa/sigcontextinfo.h: Likewise.
275 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
276 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h: Likewise.
277 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
278 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
279 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: Likewise.
280 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
281 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h: Likewise.
282 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
283 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
284 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
285 * sysdeps/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
286 * sysdeps/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
287 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Likewise.
288 * sysdeps/unix/sysv/linux/alpha/register-dump.h (register_dump):
289 Handle CTX argument as ucontext_t.
290 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
292 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Likewise.
293 * sysdeps/sysv/linux/s390/s390-32/register-dump.h: Likewise.
294 * sysdeps/sysv/linux/s390/s390-64/register-dump.h: Likewise.
295 * sysdeps/unix/sysv/linux/sh/register-dump.h: New file.
296 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Remove File.
297 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
298 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
299 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
300 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
301 tst-sigcontextinfo-get_pc.
302 * sysdeps/unix/sysv/linux/tst-sigcontextinfo-get_pc.c: New file.
303 (CFLAGS-tst-sigcontextinfo-get_pc.c): New rule.
305 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
307 * sysdeps/generic/single-thread.h (RTLD_SINGLE_THREAD_P): Add
310 2019-08-23 Rafał Lużyński <digitalfreak@lingonborough.com>
313 * localedata/locales/bo_CN (first_weekday): Add, set to 2 (Monday).
314 * localedata/locales/ug_CN (first_weekday): Likewise.
315 * localedata/locales/zh_CN (first_weekday): Likewise.
317 2019-08-22 Gustavo Romero <gromero@linux.vnet.ibm.com>
319 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix typos and
320 field name in mcontext_t struct.
322 2019-08-22 Joseph Myers <joseph@codesourcery.com>
324 * resolv/tst-resolv-ai_idn-latin1.c (do_test): Mark test
325 unsupported with libidn2 before 2.0.5.
326 * resolv/tst-resolv-ai_idn.c (do_test): Likewise.
328 * manual/time.texi (strftime): Document %Ob and %OB as C2X
331 2019-08-21 Paul Eggert <eggert@cs.ucla.edu>
333 Remove dead regex code
334 * posix/regex_internal.c (re_node_set_insert):
335 Remove unnecessary assignment. Reported by Tim Rühsen in:
336 https://lists.gnu.org/r/bug-gnulib/2019-08/msg00026.html
338 Fix bad pointer / leak in regex code
339 This was found by Coverity (CID 1484201). [BZ#24844]
340 * posix/regex_internal.c (create_cd_newstate): Fix use of bad
341 pointer and/or memory leak when storage is exhausted.
343 2019-08-21 Zack Weinberg <zackw@panix.com>
345 * misc/syslog.c (__vsyslog_internal)
346 * time/getdate.c (__getdate_r)
347 * time/tst_wcsftime.c (main):
348 Use return value of time, not its argument.
350 * string/strfry.c (strfry)
351 * sysdeps/mach/sleep.c (__sleep):
352 Remove unnecessary casts of NULL in calls to time.
354 2019-08-21 Joseph Myers <joseph@codesourcery.com>
356 * math/tgmath.h [__HAVE_FLOAT128X]: Give error.
357 [(__HAVE_FLOAT64X && !__HAVE_FLOAT128)
358 || (__HAVE_FLOAT128 && !__HAVE_FLOAT64X)]: Likewise.
359 (__TGMATH_2_NARROW_F): Likewise.
360 (__TGMATH_2_NARROW_D): New macro.
361 (__TGMATH_2_NARROW_F16): Likewise.
362 (__TGMATH_2_NARROW_F32): Likewise.
363 (__TGMATH_2_NARROW_F64): Likewise.
364 (__TGMATH_2_NARROW_F32X): Likewise.
365 (__TGMATH_2_NARROW_F64X): Likewise.
366 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F): Likewise.
367 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F16): Likewise.
368 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32): Likewise.
369 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F64): Likewise.
370 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32X): Likewise.
371 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fadd): Likewise.
372 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dadd): Likewise.
373 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fdiv): Likewise.
374 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (ddiv): Likewise.
375 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fmul): Likewise.
376 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dmul): Likewise.
377 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fsub): Likewise.
378 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dsub): Likewise.
379 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16add):
381 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16div):
383 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16mul):
385 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16sub):
387 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32add):
389 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32div):
391 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32mul):
393 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32sub):
395 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
396 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64add): Likewise.
397 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
398 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64div): Likewise.
399 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
400 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64mul): Likewise.
401 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
402 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64sub): Likewise.
403 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xadd):
405 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xdiv):
407 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xmul):
409 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xsub):
411 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
412 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xadd): Likewise.
413 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
414 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xdiv): Likewise.
415 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
416 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xmul): Likewise.
417 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
418 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xsub): Likewise.
419 * math/gen-tgmath-tests.py (Type): Add members
420 non_standard_real_argument_types_list, long_double_type,
421 complex_float64_type and float32x_ext_type.
422 (Type.__init__): Set the new members.
423 (Type.floating_type): Add new argument floatn.
424 (Type.real_floating_type): Likewise.
425 (Type.can_combine_types): Likewise.
426 (Type.combine_types): Likewise.
427 (Type.init_types): Create internal Float32x_ext type.
428 (Tests.__init__): Define Float32x_ext in generated C code.
429 (Tests.add_tests): Handle narrowing functions.
430 (Tests.add_all_tests): Likewise.
431 (Tests.tests_text): Allow variation in mant_dig for narrowing
432 functions with compilers before GCC 8.
433 * math/Makefile (tgmath3-narrow-types): New variable.
434 (tgmath3-narrow-macros): Likewise.
435 (tgmath3-macros): Add $(tgmath3-narrow-macros).
437 2019-08-20 Andreas Schwab <schwab@suse.de>
439 * sysdeps/i386/fpu/libm-test-ulps: Update.
441 2019-08-19 Carlos O'Donell <carlos@redhat.com>
443 * nscd/nscd.conf: Add warning and comment about shared option.
445 2019-08-19 Carlos O'Donell <carlos@redhat.com>
447 * nss/nsswitch.conf: Expand comments, and simplify defaults.
448 * manual/nss.texi (NSS Basics): List all known databases.
449 (Services in the NSS configuration): Mention automount.
451 2019-08-19 Florian Weimer <fweimer@redhat.com>
453 Do not print backtraces on fatal errors.
454 * debug/fortify_fail.c (__libc_argv): Remove declaration.
455 (__fortify_fail_abort): Remove definition.
456 (__fortify_fail): Call __libc_message directly.
457 * debug/stack_chk_fail.c (__libc_argv): Remove declaration.
458 (__stack_chk_fail): Call __fortify_fail instead of
459 __fortify_fail_abort.
460 * include/stdio.h (__fortify_fail_abort): Remove declaration.
461 * sysdeps/posix/libc_fatal.c (BEFORE_ABORT, before_abort): Remove
463 (__libc_message): Do not handle do_backtrace. Do not call
465 (__libc_fatal): Do not pass do_backtrace to __libc_message.
466 * sysdeps/unix/sysv/linux/libc_fatal.c (BEFORE_ABORT)
467 (before_abort): Remove definitions.
469 2019-08-16 Florian Weimer <fweimer@redhat.com>
471 nptl: Move pthread_attr_getdetachstate implementation into libc.
472 * nptl/Makefile (routines): Add pthread_attr_getdetachstate.
473 (libpthread-routines): Remove pthread_attr_getdetachstate.
474 * nptl/Versions (libpthread GLIBC_2.0): Remove
475 pthread_attr_getdetachstate.
476 * nptl/forward.c (pthread_attr_getdetachstate): Remove definition.
477 * nptl/nptl-init.c (pthread_functions): Remove initializer for
478 ptr_pthread_attr_getdetachstate.
479 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
480 Remove ptr_pthread_attr_getdetachstate member.
481 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
482 Remove pthread_attr_getdetachstate.
483 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
485 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
487 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
489 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
491 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
493 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
495 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
496 (GLIBC_2.4): Likewise.
497 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
498 (GLIBC_2.0): Likewise.
499 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
500 (GLIBC_2.18): Likewise.
501 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
502 (GLIBC_2.0): Likewise.
503 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
504 (GLIBC_2.0): Likewise.
505 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
508 (GLIBC_2.0): Likewise.
509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
510 (GLIBC_2.3): Likewise.
511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
512 (GLIBC_2.17): Likewise.
513 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
514 (GLIBC_2.27): Likewise.
515 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
516 (GLIBC_2.0): Likewise.
517 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
518 (GLIBC_2.2): Likewise.
519 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
521 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
522 (GLIBC_2.0): Likewise.
523 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
524 (GLIBC_2.2): Likewise.
525 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
526 (GLIBC_2.2.5): Likewise.
527 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
528 (GLIBC_2.16): Likewise.
530 2019-08-16 Joseph Myers <joseph@codesourcery.com>
532 * math/libm-test-compat_totalorder.inc (do_test)
533 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Change condition to
534 [TEST_COMPAT (libm, COMPAT_VER, GLIBC_2_31)].
535 * math/libm-test-compat_totalordermag.inc (do_test)
536 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Likewise.
538 2019-08-15 Florian Weimer <fweimer@redhat.com>
540 nptl: Move pthread_attr_init implementation into libc.
541 * nptl/Makefile (routines): Add pthread_attr_init.
542 (libpthread-routines): Remove pthread_attr_init.
543 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_attr_init.
544 (libpthread GLIBC_2.0): Likewise.
545 * nptl/pthread_attr_init.c: Check for libc compat version instead
546 of libpthread compat version.
547 * nptl/forward.c (__pthread_attr_init_2_0)
548 (__pthread_attr_init_2_1): Remove definitions.
549 * nptl/nptl-init.c (pthread_functions): Remove initializers for
550 ptr___pthread_attr_init_2_0, ptr___pthread_attr_init_2_1.
551 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
552 Remove members ptr___pthread_attr_init_2_0,
553 ptr___pthread_attr_init_2_1.
554 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
555 Remove pthread_attr_init.
556 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
558 (GLIBC_2.1): Likewise.
559 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
561 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
563 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
565 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
567 (GLIBC_2.1): Likewise.
568 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
570 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
571 (GLIBC_2.4): Likewise.
572 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
573 (GLIBC_2.0): Likewise.
574 (GLIBC_2.1): Likewise.
575 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
576 (GLIBC_2.18): Likewise.
577 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
578 (GLIBC_2.0): Likewise.
579 (GLIBC_2.1): Likewise.
580 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
581 (GLIBC_2.0): Likewise.
582 (GLIBC_2.1): Likewise.
583 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
586 (GLIBC_2.0): Likewise.
587 (GLIBC_2.1): Likewise.
588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
589 (GLIBC_2.3): Likewise.
590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
591 (GLIBC_2.17): Likewise.
592 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
593 (GLIBC_2.27): Likewise.
594 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
595 (GLIBC_2.0): Likewise.
596 (GLIBC_2.1): Likewise.
597 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
598 (GLIBC_2.2): Likewise.
599 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
601 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
602 (GLIBC_2.0): Likewise.
603 (GLIBC_2.1): Likewise.
604 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
605 (GLIBC_2.2): Likewise.
606 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
607 (GLIBC_2.2.5): Likewise.
608 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
609 (GLIBC_2.16): Likewise.
611 2019-08-15 Florian Weimer <fweimer@redhat.com>
614 * elf/dl-object.c (_dl_new_object): Do not store pathnames in the
615 new object in __RTLD_OPENEXEC mode (except for the origin).
616 * elf/tst-dlopen-aout.c (check_dlopen_failure): New function with
617 check for the error message.
618 (do_test): Call it. Add check using relative path.
619 * elf/Makefile (tests-container): Add tst-dlopen-aout-container.
620 (tst-dlopen-aout-container): Link with libpthread.
621 (LDFLAGS-tst-dlopen-aout-container): Set RPATH to $ORIGIN.
623 2019-08-15 Joseph Myers <joseph@codesourcery.com>
625 * math/bits/mathcalls.h
626 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
627 (totalorder): Take pointer arguments.
628 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
629 (totalordermag): Likewise.
630 * manual/arith.texi (totalorder): Likewise.
631 (totalorderf): Likewise.
632 (totalorderl): Likewise.
633 (totalorderfN): Likewise.
634 (totalorderfNx): Likewise.
635 (totalordermag): Likewise.
636 (totalordermagf): Likewise.
637 (totalordermagl): Likewise.
638 (totalordermagfN): Likewise.
639 (totalordermagfNx): Likewise.
640 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): Remove macro.
641 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder): Likewise.
642 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag): Likewise.
643 * math/Versions (GLIBC_2.31): Add totalorder, totalorderf,
644 totalorderl, totalordermag, totalordermagf, totalordermagl,
645 totalorderf32, totalorderf64, totalorderf32x, totalordermagf32,
646 totalordermagf64, totalordermagf32x, totalorderf64x,
647 totalordermagf64x, totalorderf128 and totalordermagf128.
648 * math/Makefile (libm-test-funcs-noauto): Add compat_totalorder
649 and compat_totalordermag.
650 (libm-test-funcs-compat): New variable.
651 (libm-tests-compat): Likewise.
652 (tests): Do not include compat tests.
653 (tests-internal): Add compat tests.
654 ($(foreach t,$(libm-tests-base),
655 $(objpfx)$(t)-compat_totalorder.o)): Depend
656 on $(objpfx)libm-test-totalorder.c.
657 ($(foreach t,$(libm-tests-base),
658 $(objpfx)$(t)-compat_totalordermag.o): Depend on
659 $(objpfx)libm-test-totalordermag.c.
660 (tgmath3-macros): Remove totalorder and totalordermag.
661 * math/libm-test-compat_totalorder.inc: New file.
662 * math/libm-test-compat_totalordermag.inc: Likewise.
663 * math/libm-test-driver.c (struct test_ff_i_data): Update comment.
664 (RUN_TEST_fpfp_b): New macro.
665 (RUN_TEST_LOOP_fpfp_b): Likewise.
666 * math/libm-test-totalorder.inc (totalorder_test_data): Use
668 (totalorder_test): Condition on [!COMPAT_TEST].
670 * math/libm-test-totalordermag.inc (totalordermag_test_data): Use
672 (totalordermag_test): Condition on [!COMPAT_TEST].
674 * math/gen-tgmath-tests.py (Tests.add_all_tests): Remove
675 totalorder and totalordermag.
676 * math/test-tgmath.c (NCALLS): Change to 132.
677 (F(compile_test)): Do not call totalorder or totalordermag.
678 (F(totalorder)): Remove.
679 (F(totalordermag)): Likewise.
680 * include/float.h (__STDC_WANT_IEC_60559_TYPES_EXT__): Do not
681 define if [__STDC_WANT_IEC_60559_TYPES_EXT__].
682 * include/setjmp.h [!_ISOMAC] (STR_HELPER): Rename to
684 [!_ISOMAC] (STR): Rename to SJSTR. Update call to STR_HELPER.
685 [!_ISOMAC] (TEST_SIZE): Update call to STR.
686 [!_ISOMAC] (TEST_ALIGN): Likewise.
687 [!_ISOMAC] (TEST_OFFSET): Likewise.
688 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include <shlib-compat.h>
689 and <first-versions.h>.
690 (__totalorder): Take pointer arguments. Add symbol versions and
692 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
693 <shlib-compat.h> and <first-versions.h>.
694 (__totalordermag): Take pointer arguments. Add symbol versions
696 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
697 <shlib-compat.h> and <first-versions.h>.
698 (__totalorder): Take pointer arguments. Add symbol versions and
700 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
701 <shlib-compat.h> and <first-versions.h>.
702 (__totalordermag): Take pointer arguments. Add symbol versions
704 * sysdeps/ieee754/float128/float128_private.h
705 (__totalorder_compatl): New macro.
706 (__totalordermag_compatl): Likewise.
707 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include <shlib-compat.h>
708 and <first-versions.h>.
709 (__totalorderf): Take pointer arguments. Add symbol versions and
711 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
712 <shlib-compat.h> and <first-versions.h>.
713 (__totalordermagf): Take pointer arguments. Add symbol versions
715 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
716 <shlib-compat.h> and <first-versions.h>.
717 (__totalorderl): Take pointer arguments. Add symbol versions and
719 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
720 <shlib-compat.h> and <first-versions.h>.
721 (__totalordermagl): Take pointer arguments. Add symbol versions
723 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
725 (__totalorderl): Take pointer arguments. Add symbol versions and
727 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
729 (__totalordermagl): Take pointer arguments. Add symbol versions
731 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
732 <shlib-compat.h> and <first-versions.h>.
733 (__totalorderl): Take pointer arguments. Add symbol versions and
735 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
736 <shlib-compat.h> and <first-versions.h>.
737 (__totalordermagl): Take pointer arguments. Add symbol versions
739 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c (totalorderl): Take
741 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c (totalordermagl):
743 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
744 (do_test): Update calls to totalorderl and totalordermagl.
745 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
746 Update calls to totalorderl and totalordermagl.
747 * sysdeps/mach/hurd/i386/libm.abilist: Update.
748 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
749 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
750 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
751 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
752 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
753 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
754 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
755 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
756 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
757 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
758 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
759 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
760 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libm.abilist:
767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libm.abilist:
769 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
770 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
771 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
772 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
773 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
774 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
775 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
776 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
778 2019-08-15 Florian Weimer <fweimer@redhat.com>
781 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Add
782 __attribute_nonstring__ to ut_line, ut_id, ut_user, ut_host.
783 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmpx):
785 * sysdeps/gnu/bits/utmp.h (struct utmp): Add
786 __attribute_nonstring__ to ut_id.
787 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmp):
790 2019-08-15 Florian Weimer <fweimer@redhat.com>
793 * login/utmp_file.c (file_locking_failed): Use struct flock64.
794 (file_locking_unlock): Likewise.
796 2019-08-15 Florian Weimer <fweimer@redhat.com>
799 login: Disarm timer after utmp lock acquisition.
800 * login/utmp_file.c (struct file_locking): Remove.
801 (try_file_lock): Adjust.
802 (file_lock_restore): Remove function.
803 (__libc_getutent_r): .
804 (internal_getut_r): Likewise.
805 (__libc_getutline_r): Likewise.
806 (__libc_pututline): Likewise.
807 (__libc_updwtmp): Likewise.
809 2019-08-15 Florian Weimer <fweimer@redhat.com>
811 nptl: Remove pthread_self compatibility symbol from libpthread.
812 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_self,
814 * nptl/Makefile (libpthread-routines): Remove compat-pthread_self.
815 * nptl/compat-pthread_self.c: Remove file.
816 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
818 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
820 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
822 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
824 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
826 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
828 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
829 (GLIBC_2.4): Likewise.
830 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
831 (GLIBC_2.0): Likewise.
832 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
833 (GLIBC_2.18): Likewise.
834 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
835 (GLIBC_2.0): Likewise.
836 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
837 (GLIBC_2.0): Likewise.
838 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
841 (GLIBC_2.0): Likewise.
842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
843 (GLIBC_2.3): Likewise.
844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
845 (GLIBC_2.17): Likewise.
846 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
847 (GLIBC_2.0): Likewise.
848 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
849 (GLIBC_2.2): Likewise.
850 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
852 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
853 (GLIBC_2.0): Likewise.
854 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
855 (GLIBC_2.2): Likewise.
856 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
857 (GLIBC_2.2.5): Likewise.
858 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
859 (GLIBC_2.16): Likewise.
861 2019-08-15 Florian Weimer <fweimer@redhat.com>
863 nptl: Move pthread_attr_destroy implementation into libc.
864 * nptl/Makefile (routines): Add pthread_attr_destroy.
865 (libpthread-routines): Remove pthread_attr_destroy.
866 * nptl/Versions (libpthread GLIBC_2.0): Remove
867 pthread_attr_destroy.
868 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Check for
869 libc compat version instead of libpthread compat version.
870 * nptl/forward.c (pthread_attr_destroy): Remove definition.
871 * nptl/nptl-init.c (pthread_functions): Remove initializer for
872 ptr_pthread_attr_destroy.
873 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
874 Remove ptr_pthread_attr_destroy member.
875 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
876 Remove pthread_attr_destroy.
877 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
879 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
881 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
883 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
885 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
887 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
889 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
890 (GLIBC_2.4): Likewise.
891 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
892 (GLIBC_2.0): Likewise.
893 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
894 (GLIBC_2.18): Likewise.
895 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
896 (GLIBC_2.0): Likewise.
897 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
898 (GLIBC_2.0): Likewise.
899 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
902 (GLIBC_2.0): Likewise.
903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
904 (GLIBC_2.3): Likewise.
905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
906 (GLIBC_2.17): Likewise.
907 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
908 (GLIBC_2.27): Likewise.
909 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
910 (GLIBC_2.0): Likewise.
911 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
912 (GLIBC_2.2): Likewise.
913 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
915 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
916 (GLIBC_2.0): Likewise.
917 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
918 (GLIBC_2.2): Likewise.
919 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
920 (GLIBC_2.2.5): Likewise.
921 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
922 (GLIBC_2.16): Likewise.
924 2019-08-15 Andreas Schwab <schwab@suse.de>
926 * sysdeps/i386/fpu/libm-test-ulps: Update.
928 2019-08-15 Florian Weimer <fweimer@redhat.com>
930 * malloc/Makefile (tests): Only add tst-mxfast for
932 * malloc/tst-mxfast.c: Fix copyright year.
933 (do_test): Fix GNU style issues. Use TEST_COMPARE instead of
936 2019-08-15 Florian Weimer <fweimer@redhat.com>
938 * login/utmp_file.c (__libc_updwtmp): Unlock the right file
940 * login/Makefile (tests): Add tst-updwtmpx.
941 * login/tst-updwtmpx.c: New file.
943 2019-08-15 Florian Weimer <fweimer@redhat.com>
945 nptl: Move pthread_equal implementation into libc.
946 * nptl/Makefile (routines): Add pthread_equal.
947 * nptl/forward.c (pthread_equal): Remove definition.
948 * nptl/nptl-init.c (pthread_functions): Remove initializer for
950 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
951 Remove ptr_pthread_equal member.
952 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
953 Remove pthread_equal.
954 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
956 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
958 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
960 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
962 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
964 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
966 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
967 (GLIBC_2.4): Likewise.
968 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
969 (GLIBC_2.0): Likewise.
970 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
971 (GLIBC_2.18): Likewise.
972 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
973 (GLIBC_2.0): Likewise.
974 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
975 (GLIBC_2.0): Likewise.
976 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
979 (GLIBC_2.0): Likewise.
980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
981 (GLIBC_2.3): Likewise.
982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
983 (GLIBC_2.17): Likewise.
984 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
985 (GLIBC_2.27): Likewise.
986 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
987 (GLIBC_2.0): Likewise.
988 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
989 (GLIBC_2.2): Likewise.
990 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
992 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
993 (GLIBC_2.0): Likewise.
994 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
995 (GLIBC_2.2): Likewise.
996 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
997 (GLIBC_2.2.5): Likewise.
998 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
999 (GLIBC_2.16): Likewise.
1001 2019-08-14 Florian Weimer <fweimer@redhat.com>
1003 * support/support_descriptors.c: Include <support/descriptors.h>.
1005 2019-08-14 Feng Xue <fxue@os.amperecomputing.com>
1007 * sysdeps/aarch64/multiarch/memset_base64.S (DC_ZVA_THRESHOLD):
1008 Disable DC ZVA code if this macro is defined as zero.
1009 * sysdeps/aarch64/multiarch/memset_emag.S (DC_ZVA_THRESHOLD):
1010 Change to zero to disable using DC ZVA.
1012 2019-08-13 Joseph Myers <joseph@codesourcery.com>
1014 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT):
1016 (__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X): New macro.
1017 * bits/math-finite.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]: Change
1018 to [__GLIBC_USE (IEC_60559_FUNCS_EXT_C2X)].
1019 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]:
1022 2019-08-13 Florian Weimer <fweimer@redhat.com>
1024 * login/utmp_file.c (LOCK_FILE, LOCKING_FAILED, UNLOCK_FILE):
1026 (struct file_locking): New.
1027 (try_file_lock, file_unlock, file_lock_restore): New functions.
1028 (__libc_getutent_r): Use the new functions.
1029 (internal_getut_r): Likewise.
1030 (__libc_getutline_r): Likewise.
1031 (__libc_pututline): Likewise.
1032 (__libc_updwtmp): Likewise.
1034 2019-08-13 Joseph Myers <joseph@codesourcery.com>
1036 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): Update
1038 (__GLIBC_USE_IEC_60559_BFP_EXT_C2X): New macro.
1039 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Change to
1040 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)].
1041 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1042 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1043 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1044 * stdlib/bits/stdlib-ldbl.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1046 * stdlib/stdint.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1047 * stdlib/stdlib.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1048 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1050 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1052 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1054 * sysdeps/csky/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1056 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1058 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1060 * sysdeps/m68k/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1062 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE
1063 (IEC_60559_BFP_EXT)]: Likewise.
1064 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1066 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1068 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1070 * sysdeps/riscv/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1072 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1074 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1076 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1078 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1080 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1081 Likewise, except for totalorder, totalordermag, getpayload,
1082 setpayload and setpayloadsig.
1083 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise,
1084 except for totalorder and totalordermag.
1086 * string/string.h (memccpy): Also declare if [__GLIBC_USE (ISOC2X)].
1088 (strndup): Likewise.
1090 * include/features.h (_ISOC2X_SOURCE): New feature test macro.
1091 Undefine and define to 1 if [_GNU_SOURCE].
1092 (__GLIBC_USE_ISOC2X): New macro. Undefine and redefine depending
1093 on [_ISOC2X_SOURCE] and [__STDC_VERSION__ > 201710L].
1094 (__USE_ISOC11): Also define to 1 if [_ISOC2X_SOURCE].
1095 (__USE_ISOC99): Likewise.
1096 (__USE_ISOC95): Likewise.
1097 * manual/creature.texi (_ISOC2X_SOURCE): Document.
1099 2019-08-13 Florian Weimer <fweimer@redhat.com>
1101 * login/getutid_r.c (__getutid_r): _HAVE_UT_ID and _HAVE_UT_TYPE
1103 * login/getutmp.c (getutmp): _HAVE_UT_TYPE, _HAVE_UT_PID,
1104 _HAVE_UT_ID, _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1105 * login/getutmpx.c (getutmpx): Likewise.
1106 * login/login.c (login): _HAVE_UT_TYPE, _HAVE_UT_PID are always
1108 * login/logout.c (logout): _HAVE_UT_TYPE, _HAVE_UT_HOST,
1109 _HAVE_UT_TV are always true.
1110 * login/logwtmp.c (logwtmp): _HAVE_UT_PID, _HAVE_UT_TYPE,
1111 _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1112 * login/tst-utmp.c: _HAVE_UT_TYPE, _HAVE_UT_TV are always true.
1113 * login/utmp_file.c (__libc_setutent): _HAVE_UT_TYPE, _HAVE_UT_ID
1115 (internal_getut_r): _HAVE_UT_TYPE is always true.
1116 (__libc_pututline): Likewise.
1117 * login/programs/utmpdump.c (print_entry): Assume that
1118 _HAVE_UT_TYPE, _HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST,
1119 _HAVE_UT_TV are always true.
1120 * sysdeps/generic/utmp-equal.h (__utmp_equal): _HAVE_UT_TYPE,
1121 _HAVE_UT_ID are always true.
1122 * sysdeps/gnu/bits/utmp.h: Move to ...
1123 * bits/utmp.h: ... here, replacing the old file.
1125 2019-08-12 Florian Weimer <fweimer@redhat.com>
1127 * elf/Makefile (tests): Unconditionally add tst-dlopen-aout.
1128 [$(build-hardcoded-path-in-tests)] (tst-dlopen-aout-no-pie): Do
1130 * elf/tst-dlopen-aout.c: Do not included <assert.h>.
1131 (do_test): Open the executable using an absolute path. Print
1132 error message to standard output.
1134 2019-08-09 DJ Delorie <dj@redhat.com>
1136 * elf/dl-tunables.list: Add glibc.malloc.mxfast.
1137 * manual/tunables.texi: Document it.
1138 * malloc/malloc.c (do_set_mxfast): New.
1139 (__libc_mallopt): Call it.
1140 * malloc/arena.c: Add mxfast tunable.
1141 * malloc/tst-mxfast.c: New.
1142 * malloc/Makefile: Add it.
1144 2019-08-08 Niklas Hambüchen <mail@nh2.me>
1145 Carlos O'Donell <carlos@redhat.com>
1148 * malloc/malloc.c (__malloc_info): Account for top chunk.
1150 2019-08-07 Joseph Myers <joseph@codesourcery.com>
1152 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1153 (SYNC_FILE_RANGE_WRITE_AND_WAIT): New macro.
1155 2019-08-06 Joseph Myers <joseph@codesourcery.com>
1157 * io/fcntl.h [__USE_GNU] (AT_RECURSIVE): New macro.
1159 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
1161 * sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define.
1163 2019-08-05 Joseph Myers <joseph@codesourcery.com>
1165 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU] (CLONE_PIDFD):
1168 2019-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1171 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (ALWAYS_USE_VSYSCALL):
1173 * sysdeps/unix/sysv/linux/arm/sysdep.h (ALWAYS_USE_VSYSCALL):
1175 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
1177 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (ALWAYS_USE_VSYSCALL):
1179 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1180 (ALWAYS_USE_VSYSCALL): Likewise.
1181 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1182 (ALWAYS_USE_VSYSCALL): Likewise.
1183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1184 (ALWAYS_USE_VSYSCALL): Likewise.
1185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1186 (ALWAYS_USE_VSYSCALL): Likewise.
1187 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
1189 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1190 (ALWAYS_USE_VSYSCALL): Likewise.
1191 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1192 (ALWAYS_USE_VSYSCALL): Likewise.
1193 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
1195 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
1197 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Remove #if USE_VSYSCALL.
1198 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Likewise.
1199 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL,
1200 USE_VSYSCALL): Remove defitions.
1203 * sysdeps/unix/sysv/linux/sparc/init-first.c: Remove #ifdef SHARED.
1204 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
1205 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
1209 * sysdeps/unix/sysv/linux/s390/init-first.c: Remove #ifdef SHARED.
1210 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
1211 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1212 (ALWAYS_USE_VSYSCALL): Define.
1213 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1214 (ALWAYS_USE_VSYSCALL): Likewise.
1217 * sysdeps/unix/sysv/linux/riscv/init-first.c: Remove #ifdef SHARED.
1218 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
1219 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
1222 * sysdeps/sh/libm-test-ulps: Update.
1224 2019-08-05 Florian Weimer <fweimer@redhat.com>
1227 * login/uptmp-private.h (struct ufuncs): Remove definition.
1228 (__libc_utmp_file_functions, __libc_utmp_unknown_functions)
1229 (__libc_utmp_jump_table): Remove declarations.
1230 (__libc_setutent, __libc_getutent_r, __libc_getutid_r)
1231 (__libc_getutline_r, __libc_pututline, __libc_endutent)
1232 (__libc_updwtmp): Declare.
1233 * login/getutent_r.c (__libc_utmp_unknown_functions)
1234 (__libc_utmp_jump_table, setutent_unknown, getutent_r_unknown)
1235 (getutid_r_unknown, getutline_r_unknown, pututline_unknown)
1236 (endutent_unknown): Remove definitions.
1237 (__setutent): Call __libc_setutent.
1238 (__getutent_r): Call __libc_getutent_r.
1239 (__pututline): Call __libc_pututline.
1240 (__endutent): Call __libc_endutent.
1241 * login/getutid_r.c (__getutid_r): Call __libc_getutid_r.
1242 * login/getutline_r.c (__getutline_r): Call __libc_getutline_r.
1243 * login/updwtmp.c (__updwtmp): Call __libc_updwtmp.
1244 * login/utmp_file.c (__libc_utmp_file_functions): Remove definition
1245 (__libc_setutent): Rename from stetutent_file. Drop static.
1246 (maybe_setutent): New function.
1247 (__libc_getutent_r): Rename from getutent_r_file. Drop static.
1248 Check for initialization.
1249 (__libc_getutid_r): Rename from getutid_r_file. Drop static.
1250 Check for initialization.
1251 (__libc_getutline_r): Rename from getutline_r_file. Drop static.
1252 Check for initialization.
1253 (__libc_pututline): Rename from pututline_file. Drop static.
1254 Check for initialization.
1255 (__libc_endutent): Rename from endutent_file. Drop static. Check
1257 (__libc_updwtmp): Rename from updwtmp_file. Drop static.
1258 * login/utmpname.c (__utmpname): Call __libc_endutent.
1259 * sysdeps/unix/getlogin_r (__getlogin_r): Call __libc_setutent,
1260 __libc_getutlien_r, __libc_endutent.
1261 * manual/users.texi (Who Logged In, Manipulating the Database):
1264 2019-08-05 Alexandra Hájková <ahajkova@redhat.com>
1266 * elf/tst-ldconfig-bad-aux-cache.c: Use support_capture_subprocess.
1268 2019-08-02 Joseph Myers <joseph@codesourcery.com>
1270 * sysdeps/unix/sysv/linux/syscall-names.list: Update comment.
1272 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
1273 kernel version number to 5.2.
1275 2019-08-01 Raoni Fassina Firmino <raoni@linux.ibm.com>
1277 * sysdeps/powerpc/powerpc64/power8/memchr.S: Update power8
1278 mnemonics and set .machine power8.
1279 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
1280 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Likewise.
1281 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
1282 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
1283 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
1284 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
1285 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
1286 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
1287 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
1288 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
1290 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1292 * sysdeps/hppa/fpu/libm-test-ulps: Update.
1294 2019-08-01 Florian Weimer <fweimer@redhat.com>
1297 * malloc/malloc.c (__malloc_info): Remove unwanted leading
1300 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1303 sysdeps/posix/tempname.c (__gen_tempname): get entropy on each
1306 2019-08-01 Carlos O'Donell <carlos@redhat.com>
1308 * version.h (RELEASE): Set to "stable".
1309 (VERSION): Set to "2.30".
1310 * include/features.h (__GLIBC_MINOR__): Set to 2.30.
1312 * manual/install.texi: Update component versions.
1313 * INSTALL: Regenerate.
1316 2019-07-31 Carlos O'Donell <carlos@redhat.com>
1318 * po/be.po: Update translations.
1319 * po/bg.po: Likewise.
1320 * po/ca.po: Likewise.
1321 * po/cs.po: Likewise.
1322 * po/da.po: Likewise.
1323 * po/de.po: Likewise.
1324 * po/el.po: Likewise.
1325 * po/eo.po: Likewise.
1326 * po/es.po: Likewise.
1327 * po/fi.po: Likewise.
1328 * po/fr.po: Likewise.
1329 * po/gl.po: Likewise.
1330 * po/hr.po: Likewise.
1331 * po/hu.po: Likewise.
1332 * po/ia.po: Likewise.
1333 * po/id.po: Likewise.
1334 * po/it.po: Likewise.
1335 * po/ja.po: Likewise.
1336 * po/ko.po: Likewise.
1337 * po/lt.po: Likewise.
1338 * po/nb.po: Likewise.
1339 * po/nl.po: Likewise.
1340 * po/pl.po: Likewise.
1341 * po/pt_BR.po: Likewise.
1342 * po/ru.po: Likewise.
1343 * po/rw.po: Likewise.
1344 * po/sk.po: Likewise.
1345 * po/sl.po: Likewise.
1346 * po/sv.po: Likewise.
1347 * po/tr.po: Likewise.
1348 * po/uk.po: Likewise.
1349 * po/vi.po: Likewise.
1350 * po/zh_CN.po: Likewise.
1351 * po/zh_TW.po: Likewise.
1353 2019-07-31 Florian Weimer <fweimer@redhat.com>
1357 iconv, libio: Revert reference counting changes.
1358 * iconv/gconv_cache.c (__gconv_release_cache): Unconditionally
1359 free the steps array.
1360 * libio/Makefile (tests): Remove tst-wfile-gconv.
1361 (tests-container): Do not add tst-wfile-ascii.
1362 (tst-wfile-gconv-ENV): Do not set.
1363 (generated): Do not add tst-wfile-gconv.mtrace,
1364 tst-wfile-gconv.check.
1365 [($run-built-tests)] (tests-special): Do not add
1366 tst-wfile-gconv-mem.out.
1367 (tst-wfile-gconv.out, tst-wfile-gconv-mem.out): Remove targets.
1368 * libio/iofclose.c (_IO_new_fclose): Call __gconv_release_step
1369 instead of __wcsmbs_clone_conv.
1370 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Remove definition.
1371 * wcsmbs/wcsmbsload.h (__wcsmbs_clone_conv): Remove declaration.
1373 2019-07-30 Joseph Myers <joseph@codesourcery.com>
1375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1376 (__CONTEXT_FUNC_NAME): Restore setting of r31.
1378 2019-07-30 Florian Weimer <fweimer@redhat.com>
1380 * nptl/tst-pthread-getattr.c (allocate_and_test): Change return
1381 type to uintptr_t. Update comment.
1382 (check_stack_top): Adjust.
1384 2019-07-29 Florian Weimer <fweimer@redhat.com>
1386 Linux: Move declaration of getdents64 to <dirent.h>.
1387 * bits/dirent_ext.h: New file.
1388 * dirent/Makefile (headers): Add bits/dirent_ext.h.
1389 * dirent/dirent.h: Include <bits/dirent_ext.h>.
1390 * sysdeps/unix/sysv/linux/bits/dirent_ext.h: New file.
1391 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Remove
1393 * manual/filesys.texi (Low-level Directory Access): Update header
1396 2019-07-29 DJ Delorie <dj@redhat.com>
1397 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1400 * Makeconfig (all-subdirs): Improved source comments.
1401 * Makefile (testroot.pristine/install.stamp): Pass
1402 subdirs='$(sorted-subdirs)' to make install.
1404 2019-07-25 Florian Weimer <fweimer@redhat.com>
1407 * iconv/gconv_cache.c (__gconv_release_cache): Check reference
1408 counter before freeing array.
1410 2019-07-24 H.J. Lu <hongjiu.lu@intel.com>
1413 * sysdeps/x86_64/configure.ac: Check if -mprefer-vector-width=128
1415 * sysdeps/x86_64/configure: Regenerated.
1416 * sysdeps/x86_64/fpu/Makefile (CFLAGS-branred.c): New. Set
1417 to -mprefer-vector-width=128 if supported.
1419 2019-07-24 Florian Weimer <fweimer@redhat.com>
1421 * scripts/build-many-glibcs.py (Context.checkout): Default to
1424 2019-07-24 Florian Weimer <fweimer@redhat.com>
1427 Linux: Use in-tree copy of SO_ constants for !__USE_MISC.
1428 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == socket]
1429 (sysdep_headers): Add bits/socket-constants.h.
1430 (tests-special): Add tst-socket-consts.out.
1431 (tst-socket-consts.out): New target.
1432 * sysdeps/unix/sysv/linux/bits/socket.h: Remove macro tracking
1433 around <asm/unistd.h>.
1434 [__USE_MISC]: Include <bits/types/time_t.h> before <asm/socket.h>.
1435 [!__USE_MISC]: Include <sys/socket-constants.h> instead of
1437 * sysdeps/unix/sysv/linux/bits/tst-socket-consts.py: New file.
1438 * sysdeps/unix/sysv/linux/bits/socket-constants.h: Likewise.
1439 * sysdeps/unix/sysv/linux/alpha/bits/socket-constants.h: Likewise.
1440 * sysdeps/unix/sysv/linux/hppa/bits/socket-constants.h: Likewise.
1441 * sysdeps/unix/sysv/linux/mips/bits/socket-constants.h: Likewise.
1442 * sysdeps/unix/sysv/linux/powerpc/bits/socket-constants.h:
1444 * sysdeps/unix/sysv/linux/sparc/bits/socket-constants.h: Likewise.
1446 2019-07-23 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1449 * Makefile (testroot.pristine/install.stamp): Pass
1450 subdirs='$(all-subdirs)' to make install.
1452 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
1453 the same arguments used in all tests.
1455 2019-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
1457 * NEWS: Mention the AArch64 IFUNC resolver ABI change.
1459 2019-07-20 Egor Kobylkin <egor@kobylkin.com>
1462 * locale/C-translit.h.in: Add Cyrillic transliteration.
1464 2019-07-19 Florian Weimer <fweimer@redhat.com>
1466 * sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
1468 (fsconfig): Add system call name.
1469 (fsmount): Likewise.
1472 (move_mount): Likewise.
1473 (open_tree): Likewise.
1475 2019-07-18 Carlos O'Donell <carlos@redhat.com>
1477 * po/libc.pot: Regenerate.
1479 2019-07-18 Mike Crowe <mac@mcrowe.com>
1481 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
1482 functions recently added to sysdeps/nptl/pthread.h:
1483 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
1484 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
1486 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
1487 pthread_cond_clockwait forwarding functions. There are no internal
1488 users, so it is unnecessary to expose these functions in libc.so.
1489 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
1490 unnecessary ptr___pthread_cond_clockwait member.
1491 * nptl/nptl-init.c (pthread_functions): Remove assignment of
1494 2019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
1497 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
1498 begin with an uppercase letter now.
1500 (mon): Update from CLDR, reword February from "Kudo" to
1501 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
1502 and August from "Liiqen" to "Leqeeni".
1503 * localedata/locales/aa_ER (mon): Update from CLDR, reword
1504 April from "Agda Baxisso" to "Agda Baxis" and August from
1505 "Leqeeni" to "Liiqen".
1506 * localedata/locales/aa_ER@saaho (mon): Likewise.
1507 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
1508 abbreviated February from "Kud" to "Nah".
1509 (mon): Update from CLDR, reword February from "Kudo" to
1510 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
1512 2019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
1515 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
1517 2019-07-17 PanderMusubi <pander@users.sourceforge.net>
1520 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
1521 name_mrs, name_miss, and name_ms.
1522 * localedata/locales/nl_NL (LC_NAME): Likewise.
1524 2019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
1527 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
1528 * localedata/locales/en_IE (first_weekday): Likewise.
1530 2019-07-12 Mike Crowe <mac@mcrowe.com>
1532 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
1533 that is only useful if futex_supports_exact_relative_timeouts ()
1535 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
1537 * sysdeps/nptl/futex-internal.h: Remove comment about relative
1538 timeouts potentially being imprecise since it's no longer true.
1539 Remove declaration of futex_supports_exact_relative_timeouts.
1540 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
1541 of futex_supports_exact_relative_timeouts.
1543 * NEWS: Mention recently-added pthread_cond_clockwait,
1544 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
1545 sem_clockwait functions.
1547 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
1548 works like pthread_mutex_timedlock but takes a clockid parameter to
1549 measure the abstime parameter against.
1550 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
1551 * nptl/DESIGN-systemtap-probes.txt: Likewise.
1552 * nptl/pthread_mutex_timedlock.c
1553 (__pthread_mutex_clocklock_common): Rename from
1554 __pthread_mutex_timedlock and add clockid parameter. Pass this
1555 parameter to lll_clocklock and lll_clocklock_elision in place of
1556 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
1557 LIBC_PROBE and validate clockid parameter before calling
1558 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
1559 implementation to add LIBC_PROBE and calls
1560 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
1562 * nptl/Makefile: Add tst-mutex11.c.
1563 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
1564 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
1565 clockid parameters to pthread_mutex_clocklock.
1566 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
1567 clockid parameter to indicate which clock to be used. Call
1568 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
1569 (do_test): Call do_test_clock to separately test
1570 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
1571 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
1572 * nptl/tst-mutex9.c: Likewise.
1573 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
1574 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
1576 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
1578 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
1580 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
1582 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
1584 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
1586 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
1588 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1589 (GLIBC_2.30): Likewise.
1590 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1591 (GLIBC_2.30): Likewise.
1592 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1593 (GLIBC_2.30): Likewise.
1594 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1595 (GLIBC_2.30): Likewise.
1596 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1597 (GLIBC_2.30): Likewise.
1598 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
1600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1601 (GLIBC_2.30): Likewise.
1602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1603 (GLIBC_2.30): Likewise.
1604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1605 (GLIBC_2.30): Likewise.
1606 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1607 (GLIBC_2.30): Likewise.
1608 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1609 (GLIBC_2.30): Likewise.
1610 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1611 (GLIBC_2.30): Likewise.
1612 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
1614 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1615 (GLIBC_2.30): Likewise.
1616 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1617 (GLIBC_2.30): Likewise.
1618 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1619 (GLIBC_2.30): Likewise.
1620 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1621 (GLIBC_2.30): Likewise.
1623 nptl: Rename lll_timedlock to lll_clocklock and add clockid
1624 parameter to indicate the clock that the abstime parameter should
1625 be measured against in preparation for adding
1626 pthread_mutex_clocklock.
1627 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
1628 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
1629 from __lll_timedlock and add clockid parameter.
1630 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
1632 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
1633 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
1634 rather than __gettimeofday so that clockid can be used. This means
1635 that conversion from struct timeval is no longer required.
1636 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
1638 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
1639 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
1640 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
1641 from lll_timedlock_elision, add clockid parameter and use
1642 meaningful names for other parameters. (__pthread_mutex_timedlock):
1643 Pass CLOCK_REALTIME where necessary to lll_clocklock and
1644 lll_clocklock_elision.
1645 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
1646 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
1647 clockid parameter. (__lll_clocklock_elision): Rename from
1648 __lll_timedlock_elision and add clockid parameter.
1649 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1650 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
1651 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
1652 (__lll_lock_elision): Call __lll_clocklock_elision rather than
1653 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
1654 (LLL_LOCK): Likewise.
1655 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1656 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
1658 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
1659 pthread_rwlock_clockwrlock which behave like
1660 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
1661 respectively, except they always measure abstime against the
1662 supplied clockid. The functions currently support CLOCK_REALTIME
1663 and CLOCK_MONOTONIC and return EINVAL if any other clock is
1665 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
1666 pthread_wrlock_clockwrlock.
1667 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
1668 pthread_rwlock_clockwrlock.c.
1669 * nptl/pthread_rwlock_clockrdlock.c: Implement
1670 pthread_rwlock_clockrdlock.
1671 * nptl/pthread_rwlock_clockwrlock.c: Implement
1672 pthread_rwlock_clockwrlock.
1673 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
1674 clockid parameter and verify that it indicates a supported clock on
1675 entry so that we fail even if it doesn't end up being used. Pass
1676 that clock on to futex_abstimed_wait when necessary.
1677 (__pthread_rwlock_wrlock_full): Likewise.
1678 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
1679 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
1680 be used because there's no timeout.
1681 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
1682 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
1683 be used because there is no timeout.
1684 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1685 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
1687 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1688 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
1690 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
1691 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
1692 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
1693 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
1694 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
1695 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
1696 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
1697 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1698 (GLIBC_2.30): Likewise.
1699 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1700 (GLIBC_2.30): Likewise.
1701 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1702 (GLIBC_2.30): Likewise.
1703 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1704 (GLIBC_2.30): Likewise.
1705 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1706 (GLIBC_2.30): Likewise.
1707 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
1708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1709 (GLIBC_2.30): Likewise.
1710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1711 (GLIBC_2.30): Likewise.
1712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1713 (GLIBC_2.30): Likewise.
1714 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1715 (GLIBC_2.30): Likewise.
1716 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1717 (GLIBC_2.30): Likewise.
1718 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1719 (GLIBC_2.30): Likewise.
1720 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
1721 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1722 (GLIBC_2.30): Likewise.
1723 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1724 (GLIBC_2.30): Likewise.
1725 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1726 (GLIBC_2.30): Likewise.
1727 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1728 (GLIBC_2.30): Likewise.
1729 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
1730 pthread_rwlock_clockwrlock timeout tests to match the existing
1731 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
1732 * nptl/tst-rwlock14.c (do_test): Likewise.
1733 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
1734 ancillary output throughout. (tf): Accept thread_args structure so
1735 that rwlock, a clockid and function name can be passed to the
1736 thread. (do_test_clock): Rename from do_test. Accept clockid
1737 parameter to specify test clock. Use the magic clockid value of
1738 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
1739 pthread_rwlock_timedwrlock should be tested, otherwise pass the
1740 specified clockid to pthread_rwlock_clockrdlock and
1741 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
1742 (do_test): Call do_test_clock to test each clockid in turn.
1743 * nptl/tst-rwlock7.c: Likewise.
1744 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
1745 thread_args structure so that the (now int) thread number, the
1746 clockid and the function name can be passed to the thread.
1747 (do_test_clock): Renamed from do_test. Pass the necessary
1748 thread_args when creating the reader and writer threads. Use
1749 xpthread_create and xpthread_join.
1750 (do_test): Call do_test_clock to test each clockid in turn.
1751 * manual/threads.texi: Add documentation for
1752 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
1754 nptl: pthread_rwlock: Move timeout validation into _full functions
1755 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
1756 Check validity of abstime parameter.
1757 (__pthread_rwlock_rwlock_full): Likewise.
1758 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1759 Remove check for validity of abstime parameter.
1760 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1763 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
1764 like pthread_cond_timedwait except it always measures abstime
1765 against the supplied clockid.
1766 * nptl/Makefile: Add tst-cond26 and tst-cond27
1767 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
1768 * sysdeps/nptl/pthread.h: Likewise
1769 * nptl/forward.c: Add __pthread_cond_clockwait
1770 * nptl/forward.c: Likewise
1771 * nptl/pthreadP.h: Likewise
1772 * sysdeps/nptl/pthread-functions.h: Likewise
1773 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
1774 clockid parameter and comment describing why we don't need to check
1775 its value. Use that value when calling
1776 futex_abstimed_wait_cancelable rather than reading the clock from
1777 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
1778 (__pthread_cond_timedwait): Read clock from flags and pass it to
1779 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
1780 function with weak alias from pthread_cond_clockwait.
1781 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
1782 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
1783 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
1784 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
1785 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
1786 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
1787 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
1788 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1789 (GLIBC_2.30): Likewise.
1790 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1791 (GLIBC_2.30): Likewise.
1792 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1793 (GLIBC_2.30): Likewise.
1794 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1795 (GLIBC_2.30): Likewise.
1796 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1797 (GLIBC_2.30): Likewise.
1798 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
1799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1800 (GLIBC_2.30): Likewise.
1801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1802 (GLIBC_2.30): Likewise.
1803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1804 (GLIBC_2.30): Likewise.
1805 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1806 (GLIBC_2.30): Likewise.
1807 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1808 (GLIBC_2.30): Likewise.
1809 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1810 (GLIBC_2.30): Likewise.
1811 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
1812 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1813 (GLIBC_2.30): Likewise.
1814 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1815 (GLIBC_2.30): Likewise.
1816 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1817 (GLIBC_2.30): Likewise.
1818 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1819 (GLIBC_2.30): Likewise.
1820 * nptl/tst-cond11.c (run_test): Support testing
1821 pthread_cond_clockwait too by using a special magic
1822 CLOCK_USE_ATTR_CLOCK value to determine whether to call
1823 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
1824 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
1825 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
1826 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
1827 clocks to pthread_cond_clockwait.
1828 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
1829 struct timespec and pthread_cond_clockwait.
1830 * manual/threads.texi: Document pthread_cond_clockwait.
1832 nptl: Add POSIX-proposed sem_clockwait which behaves just like
1833 sem_timedwait, but measures abstime against the specified clock.
1834 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
1835 clockid parameters to indicate the clock which abstime should be
1837 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
1838 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
1839 __new_sem_wait_slow.
1840 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
1842 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
1843 sem_clockwait.c to match those used for sem_timedwait.c.
1844 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
1845 * nptl/Versions (GLIBC_2.30): Likewise.
1846 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
1847 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
1848 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
1849 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
1850 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
1851 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
1852 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
1853 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1854 (GLIBC_2.30): Likewise.
1855 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1856 (GLIBC_2.30): Likewise.
1857 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1858 (GLIBC_2.30): Likewise.
1859 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1860 (GLIBC_2.30): Likewise.
1861 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1862 (GLIBC_2.30): Likewise.
1863 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
1864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1865 (GLIBC_2.30): Likewise.
1866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1867 (GLIBC_2.30): Likewise.
1868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1869 (GLIBC_2.30): Likewise.
1870 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1871 (GLIBC_2.30): Likewise.
1872 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1873 (GLIBC_2.30): Likewise.
1874 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1875 (GLIBC_2.30): Likewise.
1876 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
1877 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1878 (GLIBC_2.30): Likewise.
1879 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1880 (GLIBC_2.30): Likewise.
1881 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1882 (GLIBC_2.30): Likewise.
1883 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1884 (GLIBC_2.30): Likewise.
1885 * nptl/tst-sem17.c: Add new test for passing invalid clock to
1887 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
1888 tests to also test sem_clockwait.
1889 * manual/threads.texi: Document sem_clockwait.
1891 nptl: Add clockid parameter to futex timed wait calls
1892 * sysdeps/nptl/lowlevellock-futex.h,
1893 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
1894 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
1895 takes a clockid rather than a special clockbit.
1896 * sysdeps/nptl/lowlevellock-futex.h: Add
1897 lll_futex_supported_clockid so that client functions can check
1898 whether their clockid parameter is valid even if they don't
1899 ultimately end up calling lll_futex_clock_wait_bitset.
1900 * sysdeps/nptl/futex-internal.h,
1901 sysdeps/unix/sysv/linux/futex-internal.h
1902 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
1903 clockid_t parameter to indicate which clock the absolute time
1904 passed should be measured against. Pass that clockid onto
1905 lll_futex_clock_wait_bitset. Add invalid clock as reason for
1907 * sysdeps/nptl/futex-internal.h,
1908 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
1909 futex_abstimed_supported_clockid so that client functions can check
1910 whether their clockid parameter is valid even if they don't
1911 ultimately end up calling futex_abstimed_wait.
1912 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
1913 code to calculate relative timeout for
1914 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
1915 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
1916 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
1917 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
1918 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
1919 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
1920 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
1922 2019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1925 * posix/tst-mmap-offset.c: Mention BZ #24699.
1926 (do_test_bz21270): Rename to do_test_large_offset and use
1927 mmap64_maximum_offset to check for maximum expected offset value.
1928 * sysdeps/generic/mmap_info.h: New file.
1929 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
1930 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
1933 2019-07-10 DJ Delorie <dj@redhat.com>
1934 Sergei Trofimovich <slyfox@inbox.ru>
1938 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
1940 * nss/tst-nss-db-endgrent.c: New.
1941 * nss/tst-nss-db-endgrent.root: New.
1942 * nss/tst-nss-db-endpwent.c: New.
1943 * nss/tst-nss-db-endpwent.root: New.
1944 * nss/Makefile: Add new tests.
1945 * support/links-dso-program-c.c: Add selinux dependency.
1946 * support/links-dso-program.cc: Add selinux dependency.
1947 * support/Makefile: Build those with -lselinux if enabled.
1949 2019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
1951 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
1952 DT_AARCH64_VARIANT_PCS check.
1953 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
1954 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
1957 2019-07-10 Andreas Schwab <schwab@suse.de>
1960 * malloc/malloc.h (__malloc_check_init): Don't declare.
1961 * include/malloc.h (__malloc_check_init): Likewise.
1962 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
1963 * manual/memory.texi (__malloc_check_init): Don't mention it.
1965 2019-07-10 Mao Han <han_mao@c-sky.com>
1967 * locale/Makefile: Fix tst-locale-locpath arguments passing.
1969 2019-07-09 Paul A. Clarke <pc@us.ibm.com>
1971 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
1972 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
1974 2019-07-08 DJ Delorie <dj@redhat.com>
1977 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
1978 * io/tst-ftw-lnk.c: New test.
1979 * io/Makefile: Run it.
1981 2019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1983 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
1984 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
1985 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
1986 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
1987 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
1988 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
1989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
1990 Adjust implementation path.
1991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
1992 Adjust implementation path.
1993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
1994 Adjust implementation path.
1995 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1996 (libm-sysdep_routines): Add s_log* objects.
1997 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
1998 CFLAGS-s_logb-power7.c): New fule.
1999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
2001 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
2003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
2005 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
2007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
2008 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
2009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
2011 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
2013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
2015 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
2017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
2018 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
2019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
2021 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
2023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
2025 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
2027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
2028 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
2029 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
2030 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
2031 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2032 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2034 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
2035 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
2036 powerpc32 integer 0 converting to -0.
2038 * benchtests/Makefile (bench-math): Add logb.
2039 * benchtests/logb-inputs: New file.
2040 * benchtests/logbf-inputs: New file.
2042 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
2043 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
2044 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
2045 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
2046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2050 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
2051 sysdep_routines): Add s_modf* objects.
2052 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
2053 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
2054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
2056 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
2058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
2060 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
2062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
2063 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
2064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
2066 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
2068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
2069 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
2071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
2072 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
2074 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
2075 twoM500, twoM600, two60factor, pdnum): Remove.
2076 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
2077 (__ieee754_hypot): Replace static variables with inline definition,
2078 remove ununsed branches.
2079 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2080 (libm-sysdep_routines): Remove e_hypot-* objects.
2081 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
2082 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
2084 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
2085 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
2086 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
2087 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
2088 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
2090 * benchtests/Makefile (bench-math): Add hypot.
2091 * benchtests/hypot-inputs: New file.
2093 2019-07-08 Vincent Chen <vincentc@andestech.com>
2095 * sysdeps/unix/sysv/linux/dl-vdso.h
2096 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
2098 2019-07-04 Andreas Schwab <schwab@suse.de>
2101 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
2103 2019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2105 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
2106 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
2107 * sysdeps/aarch64/sys/ifunc.h: New file.
2108 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
2109 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
2111 2019-07-01 Florian Weimer <fweimer@redhat.com>
2114 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
2115 Replace __vfork with __libpthread_version_placeholder for
2117 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
2118 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
2120 * nptl/pt-vfork.c: Remove file.
2121 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
2122 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
2123 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
2124 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
2125 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
2126 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
2127 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
2128 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
2129 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
2130 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
2131 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
2132 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
2133 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
2134 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
2135 Remove vfork, __vfork.
2136 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
2138 (GLIBC_2.1.2): Replace __vfork with
2139 __libpthread_version_placeholder.
2140 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
2141 Remove vfork, __vfork.
2142 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
2144 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
2146 (GLIBC_2.1.2): Replace __vfork with
2147 __libpthread_version_placeholder.
2148 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
2150 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2151 (GLIBC_2.4): Remove vfork, __vfork.
2152 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2153 (GLIBC_2.0): Remove vfork.
2154 (GLIBC_2.1.2): Replace __vfork with
2155 __libpthread_version_placeholder.
2156 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2157 (GLIBC_2.18): Remove vfork, __vfork.
2158 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2159 (GLIBC_2.0): Remove vfork.
2160 (GLIBC_2.2): Remove __vfork.
2161 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
2162 (GLIBC_2.2): Remove vfork, __vfork.
2163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
2164 (GLIBC_2.0): Remove vfork.
2165 (GLIBC_2.1.2): Replace __vfork with
2166 __libpthread_version_placeholder.
2167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2168 (GLIBC_2.3): Remove vfork, __vfork.
2169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2170 (GLIBC_2.17): Likewise.
2171 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2172 (GLIBC_2.0): Remove vfork.
2173 (GLIBC_2.1.2): Replace __vfork with
2174 __libpthread_version_placeholder.
2175 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2176 (GLIBC_2.2): Remove vfork, __vfork.
2177 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
2179 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2180 (GLIBC_2.0): Remove vfork.
2181 (GLIBC_2.1.2): Replace __vfork with
2182 __libpthread_version_placeholder.
2183 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2184 (GLIBC_2.2): Remove vfork, __vfork.
2185 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2186 (GLIBC_2.2.5): Likewise.
2187 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2188 (GLIBC_2.16): Likewise.
2189 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
2190 Remove __errno_location.
2192 2019-07-02 Florian Weimer <fweimer@redhat.com>
2195 * malloc/Depend: Add nptl and htl, due to potential indirect
2196 libpthread dependency of memusagestat.
2198 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
2200 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
2203 2019-07-01 Florian Weimer <fweimer@redhat.com>
2205 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
2206 variant for arm-linux-gnueabi.
2208 2019-07-01 H.J. Lu <hongjiu.lu@intel.com>
2211 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
2213 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
2214 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
2215 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
2216 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
2217 and tst-cet-legacy-mod-6c.
2218 (CFLAGS-tst-cet-legacy-5a.c): New.
2219 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
2220 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
2221 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
2222 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
2223 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
2224 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
2225 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
2226 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
2227 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
2228 ($(objpfx)tst-cet-legacy-5a): Likewise.
2229 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
2230 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
2231 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
2232 ($(objpfx)tst-cet-legacy-5b): Likewise.
2233 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
2234 (tst-cet-legacy-5b-ENV): Likewise.
2235 ($(objpfx)tst-cet-legacy-6a): Likewise.
2236 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
2237 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
2238 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
2239 ($(objpfx)tst-cet-legacy-6b): Likewise.
2240 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
2241 (tst-cet-legacy-6b-ENV): Likewise.
2242 * sysdeps/x86/tst-cet-legacy-5.c: New file.
2243 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
2244 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
2245 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
2246 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
2247 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
2248 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
2249 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
2250 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
2251 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
2252 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
2253 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
2254 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
2255 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
2257 2019-06-30 Paul A. Clarke <pc@us.ibm.com>
2259 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
2260 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
2261 (__fegetround_ISA300) New.
2262 (__fegetround_ISA2) New.
2263 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
2264 (_FPU_MFFS): Move implementation...
2266 (_FPU_MFFSL): Move implementation....
2267 (_FPU_GET_RC_ISA300): Here. New.
2268 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
2269 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
2270 (fegetenv_status): New.
2271 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
2272 instead of fegetenv_register().
2273 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
2275 2019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
2277 * benchtests/bench-math-inlines.c: Increase iterations.
2278 * benchtests/bench-memcmp.c: Likewise.
2279 * benchtests/bench-rawmemchr.c: Likewise.
2280 * benchtests/bench-strcmp.c: Likewise.
2281 * benchtests/bench-strcpy_chk.c: Likewise.
2282 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
2283 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
2284 (INNER_LOOP_ITERS_SMALL): Likewise.
2285 * benchtests/bench-strncat.c: Increase iterations.
2286 * benchtests/bench-strncmp.c: Increase iterations.
2287 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
2288 * benchtests/bench-strrchr.c: Increase iterations.
2289 * benchtests/bench-strstr.c: Keep iterations unchanged.
2290 * benchtests/bench-strtod.c: Increase iterations.
2292 2019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2294 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
2295 with INNER_LOOP_ITERS_LARGE.
2296 * benchtests/bench-memchr.c: Likewise.
2297 * benchtests/bench-rawmemchr.c: Likewise.
2298 * benchtests/bench-strcat.c: Likewise.
2299 * benchtests/bench-strchr.c: Likewise.
2300 * benchtests/bench-string.h: Likewise.
2301 * benchtests/bench-strlen.c: Likewise.
2302 * benchtests/bench-strncpy.c: Likewise.
2303 * benchtests/bench-strnlen.c: Likewise.
2305 2019-06-28 Florian Weimer <fweimer@redhat.com>
2307 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
2308 Use mmap instead of malloc. malloc with M_PERTURB writes to the
2309 entire allocated memory range.
2311 2019-06-28 Tobias Klauser <tklauser@distanz.ch>
2313 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
2314 (prepare_version_base): New helper inline function.
2315 (prepare_version): New macro replacing PREPARE_VERSION.
2316 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
2318 2019-06-28 Florian Weimer <fweimer@redhat.com>
2321 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
2322 mismatch in a versioned symbol reference.
2323 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
2324 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
2325 tst-sonamemove-dlopen.
2326 (module-names): Add tst-sonamemove-linkmod1,
2327 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
2328 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
2329 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
2330 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
2331 (tst-sonamemove-runmod1.so): Link against
2332 tst-sonamemove-runmod2.so.
2333 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
2334 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
2335 tst-sonamemove-runmod2.so.
2336 (tst-sonamemove-dlopen): Link with -ldl.
2337 (tst-sonamemove-dlopen.out): Likewise.
2338 * elf/tst-sonamemove-link.c: New file.
2339 * elf/tst-sonamemove-dlopen.c: Likewise.
2340 * elf/tst-sonamemove-linkmod1.c: Likewise.
2341 * elf/tst-sonamemove-linkmod1.map: Likewise.
2342 * elf/tst-sonamemove-runmod1.c: Likewise.
2343 * elf/tst-sonamemove-runmod1.map: Likewise.
2344 * elf/tst-sonamemove-runmod2.c: Likewise.
2345 * elf/tst-sonamemove-runmod2.map: Likewise.
2347 2019-06-28 Florian Weimer <fweimer@redhat.com>
2349 * support/xdlfcn.h (xdlvsym): Declare function.
2350 * support/xdlfcn.c (xdlvsym): Define funciton.
2352 2019-06-28 Florian Weimer <fweimer@redhat.com>
2355 io: Remove the copy_file_range emulation.
2356 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
2357 not define and call copy_file_range_compat.
2358 * io/Makefile (tests-static, tests-internal): Do not add
2359 tst-copy_file_range-compat.
2360 * io/copy_file_range-compat.c: Remove file.
2361 * io/copy_file_range.c (copy_file_range): Define as stub.
2362 * io/tst-copy_file_range-compat.c: Remove file.
2363 * io/tst-copy_file_range.c (xdevfile): Remove variable.
2364 (typical_sizes): Update comment. Remove 16K sizes.
2365 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
2367 (find_maximum_offset, pipe_as_source, pipe_as_destination)
2368 (delayed_write_failure_beginning, delayed_write_failure_end)
2369 (cross_device_failure, enospc_failure_1, enospc_failure)
2370 (oappend_failure): Remove functions.
2371 (tests): Adjust test case list.
2372 (do_test): Remove file system search code. Check for ENOSYS from
2373 copy_file_range. Do not free xdevfile.
2374 * manual/llio.texi (Copying File Data): Document ENOSYS error from
2375 copy_file_range. Do not document the EXDEV error, which future
2376 kernels may not report. Update the wording to reflect that
2377 further errors are possible.
2378 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2379 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
2381 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2382 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
2384 * sysdeps/unix/sysv/linux/kernel-features.h
2385 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
2387 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2388 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
2390 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2391 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
2394 2019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
2396 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
2397 used as a mask for the mode argument of __vfprintf_internal.
2398 * stdio-common/printf-parse.h (printf_arg): New union member:
2400 * stdio-common/vfprintf-internal.c
2401 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
2402 (PARSE_FLOAT_VA_ARG): Likewise.
2403 (SETUP_FLOAT128_INFO): Likewise.
2404 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
2405 SETUP_FLOAT128_INFO.
2406 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
2407 floating-point value to the new union member, pa_float128.
2408 (printf_positional): Zero-initialize args_value[cnt] with memset.
2410 2019-06-27 Florian Weimer <fweimer@redhat.com>
2413 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
2414 buffer size if necessary.
2415 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
2417 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
2419 (large_buffer_checks): Likewise.
2420 (do_test): Call large_buffer_checks.
2422 2019-06-26 H.J. Lu <hongjiu.lu@intel.com>
2424 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
2425 * sysdeps/x86/dl-lookupcfg.h: Here.
2426 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
2428 2019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2430 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2431 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
2432 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
2434 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
2435 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
2436 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
2437 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2438 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
2440 * sysdeps/powerpc/powerpc32/fpu/Makefile
2441 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
2442 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
2443 and fctidz optimization.
2444 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
2445 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
2446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2447 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
2448 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
2449 CFLAGS-s_lround-power5+.c): New rule.
2450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
2452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
2454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
2456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
2458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
2460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2470 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2471 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
2472 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2473 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
2474 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2475 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2476 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
2478 2019-06-26 Vincent Chen <vincentc@andestech.com>
2480 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
2481 specific system calls, fp_udfiex_crtl and udftrap.
2483 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
2485 * nptl/tst-eintr1.c (tf1): Add return statement.
2486 (do_test): Remove unused th variable.
2488 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
2490 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
2491 Return error if get_character fails.
2493 2019-06-25 Stefan Liebler <stli@linux.ibm.com>
2495 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2497 2019-06-24 Rafał Lużyński <digitalfreak@lingonborough.com>
2500 * localedata/locales/szl_PL (day): Use the correct Unicode
2501 sequences instead of non-ASCII characters.
2503 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
2506 * localedata/locales/szl_PL (abday): Spelling corrections.
2510 (alt_mon): This, then apply spelling corrections.
2511 (mon): New entry, month names in the genitive case.
2513 2019-06-21 Rafał Lużyński <digitalfreak@lingonborough.com>
2516 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
2517 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
2518 (thousands_sep): Likewise.
2519 (grouping): Set to 3;3.
2521 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
2523 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
2524 PREPARE_VERSION_KNOWN.
2525 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
2526 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
2528 (VDSO_HASH_LINUX_2_6_39): Likewise.
2529 (VDSO_NAME_LINUX_4_9): Likewise.
2530 (VDSO_HASH_LINUX_4_9): Likewise.
2531 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
2532 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2533 (_libc_vdso_platform_setup): Likewise.
2534 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
2535 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
2537 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
2540 2019-06-20 Mike Crowe <mac@mcrowe.com>
2542 * nptl/eintr.c: Use libsupport.
2543 * nptl/tst-eintr1.c: Likewise.
2544 * nptl/tst-eintr2.c: Likewise.
2545 * nptl/tst-eintr3.c: Likewise.
2546 * nptl/tst-eintr4.c: Likewise.
2547 * nptl/tst-eintr5.c: Likewise.
2548 * nptl/tst-mutex-errorcheck.c: Likewise.
2549 * nptl/tst-mutex5.c: Likewise.
2551 * support/test-driver.h: Add verbose_printf macro.
2553 * support/xtime.h: Add xclock_now() helper function.
2555 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
2556 Florian Weimer <fweimer@redhat.com>
2559 * libio/genops.c (_IO_unbuffer_all)
2560 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
2561 buffers and access _IO_FILE_complete members of legacy libio streams.
2562 * libio/tst-bz24228.c: New file.
2563 * libio/tst-bz24228.map: Likewise.
2564 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
2565 [build-shared] (generated): Add tst-bz24228.mtrace and
2567 [run-built-tests && build-shared] (tests-special): Add
2568 $(objpfx)tst-bz24228-mem.out.
2569 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
2570 ($(objpfx)tst-bz24228-mem.out): New rule.
2572 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
2574 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
2575 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
2576 (__FPU_MFFSL): Likewise.
2577 (_FPU_SETCW): Likewise.
2579 2019-06-19 Stan Shebs <stanshebs@google.com>
2580 Raoni Fassina Firmino <raoni@linux.ibm.com>
2583 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
2584 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
2585 static-linking version.
2586 * sysdeps/unix/sysv/linux/powerpc/Makefile
2587 (tests-static): Add test-gettimebasefreq-static.
2589 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
2592 2019-06-19 Rafał Lużyński <digitalfreak@lingonborough.com>
2595 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
2596 between the currency symbol and the minus sign).
2597 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
2599 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
2602 * string/test-strcasestr.c (check_result): Add NULL check.
2603 * nss/tst-field.c (check_rewrite): Likewise.
2604 * benchtests/bench-strstr.c (do_one_test): Likewise.
2605 * string/test-strstr.c (check_result): Likewise.
2606 * argp/argp-test.c (popt): Increase size of buf to 12.
2607 * benchtests/bench-malloc-simple.c (bench):
2608 Do not initialize tests array out of bounds.
2610 2019-06-19 Florian Weimer <fweimer@redhat.com>
2613 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
2616 2019-06-18 Florian Weimer <fweimer@redhat.com>
2619 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
2620 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
2621 fail when called from dlopen.
2622 * elf/Makefile [have-fpie && build-shared] (tests): Add
2624 (tst-dlopen-pie): Link with -ldl.
2625 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
2626 * elf/tst-dlopen-pie.c (do_test): New file.
2628 2019-06-17 Rafał Lużyński <digitalfreak@lingonborough.com>
2631 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
2632 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
2633 between the currency symbol and the minus sign).
2634 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
2635 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
2637 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2639 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
2640 sysdep-rtld-routines): Remove rules.
2641 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
2642 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
2643 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
2644 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
2645 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
2646 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
2647 vDSO path for SHARED.
2648 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
2649 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
2650 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2651 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
2652 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
2653 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
2655 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2656 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
2657 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
2658 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
2659 CFLAGS-s_llround-power5+.c): New rule.
2660 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
2662 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
2664 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
2666 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
2668 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
2670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
2671 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
2672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
2673 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
2674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
2675 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
2676 * sysdeps/powerpc/powerpc64/fpu/Makefile
2677 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
2678 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2679 (libm-sysdep_routines): Remove s_llround-* objects.
2680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
2682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
2684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
2686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
2688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
2690 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2691 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2692 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
2693 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
2694 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
2695 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
2696 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
2697 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
2698 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2699 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
2700 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2701 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
2702 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2703 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
2705 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
2706 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
2707 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
2708 * sysdeps/powerpc/powerpc32/fpu/Makefile
2709 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
2710 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
2712 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
2713 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
2714 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
2715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2716 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
2717 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
2718 CFLAGS-s_lrint-ppc32.c): New rule.
2719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2729 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2730 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2731 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2732 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
2735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
2737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
2739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
2741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
2744 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2745 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
2747 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
2748 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
2750 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
2752 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
2754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
2755 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
2756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
2757 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
2758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
2759 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
2760 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
2761 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
2762 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2763 (libm-sysdep_routines): Remove s_llrint-* objects.
2764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
2766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
2768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
2769 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
2770 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
2771 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
2772 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
2773 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
2774 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2775 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
2776 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2777 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2779 2019-06-14 Florian Weimer <fweimer@redhat.com>
2781 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
2782 argument to __glibc_has_include to inhibit macro expansion.
2784 2019-06-14 Florian Weimer <fweimer@redhat.com>
2786 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
2787 function-like macro, so that __has_include can inhibit expansion
2790 2019-06-13 Joseph Myers <joseph@codesourcery.com>
2792 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
2795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2796 Allow memset in libc.so.
2798 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2800 * sysdeps/aarch64/dl-dtprocnum.h: New file.
2801 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
2802 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
2803 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
2804 symbols at load time.
2805 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
2807 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2809 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
2810 (DT_AARCH64_VARIANT_PCS): Define.
2812 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2815 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
2817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
2821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
2822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
2825 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2826 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
2827 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
2828 Remove s_finite* objects.
2829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
2830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
2831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
2832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
2834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
2835 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2836 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
2837 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2838 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
2840 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
2841 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
2843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2844 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
2846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
2848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
2850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
2851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
2854 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2855 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
2856 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
2857 Remove s_isinf* and s_isinf* objects.
2858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
2859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
2860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
2861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
2863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
2864 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2865 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
2866 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2867 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
2869 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
2870 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
2872 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
2873 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
2874 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2876 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
2878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
2880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
2882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
2884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
2886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
2887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
2889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
2892 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2893 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
2894 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2895 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
2896 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2897 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
2898 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
2899 Remove s_isnan-* and s_isnanf-* objects.
2900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
2901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
2902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
2904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
2905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
2906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
2907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
2909 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2910 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2911 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2912 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2913 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2914 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
2915 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2916 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
2918 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
2919 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
2921 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
2922 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
2923 CFLAGS-bench-isfinite.c): New rule.
2924 * benchtests/isnan-input: New file.
2925 * benchtests/isinf-input: New file.
2926 * benchtests/isfinite-input: New file.
2928 * sysdeps/powerpc/fpu/s_copysign.c: New file.
2929 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
2930 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
2931 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
2932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2933 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
2935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
2943 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2944 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
2945 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
2946 Remove s_copysign-power6 s_copysign-ppc64.
2947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
2949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
2951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
2953 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2954 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
2955 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2956 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
2958 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
2959 round_to_integer_float, round_mode): Add RINT handling.
2960 (reset_fenv_mode): New symbol.
2961 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
2962 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
2963 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
2964 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2965 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2966 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2968 2019-06-12 Florian Weimer <fweimer@redhat.com>
2971 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
2972 * libio/freopen.c (freopen): Use it.
2974 2019-06-12 Florian Weimer <fweimer@redhat.com>
2976 Linux: Deprecate sysctl.
2977 * include/sysctl.h (__sysctl): Remove declaration.
2978 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
2980 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
2981 (sysctl): Add deprecation attribute.
2982 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
2983 directly, to avoid the deprecation warning. Do not include
2985 (__sysctl): Remove hidden alias.
2987 2019-06-12 Florian Weimer <fweimer@redhat.com>
2989 Linux: Use kernel headers for statx definitions if available.
2990 * include/bits/statx-generic.h: New file.
2991 * include/bits/types/struct_statx.h: Likewise.
2992 * include/bits/types/struct_statx_timestamp.h: Likewise.
2993 * io/Makefile (headers): Add bits/statx-generic.h.
2994 * io/bits/statx-generic.h: New file. Partly copied from
2996 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
2997 define original_statx.
2998 * io/bits/types/struct_statx.h: Likewise.
2999 * io/bits/types/struct_statx_timestamp.h: Likewise.
3000 (statx_generic): Use original_statx.
3001 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
3002 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
3004 2019-06-12 Florian Weimer <fweimer@redhat.com>
3006 * misc/sys/cdefs.h (__glibc_has_include): Define.
3008 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3010 * string/memmem.c (__memmem): Rewrite to improve performance.
3012 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3014 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
3016 (two_way_long_needle): Block inlining.
3017 * string/strstr.c (strstr2): Add new function.
3018 (strstr3): Likewise.
3019 (STRSTR): Completely rewrite strstr to improve performance.
3021 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
3023 * benchtests/bench-strstr.c (test_hard_needle): New function.
3025 2019-06-10 Joseph Myers <joseph@codesourcery.com>
3027 * malloc/tst-calloc.c: Include <libc-diag.h>.
3028 (null_test): Ignore -Wunused-result around calls to calloc.
3029 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
3030 (do_test): Ignore -Wunused-result around call to malloc.
3032 2019-06-07 Florian Weimer <fweimer@redhat.com>
3034 Linux: Add getdents64 system call.
3035 * include/dirnent.h (getdents): Add comment and change buffer
3036 argument type to void *.
3037 (getdents64): Likewise. Add hidden prototype.
3038 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
3040 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
3042 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
3043 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
3044 argument type to void *.
3045 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
3046 Add hidden definition and getdents64 alias.
3047 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
3049 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
3050 * manual/filesys.texi (Accessing Directories): Add Low-level
3051 Directory Access node reference.
3052 (Opening a Directory): Cross-reference it.
3053 (Low-level Directory Access): New node.
3054 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
3056 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3058 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3059 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3061 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3063 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3065 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3067 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3069 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3071 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3073 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3074 (GLIBC_2.30): Likewise.
3075 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3076 (GLIBC_2.30): Likewise.
3077 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3078 (GLIBC_2.30): Likewise.
3079 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3080 (GLIBC_2.30): Likewise.
3081 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3084 (GLIBC_2.30): Likewise.
3085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3086 (GLIBC_2.30): Likewise.
3087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3088 (GLIBC_2.30): Likewise.
3089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3090 (GLIBC_2.30): Likewise.
3091 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3093 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3095 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3097 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3098 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3100 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3102 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3104 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3107 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
3109 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
3113 (_FPU_GETCW): Use __FPU_MFFS().
3114 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
3116 2019-06-06 Florian Weimer <fweimer@redhat.com>
3118 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
3119 internal GCC preprocessor identifier __has_include__.
3121 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
3123 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
3124 with call to equivalent function.
3126 2019-06-04 Florian Weimer <fweimer@redhat.com>
3128 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
3129 (do_release_shlib): Adjust for __twalk_r.
3130 (__gconv_release_shlib): Call __twalk_r.
3132 2019-06-04 Andreas Schwab <schwab@suse.de>
3135 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
3136 no irreversible characters occurred.
3137 * iconv/gconv_simple.c (internal_ucs4_loop)
3138 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
3139 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
3140 (ucs4_internal_loop_single, internal_ucs4le_loop)
3141 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
3142 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
3143 (ucs4le_internal_loop_single): Add const to outend.
3144 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
3145 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
3146 * iconv/Makefile (tests): Add tst-iconv7.
3147 * iconv/tst-iconv7.c: New file.
3149 2019-06-03 Joseph Myers <joseph@codesourcery.com>
3151 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
3153 2019-06-01 Florian Weimer <fweimer@redhat.com>
3155 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
3156 * sysdeps/unix/sysv/linux/arm/Makefile
3157 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
3158 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
3159 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
3160 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
3161 compatibility symbols.
3163 2019-05-31 Florian Weimer <fweimer@redhat.com>
3165 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
3166 system calls for the arm architecture: breakpoint, get_tls,
3167 set_tls, usr26, usr32.
3169 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
3171 * sysdeps/powerpc/Makefile
3172 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
3173 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
3174 Declare '.machine power7' to get support for ldbrx.
3175 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
3176 directive based on the directory of the file.
3177 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
3178 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
3179 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
3180 '.machine' directive.
3181 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
3182 (VADDUQM_V7_V8): Remove.
3183 (__STRCASECMP): Replace macros with actual instructions.
3184 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
3185 '.machine' directive.
3186 (VCLZD_V8_v7): Remove.
3187 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
3189 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3191 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
3193 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
3195 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3197 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
3199 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
3200 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
3201 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
3202 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
3203 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
3204 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3206 2019-05-28 mansayk <6688000@gmail.com>
3209 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
3211 2019-05-28 mansayk <6688000@gmail.com>
3214 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
3215 (abmon): Likewise, but remove the trailing dots.
3217 2019-05-28 Joseph Myers <joseph@codesourcery.com>
3219 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
3221 2019-05-27 Florian Weimer <fweimer@redhat.com>
3223 * nptl/nptl-init.c: Add comment.
3225 2019-05-24 Florian Weimer <fweimer@redhat.com>
3227 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
3228 struct in_addr/struct in6_addr alignment.
3230 2019-05-23 Joseph Myers <joseph@codesourcery.com>
3232 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3233 (F_SEAL_FUTURE_WRITE): New macro.
3235 2019-05-23 Alexandra Hájková <ahajkova@redhat.com>
3237 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
3238 * elf/tst-ldconfig-bad-aux-cache.c: New file.
3239 * elf/tst-ldconfig_aux-cache.root: New directory.
3240 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
3241 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
3242 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
3244 2019-05-22 Zack Weinberg <zackw@panix.com>
3246 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
3248 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
3249 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
3251 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
3252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
3253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
3256 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
3257 Issue an #error if used with a compiler in SPE-float mode.
3258 * sysdeps/powerpc/powerpc32/__longjmp_common.S
3259 * sysdeps/powerpc/powerpc32/setjmp_common.S
3260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
3262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
3263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
3264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3266 Remove code to preserve SPE register state.
3268 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3269 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3270 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
3271 Remove __SPE__ ifndefs.
3273 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
3275 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
3276 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
3277 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
3278 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
3279 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
3280 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
3281 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
3282 (INNER_LOOP_ITERS_MEDIUM): New define.
3283 (INNER_LOOP_ITERS_SMALL): New define.
3284 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
3285 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
3286 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
3287 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
3288 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
3290 2019-05-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3292 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
3294 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
3295 (SEMTIMEDOP_IPC_ARGS): Likewise.
3297 2019-05-21 Florian Weimer <fweimer@redhat.com>
3300 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
3301 before updating __counter field and release it afterwards. Add
3303 * iconv/gconv.h (struct __gconv_step): Mention synchronization
3304 requirement for __counter member.
3306 2019-05-21 Florian Weimer <fweimer@redhat.com>
3309 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
3310 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
3311 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
3312 instead of __gconv_release_step.
3313 * libio/Makefile (tests): Add tst-wfile-gconv.
3314 (tests-container): Add tst-wfile-ascii.
3315 (tst-wfile-gconv-ENV): Enable mtrace.
3316 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
3317 (tests-special): Add tst-wfile-gconv-mem.out.
3318 (tst-wfile-gconv.out): Depend on locales.
3319 (tst-wfile-gconv-mem.out): Add mtrace rule.
3320 * libio/tst-wfile-ascii.c: New file.
3321 * libio/tst-wfile-gconv.c: Likewise.
3323 2019-05-20 Florian Weimer <fweimer@redhat.com>
3326 libio: Remove codecvt vtable.
3327 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
3329 * libio/iofgetpos.c (_IO_new_fgetpos): Call
3330 __libio_codecvt_encoding.
3331 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
3332 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
3333 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
3334 * libio/iofwide.c (__libio_codecvt): Remove variable.
3335 (_IO_fwide): Do not copy __libio_codecvt.
3336 (__libio_codecvt_out): Rename from do_out and export.
3337 (do_unshift): Remove function.
3338 (__libio_codecvt_in): Rename from do_in and export.
3339 (__libio_codecvt_encoding): Rename from do_encoding and export.
3340 (do_always_noconv): Remove function.
3341 (__libio_codecvt_length): Rename from do_length and export.
3342 (do_max_length): Remove function.
3343 * libio/libio.h (enum __codecvt_result): Remove definition; moved
3345 (struct _IO_codecvt): Remove fields __codecvt_destr,
3346 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
3347 __codecvt_do_encoding, __codecvt_do_always_noconv,
3348 __codecvt_do_length, __codecvt_do_max_length.
3349 * libio/libioP.h (enum __codecvt_result): Define; moved from
3351 (__libio_codecvt_out, __libio_codecvt_in)
3352 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
3354 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
3355 (_IO_wfile_underflow): Call __libio_codecvt_in.
3356 (_IO_wfile_underflow): Likewise.
3357 (_IO_wfile_underflow_mmap): Likewise.
3358 (_IO_wfile_sync): Call __libio_codecvt_encoding,
3359 __libio_codecvt_length.
3360 (adjust_wide_data): Call __libio_codecvt_encoding,
3362 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
3363 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
3364 __libio_codecvt_length.
3366 2019-05-20 Florian Weimer <fweimer@redhat.com>
3368 * support/support.h (support_sbindir_prefix): Declare.
3369 (support_install_rootsbindir): Update comment.
3370 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
3371 * support/support_paths.c (support_sbindir_prefix): Define.
3373 2019-05-20 Mike Crowe <mac@mcrowe.com>
3375 * support/timespec.c: Add backslash to correct newline in failure
3378 * support/timespec.h: Correct confusing comment.
3380 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3382 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
3384 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
3385 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
3386 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
3387 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
3390 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
3393 2019-05-20 Joseph Myers <joseph@codesourcery.com>
3395 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
3396 (NT_ARM_PACG_KEYS): Likewise.
3398 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
3400 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
3401 (tcache_put): Remove redundant assert.
3402 (tcache_get): Remove redundant asserts.
3403 (__libc_malloc): Check tcache count is not zero.
3404 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
3406 2019-05-17 Florian Weimer <fweimer@redhat.com>
3408 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
3410 2019-05-16 Joseph Myers <joseph@codesourcery.com>
3412 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3413 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
3415 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
3417 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3418 (__ASSUME_STATX): Likewise.
3420 2019-05-16 Florian Weimer <fweimer@redhat.com>
3422 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
3424 (LINE_PARSER): Do not map IPv4 addresses.
3425 (internal_nis_gethostent_r): Remove flags argument. Adjust call
3427 (_nss_nis_gethostent_r): Always pass AF_INET to
3428 internal_nis_gethostent_r.
3429 (internal_gethostbyname2_r): Remove flags argument. Adjust call
3431 (_nss_nis_gethostbyname2_r): Adjust call to
3432 internal_nis_gethostent_r.
3433 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
3434 call to internal_nis_gethostent_r.
3435 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
3437 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
3438 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
3439 Remove flags argument. Do not map IPv4 addresses.
3440 (internal_nisplus_gethostent_r): Adjust call to
3441 _nss_nisplus_parse_hostent.
3442 (internal_gethostbyname2_r): Remove flags argument. Adjust call
3443 to _nss_nisplus_parse_hostent.
3444 (_nss_nisplus_gethostbyname2_r): Adjust call to
3445 internal_gethostbyname2_r.
3446 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
3447 Adjust call to internal_gethostbyname2_r.
3448 (_nss_nisplus_gethostbyaddr_r): Adjust call to
3449 _nss_nisplus_parse_hostent.
3450 (_nss_nisplus_gethostbyname4_r): Adjust call to
3451 internal_gethostbyname2_r.
3453 2019-05-16 Florian Weimer <fweimer@redhat.com>
3455 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
3457 (LINE_PARSER): Remove address mapping.
3458 (EXTRA_ARGS_VALUE): Remove flags argument.
3459 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
3460 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
3461 gethostbyname3_multi.
3462 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
3463 _nss_files_gethostbyname3_r.
3464 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
3466 2019-05-16 Florian Weimer <fweimer@redhat.com>
3468 * support/support_test_compare_blob.c (report_blob): Report
3469 incorrect NULL blobs.
3471 2019-05-15 Mark Wielaard <mark@klomp.org>
3474 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
3475 __libc_once_get (once) and static_buf == NULL.
3476 (__dlerror): Check we have a valid key, set result to static_buf
3479 2019-05-15 Andreas Schwab <schwab@suse.de>
3482 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
3483 __codecvt_do_length.
3484 * libio/Makefile (tests): Add tst-wfile-sync.
3485 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
3486 * libio/tst-wfile-sync.c: New file.
3487 * libio/tst-wfile-sync.input: New file.
3489 2019-05-15 Florian Weimer <fweimer@redhat.com>
3491 nss: Turn __nss_database_lookup into a compatibility symbol.
3492 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
3493 __nss_database_lookup.
3494 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
3495 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
3496 __nss_database_lookup.
3497 (__nss_next): Move to …
3498 * nss/compat-lookup.c (nss_next): … here. Change it to fail
3500 (__nss_database_lookup): New function.
3501 * nss/Versions (GLIBC_2.0): Update comment.
3502 (GLIBC_PRIVATE): Export __nss_database_lookup2.
3503 * grp/initgroups.c (internal_getgrouplist): Call
3504 __nss_database_lookup2 instead of __nss_database_lookup.
3505 * nscd/aicache.c (addhstaiX): Likewise.
3506 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3507 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3508 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
3509 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
3510 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
3512 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
3513 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
3514 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3516 2019-05-15 Alexandra Hájková <ahajkova@redhat.com>
3518 * support/support.h (support_install_rootsbindir): New variable.
3519 * support/support_paths.c: Likewise.
3520 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
3522 2019-05-15 Florian Weimer <fweimer@redhat.com>
3524 * iconv/gconv.h (__gconv_transliterate): Move declaration …
3525 * iconv/gconv_int.h (__gconv_transliterate): … here.
3526 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
3527 * iconv/skeleton.c: Likewise.
3529 2019-05-14 Florian Weimer <fweimer@redhat.com>
3531 Linux: Add the tgkill function.
3532 * bits/signal_ext.h: New file.
3533 * manual/signal.texi (Signaling Another Process): Document tgkill.
3534 * signal/Makefile (headers): Add bits/signal_ext.h.
3535 * signal/signal.h: Include <bits/signal_ext.h>.
3536 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
3537 (tst-tgkill): Link with libpthread.
3538 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
3539 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
3540 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
3541 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
3543 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3544 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3545 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
3546 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3547 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3548 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3549 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3550 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3551 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3552 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3553 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
3555 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3556 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3557 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
3564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
3566 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
3567 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3568 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3569 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3570 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3571 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3572 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3573 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3575 2019-05-14 Carlos O'Donell <carlos@redhat.com>
3577 * manual/search.texi (Tree Search Function): Adjust twalk_r
3580 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3583 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
3586 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
3587 * support/support.h (support_bindir_prefix): New variable.
3588 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
3590 * config.make.in (bindir): New variable.
3592 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
3593 (lll_trylock): Call __lll_trylock.
3594 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
3595 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
3596 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
3597 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3598 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
3599 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
3600 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3601 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3602 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
3603 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
3604 lowlevellock-futex.h.
3606 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
3607 initialization for LLL_LOCK_INITIALIZER different than 0.
3608 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
3609 Assume LLL_LOCK_INITIALIZER being 0.
3610 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
3611 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
3613 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
3614 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
3616 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
3617 Optimize futex call and add systemtap probe.
3619 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
3620 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
3621 __libc_disable_asynccancel, __librt_enable_asynccancel,
3622 __libc_disable_asynccancel, __librt_enable_asynccancel,
3623 __librt_disable_asynccancel): Move to ...
3624 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
3625 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
3626 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
3627 * sysdeps/generic/single-thread.h: New file.
3628 * sysdeps/unix/sysdep.h: Include single-thread.h.
3629 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
3630 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3632 2019-05-08 Mike FABIAN <mfabian@redhat.com>
3635 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
3636 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
3638 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
3639 * localedata/unicode-gen/PropList.txt: Likewise.
3640 * localedata/unicode-gen/UnicodeData.txt: Likewise.
3641 * localedata/charmaps/UTF-8: Regenerate.
3642 * localedata/locales/i18n_ctype: Likewise.
3643 * localedata/locales/tr_TR: Likewise.
3644 * localedata/locales/translit_circle: Likewise.
3645 * localedata/locales/translit_cjk_compat: Likewise.
3646 * localedata/locales/translit_combining: Likewise.
3647 * localedata/locales/translit_compat: Likewise.
3648 * localedata/locales/translit_font: Likewise.
3649 * localedata/locales/translit_fraction: Likewise.
3651 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
3654 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
3655 (do_set_tcache_count): Only update if count is small enough.
3656 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
3658 2019-05-10 Florian Weimer <fweimer@redhat.com>
3660 * nptl/sem_close.c (struct walk_closure): Define.
3661 (walker): Adjust for __twalk_r.
3662 (sem_close): Call __twalk_r.
3664 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3666 * support/timespec.c (test_timespec_before_impl,
3667 test_timespec_equal_or_after_impl): print timespec member as intmax_t
3670 2019-05-09 Mike Crowe <mac@mcrowe.com>
3672 * nptl/tst-abstime.c: Use libsupport.
3674 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
3675 small bug where only tv.tv_usec was checked which could cause an
3676 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
3679 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
3682 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
3683 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
3685 * nptl/tst-cond11.c: Use libsupport.
3687 * support/timespec.h: New file. Provide timespec helper functions
3688 along with macros in the style of those in check.h.
3689 * support/timespec.c: New file. Implement check functions declared
3690 in support/timespec.h.
3691 * support/timespec-add.c: New file from gnulib containing
3692 timespec_add implementation that handles overflow.
3693 * support/timespec-sub.c: New file from gnulib containing
3694 timespec_sub implementation that handles overflow.
3695 * support/README: Mention timespec.h.
3697 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3700 * nptl/Makefile: Move tst-eintr1 to xtests.
3702 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3704 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
3706 (round_mode): Add definition for TRUNC.
3707 * sysdeps/powerpc/fpu/s_trunc.c: New file.
3708 * sysdeps/powerpc/fpu/s_truncf.c: New file.
3709 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
3710 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3711 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
3713 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
3715 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
3717 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
3719 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
3721 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
3723 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
3725 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
3727 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
3728 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
3729 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
3730 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
3731 s_truncf-power5+, and s_truncf-ppc64.
3732 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
3733 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
3735 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
3736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
3737 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
3738 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
3740 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
3742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
3743 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
3744 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3745 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
3746 s_truncf-power5+, and s_truncf-ppc64.
3747 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
3749 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
3750 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
3752 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
3753 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3754 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3755 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
3756 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
3758 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
3760 (round_mode): Add definition for ROUND.
3761 (round_to_integer_float): Likewise.
3762 * sysdeps/powerpc/fpu/s_round.c: New file.
3763 * sysdeps/powerpc/fpu/s_roundf.c: New file.
3764 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
3765 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3766 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
3768 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
3770 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
3772 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
3774 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
3776 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
3778 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
3780 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
3782 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
3783 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
3784 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
3785 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
3786 s_roundf-power5+, and s_roundf-ppc64.
3787 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
3788 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
3790 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
3791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
3792 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
3793 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
3795 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
3797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
3798 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
3799 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3800 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
3801 s_roundf-power5+, and s_roundf-ppc64.
3802 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
3804 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
3805 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
3807 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
3808 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3809 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3810 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
3811 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
3813 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
3815 (round_mode): Add definition for FLOOR.
3816 * sysdeps/powerpc/fpu/s_floor.c: New file.
3817 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
3818 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
3819 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
3822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
3824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
3826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
3828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
3830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
3832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
3834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
3836 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
3837 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
3838 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3839 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
3840 s_floorf-power5+, and s_floorf-ppc64.
3841 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
3842 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
3844 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
3845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
3846 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
3847 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
3849 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
3851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
3852 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
3853 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3854 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
3855 s_floorf-power5+, and s_floorf-ppc64.
3856 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
3858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
3860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
3862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
3864 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3865 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3866 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
3867 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
3869 2019-05-08 Mike Crowe <mac@mcrowe.com>
3871 * support/xclock_gettime.c (xclock_gettime): New file. Provide
3872 clock_gettime wrapper for use in tests that fails the test rather
3873 than returning failure.
3875 * support/xtime.h: New file to declare xclock_gettime.
3877 * support/Makefile: Add xclock_gettime.c.
3879 * support/README: Mention xtime.h.
3881 2019-05-08 Florian Weimer <fweimer@redhat.com>
3883 malloc/tst-mallocfork2: Use process-shared barriers.
3884 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
3885 (signal_count, sigusr1_sender_pid): Remove.
3886 (iterations): Define constant.
3887 (shared): New variable.
3888 (sigusr1_received): Update comment.
3889 (sigusr1_handler): Do not send SIGSTOP to the sender process.
3890 (signal_sender): Optional use barriers to avoid sending signals
3891 during irrelevant times.
3892 (do_it): Initialize variable shared. Use xfork for error
3893 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
3894 the iteration count, independent of signal delivery. Check for
3895 deadlocks in fork. Introduce barriers for reducing signal
3896 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
3897 replaced by the barriers. Count signals during fork/free/malloc
3899 * malloc/Makefile (tst-mallocfork): Link with libpthread.
3901 2019-05-07 Joseph Myers <joseph@codesourcery.com>
3903 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3905 (clock_adjtime64) New syscall.
3906 (clock_getres_time64) Likewise.
3907 (clock_gettime64) Likewise.
3908 (clock_nanosleep_time64) Likewise.
3909 (clock_settime64) Likewise.
3910 (futex_time64) Likewise.
3911 (io_pgetevents_time64) Likewise.
3912 (io_uring_enter) Likewise.
3913 (io_uring_register) Likewise.
3914 (io_uring_setup) Likewise.
3915 (mq_timedreceive_time64) Likewise.
3916 (mq_timedsend_time64) Likewise.
3917 (pidfd_send_signal) Likewise.
3918 (ppoll_time64) Likewise.
3919 (pselect6_time64) Likewise.
3920 (recvmmsg_time64) Likewise.
3921 (rt_sigtimedwait_time64) Likewise.
3922 (sched_rr_get_interval_time64) Likewise.
3923 (semtimedop_time64) Likewise.
3924 (timer_gettime64) Likewise.
3925 (timer_settime64) Likewise.
3926 (timerfd_gettime64) Likewise.
3927 (timerfd_settime64) Likewise.
3928 (utimensat_time64) Likewise.
3930 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
3931 version to 9 branch.
3933 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
3935 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
3936 __memmove_thunderx2 to the list of implementations
3937 * sysdeps/aarch64/multiarch/memmove.c: Likewise
3938 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
3939 (__memmove_thunderx2): Rewritten using SIMD ld/st
3940 (__memcpy_thunderx2): Fixed handling overlapping cases.
3941 Used ldp/stp instead of ldr/str if possible. Made loops
3944 2019-05-03 Florian Weimer <fweimer@redhat.com>
3946 * misc/tst-tsearch.c (walk_tree): Add more error checking.
3948 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3951 * elf/tst-pldd.c (in_str_list): New function.
3952 (do_test): Add default names for ld and libc as one option.
3954 2019-05-02 Florian Weimer <fweimer@redhat.com>
3956 misc: Add twalk_r function.
3957 * include/search.h (__twalk_r): Declare.
3958 * manual/examples/twalk.c: New file.
3959 * manual/search.texi (Tree Search Function): Document twalk_r.
3960 * misc/Versions (2.30): Export twalk_r.
3961 (GLIBC_PRIVATE): Export __twalk_r.
3962 * misc/search.h [__USE_GNU] (twalk_r): Declare.
3963 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
3964 (twalk_r): Add weak alias.
3965 * misc/tst-tsearch.c (struct walk_trace_element): Define.
3966 (walk_trace): New variable.
3967 (struct twalk_with_twalk_r_closure): Define.
3968 (twalk_with_twalk_r_action): New function.
3969 (twalk_with_twalk_r): Likewise.
3970 (walk_action): Call walk_trace_add.
3971 (walk_tree_with): Rename from walk_tree. Add walk argument.
3972 (walk_tree): New function.
3973 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
3974 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
3976 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3978 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3979 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
3980 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
3981 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
3982 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
3983 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3985 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3987 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3989 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3990 (GLIBC_2.30): Likewise.
3991 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3992 (GLIBC_2.30): Likewise.
3993 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3994 (GLIBC_2.30): Likewise.
3995 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3996 (GLIBC_2.30): Likewise.
3997 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4000 (GLIBC_2.30): Likewise.
4001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4002 (GLIBC_2.30): Likewise.
4003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
4004 (GLIBC_2.30): Likewise.
4005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
4006 (GLIBC_2.30): Likewise.
4007 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
4009 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
4011 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
4013 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
4014 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
4016 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
4018 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
4020 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
4023 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
4025 Make mktime etc. compatible with __time64_t
4026 Keep these functions compatible with Gnulib while adding
4027 __time64_t support. The basic idea is to move private API
4028 declarations from include/time.h to time/mktime-internal.h, since
4029 the former file cannot easily be shared with Gnulib whereas the
4031 Also, do some other minor cleanup while in the neighborhood.
4032 * include/time.h: Include stdbool.h, time/mktime-internal.h.
4033 (__mktime_internal): Move this prototype to time/mktime-internal.h,
4034 since Gnulib needs it.
4035 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
4036 Move these macros to time/mktime-internal.h, since Gnulib needs them.
4037 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
4038 (in_time_t_range): New static function.
4039 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
4040 so that glibc users are not tempted to use __time64_t.
4041 * time/mktime-internal.h: Rewrite so that it does both glibc
4042 and Gnulib work. Include time.h if not _LIBC.
4043 (mktime_offset_t) [!_LIBC]: Define for gnulib.
4044 (__time64_t): New type or macro, moved here from
4046 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
4047 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
4048 from include/time.h.
4049 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
4050 New macros, taken from GNulib.
4051 (__mktime_internal): New prototype, moved here from include/time.h.
4052 * time/mktime.c (mktime_min, mktime_max, convert_time)
4053 (ranged_convert, __mktime_internal, __mktime64):
4054 * time/timegm.c (__timegm64):
4055 Use __time64_t, not time_t.
4056 * time/mktime.c: Stop worrying about whether time_t is floating-point.
4057 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
4059 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
4060 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
4061 for libc_hidden_def.
4063 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
4065 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
4067 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
4070 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
4071 from `-Wmaybe-uninitialized'.
4072 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
4074 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4076 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
4078 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
4079 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
4080 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
4081 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
4082 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
4084 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
4085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
4087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
4089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
4091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
4093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
4095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
4097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
4099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
4101 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
4102 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
4103 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
4104 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
4106 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
4108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
4109 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
4110 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
4112 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
4114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
4115 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
4117 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4118 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
4119 s_ceilf-power5+, and s_ceilf-ppc64.
4120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
4122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
4123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
4124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
4125 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
4126 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
4127 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
4128 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
4130 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
4131 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
4132 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
4134 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
4136 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
4137 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
4138 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
4139 (sem_getvalue): Likewise.
4141 2019-04-26 Florian Weimer <fweimer@redhat.com>
4143 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
4144 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
4146 2019-04-26 Florian Weimer <fweimer@redhat.com>
4148 Makeconfig: Move -Wl,-rpath-link options before library references.
4149 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
4150 (link-libc): Remove $(link-libc-rpath-link).
4152 2019-04-25 Florian Weimer <fweimer@redhat.com>
4154 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4155 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4156 (+link-static-before-libc): Remove $(CC).
4157 (+link-static, +link-static-tests): Add $(CC).
4158 (+link-before-libc): Remove $(CC).
4159 (+link, +link-pie, +link-pie-printers): Add $(CC).
4161 2019-04-26 Florian Weimer <fweimer@redhat.com>
4163 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4164 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4165 (+link-static-before-libc): Remove $(CC).
4166 (+link-static, +link-static-tests): Add $(CC).
4167 (+link-before-libc): Remove $(CC).
4168 (+link, +link-pie, +link-pie-printers): Add $(CC).
4170 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
4173 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
4175 2019-04-25 Florian Weimer <fweimer@redhat.com>
4177 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
4178 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
4179 (bench-link-targets): New variable.
4180 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
4182 2019-04-25 Florian Weimer <fweimer@redhat.com>
4184 Also enable BIND_NOW for programs if --enable-bind-now.
4185 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
4186 (+link-pie): Use $(link-extra-flags).
4187 (+link-static): Likewise.
4188 [! $(build-pie-default)] (+link): Likewise.
4189 * manual/install.texi (Configuring and compiling): Update
4190 --enable-bind-now description.
4191 * INSTALL: Regenerated.
4193 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
4195 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
4196 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
4198 2019-04-24 Mike Frysinger <vapier@gentoo.org>
4201 * malloc/Makefile (others): Add memusagestat.
4202 ($(objpfx)memusagestat): Delete rule.
4203 (LDLIBS-memusagestat): New variable.
4205 2019-04-24 Florian Weimer <fweimer@redhat.com>
4207 * locale/Makefile (tests-special): Guard setting by
4208 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
4209 to run while cross-compiling.
4211 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4214 * elf/Makefile (tests-container): Add tst-pldd.
4215 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
4216 (E(find_maps)): Avoid use alloca, use default read file operations
4217 instead of explicit LFS names, and fix infinite loop.
4218 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
4219 (get_process_info): Use _Static_assert instead of assert, use default
4220 directory operations instead of explicit LFS names, and free some
4222 * elf/tst-pldd.c: New file.
4224 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
4226 * malloc/arena.c (do_set_mallopt_check): Removed.
4228 2019-04-23 Florian Weimer <fweimer@redhat.com>
4230 locale: Add LOCPATH diagnostics to the locale program.
4231 * locale/programs/locale.c (setlocale_failed): New variable.
4232 (try_setlocale): New function.
4233 (quote_string): Likewise.
4234 (setlocale_diagnostics): Likewise.
4235 (main): Call try_setlocale instead of setlocale. Call
4236 setlocale_diagnostics.
4237 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
4238 (tst-locale-locpath.out): New target.
4239 * locale/tst-locale-locpath.sh: New file.
4241 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4243 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
4246 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4249 * malloc/hooks.c (malloc_check, realloc_check): Use
4250 __builtin_add_overflow on overflow check and adapt to
4251 checked_request2size change.
4252 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
4253 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
4254 allocation size to PTRDIFF_MAX.
4255 (REQUEST_OUT_OF_RANGE): Remove macro.
4256 (checked_request2size): Change to inline function and limit maximum
4257 requested size to PTRDIFF_MAX.
4258 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
4259 maximum allocation size to PTRDIFF_MAX.
4260 (_mid_memalign): Use _int_memalign call for overflow check.
4261 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
4262 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
4263 limit maximum requested size to PTRDIFF_MAX.
4264 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
4265 valloc, pvalloc): Add __attribute_alloc_size__.
4266 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
4267 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
4268 larger than PTRDIFF_MAX.
4269 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
4270 around tests of malloc with negative sizes.
4271 * malloc/tst-posix_memalign.c (do_test): Likewise.
4272 * malloc/tst-pvalloc.c (do_test): Likewise.
4273 * malloc/tst-valloc.c (do_test): Likewise.
4274 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
4275 with resulting size allocation larger than PTRDIFF_MAX with
4276 reallocarray_nowarn.
4277 (reallocarray_nowarn): New function.
4278 * NEWS: Mention the malloc function semantic change.
4280 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4282 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
4283 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4285 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
4286 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
4287 * sysdeps/powerpc/fpu/s_fma.c: New file.
4288 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4290 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
4291 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
4293 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
4294 the magic flag store.
4295 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
4297 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
4299 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
4300 Remove rt_sigreturn call.
4302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4303 Remove rt_sigreturn call.
4304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
4307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4309 * support/Makefile (libsupport-routines): Add support_subprocess,
4310 xposix_spawn, xposix_spawn_file_actions_addclose, and
4311 xposix_spawn_file_actions_adddup2.
4312 (tst-support_capture_subprocess-ARGS): New rule.
4313 * support/capture_subprocess.h (support_capture_subprogram): New
4315 * support/support_capture_subprocess.c (support_capture_subprocess):
4316 Refactor to use support_subprocess and support_capture_poll.
4317 (support_capture_subprogram): New function.
4318 * support/tst-support_capture_subprocess.c (write_mode_to_str,
4319 str_to_write_mode, test_common, parse_int, handle_restart,
4320 do_subprocess, do_subprogram, do_multiple_tests): New functions.
4321 (do_test): Add support_capture_subprogram tests.
4322 * support/subprocess.h: New file.
4323 * support/support_subprocess.c: Likewise.
4324 * support/xposix_spawn.c: Likewise.
4325 * support/xposix_spawn_file_actions_addclose.c: Likewise.
4326 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
4327 * support/xspawn.h: Likewise.
4329 2019-04-17 Mike Gerow <gerow@google.com>
4331 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
4334 2019-04-11 Florian Weimer <fweimer@redhat.com>
4336 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
4337 domain with empty string.
4338 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4340 2019-04-11 Florian Weimer <fweimer@redhat.com>
4342 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
4344 (alloc_buffer_next): Change return type to non-const. Update
4347 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
4349 * manual/time.texi (Formatting Calendar Time): Add missing percent
4350 sign to conversion specifier.
4352 2019-04-09 Carlos O'Donell <carlos@redhat.com>
4353 Kwok Cheung Yeung <kcy@codesourcery.com>
4356 * malloc/mtrace.c: Define prototypes for all hooks.
4357 (set_default_hooks): New function.
4358 (set_trace_hooks): Likewise.
4359 (save_default_hooks): Likewise.
4360 (tr_freehook): Use new s*_hooks functions.
4361 (tr_mallochook): Likewise.
4362 (tr_reallochook): Likewise.
4363 (tr_memalignhook): Likewise.
4365 (muntrace): Likewise.
4367 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4369 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
4370 (generic_stpcpy): New function.
4371 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
4372 (generic_stpncpy): New function.
4373 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
4374 (generic_strcat): New function.
4375 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
4376 (generic_strcpy): New function.
4377 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
4378 (STUPID_STRNCAT): Remove function.
4379 (generic_strncat): New function.
4380 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
4381 (STUPID_STRNCPY): Remove function.
4382 (generic_strncpy): New function.
4383 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
4384 (generic_strnlen): New function.
4385 (memchr_strnlen): New function.
4386 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
4387 (memchr_strlen): Likewise.
4389 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4391 * benchtests/bench-strstr.c (input): Add realistic input text.
4392 (stupid_strstr): Remove function.
4393 (basic_strstr): Add function.
4394 (twoway_strstr): Add function.
4395 (do_one_test): Add result checking.
4396 (do_test): Use new input text. Remove accidental early matches.
4397 (test_main): Improve range of tests, reduce unaligned cases.
4399 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4401 * benchtests/bench-memmem.c (simple_memmem): Remove function.
4402 (basic_memmem): Add function.
4403 (twoway_memmem): Add function.
4405 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4407 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
4408 * benchtests/bench-malloc-thread.c: Likewise.
4409 * benchtests/bench-skeleton.c: Likewise.
4410 * benchtests/bench-strtod.c: Likewise.
4411 * benchtests/bench-timing.h: Likewise.
4413 2019-04-08 Florian Weimer <fweimer@redhat.com>
4415 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
4417 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
4418 RES_INSECURE2 security checks.
4419 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
4420 RES_INSECURE2 handling.
4422 2019-04-08 Florian Weimer <fweimer@redhat.com>
4424 resolv: Remove support for RES_USE_INET6 and the inet6 option.
4425 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
4426 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
4428 * resolv/Makefile (tests): Remove tst-res_use_inet6.
4429 (tests-internal): Update justification for tst-resolv-res_init,
4430 tst-resolv-res_init-thread.
4431 (tst-res_use_inet6): Remove target.
4432 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
4433 * resolv/res_debug.c (p_option): Remove "inet6" support.
4434 * resolv/res_init.c (res_setoptions): Likewise.
4435 * resolv/res_use_inet6.h: Remove file.
4436 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
4438 (res_use_inet6): Always return false.
4439 * resolv/resolv.h (RES_USE_INET6): Remove definition.
4440 * resolv/resolv_context.h: Adjust file comment.
4441 (struct resolv_context): Update comment on __next field.
4442 (__resolv_context_put): Update comment.
4443 * resolv/tst-res_use_inet6.c: Remove file.
4444 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
4446 (test_cases): Adjust test case.
4447 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
4448 (thread_byname2_af_inet6): Use old byname_inet6 code.
4449 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
4450 (gai): Remove do_inet6 argument.
4451 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
4452 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
4453 (thread_gai_unspec_inet6): Remove functions.
4454 (do_test): Adjust thread_funcs.
4455 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
4457 (gaih_inet): Do not disable RES_USE_INET6 flag.
4459 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4461 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
4462 and remove redundant code.
4464 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4466 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
4468 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
4469 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
4471 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
4473 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
4475 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4476 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
4477 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
4478 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
4479 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4480 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
4481 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4482 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
4484 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
4485 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4486 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4487 Remove wcsrchr optimizations.
4488 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4490 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
4493 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
4495 * sysdeps/powerpc/power6/wcschr.c: Remove file.
4496 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
4498 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
4500 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
4502 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4503 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
4504 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
4505 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
4506 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4507 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
4508 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4509 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
4511 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
4512 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4513 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4514 Remove wcschr optimizations.
4515 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4517 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
4520 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
4522 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
4523 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
4525 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
4527 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
4529 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4530 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
4531 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
4532 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
4533 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4534 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
4535 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4536 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
4538 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
4539 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4540 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4541 Remove wcscpy optimizations.
4542 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4544 * include/loop_unroll.h: New file.
4545 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
4546 besides generic implementation.
4548 2019-04-03 DJ Delorie <dj@redhat.com>
4550 * time/tst-strftime3.c (tm_to_printed): Disable warning about
4551 snprintf truncating output.
4553 2019-04-02 DJ Delorie <dj@redhat.com>
4555 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
4558 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
4561 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
4563 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
4564 (mkreftable): Add rules for the new Japanese era and the new dates.
4566 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
4567 Rafał Lużyński <digitalfreak@lingonborough.com>
4569 * time/tst-strftime2.c (date_t): Explicitly define the type.
4570 (dates): Use natural month and year numbers to express a date.
4571 (is_before): New function to compare dates.
4572 (mkreftable): Minor improvements to simplify maintenance.
4573 (do_test): Reflect the changes in dates array.
4576 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
4577 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
4578 * time/tst-strftime2.c (locales): Likewise.
4579 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
4580 2010-04-01, and 2011-04-01.
4581 (mkreftable): Add rules for the new locales and the new dates.
4583 2019-04-01 Carlos O'Donell <carlos@redhat.com>
4585 * localedata/locales/ja_JP: Add comments to era entries.
4587 2019-04-01 DJ Delorie <dj@redhat.com>
4590 * time/strptime_l.c (%Ey): Fix fencepost error.
4591 * time/tst-strftime3.c: New.
4592 * time/Makefile (tests): Add tst-strftime3.
4594 2019-04-01 Uroš Bizjak <ubizjak@gmail.com>
4596 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
4597 conditional branch to DIVBYZERO. Fix unwind info.
4598 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
4599 excb after conditional branch to $powerof2. Add missing unop
4600 instructions and .align directives and reorder instructions to
4603 2019-04-01 Richard Henderson <rth@twiddle.net>
4605 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
4607 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
4610 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
4612 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
4613 $libc_cv_riscv_float_abi in `test' invocation.
4614 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
4616 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
4618 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
4620 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
4622 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4623 (_GET_SI_FPSCR): Likewise.
4624 (_SET_SI_FPSCR): Likewise.
4626 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4628 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
4630 (signbit): Use builtin for clang 3.3.
4631 (isinf): Use builtin for clang 3.7.
4633 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4635 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
4637 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
4639 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
4642 2019-03-25 Mike Crowe <mac@mcrowe.com>
4644 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
4645 pthread_rwlock_timedrdlock with calls to
4646 pthread_rwlock_timedwrlock to ensure that the latter is tested
4647 too. Use new function name in diagnostic messages too.
4649 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
4650 (do_test) Use libsupport test macros rather than hand-coded
4651 conditionals and error messages. Ensure that sem_init returns zero
4652 rather than not -1. Use <support/test-driver.c> rather than
4655 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
4656 test macros rather than hand-coded conditionals and error messages.
4657 Use <support/test-driver.c> rather than test-skeleton.c.
4659 2019-03-25 Joseph Myers <joseph@codesourcery.com>
4661 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
4663 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
4664 (NT_MIPS_MSA): Likewise.
4666 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4668 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
4669 * benchtests/README: Update description.
4670 * benchtests/bench-timing.h: Default to hp-timing.
4671 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
4672 HP_TIMING_PRINT): Remove.
4673 (HP_TIMING_NOW): Add generic implementation.
4674 (hp_timing_t): Change to uint64_t.
4676 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
4678 * nptl/descr.h: Likewise.
4679 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
4680 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
4681 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
4682 Abstract hp-timing usage with RTLD_* macros.
4683 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
4684 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
4685 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
4686 HP_TIMING_NONAVAIL): Likewise.
4687 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
4689 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
4690 HP_SMALL_TIMING_AVAIL): Likewise.
4691 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
4692 HP_SMALL_TIMING_AVAIL): Likewise.
4693 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
4694 HP_SMALL_TIMING_AVAIL): Likewise.
4695 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
4696 HP_SMALL_TIMING_AVAIL): Likewise.
4697 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
4699 * sysdeps/generic/hp-timing-common.h: Update comment with
4700 HP_TIMING_AVAIL removal.
4702 * include/random-bits.h: New file.
4703 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
4704 (__res_context_mkquery): Remove usage hp-timing usage and replace with
4706 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
4707 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
4710 * include/libc-internal.h (__get_clockfreq): Remove prototype.
4711 * rt/Makefile (clock-routines): Remove get_clockfreq.
4712 * rt/get_clockfreq.c: Remove file.
4713 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
4714 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
4715 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
4716 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
4717 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
4719 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
4720 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
4721 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
4722 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
4723 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
4725 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
4726 pthread_clock_settime.
4727 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
4728 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
4729 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
4730 * elf/rtld.c (_dl_start_final): Likewise.
4731 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
4732 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
4734 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
4735 (_dl_cpuclock_offset): Remove.
4736 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
4737 cpuclock_offset_ununsed.
4738 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
4739 cpuclock_offset set.
4740 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
4741 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4742 * nptl/pthread_clock_gettime.c: Remove file.
4743 * nptl/pthread_clock_settime.c: Likewise.
4744 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
4745 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
4746 and CLOCK_PROCESS_CPUTIME_ID support.
4747 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
4748 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
4749 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
4750 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
4751 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
4753 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
4755 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4757 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
4758 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
4759 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
4761 * sysdeps/s390/memmem-arch13.S: New file.
4762 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
4763 if it is only used as fallback.
4764 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
4765 * sysdeps/s390/multiarch/ifunc-impl-list.c
4766 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
4768 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4770 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
4771 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
4772 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
4774 * sysdeps/s390/multiarch/ifunc-impl-list.c
4775 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
4776 * sysdeps/s390/strstr-arch13.S: New file.
4777 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
4778 if it is only used as fallback.
4779 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
4781 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4783 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
4784 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
4785 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
4786 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
4788 * sysdeps/s390/multiarch/ifunc-impl-list.c
4789 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
4790 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
4791 S390_IS_ARCH13_MIE3): New defines.
4793 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4795 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
4796 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
4797 * sysdeps/s390/configure.ac: Add checks for arch13 support.
4798 * sysdeps/s390/configure: Regenerated.
4800 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4802 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
4803 Add vxe2, vxp, dflt, sort flags.
4804 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
4805 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
4807 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
4808 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
4809 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
4810 HWCAP_S390_DFLT): Define.
4812 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4815 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
4816 of compiler warning.
4817 * locale/programs/ld-collate.c (collate_output): Likewise.
4819 2019-03-21 DJ Delorie <dj@redhat.com>
4822 * iconv/iconvconfig.c (write_output): Replace floating point math
4823 with integer math to avoid imprecise results.
4824 * locale/programs/ld-collate.c (collate_output): Likewise.
4826 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
4828 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
4829 Add HWCAP_S390_VX and HWCAP_S390_VXE.
4831 2019-03-20 mansayk <6688000@gmail.com>
4834 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
4835 (abday): Likewise, but remove the trailing dots.
4837 2019-03-19 Joseph Myers <joseph@codesourcery.com>
4839 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
4841 (HWCAP_PACA): Likewise.
4842 (HWCAP_PACG): Likewise.
4843 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
4845 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
4847 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4849 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
4852 2019-03-15 Joseph Myers <joseph@codesourcery.com>
4854 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4856 (old_getpagesize): New syscall.
4858 2019-03-15 Felix Yan <felixonmars@archlinux.org>
4861 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
4862 * localedata/locales/cmn_TW (era): Likewise.
4863 * localedata/locales/hak_TW (era): Likewise.
4864 * localedata/locales/lzh_TW (era): Likewise.
4865 * localedata/locales/nan_TW (era): Likewise.
4867 2019-03-14 Adam Maris <amaris@redhat.com>
4869 * malloc/malloc.c (_int_malloc): Check for large bin list
4870 corruption when inserting unsorted chunk.
4872 2019-03-14 Florian Weimer <fweimer@redhat.com>
4874 Remove obsolete, never-implemented XSI STREAMS declarations.
4875 * manual/terminal.texi (Allocation): Remove portability note and
4877 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
4879 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
4880 * sysdeps/unix/inet/Subdirs (streams): Remove.
4881 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
4882 (conformtest-headers-UNIX98): Likewise.
4883 (conformtest-headers-XOPEN2K): Likewise.
4884 (conformtest-headers-POSIX2008): Likewise.
4885 * posix/compat-streams.c: New file.
4886 * posix/Makefile (routines): Add it.
4887 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
4888 getpmsg, isastream, putmsg, putpmsg.
4889 (GLIBC_2.30): New section.
4890 * bits/stropts.h: Remove file.
4891 * bits/xtitypes.h: Likewise.
4892 * conform/data/stropts.h-data: Likewise.
4893 * include/stropts.h: Likewise.
4894 * include/sys/stropts.h: Likewise.
4895 * include/xtitypes.h: Likewise.
4896 * streams/Makefile: Likewise.
4897 * streams/fattach.c: Likewise.
4898 * streams/fdetach.c: Likewise.
4899 * streams/getmsg.c: Likewise.
4900 * streams/getpmsg.c: Likewise.
4901 * streams/isastream.c: Likewise.
4902 * streams/putmsg.c: Likewise.
4903 * streams/putpmsg.c: Likewise.
4904 * streams/stropts.h: Likewise.
4905 * streams/sys/stropts.h: Likewise.
4906 * sysdeps/ia64/bits/xtitypes.h: Likewise.
4907 * sysdeps/s390/bits/xtitypes.h: Likewise.
4908 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
4909 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
4910 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
4911 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
4912 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
4913 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
4914 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
4915 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
4916 * sysdeps/x86/bits/xtitypes.h: Likewise.
4918 2019-03-14 Florian Weimer <fweimer@redhat.com>
4920 * nss/tst-nss-files-alias-truncated.c (do_test): Load
4922 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
4923 but not with libnss_files.
4924 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
4926 2019-03-14 Zack Weinberg <zackw@panix.com>
4928 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
4929 Specify encoding="utf-8" when opening headers to check.
4931 2019-03-13 Joseph Myers <joseph@codesourcery.com>
4933 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4935 (Context.checkout_tar): Handle variable major version for Linux
4938 2019-03-13 Florian Weimer <fweimer@redhat.com>
4941 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
4943 2019-03-13 Zack Weinberg <zackw@panix.com>
4945 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
4947 * include/inttypes.h: Adjust to match.
4948 * include/stdint.h: New wrapper.
4950 2019-03-13 Zack Weinberg <zackw@panix.com>
4952 * scripts/check-obsolete-constructs.py: New test script.
4953 * scripts/check-installed-headers.sh: Remove tests for
4954 obsolete typedefs, superseded by check-obsolete-constructs.py.
4955 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
4956 as a special test. Update commentary.
4957 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
4958 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
4960 * posix/sys/types.h (__u_intN_t): Remove.
4961 (u_int8_t): Typedef using __uint8_t.
4962 (u_int16_t): Typedef using __uint16_t.
4963 (u_int32_t): Typedef using __uint32_t.
4964 (u_int64_t): Typedef using __uint64_t.
4966 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
4968 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
4970 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
4971 Ignore types other than AT_HWCAP.
4972 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
4973 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
4975 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
4976 in the case of falling back to generic output mechanism.
4977 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
4980 2019-03-12 Florian Weimer <fweimer@redhat.com>
4982 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
4984 2019-03-12 Florian Weimer <fweimer@redhat.com>
4987 resolv: Enable full ICMP errors for UDP DNS sockets
4988 * resolv/res_enable_icmp.c: New file.
4989 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
4990 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
4991 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
4994 2019-03-11 Mao Han <han_mao@c-sky.com>
4996 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
4997 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
4999 2019-03-11 Mao Han <han_mao@c-sky.com>
5001 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
5002 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
5003 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
5005 2019-03-11 Mao Han <han_mao@c-sky.com>
5007 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
5009 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
5012 2019-03-11 Mao Han <han_mao@c-sky.com>
5014 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
5015 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
5018 2019-03-08 Mike FABIAN <mfabian@redhat.com>
5021 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
5022 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
5024 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
5025 * localedata/unicode-gen/PropList.txt: Likewise.
5026 * localedata/unicode-gen/UnicodeData.txt: Likewise.
5027 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
5028 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
5029 * localedata/charmaps/UTF-8: Regenerate.
5030 * localedata/locales/i18n_ctype: Likewise.
5031 * localedata/locales/tr_TR: Likewise.
5032 * localedata/locales/translit_circle: Likewise.
5033 * localedata/locales/translit_cjk_compat: Likewise.
5034 * localedata/locales/translit_combining: Likewise.
5035 * localedata/locales/translit_compat: Likewise.
5036 * localedata/locales/translit_font: Likewise.
5037 * localedata/locales/translit_fraction: Likewise.
5039 2019-03-07 Joseph Myers <joseph@codesourcery.com>
5041 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
5042 than after operators.
5043 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
5044 (setitimer_locked): Likewise.
5045 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
5046 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
5047 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
5048 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
5049 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
5050 (PPC_CPU_SUPPORTED): Likewise.
5051 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
5052 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
5053 (stat_overflow): Likewise.
5054 (statfs_overflow): Likewise.
5055 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
5056 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
5057 (eq_ttyname_r): Likewise.
5058 (run_chroot_tests): Likewise.
5060 2019-03-07 Florian Weimer <fweimer@redhat.com>
5062 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
5065 2019-03-07 Martin Liska <mliska@suse.cz>
5067 * math/Makefile: Change location where math-vector-fortran.h is
5069 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
5070 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
5071 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
5072 * scripts/check-installed-headers.sh: Skip Fortran header files.
5073 * scripts/check-wrapper-headers.py: Likewise.
5075 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5077 * nptl/nptl-init.c (__have_futex_clock_realtime,
5078 __have_futex_clock_realtime): Remove definition.
5079 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
5080 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
5081 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
5082 __ASSUME_FUTEX_CLOCK_REALTIME support.
5083 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
5084 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5085 * sysdeps/unix/sysv/linux/kernel-features.h
5086 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
5087 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
5090 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5092 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
5093 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
5094 __GI___wcscpy and wcscpy.
5096 2019-03-04 Florian Weimer <fweimer@redhat.com>
5098 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
5100 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
5103 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
5105 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
5106 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5108 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5111 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
5112 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
5114 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5116 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
5118 (do_test): Likewise.
5119 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5120 (do_test_call_varg): Likewise.
5121 (do_test_call_rarg): Likewise.
5122 * sysdeps/ieee754/ldbl-opt/Makefile
5123 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
5125 ($(objpfx)tst-nldbl-warn.c): New rule.
5126 ($(objpfx)tst-nldbl-error.c): Likewise.
5127 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
5130 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5133 * include/bits/error-ldbl.h: New file.
5134 * include/error.h: Include stdarg.h. Declare internal functions
5135 __error_internal and __error_at_line_internal.
5136 * misc/Makefile (headers): Add bits/error-ldbl.h.
5137 * misc/bits/error-ldbl.h: New file.
5138 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
5139 avoid the inclusion of bits/error.h.
5140 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
5141 and __nldbl_error_at_line.
5142 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
5143 (__nldbl_error, __ndlbl_error_at_line): New functions.
5144 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
5145 Redirect error and error_at_line.
5146 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5155 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5156 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5157 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5159 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5162 * include/bits/err-ldbl.h: New file.
5163 * include/err.h: Add prototypes for the internal functions:
5164 __vwarnx_internal and __vwarn_internal.
5165 * misc/Makefile (headers): Add bits/err-ldbl.h.
5166 * misc/bits/err-ldbl.h: New file.
5167 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
5168 defined, i.e.: when -mlong-double-64 is in use.
5169 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
5170 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
5171 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
5172 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
5173 (VA_CALL): New macro.
5174 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
5175 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
5177 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
5178 declare prototypes for the new functions.
5179 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5188 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5189 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5190 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5192 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5194 * sysdeps/ieee754/ldbl-opt/Makefile
5195 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
5196 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
5197 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
5199 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5202 * argp/Makefile (headers): Add bits/argp-ldbl.h.
5203 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
5204 * argp/bits/argp-ldbl.h: New file.
5205 * include/argp.h: Include stdarg.h. Add prototypes for internal
5206 functions: __argp_error_internal and __argp_failure_internal.
5207 * include/bits/argp-ldbl.h: New file.
5208 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
5209 __nldbl_argp_error and __nldbl_argp_failure.
5210 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
5211 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
5212 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
5213 Redirect argp_error and argp_failure calls.
5214 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5223 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5224 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5225 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5227 2019-03-01 Florian Weimer <fweimer@redhat.com>
5230 * elf/tst-big-note-lib.S: Create a syntactically valid note.
5231 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
5232 code, to avoid creating an ABI tag note.
5233 (modules-names-nobuild): Add tst-big-note-lib.
5235 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
5237 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
5238 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
5240 2019-03-01 Florian Weimer <fweimer@redhat.com>
5243 * sysdeps/unix/sysv/linux/netlink_assert_response.c
5244 (__netlink_assert_response): Add additional missing newlines.
5246 2019-02-28 Joseph Myers <joseph@codesourcery.com>
5248 * sysdeps/powerpc/powerpc32/dl-machine.c
5249 (__elf_machine_fixup_plt): Use space before '('.
5250 (__process_machine_rela): Likewise.
5251 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
5253 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
5255 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
5257 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
5258 (pattern): Likewise.
5260 (check_result): Likewise.
5261 (check_excepts): Likewise.
5262 (check_op): Likewise.
5263 (fail_xr): Likewise.
5264 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
5265 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
5267 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
5270 (__makecontext): Likewise.
5271 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
5274 2019-02-28 Florian Weimer <fweimer@redhat.com>
5277 elf: Add test with a local IFUNC resolver.
5278 * elf/ifuncmain9.c: New file.
5279 * elf/ifuncmain9pic.c: Likewise.
5280 * elf/ifuncmain9picstatic.c: Likewise.
5281 * elf/ifuncmain9pie.c: Likewise.
5282 * elf/ifuncmain9static.c: Likewise.
5283 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
5284 ifuncmain9static, ifuncmain9picstatic.
5285 * elf/Makefile [multi-arch && build-shared] (tests-internal):
5286 Add ifuncmain9, ifuncmain9pic.
5287 * elf/Makefile [multi-arch && build-shared && have-fpie]
5288 (ifunc-pie-tests): Add ifuncmain9pie.
5289 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
5290 (CFLAGS-ifuncmain9picstatic.c): Likewise.
5291 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
5293 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
5295 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
5296 * configure: Regenerated.
5297 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
5299 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5301 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
5302 symbol as __wcspcy instead of wcscpy.
5304 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5306 * include/stdio.h (__renameat2): New hidden prototype.
5307 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
5308 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
5309 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
5310 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
5312 2019-02-27 Joseph Myers <joseph@codesourcery.com>
5314 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
5317 * benchtests/bench-strcpy.c (do_test): Use space before '('.
5318 * benchtests/bench-string.h (cmdline_process_function): Likewise.
5319 * benchtests/bench-strlen.c (do_test): Likewise.
5320 (test_main): Likewise.
5321 * catgets/gencat.c (read_old): Likewise.
5322 * elf/cache.c (load_aux_cache): Likewise.
5323 * iconvdata/bug-iconv8.c (do_test): Likewise.
5324 * math/test-tgmath-ret.c (do_test): Likewise.
5325 * nis/nis_call.c (rec_dirsearch): Likewise.
5326 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5327 * nptl/tst-audit-threads.c (do_test): Likewise.
5328 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
5329 * nss/nss_test1.c (init): Likewise.
5330 * nss/test-netdb.c (test_hosts): Likewise.
5331 * posix/execvpe.c (maybe_script_execute): Likewise.
5332 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
5333 * stdio-common/tst-printf.c (do_test): Likewise.
5334 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
5335 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
5336 * stdlib/qsort.c (STACK_SIZE): Likewise.
5337 * stdlib/test-canon.c (do_test): Likewise.
5338 * stdlib/tst-swapcontext1.c (do_test): Likewise.
5339 * string/memcmp.c (OPSIZ): Likewise.
5340 * string/test-strcpy.c (do_test): Likewise.
5341 (do_random_tests): Likewise.
5342 * string/test-strlen.c (do_test): Likewise.
5343 (test_main): Likewise.
5344 * string/test-strrchr.c (do_test): Likewise.
5345 (do_random_tests): Likewise.
5346 * string/tester.c (test_memrchr): Likewise.
5347 (test_memchr): Likewise.
5348 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
5349 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
5350 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
5351 (read_encoded_value_with_base): Likewise.
5352 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
5353 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
5354 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
5355 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
5356 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
5357 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
5359 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
5361 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
5362 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
5363 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
5365 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
5367 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
5369 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
5371 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
5372 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5373 (FP_XSTATE_MAGIC2_SIZE): Likewise.
5374 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
5375 * time/test_time.c (main): Likewise.
5377 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5379 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
5381 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
5384 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
5387 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
5389 * include/wchar.h (__wcscpy): New prototype.
5390 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
5391 (__wcscpy): Route internal symbol to generic implementation.
5392 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
5393 Add internal __wcscpy alias.
5394 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
5395 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
5396 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
5397 * wcsmbs/wcscpy.c (wcscpy): Add
5398 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
5399 use generic implementation.
5400 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
5402 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
5405 * sysdeps/m68k/wcpcpy.c: Remove file.
5406 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
5408 2019-02-26 Joseph Myers <joseph@codesourcery.com>
5410 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
5411 than after operators.
5412 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
5413 * sysdeps/mach/hurd/getcwd.c
5414 (__hurd_canonicalize_directory_name_internal): Likewise.
5415 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
5416 (pthread_mutex_consistent): Likewise.
5417 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
5419 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
5420 (__pthread_mutex_transfer_np): Likewise.
5421 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
5422 (__pthread_mutex_unlock): Likewise.
5423 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
5424 (mtx_owned_p): Likewise.
5425 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
5426 (pthread_mutexattr_getrobust): Likewise.
5427 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
5428 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
5430 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5431 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
5432 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
5433 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
5434 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
5435 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5436 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
5438 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
5440 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
5441 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
5442 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
5443 (____longjmp_chk): Likewise.
5444 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
5446 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5447 (INTERNAL_SYSCALL): Likewise.
5448 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5449 (INTERNAL_SYSCALL): Likewise.
5450 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5451 (__get_clockfreq_via_cpuinfo): Likewise.
5453 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
5455 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
5456 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
5457 (WORD_COPY_BWD): Likewise.
5458 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5459 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5461 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
5462 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
5464 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
5466 2019-02-25 Joseph Myers <joseph@codesourcery.com>
5468 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
5469 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
5470 rather than after operators.
5471 * elf/cache.c (print_cache): Likewise.
5472 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
5473 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
5474 * hurd/hurdinit.c (_hurd_setproc): Likewise.
5475 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
5476 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
5477 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
5478 (reauth_proc): Likewise.
5479 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
5480 (__file_name_split_at): Likewise.
5481 (__directory_name_split_at): Likewise.
5482 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
5483 * hurd/port2fd.c (_hurd_port2fd): Likewise.
5484 * iconv/gconv_dl.c (do_print): Likewise.
5485 * inet/netinet/in.h (struct sockaddr_in): Likewise.
5486 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
5487 * locale/setlocale.c (new_composite_name): Likewise.
5488 * malloc/memusagestat.c (main): Likewise.
5489 * misc/fstab.c (fstab_convert): Likewise.
5490 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
5492 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
5493 (getgrent_next_file): Likewise.
5494 (internal_getgrnam_r): Likewise.
5495 (internal_getgrgid_r): Likewise.
5496 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
5498 (internal_getgrent_r): Likewise.
5499 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
5500 (getpwent_next_nss): Likewise.
5501 (getpwent_next_file): Likewise.
5502 (internal_getpwnam_r): Likewise.
5503 (internal_getpwuid_r): Likewise.
5504 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
5506 (getspent_next_nss): Likewise.
5507 (internal_getspnam_r): Likewise.
5508 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
5509 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
5510 * string/strchr.c (STRCHR): Likewise.
5511 * string/strchrnul.c (STRCHRNUL): Likewise.
5512 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
5513 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5514 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
5515 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
5516 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
5518 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
5519 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
5520 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
5521 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
5522 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
5523 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
5524 (open_file): Likewise.
5525 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
5526 (pthread_mutexattr_setprotocol): Likewise.
5527 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5528 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
5529 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
5530 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
5531 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
5533 (elf_machine_rela): Likewise.
5534 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5535 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5536 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
5537 * sysdeps/posix/rename.c (rename): Likewise.
5538 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
5539 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
5540 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
5541 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
5542 * sysdeps/unix/grantpt.c (grantpt): Likewise.
5543 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
5544 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
5546 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
5548 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
5549 * time/tzfile.c (__tzfile_compute): Likewise.
5551 2019-02-22 Joseph Myers <joseph@codesourcery.com>
5553 * benchtests/bench-memmem.c (simple_memmem): Break lines before
5554 rather than after operators.
5555 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
5556 * crypt/md5.c (md5_finish_ctx): Likewise.
5557 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
5558 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
5559 * elf/cache.c (load_aux_cache): Likewise.
5560 * elf/dl-load.c (open_verify): Likewise.
5561 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
5562 * elf/readelflib.c (process_elf_file): Likewise.
5563 * elf/rtld.c (dl_main): Likewise.
5564 * elf/sprof.c (generate_call_graph): Likewise.
5565 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
5566 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
5567 * hurd/dtable.c (reauth_dtable): Likewise.
5568 * hurd/getdport.c (__getdport): Likewise.
5569 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
5570 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
5571 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
5573 * hurd/hurdioctl.c (fioctl): Likewise.
5574 * hurd/hurdselect.c (_hurd_select): Likewise.
5575 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
5576 (STOPSIGS): Likewise.
5577 * hurd/hurdstartup.c (_hurd_startup): Likewise.
5578 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
5579 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
5580 * hurd/msgportdemux.c (msgport_server): Likewise.
5581 * hurd/setauth.c (_hurd_setauth): Likewise.
5582 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
5583 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
5584 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
5585 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
5586 * login/tst-utmp.c (do_check): Likewise.
5587 (simulate_login): Likewise.
5588 * mach/lowlevellock.h (lll_lock): Likewise.
5589 (lll_trylock): Likewise.
5590 * math/test-fenv.c (ALL_EXC): Likewise.
5591 * math/test-fenvinline.c (ALL_EXC): Likewise.
5592 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
5593 * nis/nis_call.c (__do_niscall3): Likewise.
5594 * nis/nis_callback.c (cb_prog_1): Likewise.
5595 * nis/nis_defaults.c (searchaccess): Likewise.
5596 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5597 * nis/nis_ismember.c (internal_ismember): Likewise.
5598 * nis/nis_local_names.c (nis_local_principal): Likewise.
5599 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
5600 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
5602 * nis/ypclnt.c (yp_match): Likewise.
5603 (yp_first): Likewise.
5604 (yp_next): Likewise.
5605 (yp_master): Likewise.
5606 (yp_order): Likewise.
5607 * nscd/hstcache.c (cache_addhst): Likewise.
5608 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5609 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
5610 (internal_getpwuid_r): Likewise.
5611 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
5612 * posix/glob.h (__GLOB_FLAGS): Likewise.
5613 * posix/regcomp.c (peek_token): Likewise.
5614 (peek_token_bracket): Likewise.
5615 (parse_expression): Likewise.
5616 * posix/regexec.c (sift_states_iter_mb): Likewise.
5617 (check_node_accept_bytes): Likewise.
5618 * posix/tst-spawn3.c (do_test): Likewise.
5619 * posix/wordexp-test.c (testit): Likewise.
5620 * posix/wordexp.c (parse_tilde): Likewise.
5621 (exec_comm): Likewise.
5622 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
5623 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
5624 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
5625 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
5626 * stdio-common/tst-fileno.c (do_test): Likewise.
5627 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
5628 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
5629 * stdlib/strtod_l.c (round_and_return): Likewise.
5630 (____STRTOF_INTERNAL): Likewise.
5631 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
5632 * string/strcspn.c (STRCSPN): Likewise.
5633 * string/test-memmem.c (simple_memmem): Likewise.
5634 * termios/tcsetattr.c (tcsetattr): Likewise.
5635 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
5636 * time/asctime.c (asctime_internal): Likewise.
5637 * time/strptime_l.c (__strptime_internal): Likewise.
5638 * time/sys/time.h (timercmp): Likewise.
5639 * time/tzfile.c (__tzfile_compute): Likewise.
5641 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
5644 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
5646 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5648 * argp/argp-help.c (__argp_error_internal): New function,
5649 renamed from __argp_error, but that takes a 'mode_flags'
5650 parameter to control the format of long double parameters.
5651 (__argp_error): Converted into a call __argp_error_internal.
5652 (__argp_failure_internal): New function, renamed from
5653 __argp_failure, but that takes a 'mode_flags' parameter.
5654 (__argp_failure): Converted into a call __argp_failure_internal.
5655 * misc/err.c (__vwarnx_internal): New function, renamed from
5656 vwarnx, but that takes a 'mode_flags' parameter.
5657 (vwarnx): Converted into a call to __vwarnx_internal.
5658 (__vwarn_internal): New function, renamed from vwarn, but that
5659 takes a 'mode_flags' parameter.
5660 (vwarn): Converted into a call to __vwarn_internal.
5661 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
5662 call to __vfxprintf with 'mode_flags'.
5663 (__error_internal): New function, renamed from error, but that
5664 takes a 'mode_flags' parameter.
5665 (error): Converted into a call to __error_internal.
5666 (__error_at_line_internal): New function, renamed from
5667 error_at_line, but that takes a 'mode_flags' parameter.
5668 (error_at_line): Converted into a call to
5669 __error_at_line_internal.
5670 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
5671 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
5674 2019-02-20 Martin Liska <mliska@suse.cz>
5676 * math/Makefile: Install math-vector-fortran.h.
5677 * bits/math-vector-fortran.h: New file.
5678 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
5680 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5682 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
5683 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
5685 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
5687 * nptl/pthread_mutex_trylock.c: Fix comment.
5689 2019-02-19 Carlos O'Donell <carlos@redhat.com>
5691 * nptl/pthread_tryjoin.c: Fix comment.
5693 2019-02-18 Joseph Myers <joseph@codesourcery.com>
5696 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
5697 after R_SPARC_H34 case.
5699 2019-02-18 Florian Weimer <fweimer@redhat.com>
5701 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
5702 (getanswer): Do not call Dprintf.
5703 (res_gethostbyname2_context): Likewise.
5704 (res_gethostbyaddr_context): Likewise.
5706 2019-02-18 Florian Weimer <fweimer@redhat.com>
5708 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
5710 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
5712 * libio/stdfiles.c: Update comment.
5713 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
5714 set _IO_stdin, _IO_stdout, _IO_stderr.
5715 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
5716 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
5718 (_IO_deallocate_file): New inline function.
5719 * libio/iolibio.h (_IO_vprintf): Remove definition.
5720 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
5721 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
5722 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
5724 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
5725 __builtin_expect. Use _IO_legacy_file.
5727 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
5729 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
5730 Initialize ctid with a known value and remove update of ctid
5732 (wait_tid): Adjust arguments and call futex_wait with ctid_val
5733 as assumed current value of ctid_ptr.
5735 2019-02-16 Florian Weimer <fweimer@redhat.com>
5737 Check that non-sysdeps headers have wrapper headers.
5738 * scripts/check-wrapper-headers.py: New file.
5739 * Makefile (tests-special): Add check-wrapper-headers.out.
5740 (check-wrapper-headers.out): New target.
5741 * Rules (tests-special): Add check-wrapper-headers.out.
5742 (check-wrapper-headers.out): New target.
5744 2019-02-16 Florian Weimer <fweimer@redhat.com>
5746 Add missing header wrappers under include/.
5747 * include/ar.h: New file.
5748 * include/bits/mqueue2.h: Likewise.
5749 * include/bits/stdio.h: Likewise.
5750 * include/bits/stdio2.h: Likewise.
5751 * include/fstab.h: Likewise.
5752 * include/fts.h: Likewise.
5753 * include/lastlog.h: Likewise.
5754 * include/netinet/icmp6.h: Likewise.
5755 * include/netinet/igmp.h: Likewise.
5756 * include/netinet/ip6.h: Likewise.
5757 * include/re_comp.h: Likewise.
5758 * include/regexp.h: Likewise.
5759 * include/rpcsvc/bootparam.h: Likewise.
5760 * include/rpcsvc/yp_prot.h: Likewise.
5761 * include/sys/random.h: Likewise.
5762 * include/sys/stropts.h: Likewise.
5763 * include/sys/ttychars.h: Likewise.
5764 * include/sys/vfs.h: Likewise.
5765 * include/wait.h: Likewise.
5767 2019-02-16 Florian Weimer <fweimer@redhat.com>
5769 * nptl_db/proc_service.h: Move to ...
5770 * sysdeps/nptl/proc_service.h: ... here.
5771 * nptl_db/thread_db.h: Move to ...
5772 * sysdeps/nptl/thread_db.h: ... here.
5773 * nptl/descr.h: Include <thread_db.h>.
5775 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5777 * io/Makefile (tests): Add tst-lockf.
5778 * io/lockf.c (lockf): Use __fcntl and only define for
5779 !__OFF_T_MATCHES_OFF64_T.
5780 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
5781 __OFF_T_MATCHES_OFF64_T case.
5782 * io/tst-lockf.c: New file.
5783 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
5784 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
5785 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
5786 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
5787 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
5788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
5789 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
5790 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
5791 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
5793 2019-02-15 Florian Weimer <fweimer@redhat.com>
5796 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
5797 pd->result after the thread descriptor has been freed.
5799 2019-02-15 Joseph Myers <joseph@codesourcery.com>
5801 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
5802 from function return type.
5804 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
5806 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5808 * scripts/test_printers_common.py: Set TERM to a known harmless
5811 2019-02-14 Joseph Myers <joseph@codesourcery.com>
5813 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
5814 (xdr_u_int): Likewise.
5815 (xdr_enum): Likewise.
5816 (xdr_bytes): Reword fall-through comment.
5817 (xdr_string): Likewise.
5819 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5822 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
5823 (tests): Add tst-join8 tst-join9.
5824 * nptl/lll_timedwait_tid.c: Remove file.
5825 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
5826 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
5827 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
5828 * nptl/pthread_join_common.c (timedwait_tid): New function.
5829 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
5831 * nptl/tst-join5.c (thread_join): New function.
5832 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
5834 * nptl/tst-join8.c: New file.
5835 * nptl/tst-join9.c: Likewise.
5836 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
5837 lll_futex_timed_wait_cancel): Add generic macros.
5838 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
5840 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5841 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5842 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5843 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
5845 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
5847 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5848 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
5849 (lll_futex_timed_wait_cancel): New macro.
5851 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
5853 * benchtests/Makefile: Add malloc-simple benchmark.
5854 * benchtests/bench-malloc-simple.c: New benchmark.
5856 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
5858 * benchtests/bench-memmove.c (do_one_test): Remove unused
5861 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
5865 2019-01-13 Jim Wilson <jimw@sifive.com>
5868 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
5869 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
5871 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
5873 * nptl/Makefile (tests): Add tst-unwind-thread.
5874 (CFLAGS-tst-unwind-thread.c): Define.
5875 * nptl/tst-unwind-thread.c: New file.
5876 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
5879 2019-02-13 Joseph Myers <joseph@codesourcery.com>
5881 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
5883 * nis/nis_call.c (__do_niscall3): Likewise.
5885 * catgets/gencat.c (normalize_line): Use braces around empty
5887 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
5888 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
5889 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
5890 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
5891 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
5892 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
5893 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
5896 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
5899 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
5901 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
5902 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
5903 * benchtests/bench-strchr.c (stupid_strchr): Remove.
5904 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
5905 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
5906 * benchtests/bench-strlen.c (builtin_strlen): Remove.
5907 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
5908 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
5909 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
5910 * benchtests/bench-strspn.c (stupid_strspn): Remove.
5911 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
5912 * benchtests/bench-bcopy.c: Delete file.
5913 * benchtests/bench-bzero.c: Likewise.
5914 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
5915 (simple_memccpy): Remove.
5916 (generic_memccpy): Add function.
5917 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
5918 * benchtests/bench-memmove.c (simple_bcopy): Remove.
5919 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
5920 (generic_mempcpy): Add new function.
5921 * benchtests/bench-memset.c (simple_bzero): Remove.
5922 (builtin_bzero): Remove.
5923 (builtin_memset): Remove.
5924 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
5925 (generic_rawmemchr): Add new function.
5927 2019-02-12 Florian Weimer <fweimer@redhat.com>
5929 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
5931 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5934 * elf/Makefile (tests): Add tst-audit13.
5935 (modules-names): Add tst-audit13mod1.
5936 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
5938 * elf/tst-audit13.c: New file.
5939 * elf/tst-audit13mod1.c: Likewise.
5941 2019-02-12 Florian Weimer <fweimer@redhat.com>
5944 * elf/rtld.c (unload_audit_module): New function.
5945 (report_audit_module_load_error): Likewise.
5946 (load_audit_module): Likewise. Extracted from dl_main. Call
5947 _dl_close if the laversion symbol cannot be found. Use early
5948 returns for error handling. Add malloc error check. Check for a
5949 zero return value from la_version. Remove spurious comment about
5950 static TLS initialization. Remove useless casts.
5951 (notify_audit_modules_of_loaded_object): New function. Extracted
5953 (load_audit_module): Likewise.
5954 (dl_main): Call load_audit_modules.
5956 2019-02-12 Joseph Myers <joseph@codesourcery.com>
5958 * elf/dl-exception.c (_dl_exception_create_format): Add
5959 fall-through comments.
5960 * elf/ldconfig.c (parse_conf_include): Likewise.
5961 * elf/rtld.c (print_statistics): Likewise.
5962 * locale/programs/charmap.c (parse_charmap): Likewise.
5963 * misc/mntent_r.c (__getmntent_r): Likewise.
5964 * posix/wordexp.c (parse_arith): Likewise.
5965 (parse_backtick): Likewise.
5966 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
5967 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
5968 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5970 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
5972 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
5973 Use float instead of double.
5975 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
5977 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
5979 2019-02-08 Joseph Myers <joseph@codesourcery.com>
5981 * sysdeps/powerpc/bits/mathinline.h: Remove.
5983 2019-02-08 Florian Weimer <fweimer@redhat.com>
5985 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
5986 * math/bits/math-finite.h: Move to ...
5987 * bits/math-finite.h: ... here.
5989 2019-02-08 Florian Weimer <fweimer@redhat.com>
5991 * sysdeps/generic/bits/unistd_ext.h: Move to ...
5992 * bits/unistd_ext.h: here.
5994 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
5997 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
5998 * nss/tst-nss-files-hosts-long.c: New file.
5999 * nss/tst-nss-files-hosts-long.root: New directory.
6000 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
6001 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
6003 2019-02-08 Florian Weimer <fweimer@redhat.com>
6005 * include/bits/unistd_ext.h: Remove file.
6006 * posix/bits/unistd_ext.h: Move to ...
6007 * sysdeps/generic/bits/unistd_ext.h: ... here.
6009 2019-02-08 Florian Weimer <fweimer@redhat.com>
6011 * include/bits/unistd_ext.h: New file.
6013 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
6015 * time/tst-strftime2.c: Use array_length macros instead of magic
6018 2019-02-08 Florian Weimer <fweimer@redhat.com>
6021 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
6023 * nptl/register-atfork.c (__run_fork_handlers): Only perform
6024 locking if the new do_locking argument is true.
6025 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
6026 __run_fork_handlers.
6028 2019-02-08 Florian Weimer <fweimer@redhat.com>
6031 Linux: Add gettid system call wrapper.
6032 * posix/Makefile (headers): Add bits/unistd_ext.h.
6033 * posix/bits/unistd_ext.h: New file.
6034 * posix/unistd.h: Include it.
6035 * manual/process.texi (Process Identification): Document gettid.
6036 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
6037 tst-gettid, tst-gettid-kill.
6038 (tst-gettid): Link with $(shared-thread-library).
6039 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
6040 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
6041 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
6042 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
6043 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
6044 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
6046 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
6048 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
6049 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
6051 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
6053 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
6055 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
6057 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
6059 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
6061 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
6063 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6064 (GLIBC_2.30): Likewise.
6065 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6066 (GLIBC_2.30): Likewise.
6067 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6068 (GLIBC_2.30): Likewise.
6069 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6070 (GLIBC_2.30): Likewise.
6071 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
6073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6074 (GLIBC_2.30): Likewise.
6075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6076 (GLIBC_2.30): Likewise.
6077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
6078 (GLIBC_2.30): Likewise.
6079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
6080 (GLIBC_2.30): Likewise.
6081 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
6083 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
6085 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
6087 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
6088 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
6090 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
6092 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
6094 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
6096 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
6098 2019-02-08 Florian Weimer <fweimer@redhat.com>
6100 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
6101 compatibility symbols.
6103 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
6106 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6107 Add compiler barriers and comments.
6109 2019-02-07 Florian Weimer <fweimer@redhat.com>
6111 * include/array_length.h (array_length): Do not use a statement
6112 expression and _Static_assert, so that array_length can be used at
6113 file scope and as a constant expression.
6115 2019-02-07 Florian Weimer <fweimer@redhat.com>
6117 * support/xdlfcn.h (xdlmopen): Declare.
6118 * support/xdlmopen.c: New file.
6119 * support/Makefile (libsupport-routines): Add xdlmopen.
6121 2019-02-06 Joseph Myers <joseph@codesourcery.com>
6123 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
6124 before return type, without separate inline.
6125 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
6126 * elf/dl-tunables.h (tunable_is_name): Likewise.
6127 * malloc/malloc.c (do_set_trim_threshold): Likewise.
6128 (do_set_top_pad): Likewise.
6129 (do_set_mmap_threshold): Likewise.
6130 (do_set_mmaps_max): Likewise.
6131 (do_set_mallopt_check): Likewise.
6132 (do_set_perturb_byte): Likewise.
6133 (do_set_arena_test): Likewise.
6134 (do_set_arena_max): Likewise.
6135 (do_set_tcache_max): Likewise.
6136 (do_set_tcache_count): Likewise.
6137 (do_set_tcache_unsorted_limit): Likewise.
6138 * nis/nis_subr.c (count_dots): Likewise.
6139 * nptl/allocatestack.c (advise_stack_range): Likewise.
6140 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
6142 (reduce_sincos): Likewise.
6143 (do_sincos): Likewise.
6144 * sysdeps/unix/sysv/linux/x86/elision-conf.c
6145 (do_set_elision_enable): Likewise.
6146 (TUNABLE_CALLBACK_FNDECL): Likewise.
6148 2019-02-06 Florian Weimer <fweimer@redhat.com>
6150 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
6151 (xdlsym): Use dlerror to detect a NULL symbol.
6153 2019-02-06 Florian Weimer <fweimer@redhat.com>
6155 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
6157 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6159 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6161 * libio/tst-bz24153.c (wide): Use wide char format specifier.
6163 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6165 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
6166 __wmemcmp and weak alias to wmemcmp.
6168 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6171 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
6172 TLS_TCB_AT_TP tls variant.
6173 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
6174 Add alignment checks.
6175 * support/Makefile (libsupport-routines): Add xposix_memalign and
6177 * support/support.h: Add xposix_memalign.
6178 * support/xthread.h: Add xpthread_attr_setstack.
6179 * support/xposix_memalign.c: New File.
6180 * support/xpthread_attr_setstack.c: Likewise.
6182 2019-02-05 Florian Weimer <fweimer@redhat.com>
6185 arm: Use "nr" constraint for Systemtap probes, to avoid the
6186 compiler using memory operands for constants, due to the "o"
6187 alternative in the default "nor" constraint.
6188 * include/stap-probe.h [USE_STAP_PROBE]: Include
6189 <stap-probe-machine.h>
6190 * sysdeps/generic/stap-probe-machine.h: New file.
6191 * sysdeps/arm/stap-probe-machine.h: Likewise.
6193 2019-02-04 Joseph Myers <joseph@codesourcery.com>
6195 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
6196 with 0, not tcache->entries[tc_idx].
6198 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
6201 2019-02-04 Andreas Schwab <schwab@suse.de>
6205 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
6206 looking up collating elements match against (wide) character
6207 sequence instead of name. Correct alignment adjustment.
6208 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
6209 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
6210 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
6211 (LOCALES): Add cs_CZ.ISO-8859-2.
6212 * posix/tst-fnmatch4.c: New file.
6213 * posix/tst-fnmatch5.c: New file.
6214 * include/wchar.h (__wmemcmp): Declare.
6215 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
6216 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
6217 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
6218 * sysdeps/s390/wmemcmp.c: Likewise.
6220 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
6224 * NEWS: Updated for CVE-2019-7309.
6225 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
6226 upper 32 bits of RDX register for x32. Use unsigned Jcc
6227 instructions, instead of signed.
6228 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
6229 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
6231 2019-02-04 Florian Weimer <fweimer@redhat.com>
6233 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
6234 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
6235 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
6237 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
6238 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
6239 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
6240 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
6242 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
6244 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
6246 (posix_spawn_file_actions_addopen): Likewise.
6247 (posix_spawn_file_actions_addclose): Likewise.
6248 (posix_spawn_file_actions_adddup2): Likewise.
6249 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
6251 (posix_spawn_file_actions_addfchdir_np): Likewise.
6253 2019-02-04 David Newall <glibc@davidnewall.com>
6255 elf: Implement --preload option for the dynamic linker.
6256 * elf/rtld.c (preloadarg): New variable.
6257 (handle_preload_list): Pass through “where” argument to
6259 (dl_main): Handle "--preload" and add second call to
6260 handle_preload_list.
6261 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
6262 (tst-rtld-preload-OBJS): Set variable.
6263 (tst-rtld-preload.out): New target.
6264 * elf/tst-rtld-preload.sh: New file.
6266 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
6268 * Makefile (testrun.sh): Exit in case of incorrect argument.
6270 2019-02-04 Florian Weimer <fweimer@redhat.com>
6272 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
6275 2019-02-03 Florian Weimer <fweimer@redhat.com>
6277 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
6278 implicit overflow checks.
6280 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
6282 * stdlib/isomac.c: Include <unistd.h>.
6284 2019-02-03 Florian Weimer <fweimer@redhat.com>
6286 * include/time.h (__tzfile_default): Use int, not long int, for
6288 * time/tzfile.c (struct ttinfo): Change type of the offset member
6290 (__tzfile_read): Remove useless cast.
6291 (__tzfile_default): Adjust prototype.
6292 * time/tzset.c (tz_rule): Change type of the offset member to int.
6293 (parse_offset): Change the type of the sign variable to int.
6295 2019-02-03 Florian Weimer <fweimer@redhat.com>
6298 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
6299 * libio/getchar.c (getchar): Likewise.
6300 * libio/getchar_u.c (getchar_unlocked): Likewise.
6301 * libio/getwchar.c (getwchar): Likewise.
6302 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6303 * libio/iogets.c (_IO_gets): Likewise.
6304 * libio/vscanf.c (_IO_vscanf): Likewise.
6305 * libio/vwscanf.c (__vwscanf): Likewise.
6306 * libio/tst-bz24153.c: New file.
6307 * libio/Makefile (tests): Add it.
6309 2019-02-02 Florian Weimer <fweimer@redhat.com>
6312 * manual/resource.texi (Basic Scheduling Functions): Add
6313 portability note. Change process to task throughout the section.
6314 Remove incorrect comment about sched_yield as it affects
6315 tasks/threads, not entire processes.
6316 * sysdeps/unix/sysv/linux/bits/posix_opt.h
6317 (_POSIX_PRIORITY_SCHEDULING): Update comment.
6319 2019-02-01 Joseph Myers <joseph@codesourcery.com>
6321 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
6322 * configure: Regenerated.
6323 * manual/install.texi (Tools for Compilation): Update minimum GCC
6325 * INSTALL: Regenerated.
6327 2019-02-01 Florian Weimer <fweimer@redhat.com>
6329 * support/support_test_compare_string.c
6330 (support_test_compare_string): Use "string" in error message.
6331 * support/tst-test_compare_string.c (do_test): Adjust.
6333 2019-02-01 Florian Weimer <fweimer@redhat.com>
6335 * support/support_format_address_family.c
6336 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
6338 2019-02-01 Florian Weimer <fweimer@redhat.com>
6340 * manual/socket.texi (Internet Address Formats): Clarify the byte
6341 order of struct sockaddr_in, struct sockaddr_in6. Document
6342 sin6_flowinfo and sin6_scope_id.
6344 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
6346 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
6347 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
6348 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
6349 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
6350 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
6351 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
6353 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6355 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
6356 [!MEMCHR](MEMCHR): Set to __memchr.
6357 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6358 Add memchr_generic and memchr_nosimd.
6359 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6360 (__libc_ifunc_impl_list): Add memchr ifuncs.
6361 * sysdeps/aarch64/multiarch/memchr.c: New file.
6362 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
6363 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
6365 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6367 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6369 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6370 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
6371 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
6372 Add IS_EMAG check for ifunc dispatch.
6373 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
6374 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
6376 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6378 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
6379 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6381 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
6384 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
6386 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
6388 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
6390 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
6391 syscall-template file.
6393 2019-01-31 Carlos O'Donell <carlos@redhat.com>
6394 Torvald Riegel <triegel@redhat.com>
6395 Rik Prohaska <prohaska7@gmail.com>
6398 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
6399 tst-rwlock-trywrlock-stall.
6400 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
6401 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
6402 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
6403 Set __wrphase_fute to 1 only if we started the write phase.
6404 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
6405 * nptl/tst-rwlock-trywrlock-stall.c: New file.
6406 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
6407 * support/xpthread_rwlock_destroy.c: New file.
6408 * support/xthread.h: Declare xpthread_rwlock_destroy.
6410 2019-02-01 Joseph Myers <joseph@codesourcery.com>
6412 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
6415 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6418 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
6419 * libio/fileops.c (_IO_new_file_underflow): Likewise
6420 * libio/wfileops.c (_IO_wfile_underflow): Likewise
6421 * libio/putchar.c (putchar): Likewise.
6422 * libio/putchar_u.c (putchar_unlocked): Likewise.
6423 * libio/putwchar.c (putchar): Likewise.
6424 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
6425 * libio/tst-bz24051.c: New test.
6426 * libio/Makefile (tests): Add tst-bz24051
6428 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
6431 regex: fix read overrun [BZ #24114]
6432 Problem found by AddressSanitizer, reported by Hongxu Chen in:
6433 https://debbugs.gnu.org/34140
6434 * posix/regexec.c (proceed_next_node):
6435 Do not read past end of input buffer.
6437 2019-01-31 Florian Weimer <fweimer@redhat.com>
6440 * nss/nss_files/files-alias.c (get_next_alias): Handle
6441 continuation line without newline at the end.
6442 * nss/tst-nss-files-alias-truncated.c: New file.
6443 * nss/Makefile [$(build-shared)] (tests): Add
6444 tst-nss-files-alias-truncated.
6445 (tst-nss-files-alias-truncated): Link with libnss_files.so.
6446 * support/namespace.h (struct support_chroot_configuration): Add
6448 (struct support_chroot): Add path_aliases member.
6449 * support/support_chroot.c (support_chroot_create): Handle
6451 (support_chroot_free): Free path_aliases.
6453 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
6455 * version.h (RELEASE): Set to "development".
6456 (VERSION): Set to "2.29.9000".
6457 * NEWS: Add section for 2.30.
6459 * version.h (RELEASE): Set to "stable".
6460 (VERSION): Set to "2.29".
6461 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
6463 * NEWS: Add the list of bugs fixed in 2.29.
6464 * manual/contrib.texi: Update contributors list with some more
6466 * manual/install.texi: Update latest versions of packages
6468 * INSTALL: Regenerated.
6470 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
6472 * po/be.po: Update translations.
6473 * po/bg.po: Likewise.
6474 * po/ca.po: Likewise.
6475 * po/cs.po: Likewise.
6476 * po/da.po: Likewise.
6477 * po/de.po: Likewise.
6478 * po/el.po: Likewise.
6479 * po/eo.po: Likewise.
6480 * po/es.po: Likewise.
6481 * po/fi.po: Likewise.
6482 * po/fr.po: Likewise.
6483 * po/gl.po: Likewise.
6484 * po/hr.po: Likewise.
6485 * po/hu.po: Likewise.
6486 * po/ia.po: Likewise.
6487 * po/id.po: Likewise.
6488 * po/it.po: Likewise.
6489 * po/ja.po: Likewise.
6490 * po/ko.po: Likewise.
6491 * po/lt.po: Likewise.
6492 * po/nb.po: Likewise.
6493 * po/nl.po: Likewise.
6494 * po/pl.po: Likewise.
6495 * po/pt_BR.po: Likewise.
6496 * po/ru.po: Likewise.
6497 * po/rw.po: Likewise.
6498 * po/sk.po: Likewise.
6499 * po/sl.po: Likewise.
6500 * po/sv.po: Likewise.
6501 * po/tr.po: Likewise.
6502 * po/uk.po: Likewise.
6503 * po/vi.po: Likewise.
6504 * po/zh_CN.po: Likewise.
6505 * po/zh_TW.po: Likewise.
6507 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
6510 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
6511 of $f3 register on $y_is_neg path.
6513 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
6516 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
6517 sigaltstack.ss_flags.
6519 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
6522 * manual/time.texi (strftime): Document "%Ey".
6523 * time/strftime_l.c (__strftime_internal): Set the default width
6524 padding with zero of "%Ey" to 2.
6527 * manual/time.texi (strftime): Document "%EC" and "%EY".
6528 * time/Makefile (tests): Add tst-strftime2.
6529 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
6530 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
6531 override padding for "%Ey".
6532 If an optional flag ('_' or '-') is specified to "%EY", interpret the
6533 "%Ey" in the subformat as if decorated with that flag.
6534 * time/tst-strftime2.c: New file.
6536 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6538 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
6542 * elf/Makefile (tests): Add tst-audit13.
6543 (modules-names): Add tst-audit13mod1.
6544 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
6546 * elf/rtld.c (dl_main): Handle invalid audit module version.
6547 * elf/tst-audit13.c: New file.
6548 * elf/tst-audit13mod1.c: Likewise.
6550 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
6552 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
6553 returned by __hurd_at_flags.
6554 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
6555 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
6556 directly instead of __hurd_file_name_lookup.
6558 2019-01-21 Joseph Myers <joseph@codesourcery.com>
6560 * scripts/build-many-glibcs.py (Context.checkout): Default
6561 binutils version to 2.32 branch.
6563 2019-01-21 Florian Weimer <fweimer@redhat.com>
6567 resolv: Reject trailing characters in host names
6568 * include/arpa/inet.h (__inet_aton_exact): Declare.
6569 (inet_aton): Remove hidden prototype. No longer used internally.
6570 * nscd/gai.c (__inet_aton): Do not define.
6571 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
6572 * nss/digits_dots.c (__inet_aton): Likewise.
6573 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
6574 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
6575 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
6576 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
6577 (tst-resolv-trailing): Likewise.
6578 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
6580 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
6581 Make static. Add endp parameter.
6582 (__inet_aton_exact): New function.
6583 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
6584 (__inet_addr): Call inet_aton_end.
6585 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
6586 not just IPv6. Call __inet_aton_exact.
6587 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
6588 (tests): Make const. Add additional test cases with trailing
6590 (do_test): Use array_length.
6591 * resolv/tst-inet_aton_exact.c: New file.
6592 * resolv/tst-resolv-trailing.c: Likewise.
6593 * resolv/tst-resolv-nondecimal.c: Likewise.
6594 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
6596 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6600 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
6601 Clear the upper 32 bits of RSI register.
6602 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
6603 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
6604 and tst-size_t-wcsnlen.
6605 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
6606 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
6608 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6612 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
6613 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6614 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6615 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
6616 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
6618 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6622 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
6623 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6624 * sysdeps/x86_64/strcmp.S: Likewise.
6625 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
6626 tst-size_t-strncmp and tst-size_t-wcsncmp.
6627 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
6628 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
6629 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
6631 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6635 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
6636 RDX_LP for length. Clear the upper 32 bits of RDX register.
6637 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
6638 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
6639 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
6640 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
6642 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6646 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
6647 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
6648 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
6649 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
6651 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6655 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
6656 length. Clear the upper 32 bits of RDX register.
6657 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6658 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
6660 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6662 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
6664 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
6666 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6670 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
6671 length. Clear the upper 32 bits of RDX register.
6672 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6673 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6674 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
6676 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
6677 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
6679 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6683 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
6684 upper 32 bits of RDX register.
6685 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
6686 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
6688 * sysdeps/x86_64/x32/test-size_t.h: New file.
6689 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
6690 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
6692 2019-01-18 Florian Weimer <fweimer@redhat.com>
6695 resolv: Do not send queries for non-host-names in nss_dns.
6696 * resolv/nss_dns/dns-host.c (check_name): New function.
6697 (_nss_dns_gethostbyname2_r): Use it.
6698 (_nss_dns_gethostbyname_r): Likewise.
6699 (_nss_dns_gethostbyname4_r): Likewise.
6701 2019-01-21 Florian Weimer <fweimer@redhat.com>
6703 * resolv/inet_addr.c: Reformat to GNU style.
6704 (__inet_addr, __inet_aton): Update comment.
6706 2019-01-18 Florian Weimer <fweimer@redhat.com>
6708 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
6709 ("malloc: Use current (C11-style) atomics for fastbin access").
6710 This commit introduces a substantial performance regression on
6712 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
6713 (REMOVE_FB): Define.
6714 (_int_malloc): Use it and reindent.
6715 (_int_free): Use CAS loop with
6716 catomic_compare_and_exchange_val_rel.
6717 (malloc_consolidate): Use atomic_exchange_acq.
6720 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
6722 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
6724 (LDFLAGS-tst-minsigstksz-2): Likewise.
6725 (LDFLAGS-tst-minsigstksz-3): Likewise.
6726 (LDFLAGS-tst-minsigstksz-3a): Likewise.
6727 (LDFLAGS-tst-minsigstksz-4): Likewise.
6729 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
6731 * manual/time.texi (strftime): Fix the wording to "alternative" rather
6734 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
6736 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
6738 2019-01-16 Zack Weinberg <zackw@panix.com>
6740 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
6741 (xget_sigstack_location): New test support functions.
6742 * support/xsigstack.c: New file, implementing them.
6743 * support/tst-xsigstack.c: New test for them.
6744 * support/Makefile: Update.
6746 * signal/tst-minsigstksz-1.c
6747 * signal/tst-minsigstksz-2.c
6748 * signal/tst-minsigstksz-3.c
6749 * signal/tst-minsigstksz-3a.c
6750 * signal/tst-minsigstksz-4.c: New tests.
6751 * signal/Makefile: Run them.
6753 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
6755 * po/libc.pot: Regenerate.
6757 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6759 * math/libm-test-fma.inc (fma_test_data): Set
6760 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
6762 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
6764 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
6765 (do_test): Changed __vector __int128_t to __vector unsigned int.
6767 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6769 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6770 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
6771 stpcpy-avx2 and stpncpy-avx2.
6772 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
6773 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
6774 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
6776 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
6777 ifunc-strcpy.h}: rename header for a more generic name.
6778 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
6779 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
6780 AVX unaligned load is fast and vzeroupper is preferred.
6781 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
6782 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
6783 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
6784 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
6785 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
6786 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
6788 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
6790 * argp/argp-help.c: Fix typo in comment.
6791 * misc/sys/cdefs.h: Likewise.
6792 * posix/regexec.c (sift_states_iter_mb): Likewise.
6793 * socket/sockatmark.c: Likewise.
6794 * socket/sys/socket.h: Likewise.
6795 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
6796 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
6797 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
6798 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6799 * sysdeps/unix/sockatmark.c: Likewise.
6800 * time/strptime_l.c: Likewise.
6802 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
6804 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
6805 missing space after the cast of "_NL_CURRENT".
6807 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
6809 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
6810 ifdef to fix read of VSCR.
6811 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
6812 tst-ucontext-ppc64-vscr.c to test list.
6813 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
6815 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
6817 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
6820 2019-01-09 Jim Wilson <jimw@sifive.com>
6822 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
6824 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
6826 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
6827 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
6828 __memcpy_falkor for ares.
6829 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
6831 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6834 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
6837 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
6838 4_FP_W_TYPEs are used for IEEE quad precision.
6839 * soft-fp/extendhftf2.c: Likewise.
6840 * soft-fp/extendsftf2.c: Likewise.
6841 * soft-fp/extendxftf2.c: Likewise.
6842 * soft-fp/trunctfdf2.c: Likewise.
6843 * soft-fp/trunctfhf2.c: Likewise.
6844 * soft-fp/trunctfsf2.c: Likewise.
6845 * soft-fp/trunctfxf2.c: Likewise.
6846 * sysdeps/alpha/ots_cvttx.c: Likewise.
6847 * sysdeps/alpha/ots_cvtxt.c: Likewise.
6848 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
6849 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
6850 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
6851 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
6852 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
6853 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
6854 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
6855 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
6856 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
6857 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
6858 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
6859 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
6860 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
6861 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
6862 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
6863 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
6865 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
6868 * Makeconfig: Build libm with -fno-math-errno but build the remaining
6869 code with -fmath-errno.
6870 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
6871 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
6872 * string/test-strerror-errno.c: New file.
6874 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
6877 * localedata/locales/en_US (date_fmt): Add, set to
6878 "%a %d %b %Y %r %Z".
6880 2019-01-07 Florian Weimer <fweimer@redhat.com>
6883 * manual/arith.texi (Math Error Reporting): Use @code{errno}
6884 instead of @var{errno}.
6885 (Parsing of Integers): Likewise.
6886 (Parsing of Floats): Likewise.
6887 * manual/filesys.texi (Working with Directory Trees): Likewise.
6888 (Temporary Files): Likewise.
6889 * manual/job.texi (Terminal Access Functions): Likewise.
6890 * manual/llio.texi (Synchronizing I/O): Likewise.
6891 * manual/math.texi (SVID Random): Likewise.
6892 * manual/message.texi (The catgets Functions): Likewise.
6893 (Translation with gettext): Likewise.
6894 (Locating gettext catalog): Likewise.
6895 (Charset conversion in gettext): Likewise.
6896 * manual/nss.texi (NSS Module Function Internals): Likewise.
6897 * manual/search.texi (Hash Search Function): Likewise.
6898 * manual/setjmp.texi (System V contexts): Likewise.
6899 * manual/time.texi (Sleeping): Likewise.
6900 * manual/users.texi (Lookup User): Likewise.
6901 (Lookup Group): Likewise.
6903 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6905 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
6908 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
6911 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
6912 __builtin_unreachable for default case in switch.
6913 (__ieee754_yn): Likewise.
6914 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6915 (__ieee754_ynl): Likewise.
6916 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6917 (__ieee754_ynl): Likewise.
6918 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6919 (__ieee754_ynl): Likewise.
6921 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
6923 * manual/maint.texi: Use @{ and @}.
6925 2019-01-04 Florian Weimer <fweimer@redhat.com>
6927 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
6929 (do_in_chroot_1): Call it.
6931 Improve error reporting in case it is not possible to create a
6932 collision for the PTY name required by the test.
6934 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6936 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
6937 lll_wait_tid with timeout.
6938 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
6939 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
6940 futex_reltimed_wait_cancelable for cancelabla mode.
6941 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
6942 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
6944 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
6945 * sysdeps/posix/waitid.c (__sigwait): Likewise.
6946 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
6947 SYSCALL_CANCEL_NCS): New macro.
6948 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
6949 (lll_timedwait_tid): Remove macro.
6950 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
6952 (lll_timedwait_tid): Likewise.
6953 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
6955 (lll_timedwait_tid): Likewise.
6956 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
6958 (lll_timedwait_tid): Likewise.
6959 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
6960 Use INTERNAL_SYSCALL_CANCEL.
6961 * sysdeps/unix/sysv/linux/futex-internal.h
6962 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
6963 instead of __pthread_{enable,disable}_asynccancel.
6964 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
6965 (lll_futex_wait_cancel): New macro.
6967 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
6968 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
6970 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
6971 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
6973 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
6974 in backtrace analysis.
6975 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
6977 (tf_send): Likewise.
6979 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
6980 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
6981 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
6982 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
6983 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
6984 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
6985 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
6986 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
6987 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
6988 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
6989 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
6990 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
6992 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
6993 tst-cancel-wrappers.sh.
6994 (generated): Remove tst-cancel-wrappers.out.
6995 (tst-cancel-wrappers.out): Remove rule.
6996 * nptl/tst-cancel-wrappers.sh: Remove file.
6998 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
7000 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
7001 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
7004 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7007 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
7008 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
7009 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
7010 close-on-exec reset for adddup2 file action.
7011 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
7013 2019-01-03 Zack Weinberg <zackw@panix.com>
7015 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
7016 parameter. Only use deprecated scanf when __USE_GNU is defined
7017 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
7018 than 201103L, whichever is relevant for the language being compiled.
7020 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
7021 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
7022 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
7023 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
7024 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
7028 * libio/iovswscanf.c
7033 * stdio-common/fscanf.c
7034 * stdio-common/scanf.c
7035 * stdio-common/vfscanf.c
7036 * stdio-common/vfwscanf.c
7037 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7038 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
7039 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
7040 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
7041 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
7042 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
7043 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
7044 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
7045 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
7046 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
7047 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
7048 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
7049 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
7050 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
7051 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
7053 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
7054 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
7055 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
7057 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
7058 with a preprocessor macro.
7060 * stdio-common/bug21.c, stdio-common/scanf14.c:
7061 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
7062 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7063 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
7064 to xscanf, xfscanf, xsscanf.
7066 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
7067 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7068 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
7069 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
7071 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
7072 override feature selection macros or provide definitions of u_char etc.
7073 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
7074 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
7075 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
7078 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7080 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7081 bits/termios-misc.h.
7082 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
7083 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7084 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7085 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7086 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
7087 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
7089 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
7090 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7091 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
7092 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
7093 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
7094 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
7096 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
7097 (sysdep_headers): Add termios-misc.h.
7099 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
7100 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7101 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7103 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7105 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
7106 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
7107 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
7108 TCSAFLUSH): Move to termios-tcflow.h.
7109 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7110 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7111 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7112 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7114 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7116 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
7117 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
7118 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
7119 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
7120 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
7121 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
7122 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
7123 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
7125 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7126 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7127 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7128 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7130 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7132 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
7133 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
7134 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
7135 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
7136 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
7138 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7139 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7140 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7141 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7144 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7146 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
7147 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
7148 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
7149 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
7150 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
7151 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
7152 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
7153 __MAX_BAUD): Move to termios-baud.h.
7154 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
7155 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
7156 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7157 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7158 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7160 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
7162 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
7163 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
7164 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
7165 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
7166 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
7167 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
7169 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
7170 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
7172 [USE_MISC] (XTABS): Likewise.
7173 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7174 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7175 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7176 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
7178 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
7180 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
7181 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
7182 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
7183 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
7184 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
7185 IUTF8): Move to termios-c_iflag.h.
7186 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7187 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7188 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7189 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7191 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
7193 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
7194 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
7195 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
7196 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
7197 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
7198 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
7199 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
7200 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
7201 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7202 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7203 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7204 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7206 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
7207 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
7208 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
7209 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
7210 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7212 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
7214 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
7216 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
7218 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
7220 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
7222 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
7223 _HAVE_C_OSPEED): Define.
7224 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
7225 _HAVE_C_OSPEED): Likewise.
7226 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
7227 _HAVE_C_OSPEED): Likewise.
7228 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
7229 (cfsetospeed): Check for define value instead of existence.
7230 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
7231 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7232 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
7233 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7234 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
7237 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
7239 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7240 (TIOCSER_TEMT): Likewise.
7241 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
7242 (TEOCSER_TEMT): Likewise.
7244 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
7247 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
7249 2019-01-02 Joseph Myers <joseph@codesourcery.com>
7251 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
7253 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7255 * sysdeps/htl/pt-barrierattr-setpshared.c
7256 (pthread_barrierattr_setpshared): Add stub warning.
7257 * sysdeps/htl/pt-condattr-setpshared.c
7258 (pthread_condattr_setpshared): Likewise.
7259 * sysdeps/htl/pt-mutexattr-setpshared.c
7260 (pthread_mutexattr_setpshared): Likewise.
7261 * sysdeps/htl/pt-rwlockattr-setpshared.c
7262 (pthread_rwlockattr_setpshared): Likewise.
7263 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
7264 (pthread_mutexattr_setpshared): Likewise.
7266 2019-01-02 Joseph Myers <joseph@codesourcery.com>
7268 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
7269 constants to match with Linux 4.20.
7271 * sysdeps/mips/mips32/libm-test-ulps: Update.
7272 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7274 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
7277 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
7278 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
7279 than __typeof (...) for the a_ptr variable.
7281 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7283 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
7284 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
7285 * libio/Makefile (tests): Add tst-sprintf-ub and
7287 (CFLAGS-tst-sprintf-ub.c): New variable.
7288 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
7289 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
7290 destination buffer and check for overflows in fortified mode.
7291 * libio/libioP.h (PRINTF_CHK): New macro.
7292 * libio/tst-sprintf-chk-ub.c: New file.
7293 * libio/tst-sprintf-ub.c: Likewise.
7295 2019-01-02 Florian Weimer <fweimer@redhat.com>
7298 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
7301 2019-01-02 Florian Weimer <fweimer@redhat.com>
7303 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
7305 2019-01-01 Joseph Myers <joseph@codesourcery.com>
7307 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
7310 * sysdeps/unix/sysv/linux/netpacket/packet.h
7311 (PACKET_IGNORE_OUTGOING): New macro.
7313 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
7316 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7318 (riscv_flush_icache): New syscall.
7320 * manual/texinfo.tex: Update to version 2018-12-28.17 with
7321 trailing whitespace removed.
7322 * scripts/config.guess: Update to version 2019-01-01.
7323 * scripts/config.sub: Update to version 2019-01-01.
7324 * scripts/move-if-change: Update from gnulib.
7326 * NEWS: Update copyright dates.
7327 * catgets/gencat.c (print_version): Likewise.
7328 * csu/version.c (banner): Likewise.
7329 * debug/catchsegv.sh: Likewise.
7330 * debug/pcprofiledump.c (print_version): Likewise.
7331 * debug/xtrace.sh (do_version): Likewise.
7332 * elf/ldconfig.c (print_version): Likewise.
7333 * elf/ldd.bash.in: Likewise.
7334 * elf/pldd.c (print_version): Likewise.
7335 * elf/sotruss.sh: Likewise.
7336 * elf/sprof.c (print_version): Likewise.
7337 * iconv/iconv_prog.c (print_version): Likewise.
7338 * iconv/iconvconfig.c (print_version): Likewise.
7339 * locale/programs/locale.c (print_version): Likewise.
7340 * locale/programs/localedef.c (print_version): Likewise.
7341 * login/programs/pt_chown.c (print_version): Likewise.
7342 * malloc/memusage.sh (do_version): Likewise.
7343 * malloc/memusagestat.c (print_version): Likewise.
7344 * malloc/mtrace.pl: Likewise.
7345 * manual/libc.texinfo: Likewise.
7346 * nptl/version.c (banner): Likewise.
7347 * nscd/nscd.c (print_version): Likewise.
7348 * nss/getent.c (print_version): Likewise.
7349 * nss/makedb.c (print_version): Likewise.
7350 * posix/getconf.c (main): Likewise.
7351 * scripts/test-installation.pl: Likewise.
7352 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7354 * All files with FSF copyright notices: Update copyright dates
7355 using scripts/update-copyrights.
7356 * locale/programs/charmap-kw.h: Regenerated.
7357 * locale/programs/locfile-kw.h: Likewise.
7359 2018-12-31 Joseph Myers <joseph@codesourcery.com>
7361 * timezone/zdump.c: Update from tzcode 2018i.
7362 * timezone/zic.c: Likewise.
7364 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
7366 regex: improve Gnulib port to AIX
7367 From the glibc point of view, this removes duplicate macro
7368 definitions and is obviously safe.
7369 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
7370 * posix/regex_internal.h:
7371 (__attribute__, __attribute_warn_unused_result__):
7372 Remove; already defined elsewhere.
7374 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
7377 * malloc/malloc.c (_int_realloc): Always call memcpy for the
7378 copying operation. (ncopies had the wrong type, resulting in an
7379 integer wraparound and too few elements being copied.)
7381 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
7384 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
7385 <asm/syscalls.h> exists with __has_include__ before including it.
7387 2018-12-31 Joseph Myers <joseph@codesourcery.com>
7389 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7392 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
7394 * hurd/lookup-retry: Include <unistd.h>.
7395 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
7396 Release it on return. Handle "pid" magical lookup retry.
7398 2018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
7401 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
7402 (t_fmt_ampm): Likewise.
7403 * localedata/locales/aa_ER (t_fmt): Likewise.
7404 (t_fmt_ampm): Likewise.
7405 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
7406 (t_fmt_ampm): Likewise.
7407 * localedata/locales/aa_ET (t_fmt): Likewise.
7408 (t_fmt_ampm): Likewise.
7409 * localedata/locales/am_ET (t_fmt): Likewise.
7410 (t_fmt_ampm): Likewise.
7411 * localedata/locales/byn_ER (t_fmt): Likewise.
7412 (t_fmt_ampm): Likewise.
7413 * localedata/locales/om_ET (t_fmt): Likewise.
7414 (t_fmt_ampm): Likewise.
7415 * localedata/locales/sid_ET (t_fmt): Likewise.
7416 (t_fmt_ampm): Likewise.
7417 * localedata/locales/so_DJ (t_fmt): Likewise.
7418 (t_fmt_ampm): Likewise.
7419 * localedata/locales/so_ET (t_fmt): Likewise.
7420 (t_fmt_ampm): Likewise.
7421 * localedata/locales/so_SO (t_fmt): Likewise.
7422 (t_fmt_ampm): Likewise.
7423 * localedata/locales/ti_ER (t_fmt): Likewise.
7424 (t_fmt_ampm): Likewise.
7425 * localedata/locales/ti_ET (t_fmt): Likewise.
7426 (t_fmt_ampm): Likewise.
7427 * localedata/locales/tig_ER (t_fmt): Likewise.
7428 (t_fmt_ampm): Likewise.
7429 * localedata/locales/wal_ET (t_fmt): Likewise.
7430 (t_fmt_ampm): Likewise.
7432 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
7433 * localedata/locales/ar_IN (t_fmt): Likewise.
7434 * localedata/locales/bhb_IN (t_fmt): Likewise.
7435 * localedata/locales/bho_IN (t_fmt): Likewise.
7436 * localedata/locales/bi_VU (t_fmt): Likewise.
7437 * localedata/locales/bn_BD (t_fmt): Likewise.
7438 * localedata/locales/bn_IN (t_fmt): Likewise.
7439 * localedata/locales/brx_IN (t_fmt): Likewise.
7440 * localedata/locales/doi_IN (t_fmt): Likewise.
7441 * localedata/locales/en_HK (t_fmt): Likewise.
7442 (t_fmt_ampm): Likewise.
7443 * localedata/locales/en_IN (t_fmt): Likewise.
7444 * localedata/locales/en_PH (t_fmt): Likewise.
7445 * localedata/locales/gu_IN (t_fmt): Likewise.
7446 * localedata/locales/hi_IN (t_fmt): Likewise.
7447 * localedata/locales/hif_FJ (t_fmt): Likewise.
7448 * localedata/locales/hne_IN (t_fmt): Likewise.
7449 * localedata/locales/kn_IN (t_fmt): Likewise.
7450 * localedata/locales/kok_IN (t_fmt): Likewise.
7451 * localedata/locales/ks_IN (t_fmt): Likewise.
7452 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
7453 * localedata/locales/mag_IN (t_fmt): Likewise.
7454 * localedata/locales/mai_IN (t_fmt): Likewise.
7455 * localedata/locales/mjw_IN (t_fmt): Likewise.
7456 * localedata/locales/ml_IN (t_fmt): Likewise.
7457 * localedata/locales/mni_IN (t_fmt): Likewise.
7458 * localedata/locales/mr_IN (t_fmt): Likewise.
7459 * localedata/locales/ms_MY (t_fmt): Likewise.
7460 * localedata/locales/pa_IN (t_fmt): Likewise.
7461 * localedata/locales/raj_IN (t_fmt): Likewise.
7462 * localedata/locales/sa_IN (t_fmt): Likewise.
7463 * localedata/locales/sat_IN (t_fmt): Likewise.
7464 * localedata/locales/sd_IN (t_fmt): Likewise.
7465 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
7466 * localedata/locales/tcy_IN (t_fmt): Likewise.
7467 * localedata/locales/the_NP (t_fmt): Likewise.
7468 * localedata/locales/to_TO (t_fmt): Likewise.
7469 * localedata/locales/ur_IN (t_fmt): Likewise.
7471 * localedata/locales/hif_FJ (d_t_fmt): Set to
7472 "%A %d %b %Y %I:%M:%S %p".
7473 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
7475 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
7476 * localedata/locales/ar_BH (t_fmt): Likewise.
7477 * localedata/locales/ar_DZ (t_fmt): Likewise.
7478 * localedata/locales/ar_EG (t_fmt): Likewise.
7479 * localedata/locales/ar_IQ (t_fmt): Likewise.
7480 * localedata/locales/ar_JO (t_fmt): Likewise.
7481 * localedata/locales/ar_KW (t_fmt): Likewise.
7482 * localedata/locales/ar_LB (t_fmt): Likewise.
7483 * localedata/locales/ar_LY (t_fmt): Likewise.
7484 * localedata/locales/ar_OM (t_fmt): Likewise.
7485 * localedata/locales/ar_QA (t_fmt): Likewise.
7486 * localedata/locales/ar_SD (t_fmt): Likewise.
7487 * localedata/locales/ar_SS (t_fmt): Likewise.
7488 * localedata/locales/ar_SY (t_fmt): Likewise.
7489 * localedata/locales/ar_TN (t_fmt): Likewise.
7490 * localedata/locales/ar_YE (t_fmt): Likewise.
7492 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
7493 (t_fmt_ampm): Likewise.
7494 * localedata/locales/gez_ET (t_fmt): Likewise.
7495 (t_fmt_ampm): Likewise.
7497 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
7498 (t_fmt_ampm): Likewise.
7499 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
7501 * localedata/locales/zh_HK (t_fmt):
7502 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
7504 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
7505 because this locale does not use the 12-hour clock.
7506 (t_fmt): Set to "%Z %H:%M:%S".
7507 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
7509 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
7510 because this locale does not use the 12-hour clock.
7511 (t_fmt): Set to "%H:%M:%S %Z".
7512 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
7514 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
7515 because this locale does not use the 12-hour clock.
7516 (t_fmt): Set to "%T".
7517 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
7518 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
7520 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
7521 because this locale does not use the 12-hour clock.
7522 (t_fmt): Set to "%H:%M:%S %Z".
7523 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
7525 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
7526 because this locale does not use the 12-hour clock.
7527 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
7528 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
7530 2018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
7534 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
7535 (t_fmt_ampm): Likewise.
7536 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
7537 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
7538 (d_fmt): Set to "%-d.%-m.%y".
7540 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7542 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
7543 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
7544 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
7546 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
7547 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
7548 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
7550 * support/blob_repeat.c (check_mul_overflow_size_t,
7551 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
7553 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
7555 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
7557 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
7559 regex: simplify Gnulib port
7560 This simplifies the code, by removing stuff intended for porting
7561 to Gnulib but no longer needed there.
7562 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
7563 uses of libc_hidden_def, weak_alias.
7564 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
7565 _Restrict_ except for public-facing headers.
7566 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
7567 Remove; already defined elsewhere.
7568 * posix/regex.c, posix/regex_internal.h:
7569 Use __GNUC_PREREQ instead of rolling our own.
7570 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
7572 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
7574 * benchtests/bench-strlen.c (generic_strlen): New function.
7575 (memchr_strlen): New function.
7577 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
7579 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
7580 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
7581 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
7583 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
7585 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7587 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
7589 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
7590 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
7591 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
7592 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
7593 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
7594 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
7595 <sysdeps/ieee754/flt-32/s_sincosf.c>.
7597 2018-12-21 Joseph Myers <joseph@codesourcery.com>
7600 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
7601 PLT reference in libc.so.
7602 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
7603 _Q_lltoq and _Q_qtod PLT references in libc.so.
7605 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
7607 * benchtests/bench-memchr.c: Cleanup defines.
7608 * benchtests/bench-memcmp.c: Likewise.
7609 * benchtests/bench-memset.c: Likewise.
7610 * benchtests/bench-memset-large.c: Likewise.
7611 * benchtests/bench-memset-walk.c: Likewise.
7612 * benchtests/bench-stpcpy.c: Likewise.
7613 * benchtests/bench-stpncpy.c: Likewise.
7614 * benchtests/bench-strcat.c: Likewise.
7615 * benchtests/bench-strchr.c: Likewise.
7616 * benchtests/bench-strcmp.c: Likewise.
7617 * benchtests/bench-strcpy.c: Likewise.
7618 * benchtests/bench-strcspn.c: Likewise.
7619 * benchtests/bench-string.h: Likewise.
7620 * benchtests/bench-strlen.c: Likewise.
7621 * benchtests/bench-strncat.c: Likewise.
7622 * benchtests/bench-strncmp.c: Likewise.
7623 * benchtests/bench-strncpy.c: Likewise.
7624 * benchtests/bench-strnlen.c: Likewise.
7625 * benchtests/bench-strpbrk.c: Likewise.
7626 * benchtests/bench-strrchr.c: Likewise.
7627 * benchtests/bench-strspn.c: Likewise.
7629 2018-12-21 Joseph Myers <joseph@codesourcery.com>
7631 * stdlib/longlong.h: Update from GCC.
7634 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
7635 * configure: Regenerated.
7636 * manual/install.texi (Tools for Compilation): Update minimum GCC
7638 * INSTALL: Regenerated.
7640 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
7642 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
7644 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
7646 * malloc/malloc.c (mremap_chunk): Additional checks.
7648 2018-12-21 Mao Han <han_mao@c-sky.com>
7650 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
7651 * scripts/build-many-glibcs.py: Add C-SKY targets.
7652 * sysdeps/csky/Implies: New file.
7653 * sysdeps/csky/Makefile: Likewise.
7654 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
7655 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
7656 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
7657 * sysdeps/csky/abiv2/memcmp.S: Likewise.
7658 * sysdeps/csky/abiv2/memcpy.S: Likewise.
7659 * sysdeps/csky/abiv2/memmove.S: Likewise.
7660 * sysdeps/csky/abiv2/memset.S: Likewise.
7661 * sysdeps/csky/abiv2/setjmp.S: Likewise.
7662 * sysdeps/csky/abiv2/start.S: Likewise.
7663 * sysdeps/csky/abiv2/strcmp.S: Likewise.
7664 * sysdeps/csky/abiv2/strcpy.S: Likewise.
7665 * sysdeps/csky/abiv2/strlen.S: Likewise.
7666 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
7667 * sysdeps/csky/abort-instr.h: Likewise.
7668 * sysdeps/csky/atomic-machine.h: Likewise.
7669 * sysdeps/csky/bits/endian.h: Likewise.
7670 * sysdeps/csky/bits/fenv.h: Likewise.
7671 * sysdeps/csky/bits/link.h: Likewise.
7672 * sysdeps/csky/bits/setjmp.h: Likewise.
7673 * sysdeps/csky/bsd-_setjmp.S: Likewise.
7674 * sysdeps/csky/bsd-setjmp.S: Likewise.
7675 * sysdeps/csky/configure: Likewise.
7676 * sysdeps/csky/configure.ac: Likewise.
7677 * sysdeps/csky/dl-machine.h: Likewise.
7678 * sysdeps/csky/dl-procinfo.c: Likewise.
7679 * sysdeps/csky/dl-procinfo.h: Likewise.
7680 * sysdeps/csky/dl-sysdep.h: Likewise.
7681 * sysdeps/csky/dl-tls.h: Likewise.
7682 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
7683 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
7684 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
7685 * sysdeps/csky/fpu/fegetenv.c: Likewise.
7686 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
7687 * sysdeps/csky/fpu/fegetmode.c: Likewise.
7688 * sysdeps/csky/fpu/fegetround.c: Likewise.
7689 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
7690 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
7691 * sysdeps/csky/fpu/fenv_private.h: Likewise.
7692 * sysdeps/csky/fpu/fesetenv.c: Likewise.
7693 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
7694 * sysdeps/csky/fpu/fesetmode.c: Likewise.
7695 * sysdeps/csky/fpu/fesetround.c: Likewise.
7696 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
7697 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
7698 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
7699 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
7700 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
7701 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
7702 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
7703 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
7704 * sysdeps/csky/fpu_control.h: Likewise.
7705 * sysdeps/csky/gccframe.h: Likewise.
7706 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
7707 * sysdeps/csky/ldsodefs.h: Likewise.
7708 * sysdeps/csky/libc-tls.c: Likewise.
7709 * sysdeps/csky/linkmap.h: Likewise.
7710 * sysdeps/csky/machine-gmon.h: Likewise.
7711 * sysdeps/csky/memusage.h: Likewise.
7712 * sysdeps/csky/nofpu/Implies: Likewise.
7713 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
7714 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
7715 * sysdeps/csky/nptl/Makefile: Likewise.
7716 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
7717 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
7718 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
7719 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
7720 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
7721 * sysdeps/csky/nptl/tls.h: Likewise.
7722 * sysdeps/csky/preconfigure: Likewise.
7723 * sysdeps/csky/sfp-machine.h: Likewise.
7724 * sysdeps/csky/sotruss-lib.c: Likewise.
7725 * sysdeps/csky/stackinfo.h: Likewise.
7726 * sysdeps/csky/sysdep.h: Likewise.
7727 * sysdeps/csky/tininess.h: Likewise.
7728 * sysdeps/csky/tst-audit.h: Likewise.
7729 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
7730 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
7731 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
7732 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
7733 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
7734 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
7735 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
7736 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
7737 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
7738 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
7739 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
7740 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
7741 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
7742 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
7743 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
7744 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
7745 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
7746 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
7747 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
7748 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
7749 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
7750 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
7751 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
7752 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
7753 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
7754 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
7755 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
7756 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
7757 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
7758 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
7759 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
7760 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
7761 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
7762 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
7763 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
7764 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
7765 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
7766 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
7767 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
7768 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
7769 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
7770 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
7771 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
7772 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
7774 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
7776 * include/time.h (__difftime64): Add.
7777 * time/difftime.c (subtract): convert to 64-bit time.
7778 * time/difftime.c (__difftime64): Add.
7779 * time/difftime.c (__difftime): Wrap around __difftime64.
7781 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
7783 * manual/examples/add.c: Remove redundant "if not".
7784 * manual/examples/argp-ex1.c: Likewise.
7785 * manual/examples/argp-ex2.c: Likewise.
7786 * manual/examples/argp-ex3.c: Likewise.
7787 * manual/examples/argp-ex4.c: Likewise.
7788 * manual/examples/atexit.c: Likewise.
7789 * manual/examples/db.c: Likewise.
7790 * manual/examples/dir.c: Likewise.
7791 * manual/examples/dir2.c: Likewise.
7792 * manual/examples/execinfo.c: Likewise.
7793 * manual/examples/filecli.c: Likewise.
7794 * manual/examples/filesrv.c: Likewise.
7795 * manual/examples/fmtmsgexpl.c: Likewise.
7796 * manual/examples/genpass.c: Likewise.
7797 * manual/examples/inetcli.c: Likewise.
7798 * manual/examples/inetsrv.c: Likewise.
7799 * manual/examples/isockad.c: Likewise.
7800 * manual/examples/longopt.c: Likewise.
7801 * manual/examples/memopen.c: Likewise.
7802 * manual/examples/memstrm.c: Likewise.
7803 * manual/examples/mkdirent.c: Likewise.
7804 * manual/examples/mkfsock.c: Likewise.
7805 * manual/examples/mkisock.c: Likewise.
7806 * manual/examples/mygetpass.c: Likewise.
7807 * manual/examples/pipe.c: Likewise.
7808 * manual/examples/popen.c: Likewise.
7809 * manual/examples/rprintf.c: Likewise.
7810 * manual/examples/search.c: Likewise.
7811 * manual/examples/select.c: Likewise.
7812 * manual/examples/setjmp.c: Likewise.
7813 * manual/examples/sigh1.c: Likewise.
7814 * manual/examples/sigusr.c: Likewise.
7815 * manual/examples/stpcpy.c: Likewise.
7816 * manual/examples/strdupa.c: Likewise.
7817 * manual/examples/strftim.c: Likewise.
7818 * manual/examples/subopt.c: Likewise.
7819 * manual/examples/swapcontext.c: Likewise.
7820 * manual/examples/termios.c: Likewise.
7821 * manual/examples/testopt.c: Likewise.
7822 * manual/examples/testpass.c: Likewise.
7823 * manual/examples/timeval_subtract.c: Likewise.
7825 2018-12-19 Joseph Myers <joseph@codesourcery.com>
7827 * sysdeps/x86/fpu/math_private.h: New file.
7828 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
7830 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
7835 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7837 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
7838 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
7839 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
7840 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
7842 (_dl_show_auxv): Give a special treatment to
7843 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
7844 and AT_L3_CACHEGEOMETRY.
7845 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
7846 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
7847 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
7848 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
7850 2018-12-19 Andreas Schwab <schwab@suse.de>
7852 * nscd/connections.c (check_use): Don't abort on invalid len.
7854 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
7856 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
7857 values in the 64bit value cases.
7859 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
7865 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
7871 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
7874 (__gmtime64_r): Add.
7876 (__gmtime64_r): Add.
7877 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
7883 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
7886 (__localtime64_r): Add.
7888 (__localtime64_r): Add.
7889 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
7891 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7893 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
7894 kernel_sigction definition.
7896 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
7898 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
7900 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
7901 __syscall_rt_sigaction.
7902 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
7903 (kernel_sigaction): Use Linux generic defintion.
7905 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
7906 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
7907 (__syscall_rt_sigaction): Remove implementation.
7908 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
7910 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
7911 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
7912 INTERNAL_SYSCALL): Remove definitions.
7913 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
7914 action and signal set size.
7915 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
7916 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
7918 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7919 James Clarke <jrtc27@jrtc27.com>
7922 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
7923 Define if SA_RESTORER is defined.
7924 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
7925 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
7927 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
7928 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
7930 (HAS_SA_RESTORER): Define.
7931 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
7932 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
7933 (HAS_SA_RESTORER): Define.
7934 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
7935 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
7936 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
7937 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
7938 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7940 2018-12-18 Joseph Myers <joseph@codesourcery.com>
7942 * sysdeps/unix/sysv/linux/kernel-features.h
7943 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
7944 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7945 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
7946 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7947 (__ASSUME_ST_INO_64_BIT): Likewise.
7948 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7949 <kernel-features.h>.
7950 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
7951 Remove conditional code.
7952 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7953 <kernel-features.h>.
7954 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
7955 Remove conditional code.
7956 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
7957 <kernel-features.h>.
7958 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
7959 Remove conditional code.
7960 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
7961 <kernel-features.h>.
7962 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
7963 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
7965 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7967 * sysdeps/s390/multiarch/ifunc-resolve.h
7968 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
7969 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
7970 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
7971 Delete macro definition.
7972 (s390_libc_ifunc_init): Rename to
7973 s390_libc_ifunc_expr_stfle_init.
7974 * sysdeps/s390/bzero: Use
7975 s390_libc_ifunc_expr_stfle_init instead of
7976 s390_libc_ifunc_init.
7977 * sysdeps/s390/memcmp.c: Likewise.
7978 * sysdeps/s390/memcpy.c: Likewise.
7979 * sysdeps/s390/mempcpy.c: Likewise.
7980 * sysdeps/s390/memset.c: Likewise.
7982 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7984 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
7985 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
7987 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7989 * sysdeps/s390/multiarch/Makefile
7990 (sysdep_routines): Remove wmemcmp variants.
7991 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
7992 * sysdeps/s390/multiarch/ifunc-impl-list.c
7993 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
7994 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
7995 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
7996 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
7997 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
7998 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
7999 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
8000 * sysdeps/s390/ifunc-wmemcmp.h: New file.
8002 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8004 * sysdeps/s390/multiarch/Makefile
8005 (sysdep_routines): Remove wmemset variants.
8006 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
8007 * sysdeps/s390/multiarch/ifunc-impl-list.c
8008 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
8009 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
8010 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
8011 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
8012 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
8013 * sysdeps/s390/multiarch/wmemset.c: Move to ...
8014 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
8015 * sysdeps/s390/ifunc-wmemset.h: New file.
8017 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8019 * sysdeps/s390/multiarch/Makefile
8020 (sysdep_routines): Remove wmemchr variants.
8021 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
8022 * sysdeps/s390/multiarch/ifunc-impl-list.c
8023 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
8024 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
8025 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
8026 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
8027 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
8028 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
8029 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
8030 * sysdeps/s390/ifunc-wmemchr.h: New file.
8032 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8034 * sysdeps/s390/multiarch/Makefile
8035 (sysdep_routines): Remove wcscspn variants.
8036 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
8037 * sysdeps/s390/multiarch/ifunc-impl-list.c
8038 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
8039 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
8040 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
8041 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
8042 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
8043 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
8044 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
8045 * sysdeps/s390/ifunc-wcscspn.h: New file.
8047 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8049 * sysdeps/s390/multiarch/Makefile
8050 (sysdep_routines): Remove wcspbrk variants.
8051 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
8052 * sysdeps/s390/multiarch/ifunc-impl-list.c
8053 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
8054 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
8055 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
8056 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
8057 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
8058 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
8059 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
8060 * sysdeps/s390/ifunc-wcspbrk.h: New file.
8062 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8064 * sysdeps/s390/multiarch/Makefile
8065 (sysdep_routines): Remove wcsspn variants.
8066 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
8067 * sysdeps/s390/multiarch/ifunc-impl-list.c
8068 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
8069 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
8070 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
8071 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
8072 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
8073 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
8074 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
8075 * sysdeps/s390/ifunc-wcsspn.h: New file.
8077 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8079 * sysdeps/s390/multiarch/Makefile
8080 (sysdep_routines): Remove wcsrchr variants.
8081 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
8082 * sysdeps/s390/multiarch/ifunc-impl-list.c
8083 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
8084 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
8085 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
8086 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
8087 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
8088 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
8089 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
8090 * sysdeps/s390/ifunc-wcsrchr.h: New file.
8092 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8094 * sysdeps/s390/multiarch/Makefile
8095 (sysdep_routines): Remove wcschrnul variants.
8096 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
8097 * sysdeps/s390/multiarch/ifunc-impl-list.c
8098 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
8099 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
8100 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
8101 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
8102 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
8103 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
8104 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
8105 * sysdeps/s390/ifunc-wcschrnul.h: New file.
8107 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8109 * sysdeps/s390/multiarch/Makefile
8110 (sysdep_routines): Remove wcschr variants.
8111 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
8112 * sysdeps/s390/multiarch/ifunc-impl-list.c
8113 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
8114 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
8115 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
8116 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
8117 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
8118 * sysdeps/s390/multiarch/wcschr.c: Move to ...
8119 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
8120 * sysdeps/s390/ifunc-wcschr.h: New file.
8122 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8124 * sysdeps/s390/multiarch/Makefile
8125 (sysdep_routines): Remove wcsncmp variants.
8126 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
8127 * sysdeps/s390/multiarch/ifunc-impl-list.c
8128 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
8129 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
8130 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
8131 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
8132 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
8133 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
8134 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
8135 * sysdeps/s390/ifunc-wcsncmp.h: New file.
8137 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8139 * sysdeps/s390/multiarch/Makefile
8140 (sysdep_routines): Remove wcscmp variants.
8141 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
8142 * sysdeps/s390/multiarch/ifunc-impl-list.c
8143 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
8144 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
8145 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
8146 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
8147 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
8148 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
8149 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
8150 * sysdeps/s390/ifunc-wcscmp.h: New file.
8152 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8154 * sysdeps/s390/multiarch/Makefile
8155 (sysdep_routines): Remove wcsncat variants.
8156 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
8157 * sysdeps/s390/multiarch/ifunc-impl-list.c
8158 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
8159 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
8160 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
8161 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
8162 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
8163 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
8164 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
8165 * sysdeps/s390/ifunc-wcsncat.h: New file.
8167 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8169 * sysdeps/s390/multiarch/Makefile
8170 (sysdep_routines): Remove wcscat variants.
8171 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
8172 * sysdeps/s390/multiarch/ifunc-impl-list.c
8173 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
8174 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
8175 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
8176 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
8177 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
8178 * sysdeps/s390/multiarch/wcscat.c: Move to ...
8179 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
8180 * sysdeps/s390/ifunc-wcscat.h: New file.
8182 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8184 * sysdeps/s390/multiarch/Makefile
8185 (sysdep_routines): Remove wcpncpy variants.
8186 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
8187 * sysdeps/s390/multiarch/ifunc-impl-list.c
8188 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
8189 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
8190 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
8191 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
8192 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
8193 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
8194 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
8195 * sysdeps/s390/ifunc-wcpncpy.h: New file.
8197 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8199 * sysdeps/s390/multiarch/Makefile
8200 (sysdep_routines): Remove wcsncpy variants.
8201 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
8202 * sysdeps/s390/multiarch/ifunc-impl-list.c
8203 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
8204 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
8205 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
8206 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
8207 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
8208 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
8209 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
8210 * sysdeps/s390/ifunc-wcsncpy.h: New file.
8212 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8214 * sysdeps/s390/multiarch/Makefile
8215 (sysdep_routines): Remove wcpcpy variants.
8216 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
8217 * sysdeps/s390/multiarch/ifunc-impl-list.c
8218 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
8219 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
8220 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
8221 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
8222 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
8223 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
8224 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
8225 * sysdeps/s390/ifunc-wcpcpy.h: New file.
8227 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8229 * sysdeps/s390/multiarch/Makefile
8230 (sysdep_routines): Remove wcscpy variants.
8231 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
8232 * sysdeps/s390/multiarch/ifunc-impl-list.c
8233 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
8234 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
8235 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
8236 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
8237 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
8238 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
8239 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
8240 * sysdeps/s390/ifunc-wcscpy.h: New file.
8242 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8244 * sysdeps/s390/multiarch/Makefile
8245 (sysdep_routines): Remove wcsnlen variants.
8246 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
8247 * sysdeps/s390/multiarch/ifunc-impl-list.c
8248 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
8249 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
8250 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
8251 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
8252 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
8253 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
8254 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
8255 * sysdeps/s390/ifunc-wcsnlen.h: New file.
8257 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8259 * sysdeps/s390/multiarch/Makefile
8260 (sysdep_routines): Remove wcslen variants.
8261 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
8262 * sysdeps/s390/multiarch/ifunc-impl-list.c
8263 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
8264 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
8265 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
8266 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
8267 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
8268 * sysdeps/s390/multiarch/wcslen.c: Move to ...
8269 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
8270 * sysdeps/s390/ifunc-wcslen.h: New file.
8272 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8274 * sysdeps/s390/multiarch/Makefile
8275 (sysdep_routines): Remove memrchr variants.
8276 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
8277 * sysdeps/s390/multiarch/ifunc-impl-list.c
8278 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
8279 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
8280 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
8281 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
8282 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
8283 * sysdeps/s390/multiarch/memrchr.c: Move to ...
8284 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
8285 * sysdeps/s390/ifunc-memrchr.h: New file.
8287 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8289 * sysdeps/s390/multiarch/Makefile
8290 (sysdep_routines): Remove memccpy variants.
8291 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
8292 * sysdeps/s390/multiarch/ifunc-impl-list.c
8293 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
8294 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
8295 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
8296 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
8297 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
8298 * sysdeps/s390/multiarch/memccpy.c: Move to ...
8299 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
8300 * sysdeps/s390/ifunc-memccpy.h: New file.
8302 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8304 * sysdeps/s390/multiarch/Makefile
8305 (sysdep_routines): Remove rawmemchr variants.
8306 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
8307 * sysdeps/s390/multiarch/ifunc-impl-list.c
8308 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
8309 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
8310 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
8311 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
8312 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
8313 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
8314 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
8315 * sysdeps/s390/ifunc-rawmemchr.h: New file.
8317 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8319 * sysdeps/s390/multiarch/Makefile
8320 (sysdep_routines): Remove memchr variants.
8321 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
8322 * sysdeps/s390/multiarch/ifunc-impl-list.c
8323 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
8324 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
8325 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
8326 * sysdeps/s390/multiarch/memchr.c: Move to ...
8327 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
8328 * sysdeps/s390/ifunc-memchr.h: New file.
8329 * sysdeps/s390/s390-64/memchr.S: Move to ...
8330 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
8331 for 31/64bit and ifunc handling.
8332 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
8333 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
8334 * sysdeps/s390/s390-32/memchr.S: Likewise.
8336 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8338 * sysdeps/s390/multiarch/Makefile
8339 (sysdep_routines): Remove strcspn variants.
8340 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
8341 * sysdeps/s390/multiarch/ifunc-impl-list.c
8342 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
8343 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
8344 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
8345 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
8346 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
8347 * sysdeps/s390/multiarch/strcspn.c: Move to ...
8348 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
8349 * sysdeps/s390/ifunc-strcspn.h: New file.
8351 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8353 * sysdeps/s390/multiarch/Makefile
8354 (sysdep_routines): Remove strpbrk variants.
8355 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
8356 * sysdeps/s390/multiarch/ifunc-impl-list.c
8357 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
8358 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
8359 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
8360 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
8361 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
8362 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
8363 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
8364 * sysdeps/s390/ifunc-strpbrk.h: New file.
8366 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8368 * sysdeps/s390/multiarch/Makefile
8369 (sysdep_routines): Remove strspn variants.
8370 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
8371 * sysdeps/s390/multiarch/ifunc-impl-list.c
8372 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
8373 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
8374 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
8375 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
8376 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
8377 * sysdeps/s390/multiarch/strspn.c: Move to ...
8378 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
8379 * sysdeps/s390/ifunc-strspn.h: New file.
8381 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8383 * sysdeps/s390/multiarch/Makefile
8384 (sysdep_routines): Remove strrchr variants.
8385 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
8386 * sysdeps/s390/multiarch/ifunc-impl-list.c
8387 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
8388 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
8389 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
8390 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
8391 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
8392 * sysdeps/s390/multiarch/strrchr.c: Move to ...
8393 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
8394 * sysdeps/s390/ifunc-strrchr.h: New file.
8396 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8398 * sysdeps/s390/multiarch/Makefile
8399 (sysdep_routines): Remove strchrnul variants.
8400 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
8401 * sysdeps/s390/multiarch/ifunc-impl-list.c
8402 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
8403 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
8404 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
8405 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
8406 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
8407 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
8408 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
8409 * sysdeps/s390/ifunc-strchrnul.h: New file.
8411 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8413 * sysdeps/s390/multiarch/Makefile
8414 (sysdep_routines): Remove strchr variants.
8415 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
8416 * sysdeps/s390/multiarch/ifunc-impl-list.c
8417 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
8418 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
8419 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
8420 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
8421 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
8422 * sysdeps/s390/multiarch/strchr.c: Move to ...
8423 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
8424 * sysdeps/s390/ifunc-strchr.h: New file.
8426 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8428 * sysdeps/s390/multiarch/Makefile
8429 (sysdep_routines): Remove strncmp variants.
8430 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
8431 * sysdeps/s390/multiarch/ifunc-impl-list.c
8432 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
8433 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
8434 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
8435 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
8436 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
8437 * sysdeps/s390/multiarch/strncmp.c: Move to ...
8438 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
8439 * sysdeps/s390/ifunc-strncmp.h: New file.
8441 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8443 * sysdeps/s390/multiarch/Makefile
8444 (sysdep_routines): Remove strcmp variants.
8445 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
8446 * sysdeps/s390/multiarch/ifunc-impl-list.c
8447 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
8448 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
8449 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
8450 * sysdeps/s390/multiarch/strcmp.c: Move to ...
8451 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
8452 * sysdeps/s390/ifunc-strcmp.h: New file.
8453 * sysdeps/s390/s390-64/strcmp.S: Move to ...
8454 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
8455 for 31/64bit and ifunc handling.
8456 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
8457 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
8458 * sysdeps/s390/s390-32/strcmp.S: Likewise.
8460 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8462 * sysdeps/s390/multiarch/Makefile
8463 (sysdep_routines): Remove strncat variants.
8464 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
8465 * sysdeps/s390/multiarch/ifunc-impl-list.c
8466 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
8467 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
8468 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
8469 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
8470 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
8471 * sysdeps/s390/multiarch/strncat.c: Move to ...
8472 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
8473 * sysdeps/s390/ifunc-strncat.h: New file.
8475 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8477 * sysdeps/s390/multiarch/Makefile
8478 (sysdep_routines): Remove strcat variants.
8479 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
8480 * sysdeps/s390/multiarch/ifunc-impl-list.c
8481 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
8482 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
8483 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
8484 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
8485 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
8486 * sysdeps/s390/multiarch/strcat.c: Move to ...
8487 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
8488 * sysdeps/s390/ifunc-strcat.h: New file.
8490 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8492 * sysdeps/s390/multiarch/Makefile
8493 (sysdep_routines): Remove stpncpy variants.
8494 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
8495 * sysdeps/s390/multiarch/ifunc-impl-list.c
8496 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
8497 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
8498 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
8499 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
8500 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
8501 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
8502 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
8503 * sysdeps/s390/ifunc-stpncpy.h: New file.
8505 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8507 * sysdeps/s390/multiarch/Makefile
8508 (sysdep_routines): Remove strncpy variants.
8509 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
8510 * sysdeps/s390/multiarch/ifunc-impl-list.c
8511 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
8512 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
8513 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
8514 * sysdeps/s390/multiarch/strncpy.c: Move to ...
8515 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
8516 * sysdeps/s390/ifunc-strncpy.h: New file.
8517 * sysdeps/s390/s390-64/strncpy.S: Move to ...
8518 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
8519 and adjust ifunc handling.
8520 * sysdeps/s390/s390-32/strncpy.S: Move to ...
8521 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
8522 and adjust ifunc handling.
8523 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
8524 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
8526 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8528 * sysdeps/s390/multiarch/Makefile
8529 (sysdep_routines): Remove stpcpy variants.
8530 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
8531 * sysdeps/s390/multiarch/ifunc-impl-list.c
8532 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
8533 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
8534 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
8535 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
8536 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
8537 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
8538 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
8539 * sysdeps/s390/ifunc-stpcpy.h: New file.
8541 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8543 * sysdeps/s390/multiarch/Makefile
8544 (sysdep_routines): Remove strcpy variants.
8545 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
8546 * sysdeps/s390/multiarch/ifunc-impl-list.c
8547 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
8548 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
8549 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
8550 * sysdeps/s390/multiarch/strcpy.c: Move to ...
8551 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
8552 * sysdeps/s390/ifunc-strcpy.h: New file.
8553 * sysdeps/s390/s390-64/strcpy.S: Move to ...
8554 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
8555 for 31/64bit and ifunc handling.
8556 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
8557 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
8558 * sysdeps/s390/s390-32/strcpy.S: Likewise.
8560 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8562 * sysdeps/s390/multiarch/Makefile
8563 (sysdep_routines): Remove strnlen variants.
8564 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
8565 * sysdeps/s390/multiarch/ifunc-impl-list.c
8566 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
8567 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
8568 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
8569 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
8570 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
8571 * sysdeps/s390/multiarch/strnlen.c: Move to ...
8572 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
8573 * sysdeps/s390/ifunc-strnlen.h: New file.
8575 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8577 * sysdeps/s390/multiarch/Makefile
8578 (sysdep_routines): Remove strlen variants.
8579 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
8580 * sysdeps/s390/multiarch/ifunc-impl-list.c
8581 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
8582 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
8583 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
8584 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
8585 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
8586 * sysdeps/s390/multiarch/strlen.c: Move to ...
8587 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
8588 * sysdeps/s390/ifunc-strlen.h: New file.
8590 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8592 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
8593 * sysdeps/s390/multiarch/ifunc-impl-list.c
8594 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
8595 * sysdeps/s390/ifunc-memmem.h: New file.
8596 * sysdeps/s390/memmem.c: Likewise.
8597 * sysdeps/s390/memmem-c.c: Likewise.
8598 * sysdeps/s390/memmem-vx.c: Likewise.
8600 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8602 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
8603 * sysdeps/s390/multiarch/ifunc-impl-list.c
8604 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
8605 * sysdeps/s390/ifunc-strstr.h: New file.
8606 * sysdeps/s390/strstr.c: Likewise.
8607 * sysdeps/s390/strstr-c.c: Likewise.
8608 * sysdeps/s390/strstr-vx.c: Likewise.
8610 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8612 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
8613 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
8614 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
8615 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
8617 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
8618 * sysdeps/s390/memmove-c.c: New file.
8619 * sysdeps/s390/memmove.c: Likewise.
8620 * sysdeps/s390/multiarch/ifunc-impl-list.c
8621 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
8623 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8625 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
8626 * sysdeps/s390/configure.ac: Add check for z13 support.
8627 * sysdeps/s390/configure: Regenerated.
8629 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8631 * sysdeps/s390/memcopy.h: New file.
8633 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8635 * sysdeps/s390/s390-32/bcopy.S: Remove.
8636 * sysdeps/s390/s390-64/bcopy.S: Likewise.
8638 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8640 * sysdeps/s390/ifunc-memcpy.h: New File.
8641 * sysdeps/s390/memcpy.S: Move to ...
8642 * sysdeps/s390/memcpy-z900.S ... here.
8643 Move implementations from memcpy-s390x.s to here.
8644 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
8645 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
8646 Remove memcpy/mempcpy variants.
8647 * sysdeps/s390/Makefile (sysdep_routines):
8648 Add memcpy/mempcpy variants.
8649 * sysdeps/s390/multiarch/ifunc-impl-list.c
8650 (__libc_ifunc_impl_list): Adjust ifunc variants for
8652 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
8654 * sysdeps/s390/memcpy.c: ... here.
8655 Adjust ifunc variants for memcpy.
8656 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
8657 * sysdeps/s390/mempcpy.c: ... here.
8658 Adjust ifunc variants for mempcpy.
8659 * sysdeps/s390/mempcpy.S: Delete file.
8661 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8663 * sysdeps/s390/s390-64/memcpy.S: Move to ...
8664 * sysdeps/s390/memcpy.S: ... here.
8665 Adjust to be usable for 31/64bit.
8666 * sysdeps/s390/s390-32/memcpy.S: Delete File.
8667 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
8668 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
8669 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
8670 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
8671 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
8672 Adjust to be usable for 31/64bit.
8673 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
8674 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
8675 * sysdeps/s390/multiarch/memcpy.c: ... here.
8676 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
8678 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8680 * sysdeps/s390/ifunc-memcmp.h: New File.
8681 * sysdeps/s390/memcmp.S: Move to ...
8682 * sysdeps/s390/memcmp-z900.S ... here.
8683 Move implementations from memcmp-s390x.s to here.
8684 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
8685 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
8686 Remove memcmp variants.
8687 * sysdeps/s390/Makefile (sysdep_routines):
8688 Add memcmp variants.
8689 * sysdeps/s390/multiarch/ifunc-impl-list.c
8690 (__libc_ifunc_impl_list): Adjust ifunc variants for
8692 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
8694 * sysdeps/s390/memcmp.c: ... here.
8695 Adjust ifunc variants for memcmp.
8697 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8699 * sysdeps/s390/s390-64/memcmp.S: Move to ...
8700 * sysdeps/s390/memcmp.S: ... here.
8701 Adjust to be usable for 31/64bit.
8702 * sysdeps/s390/s390-32/memcmp.S: Delete File.
8703 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
8704 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
8706 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
8707 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
8708 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
8709 Adjust to be usable for 31/64bit.
8710 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
8711 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
8712 * sysdeps/s390/multiarch/memcmp.c: ... here.
8713 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
8715 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8717 * sysdeps/s390/s390-32/bzero.S: Delete file.
8718 * sysdeps/s390/s390-64/bzero.S: Likewise.
8719 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
8720 * sysdeps/s390/bzero.c: New file.
8721 * sysdeps/s390/memset-z900.S: Add bzero entry points.
8722 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
8723 * sysdeps/s390/multiarch/ifunc-impl-list.c
8724 (__libc_ifunc_impl_list): Add bzero ifunc variants.
8726 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8728 * sysdeps/s390/ifunc-memset.h: New File.
8729 * sysdeps/s390/memset.S: Move to ...
8730 * sysdeps/s390/memset-z900.S ... here.
8731 Move implementations from memset-s390x.s to here.
8732 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
8733 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
8734 Remove memset variants.
8735 * sysdeps/s390/Makefile (sysdep_routines):
8736 Add memset variants.
8737 * sysdeps/s390/multiarch/ifunc-impl-list.c
8738 (__libc_ifunc_impl_list): Adjust ifunc variants for
8740 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
8742 * sysdeps/s390/memset.c: ... here.
8743 Adjust ifunc variants for memset.
8745 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8747 * sysdeps/s390/s390-64/memset.S: Move to ...
8748 * sysdeps/s390/memset.S: ... here.
8749 Adjust to be usable for 31/64bit.
8750 * sysdeps/s390/s390-32/memset.S: Delete File.
8751 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
8752 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
8754 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
8755 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
8756 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
8757 Adjust to be usable for 31/64bit.
8758 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
8759 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
8760 * sysdeps/s390/multiarch/memset.c: ... here.
8761 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
8763 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8765 * sysdeps/s390/multiarch/ifunc-resolve.h
8766 (s390_libc_ifunc_init, s390_libc_ifunc,
8767 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
8769 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8771 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
8772 * sysdeps/s390/configure.ac: Add check for z10 support.
8773 * sysdeps/s390/configure: Regenerated.
8775 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
8777 * sysdeps/i386/atomic-machine.h: Merged with ...
8778 * sysdeps/x86_64/atomic-machine.h: To ...
8779 * sysdeps/x86/atomic-machine.h: This. New file.
8781 2018-12-18 Florian Weimer <fweimer@redhat.com>
8783 Rewrite locale/gen-translit.pl in Python.
8784 * locale/Makefile (generated): Add C-translit.h.
8785 (before-compile): Add $(objpfx)C-translit.h.
8786 (C-translit.h): Move to $(objpfx). Create target directory.
8787 Build using Python script.
8788 * locale/gen-translit.py: New file.
8789 * locale/gen-translit.pl: Remove file.
8790 * locale/C-translit.h.in: Change comment character to '#' for
8791 easier parsing without a C preprocessor.
8792 * locale/C-translit.h: Remove generated file.
8793 * manual/install.texi (Tools for Compilation): Do not mention
8795 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
8796 Remove locale/C-translit.h.
8797 * scripts/update-copyrights: Likewise.
8798 * INSTALL: Regenerate.
8800 2018-12-18 Florian Weimer <fweimer@redhat.com>
8803 * localedata/locales/bi_VU: Remove executable bit from file.
8805 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
8808 (__localtime64): Add.
8809 * manual/maint.texi: Document Y2038 symbol handling.
8811 (__localtime64): Add.
8812 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
8814 2018-12-17 Joseph Myers <joseph@codesourcery.com>
8816 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
8819 * scripts/glibcextract.py (compare_macro_consts): Take parameters
8820 to allow extra macros from first or second sources.
8821 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
8822 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8823 (tests-special): Add $(objpfx)tst-mman-consts.out.
8824 ($(objpfx)tst-mman-consts.out): New makefile target.
8826 2018-12-17 Mao Han <han_mao@c-sky.com>
8828 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
8829 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
8830 without stat64 system call support.
8831 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
8832 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
8833 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8834 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
8835 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
8836 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
8837 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
8838 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
8839 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
8840 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
8841 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
8843 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
8845 regex: fix storage-exhaustion error
8847 * posix/regexec.c (get_subexp):
8848 Do not continue if storage is exhausted.
8850 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
8852 regex: fix heap-use-after-free error
8854 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
8855 https://debbugs.gnu.org/32592
8856 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
8857 call extend_buffers which reallocates the re_string_t internal buffer.
8858 Local variable 'buf' was not updated in such case, resulting in
8860 * posix/regexec.c (get_subexp): Update 'buf' after call to
8863 2018-12-15 Florian Weimer <fweimer@redhat.com>
8865 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
8866 (minimum_stride_size): Use it.
8867 (support_blob_repeat_allocate): Likewise.
8869 2018-12-14 Joseph Myers <joseph@codesourcery.com>
8871 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
8876 2018-12-14 Florian Weimer <fweimer@redhat.com>
8878 * manual/process.texi (Process Creation Concepts): Remove
8879 documentation of process (ID) lifetime. List more process
8880 creation functions. Reference Process Identification section.
8881 (Process Identification): Add information about process ID
8882 lifetime. Describe Linux thread/task IDs.
8883 * manual/signal.texi (Signaling Another Process): Mention that the
8884 signal is always sent to the process.
8886 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8888 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
8889 and tst-ldbl-efgcvt.
8890 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
8891 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
8892 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
8893 (fcvt_tests, output_error, output_r_error, do_test): Use the
8894 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
8895 select the type of floating-point variables and arguments; to
8896 produce extra tests for double and conversion specifiers for
8897 printf; and to set the names of called functions.
8898 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
8899 in tst-efgcvt-template.c.
8900 * misc/tst-ldbl-efgcvt.c: Likewise.
8902 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
8904 * nss/Makefile (tst-nss-test3.out): New rule.
8906 2018-12-13 Joseph Myers <joseph@codesourcery.com>
8908 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
8911 2018-12-13 fanjinke <fanjinke@hygon.cn>
8913 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
8916 2018-12-13 Andreas Schwab <schwab@suse.de>
8919 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
8920 (__pthread_rwlock_rdlock_full): Update expected value for
8921 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
8922 * nptl/tst-rwlock-pwn.c: New file.
8923 * nptl/Makefile (tests): Add tst-rwlock-pwn.
8925 2018-12-12 Joseph Myers <joseph@codesourcery.com>
8927 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
8930 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8932 * benchtests/scripts/compare_bench.py (do_compare): write to
8933 stderr in casestat is not present.
8934 * benchtests/scripts/compare_bench.py (plot_graphs): write to
8935 stderr in case timings field is not present. Also string showing
8936 the output filename goes into the stderr.
8938 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8940 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
8941 and ZeroDivisorError exceptions.
8942 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
8943 argument to loop through user provided statistics.
8944 * benchtests/scripts/compare_bench.py (main): Include the --stats
8947 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8949 * benchtests/scripts/compare_bench.py (compare_runs): Continue
8952 2018-12-12 Florian Weimer <fweimer@redhat.com>
8954 * sysdeps/posix/timespec_get.c: Add missing “any later version”
8955 clause to copyright header.
8957 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8960 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
8961 registers saved in the stack frame.
8962 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
8963 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
8965 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8967 * include/bits/monetary-ldbl.h: New file.
8968 * include/bits/printf-ldbl.h: Likewise.
8969 * include/bits/stdio-ldbl.h: Likewise.
8970 * include/bits/stdlib-ldbl.h: Likewise.
8971 * include/bits/syslog-ldbl.h: Likewise.
8972 * include/bits/wchar-ldbl.h: Likewise.
8974 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8976 * libio/libio.h: Remove redirection for _IO_vfprintf.
8978 2018-12-11 Andreas Schwab <schwab@suse.de>
8980 * Makerules: Remove all references to abilist-pattern.
8981 (update-all-abi): Simplify find expression.
8983 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
8986 * math/auto-libm-test-in: Add new test case.
8987 * math/auto-libm-test-out-pow: Regenerated.
8988 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
8990 2018-12-10 DJ Delorie <dj@redhat.com>
8993 * support/test-container.c: Move postclean step to before we
8996 2018-12-10 Joseph Myers <joseph@codesourcery.com>
8998 * scripts/gen-as-const.py (main): Handle --python option.
8999 * scripts/gen-py-const.awk: Remove.
9000 * Makerules (py-const-script): Use gen-as-const.py.
9001 ($(py-const)): Likewise.
9002 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
9003 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
9004 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
9005 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
9006 ~PTHREAD_MUTEX_NO_ELISION_NP.
9007 * manual/README.pretty-printers: Update reference to
9010 * scripts/glibcextract.py: New file.
9011 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
9012 or tempfile. Import glibcexctract.
9013 (compute_c_consts): Remove. Moved to glibcextract.py.
9014 (gen_test): Update reference to compute_c_consts.
9016 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
9017 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
9018 * sysdeps/unix/sysv/linux/Makefile
9019 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
9020 Redirect stderr as well as stdout.
9022 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
9025 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
9026 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
9027 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
9028 ALWAYS_USE_VSYSCALL.
9029 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
9030 ALWAYS_USE_VSYSCALL.
9031 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
9032 ALWAYS_USE_VSYSCALL.
9034 2018-12-10 Florian Weimer <fweimer@redhat.com>
9037 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
9038 offset instead of count for clarity. Fix typo in comment.
9039 (__old_getdents64): Keep track of previous offset. Use it to call
9041 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
9042 that d_off is never zero.
9044 2018-12-10 Andreas Schwab <schwab@suse.de>
9046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
9047 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
9048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
9049 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
9050 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
9052 2018-12-10 Joseph Myers <joseph@codesourcery.com>
9054 * timezone/private.h: Update from tzcode 2018g.
9055 * timezone/tzfile.h: Likewise.
9056 * timezone/tzselect.ksh: Likewise.
9057 * timezone/zdump.c: Likewise.
9058 * timezone/zic.c: Likewise.
9060 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9063 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
9064 (do_test): Adjust buffer size and fix format.
9066 2018-12-07 DJ Delorie <dj@redhat.com>
9069 * malloc/tst-tcfree3.c: New.
9070 * malloc/Makefile: Add it.
9072 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9074 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
9076 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9078 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
9079 used as a mask for the mode argument of __vfscanf_internal and
9080 __vfwscanf_internal.
9081 * stdio-common/vfscanf-internal.c
9082 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
9083 (__strtof128_internal): Define to __wcstof128_internal.
9084 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
9085 __strtof128_internal or __wcstof128_internal when the format of
9086 long double is the same as _Float128.
9088 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
9090 * include/unistd.h (__confstr): Add prototype and hidden prototype.
9091 * posix/confstr.c (confstr): Rename to __confstr.
9092 (__confstr): Add hidden def.
9093 (confstr): Add weak alias for __confstr.
9094 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
9097 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9099 * NEWS: Mention getcpu.
9100 * include/sched.h (__getcpu): New libc_hidden_proto.
9101 * manual/resource.texi: Document getcpu.
9102 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
9103 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
9104 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
9105 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9106 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9107 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9108 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9109 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9110 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9111 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9112 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9113 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9114 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
9116 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9117 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9118 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
9127 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9128 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9129 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9130 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9131 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9132 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9133 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9134 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9135 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
9136 * sysdeps/unix/sysv/linux/getcpu.c: New file.
9137 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
9140 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
9142 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
9144 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
9146 2018-12-07 Florian Weimer <fweimer@redhat.com>
9149 * posix/Makefile (routines): Add spawn_faction_addfchdir.
9150 * posix/Versions (GLIBC_2.29): Export
9151 posix_spawn_file_actions_addfchdir_np.
9152 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
9153 * posix/spawn_faction_destroy.c
9154 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
9155 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
9156 and the field action.fchdir_action.
9157 * posix/tst-spawn-chdir.c (add_chdir): New function.
9158 (do_test): Add do_fchdir loop. Call add_chdir.
9159 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
9160 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9161 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
9162 posix_spawn_file_actions_addfchdir_np.
9163 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
9165 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
9167 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
9168 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
9170 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
9172 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
9174 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
9176 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
9178 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
9180 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9181 (GLIBC_2.29): Likewise.
9182 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9183 (GLIBC_2.29): Likewise.
9184 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9185 (GLIBC_2.29): Likewise.
9186 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9187 (GLIBC_2.29): Likewise.
9188 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
9190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9191 (GLIBC_2.29): Likewise.
9192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9193 (GLIBC_2.29): Likewise.
9194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9195 (GLIBC_2.29): Likewise.
9196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9197 (GLIBC_2.29): Likewise.
9198 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
9200 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
9202 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
9204 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
9205 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
9207 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
9209 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
9211 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
9214 2018-12-06 Joseph Myers <joseph@codesourcery.com>
9216 * manual/texinfo.tex: Update to version 2018-09-21.20 with
9217 trailing whitespace removed.
9218 * scripts/config.guess: Update to version 2018-11-28.
9219 * scripts/config.sub: Update to version 2018-11-28.
9220 * scripts/install-sh: Update to version 2018-03-11.20.
9221 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
9222 * scripts/move-if-change: Update to version 2018-03-07 03:47.
9224 2018-12-07 Florian Weimer <fweimer@redhat.com>
9228 * inet/tst-if_index-long.c: New file.
9229 * inet/Makefile (tests): Add tst-if_index-long.
9231 2018-12-07 Florian Weimer <fweimer@redhat.com>
9233 * support/check.h (support_record_failure_is_failed): Declare.
9234 * support/descriptors.h: New file.
9235 * support/support_descriptors.c: Likewise.
9236 * support/tst-support_descriptors.c: Likewise.
9237 * support/support_record_failure.c
9238 (support_record_failure_is_failed): New function.
9239 * support/Makefile (libsupport-routines): Add support_descriptors.
9240 (tests): Add tst-support_descriptors.
9242 2018-12-05 Zack Weinberg <zackw@panix.com>
9243 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9245 * stdio-common/vfprintf-internal.c
9246 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
9247 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
9248 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
9249 and __no_long_double.
9250 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
9251 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
9252 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
9253 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
9254 and __nldbl_*syslog* functions.
9255 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
9256 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
9257 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
9258 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
9259 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
9260 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
9261 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
9262 (__nldbl_vwprintf, __nldbl_wprintf):
9263 Directly call the appropriate __v*printf_internal routine, passing
9264 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
9266 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
9267 (__nldbl___printf_chk, __nldbl___snprintf_chk)
9268 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
9269 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
9270 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
9271 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9272 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
9273 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
9274 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
9275 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
9276 Likewise, and also pass PRINTF_FORTIFY when appropriate.
9277 (__nldbl_syslog, __nldbl_vsyslog):
9278 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
9279 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9281 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9284 2018-12-05 Zack Weinberg <zackw@panix.com>
9285 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9288 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
9289 Moved here from debug/vsprintf_chk.c.
9290 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
9291 and completion logic for the strfile to match exactly what
9292 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
9293 _IO_str_init_static_internal instead of maxlen-1.
9294 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9295 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
9296 __vsprintf_internal.
9298 * debug/vsprintf_chk.c (__vsprintf_chk)
9299 * debug/sprintf_chk.c (__sprintf_chk):
9300 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
9301 'flags' argument is positive, and slen as maxlen. No need to lock
9302 the FILE and/or construct a temporary FILE. Minimize and normalize
9303 header inclusions and variable names. Do not libc_hidden_def anything.
9305 * debug/asprintf_chk.c (__asprintf_chk)
9306 * debug/dprintf_chk.c (__dprintf_chk)
9307 * debug/fprintf_chk.c (__fprintf_chk)
9308 * debug/fwprintf_chk.c (__fwprintf_chk)
9309 * debug/printf_chk.c (__printf_chk)
9310 * debug/snprintf_chk.c (__snprintf_chk)
9311 * debug/swprintf_chk.c (__swprintf_chk)
9312 * debug/vasprintf_chk.c (__vasprintf_chk)
9313 * debug/vdprintf_chk.c (__vdprintf_chk)
9314 * debug/vfprintf_chk.c (__vfprintf_chk)
9315 * debug/vfwprintf_chk.c (__vfwprintf_chk)
9316 * debug/vprintf_chk.c (__vprintf_chk)
9317 * debug/vsnprintf_chk.c (__vsnprintf_chk)
9318 * debug/vswprintf_chk.c (__vswprintf_chk)
9319 * debug/vwprintf_chk.c (__vwprintf_chk)
9320 * debug/wprintf_chk.c (__wprintf_chk):
9321 Directly call the corresponding vxxprintf_internal function, passing
9322 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
9323 the FILE and/or construct a temporary FILE. Minimize and normalize
9324 header inclusions and variable names. Do not libc_hidden_def anything.
9326 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
9327 __obstack_vprintf_internal.
9328 (__obstack_vprintf_chk): Convert into a wrapper that calls
9329 __obstack_vprintf_internal (these two functions already had the
9330 same code) and move to new file...
9331 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
9333 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
9334 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
9335 * debug/Makefile (routines): Add vobprintf_chk.
9337 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
9338 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9339 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
9340 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9341 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
9342 (__nldbl___obstack_vfprintf_chk):
9343 Directly call the corresponding vxxprintf_internal function,
9344 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
9345 duplicate comparison of slen with 0 or maxlen from the corresponding
9346 non-__nldbl function.
9348 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
9349 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
9350 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
9351 Remove libc_hidden_proto.
9353 * stdio-common/vfprintf-internal.c
9354 (__vfprintf_internal, __vfwprintf_internal):
9355 Do not check _IO_FLAGS2_FORTIFY.
9356 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
9357 * libio/libioP.h: Update prototype of __vsprintf_internal and add
9358 a comment explaining why it has the maxlen argument.
9359 (_IO_acquire_lock_clear_flags2_fct): Remove.
9360 (_IO_acquire_lock_clear_flags2): Remove.
9361 (_IO_release_lock): Remove conditional statement which will
9363 (_IO_acquire_lock): Remove variable which is now unused.
9364 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9365 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9367 * stdio-common/Makefile (tests): Add tst-bz11319 and
9368 tst-bz11319-fortify2.
9369 (CFLAGS-tst-bz11319-fortify2.c): New macro.
9370 * stdio-common/tst-bz11319-fortify2.c: New file.
9371 * stdio-common/tst-bz11319.c: Likewise.
9373 2018-12-05 Zack Weinberg <zackw@panix.com>
9374 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9376 * misc/syslog.c: Include libioP.h, not iolibio.h.
9377 (__vsyslog_internal): New function with the former body of
9378 __vsyslog_chk; takes mode_flags argument same as
9379 __v*printf_internal. Call __vfprintf_internal directly.
9381 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
9382 Remove libc_hidden_def.
9383 (__syslog, __syslog_chk): Use __vsyslog_internal.
9384 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
9386 * include/sys/syslog.h: Add multiple inclusion guard.
9387 Add prototype for __vsyslog_internal.
9388 Remove declaration and libc_hidden_proto for __vsyslog_chk.
9390 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
9391 Use __vsyslog_internal.
9393 2018-12-05 Zack Weinberg <zackw@panix.com>
9394 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9396 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
9397 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
9398 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
9400 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
9401 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
9403 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
9404 Include wctype.h here if COMPILE_WPRINTF is defined.
9405 Define __vfprintf_internal or __vfwprintf_internal, depending
9407 Temporarily, on entry to this function, update mode_flags
9408 according to the environmental settings corresponding to
9409 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
9410 Throughout, check mode_flags instead of __ldbl_is_dbl and
9411 _IO_FLAGS2_FORTIFY on the destination FILE.
9412 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
9413 Include vfprintf-internal.c. Don't include wctype.h.
9414 * stdio-common/vfprintf.c: New file. Just define __vfprintf
9415 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
9417 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
9418 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
9420 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
9422 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
9423 and add mode_flags argument; use __vfprintf_internal.
9424 (__vdprintf): New function. Alias vdprintf to this.
9425 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
9426 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
9427 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
9428 (__obstack_printf): Use __obstack_printf_internal.
9429 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
9430 public aliases __vsnprintf and vsnprintf.
9431 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
9433 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
9434 public aliases _IO_vsprintf and vsprintf.
9435 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
9436 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
9437 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
9438 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
9439 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
9441 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
9442 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
9443 * stdio-common/fprintf.c, stdio-common/fxprintf.c
9444 * stdio-common/printf.c: Use __vfprintf_internal.
9446 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
9447 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
9448 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
9450 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
9451 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
9452 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
9453 __vfwprintf_internal.
9455 * libio/libio.h: Remove libc_hidden_proto and declaration for
9457 Remove declaration of _IO_vfwprintf.
9458 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
9460 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
9462 * include/stdio.h: Add prototype for __vasprintf.
9463 (__vsnprintf): Remove declaration, because there are no more
9465 * include/wchar.h (__vfwprintf, __vswprintf): Remove
9466 declaration, because there are no more internal calls.
9468 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
9469 __vsnprintf_internal, instead of _IO_vsnprintf.
9470 * argp/argp-help.c (__argp_error, __argp_failure): Use
9471 __vasprintf_internal, instead of _IO_vasprintf.
9472 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
9473 redefine, because there are no more internal calls.
9475 2018-12-05 Zack Weinberg <zackw@panix.com>
9476 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9478 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
9479 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
9480 Include libio/strfile.h instead of libioP.h.
9481 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
9482 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
9483 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
9484 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
9485 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
9486 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
9487 necessary. Do not set __no_long_double. Normalize variable names.
9488 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
9489 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
9490 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
9491 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
9492 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
9493 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
9494 Call __vfscanf_internal / __vfwscanf_internal directly, passing
9495 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
9496 Do not set __no_long_double. Normalize variable names.
9498 2018-12-05 Zack Weinberg <zackw@panix.com>
9499 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9501 * stdio-common/isoc99_scanf.c
9502 * stdio-common/isoc99_fscanf.c
9503 * stdio-common/isoc99_sscanf.c
9504 * stdio-common/isoc99_vscanf.c
9505 * stdio-common/isoc99_vfscanf.c
9506 * stdio-common/isoc99_vsscanf.c
9507 * wcsmbs/isoc99_wscanf.c
9508 * wcsmbs/isoc99_fwscanf.c
9509 * wcsmbs/isoc99_swscanf.c
9510 * wcsmbs/isoc99_vwscanf.c
9511 * wcsmbs/isoc99_vfwscanf.c
9512 * wcsmbs/isoc99_vswscanf.c:
9513 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
9514 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
9515 No need to lock and unlock the FILE passed to that function.
9517 * stdio-common/vfscanf-internal.c
9518 (__vfscanf_internal, __vfwscanf_internal):
9519 Don't look at _IO_FLAGS2_SCANF_STD.
9520 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
9521 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
9522 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
9524 2018-12-05 Zack Weinberg <zackw@panix.com>
9525 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9527 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
9528 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
9529 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
9530 * libio/strfile.h: Add multiple inclusion guard.
9531 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
9533 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
9534 consistency with the other version of this file.
9535 (ldbl_compat_symbol): New macro.
9536 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
9539 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
9540 Define __vfscanf_internal or __vfwscanf_internal, depending on
9541 COMPILE_WSCANF; don't define any other public symbols.
9542 Remove errval and code to set errp.
9543 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
9544 as the mode_flags argument.
9545 (encode_error, conv_error, input_error): Don't set errval.
9546 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
9547 Include vfscanf-internal.c.
9548 * stdio-common/vfscanf.c: New file defining the public entry
9549 point vfscanf, which calls __vfscanf_internal.
9550 * stdio-common/vfwscanf.c: New file defining the public entry
9551 point vfwscanf, which calls __vfwscanf_internal.
9553 * stdio-common/iovfscanf.c: New file.
9554 * stdio-common/iovfwscanf.c: Likewise.
9556 * stdio-common/Makefile (routines): Add vfscanf-internal,
9557 vfwscanf-internal, iovfscanf, iovfwscanf.
9558 * stdio-common/Versions: Mention GLIBC_2.29, so that
9559 it can be used in SHLIB_COMPAT expressions.
9560 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
9561 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
9562 Call __vfscanf_internal, instead of _IO_vfscanf.
9563 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
9565 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
9568 * libio/iovsscanf.c: Clean up includes, when possible. Use
9569 _IO_strfile_read or _IO_strfile_readw, when needed. Call
9570 __vfscanf_internal or __vfwscanf_internal directly.
9571 * libio/iovswscanf.c: Likewise.
9572 * libio/swscanf.c: Likewise.
9573 * libio/vscanf.c: Likewise.
9574 * libio/vwscanf.c: Likewise.
9575 * libio/wscanf.c: Likewise.
9576 * stdio-common/isoc99_fscanf.c: Likewise.
9577 * stdio-common/isoc99_scanf.c: Likewise.
9578 * stdio-common/isoc99_sscanf.c: Likewise.
9579 * stdio-common/isoc99_vfscanf.c: Likewise.
9580 * stdio-common/isoc99_vscanf.c: Likewise.
9581 * stdio-common/isoc99_vsscanf.c: Likewise.
9582 * stdio-common/scanf.c: Likewise.
9583 * stdio-common/sscanf.c: Likewise.
9584 * wcsmbs/isoc99_fwscanf.c: Likewise.
9585 * wcsmbs/isoc99_swscanf.c: Likewise.
9586 * wcsmbs/isoc99_vfwscanf.c: Likewise.
9587 * wcsmbs/isoc99_vswscanf.c: Likewise.
9588 * wcsmbs/isoc99_vwscanf.c: Likewise.
9589 * wcsmbs/isoc99_wscanf.c: Likewise.
9591 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
9594 (__tz_compute): Replace time_t with __time64_t.
9595 (__tz_convert): Replace time_t* with __time64_t.
9596 (__offtime): Replace time_t* with __time64_t.
9598 (__gmtime_r): Adjust call to __tz_convert.
9601 (__localtime_r): Likewise.
9602 (localtime): Likewise.
9603 * time/offtime.c: Replace time_t with __time64_t.
9604 * time/tzset.c: Likewise.
9606 2018-12-04 Joseph Myers <joseph@codesourcery.com>
9608 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
9609 dynamic linker unless [$(run-built-tests) = yes].
9611 2018-12-03 DJ Delorie <dj@delorie.com>
9613 * support/test-container.c (check_for_unshare_hints): New.
9614 (main): Call it if unshare fails. Add support for "su" scriptlet
9617 2018-12-03 Joseph Myers <joseph@codesourcery.com>
9619 * scripts/gen-as-const.py (compute_c_consts): Take an argument
9620 'START' to indicate that start text should be output.
9621 (gen_test): Likewise.
9622 (main): Generate 'START' for first symbol or '--' line, or at end
9623 of input if not previously generated.
9625 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
9628 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
9629 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
9630 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
9631 ALWAYS_USE_VSYSCALL.
9633 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9636 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
9639 2018-12-03 Carlos O'Donell <carlos@redhat.com>
9642 * locale/programs/localedef.c: Declare boolean hard_links default true.
9643 (options): Add --no-hard-links option.
9644 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
9645 * locale/programs/localedef.h: Declare prototype for hard_links.
9646 * locale/programs/locfile.c (write_locale_data): Don't use hard
9647 links if hard_links is false.
9649 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
9651 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
9653 (__cache_sysconf): Likewise.
9654 (init_cacheinfo): Likewise.
9655 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
9656 populate COMMON_CPUID_INDEX_80000007 and
9657 COMMON_CPUID_INDEX_80000008.
9658 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
9659 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
9660 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
9661 (init_cpu_features): Use _Static_assert on
9662 index_arch_Fast_Unaligned_Load.
9663 __get_cpuid_registers and __get_arch_feature. Updated for
9664 cpu_features_basic. Set stepping in cpu_features.
9665 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
9666 (FEATURE_INDEX_2): New.
9667 (FEATURE_INDEX_MAX): Changed to enum.
9668 (COMMON_CPUID_INDEX_D_ECX_1): New.
9669 (COMMON_CPUID_INDEX_80000007): Likewise.
9670 (COMMON_CPUID_INDEX_80000008): Likewise.
9671 (cpuid_registers): Likewise.
9672 (cpu_features_basic): Likewise.
9673 (CPU_FEATURE_USABLE): Likewise.
9674 (bit_arch_XXX_Usable): Likewise.
9675 (cpu_features): Use cpuid_registers and cpu_features_basic.
9676 (bit_arch_XXX): Reweritten.
9677 (bit_cpu_XXX): Likewise.
9678 (index_cpu_XXX): Likewise.
9679 (reg_XXX): Likewise.
9680 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
9682 (CHECK_CPU_FEATURE): New.
9683 (CHECK_CPU_FEATURE_USABLE): Likewise.
9684 (cpu_kinds): Likewise.
9685 (do_test): Print vendor, family, model and stepping. Check
9686 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
9687 (TEST_FUNCTION): Removed.
9688 Include <support/test-driver.c> instead of
9689 "../../test-skeleton.c".
9690 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
9691 Check POPCNT instead of POPCOUNT.
9692 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
9694 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
9696 * scripts/gen-as-const.py (main): Avoid emitting empty line when
9697 there is no element in `consts'.
9699 2018-12-01 Florian Weimer <fweimer@redhat.com>
9701 * support/support_capture_subprocess.c
9702 (support_capture_subprocess): Check that pipe descriptors have
9703 expected values. Close original pipe descriptors in subprocess.
9705 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
9708 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
9709 attr with __pthread_default_barrierattr.
9710 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
9711 attr with __pthread_default_condattr.
9712 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
9713 attr with __pthread_default_mutexattr.
9714 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
9715 attr with __pthread_default_rwlockattr.
9717 2018-12-01 Kemi Wang <kemi.wang@intel.com>
9719 * manual/tunables.texi (POSIX Thread Tunables): New node.
9720 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
9721 * nptl/nptl-init.c: Include pthread_mutex_conf.h
9722 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
9723 __pthread_tunables_init.
9724 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
9725 (max_adaptive_count): Define.
9726 * nptl/pthread_mutex_conf.c: New file.
9727 * nptl/pthread_mutex_conf.h: New file.
9728 * sysdeps/generic/adaptive_spin_count.h: New file.
9729 * sysdeps/nptl/dl-tunables.list: New file.
9730 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
9731 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
9732 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
9735 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
9738 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
9739 * stdlib/on_exit.c (__on_exit): Likewise.
9740 * stdlib/Makefile (tests): Add tst-bz20544.
9741 * stdlib/tst-bz20544.c: New test.
9743 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
9746 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
9747 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
9750 2018-11-30 Florian Weimer <fweimer@redhat.com>
9752 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
9753 Extend error logging.
9754 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
9757 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9759 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
9760 __sigismember instead of sigismember.
9761 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
9762 cancel_handler): New definitions.
9763 (do_system): Use posix_spawn instead of fork and execl and remove
9765 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
9766 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
9767 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
9768 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9769 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9770 * sysdeps/unix/sysv/linux/system.c: Likewise.
9774 * NEWS: Add new semantic for atfork with popen and system.
9775 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
9778 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9781 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
9782 modification order when accessing reloc_result->addr.
9783 * include/link.h (reloc_result): Add field init.
9784 * nptl/Makefile (tests): Add tst-audit-threads.
9785 (modules-names): Add tst-audit-threads-mod1 and
9786 tst-audit-threads-mod2.
9787 Add rules to build tst-audit-threads.
9788 * nptl/tst-audit-threads-mod1.c: New file.
9789 * nptl/tst-audit-threads-mod2.c: Likewise.
9790 * nptl/tst-audit-threads.c: Likewise.
9791 * nptl/tst-audit-threads.h: Likewise.
9793 2018-11-30 Joseph Myers <joseph@codesourcery.com>
9795 * scripts/gen-as-const.py: New file.
9796 * scripts/gen-as-const.awk: Remove.
9797 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
9799 ($(objpfx)test-as-const-%.c): Likewise.
9801 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
9803 * elf/dl-exception.c: Include <_itoa.h>.
9805 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9807 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
9808 returned by __f_setlk.
9810 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
9811 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9813 * elf/Makefile (tests-internal): Add tst-create_format1.
9814 * elf/dl-exception.c (_dl_exception_create_format): Support
9816 * elf/tst-create_format1.c: New file.
9818 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
9820 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
9821 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
9823 * argp/argp-help.c (__argp_failure): Likewise.
9825 2018-11-29 Mao Han <han_mao@c-sky.com>
9827 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
9828 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
9829 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
9830 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
9831 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
9832 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
9833 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
9834 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
9835 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
9836 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
9837 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
9838 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
9839 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
9840 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
9841 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
9842 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
9843 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
9844 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
9845 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
9846 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
9847 (R_CKCORE_TLS_TPOFF32): New defines.
9849 2018-11-29 Florian Weimer <fweimer@redhat.com>
9851 * posix/Makefile (before-compile): Remove testcases.h and
9853 (generated): Add testcases.h and ptestcases.h.
9854 (testcases.h, ptestcases.h): Move to $(objpfx).
9855 (runtests.o): Add dependency on testcases.h.
9856 (runptests.o): Add dependency on ptestcases.h.
9857 * posix/testcases.h, posix/ptestcases.h: Remove files.
9858 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
9859 not touch posix/testcases.h and posix/ptestcases.h.
9861 2018-11-28 Florian Weimer <fweimer@redhat.com>
9863 support: Add signal support to support_capture_subprocess_check.
9864 * support/capture_subprocess.h (support_capture_subprocess_check):
9865 Adjust comment and rename parameter.
9866 * support/support_capture_subprocess_check.c
9867 (print_actual_status): New function.
9868 (support_capture_subprocess_check): Support negative
9869 status_or_signal. Call print_actual_status.
9870 * support/tst-support_capture_subprocess.c (do_test): Call
9871 support_capture_subprocess_check.
9872 * libio/tst-vtables-common.c (termination_status)
9873 (init_termination_status): Remove.
9874 (check_for_termination): Adjust support_capture_subprocess_check
9876 (do_test): Remove call to init_termination_status.
9878 2018-11-28 Joseph Myers <joseph@codesourcery.com>
9880 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
9881 source directory instead of a copy.
9882 (CommandList.create_copy_dir): Remove.
9884 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
9886 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9888 2018-11-28 Florian Weimer <fweimer@redhat.com>
9890 * support/support.h (support_quote_string): Do not use str
9893 2018-11-27 Joseph Myers <joseph@codesourcery.com>
9895 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
9896 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
9898 2018-11-27 Florian Weimer <fweimer@redhat.com>
9900 * support/support.h (support_quote_string): Declare.
9901 * support/support_quote_string.c: New file.
9902 * support/tst-support_quote_string.c: Likewise.
9903 * support/Makefile (libsupport-routines): Add
9904 support_quote_string.
9905 (tests): Add tst-support_quote_string.
9907 2018-11-27 Florian Weimer <fweimer@redhat.com>
9911 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
9912 descriptor leak in case of ENODEV error.
9914 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
9917 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
9918 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
9919 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
9921 2018-11-26 Carlos O'Donell <carlos@redhat.com>
9923 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
9924 Error for unknown lines.
9926 2018-11-26 Joseph Myers <joseph@codesourcery.com>
9928 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
9929 Touch additional files.
9931 2018-11-26 Florian Weimer <fweimer@redhat.com>
9934 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
9937 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
9940 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
9941 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
9942 SHARED. Include sysdep.h.
9943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
9944 ALWAYS_USE_VSYSCALL.
9945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
9946 ALWAYS_USE_VSYSCALL.
9948 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
9951 * nptl/Makefile (tests-static): Add tst-cond11-static.
9953 * nptl/tst-cond11-static.c: New File.
9954 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
9955 tst-affinity-static.
9957 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
9959 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
9960 (USE_VSYSCALL): Likewise.
9961 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
9962 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
9964 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
9966 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
9969 2018-11-23 Joseph Myers <joseph@codesourcery.com>
9972 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9973 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
9976 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
9978 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
9979 (tst-cet-legacy-1a-ARGS): New.
9980 ($(objpfx)tst-cet-legacy-1a): New target.
9981 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
9983 2018-11-22 Joseph Myers <joseph@codesourcery.com>
9985 * conform/conformtest.py (CompileSubTest.__init__): Set
9986 self.run_early to False.
9987 (ExecuteSubTest.__init__): Likewise.
9988 (HeaderTests.run): Try running all non-optional, non-XFAILed
9989 compilation tests in a single execution of the compiler.
9991 * conform/conformtest.py (CompileSubTest): New class.
9992 (ExecuteSubTest): Likewise.
9993 (ElementTest.run): Rename to gen_subtests. Append tests to
9994 self.subtests instead of running them.
9995 (ConstantTest.run): Likewise.
9996 (SymbolTest.run): Likewise.
9997 (TypeTest.run): Likewise.
9998 (TagTest.run): Likewise.
9999 (FunctionTest.run): Likewise.
10000 (VariableTest.run): Likewise.
10001 (MacroFunctionTest.run): Likewise.
10002 (MacroStrTest.run): Likewise.
10003 (HeaderTests.handle_test_line): Generate subtests for tests.
10004 (HeaderTests.run): Run subtests for tests.
10006 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10008 * math/Versions (GLIBC_2.29): Add pow.
10009 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
10011 * math/w_pow.c: New file.
10012 * sysdeps/i386/fpu/w_pow.c: New file.
10013 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
10014 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
10015 and add necessary aliases.
10016 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
10017 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
10018 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10019 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10020 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10021 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10022 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10023 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10024 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10025 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10026 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10027 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10028 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10029 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10030 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10035 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10036 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10037 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10038 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10039 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10040 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10041 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10042 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
10044 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
10045 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
10046 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
10048 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10050 * math/Versions (GLIBC_2.29): Add log2.
10051 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
10053 * math/w_log2.c: New file.
10054 * sysdeps/i386/fpu/w_log2.c: New file.
10055 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
10056 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
10057 and add necessary aliases.
10058 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
10059 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
10060 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10061 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10062 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10063 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10064 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10065 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10066 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10067 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10068 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10069 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10070 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10071 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10072 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10077 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10078 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10079 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10080 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10081 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10082 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10083 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10085 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10087 * math/Versions (GLIBC_2.29): Add log.
10088 * math/w_log_compat.c (__log_compat): Change to versioned compat
10090 * math/w_log.c: New file.
10091 * sysdeps/i386/fpu/w_log.c: New file.
10092 * sysdeps/ia64/fpu/e_log.S: Update.
10093 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
10094 and add necessary aliases.
10095 * sysdeps/ieee754/dbl-64/w_log.c: New file.
10096 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
10097 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10098 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10099 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10100 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10101 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10102 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10103 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10104 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10105 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10106 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10107 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10108 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10109 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10114 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10115 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10116 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10117 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10118 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10119 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10120 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10121 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
10123 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
10124 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
10125 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
10126 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
10128 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10130 * math/Versions (GLIBC_2.29): Add exp and exp2.
10131 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
10132 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
10133 * math/w_exp_compat.c (__exp_compat): Likewise.
10134 * math/w_exp.c: New file.
10135 * math/w_exp2.c: New file.
10136 * sysdeps/i386/fpu/w_exp.c: New file.
10137 * sysdeps/i386/fpu/w_exp2.c: New file.
10138 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
10139 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
10140 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
10141 and add necessary aliases.
10142 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
10143 and add necessary aliases.
10144 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
10145 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
10146 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
10147 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
10148 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10149 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10150 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10151 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10152 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10153 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10154 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10155 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10156 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10157 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10158 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10159 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10160 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10165 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10166 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10167 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10168 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10169 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10170 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10171 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10172 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
10173 (__ieee754_exp): Rename to __exp.
10174 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
10175 (__ieee754_exp): Rename to __exp.
10176 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
10177 (__ieee754_exp): Rename to __exp.
10178 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
10180 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
10182 2018-11-20 DJ Delorie <dj@redhat.com>
10184 * malloc/malloc.c (tcache_entry): Add key field.
10185 (tcache_put): Set it.
10186 (tcache_get): Likewise.
10187 (_int_free): Check for double free in tcache.
10188 * malloc/tst-tcfree1.c: New.
10189 * malloc/tst-tcfree2.c: New.
10190 * malloc/Makefile: Run the new tests.
10191 * manual/probes.texi: Document memory_tcache_double_free probe.
10193 * dlfcn/dlerror.c (check_free): Prevent double frees.
10195 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
10197 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
10199 2018-11-20 Joseph Myers <joseph@codesourcery.com>
10201 * conform/conformtest.py (ElementTest.run): Use unique identifiers
10202 in tests. Use names for format arguments.
10203 (ConstantTest.run): Likewise.
10204 (SymbolTest.run): Likewise.
10205 (TypeTest.run): Likewise.
10206 (TagTest.run): Likewise.
10207 (FunctionTest.run): Likewise.
10208 (VariableTest.run): Likewise.
10209 (MacroFunctionTest.run): Likewise.
10210 (MacroStrTest.run): Likewise.
10211 (HeaderTests.__init__): Set self.num_tests.
10212 (HeaderTests.handle_test_line): Set test.num. Increment
10215 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
10217 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
10218 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
10221 2018-11-19 Mao Han <han_mao@c-sky.com>
10223 * scripts/config.guess: Update to version 2018-08-29.
10224 * scripts/config.sub: Update to version 2018-08-29.
10226 2018-11-19 Florian Weimer <fweimer@redhat.com>
10228 support: Print timestamps in timeout handler.
10229 * support/support_test_main.c (print_timestamp): New function.
10230 (signal_handler): Use it to print the termination time and the
10231 time of the last write to standard output.
10233 2018-11-16 Zack Weinberg <zackw@panix.com>
10234 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10236 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
10237 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
10239 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
10240 and add flags argument. Check flags instead of __ldbl_is_dbl when
10241 deciding whether to set is_long_double.
10242 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
10243 passing zero for flags argument.
10244 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
10246 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
10247 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
10248 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
10249 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
10250 variable names. Remove libc_hidden_def/libc_hidden_proto from
10251 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
10252 longer called from within the library.
10253 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
10254 for __nldbl___vstrfmon_l, declare it explicitly.
10256 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
10258 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10260 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
10262 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
10263 F_SETLK64, F_SETLKW64, respectively.
10264 * sysdeps/mach/hurd/f_setlk.c: New file.
10265 * sysdeps/mach/hurd/f_setlk.h: New file.
10266 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
10268 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
10269 (__libc_fcntl): Move non-flock operations to...
10270 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
10271 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
10273 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
10275 mktime: DEBUG_MKTIME cleanup
10276 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
10277 And it’s no longer needed now that glibc and Gnulib both have
10278 their own testing mechanisms for mktime.
10279 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
10281 mktime: fix non-EOVERFLOW errno handling
10283 mktime was not properly reporting failures when the underlying
10284 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
10285 them like EOVERFLOW failures, and set errno to EOVERFLOW.
10286 The problem could happen on non-glibc platforms, with Gnulib.
10287 * time/mktime.c (guess_time_tm): Remove, replacing with ...
10288 (tm_diff): ... this simpler function, which does not change errno.
10289 All callers changed to deal with errno themselves.
10290 (ranged_convert, __mktime_internal): Return failure immediately if
10291 the underlying function reports any failure other than EOVERFLOW.
10292 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
10295 mktime: fix bug with Y2038 DST transition
10297 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
10298 mishandle a DST transition that jumps over the Y2038 boundary.
10299 No such DST transitions are known so this is only a theoretical
10300 bug, but we might as well do things right.
10302 mktime: make more room for overflow
10304 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
10305 This is so that we can add tm_diff results to a previous guess,
10306 which will be useful in a later patch.
10308 mktime: simplify offset guess
10310 * time/mktime.c (__mktime_internal): Omit excess precision.
10312 mktime: new test for mktime failure
10314 Based on a test suggested by Albert Aribaud in:
10315 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
10316 * time/Makefile (tests): Add bug-mktime4.
10317 * time/bug-mktime4.c: New file.
10319 mktime: fix EOVERFLOW bug
10321 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
10322 Include libc-config.h, not config.h, for __set_errno.
10323 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
10325 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
10327 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
10328 __attribute_copy__ to copy attributes from name. Drop static qualifier
10329 to avoid warnings about leaf attribute not having effect on static
10332 2018-11-13 Florian Weimer <fweimer@redhat.com>
10334 * malloc/malloc.c (fastbin_push_entry): New function.
10335 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
10336 (REMOVE_FB): Remove macro.
10337 (_int_malloc): Use fastbin_pop_entry and reindent.
10338 (_int_free): Use fastbin_push_entry.
10339 (malloc_consolidate): Use atomic_exchange_acquire.
10341 2018-11-13 Joseph Myers <joseph@codesourcery.com>
10343 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
10344 alias attribute, not with strong_alias.
10346 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
10347 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
10348 with additional parameter thread.
10349 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
10350 in terms of __hidden_ver2.
10351 (hidden_tls_def): New macro.
10352 (libc_hidden_tls_def): Likewise.
10353 (rtld_hidden_tls_def): Likewise.
10354 (libm_hidden_tls_def): Likewise.
10355 (libmvec_hidden_tls_def): Likewise.
10356 (libresolv_hidden_tls_def): Likewise.
10357 (librt_hidden_tls_def): Likewise.
10358 (libdl_hidden_tls_def): Likewise.
10359 (libnss_files_hidden_tls_def): Likewise.
10360 (libnsl_hidden_tls_def): Likewise.
10361 (libnss_nisplus_hidden_tls_def): Likewise.
10362 (libutil_hidden_tls_def): Likewise.
10363 (libutil_hidden_tls_def): Likweise.
10364 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
10365 libc_hidden_tls_def.
10366 (__sim_disabled_exceptions_thread): Likewise.
10367 (__sim_round_mode_thread): Likewise.
10369 * sysdeps/sparc/sparc-ifunc.h [SHARED]
10370 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
10371 copy attributes from name.
10373 2018-11-12 Joseph Myers <joseph@codesourcery.com>
10375 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
10376 Use __attribute_copy__ to copy attributes from name.
10378 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
10379 with __hidden_ver1 call.
10380 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
10381 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
10382 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
10383 (__cosf): Do not declare here.
10384 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
10385 (__sincosf): Do not declare here.
10386 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
10387 (__sinf): Do not declare here.
10389 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
10390 (__BIG_ENDIAN): Likewise.
10391 (__BYTE_ORDER): Likewise.
10392 (strong_alias): Likewise.
10393 (_strong_alias): Likewise.
10395 2018-11-12 Florian Weimer <fweimer@redhat.com>
10397 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
10398 function. Move after the definition of in_smallbin_range. Do not
10399 use __builtin_expect for paths that lead to a noreturn function.
10400 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
10401 because it is unclear whether this is in fact an unlikely
10403 (_int_malloc, _int_free): Adjust.
10404 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
10406 * malloc/arena.c (heap_trim): Likewise.
10408 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10410 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
10411 it, free it if needed.
10412 (reauthenticate): Test and use ccwdir.
10413 (child_init_port): In non-resetids case, test and use ccwdir.
10414 (child_chdir): New nested function to set ccwdir.
10415 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
10416 * hurd/hurd/port.h (_hurd_port_move): New function.
10417 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
10418 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
10419 * hurd/Versions (_hurd_port_move): Export function.
10420 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
10422 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
10423 of dtablesize for allocating dtable_cloexec.
10425 2018-11-09 Martin Sebor <msebor@redhat.com>
10427 * include/libc-symbols.h (__attribute_copy__): Define macro unless
10428 it's already defined.
10429 (_strong_alias): Use __attribute_copy__.
10430 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
10431 * misc/sys/cdefs.h (__attribute_copy__): New macro.
10432 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
10433 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
10434 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
10435 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
10436 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
10437 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
10438 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
10439 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
10440 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
10441 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
10442 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
10443 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
10444 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
10445 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
10446 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
10447 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
10448 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
10450 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10452 * misc/tst-efgcvt.c: Include support/check.h and
10453 support/test-driver.c. Do not include test-skeleton.c.
10454 (error_count): Remove.
10455 (output_error): Replace increments to error_count with calls to
10456 support_record_failure.
10457 (output_r_error): Likewise.
10458 (special): Likewise.
10459 (do_test): Unconditionally return zero.
10460 (TEST_FUNCTION): Remove.
10462 2018-11-09 Joseph Myers <joseph@codesourcery.com>
10464 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
10466 ($(linknamespace-header-tests)): Likewise.
10468 * conform/conformtest.py: New file.
10469 * conform/conformtest.pl: Remove.
10470 * conform/GlibcConform.pm: Likewise.
10471 * conform/glibcconform.py (KEYWORDS_C90): New constant.
10472 (KEYWORDS_C99): Likewise.
10473 (KEYWORDS): Likewise.
10474 * conform/Makefile ($(conformtest-header-tests)): Use
10475 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
10476 option. Use --header instead of --headers.
10477 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
10479 * conform/data/spawn.h-data: Likewise.
10480 * conform/data/fcntl.h-data (openat): Add space after function
10482 * conform/data/wchar.h-data (wcscasecmp): Likewise.
10483 (wcscasecmp_l): Likewise.
10484 * conform/data/termios.h-data (c_cc): Add space after element
10487 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10489 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
10490 instead of manually comparing and reporting mismatching strings.
10491 * misc/tst-ldbl-error.c (do_one_test): Likewise.
10492 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
10494 2018-11-08 Joseph Myers <joseph@codesourcery.com>
10496 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
10497 __ASSUME_SOCKETCALL.
10498 * sysdeps/unix/sysv/linux/i386/kernel-features.h
10499 (__ASSUME_SOCKETCALL): Remove.
10500 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10501 (__ASSUME_SOCKETCALL): Likewise.
10502 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10503 (__ASSUME_SOCKETCALL): Likewise.
10504 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10505 (__ASSUME_SOCKETCALL): Likewise.
10506 * sysdeps/unix/sysv/linux/s390/kernel-features.h
10507 (__ASSUME_SOCKETCALL): Likewise.
10508 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10509 (__ASSUME_SOCKETCALL): Likewise.
10510 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10511 (__ASSUME_SOCKETCALL): Likewise.
10513 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
10516 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
10517 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
10518 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
10519 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
10520 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
10523 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
10526 * resolv/tst-resolv-network.c: Add test for getnetbyname.
10528 2018-11-07 Joseph Myers <joseph@codesourcery.com>
10531 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10532 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
10533 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10534 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
10536 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10538 * support/support_test_compare_string.c
10539 (support_test_compare_string): Fix printf format.
10541 2018-11-07 Florian Weimer <fweimer@redhat.com>
10543 Implement TEST_COMPARE_STRING.
10544 * support/check.h (TEST_COMPARE_STRING): Define.
10545 (support_test_compare_string): Declare.
10546 * support/Makefile (libsupport-routines): Add
10547 support_test_compare_string.
10548 (tests): Add tst-test_compare_string.
10549 * support/support_test_compare_string.c: New file.
10550 * support/tst-test_compare_string.c: Likewise.
10552 2018-11-07 Andreas Schwab <schwab@suse.de>
10555 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
10556 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
10559 2018-11-06 Joseph Myers <joseph@codesourcery.com>
10562 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10563 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
10564 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
10565 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
10568 2018-11-06 Florian Weimer <fweimer@redhat.com>
10571 * posix/Makefile (routines): Add spawn_faction_addchdir.
10572 (tests): Add tst-spawn-chdir.
10573 * posix/Versions (GLIBC_2.29): Add
10574 posix_spawn_file_actions_addchdir_np.
10575 * posix/spawn_faction_addchdir.c: New file.
10576 * posix/spawn_faction_destroy.c
10577 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
10578 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
10579 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
10581 * posix/tst-spawn-chdir.c: New file.
10582 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
10583 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
10584 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
10585 posix_spawn_file_actions_addchdir_np.
10586 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
10588 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
10590 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
10591 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
10593 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
10595 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
10597 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
10599 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
10601 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
10603 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10604 (GLIBC_2.29): Likewise.
10605 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10606 (GLIBC_2.29): Likewise.
10607 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10608 (GLIBC_2.29): Likewise.
10609 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10610 (GLIBC_2.29): Likewise.
10611 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
10613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10614 (GLIBC_2.29): Likewise.
10615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10616 (GLIBC_2.29): Likewise.
10617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10618 (GLIBC_2.29): Likewise.
10619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10620 (GLIBC_2.29): Likewise.
10621 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
10623 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
10625 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
10627 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
10628 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
10630 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
10632 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
10634 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
10637 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10639 * misc/Makefile (tests): Add tst-ldbl-error.
10640 * misc/tst-ldbl-error.c: New file.
10642 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10644 * misc/Makefile (tests): Add tst-ldbl-warn.
10645 * misc/tst-ldbl-warn.c: New file.
10647 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10649 * argp/Makefile (tests): Add tst-ldbl-argp.
10650 * argp/tst-ldbl-argp.c: New file.
10652 2018-11-05 Arjun Shankar <arjun@redhat.com>
10654 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
10655 __gconv_path_elem and call __gconv_get_path unconditionally.
10657 2018-11-05 Andreas Schwab <schwab@suse.de>
10660 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
10661 creating the first helper thread failed.
10663 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10665 * sysdeps/mach/hurd/msync.c: New file.
10667 2018-11-02 Florian Weimer <fweimer@redhat.com>
10669 * support/shell-container.c (copy_func): Call
10670 support_copy_file_range instead of copy_file_range to support
10671 cross-device copies.
10673 2018-11-02 Florian Weimer <fweimer@redhat.com>
10675 * support/test-container.c: Include <libc-pointer-arith.h> for
10678 2018-11-01 Zong Li <zong@andestech.com>
10680 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
10681 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
10682 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
10683 (__FP_FRAC_SET_8): Add implementation for RV32 use.
10685 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
10686 variable to avoid overlap arguments.
10688 2018-11-01 Joseph Myers <joseph@codesourcery.com>
10690 * posix/bug-regex22.c (main): Use puts with distinct error
10691 messages for unexpected success of re_compile_pattern, not printf
10692 with NULL argument to %s.
10694 * stdio-common/bug22.c: Include <libc-diag.h>.
10695 (do_test): Disable -Wformat-overflow= warnings around fprintf
10696 calls outputting more than INT_MAX characters.
10697 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
10698 around printf call with NULL %s argument.
10701 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
10702 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
10704 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10705 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10706 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10707 (__ASSUME_SENDTO_SYSCALL): Likewise.
10708 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10709 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
10711 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10712 (__ASSUME_CONNECT_SYSCALL): Likewise.
10713 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10714 (__ASSUME_RECVFROM_SYSCALL): Likewise.
10715 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
10717 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
10719 [__LINUX_KERNEL_VERSION >= 0x040400]
10720 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10721 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
10723 (listen): Likewise.
10724 (setsockopt): Likewise.
10726 2018-11-01 Fredrik Noring <noring@nocrew.org>
10728 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
10729 with the ISA override.
10731 2018-10-31 Rafael Ávila de Espíndola <rafael@espindo.la>
10733 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
10736 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10738 * manual/errno.texi (EIEIO): Document how translators should
10739 translate the error message.
10740 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
10741 printing trailing whitespaces refused by git.
10742 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
10743 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10744 * hurd/Makefile (user-interfaces): Add pci.
10746 2018-10-30 Joseph Myers <joseph@codesourcery.com>
10748 * conform/linknamespace.py: New file.
10749 * conform/linknamespace.pl: Remove file.
10750 * conform/Makefile ($(linknamespace-header-tests)): Use
10751 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
10754 2018-10-30 Florian Weimer <fweimer@redhat.com>
10756 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
10759 2018-10-30 Florian Weimer <fweimer@redhat.com>
10761 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
10763 2018-10-30 Florian Weimer <fweimer@redhat.com>
10765 * stdlib/tst-strtod-overflow.c (do_test): Switch to
10766 support_blob_repeat.
10768 2018-10-30 Florian Weimer <fweimer@redhat.com>
10770 Avoid spurious test failures in stdlib/test-bz22786.
10771 * support/Makefile (libsupport-routines): Add blob_repeat.
10772 (tests): Add tst-support_blob_repeat.
10773 * support/blob_repeat.h: New file.
10774 * support/blob_repeat.c: Likewise.
10775 * support/tst-support_blob_repeat.c: Likewise.
10776 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
10777 support_blob_repeat_allocate.
10779 2018-10-30 Andreas Schwab <schwab@suse.de>
10782 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
10783 Don't use tail call.
10784 * elf/tst-unwind-main.c: New file.
10785 * elf/Makefile (tests): Add tst-unwind-main.
10786 (CFLAGS-tst-unwind-main.c): Define.
10788 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
10791 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
10792 n_cs_precedes to 0.
10793 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
10795 2018-10-29 Joseph Myers <joseph@codesourcery.com>
10797 * conform/glibcconform.py: Do not import shutil.
10798 (list_exported_functions): Use tempfile.TemporaryDirectory instead
10801 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
10802 critic_missing for versions before 3.4.
10803 * configure: Regenerated.
10804 * manual/install.texi (Tools for Compilation): Document
10805 requirement for Python to build glibc.
10806 * INSTALL: Regenerated.
10807 * Rules [PYTHON]: Make code unconditional.
10808 * benchtests/Makefile [PYTHON]: Likewise.
10809 * conform/Makefile [PYTHON]: Likewise.
10810 * manual/Makefile [PYTHON]: Likewise.
10811 * math/Makefile [PYTHON]: Likewise.
10813 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10815 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
10816 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
10817 answer to interrupt_operation, return EIEIO instead of EINTR.
10818 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
10819 _hurd_intr_rpc_msg_about_to global point to start of controlled
10820 assembly snippet. Make it check canceled flag.
10821 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
10822 the _hurd_intr_rpc_msg_about_to point.
10823 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
10824 issue, remove cancel flag check.
10826 2018-10-26 Joseph Myers <joseph@codesourcery.com>
10828 * scripts/build-many-glibcs.py: Remove compatibility for missing
10829 os.cpu_count and re.fullmatch.
10831 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
10834 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
10835 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
10836 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
10838 2018-10-25 Joseph Myers <joseph@codesourcery.com>
10840 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
10843 2018-10-25 Florian Weimer <fweimer@redhat.com>
10847 XFAIL siginfo_t si_band conform test on sparc64.
10848 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
10849 (__SI_BAND_TYPE): Only override long int default type on sparc64.
10850 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10851 (conformtest-xfail-conds): Add sparc64-linux.
10852 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
10854 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
10856 2018-10-25 Joseph Myers <joseph@codesourcery.com>
10858 * elf/elf.h (NT_MIPS_DSP): New macro.
10859 (NT_MIPS_FP_MODE): Likewise.
10861 2018-10-25 Zong Li <zong@andestech.com>
10863 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
10864 name by adding the file extension (.so).
10866 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
10868 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
10869 (test-xfail-ISO11/threads.h/linknamespace,
10870 test-xfail-ISO11/threads.h/conform): Add.
10872 2018-10-24 Joseph Myers <joseph@codesourcery.com>
10874 * math/gen-libm-test.py: Import os.
10875 (ALL_FLOATS_MANUAL): New constant.
10876 (ALL_FLOATS_SUFFIX): Likewise.
10877 (Ulps.all_functions): New function.
10878 (real_all_ulps): Likewise.
10879 (generate_err_table_sub): Likewise.
10880 (generate_err_table): Likewise.
10881 (main): Handle -s and -m options.
10882 * manual/libm-err-tab.pl: Remove.
10883 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
10884 instead of libm-err-tab.pl.
10885 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
10887 * manual/install.texi (Tools for Compilation): Document
10888 requirement for Python to build manual.
10889 * INSTALL: Regenerated.
10891 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
10893 * bits/time64.h: New file.
10894 * include/time.h: Replace internal_time_t with __time64_t.
10895 * posix/bits/types (__time64_t): Add.
10896 * stdlib/Makefile: Add bits/time64.h to includes.
10897 * time/tzfile.c: Replace internal_time_t with __time64_t.
10899 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10901 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
10902 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
10903 __posix_spawn_file_actions_init, __posix_spawnattr_init,
10904 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
10905 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
10907 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
10908 * posix/spawn_faction_addclose.c
10909 (__posix_spawn_file_actions_addclose): Add hidden definition.
10910 * posix/spawn_faction_adddup2.c
10911 (__posix_spawn_file_actions_adddup2): Likewise.
10912 * posix/spawn_faction_destroy.c
10913 (__posix_spawn_file_actions_destroy): Likewise.
10914 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
10916 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
10917 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
10918 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
10920 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
10921 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
10924 2018-10-24 Andreas Schwab <schwab@suse.de>
10927 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
10929 * elf/cache.c (print_cache): Likewise.
10931 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
10933 * bits/timesize.h: New file.
10934 * stdlib/Makefile (headers): Add bits/timesize.h.
10935 * sysdeps/unix/sysv/linux/bits/msq-pad.h
10936 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
10937 * sysdeps/unix/sysv/linux/bits/sem-pad.h
10938 (__SEM_PAD_AFTER_TIME): Likewise.
10939 * sysdeps/unix/sysv/linux/bits/shm-pad.h
10940 (__SHM_PAD_AFTER_TIME): Likewise.
10941 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
10942 (__MSQ_PAD_BEFORE_TIME): Likewise.
10943 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
10944 (__SEM_PAD_BEFORE_TIME): Likewise.
10945 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
10946 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
10947 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
10948 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
10949 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
10950 (__MSQ_PAD_BEFORE_TIME): Likewise.
10951 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
10952 (__SEM_PAD_BEFORE_TIME): Likewise.
10953 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
10954 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
10955 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
10956 (__MSQ_PAD_BEFORE_TIME): Likewise.
10957 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
10958 (__SEM_PAD_BEFORE_TIME): Likewise.
10959 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
10960 (__SHM_PAD_BEFORE_TIME): Likewise.
10961 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
10962 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
10963 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
10965 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
10967 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
10968 USE_RDTSCP is defined.
10969 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
10970 USE_RDTSCP is defined.
10972 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10974 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
10978 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
10979 independently of other flags.
10981 2018-10-23 Florian Weimer <fweimer@redhat.com>
10983 * time/tst-mktime2.c (N_STRINGS): Remove.
10984 (set_timezone): New function.
10985 (spring_forward_gap): Call it. Use FAIL_EXIT1.
10986 (mktime_test1): Report localtime failure and check errno value.
10988 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
10989 (do_test): Remove alarm call. Use set_timezone and array_length.
10991 2018-10-23 Andreas Schwab <schwab@suse.de>
10993 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
10994 (__start_context): Use END instead of PSEUDO_END.
10996 2018-10-22 Joseph Myers <joseph@codesourcery.com>
10998 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11001 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11005 * wcsmbs/c32rtomb.c: New file.
11006 * wcsmbs/mbrtoc32.c: Likewise.
11007 * wcsmbs/tst-c32-state.c: Likewise.
11008 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
11009 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
11010 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
11011 (tests): Add tst-c32-state.
11012 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
11015 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
11017 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
11018 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
11020 2018-10-19 Joseph Myers <joseph@codesourcery.com>
11023 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
11024 pair and return 0 in that case, and use saved character to
11025 interpret following character.
11026 * wcsmbs/tst-c16-surrogate.c: New file.
11027 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
11028 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
11029 Depend on $(gen-locales)
11031 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
11034 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
11035 (struct siginfo_t): Use correct type for si_band.
11037 2018-10-19 Florian Weimer <fweimer@redhat.com>
11040 * resource/bits/types/struct_rusage.h (struct rusage): Update
11041 comment on struct. Remove extraneous field comment.
11043 2018-10-18 David S. Miller <davem@davemloft.net>
11045 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
11046 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
11047 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
11048 sysdep_routines in subdir elf.
11049 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
11050 version for __vdso_clock_gettime.
11051 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
11053 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
11054 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11056 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
11058 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
11060 * sysdeps/i386/init-arch.h: Removed.
11061 * sysdeps/i386/i586/init-arch.h: Likewise.
11062 * sysdeps/i386/i686/init-arch.h: Likewise.
11063 * sysdeps/i386/i686/hp-timing.h: Likewise.
11064 * sysdeps/x86_64/hp-timing.h: Likewise.
11065 * sysdeps/i386/isa.h: New file.
11066 * sysdeps/i386/i586/isa.h: Likewise.
11067 * sysdeps/i386/i686/isa.h: Likewise.
11068 * sysdeps/x86_64/isa.h: Likewise.
11069 * sysdeps/x86/hp-timing.h: New file.
11070 * sysdeps/x86/init-arch.h: Include <isa.h>.
11072 2018-10-17 Joseph Myers <joseph@codesourcery.com>
11074 * math/libm-test-pow.inc (pow_test_data): Do not allow
11075 divide-by-zero exception for pow(+/- 0, -Inf).
11077 2018-10-17 Zack Weinberg <zackw@panix.com>
11079 * manual/job.texi (Job Control is Optional): Remove node, as
11080 job control has not been optional in quite some time.
11081 (Job Control): Mention briefly that systems older than
11082 POSIX.1-2001 might not support job control.
11083 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
11084 defined on systems conforming to POSIX.1-2001.
11086 2018-10-17 Arjun Shankar <arjun@redhat.com>
11089 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
11091 * (__gconv_read_conf): Mark function static.
11092 * (once): New static variable.
11093 * (__gconv_load_conf): New function.
11094 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
11095 * iconv/gconv_db.c (once): Remove static variable.
11096 * (__gconv_compare_alias): Use __gconv_load_conf instead of
11098 * (__gconv_find_transform): Likewise.
11099 * iconv/tst-iconv-mt.c: New test.
11100 * iconv/Makefile: Add tst-iconv_mt.
11102 2018-10-17 Joseph Myers <joseph@codesourcery.com>
11104 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11106 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
11107 (shmatt_t): Define as __syscall_ulong_t.
11108 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
11109 and [__SHM_PAD_AFTER_TIME].
11110 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
11111 Define shm_segsz and associated padding based on
11112 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
11113 Use __syscall_ulong_t instead of unsigned long int.
11114 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
11116 [__USE_MISC] (struct shm_info): Likewise.
11117 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
11118 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
11119 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
11120 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
11121 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
11122 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
11123 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
11124 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
11125 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11126 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11127 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11129 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11131 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
11132 (SHMLBA): Remove macro.
11133 (__getpagesize): Remove function declaration.
11134 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
11136 (SHMLBA): Remove macro.
11137 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
11139 (SHMLBA): Remove macro.
11140 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
11142 (SHMLBA): Remove macro.
11143 (__getpagesize): Remove function declaration.
11144 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
11146 (SHMLBA): Remove macro.
11147 (__getshmlba): Remove function declaration.
11148 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
11149 (SHMLBA): Remove macro.
11150 (__getpagesize): Remove function declaration.
11151 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
11152 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
11153 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11154 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
11155 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
11156 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
11157 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
11158 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
11159 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
11160 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
11162 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
11165 * nptl/tst-mutex10.c: New File.
11166 * nptl/Makefile (tests): Add tst-mutex10.
11167 (tst-mutex10-ENV): New variable.
11168 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
11169 Ensure that elision path is used if elision is available.
11170 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
11172 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
11174 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
11175 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
11176 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
11177 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
11179 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
11180 (__pthread_mutex_cond_lock_adjust): Likewise.
11181 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11183 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
11184 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11185 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11186 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
11188 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
11189 Use atomic_load_relaxed and atomic_store_relaxed.
11190 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
11191 Use atomic_store_relaxed.
11193 2018-10-17 Andreas Schwab <schwab@suse.de>
11195 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
11196 * crypt/badsalttest.c (TIMEOUT): Likewise.
11197 * crypt/sha256c-test.c (TIMEOUT): Likewise.
11198 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
11199 * io/test-lfs.c (TIMEOUT): Likewise.
11200 * libio/tst-atime.c (TIMEOUT): Likewise.
11201 * localedata/tst-leaks.c (TIMEOUT): Likewise.
11202 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
11203 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
11204 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
11205 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
11206 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
11207 * nptl/tst-cond11.c (TIMEOUT): Likewise.
11208 * nptl/tst-cond14.c (TIMEOUT): Likewise.
11209 * nptl/tst-cond15.c (TIMEOUT): Likewise.
11210 * nptl/tst-cond24.c (TIMEOUT): Likewise.
11211 * nptl/tst-cond25.c (TIMEOUT): Likewise.
11212 * nptl/tst-kill2.c (TIMEOUT): Likewise.
11213 * nptl/tst-kill3.c (TIMEOUT): Likewise.
11214 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
11215 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
11216 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
11217 * nptl/tst-once2.c (TIMEOUT): Likewise.
11218 * nptl/tst-once3.c (TIMEOUT): Likewise.
11219 * nptl/tst-once4.c (TIMEOUT): Likewise.
11220 * nptl/tst-robust8.c (TIMEOUT): Likewise.
11221 * nptl/tst-robust9.c (TIMEOUT): Likewise.
11222 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
11223 * nptl/tst-sem14.c (TIMEOUT): Likewise.
11224 * nptl/tst-sem6.c (TIMEOUT): Likewise.
11225 * nptl/tst-signal3.c (TIMEOUT): Likewise.
11226 * nptl/tst-spin4.c (TIMEOUT): Likewise.
11227 * nptl/tst-tls3.c (TIMEOUT): Likewise.
11228 * nptl/tst-tls4.c (TIMEOUT): Likewise.
11229 * posix/tst-chmod.c (TIMEOUT): Likewise.
11230 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
11231 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
11232 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
11233 * posix/tst-regex2.c (TIMEOUT): Likewise.
11234 * posix/tst-waitid.c (TIMEOUT): Likewise.
11235 * rt/tst-aio.c (TIMEOUT): Likewise.
11236 * rt/tst-aio10.c (TIMEOUT): Likewise.
11237 * rt/tst-aio4.c (TIMEOUT): Likewise.
11238 * rt/tst-aio5.c (TIMEOUT): Likewise.
11239 * rt/tst-aio6.c (TIMEOUT): Likewise.
11240 * rt/tst-aio64.c (TIMEOUT): Likewise.
11241 * rt/tst-aio7.c (TIMEOUT): Likewise.
11242 * rt/tst-aio9.c (TIMEOUT): Likewise.
11243 * rt/tst-clock.c (TIMEOUT): Likewise.
11244 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
11245 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
11246 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
11247 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
11248 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
11249 * rt/tst-timer4.c (TIMEOUT): Likewise.
11250 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
11251 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
11252 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
11253 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
11254 * time/tst-ftime.c (TIMEOUT): Likewise.
11255 * timezone/tst-tzset.c (TIMEOUT): Likewise.
11257 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
11259 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
11260 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
11263 2018-10-15 Joseph Myers <joseph@codesourcery.com>
11265 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11267 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
11268 instead of <bits/wordsize.h>.
11269 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
11270 and [__SEM_PAD_AFTER_TIME].
11271 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
11272 __syscall_ulong_t instead of unsigned long int.
11273 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
11274 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
11275 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
11276 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
11277 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
11278 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
11279 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
11280 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
11281 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11282 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11283 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11285 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
11287 regex: simplify by using intprops.h
11289 * posix/regex_internal.h [_LIBC]: Include intprops.h.
11290 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
11291 intprops.h defines them.
11293 regex: __builtin_expect → __glibc_unlikely
11295 This refactoring was prompted by a problem when the regex code is
11296 used as part of Gnulib and when the builder’s compiler does not grok
11297 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
11298 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
11299 Although this refactoring does not fix the problem directly,
11300 we might as well have Gawk use the now-preferred glibc style for when
11301 __builtin_expect is unavailable.
11302 * posix/regex_internal.h (BE): Remove.
11303 All uses replaced by __glibc_unlikely or __glibc_likely.
11305 2018-10-11 Joseph Myers <joseph@codesourcery.com>
11307 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11309 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
11310 instead of <bits/wordsize.h>.
11311 (msgqnum_t): Define as __syscall_ulong_t.
11312 (msglen_t): Likewise.
11313 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
11314 and [__MSQ_PAD_AFTER_TIME].
11315 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
11316 __syscall_ulong_t instead of unsigned long int.
11317 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
11318 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
11319 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
11320 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
11321 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
11322 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
11323 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
11324 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
11325 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11326 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11327 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11329 2018-10-10 Joseph Myers <joseph@codesourcery.com>
11331 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
11332 (struct shmid_ds): Condition padding after time fields on
11333 [__WORDSIZE == 32].
11334 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
11335 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
11336 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11338 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
11339 (struct semid_ds): Condition padding after time fields on
11340 [__WORDSIZE == 32].
11341 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
11342 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
11343 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
11344 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11346 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
11347 (struct msqid_ds): Condition padding after time fields on
11348 [__WORDSIZE == 32].
11349 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
11350 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
11351 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
11352 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11354 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11356 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
11358 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11360 * libio/tst-readline.c (TIMEOUT): Define.
11362 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
11364 mktime fix for Gnulib + coreutils
11366 This fix affects only Gnulib. Problem discovered when
11367 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
11369 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
11370 Do not define since it is not used. Defining an unused static
11371 function prompts a warning from GCC when Coreutils is configured
11372 with --enable-gcc-warnings.
11374 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11376 * benchtests/scripts/compare_bench.py (main): set float type on
11377 threshold argument.
11379 2018-10-08 Rafał Lużyński <digitalfreak@lingonborough.com>
11382 * localedata/locales/kl_GL (mon): Update, the relative case.
11383 (alt_mon): Add, fill with month names in the nominative case.
11384 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
11385 (d_fmt): Set to "%b %d %Y".
11387 2018-10-04 Joseph Myers <joseph@codesourcery.com>
11389 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
11390 <bits/mman-linux.h>.
11391 (PROT_READ): Don't define here.
11392 (PROT_WRITE): Likewise.
11393 (PROT_EXEC): Likewise.
11394 (PROT_NONE): Likewise.
11395 (PROT_GROWSDOWN): Likewise.
11396 (PROT_GROWSUP): Likewise.
11397 (MAP_SHARED): Likewise.
11398 (MAP_PRIVATE): Likewise.
11399 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
11400 [__USE_MISC] (MAP_FILE): Likewise.
11401 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
11402 [__USE_MISC] (MAP_ANON): Likewise.
11403 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
11404 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
11405 (MCL_CURRENT): Likewise.
11406 (MCL_FUTURE): Likewise.
11407 (MCL_ONFAULT): Likewise.
11408 [__USE_MISC] (MADV_NORMAL): Likewise.
11409 [__USE_MISC] (MADV_RANDOM): Likewise.
11410 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
11411 [__USE_MISC] (MADV_WILLNEED): Likewise.
11412 [__USE_MISC] (MADV_DONTNEED): Likewise.
11413 [__USE_MISC] (MADV_FREE): Likewise.
11414 [__USE_MISC] (MADV_REMOVE): Likewise.
11415 [__USE_MISC] (MADV_DONTFORK): Likewise.
11416 [__USE_MISC] (MADV_DOFORK): Likewise.
11417 [__USE_MISC] (MADV_HWPOISON): Likewise.
11418 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
11419 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
11420 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
11421 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
11422 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
11423 (__MAP_ANONYMOUS): New macro.
11424 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
11425 <bits/mman-linux.h> inclusion.
11426 (MAP_FIXED): Likewise.
11427 (MS_SYNC): Likewise.
11428 (MS_ASYNC): Likewise.
11429 (MS_INVALIDATE): Likewise.
11430 [__USE_MISC] (MADV_MERGEABLE): Likewise.
11431 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
11432 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
11433 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
11434 [__USE_MISC] (MADV_DONTDUMP): Likewise.
11435 [__USE_MISC] (MADV_DODUMP): Likewise.
11436 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
11437 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
11440 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
11442 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
11443 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
11444 Add test-nldbl-redirect.
11445 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
11446 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
11447 $(objpfx)libnldbl_nonshared.a.
11449 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
11451 * support/support.h (support_objdir_elf_ldso): New variable.
11452 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
11453 * support/Makefile (CFLAGS-support_paths.c): Add definition
11454 for OBJDIR_ELF_LDSO_PATH.
11455 * support/test-container.c (main): Search for the ld.so
11456 which is also used by the testsuite.
11458 2018-10-02 Rafał Lużyński <digitalfreak@lingonborough.com>
11461 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
11462 should be "sap" rather than "sab".
11463 (day): Fix spelling of Sunday, should be "sapaat" rather than
11466 2018-10-02 Joseph Myers <joseph@codesourcery.com>
11468 * math/libm-test-fma.inc (fma_test_data): Add more tests.
11470 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
11473 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
11474 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
11475 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
11477 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11479 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
11481 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
11483 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
11485 (CFLAGS-elision-unlock.c): Likewise.
11486 (CFLAGS-elision-timed.c): Likewise.
11487 (CFLAGS-elision-trylock.c): Likewise.
11488 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
11490 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11493 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
11494 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
11495 new fd_to_filename interface.
11496 * libio/freopen64.c (freopen64): Likewise.
11497 * libio/tst-memstream.h: New file.
11498 * libio/tst-memstream4.c: Likewise.
11499 * libio/tst-wmemstream4.c: Likewise.
11500 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
11501 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
11502 and remove internal dynamic allocation.
11504 2018-10-01 Joseph Myers <joseph@codesourcery.com>
11506 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
11507 (MREMAP_MAYMOVE): Do not define here.
11508 [__USE_GNU] (MREMAP_FIXED): Likewise.
11509 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
11510 (MREMAP_MAYMOVE): Define here instead.
11511 [__USE_GNU] (MREMAP_FIXED): Likewise.
11512 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
11513 (MREMAP_MAYMOVE): Remove.
11514 [__USE_GNU] (MREMAP_FIXED): Likewise.
11516 2018-09-28 Joseph Myers <joseph@codesourcery.com>
11518 * math/fromfp.h: Do not include <math_private.h>.
11519 * math/s_cacosh_template.c: Likewise.
11520 * math/s_casin_template.c: Likewise.
11521 * math/s_casinh_template.c: Likewise.
11522 * math/s_ccos_template.c: Likewise.
11523 * math/s_cproj_template.c: Likewise.
11524 * math/s_fdim_template.c: Likewise.
11525 * math/s_fmaxmag_template.c: Likewise.
11526 * math/s_fminmag_template.c: Likewise.
11527 * math/s_iseqsig_template.c: Likewise.
11528 * math/s_ldexp_template.c: Likewise.
11529 * math/s_nextdown_template.c: Likewise.
11530 * math/w_log1p_template.c: Likewise.
11531 * math/w_scalbln_template.c: Likewise.
11532 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
11533 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
11534 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
11535 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
11536 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
11537 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
11538 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
11539 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
11540 * sysdeps/i386/fpu/s_atanl.c: Likewise.
11541 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
11542 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
11543 * sysdeps/i386/fpu/s_fdim.c: Likewise.
11544 * sysdeps/i386/fpu/s_logbl.c: Likewise.
11545 * sysdeps/i386/fpu/s_rintl.c: Likewise.
11546 * sysdeps/i386/fpu/s_significandl.c: Likewise.
11547 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
11548 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
11549 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11550 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11551 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11552 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11553 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11554 * sysdeps/ieee754/k_standardf.c: Likewise.
11555 * sysdeps/ieee754/k_standardl.c: Likewise.
11556 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11557 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
11558 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
11559 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
11560 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
11561 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
11562 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11563 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11564 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11565 * sysdeps/ieee754/s_signgam.c: Likewise.
11566 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
11567 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
11568 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
11569 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
11570 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
11571 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
11572 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
11573 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
11574 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
11575 * sysdeps/riscv/rvd/s_finite.c: Likewise.
11576 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
11577 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
11578 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
11579 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
11580 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
11581 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
11582 * sysdeps/riscv/rvf/fegetround.c: Likewise.
11583 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
11584 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
11585 * sysdeps/riscv/rvf/fesetround.c: Likewise.
11586 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
11587 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
11588 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
11589 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
11590 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
11591 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
11592 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
11593 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
11594 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
11595 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
11596 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
11597 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
11598 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
11599 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
11600 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
11601 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
11602 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
11604 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
11606 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
11609 * sysdeps/i386/dl-cet.c: Removed.
11610 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
11612 (_dl_runtime_profile_shstk): Likewise.
11613 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
11614 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
11616 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11619 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
11620 do_test_with_invalid_iov): New tests.
11621 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
11622 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
11623 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
11625 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
11626 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
11627 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
11629 2018-09-27 Joseph Myers <joseph@codesourcery.com>
11631 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11632 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
11633 (MATH_REDIRECT_BINARY_ARGS): New macro.
11634 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11635 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
11636 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
11638 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
11639 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11640 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
11641 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11642 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11643 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11644 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
11647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
11649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
11650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
11651 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
11652 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
11653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
11655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
11657 * sysdeps/generic/math_private_calls.h
11658 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
11659 Do not declare and define as an inline function.
11660 * math/divtc3.c (__divtc3): Use copysign functions instead of
11661 __copysign variants.
11662 * math/multc3.c (__multc3): Likewise.
11663 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
11664 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
11665 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11666 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
11668 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11669 (__ieee754_yn): Likewise.
11670 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11671 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
11672 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11673 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11674 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
11676 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
11677 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
11679 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11681 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11683 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11684 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11686 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11687 (__ieee754_ynf): Likewise.
11688 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
11689 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11690 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
11691 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11693 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11694 (__ieee754_ynl): Likewise.
11695 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11696 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11697 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11699 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11700 (__ieee754_ynl): Likewise.
11701 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
11702 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11703 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11704 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11706 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11708 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
11709 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11710 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
11711 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
11712 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11714 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11715 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
11716 using MATH_REDIRECT.
11717 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
11719 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
11720 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11721 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11722 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
11723 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11724 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11725 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
11727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
11728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
11729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
11730 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
11731 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
11732 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11733 (round): Redirect to __round.
11734 (__roundl): Call round instead of __round.
11735 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
11737 [_ARCH_PWR5X] (__roundf): Likewise.
11738 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
11739 functions instead of __round variants.
11740 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11741 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
11743 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
11745 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
11747 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
11748 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
11750 (__ieee754_expl): Call roundl instead of __roundl.
11752 2018-09-27 Andreas Schwab <schwab@suse.de>
11755 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
11756 (do_test): Make st1 static.
11758 2018-09-26 Andreas Schwab <schwab@suse.de>
11761 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
11762 * elf/Makefile (tests): Add tst-unwind-ctor.
11763 (modules-names): Add tst-unwind-ctor-lib.
11764 ($(objpfx)tst-unwind-ctor): Depend on
11765 $(objpfx)tst-unwind-ctor-lib.so.
11767 2018-09-26 Joseph Myers <joseph@codesourcery.com>
11769 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
11770 file. Most contents moved from ....
11771 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
11772 and include <bits/mman-map-flags-generic.h>.
11773 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11774 (sysdep_headers): Add bits/mman-map-flags-generic.h.
11775 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
11776 <bits/mman-map-flags-generic.h>.
11777 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
11778 macros defined in <bits/mman-map-flags-generic.h>.
11779 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
11780 <bits/mman-map-flags-generic.h>.
11781 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
11782 defined in <bits/mman-map-flags-generic.h>.
11784 2018-09-26 Andreas Schwab <schwab@suse.de>
11786 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
11789 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
11790 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11791 Fangrui Song <maskray@google.com>
11794 * config.make.in (have-textrel_ifunc): New define.
11795 * configure.ac: Add check if linker supports textrel relocation with
11797 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
11799 (CFLAGS-tst-ifunc-textrel.c): New rule.
11800 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
11801 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
11802 * elf/tst-ifunc-textrel.c: New file.
11804 2018-09-25 Joseph Myers <joseph@codesourcery.com>
11806 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
11807 <bits/procfs-prregset.h>.
11808 (prgregset_t): Define using __prgregset_t.
11809 (prfpregset_t): Define using __prfpregset_t.
11810 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11811 (sysdep_headers): Add bits/procfs-prregset.h.
11812 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
11813 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
11814 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
11815 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
11817 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
11818 <bits/procfs-id.h> and <bits/procfs-extra.h>.
11819 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
11821 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11822 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
11823 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
11824 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
11825 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
11826 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
11827 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
11828 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
11829 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
11830 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
11831 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
11832 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
11833 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
11834 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
11835 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
11836 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
11837 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
11838 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
11839 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
11840 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
11841 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
11842 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
11843 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11844 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
11846 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
11847 AArch64 version. Include <bits/procfs.h>.
11848 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11849 (sysdep_headers): Add bits/procfs.h.
11850 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
11851 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
11852 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
11853 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
11854 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
11855 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
11856 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
11857 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
11858 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
11859 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
11860 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
11861 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
11862 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
11863 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
11864 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
11865 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11866 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
11868 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11870 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
11873 2018-09-25 Arjun Shankar <arjun@redhat.com>
11875 * iconv/gconv_int.h (__gconv_path_elem): Remove.
11876 (__gconv_max_path_elem_len): Likewise.
11877 (__gconv_nmodules): Likewise.
11878 (__gconv_get_path): Likewise.
11879 (path_elem): Move to ...
11880 * iconv/gconv_conf.c: ... here.
11881 (__gconv_get_path): Mark function static.
11882 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
11883 * iconv/gconv_open.c: ... here.
11885 2018-09-24 Andreas Schwab <schwab@suse.de>
11887 * scripts/haveversions.awk: New file.
11888 * Makerules ($(common-objpfx)Versions.def)
11889 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
11890 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
11892 * Makeconfig ($(common-objpfx)Versions.def)
11893 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
11894 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
11896 ($(common-objpfx)Versions.mk): New rule. Include it.
11897 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
11898 Emit error if build-obsolete-nsl = yes.
11899 * manual/install.texi (Configuring and compiling): Describe
11900 --enable-obsolete-nsl as unavaiable after version 2.28.
11901 * INSTALL: Regenerate.
11903 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11905 * NEWS: Add note about new TLE support on powerpc64le.
11906 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
11907 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
11909 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
11910 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
11911 * sysdeps/powerpc/powerpc32/sysdep.h,
11912 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
11913 ABORT_TRANSACTION): Remove macros.
11914 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
11915 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
11916 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
11917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
11918 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11919 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
11921 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
11923 2018-09-21 Rafał Lużyński <digitalfreak@lingonborough.com>
11926 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
11927 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
11928 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
11929 which is the same as in it_IT.
11930 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
11931 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
11933 2018-09-20 Joseph Myers <joseph@codesourcery.com>
11935 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11936 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
11937 using MATH_REDIRECT.
11938 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
11940 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
11941 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11942 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
11943 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
11944 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11945 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
11947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
11948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
11949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
11950 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
11951 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
11952 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
11953 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
11954 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
11955 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
11956 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
11957 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11958 (ceil): Redirect to __ceil.
11959 (floor): Redirect to __floor.
11960 (trunc): Redirect to __trunc.
11961 (__truncl): Call trunc instead of __trunc.
11962 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
11964 [_ARCH_PWR5X] (__truncf): Likewise.
11965 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
11966 trunc functions instead of __trunc variants.
11967 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11969 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11971 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11973 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11976 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
11977 [__i586__ || __pentium__].
11978 [__i486__]: Handle explicitly.
11979 (HAS_CPUID): Define to 1 if above macros are undefined.
11980 (HAS_I586): Likewise.
11981 (HAS_I686): Likewise.
11983 2018-09-20 Florian Weimer <fweimer@redhat.com>
11985 * misc/tst-gethostid.c: New file.
11986 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
11987 (tst-gethostid): Link with -ldl.
11989 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
11991 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
11992 value from gethostbyname_r.
11994 2018-09-19 Carlos O'Donell <carlos@redhat.com>
11996 * stdlib/tst-setcontext9.c (f1): Rename to...
11998 (f1b): New function implementing lower half of f1 in alternate stack.
12000 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
12002 Fix mktime localtime offset confusion
12004 * include/time.h (__mktime_internal): The localtime offset is now
12005 of type long int instead of time_t. This is the longstanding type
12006 in glibc, and it is more than enough to represent difference
12007 between localtime and gmtime even if it is 32 bits and time_t is
12008 64. Changing it now will let us avoid an unnecessary change when
12009 time_t is widened to 64 bits on 32-bit platforms.
12010 * time/mktime-internal.h (mktime_offset_t): Now long int.
12012 Merge mktime, timegm from upstream Gnulib
12013 [BZ #23603][BZ #16346]
12014 This fixes some obscure problems with integer overflow.
12015 Although it looks scary, it is almost all a byte-for-byte copy
12016 from Gnulib, and the Gnulib code has been tested reasonably well.
12017 * include/intprops.h: New file, copied from Gnulib.
12018 * include/verify.h, time/mktime-internal.h:
12019 New tiny files, simplified from Gnulib.
12020 * time/mktime.c: Copy from Gnulib. This has the following changes:
12021 Do not include config.h if DEBUG_MKTIME is nonzero.
12022 Include stdbool.h, intprops.h, verify.h.
12023 Include string.h only if needed.
12024 Include stdlib.h on MS-Windows.
12025 Include mktime-internal.h.
12026 (DEBUG_MKTIME): Default to 0, and simplify later uses.
12027 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
12028 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
12029 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
12030 simplify later conditionals; default the others to zero. Use
12031 these conditionals to express only the code needed on the current
12032 platform. In uses of these conditionals, explicitly spell out how
12033 _LIBC affects things, so it’s easier to review from a glibc
12035 (WRAPV): Remove; no longer needed now that we have
12036 systematic overflow checking.
12037 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
12038 compartmentalize tzset issues. Move system-dependent tzsettish
12039 code here from mktime.
12040 (verify): Remove; now done by verify.h. All uses changed.
12041 (long_int): Use a more-conservative definition, to avoid
12043 (SHR): Remove, replacing with ...
12044 (shr): New function, which means we needn’t worry about side
12045 effects in args, and conversion analysis is simpler.
12046 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
12047 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
12048 (time_t_avg, time_t_add_ok): Remove.
12049 (mktime_min, mktime_max): New constants.
12050 (leapyear, isdst_differ): Use bool for booleans.
12051 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
12052 Use long_int, not time_t, for mktime differences.
12053 (long_int_avg): New function, replacing time_t_avg.
12054 INT_ADD_WRAPV replaces time_t_add_ok.
12055 (guess_time_tm): 6th arg is now long_int, not time_t const *.
12057 (convert_time): New function.
12058 (ranged_convert): Use it.
12059 (__mktime_internal): Last arg now points to mktime_offset_t, not
12060 time_t. All uses changed. This is a no-op on glibc, where
12061 mktime_offset_t is always time_t. Use int, not time_t, for UTC
12062 offset guess. Directly check for integer overflow instead of
12063 using a heuristic that works only 99.9...% of the time.
12064 Access *OFFSET only once, to avoid an unlikely race if the
12065 compiler delays a load and if this cascades into a signed integer
12067 (mktime): Move tzsettish code to my_tzset, and move
12068 localtime_offset to within mktime so that it doesn’t
12069 need a separate ifdef.
12070 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
12071 instead of localtime.
12072 * time/timegm.c: Copy from Gnulib. This has the following changes:
12073 Include mktime-internal.h.
12074 [!_LIBC]: Include config.h and time.h. Do not include
12075 timegm.h or time_r.h. Make __mktime_internal a macro,
12076 and include mktime-internal.h to get its declaration.
12077 (timegm): Temporary is now mktime_offset_t, not time_t.
12078 This affects only Gnulib.
12080 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
12083 * string/test-strstr.c (pr23637): New function.
12084 (test_main): Add tests with longer needles.
12085 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
12086 * string/strstr.c (AVAILABLE): Likewise.
12088 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12090 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
12092 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12094 * NEWS: Mention pow improvements.
12095 * math/Makefile (type-double-routines): Add e_pow_log_data.
12096 * sysdeps/generic/math_private.h (__exp1): Remove.
12097 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
12098 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
12099 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
12101 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
12102 (exp_inline): Remove.
12103 (__ieee754_exp): Only single double input is handled.
12104 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
12105 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
12106 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
12107 (__pow_log_data): Define.
12108 * sysdeps/ieee754/dbl-64/upow.h: Remove.
12109 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
12110 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
12111 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
12113 (CFLAGS-e_pow-fma4.c): Likewise.
12115 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
12117 Simplify tzfile fstat failure code
12119 * time/tzfile.c (__tzfile_read): Simplify slightly.
12121 Fix tzfile low-memory assertion failure
12123 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
12124 when registering time zone abbreviations.
12126 2018-09-18 Joseph Myers <joseph@codesourcery.com>
12128 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
12129 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
12130 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
12131 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
12132 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
12133 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
12134 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
12135 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12136 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12138 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
12140 (__ceill): Call ceil instead of __ceil.
12141 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
12143 (__floorl): Call floor instead of __floor.
12145 2018-09-17 Joseph Myers <joseph@codesourcery.com>
12147 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12148 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
12149 using MATH_REDIRECT.
12150 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
12152 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
12153 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12154 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12155 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
12156 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12157 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12158 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12159 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
12160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
12161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
12162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
12163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
12164 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12165 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12166 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
12167 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
12168 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
12169 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
12170 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
12172 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
12173 functions instead of __ceil variants.
12174 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12175 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
12177 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
12179 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12180 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
12182 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12183 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12186 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
12188 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
12189 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
12190 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
12191 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
12192 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
12193 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
12194 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
12195 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
12196 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
12197 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
12198 (ILL_BADIADDR): Remove constant.
12199 (TRAP_BRANCH): Likewise.
12200 (TRAP_HWBKPT): Likewise.
12202 2018-09-14 Joseph Myers <joseph@codesourcery.com>
12205 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
12206 Remove [_MIPS_SIM = _ABIN32] conditional case.
12207 (struct elf_prpsinfo): Likewise.
12210 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
12211 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
12212 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
12214 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
12215 elf_prpsinfo): Likewise.
12216 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
12217 elf_prpsinfo): Likewise.
12218 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
12221 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12222 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
12223 using MATH_REDIRECT.
12224 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
12226 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
12227 * sysdeps/alpha/fpu/s_rint.c: Likewise.
12228 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
12229 * sysdeps/i386/fpu/s_rintl.c: Likewise.
12230 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12231 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12232 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
12233 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12234 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12235 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12236 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
12237 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
12238 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
12239 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
12240 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
12241 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
12242 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12243 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
12244 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
12246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
12247 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
12248 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
12249 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
12250 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
12251 * sysdeps/x86_64/fpu/math_private.h: Remove file.
12252 * math/e_scalb.c (invalid_fn): Use rint functions instead of
12254 * math/e_scalbf.c (invalid_fn): Likewise.
12255 * math/e_scalbl.c (invalid_fn): Likewise.
12256 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12258 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12260 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
12261 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
12262 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12264 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12266 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12268 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
12269 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
12271 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12272 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
12274 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12275 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
12276 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12277 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
12278 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12279 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
12280 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12281 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
12282 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12283 && !NO_MATH_REDIRECT] (floor): Likewise.
12284 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
12286 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
12287 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12288 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12289 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
12290 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12291 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12292 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12293 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
12294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
12295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
12296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
12297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
12298 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12299 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12300 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
12301 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
12302 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
12303 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
12304 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
12306 [_ARCH_PWR5X] (__floorf): Likewise.
12307 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
12309 [__SSE4_1__] (__floorf): Likewise.
12310 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
12311 instead of __floor variants.
12312 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
12313 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
12314 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
12315 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
12316 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
12317 * math/w_tgamma_compat.c (__tgamma): Likewise.
12318 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
12319 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
12320 * math/w_tgammal_compat.c (__tgammal): Likewise.
12321 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
12322 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12324 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
12325 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
12326 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
12327 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12329 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12330 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
12332 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
12333 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
12335 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12336 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
12338 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12339 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12340 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
12341 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
12342 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12343 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12345 2018-09-12 Joseph Myers <joseph@codesourcery.com>
12347 * elf/Makefile (modules-names-tests): New variable.
12349 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12351 * NEWS: Mention log2 improvements.
12352 * math/Makefile (type-double-routines): Add e_log2_data.
12353 * sysdeps/i386/fpu/e_log2_data.c: New file.
12354 * sysdeps/ia64/fpu/e_log2_data.c: New file.
12355 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
12356 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
12357 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
12358 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
12359 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
12361 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12363 * NEWS: Mention log improvement.
12364 * math/Makefile (type-double-routines): Add e_log_data.
12365 * sysdeps/i386/fpu/e_log_data.c: New file.
12366 * sysdeps/ia64/fpu/e_log_data.c: New file.
12367 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
12368 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
12369 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
12370 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
12371 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
12372 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
12374 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
12375 Xuepeng Guo <xuepeng.guo@intel.com>
12378 * sysdeps/i386/start.S: Include <sysdep.h>
12379 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
12380 enabled. Add cfi_undefined (eip).
12382 2018-09-11 Joseph Myers <joseph@codesourcery.com>
12384 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
12386 (EXTRACT_WORDS64): Likewise.
12387 (INSERT_WORDS64): Likewise.
12388 (GET_FLOAT_WORD): Likewise.
12389 (SET_FLOAT_WORD): Likewise.
12391 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
12393 (Config.build_gcc): Use --disable-libsanitizer for first GCC
12394 build, but not for second build if --full-gcc. Use
12395 --enable-languages=all for second build if --full-gcc.
12396 (get_parser): Add --full-gcc option.
12397 (main): Update call to Context.
12399 2018-09-10 Rafał Lużyński <digitalfreak@lingonborough.com>
12402 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
12403 Single Quotation Mark).
12404 (thousands_sep): Likewise.
12405 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
12406 * localedata/locales/it_IT (thousands_sep): Use ".".
12407 (grouping): Use "3;3".
12409 2018-09-10 Joseph Myers <joseph@codesourcery.com>
12411 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
12412 x86_64 and i686 configs using --enable-obsolete-rpc
12413 --enable-obsolete-nsl.
12415 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
12417 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12419 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
12421 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
12422 Increment size of new_argv by one.
12424 2018-09-05 Rafał Lużyński <digitalfreak@lingonborough.com>
12427 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
12428 * localedata/locales/ar_IN (d_fmt): Likewise.
12429 * localedata/locales/bhb_IN (d_fmt): Likewise.
12430 * localedata/locales/bho_IN (d_fmt): Likewise.
12431 * localedata/locales/bn_BD (d_fmt): Likewise.
12432 * localedata/locales/bn_IN (d_fmt): Likewise.
12433 * localedata/locales/doi_IN (d_fmt): Likewise.
12434 * localedata/locales/gu_IN (d_fmt): Likewise.
12435 * localedata/locales/hi_IN (d_fmt): Likewise.
12436 * localedata/locales/hne_IN (d_fmt): Likewise.
12437 * localedata/locales/kn_IN (d_fmt): Likewise.
12438 * localedata/locales/mag_IN (d_fmt): Likewise.
12439 * localedata/locales/mai_IN (d_fmt): Likewise.
12440 * localedata/locales/mjw_IN (d_fmt): Likewise.
12441 * localedata/locales/ml_IN (d_fmt): Likewise.
12442 * localedata/locales/mni_IN (d_fmt): Likewise.
12443 * localedata/locales/mr_IN (d_fmt): Likewise.
12444 * localedata/locales/pa_IN (d_fmt): Likewise.
12445 * localedata/locales/raj_IN (d_fmt): Likewise.
12446 * localedata/locales/sat_IN (d_fmt): Likewise.
12447 * localedata/locales/sd_IN (d_fmt): Likewise.
12448 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
12449 * localedata/locales/ta_IN (d_fmt): Likewise.
12450 * localedata/locales/ta_LK (d_fmt): Likewise.
12451 * localedata/locales/tcy_IN (d_fmt): Likewise.
12452 * localedata/locales/ur_IN (d_fmt): Likewise.
12454 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
12455 * localedata/locales/ks_IN (d_fmt): Likewise.
12456 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
12458 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
12459 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
12460 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
12461 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
12463 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
12465 * NEWS: Mention exp and exp2 improvements.
12466 * math/Makefile (libm-support): Remove t_exp.
12467 (type-double-routines): Add math_err and e_exp_data.
12468 * sysdeps/aarch64/libm-test-ulps: Update.
12469 * sysdeps/arm/libm-test-ulps: Update.
12470 * sysdeps/i386/fpu/e_exp_data.c: New file.
12471 * sysdeps/i386/fpu/math_err.c: New file.
12472 * sysdeps/i386/fpu/t_exp.c: Remove.
12473 * sysdeps/ia64/fpu/e_exp_data.c: New file.
12474 * sysdeps/ia64/fpu/math_err.c: New file.
12475 * sysdeps/ia64/fpu/t_exp.c: Remove.
12476 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
12477 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
12478 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
12479 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
12480 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
12481 * sysdeps/ieee754/dbl-64/math_config.h: New file.
12482 * sysdeps/ieee754/dbl-64/math_err.c: New file.
12483 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
12484 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
12485 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
12486 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
12487 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
12488 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
12489 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
12490 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12491 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12493 2018-09-05 Joseph Myers <joseph@codesourcery.com>
12495 * sysdeps/alpha/fpu/math_private.h: Remove.
12497 * sysdeps/generic/math_private.h
12498 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
12499 Move this inline function ....
12500 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
12501 * include/math.h [!_ISOMAC]: To here....
12503 2018-09-04 Joseph Myers <joseph@codesourcery.com>
12505 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
12507 [!FE_HAVE_ROUNDING_MODES]: And this code ....
12508 * include/fenv.h [!_ISOMAC]: ... to here.
12509 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
12510 (feraiseexcept): Likewise.
12511 * math/fromfp.h: Do not include <fenv_private.h>.
12512 * math/s_cexp_template.c: Likewise.
12513 * math/s_csin_template.c: Likewise.
12514 * math/s_csinh_template.c: Likewise.
12515 * math/s_ctan_template.c: Likewise.
12516 * math/s_ctanh_template.c: Likewise.
12517 * math/s_iseqsig_template.c: Likewise.
12518 * math/w_acos_compat.c: Likewise.
12519 * math/w_acosf_compat.c: Likewise.
12520 * math/w_acosl_compat.c: Likewise.
12521 * math/w_asin_compat.c: Likewise.
12522 * math/w_asinf_compat.c: Likewise.
12523 * math/w_asinl_compat.c: Likewise.
12524 * math/w_j0_compat.c: Likewise.
12525 * math/w_j0f_compat.c: Likewise.
12526 * math/w_j0l_compat.c: Likewise.
12527 * math/w_j1_compat.c: Likewise.
12528 * math/w_j1f_compat.c: Likewise.
12529 * math/w_j1l_compat.c: Likewise.
12530 * math/w_jn_compat.c: Likewise.
12531 * math/w_jnf_compat.c: Likewise.
12532 * math/w_log10_compat.c: Likewise.
12533 * math/w_log10f_compat.c: Likewise.
12534 * math/w_log10l_compat.c: Likewise.
12535 * math/w_log2_compat.c: Likewise.
12536 * math/w_log2f_compat.c: Likewise.
12537 * math/w_log2l_compat.c: Likewise.
12538 * math/w_log_compat.c: Likewise.
12539 * math/w_logf_compat.c: Likewise.
12540 * math/w_logl_compat.c: Likewise.
12541 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12542 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12543 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12544 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12545 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12546 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12547 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12548 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12549 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12550 * sysdeps/ieee754/k_standardl.c: Likewise.
12551 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12552 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12553 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12554 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12555 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12556 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12557 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12558 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12559 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12560 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12561 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12562 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12563 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12564 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12565 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12566 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12567 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12568 * math/w_ilogb_template.c: Include <fenv.h> instead of
12570 * math/w_llogb_template.c: Likewise.
12571 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12572 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12574 2018-09-03 Joseph Myers <joseph@codesourcery.com>
12576 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
12577 * math/fromfp.h: Include <fenv_private.h>.
12578 * math/math-narrow.h: Likewise.
12579 * math/s_cexp_template.c: Likewise.
12580 * math/s_csin_template.c: Likewise.
12581 * math/s_csinh_template.c: Likewise.
12582 * math/s_ctan_template.c: Likewise.
12583 * math/s_ctanh_template.c: Likewise.
12584 * math/s_iseqsig_template.c: Likewise.
12585 * math/w_acos_compat.c: Likewise.
12586 * math/w_acosf_compat.c: Likewise.
12587 * math/w_acosl_compat.c: Likewise.
12588 * math/w_asin_compat.c: Likewise.
12589 * math/w_asinf_compat.c: Likewise.
12590 * math/w_asinl_compat.c: Likewise.
12591 * math/w_ilogb_template.c: Likewise.
12592 * math/w_j0_compat.c: Likewise.
12593 * math/w_j0f_compat.c: Likewise.
12594 * math/w_j0l_compat.c: Likewise.
12595 * math/w_j1_compat.c: Likewise.
12596 * math/w_j1f_compat.c: Likewise.
12597 * math/w_j1l_compat.c: Likewise.
12598 * math/w_jn_compat.c: Likewise.
12599 * math/w_jnf_compat.c: Likewise.
12600 * math/w_llogb_template.c: Likewise.
12601 * math/w_log10_compat.c: Likewise.
12602 * math/w_log10f_compat.c: Likewise.
12603 * math/w_log10l_compat.c: Likewise.
12604 * math/w_log2_compat.c: Likewise.
12605 * math/w_log2f_compat.c: Likewise.
12606 * math/w_log2l_compat.c: Likewise.
12607 * math/w_log_compat.c: Likewise.
12608 * math/w_logf_compat.c: Likewise.
12609 * math/w_logl_compat.c: Likewise.
12610 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
12611 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
12612 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
12613 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
12614 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12615 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12616 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12617 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12618 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12619 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12620 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12621 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12622 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
12623 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
12624 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12625 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12626 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12627 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12628 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12629 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12630 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12631 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12632 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12633 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12634 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12635 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12636 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12637 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
12638 * sysdeps/ieee754/float128/float128_private.h: Likewise.
12639 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12640 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12641 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12642 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12643 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12644 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12645 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12646 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12647 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12648 * sysdeps/ieee754/k_standardl.c: Likewise.
12649 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12650 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12651 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12652 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12653 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
12654 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12655 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12656 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12657 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12658 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12659 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12660 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12661 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12662 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12663 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12664 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12665 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12666 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
12667 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12668 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12669 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12670 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12671 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12672 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12673 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12674 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12675 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12676 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
12677 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
12678 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12679 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12680 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12681 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12682 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12683 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12684 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12685 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12686 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12687 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12688 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12689 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
12690 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12691 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
12692 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12693 * sysdeps/riscv/rvd/s_finite.c: Likewise.
12694 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
12695 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
12696 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
12697 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
12698 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
12699 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
12700 * sysdeps/riscv/rvf/fegetround.c: Likewise.
12701 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
12702 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
12703 * sysdeps/riscv/rvf/fesetround.c: Likewise.
12704 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
12705 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
12706 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
12707 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12708 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
12709 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12710 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
12711 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
12712 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
12713 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
12714 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
12715 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
12716 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
12717 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
12718 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12719 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12721 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12724 * include/stdio.h (__libc_fatal): Mention newline in comment.
12725 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
12726 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
12727 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12728 * nss/nsswitch.c (__nss_next2): Likewise.
12729 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
12730 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
12731 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
12732 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
12733 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
12734 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
12735 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
12736 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
12737 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
12738 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
12739 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
12740 * sysdeps/unix/sysv/linux/netlink_assert_response.c
12741 (__netlink_assert_response): Likewise.
12743 2018-08-31 Joseph Myers <joseph@codesourcery.com>
12745 * conform/glibcconform.py: New file.
12746 * conform/list-header-symbols.py: Likewise.
12747 * conform/list-header-symbols.pl: Remove.
12748 * conform/Makefile (tests-special): Only add linknamespace tests
12750 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
12752 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
12755 * support/Makefile (libsupport-routines): Add
12756 support_copy_file_range and xcopy_file_range.
12757 * support/support.h: Include <sys/types.h>.
12758 (support_copy_file_range): New prototype.
12759 * support/support_copy_file_range.c: New file. Copied and
12760 modified from io/copy_file_range-compat.c.
12761 * support/test-container.c (copy_one_file): Call xcopy_file_rang
12762 instead of copy_file_range.
12763 * support/xcopy_file_range.c: New file.
12764 * support/xunistd.h (xcopy_file_range): New prototype.
12766 2018-08-30 Carlos O'Donell <carlos@redhat.com>
12768 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
12769 xpthread_create and xpthread_join.
12771 2018-08-30 Florian Weimer <fweimer@redhat.com>
12773 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
12775 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
12777 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
12780 2018-08-29 Joseph Myers <joseph@codesourcery.com>
12782 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
12783 and minus_oflow as non-finite.
12785 2018-08-28 Joseph Myers <joseph@codesourcery.com>
12787 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
12788 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
12789 moved to fenv_private.h except for ...
12790 (TOINT_INTRINSICS): Kept in math_private.h.
12791 (roundtoint): Likewise.
12792 (converttoint): Likewise.
12793 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
12794 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
12795 * sysdeps/arm/math_private.h: Remove.
12796 * sysdeps/generic/fenv_private.h: New file. Contents moved from
12798 * sysdeps/generic/math_private.h: ... this file. Include
12799 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
12800 Include <fenv_private.h>. Remove functions and macros moved to
12802 * sysdeps/i386/fpu/math_private.h: Remove.
12803 * sysdeps/mips/math_private.h: Move to ....
12804 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
12805 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
12806 [__mips_hard_float] conditional. Include next <fenv_private.h>.
12807 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
12808 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
12809 * sysdeps/powerpc/fpu/math_private.h: Do not include
12811 * sysdeps/riscv/rvf/math_private.h: Move to ....
12812 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
12813 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
12815 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
12816 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
12817 * sysdeps/sparc/fpu/math_private.h: Remove.
12818 * sysdeps/i386/fpu/fenv_private.h: Move to ....
12819 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
12820 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
12822 * sysdeps/x86_64/fpu/math_private.h: Do not include
12823 <sysdeps/i386/fpu/fenv_private.h>.
12825 2018-08-28 Florian Weimer <fweimer@redhat.com>
12828 * posix/tst-regcomp-truncated.c: New file.
12829 * posix/Makefile (tests): Add it.
12830 (tst-regcomp-truncated.out): Depend on generated locales.
12832 2018-08-28 Florian Weimer <fweimer@redhat.com>
12834 * support/test-container.c (main): Treat unshare failure with
12835 EPERM as an unsupported test.
12837 2018-08-28 Florian Weimer <fweimer@redhat.com>
12840 nscd: Fix use-after-free in addgetnetgrentX and its callers.
12841 * nscd/netgroupcache.c
12842 (addgetnetgrentX): Add tofreep parameter. Do not free
12843 heap-allocated buffer.
12844 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
12845 (addgetnetgrentX_ignore): New function.
12846 (addgetnetgrent): Call it.
12847 (readdgetnetgrent): Likewise.
12849 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12851 * string/memmem.c: Use memcmp for first match.
12853 2018-08-28 Rafał Lużyński <digitalfreak@lingonborough.com>
12856 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
12858 2018-08-27 DJ Delorie <dj@redhat.com>
12860 * support/Makefile (others): Don't list programs explicitly as a
12861 dependency of "others".
12863 2018-08-27 Joseph Myers <joseph@codesourcery.com>
12865 * sysdeps/generic/math-tests-trap-force.h: New file.
12866 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
12867 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
12868 * sysdeps/powerpc/math-tests.h: Remove file.
12869 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
12871 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
12872 Torvald Riegel <triegel@redhat.com>
12875 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
12876 Update r to include the set wake-request flag if waiters are
12877 remaining after spinning.
12879 2018-08-27 Joseph Myers <joseph@codesourcery.com>
12881 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
12883 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
12886 regex: fix uninitialized memory access
12887 I introduced this bug into gnulib in commit
12888 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
12889 eventually it was merged into glibc. The bug was found by
12890 project-repo <bugs@feusi.co> and reported here:
12891 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
12892 Diagnosis and draft fix reported by Assaf Gordon here:
12893 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
12894 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
12895 * posix/regex_internal.c (build_wcs_upper_buffer):
12896 Fix bug when mbrtowc returns 0.
12898 2018-08-24 Carlos O'Donell <carlos@redhat.com>
12900 * po/be.po: Update translation.
12902 2018-08-24 DJ Delorie <dj@delorie.com>
12904 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
12907 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
12910 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
12911 create temporary files in source tree.
12913 2018-08-24 Joseph Myers <joseph@codesourcery.com>
12915 * sysdeps/generic/math-tests-trap.h: New file.
12916 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
12917 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
12918 * sysdeps/aarch64/math-tests.h: Remove file.
12919 * sysdeps/arm/math-tests.h: Likewise.
12920 * sysdeps/riscv/math-tests.h: Likewise.
12921 * sysdeps/aarch64/math-tests-trap.h: New file.
12922 * sysdeps/arm/math-tests-trap.h: Likewise.
12923 * sysdeps/riscv/math-tests-trap.h: Likewise.
12925 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
12927 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
12928 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
12929 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
12930 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
12931 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
12932 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
12933 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12934 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
12935 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
12936 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12937 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12938 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12939 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12940 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
12941 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
12942 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
12943 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
12944 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
12946 2018-08-23 Joseph Myers <joseph@codesourcery.com>
12948 * sysdeps/generic/math-tests-exceptions.h: New file.
12949 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
12950 (EXCEPTION_TESTS_float): Do not define here.
12951 (EXCEPTION_TESTS_double): Likewise.
12952 (EXCEPTION_TESTS_long_double): Likewise.
12953 (EXCEPTION_TESTS_float128): Likewise.
12954 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
12956 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
12957 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
12958 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
12959 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
12960 * sysdeps/mips/math-tests.h: Likewise.
12961 * sysdeps/nios2/math-tests.h: Likewise.
12962 * sysdeps/riscv/math-tests.h [!__riscv_flen]
12963 (EXCEPTION_TESTS_float): Do not define here.
12964 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
12965 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
12966 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
12968 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
12970 * NEWS: Move optimized sinf entry to 2.29.
12972 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
12974 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
12976 2018-08-22 DJ Delorie <dj@redhat.com>
12978 * Makefile (testroot.pristine): New rules to initialize the
12979 test-in-container "testroot".
12980 * Makerules (all-testsuite): Add tests-container.
12981 * Rules (tests-expected): Add tests-container.
12982 (binaries-all-tests): Likewise.
12983 (tests-container): New, run these tests in the testroot container.
12984 * support/Makefile (others): Add *-container, support_paths.c,
12985 xmkdirp, and links-dso-program.
12986 * support/links-dso-program-c.c: New.
12987 * support/links-dso-program.cc: New.
12988 * support/test-container.c: New.
12989 * support/shell-container.c: New.
12990 * support/echo-container.c: New.
12991 * support/true-container.c: New.
12992 * support/xmkdirp.c: New.
12993 * support/xsymlink.c: New.
12994 * support/support_paths.c: New.
12995 * support/support.h: Add support paths prototypes.
12996 * support/xunistd.h: Add xmkdirp () and xsymlink ().
12998 * nss/tst-nss-test3.c: Convert to test-in-container.
12999 * nss/tst-nss-test3.root/: New.
13001 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
13003 regex: port Gnulib code to z/OS POSIX environment
13004 Problem reported by Arnold Robbins in:
13005 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
13006 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
13009 2018-08-22 Joseph Myers <joseph@codesourcery.com>
13011 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
13012 (ROUNDING_TESTS_double): Remove.
13013 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
13014 (ROUNDING_TESTS_double): Remove.
13015 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
13016 (ROUNDING_TESTS_double): Remove.
13017 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
13018 (ROUNDING_TESTS_float): Remove.
13019 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
13020 (ROUNDING_TESTS_float): Remove.
13021 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
13022 (ROUNDING_TESTS_float): Remove.
13023 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
13024 !TEST_MATHVEC here.
13025 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13026 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13028 * sysdeps/generic/math-tests-rounding.h: New file.
13029 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
13030 (ROUNDING_TESTS_float): Do not define here.
13031 (ROUNDING_TESTS_double): Likewise.
13032 (ROUNDING_TESTS_long_double): Likewise.
13033 (ROUNDING_TESTS_float128): Likewise.
13034 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
13035 (ROUNDING_TESTS_double): Undefine before defining.
13036 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
13037 (ROUNDING_TESTS_double): Undefine before defining.
13038 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
13039 (ROUNDING_TESTS_double): Undefine before defining.
13040 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
13041 (ROUNDING_TESTS_float): Undefine before defining.
13042 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
13043 (ROUNDING_TESTS_float): Undefine before defining.
13044 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
13045 (ROUNDING_TESTS_float): Undefine before defining.
13046 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
13047 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
13049 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
13050 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
13051 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
13052 * sysdeps/riscv/math-tests.h [!__riscv_flen]
13053 (ROUNDING_TESTS_float): Do not define here.
13054 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
13055 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
13056 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
13057 (ROUNDING_TESTS_float): Likewise.
13058 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
13059 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
13060 * sysdeps/mips/math-tests.h [__mips_soft_float]
13061 (ROUNDING_TESTS_float): Likewise.
13062 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
13063 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
13064 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
13065 (ROUNDING_TESTS_double): Likewise.
13066 (ROUNDING_TESTS_long_double): Likewise.
13068 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
13070 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
13071 (PF_XDP): New macro.
13072 (AF_XDP): New macro.
13073 (SOL_XDP): New macro.
13075 2018-08-21 Joseph Myers <joseph@codesourcery.com>
13077 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
13078 (TCP_INQ): Likewise.
13079 (TCP_CM_INQ): Likewise.
13080 (TCP_REPAIR_ON): Likewise.
13081 (TCP_REPAIR_OFF): Likewise.
13082 (TCP_REPAIR_OFF_NO_WP): Likewise.
13083 (struct tcp_zerocopy_receive): New type.
13085 2018-08-21 Florian Weimer <fweimer@redhat.com>
13087 * support/support.h (support_descriptor_supports_holes): Declare.
13088 * support/Makefile (libsupport-routines): Add
13089 support_descriptor_supports_holes.
13090 * support/support_descriptor_supports_holes.c: New file.
13091 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
13092 and stop testing if holes are not supported.
13093 * io/test-lfs.c (do_prepare): Likewise.
13094 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
13096 * timezone/tst-tzset.c (create_tz_file): Likewise.
13097 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
13099 (do_prepare): Set it.
13100 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
13102 2018-08-21 Florian Weimer <fweimer@redhat.com>
13105 * Makeconfig (+cflags): Do not sort (and deduplicate).
13107 2018-08-21 Florian Weimer <fweimer@redhat.com>
13109 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
13110 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
13112 2018-08-20 Florian Weimer <fweimer@redhat.com>
13114 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
13115 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
13117 2018-08-20 Joseph Myers <joseph@codesourcery.com>
13119 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
13120 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
13121 and ssi_arch members.
13123 * elf/elf.c (NT_VMCOREDD): New macro.
13124 (AT_MINSIGSTKSZ): Likewise.
13126 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13128 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13129 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
13130 s_cosf-ppc64 and s_cosf-power8.
13131 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
13132 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13133 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13134 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
13136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
13137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
13138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
13139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
13140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
13141 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
13142 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
13144 2018-08-17 Florian Weimer <fweimer@redhat.com>
13146 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13148 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
13150 * malloc/malloc.c (_int_malloc): Additional binning code checks.
13152 2018-08-16 Florian Weimer <fweimer@redhat.com>
13154 * configure.ac: Add --with-nonshared-cflags option.
13155 * config.make.in (extra-nonshared-cflags): Set variable.
13156 * Makeconfig (CFLAGS-.oS): Use it.
13157 * manual/install.texi (Configuring and compiling): Document
13158 --with-nonshared-cflags.
13159 * configure: Regenerate.
13160 * INSTALL: Likewise.
13162 2018-08-16 Florian Weimer <fweimer@redhat.com>
13164 * Makeconfig (ASFLAGS): Always append required assembler flags.
13166 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
13168 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
13169 (malloc_consolidate): Likewise.
13171 2018-08-16 Pochang Chen <johnchen902@gmail.com>
13173 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
13175 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
13177 * benchtests/bench-strlen.c (do_test): Allocate buffers before
13180 * benchtests/bench-strlen.c: Print performance numbers in json.
13182 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13184 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13185 (sysdep_routines): Build strcmp-power9 and strncmp-power9
13186 only for little endian.
13187 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13188 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
13189 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
13190 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
13191 Add check for little endian.
13192 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13193 (__strcmp_power9): Add check for little endian.
13194 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
13195 Add check for little endian.
13196 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
13197 (__strncmp_power9): Add check for little endian.
13198 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
13199 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
13200 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
13201 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
13202 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
13204 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
13206 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
13207 [!STRLEN](STRLEN): Set to __strlen.
13208 * sysdeps/aarch64/multiarch/strlen.c: New file.
13209 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
13210 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
13211 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
13212 (__libc_ifunc_impl_list): Add strlen.
13213 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
13214 strlen_generic and strlen_asimd.
13216 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
13218 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
13219 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
13220 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
13222 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
13224 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
13226 2018-08-14 Florian Weimer <fweimer@redhat.com>
13229 * include/stdio.h (__vfxprintf): Declare.
13230 * stdio-common/fxprintf.c (__vfxprintf): New function.
13231 (__fxprintf): Call it.
13232 * misc/err.c (convert_and_print): Remove function.
13233 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
13234 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
13235 * misc/Makefile (tests): Add tst-warn-wide.
13236 * misc/tst-warn-wide.c: New file.
13238 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
13239 Szabolcs Nagy <szabolcs.nagy@arm.com>
13241 * NEWS: Mention sinf, cosf, sincosf.
13242 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
13243 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
13244 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
13245 constants rather than including generic sincosf.h.
13246 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
13247 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
13248 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
13249 (reduced_cos): Remove.
13250 (sinf_poly): New function.
13251 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
13253 2018-08-14 Florian Weimer <fweimer@redhat.com>
13257 * nss/nss_files/files-alias.c (get_next_alias): During :include:
13258 processing, bail out if no room, and close the stream before
13260 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
13261 (tst-nss-files-alias-leak): Link with libdl.
13262 (tst-nss-files-alias-leak.out): Depend on nss_files.
13264 * nss/tst-nss-files-alias-leak.c: New file.
13266 2018-08-14 Florian Weimer <fweimer@redhat.com>
13268 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
13269 server_user, stat_user.
13271 2018-08-13 Joseph Myers <joseph@codesourcery.com>
13273 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13275 (io_pgetevents): New syscall.
13278 * manual/install.texi (Configuring and compiling): Do not list
13279 tools used for testing pretty printers here.
13280 (Tools for Compilation): List Python, PExpect and GDB here.
13281 Update descriptions of uses of Perl and Python.
13282 * INSTALL: Regenerate.
13284 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13287 2018-08-13 Florian Weimer <fweimer@redhat.com>
13289 * misc/error.c (error): Add missing va_end call.
13290 (error_at_line): Likewise.
13292 2018-08-13 Florian Weimer <fweimer@redhat.com>
13294 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
13296 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13298 * benchtests/scripts/benchout.schema.json (properties): Add
13301 * benchtests/bench-skeleton.c (main): Add duration and
13302 iterations attributes.
13304 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
13306 regex: Gnulib unibyte RRI uses bytes not chars
13307 Adjust the non-glibc code to agree with what Gawk needs for
13308 rational range interpretation (RRI) for regular expression ranges.
13309 In unibyte locales, Gawk wants ranges to use the underlying byte
13310 rather than the character code point. This change does not affect
13312 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
13313 In unibyte locales, use the byte value rather than
13314 running it through btowc.
13316 2018-08-10 Joseph Myers <joseph@codesourcery.com>
13318 * sysdeps/generic/math-tests-snan.h: New file.
13319 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
13320 (SNAN_TESTS_float): Do not define here.
13321 (SNAN_TESTS_double): Likewise.
13322 (SNAN_TESTS_long_double): Likewise.
13323 (SNAN_TESTS_float128): Likewise.
13324 * sysdeps/i386/fpu/math-tests-snan.h: New file.
13325 * sysdeps/i386/fpu/math-tests.h: Remove file.
13326 * sysdeps/ia64/math-tests-snan.h: New file.
13327 * sysdeps/ia64/math-tests.h: Remove file.
13328 * sysdeps/x86/math-tests.h: Likewise.
13329 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
13331 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13332 Szabolcs Nagy <szabolcs.nagy@arm.com>
13334 * math/Makefile: Add s_sincosf_data.c.
13335 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
13336 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
13337 (sincosf_poly): Likewise.
13338 (reduce_small): Likewise.
13339 (reduce_large): Likewise.
13340 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
13341 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
13342 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
13343 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
13345 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13346 Szabolcs Nagy <szabolcs.nagy@arm.com>
13348 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
13349 (converttoint): Use lround.
13350 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
13351 document the semantics when TOINT_INTRINSICS is set.
13352 (converttoint): Likewise.
13353 (TOINT_RINT): Remove.
13354 (TOINT_SHIFT): Remove.
13355 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
13358 2018-08-10 Florian Weimer <fweimer@redhat.com>
13361 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
13363 (__old_getdents64): Use getdents64. Convert entries without
13365 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
13366 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
13367 tst-readdir64-compat.
13369 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13371 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
13374 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13376 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
13377 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
13378 code to s390x-mcount.h and #include it.
13379 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
13380 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
13383 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13385 * stdlib/Versions: Remove __fentry__.
13386 * sysdeps/i386/Versions: Add __fentry__.
13387 * sysdeps/x86_64/Versions: Add __fentry__.
13389 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13391 * sysdeps/s390/Makefile: Register the new tests.
13392 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
13393 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
13394 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
13395 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
13396 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
13397 * sysdeps/s390/tst-dl-runtime.c: New file.
13399 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13401 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
13404 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13406 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
13409 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13411 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
13414 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13416 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
13419 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13421 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
13422 Use symbolic offsets for stack variables.
13424 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13426 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
13427 Use symbolic offsets for stack variables.
13429 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13431 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
13432 Use symbolic offsets for stack variables.
13434 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13436 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
13437 Use symbolic offsets for stack variables.
13439 2018-08-09 Joseph Myers <joseph@codesourcery.com>
13441 * math/gen-libm-test.py: New file.
13442 * math/gen-libm-test.pl: Remove.
13443 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
13444 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
13446 ($(libm-test-c-noauto-obj)): Likewise.
13447 ($(libm-test-c-auto-obj)): Likewise.
13448 ($(libm-test-c-narrow-obj)): Likewise.
13449 (regen-ulps): Likewise.
13450 * math/README.libm-test: Update references to gen-libm-test.pl.
13451 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
13452 referencing gen-libm-test.pl.
13453 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
13454 * math/libm-test-support.c: Likewise.
13455 * math/libm-test-support.h: Likewise.
13456 * sysdeps/generic/libm-test-ulps: Likewise.
13458 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
13460 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
13463 2018-08-08 Joseph Myers <joseph@codesourcery.com>
13465 * math/libm-test-nextdown.inc (do_test): Move comment to ....
13466 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
13468 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
13470 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
13472 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
13473 __pthread_setspecific): Add hidden proto.
13474 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
13475 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
13477 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
13479 * benchtests/bench-string.h (buf1_size, buf2_size): New
13481 (init_sizes): New function.
13482 (test_init): Use it.
13483 (alloc_buf, exit_error): New functions.
13484 (alloc_bufs): Use ALLOC_BUF.
13485 (realloc_bufs): Remove.
13486 * benchtests/bench-memcmp.c (do_test): Adjust.
13487 * benchtests/bench-memset-large.c (do_test): Likewise.
13488 * benchtests/bench-memset-walk.c (do_test): Likewise.
13489 * benchtests/bench-memset.c (do_test): Likewise.
13490 * benchtests/bench-strncmp.c (do_test): Likewise.
13492 2018-08-06 Andreas Schwab <schwab@suse.de>
13494 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
13495 of CONST_THREAD_AREA.
13497 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
13499 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
13500 (STATE_SAVE_MASK): Likewise.
13501 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
13502 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
13503 (STATE_SAVE_MASK): Likewise.
13504 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
13505 instead of <cpu-features.h>.
13507 2018-08-03 DJ Delorie <dj@redhat.com>
13509 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
13510 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
13512 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
13514 2018-08-03 Joseph Myers <joseph@codesourcery.com>
13516 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
13517 after TEST_* calls.
13518 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
13519 * math/libm-test-logb.inc (logb_test_data): Likewise.
13521 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
13523 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
13524 * string/strstr.c (AVAILABLE): Likewise.
13526 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
13528 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
13530 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
13531 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
13532 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
13534 2018-08-03 Carlos O'Donell <carlos@redhat.com>
13536 * po/be.po: Update translation.
13538 * po/be.po: Update translation.
13540 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
13542 * sysdeps/x86/cpu-features-offsets.sym
13543 (rtld_global_ro_offsetof): Removed.
13544 (CPU_FEATURES_SIZE): Likewise.
13545 (CPUID_OFFSET): Likewise.
13546 (CPUID_SIZE): Likewise.
13547 (CPUID_EAX_OFFSET): Likewise.
13548 (CPUID_EBX_OFFSET): Likewise.
13549 (CPUID_ECX_OFFSET): Likewise.
13550 (CPUID_EDX_OFFSET): Likewise.
13551 (FAMILY_OFFSET): Likewise.
13552 (MODEL_OFFSET): Likewise.
13553 (FEATURE_OFFSET): Likewise.
13554 (FEATURE_SIZ): Likewise.
13555 (COMMON_CPUID_INDEX_1): Likewise.
13556 (COMMON_CPUID_INDEX_7): Likewise.
13557 (FEATURE_INDEX_1): Likewise.
13558 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
13560 2018-08-02 Carlos O'Donell <carlos@redhat.com>
13562 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
13563 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
13564 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
13565 (install-locales): Depend on install-locale-archive.
13566 (install-locale-archive): Define.
13567 (install-locale-files): Define.
13568 (build-one-locale): Define macro.
13569 * manual/install.texi (Running make install): Document.
13570 * manual/INSTALL: Regenerate.
13572 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
13574 * benchtests/scripts/compare_strings.py: Import traceback.
13575 (parse_file): Pretty-print error.
13577 * NEWS: Mention the change.
13578 * elf/dl-tunables.list: Rename tune namespace to cpu.
13579 * sysdeps/powerpc/dl-tunables.list: Likewise.
13580 * sysdeps/x86/dl-tunables.list: Likewise.
13581 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
13583 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
13584 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
13585 * manual/README.tunables: Likewise.
13586 * manual/tunables.texi: Likewise.
13587 * sysdeps/powerpc/cpu-features.c: Likewise.
13588 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
13589 (init_cpu_features): Likewise.
13590 * sysdeps/x86/cpu-features.c: Likewise.
13591 * sysdeps/x86/cpu-features.h: Likewise.
13592 * sysdeps/x86/cpu-tunables.c: Likewise.
13593 * sysdeps/x86_64/Makefile: Likewise.
13594 * sysdeps/x86/dl-cet.c: Likewise.
13596 2018-08-02 Joseph Myers <joseph@codesourcery.com>
13599 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
13600 [__mips_hard_float].
13601 (FE_UNDERFLOW): Likewise.
13602 (FE_OVERFLOW): Likewise.
13603 (FE_DIVBYZERO): Likewise.
13604 (FE_INVALID): Likewise.
13605 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
13606 (FE_TOWARDZERO): Define only if [__mips_hard_float].
13607 (FE_UPWARD): Likewise.
13608 (FE_DOWNWARD): Likewise.
13609 (__FE_UNDEFINED): Define if [!__mips_hard_float]
13610 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
13611 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
13612 [__mips_hard_float].
13613 (FP_ROUNDMODE): Likewise.
13614 (FP_RND_NEAREST): Likewise.
13615 (FP_RND_ZERO): Likewise.
13616 (FP_RND_PINF): Likewise.
13617 (FP_RND_MINF): Likewise.
13618 (FP_EX_INVALID): Likewise.
13619 (FP_EX_OVERFLOW): Likewise.
13620 (FP_EX_UNDERFLOW): Likewise.
13621 (FP_EX_DIVZERO): Likewise.
13622 (FP_EX_INEXACT): Likewise.
13623 (FP_INIT_ROUNDMODE): Likewise.
13624 * sysdeps/mips/nofpu/fesetenv.c: New file.
13625 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
13627 2018-08-01 Joseph Myers <joseph@codesourcery.com>
13629 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
13630 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
13631 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
13632 conditional on [FE_UPWARD].
13634 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
13636 regex: fix memory leak in Gnulib
13637 Problem and fix reported by Assaf Gordon in:
13638 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
13639 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
13640 range_ends members too, as they are defined in 'struct
13641 re_charset_t' even if not _LIBC. This affects only Gnulib.
13643 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
13645 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
13647 (get_common_indices): This.
13648 (init_cpu_features): Updated.
13650 2018-08-01 Joseph Myers <joseph@codesourcery.com>
13652 * sysdeps/generic/math-tests-snan-payload.h: New file.
13653 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
13654 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
13655 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
13656 * sysdeps/generic/math-tests.h: Include
13657 <math-tests-snan-payload.h>.
13658 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
13659 * sysdeps/hppa/math-tests.h: Remove file.
13660 * sysdeps/mips/math-tests.h [!__mips_nan2008]
13661 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
13662 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
13665 * sysdeps/generic/math-tests-snan-cast.h: New file.
13666 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
13667 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
13668 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
13669 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
13671 2018-08-01 Carlos O'Donell <carlos@redhat.com>
13673 * version.h (RELEASE): Set to "development".
13674 (VERSION): Set to "2.28.9000".
13675 * NEWS (2.29): New section.
13677 * version.h (RELEASE): Set to "stable".
13678 (VERSION): Set to "2.28".
13679 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
13680 * NEWS: Add the list of bugs fixed in 2.28.
13682 * po/ca.po: Update to latest version.
13683 * po/cs.po: Likewise
13684 * po/da.po: Likewise
13685 * po/el.po: Likewise
13686 * po/eo.po: Likewise
13687 * po/es.po: Likewise
13688 * po/fi.po: Likewise
13689 * po/fr.po: Likewise
13690 * po/gl.po: Likewise
13691 * po/hu.po: Likewise
13692 * po/ia.po: Likewise
13693 * po/id.po: Likewise
13694 * po/it.po: Likewise
13695 * po/ja.po: Likewise
13696 * po/ko.po: Likewise
13697 * po/lt.po: Likewise
13698 * po/nb.po: Likewise
13699 * po/nl.po: Likewise
13700 * po/pt_BR.po: Likewise
13701 * po/ru.po: Likewise
13702 * po/rw.po: Likewise
13703 * po/sk.po: Likewise
13704 * po/sl.po: Likewise
13705 * po/tr.po: Likewise
13706 * po/zh_CN.po: Likewise
13707 * po/zh_TW.po: Likewise
13709 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13711 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
13713 (init): ... before initializing libpthread.
13715 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
13716 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
13717 (__mach_setup_tls): ... new function.
13718 (mach_setup_tls): New alias.
13719 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
13720 __mach_setup_thread.
13721 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
13722 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
13723 * mach/Versions [libc] (mach_setup_tls): Add symbol.
13724 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
13726 2018-07-31 Carlos O'Donell <carlos@redhat.com>
13728 * manual/install.texi: Update versions.
13729 * INSTALL: Regenerate.
13731 * manual/contrib.texi (Contributors): Update contributions.
13733 2018-07-31 Carlos O'Donell <carlos@redhat.com>
13735 * po/be.po: Update translations.
13737 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13739 * sysdeps/sh/libm-test-ulps: Update.
13741 2018-07-30 Carlos O'Donell <carlos@redhat.com>
13743 * po/bg.po: Update translations.
13744 * po/de.po: Likewise.
13745 * po/hr.po: Likewise.
13746 * po/pt_BR.po: Likewise.
13747 * po/sv.po: Likewise.
13748 * po/vi.po: Likewise.
13750 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
13753 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
13754 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
13755 (CFLAGS-tst-cet-property-1.o): New.
13756 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
13757 ($(objpfx)tst-cet-property-2): Likewise.
13758 ($(objpfx)tst-cet-property-2.out): Likewise.
13759 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
13760 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
13761 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
13762 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
13763 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
13765 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
13768 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
13770 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
13772 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
13773 __sbrk): Do not set attribute_hidden.
13774 * sysdeps/mach/hurd/not-errno.h: New file.
13775 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
13776 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
13778 2018-07-27 Carlos O'Donell <carlos@redhat.com>
13780 * po/uk.po: Update translations.
13781 * po/cs.po: Likewise.
13782 * po/pl.po: Likewise.
13784 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
13786 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
13787 parse beyond the note end.
13789 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13791 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
13792 kernel does not support OFD locks.
13793 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
13795 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13797 * sysdeps/mach/hurd/Versions (libc): Make __access and
13798 __access_noerrno external so they can override the ld symbols.
13799 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
13800 __writev, __open64, __access_noerrno extern so they can be overrided.
13801 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
13802 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
13804 2018-07-26 Carlos O'Donell <carlos@redhat.com>
13806 * po/libc.pot: Regenerate.
13808 2018-07-26 Joseph Myers <joseph@codesourcery.com>
13810 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
13812 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
13815 * sysdeps/x86/cpu-features.c (get_extended_indices): New
13817 (init_cpu_features): Call get_extended_indices for both Intel
13819 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
13820 Remove "for AMD" comment.
13822 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
13825 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
13826 COMMON_CPUID_INDEX_80000001.
13828 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
13830 * string/tst-xbzero-opt.c (use_test_buffer): New function.
13831 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
13833 2018-07-26 Florian Weimer <fweimer@redhat.com>
13835 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
13836 aliases for symbols not in the implementation namespace.
13838 2018-07-25 Carlos O'Donell <carlos@redhat.com>
13841 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
13842 lowercase in LATIN script.
13843 * localedata/Makefile (test-input): Add en_US.UTF-8.
13844 * localedata/en_US.UTF-8.in: New file.
13845 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
13846 and restore old tests.
13847 * posix/tst-regexloc.c (do_test): Add back range expression test.
13849 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13851 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
13853 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13855 * nptl/threads.h: Move to ...
13856 * sysdeps/nptl/threads.h: ... here.
13857 * sysdeps/hurd/stdc-predef.h: New file.
13859 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13861 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
13862 tst-cet-setcontext-1 if CET is enabled.
13863 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
13864 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
13866 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13868 * include/threads.h: Move to ...
13869 * sysdeps/nptl/threads.h: ... here.
13870 * sysdeps/htl/threads.h: New file.
13871 * conform/Makefile (linknamespace-libs-ISO11): Use
13872 static-thread-library instead of linking libpthread.
13873 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
13875 2018-07-25 Florian Weimer <fweimer@redhat.com>
13877 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
13878 nanoseconds into seconds.
13879 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
13880 (do_test): Likewise.
13881 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
13882 (do_test): Likewise. Avoid nanosecond overflow and spurious
13883 timeouts due to system load.
13884 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
13885 (child_wait): Increment it.
13886 (do_test): Wait as long as necessary until all expected threads
13889 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
13890 H.J. Lu <hongjiu.lu@intel.com>
13892 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
13894 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
13895 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
13896 (__push___start_context): New.
13897 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
13899 (__getcontext): Record the current shadow stack base. Save the
13900 caller's shadow stack pointer and base.
13901 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
13902 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
13903 (__push___start_context): New prototype.
13904 (__makecontext): Call __push___start_context to allocate a new
13905 shadow stack, push __start_context onto the new stack as well
13906 as the new shadow stack.
13907 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
13909 (__setcontext): Restore the target shadow stack.
13910 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
13912 (__swapcontext): Record the current shadow stack base. Save
13913 the caller's shadow stack pointer and base. Restore the target
13915 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
13916 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
13917 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
13919 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13921 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
13922 tst-setcontext8 and tst-setcontext9.
13923 * stdlib/tst-setcontext6.c: New file.
13924 * stdlib/tst-setcontext7.c: Likewise.
13925 * stdlib/tst-setcontext8.c: Likewise.
13926 * stdlib/tst-setcontext9.c: Likewise.
13928 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13930 * stdlib/Makefile ((tests): Add tst-setcontext5.
13931 * stdlib/tst-setcontext5.c: New file.
13933 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13935 * stdlib/Makefile (tests): Add tst-setcontext4.
13936 * stdlib/tst-setcontext4.c: New file.
13938 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13940 * stdlib/Makefile (tests): Add tst-swapcontext1.
13941 * stdlib/tst-swapcontext1.c: New test.
13943 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13945 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
13946 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
13947 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
13948 and tst-cet-legacy-4c.
13949 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
13950 and tst-cet-legacy-mod-4.
13951 (CFLAGS-tst-cet-legacy-2.c): New.
13952 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
13953 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
13954 (CFLAGS-tst-cet-legacy-3.c): Likewise.
13955 (CFLAGS-tst-cet-legacy-4.c): Likewise.
13956 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
13957 ($(objpfx)tst-cet-legacy-1): Likewise.
13958 ($(objpfx)tst-cet-legacy-2): Likewise.
13959 ($(objpfx)tst-cet-legacy-2.out): Likewise.
13960 ($(objpfx)tst-cet-legacy-2a): Likewise.
13961 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
13962 ($(objpfx)tst-cet-legacy-4): Likewise.
13963 ($(objpfx)tst-cet-legacy-4.out): Likewise.
13964 ($(objpfx)tst-cet-legacy-4a): Likewise.
13965 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
13966 (tst-cet-legacy-4a-ENV): Likewise.
13967 ($(objpfx)tst-cet-legacy-4b): Likewise.
13968 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
13969 (tst-cet-legacy-4b-ENV): Likewise.
13970 ($(objpfx)tst-cet-legacy-4c): Likewise.
13971 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
13972 (tst-cet-legacy-4c-ENV): Likewise.
13973 * sysdeps/x86/tst-cet-legacy-1.c: New file.
13974 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
13975 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
13976 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
13977 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
13978 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
13979 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
13980 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
13981 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
13982 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
13983 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
13985 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13987 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
13988 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
13990 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
13991 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
13994 2018-07-25 Andreas Schwab <schwab@suse.de>
13997 * locale/weightwc.h (findidx): Handle the case where usrc is a
13998 prefix of cp but one character too short.
14000 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14002 * NEWS: Add ISO C threads addition.
14004 2018-07-24 Florian Weimer <fweimer@redhat.com>
14006 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14007 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
14008 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
14011 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14013 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
14014 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
14015 <sys/prctl.h> and <asm/prctl.h>.
14016 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
14017 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
14019 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
14020 ARCH_CET_LEGACY_BITMAP.
14021 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
14022 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
14023 * sysdeps/x86/libc-start.c: Include <startup.h>.
14025 2018-07-24 Florian Weimer <fweimer@redhat.com>
14027 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
14028 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
14030 2018-07-24 Rical Jasan <rj@2c3t.io>
14031 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14032 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
14035 * manual/debug.texi: Update adjacent chapter name.
14036 * manual/probes.texi: Likewise.
14037 * manual/threads.texi (ISO C Threads): New section.
14038 (POSIX Threads): Convert to a section.
14040 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14041 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
14044 * nptl/Makefile (tests): Add new test files.
14045 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
14046 * nptl/tst-cnd-basic.c: Likewise.
14047 * nptl/tst-cnd-broadcast.c: Likewise.
14048 * nptl/tst-cnd-timedwait.c: Likewise.
14049 * nptl/tst-mtx-basic.c: Likewise.
14050 * nptl/tst-mtx-recursive.c: Likewise.
14051 * nptl/tst-mtx-timedlock.c: Likewise.
14052 * nptl/tst-mtx-trylock.c: Likewise.
14053 * nptl/tst-thrd-basic.c: Likewise.
14054 * nptl/tst-thrd-detach.c: Likewise.
14055 * nptl/tst-thrd-sleep.c: Likewise.
14056 * nptl/tst-tss-basic.c: Likewise.
14058 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14061 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
14062 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
14064 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14065 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14066 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14067 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14068 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14069 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14070 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14071 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14072 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14073 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14074 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14075 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
14082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14083 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14084 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14085 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14086 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14087 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14088 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14089 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14090 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14091 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
14092 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
14093 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
14094 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
14095 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
14097 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14098 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14099 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14100 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14101 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14102 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14103 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14104 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14105 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14106 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14107 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14108 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14115 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14116 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14117 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14118 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14119 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14120 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14121 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14122 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14125 * conform/data/threads.h-data (thread_local): New macro.
14126 (TSS_DTOR_ITERATIONS): Likewise.
14128 (tss_dtor_t): Likewise.
14129 (tss_create): New function.
14130 (tss_get): Likewise.
14131 (tss_set): Likewise.
14132 (tss_delete): Likewise.
14133 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
14134 tss_get, and tss_set objects.
14135 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14136 * nptl/tss_create.c: New file.
14137 * nptl/tss_delete.c: Likewise.
14138 * nptl/tss_get.c: Likewise.
14139 * nptl/tss_set.c: Likewise.
14140 * sysdeps/nptl/threads.h (thread_local): New define.
14141 (TSS_DTOR_ITERATIONS): Likewise.
14142 (tss_t): New typedef.
14143 (tss_dtor_t): Likewise.
14144 (tss_create): New prototype.
14145 (tss_get): Likewise.
14146 (tss_set): Likewise.
14147 (tss_delete): Likewise.
14150 * conform/data/threads.h-data (cnd_t): New type.
14151 (cnd_init): New function.
14152 (cnd_signal): Likewise.
14153 (cnd_broadcast): Likewise.
14154 (cnd_wait): Likewise.
14155 (cnd_timedwait): Likewise.
14156 (cnd_destroy): Likewise.
14157 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
14158 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
14160 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14161 * nptl/cnd_broadcast.c: New file.
14162 * nptl/cnd_destroy.c: Likewise.
14163 * nptl/cnd_init.c: Likewise.
14164 * nptl/cnd_signal.c: Likewise.
14165 * nptl/cnd_timedwait.c: Likewise.
14166 * nptl/cnd_wait.c: Likewise.
14167 * sysdeps/nptl/threads.h (cnd_t): New type.
14168 (cnd_init): New prototype.
14169 (cnd_signa): Likewise.
14170 (cnd_broadcast): Likewise.
14171 (cnd_wait): Likewise.
14172 (cnd_timedwait): Likewise.
14173 (cnd_destroy): Likewise.
14176 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
14177 (once_flag): New type.
14178 (call_once): New function.
14179 * nptl/Makefile (libpthread-routines): Add call_once object.
14180 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
14181 * nptl/call_once.c: New file.
14182 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
14183 (once_flag): New type.
14184 (call_once): New prototype.
14187 * conform/data/threads.h-data (mtx_plain): New constant.
14188 (mtx_recursive): Likewise.
14189 (mtx_timed): Likewise.
14191 (mtx_init): New function.
14192 (mtx_lock): Likewise.
14193 (mtx_timedlock): Likewise.
14194 (mtx_trylock): Likewise.
14195 (mtx_unlock): Likewise.
14196 (mtx_destroy): Likewise.
14197 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
14198 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
14199 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
14200 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
14201 * nptl/mtx_destroy.c: New file.
14202 * nptl/mtx_init.c: Likewise.
14203 * nptl/mtx_lock.c: Likewise.
14204 * nptl/mtx_timedlock.c: Likewise.
14205 * nptl/mtx_trylock.c: Likewise.
14206 * nptl/mtx_unlock.c: Likewise.
14207 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
14208 (mtx_recursive): Likewise.
14209 (mtx_timed): Likewise.
14211 (mtx_init): New prototype.
14212 (mtx_lock): Likewise.
14213 (mtx_timedlock): Likewise.
14214 (mtx_trylock): Likewise.
14215 (mtx_unlock): Likewise.
14216 (mtx_destroy): Likewise.
14219 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
14220 (linknamespace-libs-ISO11): Add libpthread.a.
14221 * conform/data/threads.h-data: New file: add C11 thrd_* types and
14223 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
14224 * nptl/Makefile (headers): Add threads.h.
14225 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
14226 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
14228 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
14229 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
14230 thrd_join, thrd_sleep, and thrd_yield symbols.
14231 * nptl/descr.h (struct pthread): Add c11 field.
14232 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
14233 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
14234 routine with expected function prototype.
14235 (__pthread_create_2_1): Add C11 threads check based on attribute
14237 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
14238 * nptl/thrd_create.c: New file.
14239 * nptl/thrd_current.c: Likewise.
14240 * nptl/thrd_detach.c: Likewise.
14241 * nptl/thrd_equal.c: Likewise.
14242 * nptl/thrd_exit.c: Likewise.
14243 * nptl/thrd_join.c: Likewise.
14244 * nptl/thrd_priv.h: Likewise.
14245 * nptl/thrd_sleep.c: Likewise.
14246 * nptl/thrd_yield.c: Likewise.
14247 * include/threads.h: Likewise.
14249 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14251 * bits/indirect-return.h: New file.
14252 * misc/sys/cdefs.h (__glibc_has_attribute): New.
14253 * sysdeps/x86/bits/indirect-return.h: Likewise.
14254 * stdlib/Makefile (headers): Add bits/indirect-return.h.
14255 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
14256 (swapcontext): Add __INDIRECT_RETURN.
14257 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
14258 (prepare_test_buffer): Use it.
14260 2018-07-24 Andreas Schwab <schwab@suse.de>
14263 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
14264 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
14266 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14268 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
14269 Redefine if shadow stack is enabled.
14270 (SYSCALL_ERROR_LABEL): Likewise.
14271 (__vfork): Pop shadow stack and jump back to to caller directly
14272 when shadow stack is in use.
14273 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
14274 Redefine if shadow stack is enabled.
14275 (SYSCALL_ERROR_LABEL): Likewise.
14276 (__vfork): Pop shadow stack and jump back to to caller directly
14277 when shadow stack is in use.
14279 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14281 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
14284 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
14287 2018-07-20 Joseph Myers <joseph@codesourcery.com>
14289 * scripts/build-many-glibcs.py (Context.checkout): Default
14290 binutils version to 2.31 branch.
14292 2018-07-20 Zong Li <zong@andestech.com>
14294 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
14295 URL of gcc's tarball.
14297 2018-07-20 Florian Weimer <fweimer@redhat.com>
14300 * posix/regcomp.c (build_equiv_class): When comparing weights, do
14301 not compare an extra byte after the end of the weights.
14303 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14305 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
14307 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
14309 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
14310 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
14311 * scripts/check-execstack.awk: Consider `xfail' variable containing a
14312 list of libraries whose stack executability is expected.
14313 * elf/Makefile ($(objpfx)check-execstack.out): Pass
14314 $(check-execstack-xfail) to check-execstack.awk through `xfail'
14316 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
14317 libc.so libpthread.so.
14319 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
14321 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
14323 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
14325 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
14327 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
14329 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14331 * benchtests/scripts/compare_bench.py (__main__): use the argparse
14332 library to improve command line parsing.
14333 (__main__): make schema file as optional parameter (--schema),
14334 defaulting to benchtests/scripts/benchout.schema.json.
14335 (main): move out of the parsing stuff to __main_ and leave it
14336 only as caller of main comparison functions.
14338 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
14340 * NEWS: Add a note for Intel CET status.
14341 * manual/install.texi: Likewise.
14342 * INSTALL: Regenerated.
14344 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
14347 * localedata/locales/oc_FR (mon): Rename to...
14348 (alt_mon): This, then update October (typo fix).
14349 (mon): New content (genitive case, month names preceded by
14353 * localedata/locales/oc_FR (abday): Update all items.
14354 (day): Update Wednesday and Saturday (typo fixes).
14355 (abmon): Update all items, except May.
14356 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
14357 (LC_IDENTIFICATION): Bump the revision number and date.
14358 Keep the "category" entries in alphabetic order.
14359 (LC_ADDRESS): Remove no longer needed comment.
14360 (LC_COLLATE): Use “copy "ca_ES"”.
14361 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
14364 2018-07-18 Joseph Myers <joseph@codesourcery.com>
14366 * grp/tst_fgetgrent.c: Include <unistd.h>.
14367 (main): Use mkstemp instead of tmpnam.
14368 * io/test-utime.c (main): Likewise.
14369 * posix/annexc.c (macrofile): Change to modifiable array.
14370 (main): Remove macrofile here.
14371 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
14373 (check_header): Do not remove macrofile here.
14374 * posix/bug-getopt1.c: Include <stdlib.h>.
14375 (do_test): Use mkstemp instead of tmpnam.
14376 * posix/bug-getopt2.c: Include <stdlib.h>.
14377 (do_test): Use mkstemp instead of tmpnam.
14378 * posix/bug-getopt3.c: Include <stdlib.h>.
14379 (do_test): Use mkstemp instead of tmpnam.
14380 * posix/bug-getopt4.c: Include <stdlib.h>.
14381 (do_test): Use mkstemp instead of tmpnam.
14382 * posix/bug-getopt5.c: Include <stdlib.h>.
14383 (do_test): Use mkstemp instead of tmpnam.
14384 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
14385 (main): Use mkstemp instead of tmpnam.
14386 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
14387 (main): Use mkstemp instead of tmpnam.
14388 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
14389 (main): use mkstemp instead of tmpnam.
14390 * stdlib/isomac.c (macrofile): Change to modifiable array.
14391 (main): Remove macrofile here.
14392 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
14394 (check_header): Do not remove macrofile here.
14396 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14398 * manual/tunables.texi: Document glibc.tune.x86_ibt and
14399 glibc.tune.x86_shstk.
14401 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14403 * NEWS: Mention --enable-cet.
14404 * manual/install.texi: Document --enable-cet.
14405 * INSTALL: Regenerated.
14407 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14409 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
14410 Add _CET_NOTRACK before indirect jump to jump table.
14412 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14414 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
14415 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14418 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14420 * sysdeps/i386/i686/multiarch/strcat-sse2.S
14421 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14424 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14426 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
14427 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14430 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14432 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
14433 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14436 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14438 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
14439 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14441 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
14443 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14445 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
14446 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14449 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14451 * sysdeps/i386/i686/multiarch/memset-sse2.S
14452 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14455 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14457 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
14458 indirect jump to jump table.
14460 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14462 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
14463 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14465 (MEMCPY): Likewise.
14467 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14469 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
14470 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14472 (MEMCPY): Likewise.
14474 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14476 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
14477 _CET_NOTRACK before indirect jump to jump table.
14479 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14481 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
14482 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14485 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14487 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
14488 indirect jump to jump table.
14490 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
14493 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
14494 (LOCALES): Likewise.
14495 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
14496 * localedata/locales/sah_RU: New file.
14497 * localedata/sah_RU.UTF-8.in: New file.
14499 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14501 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
14503 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
14504 _CET_ENDBR to indirect jump targets and adjust jump destination
14506 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
14508 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
14509 _CET_ENDBR to indirect jump targets and adjust jump destination
14511 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
14513 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
14514 _CET_ENDBR to indirect jump targets and adjust jump destination
14517 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14519 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
14522 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14524 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
14526 (_dl_tlsdesc_undefweak): Likewise.
14527 (_dl_tlsdesc_dynamic): Likewise.
14528 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
14529 (_dl_tlsdesc_resolve_rel): Likewise.
14530 (_dl_tlsdesc_resolve_rela): Likewise.
14531 (_dl_tlsdesc_resolve_hold): Likewise.
14532 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
14533 (_dl_tlsdesc_undefweak): Likewise.
14534 (_dl_tlsdesc_dynamic): Likewise.
14535 (_dl_tlsdesc_resolve_rela): Likewise.
14536 (_dl_tlsdesc_resolve_hold): Likewise.
14538 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14540 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
14542 * sysdeps/x86_64/crti.S (_init): Likewise.
14545 2018-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
14548 * localedata/locales/os_RU (mon): Rename to...
14550 (mon): Import from CLDR (genitive case).
14552 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14554 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
14555 cet-tunables.h> when CET is enabled.
14557 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
14560 * configure.ac: Add --enable-cet.
14561 * configure: Regenerated.
14562 * elf/Makefille (all-built-dso): Add a comment.
14563 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
14564 Include <dl-prop.h>.
14565 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
14567 * elf/dl-open.c: Include <dl-prop.h>.
14568 (dl_open_worker): Call _dl_open_check.
14569 * elf/rtld.c: Include <dl-prop.h>.
14570 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
14572 * sysdeps/generic/dl-prop.h: New file.
14573 * sysdeps/i386/dl-cet.c: Likewise.
14574 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
14575 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
14576 * sysdeps/x86/cet-tunables.h: Likewise.
14577 * sysdeps/x86/check-cet.awk: Likewise.
14578 * sysdeps/x86/configure: Likewise.
14579 * sysdeps/x86/configure.ac: Likewise.
14580 * sysdeps/x86/dl-cet.c: Likewise.
14581 * sysdeps/x86/dl-procruntime.c: Likewise.
14582 * sysdeps/x86/dl-prop.h: Likewise.
14583 * sysdeps/x86/libc-start.h: Likewise.
14584 * sysdeps/x86/link_map.h: Likewise.
14585 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
14587 (_dl_runtime_profile): Likewise.
14588 (_dl_runtime_resolve_shstk): New.
14589 (_dl_runtime_profile_shstk): Likewise.
14590 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
14592 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
14593 (CFLAGS-.os): Likewise.
14594 (CFLAGS-.op): Likewise.
14595 (CFLAGS-.oS): Likewise.
14596 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
14598 (tests-special): Add $(objpfx)check-cet.out.
14599 (cet-built-dso): New.
14600 (+$(cet-built-dso:=.note)): Likewise.
14601 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
14602 ($(objpfx)check-cet.out): New.
14603 (generated): Add check-cet.out.
14604 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
14606 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
14607 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
14608 (init_cpu_features): Call get_cet_status to check CET status
14609 and update dl_x86_feature_1 with CET status. Call
14610 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
14611 (set_x86_shstk). Disable and lock CET in libc.a.
14612 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
14613 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
14614 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
14615 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
14616 (_CET_ENDBR): Define if not defined.
14617 (ENTRY): Add _CET_ENDBR.
14618 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
14620 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
14622 (_dl_runtime_profile): Likewise.
14624 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
14627 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
14628 restore r2 on longjmp.
14629 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
14631 Added rules to build test tst-setjmp-bug21895-static.
14632 Added module setjmp-bug21895 and rules to build a shared object from it.
14633 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
14634 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
14636 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
14638 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
14639 * benchtests/bench-strstr.c: Likewise.
14640 * string/memmem.c (FASTSEARCH): Define.
14641 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
14642 Add support for FASTSEARCH.
14643 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
14644 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
14645 (FASTSEARCH): Define.
14646 * string/test-strcasestr.c: Rename __strnlen to strnlen.
14647 * string/test-strstr.c: Likewise.
14649 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
14651 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
14652 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
14654 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
14655 H.J. Lu <hongjiu.lu@intel.com>
14657 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
14658 (__longjmp): Restore shadow stack pointer if shadow stack is
14659 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
14660 isn't defined for __longjmp_cancel.
14661 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
14662 (_setjmp): Save shadow stack pointer if shadow stack is enabled
14663 and SHADOW_STACK_POINTER_OFFSET is defined.
14664 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
14665 (setjmp): Save shadow stack pointer if shadow stack is enabled
14666 and SHADOW_STACK_POINTER_OFFSET is defined.
14667 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
14668 (__sigsetjmp): Save shadow stack pointer if shadow stack is
14669 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14670 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
14672 (____longjmp_chk): Restore shadow stack pointer if shadow stack
14673 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14674 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
14675 Remove jmp_buf-ssp.sym.
14676 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14678 (____longjmp_chk): Restore shadow stack pointer if shadow stack
14679 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14680 * sysdeps/x86/Makefile (gen-as-const-headers): Add
14682 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
14683 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
14684 (__longjmp): Restore shadow stack pointer if shadow stack is
14685 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
14686 isn't defined for __longjmp_cancel.
14687 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
14688 (__sigsetjmp): Save shadow stack pointer if shadow stack is
14689 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14691 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
14694 * nptl/pthread_create.c: Include <tls-setup.h>.
14695 (__pthread_create_2_1): Call tls_setup_tcbhead.
14696 * sysdeps/generic/tls-setup.h: New file.
14697 * sysdeps/x86/nptl/tls-setup.h: Likewise.
14698 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
14699 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
14701 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
14703 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
14704 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
14705 (X86_FEATURE_1_SHSTK): Likewise.
14706 (CET_ENABLED): Likewise.
14707 (IBT_ENABLED): Likewise.
14708 (SHSTK_ENABLED): Likewise.
14710 2018-07-13 Rafał Lużyński <digitalfreak@lingonborough.com>
14713 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
14714 (LOCALES): Likewise.
14715 * localedata/dsb_DE.UTF-8.in: New file.
14716 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
14718 2018-07-12 Florian Weimer <fweimer@redhat.com>
14720 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
14721 __mprotect, not mprotect.
14723 2018-07-11 Florian Weimer <fweimer@redhat.com>
14725 * io/Makefile (headers): Add bits/statx.h.
14727 2018-07-10 Mike FABIAN <mfabian@redhat.com>
14729 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
14730 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
14732 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
14733 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
14736 2018-07-10 Florian Weimer <fweimer@redhat.com>
14738 * io/Makefile (routines): Add statx.
14739 (tests-internal): Add tst-statx.
14740 * io/Versions (GLIBC_2.28): Export statx.
14741 * io/bits/statx.h: New file.
14742 * io/sys/stat.h [__USE_GNU]: Include it.
14743 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
14744 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
14746 * io/statx.c: New file.
14747 * io/statx_generic.: Likewise.
14748 * io/tst-statx.: Likewise.
14749 * include/bits/statx.h: Likewise.
14750 * sysdeps/unix/sysv/linux/kernel-features.h
14751 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
14752 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14753 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
14754 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
14756 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14757 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
14758 * sysdeps/unix/sysv/linux/statx.c: New file.
14759 * manual/filesys.texi: Note that statx is undocumented.
14760 * sysdeps/**/libc*.abilist: Update.
14762 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14764 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
14765 a kernel issue which lead to test failure in some cases.
14767 2018-07-10 Florian Weimer <fweimer@redhat.com>
14770 * posix/regexec.c (check_node_accept_bytes): When comparing
14771 weights, do not compare an extra byte after the end of the
14774 2018-07-10 Florian Weimer <fweimer@redhat.com>
14776 * libio/readline.c: Fix copyright year.
14777 * libio/tst-readline.c Likewise.
14778 * nss/tst-nss-files-hosts-getent.c: Likewise.
14780 2018-07-06 Florian Weimer <fweimer@redhat.com>
14783 * nss/nss_files/files-XXX.c (internal_getent): Use
14784 __libc_readline_unlocked. Seek back to the start of the line if
14785 parsing failes with ERANGE.
14786 (get_contents_ret, get_contents): Remove.
14787 * nss/tst-nss-files-hosts-getent.c: New file.
14788 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
14789 (tst-nss-files-hosts-getent): Link with -ldl.
14791 2018-07-06 Florian Weimer <fweimer@redhat.com>
14793 * include/stdio.h (__libc_readline_unlocked): Declare.
14794 (__ftello64, __fseeko64): Declare aliases.
14795 * libio/readline.c: New file.
14796 * libio/tst-readline.c: Likewise.
14797 (routines): Add readline.
14798 (tests-internal): Add tst-readlime.
14799 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
14800 __libc_readline_unlocked.
14801 * libio/fseeko.c (__fseeko): Rename from fseeko.
14802 (fseeko): Add alias.
14803 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
14804 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
14805 (fseeko64): Add alias.
14806 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
14807 * libio/ftello64.c (__ftello64): Rename from ftello64.
14808 (ftello64): Add alias.
14810 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
14812 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
14815 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
14817 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
14818 Use dl_hwcap without masking.
14819 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
14820 Remove HWCAP_CPUID.
14822 2018-07-06 Florian Weimer <fweimer@redhat.com>
14824 * conform/conformtest.pl (checknamespace): Escape literal braces
14825 in regular expressions.
14827 2018-07-06 Amit Pawar <amit.pawar@amd.com>
14829 * sysdeps/x86/cpu-features.c (get_common_indeces):
14830 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
14831 * sysdeps/x86/cpu-features.c (init_cpu_features):
14832 AVX_Fast_Unaligned_Load is disabled for Excavator core.
14834 2018-07-05 Florian Weimer <fweimer@redhat.com>
14836 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
14838 (CFLAGS-elf-init.oS): Likewise.
14840 2018-07-05 Florian Weimer <fweimer@redhat.com>
14841 Carlos O'Donell <carlos@redhat.com>
14843 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
14844 $(no-stack-protector). stack_chk_fail_local.c can be compiled
14845 with stack protector enabled because there is no risk of infinite
14848 2018-07-05 Maciej W. Rozycki <macro@mips.com>
14852 * libc-abis (ABSOLUTE): New ABI.
14853 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
14854 * NEWS: Mention the new ABI.
14856 2018-07-05 Florian Weimer <fweimer@redhat.com>
14859 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
14860 (RENAME_WHITEOUT): Define.
14861 [__USE_GNU] (renameat2): Declare.
14862 * stdio-common/Makefile (routines): Add renameat2.
14863 (tests): Add tst-renameat2.
14864 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
14865 * stdio-common/renameat2.c: New file.
14866 * stdio-common/tst-renameat2.c: Likewise.
14867 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
14868 * manual/filesys.texi (Temporary Files): Note that renameat2 is
14870 * sysdeps/unix/sysv/linux/kernel-features.h
14871 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
14872 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14873 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
14874 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14875 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
14876 * sysdeps/unix/sysv/linux/sh/kernel-features.h
14877 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
14878 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14879 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
14880 * include/stdio.h (__renameat): Add alias for renameat.
14881 * stdio-common/renameat.c (__renameat): Rename from renameat.
14882 Add hidden definition and alias.
14883 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
14884 * sysdeps/mach/hurd/renameat.c: Likewise.
14885 * sysdeps/**/libc*.abilist: Add renameat2.
14887 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14889 * posix/bug-regex33.c: Fix build after regex sync.
14891 2018-07-04 Carlos O'Donell <carlos@redhat.com>
14894 * localedata/tst-langinfo-setlocale.c: New file.
14895 * localedata/tst-langinfo-setlocale-static.c: New file.
14896 * localedata/tst-langinfo-newlocale.c: New file.
14897 * localedata/tst-langinfo-newlocale-static.c: New file.
14898 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
14899 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
14900 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
14901 (tests-static): Remove tst-langinfo-static. Add
14902 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
14903 (tests-special): Remove $(objpfx)tst-langinfo.out,
14904 $(objpfx)tst-langinfo-static.out. Add
14905 $(objpfx)tst-langinfo-setlocale.out,
14906 $(objpfx)tst-langinfo-newlocale.out,
14907 $(objpfx)tst-langinfo-setlocale-static.out,
14908 $(objpfx)tst-langinfo-newlocale-static.out.
14909 ($(objpfx)tst-langinfo.out): Remove.
14910 ($(objpfx)tst-langinfo-static.out): Remove.
14911 ($(objpfx)tst-langinfo-newlocale.out): New target.
14912 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
14913 (test-xfail-tst-langinfo-newlocale-static): Add.
14914 ($(objpfx)tst-langinfo-setlocale.out): New target.
14915 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
14916 * localedata/tst-langinfo.c: Call test_locale.
14917 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
14920 2018-07-04 Florian Weimer <fweimer@redhat.com>
14922 testrun.sh: Implement --tool=strace, --tool=valgrind
14923 * Makefile (testrun-script): Define variable.
14924 (testrun.sh): Use variable.
14925 * manual/install.texi (Tools for Compilation): make 4.0 or later
14927 * configure.ac: Check for make 4.0 or later.
14928 * INSTALL: Regenerate.
14929 * configure: Likewise.
14931 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14937 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
14938 * posix/PCRE.tests: Remove invalid test.
14939 * posix/bug-regex28.c: Fix expected values for used syntax.
14940 * posix/bug-regex37.c: New file.
14941 * posix/bug-regex38.c: Likewise.
14942 * posix/regcomp.c: Sync with gnulib.
14943 * posix/regex.c: Likewise.
14944 * posix/regex.h: Likewise.
14945 * posix/regex_internal.c: Likewise.
14946 * posix/regex_internal.h: Likewise.
14947 * posix/regexec.c: Likewise.
14949 2018-06-26 Mike FABIAN <mfabian@redhat.com>
14952 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
14953 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
14954 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
14955 * localedata/unicode-gen/PropList.txt: likewise.
14956 * localedata/unicode-gen/UnicodeData.txt: likewise.
14957 * localedata/charmaps/UTF-8: Regenerate.
14958 * localedata/locales/i18n_ctype: likewise.
14959 * localedata/locales/tr_TR: likewise.
14960 * localedata/locales/translit_circle: likewise.
14961 * localedata/locales/translit_cjk_compat: likewise.
14962 * localedata/locales/translit_combining: likewise.
14963 * localedata/locales/translit_compat: likewise.
14964 * localedata/locales/translit_font: likewise.
14965 * localedata/locales/translit_fraction: likewise.
14967 2018-07-03 Florian Weimer <fweimer@redhat.com>
14970 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
14971 * stdio-common/tst-printf.sh: Adjust expected output.
14972 * LICENSES: Update.
14974 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14976 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
14979 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14981 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
14982 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
14983 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
14984 * stdio-common/tst-printfsz-islongdouble.c: New file.
14985 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
14986 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
14987 [subdir == stdio-common] (routines): Add ieee128-printf_size.
14988 [subdir == stdio-common] (tests-internal): Add
14989 test-printf-size-ieee128, and test-printf-size-ibm128.
14990 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
14991 (CFLAGS-test-printf-size-ibm128.c): New variables.
14992 [subdir == stdio-common] (tests-special): Add
14993 $(objpfx)test-printf-size-ieee128.out and
14994 $(objpfx)test-printf-size-ibm128.out.
14995 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
14996 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
14997 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
14998 __printf_sizeieee128.
14999 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
15001 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
15003 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
15006 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
15008 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
15009 (exp2f_inline): Likewise.
15010 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
15011 (__math_uflowf): Likewise.
15012 (__math_may_uflowf): Likewise.
15013 (__math_divzerof): Likewise.
15014 (__math_invalidf): Likewise.
15015 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
15016 (__math_oflowf): Likewise.
15017 (__math_uflowf): Likewise.
15018 (__math_may_uflowf): Likewise.
15019 (__math_divzerof): Likewise.
15020 (__math_invalidf): Likewise.
15022 2018-06-29 DJ Delorie <dj@redhat.com>
15023 Carlos O'Donell <carlos@redhat.com>
15026 * include/libc-symbols.h: Comment the freeres framework.
15027 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
15028 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
15029 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
15030 * dlfcn/dlerror.c: Include libc-symbols.h
15031 (__dlerror_main_freeres): New function.
15032 * dlfcn/dlfreeres.c: New file.
15033 * dlfcn/sdlfreeres.c: New file.
15034 * include/dlfcn.h: Declare __dlerror_main_freeres.
15035 * malloc/set-freeres.c: Declare __libdl_freeres, and
15036 __libpthread_freeres.
15037 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
15038 the releavant libraries are loaded.
15039 * malloc/thread-freeres.c: Add comments.
15040 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
15041 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
15042 * nptl/allocatestack.c (__nptl_free_stacks): New function.
15043 (__free_stacks): Rename to...
15044 (free_stacks): ...this. Mark static.
15045 (queue_stack): Call free_stacks.
15046 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
15047 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
15048 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
15049 ptr_freeres element from struct.
15050 (pthread_functions): Remove .ptr_freeres from struct initializer.
15051 [SHARED] (nptl_freeres): Remove.
15052 * nptl/nptlfreeres.c: New file.
15054 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
15055 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
15057 (__free_stacks): Rename to...
15058 (__nptl_stacks_freeres): ...this.
15059 (__shm_directory_freeres): Declare.
15060 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
15061 (__nptl_unwind_freeres): ...this.
15062 * resolv/res-close.c: Add comment.
15063 * resolv/resolv_conf.c: Include libc-symbols.h.
15064 * string/strerror_l.c: Include libc-symbols.h.
15065 * sunrpc/rpc_thread.c: Include libc-symbols.h.
15066 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
15067 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
15068 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
15070 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15072 * stdlib/tst-strfmon_l.c: Add tests for long double.
15074 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
15077 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
15078 * localedata/locales/dsb_DE: New file.
15080 2018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
15083 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
15085 (alt_mon): New entry, import from CLDR (nominative case).
15087 2018-06-29 Sylvain Lesage <severo@rednegra.net>
15090 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
15092 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
15094 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
15095 Use vector registers.
15097 * sysdeps/aarch64/multiarch/memmove_falkor.S
15098 (__memcpy_falkor): Use vector registers.
15100 2018-06-29 Martin Sebor <msebor@redhat.com>
15102 * manual/stdio.texi (Customizing Printf): Mention interaction
15103 with GCC built-ins.
15105 2018-06-29 Maciej W. Rozycki <macro@mips.com>
15108 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
15109 `st_value' is 0 if `st_shndx' is SHN_ABS.
15110 * elf/tst-absolute-zero.c: New file.
15111 * elf/tst-absolute-zero-lib.c: New file.
15112 * elf/tst-absolute-zero-lib.lds: New file.
15113 * elf/Makefile (tests): Add `tst-absolute-zero'.
15114 (modules-names): Add `tst-absolute-zero-lib'.
15115 (LDLIBS-tst-absolute-zero-lib.so): New variable.
15116 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
15117 ($(objpfx)tst-absolute-zero: New dependency.
15119 2018-06-29 Zack Weinberg <zackw@panix.com>
15121 * configure.ac: New command-line option --disable-crypt.
15122 Force --disable-nss-crypt when --disable-crypt is given, with a
15123 warning if it was explicitly enabled.
15124 * configure: Regenerate.
15125 * config.make.in: New boolean substitution variable $(build-crypt).
15126 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
15127 when $(build-crypt).
15128 * manual/install.texi: Document --disable-crypt.
15129 * INSTALL: Regenerate.
15131 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
15132 which is never set.
15133 * conform/Makefile: Only include libcrypt.a in
15134 linknamespace-libs-xsi and linknamespace-libs-XPG4
15135 when $(build-crypt).
15136 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
15137 USE_CRYPT to 1 when $(build-crypt).
15138 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
15139 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
15140 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
15142 2018-06-29 Zack Weinberg <zackw@panix.com>
15144 * crypt/crypt.h, posix/unistd.h: Update comments and
15145 prototypes for crypt and crypt_r.
15147 * manual/crypt.texi (Cryptographic Functions): New initial
15149 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
15150 (Unpredictable Bytes): Improve initial exposition. Clarify error
15151 behavior of getentropy and getrandom.
15152 * manual/examples/genpass.c: Generate a salt using getentropy
15153 instead of the current time. Use hash $5$ (SHA-2-256).
15154 * manual/examples/testpass.c: Demonstrate validation against
15155 hashes generated with three different one-way functions.
15157 * manual/intro.texi: crypt.texi does not need an overview
15160 * manual/nss.texi, manual/memory.texi, manual/socket.texi
15161 * manual/terminal.texi: Consistently refer to "passphrases"
15162 * instead of "passwords", and to the "user database" instead
15163 * of the "password database".
15164 * manual/users.texi: Similarly. Add notes about how actual
15165 passphrase hashes are now stored in the shadow database.
15166 Remove 20-year-old junk todo note.
15168 2018-06-29 Zack Weinberg <zackw@panix.com>
15170 * manual/crypt.texi: Use a normal top-level @node declaration.
15171 Move most of the introductory text to the 'crypt' section.
15172 Move the example programs below the @deftypefun for 'crypt_r'.
15173 Move the 'getpass' section...
15174 * manual/terminal.texi: ...here.
15176 2018-06-29 Zack Weinberg <zackw@panix.com>
15177 Florian Weimer <fweimer@redhat.com>
15179 * posix/unistd.h: Do not declare encrypt.
15180 (_XOPEN_CRYPT): Remove macro definition.
15181 (crypt): Declare only for _USE_MISC.
15182 * stdlib/stdlib.h: Do not declare setkey.
15183 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
15184 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
15186 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
15187 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
15188 into compat symbols. Don't define initial_perm if it's not
15190 * crypt/cert.c: Link explicitly with the expected versions for
15191 setkey and encrypt. If they are not available at all, mark
15192 the test as unsupported.
15194 * sunrpc/des_crypt.c: Unconditionally block linkage with
15195 cbc_crypt and ecb_crypt for new binaries.
15196 * sunrpc/des_soft.c: Unconditionally block linkage with
15197 des_setparity for new binaries.
15199 * manual/crypt.texi: Remove the entire "DES Encryption"
15200 section. Also remove the paragraph talking about FIPS 140-2
15201 from the introduction.
15202 * manual/string.texi (strfry, memfrob): Revise. Recommend use
15203 of libgcrypt for "real" encryption, not DES.
15204 * manual/conf.texi (Constants for Sysconf): Mention that
15205 _XOPEN_CRYPT is no longer impelemented.
15207 * conform/data/unistd.h-data: Remove crypt function declaration.
15209 2018-06-29 Florian Weimer <fweimer@redhat.com>
15212 * malloc/hooks.c: Update comments on restoring of dumped heaps.
15213 (disallow_malloc_check): Remove variable.
15214 (__malloc_check_init): Adjust.
15215 (malloc_set_state): Update comment.
15216 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
15219 2018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
15222 * localedata/locales/ast_ES (mon): Rename to...
15224 (mon): Import from CLDR (genitive case).
15226 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
15227 Jakub Sitnicki <jkbs@redhat.com>
15230 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
15231 on NLM_F_DUMP_INTR.
15233 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
15235 * manual/llio.texi: Remove spurious space.
15237 2018-06-28 Florian Weimer <fweimer@redhat.com>
15240 * time/bits/types/struct_timespec.h: Change header inclusion guard to
15243 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15245 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
15246 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
15247 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
15248 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
15249 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
15250 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
15251 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
15253 2018-06-27 Maciej W. Rozycki <macro@mips.com>
15256 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
15257 Copy and null-terminate entries that are not terminated, in
15258 addition to empty ones.
15260 2018-06-27 Florian Weimer <fweimer@redhat.com>
15263 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
15264 (extend_alloca_account): Remove.
15265 * manual/stdio.texi (Variable Arguments Output): Update comment.
15267 2018-06-27 Joseph Myers <joseph@codesourcery.com>
15269 * nptl/sockperf.c: Remove file.
15271 2018-06-27 Florian Weimer <fweimer@redhat.com>
15274 * elf/dl-deps.c (_dl_map_object_deps): Use struct
15275 scratch_buffer instead of extend_alloca.
15277 2018-06-27 Florian Weimer <fweimer@redhat.com>
15280 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
15281 scratch_buffer instead of extend_alloca. Update comments.
15283 2018-06-27 Florian Weimer <fweimer@redhat.com>
15286 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
15287 instead of extend_alloca.
15289 2018-06-26 Joseph Myers <joseph@codesourcery.com>
15292 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
15293 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
15295 * scripts/test-installation.pl: Put temporary files in build
15296 directory, not /tmp.
15297 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
15298 (CFLAGS-bug4.c): Likewise.
15299 (CFLAGS-bug5.c): Likewise.
15300 (CFLAGS-test-fseek.c): Likewise.
15301 (CFLAGS-test-popen.c): Likewise.
15302 (CFLAGS-test_rdwr.c): Likewise.
15303 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
15305 * stdio-common/bug4.c (main): Likewise.
15306 * stdio-common/bug5.c (main): Likewise.
15307 * stdio-common/test-fseek.c (TESTFILE): Likewise.
15308 * stdio-common/test-popen.c (do_test): Likewise.
15309 * stdio-common/test_rdwr.c (main): Likewise.
15311 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
15313 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
15314 (sem_open): Set sem.newsem.pad to zero for valgrind.
15316 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15319 * NEWS: Mention fcntl64 addition.
15320 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
15321 * login/utmp_file.c: Likewise.
15322 * sysdeps/posix/fdopendir.c: Likewise.
15323 * sysdeps/posix/opendir.c: Likewise.
15324 * sysdeps/unix/pt-fcntl.c: Likewise.
15325 * include/fcntl.h (__libc_fcntl64, __fcntl64,
15326 __fcntl64_nocancel_adjusted): New prototype.
15327 (__fcntl_nocancel_adjusted): Remove prototype.
15328 * io/Makefile (routines): Add fcntl64.
15329 (CFLAGS-fcntl64.c): New rule.
15330 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
15331 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
15332 * io/fcntl.h (fcntl64): Add prototype and redirect if
15333 __USE_FILE_OFFSET64 is defined.
15334 * io/fcntl64.c: New file.
15335 * manual/llio.text: Add a note for which commands fcntl acts a
15336 cancellation point.
15337 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
15338 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
15339 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
15341 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
15342 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
15344 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
15345 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
15346 to __fcntl64_nocancel.
15347 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
15348 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
15349 to __fcntl64_nocancel.
15350 * sysdeps/generic/not-cancel.h: Likewise.
15351 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
15352 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
15353 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
15354 (fcntl64): New symbol.
15355 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15356 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15357 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15360 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15361 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15362 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15363 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15364 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15365 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
15366 fcntl64): Likewise.
15367 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15368 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
15369 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15370 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15371 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15372 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15373 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15374 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15375 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15380 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15381 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15382 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15384 2018-06-26 Florian Weimer <fweimer@redhat.com>
15386 Run thread shutdown functions in an explicit order.
15387 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
15389 (__libc_thread_freeres): Call thread shutdown functions
15391 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
15392 * include/string.h (__strerror_thread_freeres): Declare.
15393 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
15394 arena_thread_freeres. No longer static. Remove thread shutdown
15396 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
15398 * resolv/res-close.c (__res_thread_freeres): Renamed from
15399 res_thread_freeres. No longer static. Remove thread shutdown
15401 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
15402 * resolv/resolv_conf.c (freeres): Remove incorrect section
15403 attribute and use libc_freeres_fn.
15404 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
15405 strerror_thread_freeres. No longer static. Remove thread
15406 shutdown hook registration.
15407 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
15408 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
15409 shutdown hook registration.
15410 * Makerules (shlib.lds): Do not provide section boundary symbols
15411 for __libc_thread_subfreeres.
15412 * manual/memory.texi (Basic Allocation): Update comment.
15414 2018-06-26 Florian Weimer <fweimer@redhat.com>
15416 Remove always-defined _RPC_THREAD_SAFE_ macro.
15417 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
15418 Do not define _RPC_THREAD_SAFE_.
15419 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
15421 * sunrpc/clnt_perr.c: Likewise.
15422 * sunrpc/clnt_raw.c: Likewise.
15423 * sunrpc/clnt_simp.c: Likewise.
15424 * sunrpc/key_call.c: Likewise.
15425 * sunrpc/rpc_common.c: Likewise.
15426 * sunrpc/rpc_main.c: Likewise.
15427 * sunrpc/rpc_thread.c: Likewise.
15428 * sunrpc/svc.c: Likewise.
15429 * sunrpc/svc_raw.c: Likewise.
15430 * sunrpc/svc_simple.c: Likewise.
15431 * sumrpc/svcauth_des.c: Likewise.
15433 2018-06-26 Florian Weimer <fweimer@redhat.com>
15435 * libio/Makefile (tests-internal): Add tst-vtables,
15436 tst-vtables-interposed.
15437 * libio/tst-vtables.c: New file.
15438 * libio/tst-vtables-common.c: Likewise.
15439 * libio/tst-vtables-interposed.c: Likewise.
15441 2018-06-26 Florian Weimer <fweimer@redhat.com>
15443 * support/support_test_main.c (support_test_main): Only call
15444 setvbuf if not disables.
15445 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
15446 * support/test-driver.h (struct test_config): Add no_setvbuf member.
15448 2018-06-26 Florian Weimer <fweimer@redhat.com>
15451 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
15453 2018-06-25 Florian Weimer <fweimer@redhat.com>
15456 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15457 Use struct scratch_buffer instead of extend_alloca.
15459 2018-06-25 Florian Weimer <fweimer@redhat.com>
15462 * nss/getent.c (initgroups_keys): Use dynarray instead of
15465 2018-06-25 Florian Weimer <fweimer@redhat.com>
15468 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
15469 Use struct scratch_buffer instead of extend_alloca.
15471 2018-06-25 Florian Weimer <fweimer@redhat.com>
15474 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
15475 back to malloc directly, without stack allocations.
15477 2018-06-25 Florian Weimer <fweimer@redhat.com>
15480 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
15483 2018-06-25 Florian Weimer <fweimer@redhat.com>
15486 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
15488 * nscd/hstcache.c (addhstbyX): Likewise.
15489 * nscd/pwdcache.c (addpwbyX): Likewise.
15490 * nscd/servicescache.c (addservbyX): Likewise.
15492 2018-06-25 Florian Weimer <fweimer@redhat.com>
15495 * nscd/connections.c (read_cmdline): New function.
15496 (restart): Use it. Update comment.
15498 2018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
15501 * localedata/locales/csb_PL (mon): Rename to...
15503 (abmon): Rename to...
15504 (ab_alt_mon): This.
15505 (mon): Add with proper genitive forms, copy from Wikipedia.
15508 2018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
15511 * localedata/locales/csb_PL (mon): Fix typos:
15512 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
15513 (yesstr): Add, value is "jo".
15514 (nostr): Add, value is "nié".
15516 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15518 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
15519 all log1p and significand functions on m680x0.
15520 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
15521 of s_significand.c..
15522 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
15523 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
15524 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
15525 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
15526 s_log1p.c and include it..
15528 2018-06-21 Vincent Chen <vincentc@andestech.com>
15530 * elf/elf.h (R_NDS32_NONE): New define.
15531 (R_NDS32_32_RELA): Likewise.
15532 (R_NDS32_COPY): Likewise.
15533 (R_NDS32_GLOB_DAT): Likewise.
15534 (R_NDS32_JUMP_SLOT): Likewise.
15535 (R_NDS32_RELATIVE): Likewise.
15536 (R_NDS32_TLS_TPOFF): Likewise.
15537 (R_NDS32_TLS_DESC): Likewise.
15539 2018-06-21 Mark Wielaard <mark@klomp.org>
15541 * elf/elf.h (R_BPF_MAP_FD): Removed.
15542 (R_BPF_64_64, R_BPF_64_32): New.
15544 2018-06-21 Florian Weimer <fweimer@redhat.com>
15547 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
15548 Renamed from libc_feholdsetround_ctx.
15549 (default_libc_feresetround_ctx): Renamed from
15550 libc_feresetround_ctx.
15551 (default_libc_feholdsetround_noex_ctx): Renamed from
15552 libc_feholdsetround_noex_ctx.
15553 (default_libc_feresetround_noex_ctx): Renamed from
15554 libc_feresetround_noex_ctx.
15555 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
15556 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
15557 forwardning to the old implementations under the new names.
15558 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
15559 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
15560 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
15561 (libc_feresetround_ctx): Forward to default implements for i386
15562 and MATH_SET_BOTH_ROUNDING_MODES.
15563 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
15564 Add -DMATH_SET_BOTH_ROUNDING_MODES.
15566 2018-06-20 Joseph Myers <joseph@codesourcery.com>
15568 * string/tst-cmp.c: Include <libc-diag.h>.
15569 (strncmp_max): Disable -Wstringop-overflow= around call to
15571 (strncasecmp_max): Disable -Wstringop-overflow= around call to
15574 * string/bug-strpbrk1.c: Include <libc-diag.h>.
15575 (main): Disable -Wunused-value around call to strpbrk.
15576 * string/bug-strspn1.c: Include <libc-diag.h>.
15577 (main): Disable -Wunused-value around call to strspn.
15579 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15580 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15582 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
15583 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
15585 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15587 * math/Makefile (libm-calls): Move s_significandF to...
15588 (gen-libm-calls): ... here.
15589 * math/s_significand_template.c: New file.
15590 * math/s_significand.c: Removed.
15591 * math/s_significandf.c: Removed.
15592 * math/s_significandl.c: Removed.
15593 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
15594 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
15596 * math/e_exp2_template.c (declare_mgen_finite_alias,
15597 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
15598 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
15599 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
15601 2018-06-20 Florian Weimer <fweimer@redhat.com>
15603 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
15605 2018-06-19 Joseph Myers <joseph@codesourcery.com>
15608 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
15609 floating-point number to strtod functions rather than possibly
15610 negating result of those functions.
15611 * stdio-common/tst-scanf-round.c: New file.
15612 * stdio-common/Makefile (tests): Add tst-scanf-round.
15613 ($(objpfx)tst-scanf-round): Depend on $(libm).
15615 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15617 * sysdeps/mach/hurd/localplt.data: Move to...
15618 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
15619 R_386_GLOB_DAT like on Linux i386.
15621 2018-06-18 Joseph Myers <joseph@codesourcery.com>
15623 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
15624 (SHM_STAT_ANY): New macro.
15625 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
15626 (SHM_STAT_ANY): Likewise.
15627 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
15628 (SHM_STAT_ANY): Likewise.
15629 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
15630 (SHM_STAT_ANY): Likewise.
15631 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
15632 (SHM_STAT_ANY): Likewise.
15633 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
15634 (SHM_STAT_ANY): Likewise.
15635 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
15636 (SHM_STAT_ANY): Likewise.
15637 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
15638 (SHM_STAT_ANY): Likewise.
15639 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
15640 (SHM_STAT_ANY): Likewise.
15641 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
15642 (SHM_STAT_ANY): Likewise.
15643 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
15644 (SHM_STAT_ANY): Likewise.
15645 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
15646 (SHM_STAT_ANY): Likewise.
15648 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
15649 (SEM_STAT_ANY): New macro.
15650 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
15651 (SEM_STAT_ANY): Likewise.
15652 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
15653 (SEM_STAT_ANY): Likewise.
15654 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
15655 (SEM_STAT_ANY): Likewise.
15656 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
15657 (SEM_STAT_ANY): Likewise.
15658 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
15659 (SEM_STAT_ANY): Likewise.
15660 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
15661 (SEM_STAT_ANY): Likewise.
15662 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
15663 (SEM_STAT_ANY): Likewise.
15664 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
15665 (SEM_STAT_ANY): Likewise.
15666 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
15667 (SEM_STAT_ANY): Likewise.
15669 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
15670 (MSG_STAT_ANY): New macro.
15671 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
15672 (MSG_STAT_ANY): Likewise.
15673 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
15674 (MSG_STAT_ANY): Likewise.
15675 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
15676 (MSG_STAT_ANY): Likewise.
15677 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
15678 (MSG_STAT_ANY): Likewise.
15679 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
15680 (MSG_STAT_ANY): Likewise.
15681 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
15682 (MSG_STAT_ANY): Likewise.
15683 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
15684 (MSG_STAT_ANY): Likewise.
15685 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
15686 (MSG_STAT_ANY): Likewise.
15687 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
15688 (MSG_STAT_ANY): Likewise.
15690 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15691 (MAP_TYPE): Change value to 0x2b.
15693 2018-06-18 Florian Weimer <fweimer@redhat.com>
15696 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
15697 socket with SOCK_CLOEXEC.
15699 2018-06-18 Joseph Myers <joseph@codesourcery.com>
15702 * sysdeps/powerpc/powerpc64/le/Makefile
15703 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
15704 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
15705 (gnulib-tests): Also add $(f128-loader-link) for
15706 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
15708 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
15710 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
15711 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
15713 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
15714 (sendfile64): New strong alias.
15715 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
15716 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
15717 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
15718 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
15720 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
15721 ___pthread_get_cleanup_stack.
15722 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
15723 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
15724 * mach/shortcut.awk: Make syscall stubs include
15725 <mach-shortcuts-hidden.h> and add hidden definition.
15726 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
15727 (__mach_msg): Add hidden prototype.
15728 * mach/msg.c: Include <mach.h>.
15729 (__mach_msg): Add hidden definition.
15730 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
15731 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
15732 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
15733 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
15734 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
15735 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
15736 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
15737 prototype and definition.
15738 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
15739 hidden target for _hurd_self_sigstate.
15741 2018-06-15 Joseph Myers <joseph@codesourcery.com>
15744 * stdlib/tst-strtod-nan-sign-main.c: New file.
15745 * stdlib/tst-strtod-nan-sign.c: Likewise.
15746 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
15747 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
15748 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
15749 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
15750 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
15752 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
15755 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
15758 2018-06-14 Florian Weimer <fweimer@redhat.com>
15761 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
15762 that the result stays within the ISO-8859-1 range.
15763 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
15764 characters are defined in IBM273.
15766 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
15768 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
15769 __mach_task_self): Remove attribute_hidden.
15771 2018-06-14 Joseph Myers <joseph@codesourcery.com>
15773 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
15774 ignore -Wrestrict for one test.
15776 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
15777 Szabolcs Nagy <szabolcs.nagy@arm.com>
15779 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
15781 2018-06-14 Florian Weimer <fweimer@redhat.com>
15783 * scripts/update-abilist.sh: Accept empty list of files to patch.
15785 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
15787 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
15788 test-xfail-check-abi-libmachuser): Add.
15789 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
15790 __libc_read and __libc_write to __read and __write.
15791 * sysdeps/hurd/include/hurd/port.h: New file.
15792 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
15793 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
15794 __thread_switch, __evc_wait): Move declarations to...
15795 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
15797 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
15798 use PLT to call _hurd_self_sigstate.
15800 2018-06-13 Joseph Myers <joseph@codesourcery.com>
15803 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
15804 MAX_EXP as overflowing.
15805 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
15807 (round_str): Output also whether result overflows in each rounding
15809 * stdlib/tst-strtod-round-data: Add more tests.
15810 * stdlib/tst-strtod-round-data.h: Regenerated.
15811 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
15812 (TEST): Handle extra arguments for overflow flags.
15813 (struct test_overflow): New type.
15814 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
15815 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
15816 (test_in_one_mode): Take argument with overflow information.
15817 (do_test): Update calls to test_in_one_mode.
15819 2018-06-12 Carlos O'Donell <carlos@redhat.com>
15821 * elf/dl-load (_dl_dst_substitute): Correct comment.
15822 (_dl_dst_count): Likewise.
15824 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
15825 lll_futex_timed_wait.
15827 2018-06-12 Joseph Myers <joseph@codesourcery.com>
15830 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
15832 * math/test-nan-const.c: New file.
15833 * math/Makefile (tests): Add test-nan-const.
15834 (CFLAGS-test-nan-const.c): New variable.
15836 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
15838 * benchtests/scripts/compare_strings.py (process_results): Add
15839 funcs argument. Compare only functions which are selected.
15840 (main): Check if base function is among selected functions.
15841 Pass selected functions to process_results.
15842 (__main__): Add -f/--functions argument.
15844 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
15845 Hongbo Zhang <hongbo.zhang@linaro.org>
15847 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
15848 __memcpy_falkor for phecda core.
15849 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
15850 __memmove_falkor for phecda core.
15851 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
15852 __memset_falkor for phecda core.
15853 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
15855 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
15856 macro to identify phecda core.
15858 2018-06-12 Carlos O'Donell <carlos@redhat.com>
15859 Andreas Schwab <schwab@suse.de>
15860 Dmitry V. Levin <ldv@altlinux.org>
15861 Florian Weimer <fweimer@redhat.com>
15868 * elf/dl-dst.h: Remove DL_DST_COUNT.
15869 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
15870 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
15871 (is_dst): Comment. Support ELF gABI.
15872 (_dl_dst_count): Comment. Simplify and count DSTs.
15873 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
15874 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
15877 2018-06-12 Zack Weinberg <zackw@panix.com>
15879 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
15880 * sysdeps/unix/sysv/linux/dl-sysdep.c
15881 Include not-cancel.h. Use __close_nocancel instead of __close,
15882 __open64_nocancel instead of __open, __read_nocancel instead of
15883 __libc_read, and __write_nocancel instead of __libc_write.
15885 * csu/check_fds.c (check_one_fd)
15886 * sysdeps/posix/fdopendir.c (__fdopendir)
15887 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
15888 instead of __fcntl and/or __libc_fcntl.
15890 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
15891 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
15892 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
15893 Use __open64_nocancel instead of __open_nocancel.
15895 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
15896 hidden_proto declarations to the end and issue them if either
15897 IS_IN(libc) or IS_IN(rtld).
15898 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
15899 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
15900 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
15901 read_nocancel, waitpid_nocancel, write_nocancel.
15903 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
15904 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
15905 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
15907 * nptl/pt-fcntl.c: New file.
15908 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
15909 (libpthread-routines): Add pt-fcntl.
15910 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
15911 (__libc_fcntl): Remove attribute_hidden.
15912 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
15913 __fcntl_nocancel_adjusted, not fcntl_common.
15914 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
15915 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
15916 to fcntl_nocancel.c.
15917 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
15918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
15919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15920 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
15922 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
15923 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
15924 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
15925 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
15926 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
15927 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
15928 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
15929 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
15930 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
15931 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
15932 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
15933 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
15934 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
15935 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
15936 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
15937 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
15938 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
15939 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
15940 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
15941 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
15943 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
15944 libpthread-routines.
15945 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
15948 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
15949 __libc_read, and __write instead of __libc_write. Define
15950 __open64 in addition to __open.
15952 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
15956 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
15957 to _private_tm[3] and add __glibc_reserved2.
15958 Add _Static_assert of offset of __private_ss == 0x30.
15959 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
15960 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
15962 2018-06-12 Florian Weimer <fweimer@redhat.com>
15964 x86: Make strncmp usable from rtld.
15965 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
15966 __strncmp_ia32 if in libc (and not in rtld).
15967 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
15968 strncmp if not in libc (and not to __strncmp_sse2).
15970 2018-06-12 Rafał Lużyński <digitalfreak@lingonborough.com>
15973 * localedata/locales/gd_GB (mon): Rename to...
15975 (mon): Import from CLDR (genitive case).
15976 * localedata/locales/hsb_DE (mon): Rename to...
15978 (mon): Import from CLDR (genitive case).
15979 * localedata/locales/wa_BE (mon): Rename to...
15981 (mon): Add, fill with the proper genitive forms, but CLDR data
15982 is incomplete; completed according to the comments in this file.
15983 (d_t_fmt): Do not use "di" before the month name, no longer needed.
15985 * localedata/locales/wa_BE (country_name): Reword
15986 "Beljike" -> "Beldjike".
15988 2018-06-11 Joseph Myers <joseph@codesourcery.com>
15991 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
15992 cases of non-finite arguments.
15993 * math/libm-test-fma.inc (fma_test_data): Add more tests.
15995 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
15998 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
16000 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16003 * include/unistd.h (__execvpex): New prototype.
16004 * posix/Makefile (tests): Add tst-spawn4.
16005 (tests-internal): Add tst-spawn4-compat.
16006 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
16007 * posix/tst-spawn4-compat.c: New file.
16008 * posix/tst-spawn4.c: Likewise.
16009 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
16010 binaries as shell scripts.
16011 * sysdeps/posix/spawni.c (__spawni): Likewise.
16013 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
16016 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
16017 ($(all-built-dso:=.dynsym): New target.
16018 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
16019 ($(objpfx)check-initfini.out): New target.
16020 (generated): Add check-initfini.out.
16021 * scripts/check-initfini.awk: New file.
16022 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
16024 * sysdeps/alpha/crti.S (_init): Mark as hidden.
16026 * sysdeps/arm/crti.S (_init): Mark as hidden.
16028 * sysdeps/hppa/crti.S (_init): Mark as hidden.
16030 * sysdeps/i386/crti.S (_init): Mark as hidden.
16032 * sysdeps/ia64/crti.S (_init): Mark as hidden.
16034 * sysdeps/m68k/crti.S (_init): Mark as hidden.
16036 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
16038 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
16040 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
16042 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
16044 * sysdeps/nios2/crti.S (_init): Mark as hidden.
16046 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
16048 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
16050 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
16052 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
16054 * sysdeps/sh/crti.S (_init): Mark as hidden.
16056 * sysdeps/sparc/crti.S (_init): Mark as hidden.
16058 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
16061 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16063 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
16064 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
16065 and TF redirection to KFtype and KF only when the default
16066 long double type is not the IEEE 128-bit floating point type.
16068 2018-06-05 Joseph Myers <joseph@codesourcery.com>
16070 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
16072 (HWCAP_USCAT): Likewise.
16073 (HWCAP_ILRCPC): Likewise.
16074 (HWCAP_FLAGM): Likewise.
16075 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
16077 (_dl_aarch64_cap_flags): Add new flag names.
16079 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16080 (MAP_FIXED_NOREPLACE): New macro.
16081 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
16082 (MAP_FIXED_NOREPLACE): Likewise.
16083 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
16084 (MAP_FIXED_NOREPLACE): Likewise.
16085 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16086 (MAP_FIXED_NOREPLACE): Likewise.
16087 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16088 (MAP_FIXED_NOREPLACE): Likewise.
16089 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16090 (MAP_FIXED_NOREPLACE): Likewise.
16091 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16092 (MAP_FIXED_NOREPLACE): Likewise.
16093 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
16094 (MAP_FIXED_NOREPLACE): Likewise.
16095 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16096 (MAP_FIXED_NOREPLACE): Likewise.
16097 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
16098 (MAP_FIXED_NOREPLACE): Likewise.
16099 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16100 (MAP_FIXED_NOREPLACE): Likewise.
16101 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16102 (MAP_FIXED_NOREPLACE): Likewise.
16103 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
16104 (MAP_FIXED_NOREPLACE): Likewise.
16105 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
16106 (MAP_FIXED_NOREPLACE): Likewise.
16107 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
16108 (MAP_FIXED_NOREPLACE): Likewise.
16110 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16113 2018-06-04 Joseph Myers <joseph@codesourcery.com>
16115 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16118 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16120 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
16122 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
16124 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16126 * benchtests/scripts/compare_string.py: (process_results) Catch
16127 exception in non-existent base_func and catch exception in
16128 non-existent attribute.
16129 (parse_file) Catch exception if input file does not exist.
16131 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16133 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
16134 options to avoid diff calculation and omit header, respectively.
16135 (main): process --no-diff and --no-header
16137 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16138 H.J. Lu <hongjiu.lu@intel.com>
16140 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16141 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
16143 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16144 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
16145 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
16146 and __wcsncmp_sse2.
16147 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
16148 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
16149 AVX unaligned load is fast and vzeroupper is preferred.
16150 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
16151 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
16152 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
16153 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
16154 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
16155 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
16156 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
16157 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
16158 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
16159 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
16162 2018-06-01 Florian Weimer <fweimer@redhat.com>
16164 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
16165 configuring with --disable-multi-arch, building with
16166 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
16169 2018-06-01 Florian Weimer <fweimer@redhat.com>
16171 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
16172 results from building with “-march=x86-64 -mtune=generic
16173 -mfpmath=sse” and running on a Haswell-era CPU.
16175 2018-06-01 Joseph Myers <joseph@codesourcery.com>
16178 * soft-fp/sqrttf2.c: Remove file.
16179 * soft-fp/sqrtdf2.c: Move to ....
16180 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
16182 (__sqrtdf2): Make conditional on
16183 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16185 * soft-fp/sqrtsf2.c: Move to ....
16186 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
16188 (__sqrtsf2): Make conditional on
16189 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16191 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
16192 (gcc-double-routines): Remove sqrtdf2.
16193 (gcc-quad-routines): Remove sqrttf2.
16194 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
16195 Do not filter out sqrtsf2 and sqrtdf2.
16196 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16197 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
16199 2018-06-01 Florian Weimer <fweimer@redhat.com>
16201 * sysdeps/generic/libcidn.abilist: Remove file.
16203 2018-06-01 Florian Weimer <fweimer@redhat.com>
16206 * libio/strfile.h (struct _IO_str_fields): Rename members to
16207 discourage their use and add comment.
16208 (_IO_STR_DYNAMIC): Remove unused macro.
16209 * libio/strops.c (_IO_str_init_static_internal): Do not use
16210 callback pointers. Call malloc and free.
16211 (_IO_str_overflow): Do not use callback pointers. Call malloc
16213 (enlarge_userbuf): Likewise.
16214 (_IO_str_finish): Call free.
16215 * libio/wstrops.c (_IO_wstr_init_static): Initialize
16216 _allocate_buffer_unused.
16217 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
16219 (enlarge_userbuf): Likewise.
16220 (_IO_wstr_finish): Call free.
16221 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
16222 _allocate_buffer_unused, _free_buffer_unused.
16223 * libio/memstream.c (__open_memstream): Likewise.
16224 * libio/vasprintf.c (_IO_vasprintf): Likewise.
16225 * libio/wmemstream.c (open_wmemstream): Likewise.
16227 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
16229 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
16232 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16234 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
16235 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
16236 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
16238 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
16240 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
16242 2018-05-29 Florian Weimer <fweimer@redhat.com>
16244 * support/Makefile (libsupport-routines): Add
16245 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
16246 xpthread_barrierattr_setpshared.
16247 * support/xpthread_barrierattr_destroy.c: New file.
16248 * support/xpthread_barrierattr_init.c: Likewise.
16249 * support/xpthread_barrierattr_setpshared.c: Likewise.
16251 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
16254 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
16255 _r_debug and update DT_DEBUG for debugger.
16257 2018-05-29 Florian Weimer <fweimer@redhat.com>
16259 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
16260 (tst-strtod5i.out): Likewise.
16262 2018-05-25 Joseph Myers <joseph@codesourcery.com>
16264 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
16265 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
16266 (sparc64-quad-routines): New variable. Moved from ....
16267 [$(subdir) = soft-fp] (sysdep_routines): Add
16268 $(sparc64-quad-routines). Moved from ....
16269 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
16270 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
16271 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
16273 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
16274 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
16275 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
16276 * sysdeps/sparc/sparc64/qp_add.c: ... here.
16277 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
16278 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
16279 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
16280 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
16281 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
16282 * sysdeps/sparc/sparc64/qp_div.c: ... here.
16283 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
16284 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
16285 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
16286 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
16287 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
16288 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
16289 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
16290 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
16291 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
16292 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
16293 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
16294 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
16295 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
16296 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
16297 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
16298 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
16299 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
16300 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
16301 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
16302 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
16303 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
16304 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
16305 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
16306 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
16307 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
16308 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
16309 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
16310 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
16311 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
16312 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
16313 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
16314 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
16315 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
16316 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
16317 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
16318 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
16319 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
16320 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
16321 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
16322 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
16323 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
16324 * sysdeps/sparc/sparc64/qp_util.c: ... here.
16325 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
16326 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
16327 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
16328 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
16329 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
16330 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
16332 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
16333 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
16334 (sparc32-quad-routines): New variable. Moved from ....
16335 [$(subdir) = soft-fp] (sysdep_routines): Add
16336 $(sparc32-quad-routines). Moved from ....
16337 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
16338 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
16340 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
16341 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
16342 * sysdeps/sparc/sparc32/q_add.c: ... here.
16343 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
16344 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
16345 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
16346 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
16347 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
16348 * sysdeps/sparc/sparc32/q_div.c: ... here.
16349 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
16350 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
16351 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
16352 * sysdeps/sparc/sparc32/q_feq.c: ... here.
16353 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
16354 * sysdeps/sparc/sparc32/q_fge.c: ... here.
16355 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
16356 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
16357 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
16358 * sysdeps/sparc/sparc32/q_fle.c: ... here.
16359 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
16360 * sysdeps/sparc/sparc32/q_flt.c: ... here.
16361 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
16362 * sysdeps/sparc/sparc32/q_fne.c: ... here.
16363 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
16364 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
16365 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
16366 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
16367 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
16368 * sysdeps/sparc/sparc32/q_mul.c: ... here.
16369 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
16370 * sysdeps/sparc/sparc32/q_neg.c: ... here.
16371 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
16372 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
16373 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
16374 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
16375 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
16376 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
16377 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
16378 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
16379 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
16380 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
16381 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
16382 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
16383 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
16384 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
16385 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
16386 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
16387 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
16388 * sysdeps/sparc/sparc32/q_sub.c: ... here.
16389 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
16390 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
16391 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
16392 * sysdeps/sparc/sparc32/q_util.c: ... here.
16393 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
16394 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
16395 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
16396 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
16398 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16399 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16401 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
16402 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
16403 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
16404 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
16406 2018-05-24 Joseph Myers <joseph@codesourcery.com>
16408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
16410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16412 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
16413 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
16415 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16418 * math/math.h [C++] (iseqsig): Fix parameter type for the long
16421 2018-05-23 Joseph Myers <joseph@codesourcery.com>
16423 * sysdeps/sh/Implies: Remove sh/soft-fp.
16424 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
16425 * sysdeps/sh/sfp-machine.h: ... here.
16427 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
16429 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16430 (__mempcpy_erms): Skip zero length.
16431 (__memmove_erms): Likewise.
16432 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16433 (__memset_erms): Likewise.
16435 2018-05-23 Joseph Myers <joseph@codesourcery.com>
16437 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
16438 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
16439 Add functions moved from ....
16440 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
16441 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
16442 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
16444 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
16445 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
16446 * sysdeps/alpha/e_sqrtl.c: ... here.
16447 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
16448 * sysdeps/alpha/local-soft-fp.h: ... here.
16449 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
16450 * sysdeps/alpha/ots_add.c: ... here.
16451 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
16452 * sysdeps/alpha/ots_cmp.c: ... here.
16453 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
16454 * sysdeps/alpha/ots_cmpe.c: ... here.
16455 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
16456 * sysdeps/alpha/ots_cvtqux.c: ... here.
16457 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
16458 * sysdeps/alpha/ots_cvtqx.c: ... here.
16459 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
16460 * sysdeps/alpha/ots_cvttx.c: ... here.
16461 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
16462 * sysdeps/alpha/ots_cvtxq.c: ... here.
16463 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
16464 * sysdeps/alpha/ots_cvtxt.c: ... here.
16465 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
16466 * sysdeps/alpha/ots_div.c: ... here.
16467 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
16468 * sysdeps/alpha/ots_mul.c: ... here.
16469 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
16470 * sysdeps/alpha/ots_nintxq.c: ... here.
16471 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
16472 * sysdeps/alpha/ots_sub.c: ... here.
16473 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
16474 * sysdeps/alpha/sfp-machine.h: ... here.
16476 2018-05-23 Florian Weimer <fweimer@redhat.com>
16484 Switch to extern IDNA implementation (libidn2).
16485 * libidn: Remove subdirectory.
16486 * LICENSES: Do not mention licensing conditions for the removed
16488 * config.h.in (HAVE_LIBIDN): Remove.
16489 * include/dlfcn.h (__libc_dlopen): Update comment.
16490 * include/idna.h: Remove file.
16491 * inet/Makefile (routines): Add idna.
16492 (tests-static, tests-internal): Add tst-idna_name_classify.
16493 (LOCALES): Generate locales for tests.
16494 (tst-idna_name_classify.out): Depend on generated locales.
16495 * inet/idna_name_classify.c: New file.
16496 * inet/tst-idna_name_classify.c: Likewise.
16497 * inet/net-internal.h (__idna_to_dns_encoding)
16498 (__idna_from_dns_encoding): Declare.
16499 * inet/net-internal.h (enum idna_name_classification): Define.
16500 (__idna_name_classify): Declare.
16501 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
16502 __idna_from_dns_encoding.
16503 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
16504 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
16505 name as a fallback in case of encoding errors.
16506 (getnameinfo): Use DEPRECATED_NI_IDN.
16507 * inet/idna.c: New file.
16508 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
16509 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
16510 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
16511 (modules-names): Add tst-no-libidn2.
16512 (extra-test-objs): Add tst-no-libidn2.os.
16513 (LDFLAGS-tst-no-libidn2.so): Set soname.
16514 (LOCALES): Set, and generate locales.
16515 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
16516 (tst-resolv-ai_idn-latin1): Likewise.
16517 (tst-resolv-ai_idn-nolibidn2): Likewise.
16518 (tst-resolv-ai_idn.out): Depend on locales.
16519 (tst-resolv-ai_idn-latin1.out): Depend on locales.
16520 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
16522 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
16523 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
16524 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
16525 * resolv/tst-resolv-ai_idn.c: New file.
16526 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
16527 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
16528 * resolv/tst-no-libidn2.c: Likewise.
16529 * support/support_format_addrinfo.c (format_ai_flags): Do not
16530 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
16531 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
16532 (gaih_inet): Call __idna_to_dns_encoding and
16533 __idna_from_dns_encoding, and use the original (punycode) name if
16534 __idna_from_dns_encoding fails due to an encoding error.
16535 (getaddrinfo): Use DEPRECATED_AI_IDN.
16536 * sysdeps/unix/inet/Subdirs (libidn): Remove.
16537 * sysdeps/unix/inet/configure: Remove file.
16538 * sysdeps/unix/inet/configure.ac: Likewise.
16540 2018-05-23 Florian Weimer <fweimer@redhat.com>
16542 Implement allocate_once.
16543 * include/allocate_once.h: New file.
16544 * misc/allocate_once.c: Likewise.
16545 * misc/tst-allocate_once.c: Likewise.
16546 * misc/Makefile (routines): Add allocate_once.
16547 (tests-internal): Add tst-allocate_once.
16548 (generated): Add tst-allocate_once.mtrace,
16549 tst-allocate_once-mem.out.
16550 (tests-special): Add tst-allocate_once-mem.out.
16551 (tst-allocate_once-ENV): Set MALLOC_TRACE.
16552 (tst-allocate_once-mem.out): Call mtrace.
16553 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
16555 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
16558 * string/test-memcpy.c (do_test1): New function.
16559 (test_main): Call it.
16561 2018-05-23 Andreas Schwab <schwab@suse.de>
16565 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
16566 (L(preloop_large)): Save initial destination pointer in %r11 and
16567 use it instead of %rax after the loop.
16568 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
16570 2018-05-22 Joseph Myers <joseph@codesourcery.com>
16572 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
16573 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
16574 -I../soft-fp. Moved from ....
16575 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
16576 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
16577 * sysdeps/aarch64/e_sqrtl.c: ... here.
16578 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
16579 * sysdeps/aarch64/sfp-machine.h: ... here.
16581 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
16582 -Wmaybe-uninitialized around access to fq[0].
16583 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16587 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
16588 aliases for non-libc case of versioned symbols.
16589 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
16590 (llseek): Define as compat symbol if
16591 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
16593 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
16594 Make into a compat symbol, disabled for minimum symbol version
16595 GLIBC_2.28 and later.
16596 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
16598 2018-05-22 Florian Weimer <fweimer@redhat.com>
16600 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
16601 not add -mpreferred-stack-boundary=4.
16602 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
16603 (stack-align-test-flags): Likewise.
16604 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
16606 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
16607 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
16608 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
16609 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
16610 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
16611 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
16612 (CFLAGS-tst-align2.c): Likewise.
16614 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
16616 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
16617 (index_arch_Prefer_FSRM): Likewise.
16618 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
16619 Also check Prefer_FSRM.
16620 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
16621 Also return OPTIMIZE (erms) for Prefer_FSRM.
16623 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
16625 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
16626 (index_cpu_FSRM): Likewise.
16627 (reg_FSRM): Likewise.
16629 2018-05-18 Joseph Myers <joseph@codesourcery.com>
16631 * math/gen-tgmath-tests.py: Import sys.
16632 (Tests.__init__): Initialize macros_seen.
16633 (Tests.add_tests): Add macro to macros_seen. Only generate tests
16634 if requested to do so for this macro.
16635 (Tests.add_all_tests): Take argument for macro for which to
16637 (Tests.check_macro_list): New function.
16638 (main): Handle check-list argument and argument specifying macro
16639 for which to generate tests.
16640 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
16641 [PYTHON] (tgmath3-macro-tests): Likewise.
16642 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
16643 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
16644 not test-tgmath3.c.
16645 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
16646 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
16648 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
16649 [PYTHON] ($(foreach
16650 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
16652 [PYTHON] (tests-special): Add
16653 $(objpfx)test-tgmath3-macro-list.out.
16654 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
16656 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
16657 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
16661 * time/tzset.c (SECSPERDAY): Cast to time_t.
16662 * time/tst-y2039.c: New file.
16663 * time/Makefile (tests): Add tst-y2039.
16665 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16667 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16668 (PREFETCH_ONE_SET): Remove duplicate line.
16670 2018-05-17 Florian Weimer <fweimer@redhat.com>
16672 * sysdeps/generic/math-type-macros-double.h: Include
16673 <math-nan-payload-double.h> after <libm-alias-double.h>.
16674 * sysdeps/generic/math-type-macros-float.h: Include
16675 <math-nan-payload-float.h> after <libm-alias-float.h>.
16676 * sysdeps/generic/math-type-macros-float128.h: Include
16677 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
16678 * sysdeps/generic/math-type-macros-ldouble.h: Include
16679 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
16681 2018-05-17 Andreas Schwab <schwab@suse.de>
16683 * resolv/res_send.c (__res_context_send): Don't set errno when
16684 returing error after malloc failure.
16686 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
16688 * nptl/allocatestack.c (allocate_stack): Remove the
16689 !__ASSUME_PRIVATE_FUTEX paths.
16690 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
16691 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
16693 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
16694 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
16695 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
16696 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
16697 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
16698 !__ASSUME_PRIVATE_FUTEX path.
16699 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
16700 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
16701 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
16702 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
16703 !__ASSUME_PRIVATE_FUTEX macros.
16704 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
16705 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
16706 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
16707 * sysdeps/unix/sysv/linux/kernel-features.h
16708 (__ASSUME_PRIVATE_FUTEX): Removed.
16710 2018-05-17 Joseph Myers <joseph@codesourcery.com>
16712 * math/Makefile (libm-narrow-fns): Add div.
16713 (libm-test-funcs-narrow): Likewise.
16714 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
16715 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
16716 * math/gen-auto-libm-tests.c (test_functions): Add div.
16717 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
16718 (NARROW_DIV_ROUND_TO_ODD): Likewise.
16719 (NARROW_DIV_TRIVIAL): Likewise.
16720 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
16722 (__ddivl): Likewise.
16723 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
16725 (CFLAGS-nldbl-ddiv.c): New variable.
16726 (CFLAGS-nldbl-fdiv.c): Likewise.
16727 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16729 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
16731 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
16732 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
16733 * math/auto-libm-test-in: Add tests of div.
16734 * math/auto-libm-test-out-narrow-div: New generated file.
16735 * math/libm-test-narrow-div.inc: New file.
16736 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
16737 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
16738 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
16739 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
16740 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
16741 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
16742 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
16743 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
16744 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
16745 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
16746 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
16747 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
16748 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
16749 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
16750 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
16751 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
16752 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
16753 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
16754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16755 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16756 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16757 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16758 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16759 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16760 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16761 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16762 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16763 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16764 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16765 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16766 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16767 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16772 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16773 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16774 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16775 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16776 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16777 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16778 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16779 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16781 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16784 * nscd/nscd-client.h (sendfileall): Remove prototype.
16785 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
16786 (handle_request): Use writeall instead of sendfileall.
16787 * nscd/aicache.c (addhstaiX): Likewise.
16788 * nscd/grpcache.c (cache_addgr): Likewise.
16789 * nscd/hstcache.c (cache_addhst): Likewise.
16790 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16791 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
16792 * nscd/pwdcache.c (cache_addpw): Likewise.
16793 * nscd/servicescache.c (cache_addserv): Likewise.
16794 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
16795 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
16796 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
16799 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
16801 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
16802 Include <string/strncat.c>.
16803 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
16805 (__GI___strncat): New hidden alias.
16807 2018-05-16 Joseph Myers <joseph@codesourcery.com>
16809 * sysdeps/mips/mips32/libm-test-ulps: Update.
16810 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16812 2018-05-16 Florian Weimer <fweimer@redhat.com>
16814 * support/Makefile (libsupport-routines): Add support_quote_blob,
16815 support_test_compare_blob.
16816 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
16817 * support/check.h (TEST_COMPARE_BLOB): Define.
16818 (support_test_compare_blob): Declare.
16819 * support/support.h (support_quote_blob): Declare.
16820 * support/support_quote_blob.c: New file.
16821 * support/support_test_compare_blob.c: Likewise.
16822 * support/tst-support_quote_blob.c: Likewise.
16823 * support/tst-test_compare_blob.c: Likewise.
16825 2018-05-16 Florian Weimer <fweimer@redhat.com>
16827 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
16828 of <strtod_nan_double.h>.
16829 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
16830 instead of SET_MANTISSA.
16831 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
16832 of include <strtod_nan_float.h>.
16833 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
16834 instead of <strtod_nan_ldouble.h>.
16835 * stdlib/strtod_nan_double.h: Move to ...
16836 * sysdeps/generic/math-nan-payload-double.h: ... here.
16837 (FLOAT): Remove definition.
16838 (SET_MANTISSA): Rename to ...
16839 (SET_NAN_PAYLOAD): ... this.
16840 * stdlib/strtod_nan_float.h: Move to ...
16841 * sysdeps/generic/math-nan-payload-float.h: ... here.
16842 (FLOAT): Remove definition.
16843 (SET_MANTISSA): Rename to ...
16844 (SET_NAN_PAYLOAD): ... this.
16845 * sysdeps/generic/math-type-macros-double.h: Include
16846 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
16847 instead of <math-svid-compat.h>.
16848 * sysdeps/generic/math-type-macros-float.h: Include
16849 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
16850 instead of <math-svid-compat.h>.
16851 * sysdeps/generic/math-type-macros-float128.h: Include
16852 <math-nan-payload-float128.h>.
16853 * sysdeps/generic/math-type-macros-ldouble.h: Include
16854 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
16855 instead of <math-svid-compat.h>.
16856 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
16857 check for definition.
16858 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
16859 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
16860 Include <ieee754_float128.h>.
16861 (FLOAT): Remove definition.
16862 (SET_MANTISSA): Rename to ...
16863 (SET_NAN_PAYLOAD): ... this.
16864 * sysdeps/ieee754/float128/strtof128_nan.c: Include
16865 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
16866 Do not include <float128_private.h>.
16867 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
16868 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
16869 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
16870 (FLOAT): Remove definition.
16871 (SET_MANTISSA): Rename to ...
16872 (SET_NAN_PAYLOAD): ... this.
16873 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
16874 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
16875 (FLOAT): Remove definition.
16876 (SET_MANTISSA): Rename to ...
16877 (SET_NAN_PAYLOAD): ... this.
16878 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
16879 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
16880 (FLOAT): Remove definition.
16881 (SET_MANTISSA): Rename to ...
16882 (SET_NAN_PAYLOAD): ... this.
16883 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
16884 of "../stdlib/strtod_nan_double.h".
16885 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
16886 of "../stdlib/strtod_nan_float.h".
16887 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
16888 instead of "../stdlib/strtod_nan_ldouble.h".
16889 * manual/arith.texi (Parsing of Floats): Adjust comment.
16891 2018-05-16 Joseph Myers <joseph@codesourcery.com>
16893 * math/Makefile (libm-narrow-fns): Add mul.
16894 (libm-test-funcs-narrow): Likewise.
16895 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
16896 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
16897 * math/gen-auto-libm-tests.c (test_functions): Add mul.
16898 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
16899 (NARROW_MUL_ROUND_TO_ODD): Likewise.
16900 (NARROW_MUL_TRIVIAL): Likewise.
16901 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
16902 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
16904 (__dmull): Likewise.
16905 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
16907 (CFLAGS-nldbl-dmul.c): New variable.
16908 (CFLAGS-nldbl-fmul.c): Likewise.
16909 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16911 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
16913 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
16914 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
16915 * math/auto-libm-test-in: Add tests of mul.
16916 * math/auto-libm-test-out-narrow-mul: New generated file.
16917 * math/libm-test-narrow-mul.inc: New file.
16918 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
16919 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
16920 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
16921 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
16922 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
16923 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
16924 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
16925 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
16926 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
16927 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
16928 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
16929 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
16930 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
16931 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
16932 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
16933 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
16934 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
16935 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
16936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16937 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16938 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16939 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16940 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16941 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16942 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16943 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16944 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16945 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16946 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16947 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16948 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16949 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16954 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16955 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16956 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16957 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16958 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16959 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16960 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16961 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16963 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
16965 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
16966 with *%eax in call.
16968 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
16970 * sysdeps/i386/ldsodefs.h: Removed.
16971 * sysdeps/x86_64/ldsodefs.h: Moved to ...
16972 * sysdeps/x86/ldsodefs.h: This.
16973 (La_i86_regs): New.
16974 (La_i86_retval): Likewise.
16975 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
16976 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
16978 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
16980 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
16983 2018-05-13 Alan Modra <amodra@gmail.com>
16985 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
16986 R_PARISC_TLS_DTPOFF32 reloc addend.
16988 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16990 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
16991 * math/math.h: Restrict the prototype definition for the functions
16992 issignaling(_Float128) and iszero(_Float128); and template
16993 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
16994 __HAVE_FLOAT128_UNLIKE_LDBL.
16995 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
16996 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
16997 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
16998 __f128() constants; define the type _Float128 as long double;
16999 and reuse long double in __CFLOAT128.
17001 2018-05-11 Joseph Myers <joseph@codesourcery.com>
17003 * sysdeps/generic/math_private.h: Do not include
17005 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
17007 * math/fromfp.h: Include <math-barriers.h>.
17008 * math/math-narrow.h: Likewise.
17009 * math/s_nextafter.c: Likewise.
17010 * math/s_nexttowardf.c: Likewise.
17011 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
17012 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
17013 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
17014 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
17015 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17016 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17017 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17018 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17019 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17020 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17021 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17022 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17023 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17024 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17025 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
17026 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17027 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17028 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17029 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17030 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17031 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17032 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17033 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17034 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17035 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17036 * sysdeps/ieee754/k_standardl.c: Likewise.
17037 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17038 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17039 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17040 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17041 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17042 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17043 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17044 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17045 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17046 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17047 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17048 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17049 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17050 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17051 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17052 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17053 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
17054 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
17055 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17056 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17057 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
17058 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
17060 2018-05-11 Florian Weimer <fweimer@redhat.com>
17062 Use 64-bit epoch values in the time zone file parser.
17063 * include/time.h (internal_time_t): Define.
17064 (__tzfile_compute): Use it.
17065 * time/tzfile.c (struct leap): Use internal_time_t for epoch
17067 (transitions): Switch to internal_time_t.
17068 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
17070 (__tzfile_compute): Use internal_time_t for timer argument. Check
17071 for truncation before calling __offtime.
17073 2018-05-11 Florian Weimer <fweimer@redhat.com>
17076 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
17077 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
17079 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
17080 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
17081 export without --enable-obsolete-rpc.
17082 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
17083 symbol. This should not have been exported, ever.
17085 2018-05-11 Rafał Lużyński <digitalfreak@lingonborough.com>
17088 * localedata/locales/gd_GB (abmon): Fix typo in May:
17089 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
17091 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
17093 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
17094 Use multiple registers to copy data in loop tail.
17096 * sysdeps/aarch64/multiarch/memmove_falkor.S
17097 (__memmove_falkor): Use multiple registers to move data in
17100 2018-05-10 Joseph Myers <joseph@codesourcery.com>
17102 * math/math-underflow.h: New file.
17103 * sysdeps/generic/math_private.h: Do not include <float.h>.
17104 (fabs_tg): Remove macro. Moved to math-underflow.h.
17105 (min_of_type_f): Likewise.
17106 (min_of_type_): Likewise.
17107 (min_of_type_l): Likewise.
17108 (min_of_type_f128): Likewise.
17109 (min_of_type): Likewise.
17110 (math_check_force_underflow): Likewise.
17111 (math_check_force_underflow_nonneg): Likewise.
17112 (math_check_force_underflow_complex): Likewise.
17113 * math/e_exp2_template.c: Include <math-underflow.h>.
17114 * math/k_casinh_template.c: Likewise.
17115 * math/s_catan_template.c: Likewise.
17116 * math/s_catanh_template.c: Likewise.
17117 * math/s_ccosh_template.c: Likewise.
17118 * math/s_cexp_template.c: Likewise.
17119 * math/s_clog10_template.c: Likewise.
17120 * math/s_clog_template.c: Likewise.
17121 * math/s_csin_template.c: Likewise.
17122 * math/s_csinh_template.c: Likewise.
17123 * math/s_csqrt_template.c: Likewise.
17124 * math/s_ctan_template.c: Likewise.
17125 * math/s_ctanh_template.c: Likewise.
17126 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17127 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17128 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17129 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17130 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17131 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17132 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17133 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17134 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17135 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17136 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17137 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17138 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17139 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17140 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17141 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17142 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17143 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17144 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17145 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17146 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17147 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17148 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17149 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17150 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17151 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17152 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17153 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17154 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17155 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17156 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17157 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17158 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17159 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17160 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17161 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17162 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17163 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17164 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17165 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17166 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17167 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17168 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17169 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17170 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17171 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17172 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17173 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17174 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17175 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17176 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17177 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17178 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17179 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17180 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17181 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17182 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17183 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17184 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17185 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17186 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17187 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17188 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17189 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17190 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17191 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17192 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17193 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17194 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17195 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17196 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17197 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17198 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17199 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
17200 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17201 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17202 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17203 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17204 * sysdeps/x86/fpu/powl_helper.c: Likewise.
17205 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
17206 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
17207 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17208 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
17209 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
17211 2018-05-09 Joseph Myers <joseph@codesourcery.com>
17213 * sysdeps/generic/math-barriers.h: New file.
17214 * sysdeps/generic/math_private.h [!math_opt_barrier]
17215 (math_opt_barrier): Move to math-barriers.h.
17216 [!math_opt_barrier] (math_force_eval): Likewise.
17217 * sysdeps/aarch64/fpu/math-barriers.h: New file.
17218 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
17220 (math_force_eval): Likewise.
17221 * sysdeps/alpha/fpu/math-barriers.h: New file.
17222 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
17224 (math_force_eval): Likewise.
17225 * sysdeps/x86/fpu/math-barriers.h: New file.
17226 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
17228 (math_force_eval): Likewise.
17229 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
17230 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
17231 multiple-include guard for rename.
17232 * sysdeps/powerpc/fpu/math-barriers.h: New file.
17233 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
17235 (math_force_eval): Likewise.
17237 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
17241 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
17243 * stdlib/Makefile (test-bz22786): New test.
17244 * stdlib/test-bz22786.c: New test.
17246 2018-05-09 Joseph Myers <joseph@codesourcery.com>
17248 * include/math-narrow-eval.h: New file. Contents moved from ....
17249 * sysdeps/generic/math_private.h: ... here.
17250 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
17251 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
17252 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
17253 * stdlib/strtod_l.c: Likewise.
17254 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17255 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
17256 * sysdeps/i386/fpu/s_fdim.c: Likewise.
17257 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17258 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17259 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17260 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17261 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17262 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17263 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17264 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17265 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
17266 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17267 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17268 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17269 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17270 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17271 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17272 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17273 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17274 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17275 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17276 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17277 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17278 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
17279 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17280 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17281 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17282 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17284 2018-05-08 Andreas Schwab <schwab@suse.de>
17286 * sysdeps/nptl/internaltypes.h: Fix comment.
17288 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
17290 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17291 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
17294 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
17296 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
17297 of I into loop header.
17298 * benchtests/bench-memmove-walk.c
17299 (test_main): Likewise.
17301 2018-05-07 Alexandre Oliva <oliva@gnu.org>
17304 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
17305 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
17307 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17310 * elf/dl-load.c (open_verify): Fix stack overflow.
17311 * elf/Makefile (tst-big-note): New test.
17312 * elf/tst-big-note-lib.S: New.
17313 * elf/tst-big-note.c: New.
17315 2018-05-04 Joseph Myers <joseph@codesourcery.com>
17317 * scripts/abilist.awk: Ignore absolute symbols.
17318 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
17319 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
17320 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
17321 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
17322 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
17323 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
17324 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17325 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
17326 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
17327 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
17328 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
17329 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
17330 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
17331 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
17332 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
17333 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
17334 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
17335 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
17336 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17337 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
17338 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
17339 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
17340 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
17341 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
17342 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
17343 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
17344 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
17345 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
17346 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17347 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
17348 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
17349 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17350 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
17351 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
17352 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
17353 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
17354 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
17355 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
17356 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
17357 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
17358 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
17359 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17360 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
17361 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
17362 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17363 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
17364 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
17365 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
17366 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
17367 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
17368 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
17369 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
17370 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
17371 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
17372 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17373 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
17374 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
17375 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17376 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
17377 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
17378 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
17379 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
17380 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
17381 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
17382 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
17383 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
17384 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
17385 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17386 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
17387 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
17388 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17389 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
17390 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
17391 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
17392 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
17393 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
17394 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
17395 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
17396 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
17397 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
17398 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17399 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
17400 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
17401 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17402 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
17403 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
17404 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
17405 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
17406 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
17407 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
17408 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
17409 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
17411 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
17412 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17413 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
17414 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
17415 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17416 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
17417 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
17418 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
17419 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
17420 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
17421 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
17422 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
17423 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
17425 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
17426 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17427 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
17428 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
17429 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17430 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
17431 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
17432 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
17433 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
17434 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
17435 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
17436 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
17437 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
17438 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
17439 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17440 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
17441 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
17442 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17443 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
17444 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
17445 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
17446 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
17447 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
17448 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
17449 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17450 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
17451 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
17453 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
17454 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
17455 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
17456 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
17457 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17458 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
17459 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
17460 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
17461 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
17462 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
17463 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
17464 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
17465 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
17466 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
17467 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
17468 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
17469 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
17470 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
17471 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
17472 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
17474 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
17475 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
17476 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
17477 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17478 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
17479 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
17480 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
17481 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
17482 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
17483 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
17484 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17485 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
17486 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
17487 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17488 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
17489 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
17490 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
17491 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
17492 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17493 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
17494 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
17495 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17496 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
17497 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
17498 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
17499 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
17500 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
17501 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
17502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
17503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
17505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
17507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
17508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
17509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
17510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
17511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
17513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
17515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
17516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
17518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
17519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
17524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
17525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
17527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
17529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
17531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
17532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
17533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
17536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
17537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
17538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
17539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
17543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
17544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
17546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
17548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
17550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
17552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
17553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
17554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
17556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
17558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
17560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
17561 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
17562 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
17564 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
17565 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
17566 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
17567 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
17568 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17569 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
17570 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
17571 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
17572 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
17573 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
17574 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
17575 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
17576 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
17577 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
17579 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17580 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
17581 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
17582 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17583 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
17584 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
17585 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
17586 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
17587 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
17588 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
17589 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
17590 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
17592 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17593 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
17594 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
17595 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17596 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
17597 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
17598 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
17599 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
17600 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
17601 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
17602 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
17603 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
17604 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
17605 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17606 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
17607 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
17608 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17609 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
17610 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
17611 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
17612 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
17613 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
17614 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
17615 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
17616 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
17618 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
17619 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17620 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
17621 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
17622 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17623 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
17624 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
17625 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
17626 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
17627 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
17628 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
17629 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
17630 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
17632 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
17633 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17634 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
17635 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
17636 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17637 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
17638 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
17639 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
17640 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
17641 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
17642 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
17643 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
17644 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
17645 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
17646 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17647 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
17648 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
17649 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17650 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
17651 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
17652 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
17653 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
17654 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
17655 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
17656 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
17657 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
17658 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
17659 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
17660 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17661 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
17662 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
17663 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17664 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
17665 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
17666 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
17667 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
17668 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
17669 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
17671 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
17674 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
17675 Use atomic_load_acquire to load __tid.
17677 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
17679 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
17680 Restore the pointer into %rdx, after syscall and use %rdx,
17681 instead of %rsi, to restore context.
17683 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
17685 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
17686 Pop the pointer into %rdx after syscall and use %rdx, instead
17687 of %rsi, to restore context.
17689 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
17691 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
17692 handlers after setjmp.
17693 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
17695 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
17696 <libc-pointer-arith.h>.
17697 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
17698 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
17699 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
17700 _JUMP_BUF_SIGSET_BITS_PER_WORD.
17701 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
17702 * sysdeps/x86/__longjmp_cancel.S: New file.
17703 * sysdeps/x86/longjmp.c: Likewise.
17704 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
17706 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17708 * NEWS: Add ustat.h deprecation entry.
17709 * bits/ustat.h: Remove file.
17710 * misc/sys/ustat.h: Likewise.
17711 * misc/ustat.h: Likewise.
17712 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
17713 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
17714 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
17715 compatibility mode.
17716 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
17717 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
17718 generic Linux implementation.
17720 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17722 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
17723 * math/w_expl_compat.c: Likewise.
17724 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
17726 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
17728 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
17730 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17732 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
17733 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
17734 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
17736 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
17737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17738 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17739 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
17740 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
17743 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17745 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
17747 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
17748 * math/w_asin_template.c: Likewise.
17749 * math/w_atanh_template.c: Likewise.
17751 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17753 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
17754 to powerpc/powerpc64/be for big-endian.
17755 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
17758 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
17759 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
17760 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
17761 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
17762 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17763 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
17764 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
17765 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
17766 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
17767 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
17768 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
17769 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
17770 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
17771 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
17772 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
17773 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
17774 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
17775 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
17776 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
17777 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
17778 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
17779 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
17780 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
17781 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
17782 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
17783 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
17784 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
17785 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
17786 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
17787 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
17788 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
17789 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
17791 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
17792 adjusted to imply powerpc64 and older processors on powerpc64/be.
17793 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
17794 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
17795 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
17796 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
17797 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
17798 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
17799 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
17800 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
17801 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
17802 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
17803 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
17804 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
17805 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
17806 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
17807 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
17808 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
17809 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
17810 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
17811 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
17812 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
17813 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
17814 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
17815 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
17816 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
17817 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
17818 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
17819 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
17820 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
17821 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
17822 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
17823 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
17825 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
17826 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
17827 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
17828 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
17830 * sysdeps/powerpc/powerpc64/be/Implies: New file.
17831 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
17832 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
17833 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
17835 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
17836 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
17837 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
17838 * sysdeps/powerpc/powerpc64le/configure: Likewise.
17839 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
17840 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
17841 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
17842 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
17843 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
17844 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
17845 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
17847 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
17848 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
17849 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
17850 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
17851 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
17852 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
17853 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
17854 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
17855 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
17856 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
17857 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
17859 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
17860 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
17861 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
17862 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
17863 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
17864 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
17865 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
17866 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
17867 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
17868 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
17869 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
17870 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
17872 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
17873 and adjusted to imply olders processors.
17874 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
17875 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
17876 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
17877 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
17878 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
17879 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
17880 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
17881 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
17882 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
17883 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
17884 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
17886 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
17888 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
17889 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
17891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
17893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
17894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
17896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
17898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
17900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
17902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
17903 powerpc64 and adjusted.
17904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
17905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
17906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
17909 2018-04-27 Joseph Myers <joseph@codesourcery.com>
17911 * sysdeps/tile: Remove.
17912 * sysdeps/unix/sysv/linux/tile: Likewise.
17913 * README (tilegx-*-linux-gnu): Remove from list of supported
17915 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
17916 contribution of support for generic Linux kernel syscall
17918 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
17919 tilegx configurations.
17920 (Config.install_linux_headers): Do not handle tile.
17921 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
17923 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
17924 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
17925 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
17926 conditional undefine and redefine.
17927 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
17929 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
17930 conditional undefine and redefine.
17932 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
17934 * signal/tst-sigaction.c: New file to test BZ #23069.
17935 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
17937 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17940 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
17941 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
17942 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
17943 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
17945 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17947 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
17948 _DIRENT_MATCHES_DIRENT64 is not defined.
17949 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
17950 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
17952 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
17953 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
17955 2018-04-25 Joseph Myers <joseph@codesourcery.com>
17957 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
17958 version to GCC 8 branch.
17960 2018-04-24 Joseph Myers <joseph@codesourcery.com>
17962 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
17963 (check_no_hidden): Use type of original function when declaring
17966 * sysdeps/unix/sysv/linux/sys/ptrace.h
17967 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
17968 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
17969 (struct __ptrace_seccomp_metadata): New type.
17970 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
17971 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17972 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
17973 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17974 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
17975 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17976 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
17977 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17978 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
17979 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17980 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
17981 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17982 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
17983 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17984 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
17985 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17987 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17989 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
17991 * dirent/versionsort.c (versionsort): Likewise.
17992 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
17993 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
17994 * dirent/versionsort64.c (versionsort64): Likewise.
17995 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
17996 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
17997 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
17998 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
17999 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
18000 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
18001 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
18002 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
18003 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
18004 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
18005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
18006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
18007 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
18008 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
18010 2018-04-23 Joseph Myers <joseph@codesourcery.com>
18012 * elf/elf.h (NT_PPC_PKEY): New macro.
18014 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
18017 * localedata/locales/hr_HR: fix thousands_sep and
18020 2018-04-20 Joseph Myers <joseph@codesourcery.com>
18022 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
18023 (XTABS): Define to TAB3.
18025 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18027 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18029 * dirent/scandir-tail-common.c: New file.
18030 * dirent/scandir-tail.c: Use scandir-tail-common.c.
18031 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
18032 * dirent/scandir.c: Use scandir-tail-common.c.
18033 * dirent/scandirat.c: Likewise.
18034 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
18035 * dirent/scandir64.c (scandir64): Always build and alias to scandir
18036 if _DIRENT_MATCHES_DIRENT64 is defined.
18037 * dirent/scandirat64.c (scandirat64): Likewise.
18038 * include/dirent.h (__scandir_tail): Only define iff
18039 _DIRENT_MATCHES_DIRENT64 is not defined.
18040 (__scandir64_tail): Define regardless.
18041 (__scandirat, scandirat64): Remove libc_hidden_proto.
18042 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
18043 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
18044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
18045 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
18046 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18047 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
18048 * sysdeps/unix/sysv/linux/scandir64.c: New file.
18050 2018-04-20 Joseph Myers <joseph@codesourcery.com>
18052 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
18054 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
18056 (_dl_aarch64_cap_flags): Add asimdfhm.
18058 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
18060 * sysdeps/nios2/libm-test-ulps: Update.
18062 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18064 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
18065 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
18067 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
18069 (_DIRENT_MATCHES_DIRENT64): Undef
18070 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
18071 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
18072 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
18073 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
18074 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
18075 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
18076 use getdents64 syscalls as base.
18077 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
18078 symbol if required.
18079 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
18080 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
18081 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
18082 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
18083 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
18084 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
18085 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
18086 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
18087 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18088 (__get_clockfreq_via_proc_openprom): Use __getdents64.
18089 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
18091 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18093 * scripts/test_printers_common.py (init_test): Disable lock elision.
18095 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18097 * math/test-tgmath.c (count_double, count_float,
18098 count_ldouble, count_cdouble, count_cfloat,
18099 count_cldouble): Use volatile int.
18101 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18103 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
18104 (conformtest-xfail-conds): Add i386-gnu.
18105 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
18107 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
18108 ipc_perm.cuid, ipc_perm.cgid): Likewise.
18109 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
18110 msqid_ds.msg_lrpid): Likewise.
18111 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
18113 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
18114 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
18115 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
18116 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
18118 (struct statvfs64): Likewise.
18119 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
18121 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
18122 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
18123 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
18124 instead of wait_queue.
18125 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
18126 instead of vm_area_struct.
18127 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
18128 struct sched_param definition to it.
18129 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18130 * bits/types/struct_sched_param.h: New file.
18131 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
18132 <bits/types/struct_sched_param.h> instead of <sched.h>.
18133 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
18134 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
18135 generic version but include <bits/pthreadtypes.h> to make struct
18136 sigevent's sigev_notify_attributes field a pthread_attr_t*.
18137 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
18139 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
18140 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
18141 [__USE_XOPEN] (OFDEL): New macro.
18142 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
18143 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
18144 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
18146 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
18147 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
18148 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
18150 * sysdeps/i386/sys/ucontext.h: Likewise.
18151 * sysdeps/m68k/sys/ucontext.h: Likewise.
18152 * sysdeps/mips/sys/ucontext.h: Likewise.
18153 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
18154 * sysdeps/mach/hurd/i386/Makefile
18155 (test-xfail-POSIX/fcntl.h/conform): Add.
18156 (test-xfail-POSIX/signal.h/conform): Add.
18157 (test-xfail-POSIX/semaphore.h/conform): Add.
18158 (test-xfail-POSIX/regex.h/conform): Add.
18159 (test-xfail-POSIX/aio.h/conform): Add.
18160 (test-xfail-POSIX/mqueue.h/conform): Add.
18161 (test-xfail-POSIX/sys/types.h/conform): Add.
18162 (test-xfail-UNIX98/fcntl.h/conform): Add.
18163 (test-xfail-UNIX98/netdb.h/conform): Add.
18164 (test-xfail-UNIX98/signal.h/conform): Add.
18165 (test-xfail-UNIX98/semaphore.h/conform): Add.
18166 (test-xfail-UNIX98/regex.h/conform): Add.
18167 (test-xfail-UNIX98/aio.h/conform): Add.
18168 (test-xfail-UNIX98/ftw.h/conform): Add.
18169 (test-xfail-UNIX98/mqueue.h/conform): Add.
18170 (test-xfail-UNIX98/netinet/in.h/conform): Add.
18171 (test-xfail-UNIX98/sys/wait.h/conform): Add.
18172 (test-xfail-UNIX98/sys/sem.h/conform): Add.
18173 (test-xfail-UNIX98/sys/uio.h/conform): Add.
18174 (test-xfail-UNIX98/sys/socket.h/conform): Add.
18175 (test-xfail-UNIX98/sys/types.h/conform): Add.
18176 (test-xfail-UNIX98/stdlib.h/conform): Add.
18177 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
18178 (test-xfail-POSIX2008/fcntl.h/conform): Add.
18179 (test-xfail-POSIX2008/netdb.h/conform): Add.
18180 (test-xfail-POSIX2008/signal.h/conform): Add.
18181 (test-xfail-POSIX2008/semaphore.h/conform): Add.
18182 (test-xfail-POSIX2008/regex.h/conform): Add.
18183 (test-xfail-POSIX2008/aio.h/conform): Add.
18184 (test-xfail-POSIX2008/mqueue.h/conform): Add.
18185 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
18186 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
18187 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
18188 (test-xfail-POSIX2008/sys/types.h/conform): Add.
18189 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
18190 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
18191 (test-xfail-XOPEN2K/netdb.h/conform): Add.
18192 (test-xfail-XOPEN2K/signal.h/conform): Add.
18193 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
18194 (test-xfail-XOPEN2K/regex.h/conform): Add.
18195 (test-xfail-XOPEN2K/aio.h/conform): Add.
18196 (test-xfail-XOPEN2K/ftw.h/conform): Add.
18197 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
18198 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
18199 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
18200 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
18201 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
18202 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
18203 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
18204 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
18205 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
18206 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
18207 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
18208 (test-xfail-XOPEN2K8/signal.h/conform): Add.
18209 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
18210 (test-xfail-XOPEN2K8/regex.h/conform): Add.
18211 (test-xfail-XOPEN2K8/aio.h/conform): Add.
18212 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
18213 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
18214 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
18215 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
18216 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
18217 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
18218 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
18219 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
18220 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
18221 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
18222 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
18224 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
18225 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
18227 2018-04-18 Joseph Myers <joseph@codesourcery.com>
18229 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18230 --enable-obsolete for powerpc-linux-gnuspe.
18232 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
18234 * conform/data/sys/un.h-data: Allow sun_ prefix.
18235 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
18237 * sysdeps/mach/include/mach.h: Likewise.
18238 * sysdeps/mach/include/mach/mig_support.h: Likewise.
18239 * sysdeps/mach/include/mach_error.h: Likewise.
18241 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18243 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
18244 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
18245 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
18246 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
18248 2018-04-16 Andreas Schwab <schwab@suse.de>
18251 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
18253 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18255 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
18256 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
18258 2018-04-12 DJ Delorie <dj@redhat.com>
18260 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18263 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
18265 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
18266 (struct kernel_sigaction): Use the same definition on 31bit as is used
18269 2018-04-09 Florian Weimer <fweimer@redhat.com>
18272 * resolv/res_send.c (send_dg): Use designated initializers instead
18273 of assignment to zero-initialize other fields of struct mmsghdr.
18275 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18277 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
18278 __READDIR_ALIAS): Undefine after usage.
18279 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
18280 __READDIR_R_ALIAS): Likewise.
18281 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
18282 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
18283 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
18284 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
18285 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
18286 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
18287 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18288 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18289 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
18290 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
18291 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
18292 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
18293 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18294 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
18295 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
18296 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
18297 * sysdeps/unix/sysv/linux/readdir.c: New file.
18298 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
18299 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
18300 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
18302 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
18304 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
18306 * manual/charset.texi (Converting a Character): Fix typo.
18308 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18312 * sysdeps/arm/libm-test-ulps: Update.
18314 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
18315 as base implementation.
18316 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
18317 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
18318 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18319 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18320 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
18321 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
18322 remove unrequired definitions and update comments.
18323 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
18324 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
18325 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
18326 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
18327 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
18328 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
18329 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
18330 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
18331 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
18332 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
18333 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
18334 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
18335 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
18336 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
18337 and RESET_SA_RESTORER hooks.
18339 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
18341 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18343 2018-04-05 Florian Weimer <fweimer@redhat.com>
18345 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
18346 integer overflow, memory leak on error, and indeterminate errno
18347 value. Add a null wide character to terminate the result string.
18348 * manual/charset.texi (Converting a Character): Mention embedded
18349 null bytes in the mbrtowc input string. Explain what happens in
18350 the -2 result case. Do not claim that mbrtowc is simple or
18351 obvious to use. Adjust the description of the code example. Use
18352 @code, not @var, for concrete variables.
18354 2018-04-05 Florian Weimer <fweimer@redhat.com>
18356 * manual/examples/mbstouwcs.c: New file.
18357 * manual/charset.texi (Converting a Character): Include it.
18359 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18361 * include/dirent.h (dirfd): Add hidden proto.
18362 * dirent/dirfd.c (dirfd): Add hidden def.
18363 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
18364 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
18366 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18368 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
18369 sin, cos and sincos to 1 ULP.
18371 2018-04-04 Maciej W. Rozycki <macro@mips.com>
18374 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
18376 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
18377 * elf/tst-absolute-sym.c: New file.
18378 * elf/tst-absolute-sym-lib.c: New file.
18379 * elf/tst-absolute-sym-lib.lds: New file.
18380 * elf/Makefile (tests): Add `tst-absolute-sym'.
18381 (modules-names): Add `tst-absolute-sym-lib'.
18382 (LDLIBS-tst-absolute-sym-lib.so): New variable.
18383 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
18384 ($(objpfx)tst-absolute-sym): New dependency.
18387 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
18389 (SYMBOL_ADDRESS): New macro.
18390 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
18391 SYMBOL_ADDRESS for symbol address calculation.
18392 * elf/dl-runtime.c (_dl_fixup): Likewise.
18393 (_dl_profile_fixup): Likewise.
18394 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
18395 * elf/rtld.c (dl_main): Likewise.
18396 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
18397 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
18398 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
18399 (elf_machine_rela): Likewise.
18400 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
18401 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
18402 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18403 (elf_machine_rela): Likewise.
18404 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18405 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
18406 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
18407 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
18409 (elf_machine_reloc): Likewise.
18410 (elf_machine_got_rel): Likewise.
18411 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
18412 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
18413 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18415 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18417 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
18418 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18420 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18422 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18423 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18425 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18427 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
18428 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18430 2018-04-04 Zack Weinberg <zackw@panix.com>
18432 * sysdeps/generic/internal-signals.h: Include signal.h,
18433 sigsetops.h, and stdbool.h.
18434 (__libc_signal_block_all): Actually block all signals.
18435 (__libc_signal_block_app): Likewise.
18436 (__libc_signal_restore_set): Actually restore the signal mask.
18438 2018-04-04 Florian Weimer <fweimer@redhat.com>
18440 inet: Actually build and run tst-deadline.
18441 * inet/Makefile (tests-internal): Add tst-deadline and do not
18442 overwrite the variable.
18443 (tests-static-internal): Remove variable.
18445 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
18448 * bits/uio-ext.h (RWF_APPEND): New.
18449 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
18450 * manual/llio.texi: Document RWF_APPEND.
18451 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
18452 (RWF_SUPPORTED): Add RWF_APPEND.
18454 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18457 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
18458 check for internal nptl signals.
18459 * nptl/sigaction.c (__sigaction): Likewise.
18460 * signal/sigaddset.c (sigaddset): Likewise.
18461 * signal/sigdelset.c (sigdelset): Likewise.
18462 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
18463 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
18465 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
18466 to filter out internal nptl signals.
18467 * signal/tst-sigset.c (do_test): Check ech signal indidually and
18468 also check realtime signals using standard macros.
18469 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
18470 __is_internal_signal, __libc_signal_block_all,
18471 __libc_signal_block_app, __libc_signal_restore_set): New functions.
18472 * sysdeps/nptl/sigfillset.c: Remove file.
18473 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
18474 Change return to bool.
18475 (__clear_internal_signals): Remove SIGTIMER clean since it is
18476 equal to SIGCANEL on Linux.
18477 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
18478 signal set was constructed using standard functions.
18480 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18482 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
18483 ifname is too long.
18484 * hurd/hurdsig.c (interrupted_reply_port_location): Use
18485 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
18486 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
18488 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
18489 * signal/sigaddset.c: Include <sigsetopts.h>.
18490 * signal/sigdelset.c: Likewise.
18492 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18494 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
18496 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
18497 logic as sin and cos.
18499 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18501 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
18502 inputs. Return correct sign.
18503 (do_sincos): Remove small input check before do_sin, let do_sin set
18508 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18510 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
18511 (do_cos_slow): Likewise.
18512 (do_sin_slow): Likewise.
18513 (reduce_and_compute): Likewise.
18518 (sloww1): Likewise.
18519 (sloww2): Likewise.
18521 (bslow1): Likewise.
18522 (bslow2): Likewise.
18523 (cslow2): Likewise.
18525 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18527 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
18528 (do_cos): Remove corp parameter and calculations.
18529 (do_sin): Likewise.
18530 (do_sincos): Remove cor variable.
18531 (__sin): Use do_sincos for huge inputs.
18533 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
18534 (reduce_and_compute_sincos): Remove unused function.
18536 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18538 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
18539 reduce_sincos, improve accuracy to 136 bits.
18540 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
18541 (__sin): Use improved reduction and simplified do_sincos calculation.
18543 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
18545 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18547 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
18548 (do_sincos_2): Likewise.
18549 (__sin): Remove middle range reduction case.
18551 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
18554 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18556 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
18557 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
18560 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
18562 2018-04-03 Joseph Myers <joseph@codesourcery.com>
18564 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
18567 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18569 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
18570 Remove definitions.
18571 (opendir_oflags): Use O_DIRECTORY regardless.
18572 (__opendir, __opendirat): Remove need_isdir_precheck usage.
18573 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
18575 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18577 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
18578 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
18580 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
18581 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
18582 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
18583 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
18584 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
18585 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
18587 * htl/Makefile: Bump licence to LGPL 2.1+.
18588 * htl/alloca_cutoff.c: Likewise.
18589 * htl/cthreads-compat.c: Likewise.
18590 * htl/lockfile.c: Likewise.
18591 * htl/pt-alloc.c: Likewise.
18592 * htl/pt-cancel.c: Likewise.
18593 * htl/pt-cleanup.c: Likewise.
18594 * htl/pt-create.c: Likewise.
18595 * htl/pt-dealloc.c: Likewise.
18596 * htl/pt-detach.c: Likewise.
18597 * htl/pt-exit.c: Likewise.
18598 * htl/pt-getattr.c: Likewise.
18599 * htl/pt-initialize.c: Likewise.
18600 * htl/pt-internal.h: Likewise.
18601 * htl/pt-join.c: Likewise.
18602 * htl/pt-self.c: Likewise.
18603 * htl/pt-setcancelstate.c: Likewise.
18604 * htl/pt-setcanceltype.c: Likewise.
18605 * htl/pt-sigmask.c: Likewise.
18606 * htl/pt-spin-inlines.c: Likewise.
18607 * htl/pt-testcancel.c: Likewise.
18608 * htl/pt-yield.c: Likewise.
18609 * htl/tests/test-1.c: Likewise.
18610 * htl/tests/test-10.c: Likewise.
18611 * htl/tests/test-11.c: Likewise.
18612 * htl/tests/test-12.c: Likewise.
18613 * htl/tests/test-13.c: Likewise.
18614 * htl/tests/test-14.c: Likewise.
18615 * htl/tests/test-15.c: Likewise.
18616 * htl/tests/test-16.c: Likewise.
18617 * htl/tests/test-17.c: Likewise.
18618 * htl/tests/test-2.c: Likewise.
18619 * htl/tests/test-3.c: Likewise.
18620 * htl/tests/test-4.c: Likewise.
18621 * htl/tests/test-5.c: Likewise.
18622 * htl/tests/test-6.c: Likewise.
18623 * htl/tests/test-7.c: Likewise.
18624 * htl/tests/test-8.c: Likewise.
18625 * htl/tests/test-9.c: Likewise.
18626 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
18627 * sysdeps/htl/bits/cancelation.h: Likewise.
18628 * sysdeps/htl/bits/pthread-np.h: Likewise.
18629 * sysdeps/htl/bits/pthread.h: Likewise.
18630 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
18631 * sysdeps/htl/bits/semaphore.h: Likewise.
18632 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
18633 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
18634 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
18635 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
18636 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
18637 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
18638 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
18639 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
18640 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
18641 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
18642 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
18643 * sysdeps/htl/old_pt-atfork.c: Likewise.
18644 * sysdeps/htl/pt-atfork.c: Likewise.
18645 * sysdeps/htl/pt-attr-destroy.c: Likewise.
18646 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
18647 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
18648 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
18649 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
18650 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
18651 * sysdeps/htl/pt-attr-getscope.c: Likewise.
18652 * sysdeps/htl/pt-attr-getstack.c: Likewise.
18653 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
18654 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
18655 * sysdeps/htl/pt-attr-init.c: Likewise.
18656 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
18657 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
18658 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
18659 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
18660 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
18661 * sysdeps/htl/pt-attr-setscope.c: Likewise.
18662 * sysdeps/htl/pt-attr-setstack.c: Likewise.
18663 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
18664 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
18665 * sysdeps/htl/pt-attr.c: Likewise.
18666 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
18667 * sysdeps/htl/pt-barrier-init.c: Likewise.
18668 * sysdeps/htl/pt-barrier-wait.c: Likewise.
18669 * sysdeps/htl/pt-barrier.c: Likewise.
18670 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
18671 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
18672 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
18673 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
18674 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
18675 * sysdeps/htl/pt-cond-destroy.c: Likewise.
18676 * sysdeps/htl/pt-cond-init.c: Likewise.
18677 * sysdeps/htl/pt-cond-signal.c: Likewise.
18678 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
18679 * sysdeps/htl/pt-cond-wait.c: Likewise.
18680 * sysdeps/htl/pt-cond.c: Likewise.
18681 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
18682 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
18683 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
18684 * sysdeps/htl/pt-condattr-init.c: Likewise.
18685 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
18686 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
18687 * sysdeps/htl/pt-destroy-specific.c: Likewise.
18688 * sysdeps/htl/pt-equal.c: Likewise.
18689 * sysdeps/htl/pt-getconcurrency.c: Likewise.
18690 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
18691 * sysdeps/htl/pt-getschedparam.c: Likewise.
18692 * sysdeps/htl/pt-getspecific.c: Likewise.
18693 * sysdeps/htl/pt-init-specific.c: Likewise.
18694 * sysdeps/htl/pt-key-create.c: Likewise.
18695 * sysdeps/htl/pt-key-delete.c: Likewise.
18696 * sysdeps/htl/pt-key.h: Likewise.
18697 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
18698 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
18699 * sysdeps/htl/pt-mutex-init.c: Likewise.
18700 * sysdeps/htl/pt-mutex-lock.c: Likewise.
18701 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
18702 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
18703 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
18704 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
18705 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
18706 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
18707 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
18708 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
18709 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
18710 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
18711 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
18712 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
18713 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
18714 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
18715 * sysdeps/htl/pt-mutexattr.c: Likewise.
18716 * sysdeps/htl/pt-once.c: Likewise.
18717 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
18718 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
18719 * sysdeps/htl/pt-rwlock-init.c: Likewise.
18720 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
18721 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
18722 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
18723 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
18724 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
18725 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
18726 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
18727 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
18728 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
18729 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
18730 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
18731 * sysdeps/htl/pt-setconcurrency.c: Likewise.
18732 * sysdeps/htl/pt-setschedparam.c: Likewise.
18733 * sysdeps/htl/pt-setschedprio.c: Likewise.
18734 * sysdeps/htl/pt-setspecific.c: Likewise.
18735 * sysdeps/htl/pt-spin.c: Likewise.
18736 * sysdeps/htl/pt-startup.c: Likewise.
18737 * sysdeps/htl/pthread.h: Likewise.
18738 * sysdeps/htl/sem-close.c: Likewise.
18739 * sysdeps/htl/sem-destroy.c: Likewise.
18740 * sysdeps/htl/sem-getvalue.c: Likewise.
18741 * sysdeps/htl/sem-init.c: Likewise.
18742 * sysdeps/htl/sem-open.c: Likewise.
18743 * sysdeps/htl/sem-post.c: Likewise.
18744 * sysdeps/htl/sem-timedwait.c: Likewise.
18745 * sysdeps/htl/sem-trywait.c: Likewise.
18746 * sysdeps/htl/sem-unlink.c: Likewise.
18747 * sysdeps/htl/sem-wait.c: Likewise.
18748 * sysdeps/hurd/htl/pt-kill.c: Likewise.
18749 * sysdeps/i386/htl/pt-machdep.h: Likewise.
18750 * sysdeps/mach/htl/pt-block.c: Likewise.
18751 * sysdeps/mach/htl/pt-spin.c: Likewise.
18752 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
18753 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
18754 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
18755 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
18756 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
18757 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
18758 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
18759 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
18760 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
18761 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
18762 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
18763 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
18764 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
18765 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
18766 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
18767 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
18768 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
18769 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
18770 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
18771 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
18772 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
18773 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
18774 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
18775 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
18776 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
18777 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
18778 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
18779 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
18780 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
18781 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
18782 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
18783 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
18784 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
18785 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
18786 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
18787 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
18788 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
18789 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
18790 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
18791 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
18792 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
18793 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
18794 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
18796 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
18797 * README: Remove the mention of out-of-tree patches needed for
18800 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
18801 (UTIME_NOW, UTIME_OMIT): Define macros.
18803 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
18804 instead of pthread_detach.
18805 (__cthread_fork): Call __pthread_create instead of pthread_create.
18806 (__cthread_keycreate): Call __pthread_key_create instead of
18807 pthread_key_create.
18808 (__cthread_getspecific): Call __pthread_getspecific instead of
18809 pthread_getspecific.
18810 (__cthread_setspecific): Call __pthread_setspecific instead of
18811 pthread_setspecific.
18812 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
18813 __pthread_mutex_unlock instead of pthread_mutex_lock and
18814 pthread_mutex_unlock.
18815 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
18816 ___pthread_get_cleanup_stack.
18817 (__pthread_get_cleanup_stack): New strong alias.
18818 * htl/pt-create.c: Include <pthreadP.h>.
18819 (entry_point): Call __pthread_exit instead of pthread_exit.
18820 (pthread_create): Rename to __pthread_create.
18821 (pthread_create): New strong alias.
18822 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
18823 (pthread_detach): New strong alias.
18824 (__pthread_detach): Call __pthread_cond_broadcast instead of
18825 pthread_cond_broadcast.
18826 * htl/pt-exit.c: Include <pthreadP.h>.
18827 (__pthread_exit): Call __pthread_setcancelstate and
18828 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
18829 __pthread_get_cleanup_stack.
18830 * htl/pt-testcancel.c: Include <pthreadP.h>.
18831 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
18832 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
18833 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
18834 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
18835 pthread_attr_getstacksize.
18836 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
18837 Rename to __pthread_attr_getstackaddr.
18838 (pthread_attr_getstackaddr): New strong alias.
18839 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
18840 Rename to __pthread_attr_getstacksize.
18841 (pthread_attr_getstacksize): New strong alias.
18842 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
18843 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
18844 (pthread_attr_setstack): New strong alias.
18845 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
18846 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
18847 pthread_attr_getstacksize, pthread_attr_setstacksize and
18848 pthread_attr_setstackaddr.
18849 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
18850 Rename to __pthread_attr_setstackaddr.
18851 (pthread_attr_setstackaddr): New strong alias.
18852 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
18853 Rename to __pthread_attr_setstacksize.
18854 (pthread_attr_setstacksize): New strong alias.
18855 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
18856 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
18858 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
18859 (__pthread_key_create): New hidden def.
18860 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
18861 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
18862 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
18863 __pthread_exit, __pthread_key_create, __pthread_getspecific,
18864 __pthread_setspecific, __pthread_setcancelstate,
18865 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
18866 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
18867 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
18869 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
18870 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
18871 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
18872 (pthread_attr_setstackaddr): New strong alias.
18873 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
18874 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
18875 (pthread_attr_setstacksize): New strong alias.
18876 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
18877 (call_exit): Call __pthread_exit instead of pthread_exit.
18878 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
18879 (_pthread_mutex_init): New hidden definition.
18880 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
18881 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
18882 instead of pthread_attr_init and pthread_attr_setstack.
18884 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
18885 __vm_deallocate instead of vm_allocate and vm_deallocate.
18886 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
18888 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
18890 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
18892 * hurd/siginfo.c: Include <libioP.h>.
18893 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
18894 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
18896 * mach/devstream.c: Include <libioP.h>.
18897 (dealloc_ref): Call __mach_port_deallocate instead of
18898 mach_port_deallocate.
18899 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
18900 Call __mach_port_deallocate instead of mach_port_deallocate.
18901 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
18903 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
18905 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
18906 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
18907 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
18909 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
18911 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
18912 instead of sysconf.
18913 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
18914 __clock_gettime instead of clock_gettime.
18915 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
18916 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
18917 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
18918 * sysdeps/unix/bsd/stty.c (stty): Likewise.
18919 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
18921 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
18922 __clock_gettime and __nanosleep instead of clock_gettime and
18924 * hurd/catch-signal.c (hurd_catch_signal): Rename to
18925 __hurd_catch_signal.
18926 (hurd_catch_signal): New strong alias.
18927 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
18928 __hurd_catch_signal instead of hurd_catch_signal.
18929 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
18930 * hurd/hurdexec.c (_hurd_init): Add hidden def.
18931 * hurd/hurdinit.c (_hurd_init): Add hidden def.
18932 * hurd/hurdsig.c: Include <mach/mig_support.h>.
18933 (_hurd_thread_sigstate): Add hidden def.
18934 (_hurd_internal_post_signal): Use __mutex_unlock instead of
18936 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
18937 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
18938 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
18939 __hurd_file_name_path_lookup.
18940 (hurd_file_name_path_lookup): New strong alias.
18941 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
18942 hurd_file_name_path_lookup.
18943 * mach/errstring.c (mach_error_type): Add hidden def.
18944 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
18945 * mach/mutex-init.c (__mutex_init): Add hidden def.
18946 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
18947 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
18948 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
18949 * sysdeps/mach/hurd/getcwd.c
18950 (_hurd_canonicalize_directory_name_internal): Rename to
18951 __hurd_canonicalize_directory_name_internal.
18952 (_hurd_canonicalize_directory_name_internal): New strong alias.
18953 (__canonicalize_directory_name_internal, __getcwd): Call
18954 __hurd_canonicalize_directory_name_internal instead of
18955 _hurd_canonicalize_directory_name_internal.
18956 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
18957 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
18959 * sysdeps/hurd/include/hurd.h: New file.
18960 * sysdeps/hurd/include/hurd/fd.h: New file.
18961 * sysdeps/hurd/include/hurd/signal.h: New file.
18962 * sysdeps/mach/include/lock-intern.h: New file.
18963 * sysdeps/mach/include/mach.h: New file.
18964 * sysdeps/mach/include/mach/mig_support.h: New file.
18965 * sysdeps/mach/include/mach_error.h: New file.
18966 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
18968 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
18969 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
18970 _HEADER_H_HIDDEN_DEF macro.
18971 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
18972 _hurd_fd_error_signal): Add hidden prototype.
18973 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
18975 * libio/iolibio.h (_IO_puts): New hidden prototype.
18976 * libio/ioputs.c (_IO_puts): New hidden def.
18977 * sysdeps/mach/hurd/localplt.data: New file.
18979 2018-04-02 Agustina Arzille <avarzille@riseup.net>
18980 Amos Jeffries <squid3@treenet.co.nz>
18981 David Michael <fedora.dm0@gmail.com>
18982 Marco Gerards <marco@gnu.org>
18983 Marcus Brinkmann <marcus@gnu.org>
18984 Neal H. Walfield <neal@gnu.org>
18985 Pino Toscano <toscano.pino@tiscali.it>
18986 Richard Braun <rbraun@sceen.net>
18987 Roland McGrath <roland@gnu.org>
18988 Samuel Thibault <samuel.thibault@ens-lyon.org>
18989 Thomas DiModica <ricinwich@yahoo.com>
18990 Thomas Schwinge <tschwinge@gnu.org>
18992 * htl: New directory.
18993 * sysdeps/htl: New directory.
18994 * sysdeps/hurd/htl: New directory.
18995 * sysdeps/i386/htl: New directory.
18996 * sysdeps/mach/htl: New directory.
18997 * sysdeps/mach/hurd/htl: New directory.
18998 * sysdeps/mach/hurd/i386/htl: New directory.
18999 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
19000 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
19001 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
19003 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19005 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
19006 signals in thread created for runing timers.
19008 2018-04-01 Florian Weimer <fweimer@redhat.com>
19010 * support/support_format_addrinfo.c (support_format_addrinfo):
19011 Include unknown error number in formatted result.
19013 2018-03-29 Florian Weimer <fweimer@redhat.com>
19015 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
19018 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19020 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
19021 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
19022 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19023 (__ASSUME_CLONE_BACKWARDS): Define.
19025 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
19028 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
19029 early when linux sentinel value is set.
19031 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19033 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
19035 2018-03-27 Andreas Schwab <schwab@suse.de>
19038 * resolv/res_send.c (__res_context_send): Return ENOMEM if
19039 allocation of private copy of nsaddr_list fails.
19041 2018-03-26 Joseph Myers <joseph@codesourcery.com>
19044 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
19045 * sysdeps/unix/sysv/linux/umount.c: ... here.
19046 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
19047 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
19048 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
19049 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
19050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
19051 * sysdeps/unix/sysv/linux/umount.S: Likewise.
19052 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
19054 2018-03-26 Andreas Schwab <schwab@suse.de>
19056 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
19057 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
19058 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
19059 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
19060 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
19061 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
19062 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
19063 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
19064 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
19065 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
19066 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
19067 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
19068 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
19069 (R_RISCV_NUM): Define.
19071 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19073 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
19074 TLS declaration of errno.
19075 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
19077 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
19078 (ARCH_SETUP_TLS): Likewise.
19079 * sysdeps/mach/hurd/libc-start.h: New file copied from
19080 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
19081 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
19082 instead of __libc_setup_tls.
19083 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
19084 __libc_setup_tls before initializing libpthread and running _hurd_init
19085 which starts the signal thread.
19086 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
19088 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19090 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
19093 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
19094 after it is defined.
19096 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
19097 Max Horn <max@quendi.de>
19101 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
19103 * string/test-memmove.c (do_test2): New testcase.
19105 2018-03-22 Joseph Myers <joseph@codesourcery.com>
19107 * sysdeps/generic/frame.h: Remove file.
19108 * sysdeps/arm/frame.h: Likewise.
19109 * sysdeps/hppa/frame.h: Likewise.
19110 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
19112 (GET_FRAME): Likewise.
19113 (GET_STACK): Likewise.
19114 (CALL_SIGHANDLER): Likewise.
19115 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
19117 (GET_FRAME): Likewise.
19118 (GET_STACK): Likewise.
19119 (CALL_SIGHANDLER): Likewise.
19120 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
19121 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19122 (GET_FRAME): Likewise.
19123 (GET_STACK): Likewise.
19124 (CALL_SIGHANDLER): Likewise.
19125 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
19126 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19127 (GET_FRAME): Likewise.
19128 (GET_STACK): Likewise.
19129 (ADVANCE_STACK_FRAME): Likewise.
19130 (CALL_SIGHANDLER): Likewise.
19131 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
19132 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19133 (GET_FRAME): Likewise.
19134 (GET_STACK): Likewise.
19135 (CALL_SIGHANDLER): Likewise.
19136 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
19137 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19138 (GET_FRAME): Likewise.
19139 (GET_STACK): Likewise.
19140 (CALL_SIGHANDLER): Likewise.
19141 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
19142 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19143 (GET_FRAME): Likewise.
19144 (GET_STACK): Likewise.
19145 (CALL_SIGHANDLER): Likewise.
19146 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
19147 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19148 (GET_FRAME): Likewise.
19149 (GET_STACK): Likewise.
19150 (CALL_SIGHANDLER): Likewise.
19151 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
19152 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19153 (GET_FRAME): Likewise.
19154 (GET_STACK): Likewise.
19155 (CALL_SIGHANDLER): Likewise.
19156 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
19157 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19158 (GET_FRAME): Likewise.
19159 (GET_STACK): Likewise.
19160 (CALL_SIGHANDLER): Likewise.
19161 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
19162 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19163 (GET_FRAME): Likewise.
19164 (GET_STACK): Likewise.
19165 (CALL_SIGHANDLER): Likewise.
19166 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
19167 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19168 (GET_FRAME): Likewise.
19169 (GET_STACK): Likewise.
19170 (CALL_SIGHANDLER): Likewise.
19171 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
19172 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19173 (GET_FRAME): Likewise.
19174 (GET_STACK): Likewise.
19175 (CALL_SIGHANDLER): Likewise.
19176 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
19177 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19178 (FIRST_FRAME_POINTER): Likewise.
19179 (ADVANCE_STACK_FRAME): Likewise.
19180 (GET_STACK): Likewise.
19181 (GET_FRAME): Likewise.
19182 (CALL_SIGHANDLER): Likewise.
19183 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
19184 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19185 (ADVANCE_STACK_FRAME): Likewise.
19186 (GET_STACK): Likewise.
19187 (GET_FRAME): Likewise.
19188 (CALL_SIGHANDLER): Likewise.
19189 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
19190 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19191 (GET_FRAME): Likewise.
19192 (GET_STACK): Likewise.
19193 (CALL_SIGHANDLER): Likewise.
19194 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
19195 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19196 (GET_FRAME): Likewise.
19197 (GET_STACK): Likewise.
19198 (CALL_SIGHANDLER): Likewise.
19200 2018-03-21 Joseph Myers <joseph@codesourcery.com>
19202 * sysdeps/x86_64/backtrace.c: Move to ....
19203 * debug/backtrace.c: ... here.
19204 * sysdeps/aarch64/backtrace.c: Remove file.
19205 * sysdeps/alpha/backtrace.c: Likewise.
19206 * sysdeps/hppa/backtrace.c: Likewise.
19207 * sysdeps/ia64/backtrace.c: Likewise.
19208 * sysdeps/mips/backtrace.c: Likewise.
19209 * sysdeps/nios2/backtrace.c: Likewise.
19210 * sysdeps/riscv/backtrace.c: Likewise.
19211 * sysdeps/sh/backtrace.c: Likewise.
19212 * sysdeps/tile/backtrace.c: Likewise.
19214 2018-03-20 Joseph Myers <joseph@codesourcery.com>
19217 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
19220 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
19223 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
19224 possibly overflowing computations.
19226 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
19228 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
19229 values from Linux-specific section now that it is in the GNU section.
19230 * sysdeps/gnu/errlist.c: Regenerate.
19232 2018-03-20 Joseph Myers <joseph@codesourcery.com>
19234 * math/Makefile (libm-narrow-fns): Add sub.
19235 (libm-test-funcs-narrow): Likewise.
19236 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
19237 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
19238 * math/gen-auto-libm-tests.c (test_functions): Add sub.
19239 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
19240 (NARROW_SUB_ROUND_TO_ODD): Likewise.
19241 (NARROW_SUB_TRIVIAL): Likewise.
19242 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
19244 (__dsubl): Likewise.
19245 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
19247 (CFLAGS-nldbl-dsub.c): New variable.
19248 (CFLAGS-nldbl-fsub.c): Likewise.
19249 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
19251 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
19253 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
19254 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
19255 * math/auto-libm-test-in: Add tests of sub.
19256 * math/auto-libm-test-out-narrow-sub: New generated file.
19257 * math/libm-test-narrow-sub.inc: New file.
19258 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
19259 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
19260 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
19261 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
19262 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
19263 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
19264 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
19265 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
19266 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
19267 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
19268 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
19269 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
19270 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
19271 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
19272 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
19273 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
19274 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
19275 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
19276 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19277 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
19278 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19279 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19280 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19281 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19282 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19283 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19284 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19285 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19286 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19287 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19288 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19289 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
19292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19294 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19295 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19296 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19297 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19298 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19299 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19300 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
19301 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
19302 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19303 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19305 2018-03-19 Joseph Myers <joseph@codesourcery.com>
19308 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
19310 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
19312 * benchtests/bench-timing.h (attribute_hidden): Undefine.
19314 2018-03-18 Richard Braun <rbraun@sceen.net>
19316 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
19319 2018-03-18 Agustina Arzille <avarzille@riseup.net>
19321 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
19322 (__libc_cleanup_fct): Define function.
19323 (__libc_cleanup_region_start, __libc_cleanup_region_end,
19324 __libc_cleanup_end): Rewrite implementation using
19325 __attribute__ ((__cleanup__)).
19326 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
19327 * hurd/Makefile (routines): Add hurdlock.
19328 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
19330 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
19331 * hurd/hurdpid.c: Include <lowlevellock.h>
19332 (_S_msg_proc_newids): Use lll_wait to synchronize.
19333 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
19334 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
19335 * mach/Makefile (lock-headers): Remove machine-lock.h.
19336 * mach/lock-intern.h: Include <lowlevellock.h> instead of
19338 (__spin_lock_t): New type.
19339 (__SPIN_LOCK_INITIALIZER): New macro.
19340 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
19341 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
19342 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
19343 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
19344 (__mutex_init): Initialize with lll.
19345 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
19346 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
19348 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19349 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
19350 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
19351 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
19352 (__setpgid): Use lll for synchronization.
19353 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
19354 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
19355 instead of <cthreads.h>.
19356 (_IO_lock_inexpensive): New macro
19357 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
19358 (__libc_lock_self0): New declaration.
19359 (__libc_lock_owner_self): New macro.
19360 (__libc_key_t): Remove type.
19361 (_LIBC_LOCK_INITIALIZER): New macro.
19362 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
19363 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
19364 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
19365 __libc_lock_define_initialized_recursive,
19366 __rtld_lock_define_initialized_recursive,
19367 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
19368 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
19369 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
19370 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
19371 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
19372 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
19373 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
19375 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
19376 * hurd/hurdlock.c: New file.
19377 * hurd/hurdlock.h: New file.
19378 * mach/lowlevellock.h: New file
19380 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
19382 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
19383 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
19384 when opening a symlink with O_NOFOLLOW.
19385 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
19386 path when flags contains O_NOFOLLOW.
19387 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
19388 if flags contains O_DIRECTORY and the result is a directory.
19389 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
19390 oneself when the pointer given in D is nul (as set by ext2fs).
19391 * sysdeps/mach/hurd/mlockall.c: New file.
19392 * sysdeps/mach/hurd/munlockall.c: New file.
19394 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
19396 * hurd/hurdsig.c: Include <pthread.h>.
19397 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
19398 get the signal thread stack layout.
19399 * hurd/Makefile (headers): Remove threadvar.h.
19400 (inline-headers): Remove threadvar.h.
19401 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
19402 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
19403 __hurd_threadvar_max, __hurd_errno_location.
19404 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
19405 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
19406 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
19407 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
19408 unless TLS is not initialized yet, in which case we do not need a
19409 critical section yet anyway.
19410 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
19412 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
19414 (__hurd_threadvar_index): Remove enum.
19415 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
19416 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
19418 (__hurd_reply_port0): New variable declaration.
19419 (__hurd_local_reply_port): New macro.
19420 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
19421 (interrupted_reply_port_location): Add thread_t parameter. Use it
19422 with THREAD_TCB to access thread-local variables.
19423 (_hurdsig_abort_rpcs): Pass ss->thread to
19424 interrupted_reply_port_location.
19425 (_hurd_internal_post_signal): Likewise.
19426 (_hurdsig_init): Use presence of cthread_fork instead of
19427 __hurd_threadvar_stack_mask to start signal thread by hand.
19428 Remove signal thread threadvar initialization.
19429 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
19430 * hurd/sigunwind.c: Include <hurd/threadvar.h>
19431 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
19433 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
19435 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
19436 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
19437 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
19438 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
19439 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
19440 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
19441 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
19443 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
19444 <hurd/threadvar.h>.
19445 [IS_IN(rtld)] (rtld_errno): New variable.
19446 [IS_IN(rtld)] (__errno_location): New weak function.
19447 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
19448 * sysdeps/mach/hurd/errno.c: Remove file.
19449 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
19450 (__fork): Remove THREADVAR_SPACE macro and its use.
19451 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
19453 (init): Do not initialize threadvar.
19454 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
19456 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
19457 __hurd_local_reply_port instead of threadvar.
19458 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
19459 _hurd_sigstate fields.
19460 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
19461 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
19462 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
19463 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
19464 instead of threadvar.
19465 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
19466 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
19467 (use_threadvar, global_reply_port): Remove variables.
19468 (__hurd_reply_port0): New variable.
19469 (__mig_get_reply_port): Use __hurd_local_reply_port and
19470 __hurd_reply_port0 instead of threadvar.
19471 (__mig_dealloc_reply_port): Likewise.
19472 (__mig_init): Do not initialize threadvar.
19473 * sysdeps/mach/hurd/profil.c: Fix comment.
19474 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
19475 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
19476 cthread_keycreate, cthread_getspecific, cthread_setspecific to
19477 __cthread_fork, __cthread_detach, __pthread_getattr_np,
19478 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
19479 __cthread_setspecific.
19480 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
19481 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
19482 __cthread_t instead of cthread_fork, cthread_detach,
19483 pthread_getattr_np, pthread_attr_getstack.
19484 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
19485 __cthread_keycreate.
19486 (cthread_getspecific): Rename to __cthread_getspecific.
19487 (cthread_setspecific): Rename to __cthread_setspecific.
19488 (__libc_getspecific): Use __cthread_getspecific instead of
19489 cthread_getspecific.
19490 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
19491 __cthread_keycreate instead of cthread_keycreate.
19492 (__libc_setspecific): Use __cthread_setspecific instead of
19493 cthread_setspecific.
19494 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
19496 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
19497 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
19498 testing whether it is defined.
19500 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19502 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
19504 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
19505 * sysdeps/mach/i386/thread_state.h
19506 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
19508 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
19510 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
19512 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
19513 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
19515 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
19517 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
19518 descriptor instead of creating a new one.
19519 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
19521 * mach/setup-thread.c: Include <ldsodefs.h>.
19522 (__mach_setup_thread): Call _dl_allocate_tls, pass
19523 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
19524 MACHINE_THREAD_STATE_FLAVOR, before getting
19525 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
19526 MACHINE_THREAD_STATE_FLAVOR with the result.
19527 * hurd/hurdfault.c (_hurdsig_fault_init): Call
19528 MACHINE_THREAD_STATE_FIX_NEW.
19529 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
19530 too. Add original thread parameter.
19532 2018-03-16 Joseph Myers <joseph@codesourcery.com>
19534 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
19535 Remove inline function.
19537 * sysdeps/i386/fpu/libm-test-ulps: Update.
19538 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19540 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
19542 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
19545 2018-03-15 Joseph Myers <joseph@codesourcery.com>
19547 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
19548 (__sincos_code): Remove define and undefine.
19549 [__FAST_MATH__] (__sincos): Remove inline function.
19550 [__FAST_MATH__] (__sincosf): Remove inline function.
19551 [__FAST_MATH__] (__sincosl): Remove inline function.
19552 (__atan2l): Remove inline functions.
19553 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
19554 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
19556 (floor): Remove inline function.
19558 [__FAST_MATH__] (__ldexp_code): Remove macro.
19559 [__FAST_MATH__] (ldexp): Remove inline function.
19560 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
19561 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
19562 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
19563 [__USE_ISOC99] (__lrint_code): Remove macro.
19564 [__USE_ISOC99] (__llrint_code): Likewise.
19565 [__USE_ISOC99] (lrintf): Remove inline function.
19566 [__USE_ISOC99] (lrint): Likewise.
19567 [__USE_ISOC99] (lrintl): Likewise.
19568 [__USE_ISOC99] (llrint): Likewise.
19569 [__USE_ISOC99] (llrintf): Likewise.
19570 [__USE_ISOC99] (llrintl): Likewise.
19572 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19574 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
19575 (__ieee754_sqrtf): Remove.
19576 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
19577 (__ieee754_sqrtf): Remove.
19578 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
19579 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
19580 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
19581 (__ieee754_sqrtf): Remove.
19582 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
19583 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
19586 (__ieee754_sqrt): Remove.
19587 (__ieee754_sqrtf): Remove.
19588 (__ieee754_sqrtl): Remove.
19589 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
19590 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
19591 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
19592 (__ieee754_sqrtf): Remove.
19593 (__ieee754_sqrtl): Remove.
19595 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19597 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
19598 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
19599 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
19600 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
19601 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
19602 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19603 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19604 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19606 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
19607 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
19608 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
19609 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
19610 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
19611 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
19612 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
19613 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
19614 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
19615 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
19616 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
19617 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
19618 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
19619 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
19620 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
19621 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19622 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19623 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
19624 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
19625 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
19626 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19627 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19628 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
19629 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
19630 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
19631 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
19632 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19633 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19634 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
19635 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
19636 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
19637 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
19638 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
19639 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
19640 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19641 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19642 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
19643 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
19644 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
19645 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
19647 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19649 * include/math.h (sqrt): Declare with asm redirect.
19652 (sqrtf128): Likewise.
19653 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
19654 nonlib and libnldbl with -fmath-errno.
19655 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
19656 * math/w_sqrt_template.c: Likewise.
19657 * math/w_sqrtf_compat.c: Likewise.
19658 * math/w_sqrtl_compat.c: Likewise.
19659 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
19660 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
19661 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
19664 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19666 * benchtests/Makefile: Define _ISOMAC.
19667 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
19668 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
19669 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
19670 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
19671 * benchtests/bench-timing.h: Define attribute_hidden.
19673 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
19675 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
19678 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
19681 * localedata/locales/cs_CZ (mon): Rename to...
19683 (mon): Import from CLDR (genitive case).
19685 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
19688 * localedata/locales/el_CY (abmon): Rename to...
19689 (ab_alt_mon): This.
19690 (abmon): Import from CLDR (abbreviated genitive case).
19691 * localedata/locales/el_GR (abmon): Rename to...
19692 (ab_alt_mon): This.
19693 (abmon): Import from CLDR (abbreviated genitive case).
19695 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
19698 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
19700 2018-03-15 Robert Buj <robert.buj@gmail.com>
19703 * localedata/locales/ca_ES (abmon): Rename to...
19704 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
19705 (mon): Rename to...
19707 (abmon): Import from CLDR (genitive case, month names preceded by
19710 (abday): Synchronize with CLDR.
19711 (d_t_fmt): Likewise.
19715 (LC_TIME): Improve indentation.
19716 (LC_TELEPHONE): Likewise.
19717 (LC_NAME): Likewise.
19718 (LC_ADDRESS): Likewise.
19720 2018-03-14 Joseph Myers <joseph@codesourcery.com>
19722 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
19723 (lrintf): Remove definitions used only with old GCC.
19724 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
19725 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
19726 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
19727 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
19728 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
19729 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
19730 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
19731 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
19732 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
19733 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
19734 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
19735 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
19736 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
19737 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
19738 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
19739 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
19740 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
19741 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
19742 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
19743 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
19744 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
19745 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
19746 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
19747 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
19748 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
19749 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
19750 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
19751 [__FAST_MATH__] (__M_SQRT2): Remove macro.
19753 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
19755 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
19756 instruction to unbreak builds with binutils 2.26 and older.
19758 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
19760 * sysdeps/aarch64/strncmp.S (count): New macro.
19761 (strncmp): Store misaligned length in SRC1 in COUNT.
19762 (mutual_align): Adjust.
19763 (misaligned8): Load dword at a time when it is safe.
19765 2018-03-12 Zack Weinberg <zackw@panix.com>
19769 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
19770 if the _IO_EOF_SEEN bit is already set; update commentary.
19771 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
19772 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
19774 * support/support_openpty.c, support/tty.h: New files.
19775 * support/Makefile (libsupport-routines): Add support_openpty.
19777 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
19779 * libio/Makefile (tests): Add tst-fgetc-after-eof.
19780 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
19782 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
19784 * po/pt_BR.po: Update translations.
19786 2018-03-12 David Michael <fedora.dm0@gmail.com>
19788 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
19789 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
19790 get a port to the startup server.
19792 2018-03-11 Zack Weinberg <zackw@panix.com>
19794 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
19795 before nldbl-compat.h.
19797 2018-03-10 Zack Weinberg <zackw@panix.com>
19799 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
19800 math.h or math_private.h.
19802 * sysdeps/alpha/fpu/s_isnan.c
19803 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
19804 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
19805 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
19806 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
19807 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
19808 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
19809 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
19810 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
19811 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
19812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
19813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
19814 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
19815 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
19816 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
19817 Include math_private.h.
19819 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
19820 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
19821 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
19822 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
19823 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
19824 * sysdeps/powerpc/power7/fpu/s_logb.c:
19825 Include math.h and math_private.h.
19827 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
19828 uses of $at in .set noat / .set at.
19830 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
19832 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
19833 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
19834 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
19835 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
19838 2018-03-09 Florian Weimer <fweimer@redhat.com>
19840 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
19843 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
19846 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
19847 Add nop before __startcontext, add explaining comments.
19849 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19852 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
19854 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
19855 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
19856 Do not build hardware transactional code for __SPE__.
19857 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
19858 (__lll_trylock_elision): Likewise.
19859 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
19860 (__lll_unlock_elision): Likewise.
19862 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
19863 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
19864 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
19865 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
19866 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
19867 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
19868 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
19869 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
19870 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
19871 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
19872 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
19873 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
19874 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
19875 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
19876 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
19877 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
19878 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
19879 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
19880 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
19881 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
19882 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
19883 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19884 (__ASSUME_CLONE_BACKWARDS): Define.
19885 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
19886 __clone2 if __NR_clone2 is defined.
19887 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19888 (__ASSUME_CLONE_BACKWARDS): Likewise.
19889 * sysdeps/unix/sysv/linux/i386/kernel-features.h
19890 (__ASSUME_CLONE_BACKWARDS): Likewise.
19891 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19892 (__ASSUME_CLONE2): Likewise.
19893 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19894 (__ASSUME_CLONE_BACKWARDS3): Likewise.
19895 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
19896 variants and the define architecture can use.
19897 (__ASSUME_CLONE_DEFAULT): Define as default.
19898 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19899 (__ASSUME_CLONE_BACKWARDS): Likewise.
19900 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19901 (__ASSUME_CLONE_BACKWARDS): Likewise.
19902 * sysdeps/unix/sysv/linux/s390/kernel-features.h
19903 (__ASSUME_CLONE_BACKWARDS2): Likewise.
19905 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
19907 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
19909 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
19912 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
19913 (do_test_limit): Likewise.
19915 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
19916 for every implementation.
19917 (do_test): Likewise.
19919 * benchtests/bench-strncmp.c: Convert output to json.
19921 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19923 * io/futimens.c: Add missing start-of-file descriptive comment.
19924 * io/utime.c: Likewise.
19925 * misc/futimesat.c: Likewise.
19926 * misc/utimes.c: Likewise.
19927 * sysdeps/mach/hurd/futimesat.c: Likewise.
19928 * sysdeps/mach/hurd/utimes.c: Likewise.
19929 * sysdeps/posix/utime.c: Likewise.
19930 * sysdeps/posix/utimes.c: Likewise.
19931 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
19932 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
19933 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
19934 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
19936 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
19938 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
19940 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
19941 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
19942 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
19943 (__futimens): Move implementation to...
19944 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
19945 utime_tvalue_from_tspec): ... new helper functions.
19946 (hurd_futimens): New function.
19947 * sysdeps/mach/hurd/futimesat.c: New file.
19948 * sysdeps/mach/hurd/utimensat.c: New file.
19950 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
19952 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
19953 UTIME_OMIT): New macros.
19954 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
19955 before reverting to converting time spec to time value and calling
19957 * sysdeps/mach/hurd/utime-helper.c: New file.
19958 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
19959 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
19960 reverting to utime_tvalue_from_tval and __file_utimes.
19961 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
19962 (__lutimes): Just call hurd_futimens after lookup.
19963 * sysdeps/mach/hurd/utimes.c: Likewise.
19965 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
19967 * bits/sigaction.h: Add include guard.
19968 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
19969 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
19970 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
19971 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
19972 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
19973 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
19974 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
19975 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
19976 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
19978 2018-03-05 Joseph Myers <joseph@codesourcery.com>
19980 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
19981 -Wmaybe-uninitialized for -Os.
19982 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
19985 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19987 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
19988 __INO_T_MATCHES_INO64_T is defined.
19989 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
19990 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
19992 * dirent/alphasort64.c: Likewise.
19993 * dirent/scandir.c: Likewise.
19994 * dirent/scandir64-tail.c: Likewise.
19995 * dirent/scandir64.c: Likewise.
19996 * dirent/scandirat.c: Likewise.
19997 * dirent/scandirat64.c: Likewise.
19998 * dirent/versionsort.c: Likewise.
19999 * dirent/versionsort64.c: Likewise.
20000 * include/dirent.h: Likewise.
20002 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
20003 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
20004 for socketpair endpoint.
20005 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
20006 WRITE_BUFFER_SIZE as buffer size for sending socket.
20007 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
20008 issue on system where send is implemented with sendto syscall.
20009 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
20010 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
20011 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
20012 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
20015 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
20016 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
20017 sa_restorer for vDSO case.
20018 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
20020 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20022 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
20023 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
20024 * hurd/hurd/ioctl.h: Include <mach/port.h>
20025 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
20026 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
20027 <mach/mach_types.h> and <mach/message.h>.
20028 (headers): Move mach/param.h to bits/mach/param.h.
20029 * sysdeps/mach/i386/mach/param.h: Move file to ...
20030 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
20031 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
20033 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
20034 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
20035 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
20036 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
20037 trivial, for C++ conformity.
20038 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
20039 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
20040 Process mig output through $(migheadersed).
20041 * hurd/Makefile (migheadersed): Define variable.
20042 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
20043 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
20045 * hurd/hurd.h: Include <bits/types/sigset_t.h>
20046 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
20047 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
20048 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
20049 <bits/types/sigset_t.h>.
20050 [!defined __USE_GNU]: Do not #error out.
20051 (struct hurd_sigstate): Use _NSIG instead of NSIG.
20052 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
20053 Include <stddef.h> and <bits/types/sigset_t.h>
20054 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
20055 instead of sighandler_t.
20056 * stdlib/errno.h (error_t): Move definition to...
20057 * bits/types/error_t.h: ... new header.
20058 * stdlib/Makefile (headers): Add bits/types/error_t.h.
20059 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
20060 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
20061 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
20062 * hurd/hurd.h: Include <bits/types/error_t.h>
20063 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
20064 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
20065 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
20066 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
20067 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
20068 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
20069 * sysdeps/mach/hurd/futimens.c: New file.
20071 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
20074 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
20075 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
20076 * nscd/gai.c (__nss_hosts_database): Readd definition.
20077 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
20078 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
20079 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
20081 2018-03-02 Joseph Myers <joseph@codesourcery.com>
20083 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
20084 (ifunc_one): Likewise.
20086 2018-03-01 DJ Delorie <dj@delorie.com>
20089 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
20092 2018-03-01 Maciej W. Rozycki <macro@mips.com>
20094 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
20095 `match_pid' parameter.
20096 (td_ta_thr_iter): Update accordingly.
20098 2018-03-01 Florian Weimer <fweimer@redhat.com>
20100 * nptl/Makefile (install-lib-ldscripts): Remove.
20101 (install): Remove rule.
20102 ($(inst_libdir)/libpthread.so): Likewise.
20104 2018-03-01 Mike FABIAN <mfabian@redhat.com>
20107 * localedata/locales/an_ES: update month and day names,
20108 improve d_fmt, improve postal_fmt, add country_post,
20111 2018-03-01 Mike FABIAN <mfabian@redhat.com>
20113 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
20114 Ukrainian instead of Bulgarian.
20116 2018-03-01 Florian Weimer <fweimer@redhat.com>
20118 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
20121 2018-03-01 Florian Weimer <fweimer@redhat.com>
20123 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
20124 * nptl/Makefile (routines): Add pthread_atfork.
20125 (static-only-routines): Set to pthread_atfork.
20126 (libpthread-routines): Remove pthread_atfork.
20127 (libpthread-static-only-routines): Remove.
20128 (install): Update comment.
20129 (libpthread.so): Do not install libpthread_nonshared.a.
20130 (tests): Do not link with libpthread_nonshared.a.
20131 (generated): Remove libpthread_nonshared.a.
20132 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
20133 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
20134 with libpthread_nonshared.a.
20136 2018-02-28 Joseph Myers <joseph@codesourcery.com>
20139 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
20140 (libc_feholdexcept_setroundf128): New macro.
20141 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
20144 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
20146 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
20147 * include/inttypes.h: New file.
20149 2018-02-27 Joseph Myers <joseph@codesourcery.com>
20151 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
20152 -Os in two more places.
20154 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20156 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
20157 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
20158 be sorted correctly at the moment because of a bug.
20160 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20162 [BZ #22550] - es_ES locale (and other es_* locales): collation should
20163 treat ñ as a primary different character, sync the collation
20164 for Spanish with CLDR.
20165 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
20166 * localedata/Makefile: Add new test files.
20167 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
20168 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
20170 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
20171 * localedata/am_ET.UTF-8.in: New test file.
20172 * localedata/az_AZ.UTF-8.in: Likewise.
20173 * localedata/be_BY.UTF-8.in: Likewise.
20174 * localedata/ber_DZ.UTF-8.in: Likewise.
20175 * localedata/ber_MA.UTF-8.in: Likewise.
20176 * localedata/bg_BG.UTF-8.in: Likewise.
20177 * localedata/br_FR.UTF-8.in: Likewise.
20178 * localedata/cmn_TW.UTF-8.in: Likewise.
20179 * localedata/crh_UA.UTF-8.in: Likewise.
20180 * localedata/csb_PL.UTF-8.in: Likewise.
20181 * localedata/cv_RU.UTF-8.in: Likewise.
20182 * localedata/cy_GB.UTF-8.in: Likewise.
20183 * localedata/dz_BT.UTF-8.in: Likewise.
20184 * localedata/eo.UTF-8.in: Likewise.
20185 * localedata/es_ES.UTF-8.in: Likewise.
20186 * localedata/fa_IR.UTF-8.in: Likewise.
20187 * localedata/fi_FI.UTF-8.in: Likewise.
20188 * localedata/fil_PH.UTF-8.in: Likewise.
20189 * localedata/fur_IT.UTF-8.in: Likewise.
20190 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
20191 * localedata/ha_NG.UTF-8.in: Likewise.
20192 * localedata/ig_NG.UTF-8.in: Likewise.
20193 * localedata/ik_CA.UTF-8.in: Likewise.
20194 * localedata/kk_KZ.UTF-8.in: Likewise.
20195 * localedata/ku_TR.UTF-8.in: Likewise.
20196 * localedata/ky_KG.UTF-8.in: Likewise.
20197 * localedata/ln_CD.UTF-8.in: Likewise.
20198 * localedata/mi_NZ.UTF-8.in: Likewise.
20199 * localedata/ml_IN.UTF-8.in: Likewise.
20200 * localedata/mn_MN.UTF-8.in: Likewise.
20201 * localedata/mr_IN.UTF-8.in: Likewise.
20202 * localedata/mt_MT.UTF-8.in: Likewise.
20203 * localedata/nb_NO.UTF-8.in: Likewise.
20204 * localedata/om_KE.UTF-8.in: Likewise.
20205 * localedata/os_RU.UTF-8.in: Likewise.
20206 * localedata/ps_AF.UTF-8.in: Likewise.
20207 * localedata/ro_RO.UTF-8.in: Likewise.
20208 * localedata/ru_RU.UTF-8.in: Likewise.
20209 * localedata/sc_IT.UTF-8.in: Likewise.
20210 * localedata/se_NO.UTF-8.in: Likewise.
20211 * localedata/sq_AL.UTF-8.in: Likewise.
20212 * localedata/sv_SE.UTF-8.in: Likewise.
20213 * localedata/szl_PL.UTF-8.in: Likewise.
20214 * localedata/tg_TJ.UTF-8.in: Likewise.
20215 * localedata/tk_TM.UTF-8.in: Likewise.
20216 * localedata/tt_RU.UTF-8.in: Likewise.
20217 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
20218 * localedata/ug_CN.UTF-8.in: Likewise.
20219 * localedata/uz_UZ.UTF-8.in: Likewise.
20220 * localedata/vi_VN.UTF-8.in: Likewise.
20221 * localedata/yi_US.UTF-8.in: Likewise.
20222 * localedata/yo_NG.UTF-8.in: Likewise.
20223 * localedata/zh_CN.UTF-8.in: Likewise.
20224 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
20225 file and fix bugs in the collation.
20226 * localedata/locales/az_AZ: Likewise.
20227 * localedata/locales/be_BY: Likewise.
20228 * localedata/locales/ber_DZ: Likewise.
20229 * localedata/locales/ber_MA: Likewise.
20230 * localedata/locales/bg_BG: Likewise.
20231 * localedata/locales/br_FR: Likewise.
20232 * localedata/locales/br_FR@euro: Likewise.
20233 * localedata/locales/ca_ES: Likewise.
20234 * localedata/locales/cns11643_stroke: Likewise.
20235 * localedata/locales/crh_UA: Likewise.
20236 * localedata/locales/cs_CZ: Likewise.
20237 * localedata/locales/csb_PL: Likewise.
20238 * localedata/locales/cv_RU: Likewise.
20239 * localedata/locales/cy_GB: Likewise.
20240 * localedata/locales/da_DK: Likewise.
20241 * localedata/locales/dz_BT: Likewise.
20242 * localedata/locales/en_CA: Likewise.
20243 * localedata/locales/eo: Likewise.
20244 * localedata/locales/es_CU: Likewise.
20245 * localedata/locales/es_EC: Likewise.
20246 * localedata/locales/es_ES: Likewise.
20247 * localedata/locales/es_US: Likewise.
20248 * localedata/locales/et_EE: Likewise.
20249 * localedata/locales/fa_IR: Likewise.
20250 * localedata/locales/fi_FI: Likewise.
20251 * localedata/locales/fil_PH: Likewise.
20252 * localedata/locales/fur_IT: Likewise.
20253 * localedata/locales/gez_ER@abegede: Likewise.
20254 * localedata/locales/ha_NG: Likewise.
20255 * localedata/locales/hr_HR: Likewise.
20256 * localedata/locales/hsb_DE: Likewise.
20257 * localedata/locales/hu_HU: Likewise.
20258 * localedata/locales/ig_NG: Likewise.
20259 * localedata/locales/ik_CA: Likewise.
20260 * localedata/locales/is_IS: Likewise.
20261 * localedata/locales/iso14651_t1_pinyin: Likewise.
20262 * localedata/locales/kk_KZ: Likewise.
20263 * localedata/locales/ku_TR: Likewise.
20264 * localedata/locales/ky_KG: Likewise.
20265 * localedata/locales/ln_CD: Likewise.
20266 * localedata/locales/lt_LT: Likewise.
20267 * localedata/locales/lv_LV: Likewise.
20268 * localedata/locales/mi_NZ: Likewise.
20269 * localedata/locales/ml_IN: Likewise.
20270 * localedata/locales/mn_MN: Likewise.
20271 * localedata/locales/mr_IN: Likewise.
20272 * localedata/locales/mt_MT: Likewise.
20273 * localedata/locales/nb_NO: Likewise.
20274 * localedata/locales/om_KE: Likewise.
20275 * localedata/locales/os_RU: Likewise.
20276 * localedata/locales/pl_PL: Likewise.
20277 * localedata/locales/ps_AF: Likewise.
20278 * localedata/locales/ro_RO: Likewise.
20279 * localedata/locales/ru_RU: Likewise.
20280 * localedata/locales/ru_UA: Likewise.
20281 * localedata/locales/sc_IT: Likewise.
20282 * localedata/locales/se_NO: Likewise.
20283 * localedata/locales/si_LK: Likewise.
20284 * localedata/locales/sq_AL: Likewise.
20285 * localedata/locales/sv_FI: Likewise.
20286 * localedata/locales/sv_FI@euro: Likewise.
20287 * localedata/locales/sv_SE: Likewise.
20288 * localedata/locales/szl_PL: Likewise.
20289 * localedata/locales/tg_TJ: Likewise.
20290 * localedata/locales/ti_ER: Likewise.
20291 * localedata/locales/tk_TM: Likewise.
20292 * localedata/locales/tl_PH: Likewise.
20293 * localedata/locales/tr_TR: Likewise.
20294 * localedata/locales/tt_RU: Likewise.
20295 * localedata/locales/tt_RU@iqtelif: Likewise.
20296 * localedata/locales/ug_CN: Likewise.
20297 * localedata/locales/uk_UA: Likewise.
20298 * localedata/locales/uz_UZ: Likewise.
20299 * localedata/locales/uz_UZ@cyrillic: Likewise.
20300 * localedata/locales/vi_VN: Likewise.
20301 * localedata/locales/yi_US: Likewise.
20302 * localedata/locales/yo_NG: Likewise.
20304 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20306 * gen-locales.mk: Make test files which contain @ modifiers in their
20308 * localedata/gen-locale.sh: Likewise.
20310 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20312 * posix/tst-fnmatch.input: Fix results for range expressions
20314 * posix/tst-regexloc.c: Do not use a range expression for
20315 de_DE.ISO-8859-1 locale.
20317 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20319 * posix/bug-regex5.c: Fix test case because with the new
20320 iso14651_t1_common file, the da_DK locale now has 6 collating elements
20321 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
20324 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20326 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
20327 downloaded from ISO, the collation order of @-. and space has changed.
20328 Therefore, this test file needed to be adapted.
20329 * localedata/fr_CA.UTF-8.in: Likewise.
20330 * localedata/fr_FR.UTF-8.in: Likewise.
20331 * localedata/uk_UA.UTF-8.in: Likewise.
20333 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20335 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
20336 order of ȥ in the new iso14651_t1_common file.
20337 * localedata/pl_PL.UTF-8.in: Likewise.
20339 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20341 * localedata/locales/iso14651_t1_common: Add sections for various
20342 scripts to the iso14651_t1_common file.
20344 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20346 * localedata/locales/iso14651_t1_common: Use the code point of a
20347 character in the fourth collation level instead of IGNORE for all
20348 entries which have IGNORE on all 4 levels.
20350 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20352 * localedata/locales/iso14651_t1_common: Add some convenient collation
20353 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
20354 rules similar to those in CLDR.
20356 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20358 * localedata/locales/iso14651_t1_common: The new version of this
20359 file downloaded from ISO contained several syntax errors which
20360 are fixed by this patch.
20362 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20364 * localedata/locales/iso14651_t1_common: replace all <U.....>
20365 with <U000.....> because glibc understands only 4 digit or 8 digit
20367 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20369 * localedata/locales/iso14651_t1_common: Necessary changes
20370 to make the file downloaded from ISO usable by glibc.
20372 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20375 * localedata/locales/iso14651_t1_common: Update file to
20376 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
20378 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
20380 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
20381 of <nptl/pthreadP.h>
20382 (thread_attr_compare): Move function to...
20383 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
20384 * sysdeps/nptl/timer_routines.h: ... new header.
20385 * sysdeps/mach/hurd/gai_misc.h: New file.
20387 2018-02-26 Joseph Myers <joseph@codesourcery.com>
20389 * string/strcoll_l.c: Include <libc-diag.h>.
20390 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
20391 declarations of seq1 and seq2.
20394 * stdlib/atoi.c (atoi): Use libc_hidden_def.
20395 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
20397 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
20401 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
20402 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
20403 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
20404 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
20405 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
20406 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
20408 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20410 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
20411 macros used in __ptrace_request.
20413 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
20416 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
20418 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
20419 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
20420 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
20423 2018-02-23 Joseph Myers <joseph@codesourcery.com>
20426 * ctype/ctype.c (tolower): Use libc_hidden_def.
20427 (toupper): Likewise.
20428 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
20429 [!_ISOMAC] (toupper): Likewise.
20431 2018-02-23 Mike FABIAN <mfabian@redhat.com>
20433 * localedata/Makefile: Remove --quiet argument when
20436 2018-02-23 Mike FABIAN <mfabian@redhat.com>
20439 * localedata/locales/pt_BR (LC_TIME): use / instead of -
20441 * localedata/locales/pt_PT (LC_TIME): likewise
20443 2018-02-23 Mike FABIAN <mfabian@redhat.com>
20446 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
20447 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
20448 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
20450 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20454 * nptl/Makefile (routines): Remove unregister-atfork.
20455 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
20456 (fork_handler_alloc): Remove function.
20457 (fork_handlers, fork_handler_init): New variables.
20458 (__fork_lock): Rename to atfork_lock.
20459 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
20460 to use a dynamic array to add/remove atfork handlers.
20461 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
20462 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
20463 Remove declaration.
20464 (fork_handler): Remove next, refcntr, and need_signal member.
20465 (__run_fork_handler_type): New enum.
20466 (__run_fork_handlers): New prototype.
20467 * nptl/register-atfork.c: Remove file.
20468 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
20470 * sysdeps/nptl/nptl-signals.h: Move to ...
20471 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
20473 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
20474 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
20475 unnecessary check for SIGTIMER.
20476 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
20477 remove unnecessary removal of SIGTIMER.
20478 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
20479 include-signals.h rename.
20480 * nptl/pthreadP.h: Likewise.
20481 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
20482 __is_internal_signal instead of __nptl_is_internal_signal.
20484 2018-02-22 Andrew Waterman <andrew@sifive.com>
20487 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
20488 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
20489 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
20490 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
20492 2018-02-22 DJ Delorie <dj@delorie.com>
20494 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
20496 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
20498 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
20499 do_misaligned, not misaligned8.
20501 2018-02-22 Steve Ellcey <sellcey@cavium.com>
20503 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
20504 Add memcpy_thunderx2.
20505 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
20507 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
20508 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
20509 and IS_THUNDERX2PA checks.
20510 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
20511 Use macro to set name appropriately.
20512 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
20513 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
20514 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
20516 (IS_THUNDERX2): New macro.
20518 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
20520 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20522 2018-02-21 Zack Weinberg <zackw@panix.com>
20524 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
20525 Define here, unconditionally.
20526 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
20527 * libio/libioP.h: Remove #if 0 blocks.
20528 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
20529 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
20530 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
20532 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
20533 Assume weak_alias is always defined.
20535 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
20536 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
20537 Remove #if 0 and #ifdef TODO blocks.
20538 Assume text_set_element is always defined.
20540 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
20541 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
20542 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
20544 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
20545 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
20546 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
20547 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
20548 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
20549 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
20550 Reformat bit flags for _flags field to make occupancy clearer.
20552 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
20553 Keep definitions consistent with those in libio/libio.h.
20555 * libio/libio.h (_IO_file_flags): Remove macro.
20556 All uses changed to _flags.
20558 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
20559 (__HAVE_COLUMN, _IO_BE): Don't define.
20560 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
20561 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
20562 * libio/libioP.h (EOF): Don't define.
20563 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
20564 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
20565 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
20566 testing _IO_UNIFIED_JUMPTABLES.
20568 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
20569 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
20570 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
20571 (_IO_size_t): Delete; all uses changed to size_t.
20572 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
20573 (_IO_off_t): Delete; all uses changed to off_t.
20574 (_IO_off64_t): Delete; all uses changed to off64_t.
20575 (_IO_pid_t): Delete; all uses changed to pid_t.
20576 (_IO_uid_t): Delete; all uses changed to uid_t.
20577 (_IO_wint_t): Delete; all uses changed to wint_t.
20578 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
20579 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
20580 (_IO_cookie_io_functions_t): Delete; all uses changed to
20581 cookie_io_functions_t.
20582 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
20583 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
20584 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
20585 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
20587 * libio/iofopncook.c: Remove unnecessary forward declarations.
20588 * libio/iolibio.h: Correct outdated commentary.
20589 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
20590 * stdio-common/fxprintf.c (__fxprintf_nocancel):
20591 Remove unnecessary casts.
20592 * stdio-common/getline.c: Use _IO_getdelim directly.
20593 Don't redefine ssize_t.
20594 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
20595 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
20596 Remove outdated comments.
20597 * stdio-common/vfscanf.c: Don't redefine va_list.
20599 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
20600 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
20601 Remove preprocessor conditionals on _LIBC and __USE_GNU,
20602 which are always true, and __cplusplus, which is always false.
20604 2018-02-21 Joseph Myers <joseph@codesourcery.com>
20608 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
20609 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
20610 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
20611 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
20613 [!_ISOMAC] (putc_unlocked): Likewise.
20614 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
20615 define inline if [__USE_EXTERN_INLINES].
20616 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
20621 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
20622 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
20623 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
20624 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
20625 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
20627 * time/tzfile.c (__tzfile_read): Likewise.
20629 2018-02-21 Mike FABIAN <mfabian@redhat.com>
20632 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
20634 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
20636 * io/fcntl.h: Fix a typo in a comment.
20638 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
20641 * include/features.h: Add _ISOC11_SOURCE to test for whether to
20642 define _DEFAULT_SOURCE.
20643 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
20645 2018-02-21 Florian Weimer <fweimer@redhat.com>
20648 * elf/cache.c (save_cache): Call fsync on temporary file before
20650 (save_aux_cache): Call fdatasync on temporary file before renaming
20653 2018-02-21 Florian Weimer <fweimer@redhat.com>
20656 * include/caller.h: Remove file.
20657 * elf/dl-caller.c: Likewise.
20658 * elf/Makefile (dl-routines): Remove dl-caller.
20659 (shared-only-routines): Do not add dl-caller.
20660 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
20662 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
20664 (dl_open_worker): Do not call __check_caller.
20665 (_dl_open): Do not set caller_dl_open member.
20666 * elf/rtld.c (_rtld_global_ro): Do not initialize
20667 _dl_check_caller member.
20668 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
20669 _dl_check_caller member.
20670 (_dl_check_caller): Remove declaration.
20671 * sysdeps/unix/sysv/linux/dl-execstack.c
20672 (_dl_make_stack_executable): Do not call __check_caller.
20674 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
20676 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
20677 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
20679 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
20681 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
20684 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
20687 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
20688 of 199606L, 200112L, and 200809L.
20689 (_XOPEN_SOURCE): Document special values of 600 and 700.
20690 (_ISOC11_SOURCE): Document macro.
20691 (_ATFILE_SOURCE): Likewise.
20692 (_FORTIFY_SOURCE): Likewise.
20694 2018-02-19 Joseph Myers <joseph@codesourcery.com>
20698 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
20699 and define as weak alias of __ferror_unlocked. Use
20701 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
20703 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
20704 function if [__USE_EXTERN_INLINES].
20705 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
20708 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
20711 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
20713 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
20716 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
20717 the GLIBC_2.1 version.
20719 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
20722 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
20723 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
20724 intl/tst-gettext-de.po from po/de.po by removing the
20725 POT-Creation-Date line.
20726 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
20728 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
20731 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
20733 * mach/Makefile (headers): Add mach/param.h.
20734 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
20735 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
20736 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
20737 (__ptsname_r): Move implementation to...
20738 (__ptsname_internal): ... new function. Add filling the STP
20741 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
20743 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
20746 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
20748 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
20751 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
20753 * nptl/Makefile (tst-mutex8-ENV): Delete.
20754 * nptl/tst-mutex8.c (check_type):
20755 Add runtime check if mutex will be elided.
20757 2018-02-15 Joseph Myers <joseph@codesourcery.com>
20761 * manual/install.texi (Configuring and compiling): Describe
20762 passing CC and CFLAGS on configure command line, not as
20763 environment variables. Use @code markup on those variables.
20764 Specify what options go in CC and what go in CFLAGS. Note the
20765 requirement to compile with optimization.
20766 * INSTALL: Regenerated.
20769 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
20770 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
20771 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
20772 __sigprocmask instead of sigprocmask.
20773 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
20775 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
20776 __sigsetjmp and sigprocmask.
20779 * include/argz.h (argz_next): Use libc_hidden_proto.
20780 (__argz_next): Likewise.
20781 * string-argz-next.c (__argz_next): Use libc_hidden_def.
20782 (argz_next): Use libc_hidden_weak.
20785 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
20787 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
20791 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
20793 * libio/iofputs.c (fputs): Use libc_hidden_weak.
20797 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
20798 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
20799 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
20800 (__feof_unlocked): New declaration, and inline function if
20801 [__USE_EXTERN_INLINES].
20802 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
20803 instead of feof_unlocked.
20804 * intl/localealias.c [_LIBC] (FEOF): Likewise.
20805 * nss/nsswitch.c (nss_parse_file): Likewise.
20806 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
20808 * time/getdate.c (__getdate_r): Likewise.
20809 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
20810 Define as macro to call __feof_unlocked.
20812 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
20814 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
20816 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
20818 * math/Makefile: Remove mpexp.c and mplog.c
20819 * sysdeps/i386/fpu/mpexp.c: Delete file.
20820 * sysdeps/i386/fpu/mplog.c: Likewise.
20821 * sysdeps/ia64/fpu/mpexp.c: Likewise.
20822 * sysdeps/ia64/fpu/mplog.c: Likewise.
20823 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
20824 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
20825 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
20826 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20827 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
20828 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
20829 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
20830 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
20831 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
20832 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20833 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
20834 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
20835 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20836 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
20837 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
20838 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20840 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
20842 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20844 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20846 * sysdeps/sh/libm-test-ulps: Update.
20848 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20850 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
20853 2018-02-12 Zack Weinberg <zackw@panix.com>
20856 * posix/sys/types.h: Don't include sys/sysmacros.h.
20857 * misc/sys/sysmacros.h: Remove the conditional deprecation
20858 warnings for the macros defined by this header.
20860 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20862 * manual/probes.texi: Remove slowexp probes.
20863 * math/Makefile: Remove slowexp.
20864 * sysdeps/generic/math_private.h (__slowexp): Remove.
20865 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
20866 document error bounds.
20867 * sysdeps/i386/fpu/slowexp.c: Remove.
20868 * sysdeps/ia64/fpu/slowexp.c: Remove.
20869 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
20870 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
20871 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
20872 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
20873 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
20874 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
20875 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
20876 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
20877 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
20878 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
20879 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
20881 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
20884 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
20885 * benchtests/pow-inputs: Update comment for slow path cases.
20886 * manual/probes.texi (slowpow_p10): Delete removed probe.
20887 (slowpow_p10): Likewise.
20888 * math/Makefile: Remove halfulp.c and slowpow.c.
20889 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
20890 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
20891 (__halfulp): Remove.
20892 (__slowpow): Remove.
20893 * sysdeps/i386/fpu/halfulp.c: Delete file.
20894 * sysdeps/i386/fpu/slowpow.c: Likewise.
20895 * sysdeps/ia64/fpu/halfulp.c: Likewise.
20896 * sysdeps/ia64/fpu/slowpow.c: Likewise.
20897 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
20898 improve comments and add error analysis.
20899 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
20900 (power1): Remove function:
20901 (log1): Remove error argument, add error analysis.
20902 (my_log2): Remove function.
20903 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
20904 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20905 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
20906 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
20907 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
20908 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
20909 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
20910 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
20911 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
20912 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
20913 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
20914 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20915 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
20916 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20918 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
20920 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
20921 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
20923 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
20926 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
20927 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
20928 and PTRACE_SETHBPREGS.
20930 2018-02-10 Zack Weinberg <zackw@panix.com>
20933 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
20935 * malloc/tst-malloc-stats-cancellation.c: New test case.
20936 * malloc/Makefile: Add new test case.
20938 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
20940 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
20942 2018-02-10 Joseph Myers <joseph@codesourcery.com>
20944 * math/Makefile (libm-narrow-fns): Add add.
20945 (libm-test-funcs-narrow): Likewise.
20946 * math/Versions (GLIBC_2.28): Add narrowing add functions.
20947 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
20948 * math/gen-auto-libm-tests.c (test_functions): Add add.
20949 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
20950 (NARROW_ADD_ROUND_TO_ODD): Likewise.
20951 (NARROW_ADD_TRIVIAL): Likewise.
20952 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
20954 (__daddl): Likewise.
20955 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
20957 (CFLAGS-nldbl-dadd.c): New variable.
20958 (CFLAGS-nldbl-fadd.c): Likewise.
20959 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
20961 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
20963 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
20964 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
20965 * math/auto-libm-test-in: Add tests of add.
20966 * math/auto-libm-test-out-narrow-add: New generated file.
20967 * math/libm-test-narrow-add.inc: New file.
20968 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
20969 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
20970 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
20971 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
20972 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
20973 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
20974 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
20975 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
20976 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
20977 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
20978 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
20979 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
20980 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
20981 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
20982 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
20983 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
20984 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
20985 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
20986 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20987 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
20988 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20989 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20990 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20991 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20992 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20993 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20994 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20995 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20996 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20997 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20998 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20999 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
21001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
21002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
21003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
21004 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
21005 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21006 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21007 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21008 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21009 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21010 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
21011 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
21012 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21013 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21015 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
21016 (f128-pairs): New variable.
21017 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
21018 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
21020 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
21021 Also make tests add $(f128-loader-link) to gnulib-tests.
21023 2018-02-09 DJ Delorie <dj@redhat.com>
21026 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
21027 64-bit ELF type for 64-bit ELF objects.
21029 2018-02-09 Joseph Myers <joseph@codesourcery.com>
21031 * math/libm-test-driver.c (snan_tests_arg): New variable.
21032 * math/libm-test-support.h (snan_tests_arg): New declaration.
21033 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
21035 * math/Makefile (test-type-pairs): New variable.
21036 (test-type-pairs-f64xf128-yes): Likewise.
21037 (tests): Add test-narrow-macros.
21038 (libm-test-funcs-narrow): New variable.
21039 (libm-test-c-narrow): Likewise.
21040 (generated): Add $(libm-test-c-narrow).
21041 (libm-tests-base-narrow): New variable.
21042 (libm-tests-narrow): Likewise.
21043 (libm-tests): Add $(libm-tests-narrow).
21044 (libm-tests-for-type): Handle $(libm-tests-narrow).
21045 (libm-test-c-narrow-obj): New variable.
21046 ($(libm-test-c-narrow-obj)): New rule.
21047 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
21048 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
21049 $(o-iterator) to set dependencies and CFLAGS.
21050 * math/gen-auto-libm-tests.c: Document use for narrowing
21052 (output_for_one_input_case): Take argument NARROW.
21053 (generate_output): Likewise. Update call to
21054 output_for_one_input_case.
21055 (main): Take --narrow option. Update call to generate_output.
21056 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
21057 (apply_lit): Update call to _apply_lit.
21058 (apply_arglit): New function.
21059 (parse_args): Handle "a" arguments.
21060 (parse_auto_input): Handle format names using ":".
21061 * math/README.libm-test: Document "a" parameter type.
21062 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
21063 (ARG_TYPE_TRUE_MIN): Likewise.
21064 (ARG_TYPE_MAX): Likwise.
21065 (ARG_MIN_EXP): Likewise.
21066 (ARG_MAX_EXP): Likewise.
21067 (ARG_MANT_DIG): Likewise.
21068 (TEST_COND_arg_ibm128): Likewise.
21069 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
21070 (TEST_COND_arg_fmt): New macro.
21071 (init_max_error): Update prototype.
21072 * math/libm-test-support.c (test_ibm128): New variable.
21073 (init_max_error): Take argument testing_ibm128 and set test_ibm128
21074 instead of using [TEST_COND_ibm128] conditional.
21075 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
21076 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
21077 [TEST_NARROW] (TEST_MSG): New definition.
21078 (arg_plus_zero): New macro.
21079 (arg_minus_zero): Likewise.
21080 (arg_plus_infty): Likewise.
21081 (arg_minus_infty): Likewise.
21082 (arg_qnan_value_pl): Likewise.
21083 (arg_qnan_value): Likewise.
21084 (arg_snan_value_pl): Likewise.
21085 (arg_snan_value): Likewise.
21086 (arg_max_value): Likewise.
21087 (arg_min_value): Likewise.
21088 (arg_min_subnorm_value): Likewise.
21089 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
21090 (RUN_TEST_LOOP_aa_f): New macro.
21091 (TEST_SUFF): New macro.
21092 (TEST_SUFF_STR): Likewise.
21093 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
21094 (TEST_COND_any_ibm128): New macro.
21095 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
21096 this_func. Update call to init_max_error.
21097 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
21098 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
21099 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
21100 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
21101 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
21102 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
21103 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
21104 * math/test-math-scalar.h (TEST_NARROW): Likewise.
21105 * math/test-math-vector.h (TEST_NARROW): Likewise.
21106 * math/test-arg-double.h: New file.
21107 * math/test-arg-float128.h: Likewise.
21108 * math/test-arg-float32x.h: Likewise.
21109 * math/test-arg-float64.h: Likewise.
21110 * math/test-arg-float64x.h: Likewise.
21111 * math/test-arg-ldouble.h: Likewise.
21112 * math/test-math-narrow.h: Likewise.
21113 * math/test-narrow-macros.c: Likewise.
21114 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
21115 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
21116 test-narrow-macros-ldbl-64.
21117 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
21119 * math/bits/mathcalls-narrow.h: New file.
21120 * include/bits/mathcalls-narrow.h: Likewise.
21121 * math/math-narrow.h: Likewise.
21122 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
21123 (__MATHCALL_NARROW_ARGS_2): Likewise.
21124 (__MATHCALL_NARROW_ARGS_3): Likewise.
21125 (__MATHCALL_NARROW_NORMAL): Likewise.
21126 (__MATHCALL_NARROW_REDIR): Likewise.
21127 (__MATHCALL_NARROW): Likewise.
21128 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
21129 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
21131 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21132 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
21133 (libm-narrow-fns): New variable.
21134 (libm-narrow-types-basic): Likewise.
21135 (libm-narrow-types-ldouble-yes): Likewise.
21136 (libm-narrow-types-float128-yes): Likewise.
21137 (libm-narrow-types-float128-alias-yes): Likewise.
21138 (libm-narrow-types): Likewise.
21139 (libm-routines): Add narrowing functions.
21140 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
21141 (libc_feholdexcept_setroundf128): New macro.
21142 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
21143 * sysdeps/ieee754/float128/float128_private.h: Include
21144 <math/math-narrow.h>.
21145 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
21146 Undefine and redefine.
21147 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
21148 (libm_alias_float_ldouble): Undefine and redefine.
21149 (libm_alias_double_ldouble): Likewise.
21151 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
21153 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
21155 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
21158 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
21160 * manual/creature.texi: Convert references to gcc.info to gcc.
21161 * manual/stdio.texi: Likewise.
21162 * manual/string.texi: Likewise.
21164 2018-02-07 Joseph Myers <joseph@codesourcery.com>
21167 * posix/bits/types.h (__int_least8_t): New typedef.
21168 (__uint_least8_t): Likewise.
21169 (__int_least16_t): Likewise.
21170 (__uint_least16_t): Likewise.
21171 (__int_least32_t): Likewise.
21172 (__uint_least32_t): Likewise.
21173 (__int_least64_t): Likewise.
21174 (__uint_least64_t): Likewise.
21175 * sysdeps/generic/stdint.h (int_least8_t): Define using
21177 (int_least16_t): Define using __int_least16_t.
21178 (int_least32_t): Define using __int_least32_t.
21179 (int_least64_t): Define using __int_least64_t.
21180 (uint_least8_t): Define using __uint_least8_t.
21181 (uint_least16_t): Define using __uint_least16_t.
21182 (uint_least32_t): Define using __uint_least32_t.
21183 (uint_least64_t): Define using __uint_least64_t.
21184 * wcsmbs/uchar.h: Include <bits/types.h>.
21185 (char16_t): Define using __uint_least16_t conditional only on
21187 (char32_t): Define using __uint_least32_t conditional only on
21189 * wcsmbs/test-char-types.c: New file.
21190 * wcsmbs/Makefile (tests): Add test-char-types.
21192 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
21195 2018-02-07 Zack Weinberg <zackw@panix.com>
21197 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
21198 Delete all contents except for definitions of _G_HAVE_MMAP and
21199 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
21200 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
21201 sysdeps/unix/sysv/linux/_G_config.h. Make same content
21204 * libio/libio.h: Don't include bits/_G_config.h here.
21205 Include stddef.h with __need_wchar_t defined. Include
21206 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
21207 Define _IO_iconv_t here, directly.
21208 Don't define _IO_HAVE_ST_BLKSIZE.
21209 * libio/libioP.h: Include _G_config.h here. Move include of
21210 shlib-compat.h up with rest of includes. Simplify conditionals
21211 controlling definition of _IO_JUMPS_OFFSET.
21213 * csu/init.c: Remove always-true #if around entire file.
21214 Don't include stdio.h. Set _IO_stdin_used to hardwired
21215 constant 0x20001, and update commentary.
21216 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
21217 Replace all uses of _G_va_list with __gnuc_va_list.
21218 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
21219 instead of #if _IO_HAVE_ST_BLKSIZE.
21220 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
21221 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
21224 * libio/bits/libio.h: Move back to libio/libio.h and adjust
21225 multiple-include guard to match.
21226 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
21228 Remove preprocessor conditionals that are always true and/or
21229 redundant to other preprocessor conditionals in the same nest.
21230 Include shlib-compat.h unconditionally.
21231 Error out if _LIBC is not defined, or if _ISOMAC is defined,
21232 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
21233 defined after including stdio.h.
21234 Use __BEGIN_DECLS/__END_DECLS.
21236 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
21237 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
21238 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
21240 2018-02-07 Zack Weinberg <zackw@panix.com>
21242 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
21243 New single-type headers split from _G_config.h.
21244 * libio/bits/types/cookie_io_functions_t.h
21245 * libio/bits/types/struct_FILE.h
21246 New single-type headers split from libio.h.
21248 * libio/Makefile: Install the above new headers. Don't install
21249 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
21251 * libio/_G_config.h, libio/libio.h: Delete file.
21253 * libio/bits/libio.h: Remove improper-inclusion guard.
21254 Include stdio.h and don't repeat anything that it does.
21255 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
21256 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
21257 __io_read_fn as cookie_read_function_t,
21258 __io_write_fn as cookie_write_function_t,
21259 __io_seek_fn as cookie_seek_function_t,
21260 __io_close_fn as cookie_close_function_t,
21261 and _IO_cookie_io_functions_t as cookie_io_functions_t.
21262 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
21263 here, in the "compatibility defines" section. Remove an #if 0
21264 block. Use the "body" macros from bits/types/struct_FILE.h to
21265 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
21266 and _IO_ferror_unlocked.
21267 Move prototypes of __uflow and __overflow...
21269 * libio/stdio.h: ...here. Don't include bits/libio.h.
21270 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
21271 directly from stdarg.h. Include bits/types/__fpos_t.h,
21272 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
21273 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
21274 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
21275 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
21276 cookie_io_functions_t, not _IO_cookie_io_functions_t;
21277 __ssize_t, not _IO_ssize_t. Unconditionally define
21278 BUFSIZ as 8192 and EOF as (-1).
21280 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
21281 macros from bits/types/struct_FILE.h instead of _IO_* macros
21282 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
21283 instead of _IO_ssize_t.
21284 * libio/bits/stdio2.h: Similarly.
21286 * libio/iolibio.h: Add multiple-include guard.
21287 Include bits/libio.h after stdio.h.
21288 * libio/libioP.h: Add multiple-include guard.
21289 Include stdio.h and bits/libio.h before iolibio.h.
21291 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
21292 * include/bits/types/cookie_io_functions_t.h
21293 * include/bits/types/struct_FILE.h: New wrappers.
21295 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
21296 Get definitions of _G_fpos_t and _G_fpos64_t from
21297 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
21298 respectively. Remove improper-inclusion guards.
21300 * conform/data/stdio.h-data: Update expectations of va_list.
21301 * scripts/check-installed-headers.sh: Remove special case for
21302 libio.h and _G_config.h.
21304 2018-02-07 Joseph Myers <joseph@codesourcery.com>
21308 * include/sys/sysmacros.h [!_ISOMAC]
21309 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
21310 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
21311 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
21312 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
21314 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
21315 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
21317 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
21318 Undefine and redefine to add use __gnu_dev_ prefix.
21319 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
21321 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
21322 and define as hidden inline function.
21323 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
21325 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
21327 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
21328 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
21329 (gnu_dev_minor): Likewise.
21330 (gnu_dev_makedev): Likewise.
21331 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
21333 * posix/wordexp.c (exec_comm_child): Likewise.
21334 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
21335 instead of minor and __gnu_dev_major instead of major.
21336 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
21337 __gnu_dev_major instead of major.
21338 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
21339 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
21340 instead of gnu_dev_minor.
21341 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
21342 (SLAVE_P): Likewise.
21343 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
21344 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
21348 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
21350 * locale/weightwc.h (findidx): Likewise.
21352 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
21354 * manual/probes.texi (slowlog): Delete documentation of removed probe.
21355 (slowlog_inexact): Likewise
21356 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
21357 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
21359 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
21362 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
21363 missing second underscore to parameter name.
21365 2018-02-06 Joseph Myers <joseph@codesourcery.com>
21371 * bits/byteswap.h: Update file comment. Do not include
21372 <bits/byteswap-16.h>.
21373 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
21375 (__bswap_16): Define as inline function.
21376 (__bswap_constant_32): Reformat definition.
21377 (__bswap_32): Always define as inline function, not macro, using
21378 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
21379 otherwise __bswap_constant_32.
21380 (__bswap_constant_64): Reformat definition. Do not use
21381 __extension__ here.
21382 (__bswap_64): Always define as inline function, not macro. Use
21383 __extension__ on function definition. Use __builtin_bswap64 if
21384 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
21385 * string/test-endian-file-scope.c: New file.
21386 * string/test-endian-sign-conversion.c: Likewise.
21387 * string/Makefile (headers): Remove bits/byteswap-16.h.
21388 (tests): Add test-endian-file-scope and
21389 test-endian-sign-conversion.
21390 (CFLAGS-test-endian-sign-conversion.c): New variable.
21391 * bits/byteswap-16.h: Remove file.
21392 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
21393 * sysdeps/ia64/bits/byteswap.h: Likewise.
21394 * sysdeps/m68k/bits/byteswap.h: Likewise.
21395 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21396 * sysdeps/s390/bits/byteswap.h: Likewise.
21397 * sysdeps/tile/bits/byteswap.h: Likewise.
21398 * sysdeps/x86/bits/byteswap-16.h: Likewise.
21399 * sysdeps/x86/bits/byteswap.h: Likewise.
21402 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
21403 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
21404 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
21405 199901L] (__restrict): Define to restrict.
21408 * string/testcopy.c: Include <support/support.h>. Do not include
21409 <malloc.h>. Use <support/test-driver.c>.
21410 (main): Rename to do_test. Make static. Use xmalloc instead of
21414 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
21415 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
21416 (SSIZE_MAX): Define to INT_MAX.
21417 * posix/test-ssize-max.c: New file.
21418 * posix/Makefile (tests): Add test-ssize-max.
21421 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
21422 <support/support.h>. Do not include <malloc.h>.
21423 (query_auxv): Use xmalloc instead of malloc.
21426 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
21427 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
21430 2018-02-06 Florian Weimer <fweimer@redhat.com>
21433 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21434 Use scratch_buffer instead of extend_alloca.
21436 2018-02-06 Zack Weinberg <zackw@panix.com>
21438 * libio/stdio.h: Don't define getc or putc as macros.
21439 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
21440 not _IO_getc and _IO_putc.
21442 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
21443 * stdio-common/tstgetln.c: Don't redefine ssize_t.
21445 2018-02-06 Joseph Myers <joseph@codesourcery.com>
21447 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
21448 (TCP_FASTOPEN_NO_COOKIE): Likewise.
21450 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
21453 * elf/elf.h (NT_PRFPREG): New macro.
21454 (NT_S390_VXRS_LOW): Likewise.
21455 (NT_S390_VXRS_HIGH): Likewise.
21456 (NT_S390_GS_CB): Likewise.
21457 (NT_S390_GS_BC): Likewise.
21458 (NT_S390_RI_CB): Likewise.
21460 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
21461 (MAP_SYNC): New macro.
21462 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
21464 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
21465 (MAP_SYNC): Likewise.
21466 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
21467 (MAP_SYNC): Likewise.
21468 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
21469 (MAP_SYNC): Likewise.
21470 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
21471 (MAP_SYNC): Likewise.
21472 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
21473 (MAP_SYNC): Likewise.
21474 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
21475 (MAP_SYNC): Likewise.
21476 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
21478 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
21481 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
21482 (MAP_SHARED_VALIDATE): New macro.
21483 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
21484 (MAP_SHARED_VALIDATE): Likewise.
21486 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21488 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
21489 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
21490 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
21492 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21494 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
21495 (DT_NUM): Updated to 35.
21497 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21499 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
21500 __builtin_expect with __glibc_likely and __glibc_unlikely.
21501 (elf_machine_rela): Likewise.
21502 (elf_machine_lazy_rel): Likewise.
21504 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21506 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
21507 __builtin_expect with __glibc_likely and __glibc_unlikely.
21508 (elf_machine_lazy_rel): Likewise.
21510 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21513 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
21515 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
21517 2018-02-05 Andreas Schwab <schwab@suse.de>
21520 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
21523 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21525 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
21526 not check against PTHREAD_STACK_MIN.
21528 2018-02-02 Sean McKean <smckean83@gmail.com>
21531 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
21533 2018-02-02 Florian Weimer <fweimer@redhat.com>
21536 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
21537 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
21538 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
21539 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
21540 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
21541 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
21542 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
21543 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
21544 * manual/llio.texi (Scatter-Gather): Mention offset -1.
21545 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
21546 * misc/tst-preadvwritev2.c (do_test): Call it.
21547 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
21549 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
21551 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
21553 * benchtests/bench-memcmp.c: Print json instead of plain text.
21555 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
21558 2018-02-01 Joseph Myers <joseph@codesourcery.com>
21560 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
21562 (s390_sthyi): New syscall.
21564 * sysdeps/generic/ldbl-classify-compat.h: New file.
21565 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
21566 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
21567 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
21568 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
21569 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
21570 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
21571 * sysdeps/ieee754/dbl-64/s_finite.c: Include
21572 <ldbl-classify-compat.h>.
21573 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21574 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
21575 <ldbl-classify-compat.h>.
21576 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21577 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
21578 <ldbl-classify-compat.h>.
21579 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21580 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
21581 <ldbl-classify-compat.h>.
21582 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21583 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
21584 <ldbl-classify-compat.h>.
21585 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21586 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
21587 <ldbl-classify-compat.h>.
21588 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21589 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
21590 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
21591 * sysdeps/m68k/coldfire/math_private.h: Remove file.
21592 * sysdeps/microblaze/math_private.h: Likewise.
21593 * sysdeps/nios2/math_private.h: Likewise.
21594 * sysdeps/sh/math_private.h: Likewise.
21596 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
21597 * sysdeps/m68k/coldfire/math_private.h: ... here.
21598 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
21599 * sysdeps/tile/math_private.h: Likewise.
21600 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
21602 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
21605 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
21607 (libc_fetestexcept): Likewise.
21608 (libc_feupdateenv_test): Likewise.
21609 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
21610 (libc_fetestexcept): Likewise.
21611 (libc_feupdateenv_test): Likewise.
21612 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
21613 (libc_fetestexcept): Likewise.
21614 (libc_feupdateenv_test): Likewise.
21615 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
21616 (libc_fetestexcept): Likewise.
21617 (libc_feupdateenv_test): Likewise.
21619 * sysdeps/generic/math_private.h
21620 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
21621 New inline function.
21622 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
21625 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
21626 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
21627 * sysdeps/generic/math_private.h
21628 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
21630 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
21632 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
21634 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
21636 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
21638 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
21640 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
21641 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
21642 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
21643 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
21644 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
21645 (__fegetenv): Likewise.
21646 (fesetenv): Likewise.
21647 (__fesetenv): Likewise.
21648 (feupdateenv): Likewise.
21649 (__feupdateenv): Likewise.
21650 (fegetround): Likewise.
21651 (__fegetround): Likewise.
21652 (fesetround): Likewise.
21653 (__fesetround): Likewise.
21655 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
21656 (feraiseexcept): New macro.
21657 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
21658 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
21660 (__feraiseexcept): Likewise.
21661 (feclearexcept): Likewise.
21662 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
21663 (__feraiseexcept): Likewise.
21664 (feclearexcept): Likewise.
21665 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
21666 (__feraiseexcept): Likewise.
21667 (feclearexcept): Likewise.
21668 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
21669 (__feraiseexcept): Likewise.
21670 (feclearexcept): Likewise.
21671 (fetestexcept): Likewise.
21673 * sysdeps/m68k/coldfire/math-tests.h: New file.
21675 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
21676 * sysdeps/m68k/bits/fenv.h: ... here.
21677 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
21679 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
21681 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
21683 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
21685 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
21687 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
21689 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
21690 (__FE_UNDEFINED): New enum constant.
21691 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
21693 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
21695 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
21697 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
21698 to match generic bits/fenv.h.
21699 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
21702 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
21704 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
21705 * soft-fp/half.h (union _FP_UNION_H): Likewise.
21706 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
21707 * soft-fp/single.h (union _FP_UNION_S): Likewise.
21709 2018-02-01 Carlos O'Donell <carlos@redhat.com>
21710 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
21711 Joseph Myers <joseph@codesourcery.com>
21714 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
21715 (__log1p): Disable -Wmaybe-uninitialized for -Os around
21716 computation using c.
21717 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
21718 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
21719 computation using c.
21721 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
21723 * version.h (RELEASE): Set to "development".
21724 (VERSION): Set to "2.27.9000".
21725 * NEWS (2.28): New section.
21727 * version.h (RELEASE): Set to "stable".
21728 (VERSION): Set to "2.27".
21729 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
21731 * NEWS: Add the list of bugs fixed in 2.27.
21733 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21735 * stdlib/test-atexit-race-common.c (do_test): Check stack size
21736 against PTHREAD_STACK_MIN.
21738 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
21740 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
21742 (Rafał Lużyński, Andreas Schwab): Update.
21744 2018-02-01 Rafał Lużyński <digitalfreak@lingonborough.com>
21747 * NEWS: List the languages which actually use the alternative
21748 months feature in this release. Also explain that "alt_mon" and
21749 "ab_alt_mon" are optional.
21751 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
21754 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
21756 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
21758 * manual/install.texi (Tools for Compilation): Update the newest
21759 versions of gcc, binutils, texinfo, gawk, bison, and sed.
21760 * INSTALL: Regenerated.
21762 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21764 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
21765 instead of __builtin_expect.
21767 2018-01-30 Florian Weimer <fweimer@redhat.com>
21769 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
21771 * nss/tst-nss-getpwent.c (do_test): Likewise.
21773 2018-01-30 Rafał Lużyński <digitalfreak@lingonborough.com>
21776 * localedata/locales/hr_HR (mon): Rename to...
21778 (mon): Import from CLDR (genitive case).
21779 (d_t_fmt): Update the comment.
21781 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
21783 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
21784 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
21785 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
21787 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
21789 * mach/Versions: Fix version when __mach_host_self_ was added.
21790 * hurd/Versions: Fix version when _hurd_exec_paths was added.
21791 * sysdeps/mach/hurd/i386/ld.abilist: New file.
21792 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
21793 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
21794 * sysdeps/mach/hurd/i386/libc.abilist: New file.
21795 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
21796 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
21797 * sysdeps/mach/hurd/i386/libm.abilist: New file.
21798 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
21799 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
21800 * sysdeps/mach/hurd/i386/librt.abilist: New file.
21801 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
21802 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
21803 || to respect codestyle.
21804 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
21805 (do_test_bz20181): Rename accordingly.
21806 * malloc/malloc.c: Include <assert.h>.
21807 (assert): Do not define.
21808 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
21809 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
21810 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
21811 * sysdeps/mach/hurd/hp-timing.h: New file.
21812 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
21814 2018-01-29 Darius Rad <darius@bluespec.com>
21816 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
21818 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
21820 * sysdeps/init_array/crti.S (.section .init_array): Add
21821 PREINIT_FUNCTION when defined.
21822 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
21823 * config.h.in: Regenerate.
21824 * manual/platform.texi: Add RISC-V documenation for
21825 __riscv_flush_icache.
21826 * sysdeps/riscv/__longjmp.S: New file.
21827 * sysdeps/riscv/backtrace.c: Likewise.
21828 * sysdeps/riscv/bits/endian.h: Likewise.
21829 * sysdeps/riscv/bits/setjmp.h: Likewise.
21830 * sysdeps/riscv/bits/wordsize.h: Likewise.
21831 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
21832 * sysdeps/riscv/bsd-setjmp.c: Likewise.
21833 * sysdeps/riscv/dl-trampoline.S: Likewise.
21834 * sysdeps/riscv/gccframe.h: Likewise.
21835 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
21836 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
21837 * sysdeps/riscv/machine-gmon.h: Likewise.
21838 * sysdeps/riscv/memusage.h: Likewise.
21839 * sysdeps/riscv/setjmp.S: Likewise.
21840 * sysdeps/riscv/sys/asm.h: Likewise.
21841 * sysdeps/riscv/tls-macros.h: Likewise.
21842 * sysdeps/riscv/dl-tls.h: New file.
21843 * sysdeps/riscv/libc-tls.c: Likewise.
21844 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
21845 * sysdeps/riscv/nptl/tls.h: Likewise.
21846 * sysdeps/riscv/stackinfo.h: Likewise.
21847 * sysdeps/riscv/bits/fenv.h: New file.
21848 * sysdeps/riscv/e_sqrtl.c: Likewise.
21849 * sysdeps/riscv/fpu_control.h: Likewise.
21850 * sysdeps/riscv/math-tests.h: Likewise.
21851 * sysdeps/riscv/nofpu/Implies: Likewise.
21852 * sysdeps/riscv/sfp-machine.h: Likewise.
21853 * sysdeps/riscv/tininess.h: Likewise.
21854 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
21855 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
21856 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
21857 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
21858 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
21859 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
21860 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
21861 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
21862 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
21863 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
21864 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
21865 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
21866 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
21867 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
21868 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
21869 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
21870 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
21871 * sysdeps/riscv/rvd/s_finite.c: Likewise.
21872 * sysdeps/riscv/rvd/s_fma.c: Likewise.
21873 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
21874 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
21875 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
21876 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
21877 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
21878 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
21879 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
21880 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
21881 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
21882 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
21883 * sysdeps/riscv/rvf/fegetround.c: Likewise.
21884 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
21885 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
21886 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
21887 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
21888 * sysdeps/riscv/rvf/fesetround.c: Likewise.
21889 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
21890 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
21891 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
21892 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
21893 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
21894 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
21895 * sysdeps/riscv/rvf/math_private.h: Likewise.
21896 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
21897 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
21898 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
21899 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
21900 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
21901 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
21902 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
21903 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
21904 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
21905 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
21906 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
21907 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
21908 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
21909 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
21910 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
21911 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
21912 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
21913 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
21914 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
21915 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
21916 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
21917 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
21918 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
21919 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
21920 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
21921 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
21922 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
21923 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
21924 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
21925 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
21926 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
21927 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
21928 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
21929 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
21930 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
21931 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
21932 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
21933 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
21934 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
21935 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
21936 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
21937 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
21938 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
21939 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
21940 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
21941 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
21942 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
21943 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
21944 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
21945 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
21946 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
21947 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
21948 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
21949 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
21950 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
21951 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
21952 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
21953 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
21954 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
21955 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
21956 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
21957 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
21958 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
21959 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
21960 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
21961 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
21962 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
21963 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
21964 * sysdeps/riscv/Implies: New file.
21965 * sysdeps/riscv/Makefile: Likewise.
21966 * sysdeps/riscv/configure: Likewise.
21967 * sysdeps/riscv/configure.ac: Likewise.
21968 * sysdeps/riscv/nptl/Makefile: Likewise.
21969 * sysdeps/riscv/preconfigure: Likewise.
21970 * sysdeps/riscv/rv64/Implies-after: Likewise.
21971 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
21972 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
21973 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
21974 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
21975 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
21976 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
21977 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
21978 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
21979 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
21980 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
21981 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
21982 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
21983 (Config): Likewise.
21985 2018-01-29 Florian Weimer <fweimer@redhat.com>
21988 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
21989 libnsl_hidden_proto.
21990 * include/rpcsvc/yp.h (yp_xdrall): Declare with
21991 libnsl_hidden_proto.
21992 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
21993 * nis/Makefile (libnsl-routines): Add nss-default only for
21994 build-obsolete-nsl.
21995 * nis/nis_defaults.c (__nis_default_ttl): Add
21996 libnsl_hidden_nolink_def.
21997 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
21999 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
22000 * nis/ypclnt.c (yp_maplist): Likewise.
22002 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
22004 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22005 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
22007 2018-01-29 Joseph Myers <joseph@codesourcery.com>
22009 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
22010 clean -dxfq for git updates when replacing sources.
22012 * scripts/build-many-glibcs.py (Config.build_gcc): Use
22013 --disable-libcilkrts unconditionally, not just for the final GCC
22016 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22019 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22022 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
22025 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22028 * localedata/locales/be_BY (mon): Rename to...
22029 (alt_mon): This, then synchronize with CLDR (nominative case).
22030 (abmon): Rename to...
22031 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
22032 (mon): Import from CLDR (genitive case).
22034 * localedata/locales/be_BY@latin (mon): Rename to...
22036 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
22038 * localedata/locales/be_BY@latin (lang_name): Reworded to
22039 "biełaruskaja mova".
22041 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22044 * localedata/locales/el_CY (mon): Renamed to...
22046 (mon): Import from CLDR (genitive case).
22047 * localedata/locales/el_GR: Likewise.
22049 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22052 * localedata/locales/ru_RU (mon): Rename to...
22054 (abmon): Rename to...
22055 (ab_alt_mon): This.
22056 (mon): Import from CLDR (genitive case).
22057 (abmon): Copy from the old content except the 5th month which is
22058 now in the genitive case, even when abbreviated.
22059 * localedata/locales/ru_UA: Likewise.
22060 * time/tst-strptime.c (day_tests): Add an actual example of
22061 a difference between %b and %Ob in Russian.
22063 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
22065 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
22066 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
22068 * resolv/res-close.c: Include <stdlib.h>.
22069 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
22070 <sys/wait.h>, <time.h>, <sys/uio.h>.
22071 (NOT_CANCEL_H): Add inclusion guard.
22072 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
22073 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
22074 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
22076 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
22077 vm_address_t * to ElfW(Addr) * for dl_main parameter.
22078 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
22080 * sysdeps/pthread/timer_create.c (timer_create): Do not use
22081 timer_ptr2id to cast struct timer_node * to void *.
22082 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
22083 --disable-libcilkrts to gcc configure.
22084 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
22085 and make them the default for now.
22086 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
22087 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
22088 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
22089 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
22090 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
22092 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
22093 __task_terminate would ever return successfully.
22094 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
22096 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
22097 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
22098 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
22099 critical section to make code simpler and avoid warning.
22100 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
22101 critical section to make code simpler and avoid warning.
22102 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
22103 const char * instead of char *.
22104 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
22105 __hurd_file_name_split, hurd_file_name_split,
22106 __hurd_directory_name_split, hurd_directory_name_split,
22107 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
22108 hurd_file_name_path_lookup): Make lookup function parameter take a
22109 const char *name instead of char *name.
22110 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
22111 __hurd_directory_name_split): Likewise.
22112 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
22113 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
22114 * sysdeps/mach/hurd/check_native.c: New file.
22115 * sysdeps/mach/hurd/check_pf.c: New file.
22116 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
22117 (__freeifaddrs): Define macro to freeifaddrs.
22118 * sysdeps/mach/hurd/libhurduser.abilist: New file.
22119 * sysdeps/mach/libmachuser.abilist: New file.
22120 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
22121 (do_test_bz20181): Rename accordingly.
22122 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
22123 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
22125 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
22126 version only if __USE_EXTERN_INLINES is defined.
22127 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
22128 __hurd_sockfail): Likewise.
22129 (_hurd_fd_get): Always declare functions, and provide inline versions
22130 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
22131 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
22132 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
22133 _hurd_port_set): Always declare functions, and provide inline versions
22134 only if __USE_EXTERN_INLINES and _LIBC are defined and
22136 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
22137 _hurd_critical_section_unlock): Likewise.
22138 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
22139 * __hurd_threadvar_location): Likewise.
22140 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
22141 _hurd_userlink_clear): Likewise.
22142 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
22143 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
22144 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
22145 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
22146 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
22147 __spin_lock_locked): Likewise.
22148 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
22149 __spin_lock_locked): Likewise.
22150 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
22151 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
22152 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
22153 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
22154 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
22155 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
22156 _POSIX_NO_TRUNC): Define to 0.
22157 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
22158 check size against PTHREAD_STACK_MIN.
22159 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
22160 IS_IN(libpthread)]: Include <sigsetops.h>.
22161 * mach/Makefile (user-interfaces): Add mach/gnumach.
22162 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
22163 * sysdeps/mach/configure (mach_interface_list): Regenerate.
22164 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
22165 instead of invalid -1.
22166 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
22167 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
22168 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
22171 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
22173 * hurd/fcntl-internal.h: New file.
22175 2018-01-27 James Clarke <jrtc27@jrtc27.com>
22177 * sysdeps/hppa/fpu/libm-test-ulps: Update.
22179 * sysdeps/alpha/fpu/libm-test-ulps: Update.
22181 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
22184 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
22185 Build only shared objects.
22187 2018-01-26 Carlos O'Donell <carlos@redhat.com>
22189 * README: Update for hppa.
22191 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22193 * sysdeps/sparc/fpu/libm-test-ulps: Update
22194 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
22196 2018-01-26 Carlos O'Donell <carlos@redhat.com>
22200 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22203 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22204 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
22205 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22206 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
22209 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22212 * bits/types/__cancel_jmp_buf_tag.h: New file.
22213 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
22214 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
22215 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
22216 * nptl/Makefile (headers): Add
22217 bits/types/__cancel_jmp_buf_tag.h.
22218 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
22219 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
22220 * sysdeps/nptl/pthread.h: Include
22221 <bits/types/__cancel_jmp_buf_tag.h>.
22222 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
22224 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
22226 2018-01-25 Rafał Lużyński <digitalfreak@lingonborough.com>
22229 * localedata/locales/uk_UA (mon): Renamed to...
22231 (alt_digits): "0" removed and then renamed to...
22233 (date_fmt): Definition changed not to use the alternative
22236 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
22238 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
22239 FLAG_RISCV_FLOAT_ABI_DOUBLE.
22240 * elf/elf.h (EF_RISCV_RVC): New define.
22241 (EF_RISCV_FLOAT_ABI): Likewise.
22242 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
22243 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
22244 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22245 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
22246 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
22248 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22250 2018-01-25 Andreas Schwab <schwab@suse.de>
22252 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
22254 * sysdeps/gnu/configure: Regenerate.
22255 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
22256 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22258 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
22259 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
22260 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
22261 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
22262 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
22264 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
22266 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
22267 URL, and run autoconf, make it the default for now.
22269 2018-01-24 Joseph Myers <joseph@codesourcery.com>
22271 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22272 soft-float ColdFire configuration.
22274 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
22275 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
22276 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
22278 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
22281 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
22283 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
22285 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
22288 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
22289 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
22290 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
22293 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
22296 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
22297 Rename to __reserved and add comment.
22298 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
22299 Rename to __reserved.
22301 2018-01-24 Joseph Myers <joseph@codesourcery.com>
22303 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22304 i686-gnu configurations.
22305 (Context.run_builds): Include mig, gnumach and hurd in components
22307 (Context.checkout): Add mig, gnumach and hurd to components.
22308 (Context.checkout_tar): Add URL mappings for mig, gnumach and
22310 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
22311 (Config.build): Install gnumach headers, build mig and install
22312 hurd headers for 'gnu' OS.
22313 (Config.install_gnumach_headers): New function.
22314 (Config.install_hurd_headers): Likewise.
22315 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
22316 when building for 'gnu' OS.
22318 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
22320 * manual/tunables.texi (Hardware Capability Tunables): Fix
22323 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
22325 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
22326 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
22327 (ALTMON_11, ALTMON_12): Improve documentation.
22328 * manual/time.texi (strftime): Likewise.
22330 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22333 * localedata/locales/pl_PL: Alternative month names added,
22334 primary month names are genitive now.
22335 * time/tst-strptime.c (day_tests): Actually use a genitive case
22336 of a month name in Polish language.
22338 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22341 * manual/locale.texi: Document ALTMON_1..12 constants for
22342 nl_langinfo. Specify when to use ALTMON instead of MON.
22343 * manual/time.texi (strftime, strptime): Document GNU extension
22344 permitting O modifier with %B and %b. Specify when to use
22347 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22350 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
22351 names, define them as the same as abbreviated month names explicitly.
22352 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
22353 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
22354 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
22355 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
22356 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
22357 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
22358 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
22359 _NL_WABALTMON_12): New enum constants.
22360 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
22361 wab_alt_mon, and ab_alt_mon_defined members.
22362 (time_output): Output ab_alt_mon and wab_alt_mon members.
22363 (time_read): Read them, initialize them as copies of abmon and wabmon
22364 respectively if they are missing, initialize ab_alt_mon_defined.
22365 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
22366 * locale/programs/locfile-kw.h: Regenerate.
22367 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
22368 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
22370 * time/strftime_l.c (a_altmonth, aam_len): New macros.
22371 [!COMPILE_WIDE] (ABALTMON_1): New macro.
22372 (__strftime_internal): Handle %Ob and %Oh formats.
22373 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
22374 (__strptime_internal): Handle %Ob and %Oh formats.
22375 * time/tst-strptime.c (day_tests): Add more tests to parse different
22376 forms of month names including the new %Ob format specifier.
22378 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22381 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
22382 define them as the same as primary full month names explicitly.
22383 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
22384 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
22385 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
22386 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
22387 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
22388 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
22389 _NL_WALTMON_12): New enum constants.
22390 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
22391 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
22393 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
22394 walt_mon, and alt_mon_defined members.
22395 (time_output): Output alt_mon and walt_mon members.
22396 (time_read): Read them, initialize them as copies of mon and wmon
22397 respectively if they are missing, initialize alt_mon_defined.
22398 * locale/programs/locfile-kw.gperf (alt_mon): Define.
22399 * locale/programs/locfile-kw.h: Regenerate.
22400 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
22401 * localedata/tst-langinfo.c (map): Add tests for the new constants
22402 ALTMON_1 .. ALTMON_12.
22403 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
22405 * time/strftime_l.c (f_altmonth): New macro.
22406 (__strftime_internal): Handle %OB format.
22407 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
22408 (__strptime_internal): Handle %OB format.
22409 * time/tst-strptime.c (day_tests): Add tests to parse different forms
22410 of month names including the new %OB format specifier.
22412 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22415 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
22416 from ABORT_TRANSACTION.
22417 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
22418 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
22419 ABORT_TRANSACTION_IMPL): Likewise.
22420 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
22421 Linux code, but remove the code that aborts transactions.
22423 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
22425 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
22427 2018-01-19 Rafał Lużyński <digitalfreak@lingonborough.com>
22429 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
22430 in date: "2004-14-09" should be "2004-09-14".
22431 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
22432 "2003-15-09" should be "2003-09-15".
22434 2018-01-18 Arjun Shankar <arjun@redhat.com>
22440 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
22442 (_int_memalign): check for integer overflow before calling
22444 * malloc/tst-malloc-too-large.c: New test.
22445 * malloc/Makefile: Add tst-malloc-too-large.
22447 2018-01-18 Rafał Lużyński <digitalfreak@lingonborough.com>
22449 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
22450 in date: "2017-24-07" should be "2017-07-24".
22451 * localedata/locales/mai_IN: Likewise.
22452 * localedata/locales/mai_NP: Likewise.
22454 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
22456 * po/ru.po: Update translations.
22458 2018-01-17 Joseph Myers <joseph@codesourcery.com>
22461 * sysdeps/hppa/backtrace.c: New file.
22463 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
22466 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
22467 align La_x86_64_retval to VEC_SIZE.
22469 2018-01-16 Joseph Myers <joseph@codesourcery.com>
22471 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
22472 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
22474 2018-01-16 Florian Weimer <fweimer@redhat.com>
22476 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
22477 Move tst-thread-exit-clobber ...
22478 [$(CXX)] (tests-unsupported): ... to here.
22480 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
22482 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
22483 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
22484 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
22485 (_dl_aarch64_cap_flags): Update.
22486 (_DL_HWCAP_COUNT): Update.
22488 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
22490 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
22491 (_DL_HWCAP_LAST): Remove.
22492 (_DL_HWCAP_COUNT): Move to ...
22493 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
22494 (_DL_HWCAP_COUNT): ... here.
22496 2018-01-16 Florian Weimer <fweimer@redhat.com>
22498 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
22499 mode with GNU extensions.
22501 2018-01-15 Alan Hayward <alan.hayward@arm.com>
22503 * elf/elf.h (NT_ARM_SVE): Define.
22505 2018-01-15 Florian Weimer <fweimer@redhat.com>
22508 * nptl/tst-minstack-throw.cc: New file.
22509 * nptl/Makefile (tests): Add tst-minstack-throw.
22510 (LDLIBS-tst-minstack-throw): Link with libstdc++.
22511 [!CXX] (tests-unsupported): Add tst-minstack-throw.
22513 2018-01-15 Joseph Myers <joseph@codesourcery.com>
22515 * scripts/build-many-glibcs.py (Context.checkout): Default
22516 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
22519 2018-01-13 Carlos O'Donell <carlos@redhat.com>
22522 * elf/elf.h (DF_1_STUB): Define.
22523 (DF_1_PIE): Define.
22525 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22528 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
22529 Do not add 0.5 to integer or out-of-range arguments.
22531 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
22533 * po/bg.po: Update translations.
22534 * po/cs.po: Likewise.
22535 * po/de.po: Likewise.
22536 * po/ko.po: Likewise.
22537 * po/pl.po: Likewise.
22538 * po/sv.po: Likewise.
22539 * po/uk.po: Likewise.
22540 * po/vi.po: Likewise.
22542 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
22544 * aarch64/start.S (_start): Use __wrap_main.
22545 (__wrap_main): New local symbol.
22547 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
22551 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
22552 generic_getcwd if the path returned by getcwd syscall is not absolute.
22553 * io/tst-getcwd-abspath.c: New test.
22554 * io/Makefile (tests): Add tst-getcwd-abspath.
22556 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
22558 * malloc/malloc.c (malloc_consolidate): Add size check.
22560 2018-01-12 Florian Weimer <fweimer@redhat.com>
22562 * support/write_message.c (write_message): Preserve errno.
22563 * support/check.c (print_failure): Likewise.
22564 * support/support_test_verify_impl.c (support_test_verify_impl):
22566 * support/support_test_compare_failure.c
22567 (support_test_compare_failure): Likewise.
22569 2018-01-12 Florian Weimer <fweimer@redhat.com>
22572 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
22573 Prevent installation of libnsl.so.
22574 (libnsl-inhibit-o): Do not build (or install) static libraries.
22576 2018-01-12 Egmont Koblinger <egmont@gmail.com>
22579 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
22580 before the day number which may produce a double space.
22581 (date_fmt): Likewise.
22583 2018-01-12 Joseph Myers <joseph@codesourcery.com>
22585 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
22586 instead of fegetenv.
22588 2018-01-11 Joseph Myers <joseph@codesourcery.com>
22591 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
22592 comment to say exceptions are discarded.
22593 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
22595 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
22598 2018-01-11 Florian Weimer <fweimer@redhat.com>
22600 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
22603 2018-01-11 Florian Weimer <fweimer@redhat.com>
22606 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
22607 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
22609 2018-01-10 Joseph Myers <joseph@codesourcery.com>
22612 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
22613 negative arguments in test for NaN or infinity argument.
22615 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
22617 * po/libc.pot: Regenerate.
22619 2018-01-10 Florian Weimer <fweimer@redhat.com>
22622 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
22623 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
22625 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22627 * hurd/hurd/fd.h: Include <fcntl.h>
22628 (__hurd_at_flags): New function.
22629 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
22630 with call to __hurd_at_flags.
22631 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
22632 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
22634 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
22635 (__access_noerrno): Use __faccessat_common instead of access_common.
22636 (__access): Likewise.
22637 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
22638 with a call to __faccessat.
22639 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
22640 (__faccessat_common): ... this. Move implementation of __access into it when
22641 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
22642 reauthenticate_cwdir_at helper to implement AT mechanism.
22643 (__faccessat_noerrno): New function, just calls __faccessat_common.
22644 (__faccessat): New function, just calls __faccessat_common.
22645 (faccessat): Define weak alias.
22647 2018-01-10 Joseph Myers <joseph@codesourcery.com>
22650 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22651 (CFLAGS-s_fmaxmagl.c): New variable.
22652 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
22655 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
22656 long int for arguments of possibly overflowing addition or
22658 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
22660 2018-01-09 Joseph Myers <joseph@codesourcery.com>
22663 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22664 (CFLAGS-e_remainderl.c): New variable.
22667 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
22669 (CFLAGS-s_cacoshl.c): Likewise.
22670 (CFLAGS-s_casinhl.c): Likewise.
22671 (CFLAGS-s_catanl.c): Likewise.
22672 (CFLAGS-s_catanhl.c): Likewise.
22673 (CFLAGS-s_cexpl.c): Likewise.
22674 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
22675 (CFLAGS-s_csinhl.c): Likewise.
22676 (CFLAGS-s_clogl.c): Likewise.
22677 (CFLAGS-s_clog10l.c): Likewise.
22678 (CFLAGS-s_csinl.c): Likewise.
22679 (CFLAGS-s_csqrtl.c): Likewise.
22681 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
22682 2017-01-09 Svante Signell <svante.signell@gmail.com>
22684 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
22685 (_hurd_exec_paths): New function.
22686 * hurd/hurd.h (_hurd_exec): Deprecate function.
22687 (_hurd_exec_paths): Declare function.
22688 * hurd/Versions: Export _hurd_exec_paths.
22689 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
22690 (__execve): Use __getcwd to build absolute path, and use
22691 _hurd_exec_paths instead of _hurd_exec.
22692 * sysdeps/mach/hurd/spawni.c: Likewise.
22693 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
22696 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
22698 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
22699 test instead of failing in case of ENOENT returned by posix_openpt.
22701 2018-01-08 Florian Weimer <fweimer@redhat.com>
22703 resolv: Support binary labels in test framework.
22704 * support/resolv_test.c (struct to_be_freed): Remove.
22705 (struct compressed_name): New.
22706 (allocate_compressed_name, ascii_tolower)
22707 (compare_compressed_name): New functions.
22708 (struct resolv_response_builder): Update type of
22709 compression_offsets for use with tsearch. Rempve to_be_freed.
22710 (response_push_pointer_to_free): Remove function.
22711 (resolv_response_add_name): Rewrite using struct compressed_name
22712 and tsearch instead of hsearch_r.
22713 (response_builder_allocate): Remove initialization of
22714 compression_offsets.
22715 (response_builder_free): Update for removal of to_be_freed. Use
22716 tdestroy instead of hdestroy_r.
22717 * resolv/Makefile (tests): Add tst-resolv-binary.
22718 (tst-resolv-binary): Link with -lresolv -lpthread.
22720 2018-01-08 Florian Weimer <fweimer@redhat.com>
22722 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
22723 time. Pass positive flag instead of negative flag to
22724 support_test_compare_failure.
22725 (support_test_compare_failure): Change negative parameter to
22727 * support/support_test_compare_failure.c (report)
22728 (support_test_compare_failure): Likewise.
22729 * support/tst-test_compare.c (return_ssize_t, return_int): New.
22730 (do_test): Check int/size_t, ssize_t/size_t comparisons.
22732 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
22735 * nptl/descr.h (stackblock, stackblock_size): Update comments.
22736 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
22737 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
22739 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
22741 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
22743 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22744 Add s_sincosf-sse2 and s_sincosf-fma.
22745 (CFLAGS-s_sincosf-fma.c): New.
22746 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
22747 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
22748 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
22749 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
22750 __sincosf is defined.
22752 2018-01-08 Florian Weimer <fweimer@redhat.com>
22754 * nptl/tst-thread-exit-clobber.cc: New file.
22755 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
22757 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
22758 (tests): Add tst-thread-exit-clobber.
22759 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
22761 2018-01-08 Florian Weimer <fweimer@redhat.com>
22763 * support/check.h (support_static_assert): Define.
22764 (TEST_COMPARE): Use it.
22766 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
22768 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
22769 [!__RLIM_T_MATCHES_RLIM64_T]
22770 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
22771 __getrlimit64. Add libc_hidden_weak.
22773 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
22775 * elf/elf.h (R_RISCV_NONE): New define.
22776 (R_RISCV_32): Likewise.
22777 (R_RISCV_64): Likewise.
22778 (R_RISCV_RELATIVE): Likewise.
22779 (R_RISCV_COPY): Likewise.
22780 (R_RISCV_JUMP_SLOT): Likewise.
22781 (R_RISCV_TLS_DTPMOD32): Likewise.
22782 (R_RISCV_TLS_DTPMOD64): Likewise.
22783 (R_RISCV_TLS_DTPREL32): Likewise.
22784 (R_RISCV_TLS_DTPREL64): Likewise.
22785 (R_RISCV_TLS_TPREL32): Likewise.
22786 (R_RISCV_TLS_TPREL64): Likewise.
22787 * Makerules (make-link-multidir): Make directories before linking into
22789 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
22791 (VDSO_HASH_LINUX_4_15): Likewise.
22792 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
22793 in subdirectories of lib.
22794 * nptl/Makefile (/librt.so): Always depend on
22795 "$(shared-thread-library)".
22797 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22799 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
22800 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
22801 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
22803 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
22804 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
22806 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
22807 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
22808 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
22809 * sysdeps/gnu/glob-lstat-compat.c: New file.
22810 * sysdeps/gnu/glob64-lstat-compat.c: New file.
22811 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
22813 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22815 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
22816 Reserve 16 chars to reloc_addr before calling _itoa_word.
22818 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
22821 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
22822 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
22824 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
22825 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
22827 * resource/tst-getrlimit.c: Add copyright header.
22829 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
22830 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22832 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
22833 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
22834 Define __GI_getrlimit64 as weak alias of __getrlimit64.
22835 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
22837 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
22838 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
22839 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
22840 RLIM64_INFINITY): Fix values to match the kernel ones.
22841 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
22842 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
22843 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
22844 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
22845 getrlimit64@@GLIBC_2_27.
22846 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
22848 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
22849 getrlimit, setrlimit, getrlimit64 and setrlimit64.
22850 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
22851 setrlimit, getrlimit64 and setrlimit64.
22853 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
22856 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
22857 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
22859 2018-01-04 Joseph Myers <joseph@codesourcery.com>
22861 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
22862 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
22863 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
22865 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22869 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
22870 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
22874 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
22875 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
22876 * sysdeps/alpha/fpu/s_floor.c: Likewise.
22877 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
22879 2018-01-04 Florian Weimer <fweimer@redhat.com>
22882 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
22883 Align the stack before calling exit.
22884 * stdlib/tst-makecontext-align.c: New file.
22885 * stdlib/Makefile (tests): Add tst-makecontext-align.
22887 2018-01-04 Florian Weimer <fweimer@redhat.com>
22889 Add support for calling dlvsym from libc.so.
22890 * include/dlfcn.h (__libc_dlvsym): Declare.
22891 * elf/Makefile (tests-static-internal): Add
22892 tst-libc_dlvsym-static.
22893 (tests-internal): Add tst-libc_dlvsym.
22894 (modules-names): Add tst-libc_dlvsym-dso.
22895 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
22896 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
22897 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
22898 object tst-libc_dlvsym-dso.so needs to be built before running
22900 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
22901 * elf/Versions: Export __libc_dlvsym.
22902 * elf/dl-libc.c (struct do_dlvsym_args): New.
22903 (do_dlvsym, __libc_dlvsym): New functions.
22904 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
22905 (_dl_open_hook2): New variable.
22906 (__libc_register_dl_open_hook): Set it.
22907 * elf/tst-libc_dlvsym-dso.c: New file.
22908 * elf/tst-libc_dlvsym-static.c: Likewise.
22909 * elf/tst-libc_dlvsym.c: Likewise.
22910 * elf/tst-libc_dlvsym.h: Likewise.
22912 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
22914 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
22915 include <sys/mount.h>.
22917 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
22919 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
22920 Add __NO_MATH_ERRNO__ check.
22922 2018-01-02 Joseph Myers <joseph@codesourcery.com>
22924 * sysdeps/mips/mips32/libm-test-ulps: Update.
22925 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22927 2018-01-02 Florian Weimer <fweimer@redhat.com>
22929 * misc/tst-pselect.c: Add copyright header.
22931 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
22933 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
22935 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
22937 (settrlimit): Rename into setrlimit.
22938 (__sttrlimit): Rename into __setrlimit.
22940 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
22941 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
22942 never defined in that case.
22944 2018-01-02 Joseph Myers <joseph@codesourcery.com>
22946 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
22948 * sysdeps/arm/libm-test-ulps: Update.
22950 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
22951 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
22953 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22955 * NEWS: Add cosf and sincosf to list of optimized functions.
22957 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
22960 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
22961 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
22962 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
22963 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
22965 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
22968 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
22970 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
22971 making a copy of it.
22973 2018-01-01 Joseph Myers <joseph@codesourcery.com>
22975 * manual/texinfo.tex: Update to version 2017-12-26.21 with
22976 trailing whitespace removed.
22977 * scripts/config.guess: Update to version 2018-01-01.
22978 * scripts/config.sub: Update to version 2018-01-01.
22979 * scripts/move-if-change: Update from gnulib.
22981 * NEWS: Update copyright dates.
22982 * catgets/gencat.c (print_version): Likewise.
22983 * csu/version.c (banner): Likewise.
22984 * debug/catchsegv.sh: Likewise.
22985 * debug/pcprofiledump.c (print_version): Likewise.
22986 * debug/xtrace.sh (do_version): Likewise.
22987 * elf/ldconfig.c (print_version): Likewise.
22988 * elf/ldd.bash.in: Likewise.
22989 * elf/pldd.c (print_version): Likewise.
22990 * elf/sotruss.sh: Likewise.
22991 * elf/sprof.c (print_version): Likewise.
22992 * iconv/iconv_prog.c (print_version): Likewise.
22993 * iconv/iconvconfig.c (print_version): Likewise.
22994 * locale/programs/locale.c (print_version): Likewise.
22995 * locale/programs/localedef.c (print_version): Likewise.
22996 * login/programs/pt_chown.c (print_version): Likewise.
22997 * malloc/memusage.sh (do_version): Likewise.
22998 * malloc/memusagestat.c (print_version): Likewise.
22999 * malloc/mtrace.pl: Likewise.
23000 * manual/libc.texinfo: Likewise.
23001 * nptl/version.c (banner): Likewise.
23002 * nscd/nscd.c (print_version): Likewise.
23003 * nss/getent.c (print_version): Likewise.
23004 * nss/makedb.c (print_version): Likewise.
23005 * posix/getconf.c (main): Likewise.
23006 * scripts/test-installation.pl: Likewise.
23007 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23009 * All files with FSF copyright notices: Update copyright dates
23010 using scripts/update-copyrights.
23011 * locale/programs/charmap-kw.h: Regenerated.
23012 * locale/programs/locfile-kw.h: Likewise.
23014 2017-12-31 Zack Weinberg <zackw@panix.com>
23016 * libio/bits/libio-ldbl.h: Correct check for improper
23017 inclusion. Add own multiple include guard.
23019 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
23020 Dmitry V. Levin <ldv@altlinux.org>
23024 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
23025 string token expansion. Check for NULL pointer or empty string possibly
23026 returned by expand_dynamic_string_token.
23027 (decompose_rpath): Check for empty path after dynamic string
23030 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
23033 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
23035 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
23036 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
23037 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
23038 and PTRACE_SYSCALL.
23039 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
23040 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23041 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23042 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23043 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23044 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
23046 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
23047 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
23048 __ptrace_peeksiginfo_flags, ptrace): Move to ...
23049 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
23050 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23051 bits/ptrace-shared.h.
23052 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
23053 <bits/ptrace-shared.h>.
23054 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
23055 __ptrace_peeksiginfo_flags, ptrace): Remove.
23056 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23057 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23058 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23059 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23060 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
23062 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23065 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
23066 end of the loop. Improve comments.
23068 2017-12-29 Zack Weinberg <zackw@panix.com>
23071 * manual/errno.texi (Checking for Errors): Explicitly say that errno
23072 might be set on success.
23074 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23077 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
23078 is unchanged on success.
23080 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
23082 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
23084 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
23085 expand_dynamic_string_token): Likewise.
23086 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
23089 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
23092 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
23093 is set and name contains ':', and all code depending on these checks.
23095 2017-12-24 Zack Weinberg <zackw@panix.com>
23097 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
23098 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
23100 * libio/libio.h: Rename the original version of this file to
23101 libio/bits/libio.h. Error out if not included by stdio.h or the
23103 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
23104 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
23105 if not included by bits/libio.h or the stub _G_config.h.
23106 * sysdeps/unix/sysv/linux/_G_config.h: Move to
23107 sysdeps/unix/sysv/linux/bits. Error out if not included by
23108 bits/libio.h or the stub _G_config.h.
23109 * libio/stdio.h: Include bits/libio.h, not libio.h.
23110 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
23111 well as libio.h and _G_config.h.
23113 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
23114 * libio/strfile.h, stdio-common/vfscanf.c
23115 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
23116 Include stdio.h, not _G_config.h nor libio.h.
23117 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
23118 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
23120 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
23122 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
23125 * stdlib/getrandom.c (getrandom): Fix comment.
23126 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
23128 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
23131 * manual/arith.texi (strtoul): Fix a typo.
23134 * manual/arith.texi (finite): Fix the description of the return
23137 2017-12-22 Eric Blake <ebb9@byu.net>
23139 Avoid gcc warnings on cygwin
23140 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
23141 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
23142 Avoid unused variable.
23144 2017-12-22 Florian Weimer <fweimer@redhat.com>
23146 * io/Makefile (routines): Add copy_file_range.
23147 (tests): Add tst-copy_file_range.
23148 (tests-static, tests-internal): Add tst-copy_file_range-compat.
23149 * io/Versions (GLIBC_2.27): Export copy_file_range.
23150 * io/copy_file_range-compat.c: New file.
23151 * io/copy_file_range.c: Likewise.
23152 * io/tst-copy_file_range-compat.c: Likewise.
23153 * io/tst-copy_file_range.c: Likewise.
23154 * manual/llio.texi (Copying File Data): New section.
23155 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
23156 * support/Makefile (libsupport-routines): Add support-xfstat,
23157 xftruncate, xlseek.
23158 * support/support-xfstat.c: New file.
23159 * support/xftruncate.c: Likewise.
23160 * support/xlseek.c: Likewise.
23161 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
23162 * sysdeps/unix/sysv/linux/**.abilist: Update.
23163 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
23165 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
23167 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23168 disable-multi-arch variant to aarch64-linux-gnu.
23170 2017-12-20 Joseph Myers <joseph@codesourcery.com>
23172 * manual/texinfo.tex: Update to version 2017-12-18.20 with
23173 trailing whitespace removed.
23174 * scripts/config.guess: Update to version 2017-12-17.
23175 * scripts/config.sub: Update to version 2017-11-23.
23176 * scripts/install-sh: Update to version 2017-09-23.17.
23177 * scripts/move-if-change: Update to version 2017-09-13 06:45.
23179 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23181 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
23182 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23183 * sysdeps/tile/_mcount.S (__mcount): Likewise.
23184 * sysdeps/tile/crti.S (_init, _fini): Likewise.
23185 * sysdeps/tile/crtn.S: Likewise.
23186 * sysdeps/tile/dl-start.S (_start): Likewise.
23187 * sysdeps/tile/dl-trampoline.S: Likewise.
23188 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
23189 * sysdeps/tile/start.S (_start): Likewise.
23190 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
23191 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
23192 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
23193 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
23194 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
23195 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
23196 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
23198 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
23200 * sysdeps/tile/preconfigure: Remove tilegx folder.
23201 * sysdeps/tile/tilegx/Implies: Move definitions to ...
23202 * sysdeps/tile/Implies: ... here.
23203 * sysdeps/tile/tilegx/Makefile: Move rules to ...
23204 * sysdeps/tile/Makefile: ... here.
23205 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
23206 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
23207 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
23208 * sysdeps/tile/bits/wordsize.h: ... here.
23209 * sysdeps/tile/tilegx/*: Move to ...
23210 * sysdeps/tile/*: ... here.
23211 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
23212 * sysdeps/tile/tilegx32/Implies: ... here.
23213 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
23214 * sysdeps/tile/tilegx64/Implies: ... here.
23215 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
23217 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
23218 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
23219 * sysdeps/unix/sysv/linux/tile/*: ... here.
23220 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
23221 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
23222 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
23223 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
23225 * README: Remove tilepro-*-linux-gnu from supported architecture.
23226 * scripts/build-many-glibcs.py: Likewise.
23227 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23228 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
23229 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
23230 elf_machine_matches_host, elf_machine_dynamic,
23231 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
23232 howto, elf_machine_rela): Likewise.
23233 * sysdeps/tile/dl-start.S (_start): Likewise.
23234 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
23235 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
23236 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
23237 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
23238 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
23239 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
23241 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
23242 * sysdeps/tile/preconfigure: Likewise.
23243 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
23244 POINTER_CHK_GUARD): Likewise.
23245 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
23246 * sysdeps/tile/start.S (_start): Likewise.
23247 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
23249 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
23250 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
23252 * sysdeps/unix/sysv/linux/tile/bits/environments.h
23253 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
23254 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
23256 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
23257 * sysdeps/tile/tilepro/Implies: Remove file.
23258 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
23259 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
23260 * sysdeps/tile/tilepro/memchr.c: Likewise.
23261 * sysdeps/tile/tilepro/memcpy.S: Likewise.
23262 * sysdeps/tile/tilepro/memset.c: Likewise.
23263 * sysdeps/tile/tilepro/memusage.h: Likewise.
23264 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
23265 * sysdeps/tile/tilepro/strchr.c: Likewise.
23266 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
23267 * sysdeps/tile/tilepro/strlen.c: Likewise.
23268 * sysdeps/tile/tilepro/strrchr.c: Likewise.
23269 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
23270 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
23271 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23272 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
23273 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
23274 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
23276 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
23277 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23278 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
23279 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
23280 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23281 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
23282 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
23283 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
23284 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
23285 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
23286 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
23287 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
23288 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
23289 tilepro mention in comment.
23291 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
23292 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
23293 * nptl/pthread_join_common.c: New file: common function used on
23294 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
23295 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
23296 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
23297 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
23298 (cleanup): Move definition to pthread_join_common.c.
23299 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
23300 Remove superflous checks.
23301 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
23304 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
23306 * sysdeps/aarch64/libm-test-ulps: Update.
23308 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23310 * sysdeps/aarch64/memset.S (MEMSET): Define.
23312 2017-12-20 Florian Weimer <fweimer@redhat.com>
23315 nptl: Provide full implementation of pthread_self in libc.so.
23316 * nptl/Makefile (routines): Add pthread_self.
23317 (libpthread-routines): Replace pthread_self with
23318 compat-pthread_self.
23319 * nptl/forward.c (pthread_self): Remove.
23320 * nptl/nptl-init.c (pthread_functions): Do not initialize
23322 * nptl/pthread_self.c (pthread_self): Remove weak alias.
23323 * nptl/compat-pthread_self.c: New file.
23324 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
23325 Remove ptr_pthread_self.
23327 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
23329 * posix/regcomp.c: Fix spelling in comments.
23330 * posix/regex.h: Likewise.
23331 * posix/regex_internal.c: Likewise.
23332 * posix/regexec.c: Likewise.
23334 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23337 * math/Makefile [C++] (tests): Add test for iseqsig.
23338 * math/math.h [C++] (iseqsig): New implementation, which does
23339 not rely on __MATH_TG/__builtin_types_compatible_p.
23340 * math/test-math-iseqsig.cc: New file.
23341 * sysdeps/powerpc/powerpc64le/Makefile
23342 (CFLAGS-test-math-iseqsig.cc): New variable.
23344 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
23346 * elf/dl-load.c (is_trusted_path): Remove.
23347 (fillin_rpath): Remove check_trusted argument and its use,
23348 all callers changed.
23350 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23353 * Makeconfig (link-pie-before-libc): Replace -pie with
23354 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
23355 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
23356 (tst-dlopen-aout-no-pie): New.
23357 (LDFLAGS-tst-prelink): Removed.
23358 (tst-prelink-no-pie): New.
23359 (LDFLAGS-tst-main1): Removed.
23360 (tst-main1-no-pie): New.
23361 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
23362 (tst-gmon-no-pie): New.
23364 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23366 * manual/install.texi: Document that --enable-static-pie
23368 * INSTALL: Regenerated.
23370 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
23373 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
23376 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23380 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23382 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23384 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23386 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
23387 <errno.h>. Include "eexp.tbl".
23388 (half): New constant.
23390 (__ieee754_exp): Rewrite.
23391 (__slowexp): Remove prototype.
23392 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
23393 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
23394 * sysdeps/i386/fpu/slowexp.c: Likewise.
23395 * sysdeps/ia64/fpu/slowexp.c: Likewise.
23396 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
23397 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
23398 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
23399 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23400 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
23401 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
23403 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
23404 (CPPFLAGS-slowexp.c): Remove variable.
23405 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23406 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
23407 (CFLAGS-slowexp-fma.c): Remove variable.
23408 (CFLAGS-slowexp-fma4.c): Likewise.
23409 (CFLAGS-slowexp-avx.c): Likewise.
23410 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
23412 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
23413 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
23414 * math/Makefile (type-double-routines): Remove slowexp.
23415 * manual/probes.texi (slowexp_p6): Remove.
23416 (slowexp_p32): Likewise.
23418 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23420 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
23423 * lib/glob.c (glob): Do not pass NULL to mempcpy.
23425 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23427 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23429 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23431 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
23432 <errno.h>. Include "eexp.tbl".
23433 (half): New constant.
23435 (__ieee754_exp): Rewrite.
23436 (__slowexp): Remove prototype.
23437 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
23438 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
23439 * sysdeps/i386/fpu/slowexp.c: Likewise.
23440 * sysdeps/ia64/fpu/slowexp.c: Likewise.
23441 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
23442 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
23443 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
23444 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23445 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
23446 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
23448 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
23449 (CPPFLAGS-slowexp.c): Remove variable.
23450 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23451 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
23452 (CFLAGS-slowexp-fma.c): Remove variable.
23453 (CFLAGS-slowexp-fma4.c): Likewise.
23454 (CFLAGS-slowexp-avx.c): Likewise.
23455 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
23457 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
23458 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
23459 * math/Makefile (type-double-routines): Remove slowexp.
23460 * manual/probes.texi (slowexp_p6): Remove.
23461 (slowexp_p32): Likewise.
23463 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23464 James Clarke <jrtc27@jrtc27.com>
23467 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
23470 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23473 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
23476 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23479 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23480 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
23481 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23482 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
23485 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23488 * bits/types/__cancel_jmp_buf_tag.h: New file.
23489 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
23490 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
23491 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
23492 * nptl/Makefile (headers): Add
23493 bits/types/__cancel_jmp_buf_tag.h.
23494 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
23495 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
23496 * sysdeps/nptl/pthread.h: Include
23497 <bits/types/__cancel_jmp_buf_tag.h>.
23498 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
23500 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
23502 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
23504 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23505 --enable-static-pie variants to x86_64, x32 and i686.
23507 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23510 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
23511 argument for attrubutes. All callers changed.
23512 (__inline_mathop1): Likewise. All callers changed.
23513 (__inline_mathop): Likewise. All callers changed.
23514 [__USE_MISC] (scalbn): Use __inline_forward instead of
23515 __inline_forward_c.
23516 [__USE_ISOC99] (scalbln): Likewise.
23517 [__USE_ISOC99] (nearbyint): Likewise.
23518 [__USE_ISOC99] (lrint): Likewise.
23519 [__USE_MISC] (scalbnf): Likewise.
23520 [__USE_ISOC99] (scalblnf): Likewise.
23521 [__USE_ISOC99] (nearbyintf): Likewise.
23522 [__USE_ISOC99] (lrintf): Likewise.
23523 [__USE_MISC] (scalbnl): Likewise.
23524 [__USE_ISOC99] (scalblnl): Likewise.
23525 [__USE_ISOC99] (nearbyintl): Likewise.
23526 [__USE_ISOC99] (lrintl): Likewise.
23527 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
23528 __inline_mathop and __m81_defun changed.
23530 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
23531 CPU or FPU for ARM hard-float configurations.
23533 2017-12-18 Joseph Myers <joseph@codesourcery.com>
23535 * nptl/tst-attr3.c: Include <libc-diag.h>.
23536 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
23538 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
23540 * string/tester.c (test_strncat): Also disable -Warray-bounds
23541 warnings for two tests.
23543 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
23546 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
23547 $(cc-pie-default) == yes.
23548 * config.make.in (cc-pie-default): New.
23549 * configure.ac (libc_cv_pie_default): Renamed to ...
23550 (libc_cv_cc_pie_default): This.
23551 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
23552 * configure: Regenerated.
23554 2017-12-18 Florian Weimer <fweimer@redhat.com>
23557 ld.so: Harden dl-libc/libdl hooks.
23558 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
23559 (rtld_active): New function.
23560 * dlfcn/dladdr.c (__dladdr): Call it.
23561 * dlfcn/dladdr1.c (__dladdr1): Likewise.
23562 * dlfcn/dlclose.c (__dlcose): Likewise.
23563 * dlfcn/dlerror.c (__dlerror): Likewise.
23564 * dlfcn/dlinfo.c (__dlinfo): Likewise.
23565 * dlfcn/dlmopen.c (__dlmopen): Likewise.
23566 * dlfcn/dlopen.c (__dlopen): Likewise.
23567 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
23568 * dlfcn/dlsym.c (__dlsym): Likewise.
23569 * dlfcn/dlvsym.c (__dlvsym): Likewise.
23570 * libio/vtables.c (_IO_vtable_check): Likewise.
23571 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
23572 (__libc_dlclose): Likewise.
23573 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
23576 2017-12-18 Joseph Myers <joseph@codesourcery.com>
23579 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
23580 buffers for readlink input and output.
23582 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
23585 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
23586 inhibit_stack_protector.
23589 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
23590 inhibit_stack_protector.
23592 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
23595 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
23596 code and invocation.
23598 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
23600 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
23602 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
23605 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
23607 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23609 * sysdeps/s390/fpu/libm-test-ulps: Update.
23611 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23615 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23617 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
23618 constants to s_sincosf.h file.
23619 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23620 * sysdeps/ieee754/flt-32/s_sincosf.c: New
23622 * sysdeps/ieee754/flt-32/s_sincosf.h:
23625 2017-12-12 Carlos O'Donell <carlos@redhat.com>
23628 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
23631 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
23634 * INSTALL: Regenerated.
23635 * Makeconfig (real-static-start-installed-name): New.
23636 (pic-default): Updated for --enable-static-pie.
23637 (pie-default): New for --enable-static-pie.
23638 (default-pie-ldflag): Likewise.
23639 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
23640 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
23641 Replace $(static-start-installed-name) with
23642 $(real-static-start-installed-name).
23643 (+prectorT): Updated for --enable-static-pie.
23644 (+postctorT): Likewise.
23645 (CFLAGS-.o): Add $(pie-default).
23646 (CFLAGS-.op): Likewise.
23647 * NEWS: Mention --enable-static-pie.
23648 * config.h.in (ENABLE_STATIC_PIE): New.
23649 * configure.ac (--enable-static-pie): New configure option.
23650 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
23651 (have-static-pie): Likewise.
23652 Enable static PIE if linker supports --no-dynamic-linker.
23653 (ENABLE_STATIC_PIE): New AC_DEFINE.
23654 (enable-static-pie): New LIBC_CONFIG_VAR.
23655 * configure: Regenerated.
23656 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
23657 gr$(start-installed-name) for --enable-static-pie.
23658 (extra-objs): Likewise.
23659 (install-lib): Likewise.
23660 (extra-objs): Add static-reloc.o and static-reloc.os
23661 ($(objpfx)$(start-installed-name)): Also depend on
23662 $(objpfx)static-reloc.o.
23663 ($(objpfx)r$(start-installed-name)): New.
23664 ($(objpfx)g$(start-installed-name)): Also depend on
23665 $(objpfx)static-reloc.os.
23666 ($(objpfx)gr$(start-installed-name)): New.
23667 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
23669 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
23671 * csu/static-reloc.c: New file.
23672 * elf/Makefile (routines): Add dl-reloc-static-pie.
23673 (elide-routines.os): Likewise.
23674 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
23675 (tst-tls1-static-non-pie-no-pie): New.
23676 * elf/dl-reloc-static-pie.c: New file.
23677 * elf/dl-support.c (_dl_get_dl_main_map): New function.
23678 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
23679 STATIC_PIE_BOOTSTRAP.
23680 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
23681 * gmon/Makefile (tests): Add tst-gmon-static-pie.
23682 (tests-static): Likewise.
23683 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
23684 (tst-gmon-static-no-pie): New.
23685 (CFLAGS-tst-gmon-static-pie.c): Likewise.
23686 (CRT-tst-gmon-static-pie): Likewise.
23687 (tst-gmon-static-pie-ENV): Likewise.
23688 (tests-special): Likewise.
23689 ($(objpfx)tst-gmon-static-pie.out): Likewise.
23690 (clean-tst-gmon-static-pie-data): Likewise.
23691 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
23692 * gmon/tst-gmon-static-pie.c: New file.
23693 * manual/install.texi: Document --enable-static-pie.
23694 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
23695 (_dl_get_dl_main_map): Likewise.
23696 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
23697 * sysdeps/x86_64/configure.ac: Likewise.
23698 * sysdeps/i386/configure: Regenerated.
23699 * sysdeps/x86_64/configure: Likewise.
23700 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
23701 (ASFLAGS-.op): Likewise.
23703 2017-12-15 Joseph Myers <joseph@codesourcery.com>
23705 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
23706 * posix/tst-mmap-offset.c (fname): Use /tmp.
23707 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
23709 2017-12-15 Steve Ellcey <sellcey@cavium.com>
23711 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
23713 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
23715 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
23718 2017-12-15 Joseph Myers <joseph@codesourcery.com>
23720 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
23721 --with-float=hard for arm-linux-gnueabihf configurations.
23724 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
23725 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
23726 ($(mo-installed)): Use $(objpfx)%.mo.
23727 (realclean): Remove rule.
23729 * po/Makefile (linguas): Remove rule and dependencies.
23730 (linguas.mo): Likewise.
23731 (.PHONY): Do not depend on linguas and linguas.mo.
23732 (podir): Remove variable.
23733 (pofiles): Likewise.
23734 [$(pofiles)] (%.po): Remove rule.
23736 * sysdeps/sparc/sparc32/Makefile
23737 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
23738 start-of-line whitespace in argument of echo.
23739 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
23740 with whitespace. Generate __wrap_.udiv alias.
23741 * sysdeps/sparc/sparc32/rem.S: Regenerated.
23742 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
23743 * sysdeps/sparc/sparc32/udiv.S: Likewise.
23744 * sysdeps/sparc/sparc32/urem.S: Likewise.
23746 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23748 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
23749 for aligned inputs.
23751 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
23753 * benchtests/bench-strcmp.c: Print output in JSON format.
23755 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
23757 2017-12-14 Florian Weimer <fweimer@redhat.com>
23761 * elf/dl-load.c (_dl_init_paths): Compute number of components in
23762 the expanded path string.
23764 2017-12-14 Florian Weimer <fweimer@redhat.com>
23768 * elf/dl-load.c (system_dirs): Update comment.
23769 (nsystem_dirs_len): Use array_length.
23770 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
23772 2017-12-14 Florian Weimer <fweimer@redhat.com>
23774 Simplify compiling most of support/ outside of glibc.
23775 * support/check_addrinfo.c: Include <string.h>.
23776 * support/check_dns_packet.c: Likewise.
23777 * support/check_hostent.c: Likewise.
23778 * support/support_can_chroot.c: Include <support/xunistd.h>.
23779 * support/support_format_addrinfo.c: Include <stdlib.h>
23780 * support/support_format_dns_packet.c: Include <stdbool.h>.
23781 * support/support_format_hostent.c: Include <stdlib.h>.
23782 * support/support_format_netent.c: Likewise.
23783 * support/support_write_string.c: Include <support/xunistd.h>.
23784 * support/xdlfcn.c: Include <stddef.h>.
23786 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
23788 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
23790 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23791 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23793 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23794 (sysdeps_routines): Add memset-niagara7.
23795 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
23797 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
23799 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
23800 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
23801 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
23802 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
23803 Add niagara7 option.
23804 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
23807 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23808 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
23809 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
23811 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
23813 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
23814 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
23815 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
23816 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
23817 and __memmove_niagara7.
23818 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
23819 Add niagara7 option.
23820 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
23821 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
23822 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
23823 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
23824 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
23826 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
23828 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
23829 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
23830 * sysdeps/sparc/sparc64/memmove.S: Likewise.
23831 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
23833 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
23834 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
23835 _dl_sparc_cap_flags array.
23836 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
23838 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
23840 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
23841 time whenever possible.
23843 2017-12-12 Carlos O'Donell <carlos@redhat.com>
23845 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
23846 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
23848 2017-12-12 Joseph Myers <joseph@codesourcery.com>
23850 * soft-fp/fmadf4.c: Move to ....
23851 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
23852 * soft-fp/fmasf4.c: Move to ....
23853 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
23854 * soft-fp/fmatf4.c: Move to ....
23855 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
23856 * sysdeps/ieee754/soft-fp/Makefile: New file.
23857 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
23858 * sysdeps/arm/preconfigure: Regenerated.
23859 * sysdeps/arm/nofpu/Implies: New file.
23860 * sysdeps/arm/s_fma.c: Remove file.
23861 * sysdeps/arm/s_fmaf.c: Likewise.
23862 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
23863 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
23864 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
23865 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
23866 * sysdeps/microblaze/s_fma.c: Remove file.
23867 * sysdeps/microblaze/s_fmaf.c: Likewise.
23868 * sysdeps/mips/mips32/nofpu/Implies: New file.
23869 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
23870 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
23871 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
23872 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
23873 * sysdeps/mips/ieee754/s_fma.c: Remove file.
23874 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
23875 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
23877 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
23878 * sysdeps/nios2/s_fma.c: Remove file.
23879 * sysdeps/nios2/s_fmaf.c: Likewise.
23880 * sysdeps/sh/nofpu/Implies: New file.
23881 * sysdeps/sh/s_fma.c: Remove file.
23882 * sysdeps/sh/s_fmaf.c: Likewise.
23883 * sysdeps/tile/Implies: Add ieee754/soft-fp.
23884 * sysdeps/tile/s_fma.c: Remove file.
23885 * sysdeps/tile/s_fmaf.c: Likewise.
23887 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
23889 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23890 Add s_cosf-sse2 and s_cosf-fma.
23891 (CFLAGS-s_cosf-fma.c): New.
23892 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
23893 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
23894 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
23896 2017-12-12 Steve Ellcey <sellcey@cavium.com>
23898 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
23900 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23902 * libio/Makefile (tests): Add tst-bz22415.
23903 (tst-bz22415-ENV): New rule.
23904 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
23905 (tests-special): Add tst-bz22415-mem.out.
23906 ($(objpfx)tst-bz22415-mem.out): New rule.
23907 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
23908 in case of a successful seek operation.
23909 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23910 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
23911 buffer is required.
23912 * libio/tst-bz22415.c: New test.
23914 * sysdeps/ia64/fpu/libm-test-ulps: Update.
23916 2017-12-12 James Clarke <jrtc27@jrtc27.com>
23918 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
23919 __IPC_64 to 0 to avoid IPC_64 being set.
23921 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
23924 * math/bits/mathcalls.h (nextafter): Remove const.
23925 (nexttoward): Likewise.
23927 2017-12-12 Joseph Myers <joseph@codesourcery.com>
23929 * configure.ac (--with-fp): Remove configure option.
23930 (with_fp_cond): New variable.
23931 (libc_cv_with_fp): New configure test. Use this variable instead
23933 * configure: Regenerated.
23934 * config.make.in (with-fp): Use @libc_cv_with_fp@.
23935 * manual/install.texi (Configuring and compiling): Remove
23937 * INSTALL: Regenerated.
23938 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
23939 * sysdeps/mips/preconfigure (with_fp_cond): Define.
23940 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
23941 * sysdeps/sh/preconfigure (with_fp_cond): Define.
23942 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
23943 use --without-fp to configure glibc.
23945 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
23947 * manual/locale.texi (nl_langinfo): Fix a typo.
23949 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
23952 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
23954 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
23956 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
23957 (CFLAGS-argp-parse.c): Likewise.
23958 (CFLAGS-argp-fmtstream.c): Likewise.
23959 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
23960 (CPPFLAGS-sha512-crypt.c): Likewise.
23961 (CPPFLAGS-md5-crypt.c): Likewise.
23962 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
23963 (CFLAGS-stack_chk_fail_local.c): Likewise.
23964 (CFLAGS-backtrace.c): Likewise.
23965 (CFLAGS-sprintf_chk.c): Likewise.
23966 (CFLAGS-snprintf_chk.c): Likewise.
23967 (CFLAGS-vsprintf_chk.c): Likewise.
23968 (CFLAGS-vsnprintf_chk.c): Likewise.
23969 (CFLAGS-asprintf_chk.c): Likewise.
23970 (CFLAGS-vasprintf_chk.c): Likewise.
23971 (CFLAGS-obprintf_chk.c): Likewise.
23972 (CFLAGS-dprintf_chk.c): Likewise.
23973 (CFLAGS-vdprintf_chk.c): Likewise.
23974 (CFLAGS-printf_chk.c): Likewise.
23975 (CFLAGS-fprintf_chk.c): Likewise.
23976 (CFLAGS-vprintf_chk.c): Likewise.
23977 (CFLAGS-vfprintf_chk.c): Likewise.
23978 (CFLAGS-gets_chk.c): Likewise.
23979 (CFLAGS-fgets_chk.c): Likewise.
23980 (CFLAGS-fgets_u_chk.c): Likewise.
23981 (CFLAGS-fread_chk.c): Likewise.
23982 (CFLAGS-fread_u_chk.c): Likewise.
23983 (CFLAGS-swprintf_chk.c): Likewise.
23984 (CFLAGS-vswprintf_chk.c): Likewise.
23985 (CFLAGS-wprintf_chk.c): Likewise.
23986 (CFLAGS-fwprintf_chk.c): Likewise.
23987 (CFLAGS-vwprintf_chk.c): Likewise.
23988 (CFLAGS-vfwprintf_chk.c): Likewise.
23989 (CFLAGS-fgetws_chk.c): Likewise.
23990 (CFLAGS-fgetws_u_chk.c): Likewise.
23991 (CFLAGS-read_chk.c): Likewise.
23992 (CFLAGS-pread_chk.c): Likewise.
23993 (CFLAGS-pread64_chk.c): Likewise.
23994 (CFLAGS-recv_chk.c): Likewise.
23995 (CFLAGS-recvfrom_chk.c): Likewise.
23996 (CFLAGS-tst-longjmp_chk.c): Likewise.
23997 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
23998 (CFLAGS-tst-longjmp_chk2.c): Likewise.
23999 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
24000 (CFLAGS-tst-longjmp_chk3.c): Likewise.
24001 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
24002 (CFLAGS-tst-chk1.c): Likewise.
24003 (CFLAGS-tst-chk2.c): Likewise.
24004 (CFLAGS-tst-chk3.c): Likewise.
24005 (CFLAGS-tst-chk4.cc): Likewise.
24006 (CFLAGS-tst-chk5.cc): Likewise.
24007 (CFLAGS-tst-chk6.cc): Likewise.
24008 (CFLAGS-tst-lfschk1.c): Likewise.
24009 (CFLAGS-tst-lfschk2.c): Likewise.
24010 (CFLAGS-tst-lfschk3.c): Likewise.
24011 (CFLAGS-tst-lfschk4.cc): Likewise.
24012 (CFLAGS-tst-lfschk5.cc): Likewise.
24013 (CFLAGS-tst-lfschk6.cc): Likewise.
24014 (CFLAGS-tst-ssp-1.c): Likewise.
24015 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
24016 (CFLAGS-scandir64.c): Likewise.
24017 (CFLAGS-scandir-tail.c): Likewise.
24018 (CFLAGS-scandir64-tail.c): Likewise.
24019 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
24020 (CFLAGS-dl-tunables.c): Likewise.
24021 (CFLAGS-dl-runtime.c): Likewise.
24022 (CFLAGS-dl-lookup.c): Likewise.
24023 (CFLAGS-dl-iterate-phdr.c): Likewise.
24024 (CFLAGS-vismain.c): Likewise.
24025 (CFLAGS-tst-linkall-static.c): Likewise.
24026 (CFLAGS-tst-linkall-static.c): Likewise.
24027 (CPPFLAGS-dl-load.c): Likewise.
24028 (CFLAGS-ldconfig.c): Likewise.
24029 (CFLAGS-dl-cache.c): Likewise.
24030 (CFLAGS-cache.c): Likewise.
24031 (CFLAGS-rtld.c): Likewise.
24032 (CFLAGS-multiload.c): Likewise.
24033 (CFLAGS-filtmod1.c): Likewise.
24034 (CFLAGS-tst-align.c): Likewise.
24035 (CFLAGS-tst-align2.c): Likewise.
24036 (CFLAGS-tst-alignmod.c): Likewise.
24037 (CFLAGS-tst-alignmod2.c): Likewise.
24038 (CPPFLAGS-tst-execstack.c): Likewise.
24039 (CFLAGS-tst-ptrguard1-static.c): Likewise.
24040 (CFLAGS-tst-latepthreadmod.c): Likewise.
24041 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
24042 (CFLAGS-getgrnam_r.c): Likewise.
24043 (CFLAGS-getgrent_r.c): Likewise.
24044 (CFLAGS-getgrent.c): Likewise.
24045 (CFLAGS-fgetgrent.c): Likewise.
24046 (CFLAGS-fgetgrent_r.c): Likewise.
24047 (CFLAGS-putgrent.c): Likewise.
24048 (CFLAGS-initgroups.c): Likewise.
24049 (CFLAGS-getgrgid.c): Likewise.
24050 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
24051 (CFLAGS-getsgent.c): Likewise.
24052 (CFLAGS-fgetsgent.c): Likewise.
24053 (CFLAGS-fgetsgent_r.c): Likewise.
24054 (CFLAGS-putsgent.c): Likewise.
24055 (CFLAGS-getsgnam.c): Likewise.
24056 (CFLAGS-getsgnam_r.c): Likewise.
24057 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
24058 (CFLAGS-iconv_charmap.c): Likewise.
24059 (CFLAGS-dummy-repertoire.c): Likewise.
24060 (CFLAGS-charmap.c): Likewise.
24061 (CFLAGS-linereader.c): Likewise.
24062 (CFLAGS-simple-hash.c): Likewise.
24063 (CFLAGS-gconv_conf.c): Likewise.
24064 (CFLAGS-iconvconfig.c): Likewise.
24065 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24066 (CFLAGS-gethstbyad.c): Likewise.
24067 (CFLAGS-gethstbynm_r.c): Likewise.
24068 (CFLAGS-gethstbynm.c): Likewise.
24069 (CFLAGS-gethstbynm2_r.c): Likewise.
24070 (CFLAGS-gethstbynm2.c): Likewise.
24071 (CFLAGS-gethstent_r.c): Likewise.
24072 (CFLAGS-gethstent.c): Likewise.
24073 (CFLAGS-rcmd.c): Likewise.
24074 (CFLAGS-getnetbynm_r.c): Likewise.
24075 (CFLAGS-getnetbynm.c): Likewise.
24076 (CFLAGS-getnetbyad_r.c): Likewise.
24077 (CFLAGS-getnetbyad.c): Likewise.
24078 (CFLAGS-getnetent_r.c): Likewise.
24079 (CFLAGS-getnetent.c): Likewise.
24080 (CFLAGS-getaliasent_r.c): Likewise.
24081 (CFLAGS-getaliasent.c): Likewise.
24082 (CFLAGS-getrpcent_r.c): Likewise.
24083 (CFLAGS-getrpcent.c): Likewise.
24084 (CFLAGS-getservent_r.c): Likewise.
24085 (CFLAGS-getservent.c): Likewise.
24086 (CFLAGS-getprtent_r.c): Likewise.
24087 (CFLAGS-getprtent.c): Likewise.
24088 (CFLAGS-either_ntoh.c): Likewise.
24089 (CFLAGS-either_hton.c): Likewise.
24090 (CFLAGS-getnetgrent.c): Likewise.
24091 (CFLAGS-getnetgrent_r.c): Likewise.
24092 (CFLAGS-tst-checks-posix.c): Likewise.
24093 (CFLAGS-tst-sockaddr.c): Likewise.
24094 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
24095 (CFLAGS-tst-translit.c): Likewise.
24096 (CFLAGS-tst-gettext2.c): Likewise.
24097 (CFLAGS-tst-codeset.c): Likewise.
24098 (CFLAGS-tst-gettext3.c): Likewise.
24099 (CFLAGS-tst-gettext4.c): Likewise.
24100 (CFLAGS-tst-gettext5.c): Likewise.
24101 (CFLAGS-tst-gettext6.c): Likewise.
24102 * io/Makefile (CFLAGS-open.c): Likewise.
24103 (CFLAGS-open64.c): Likewise.
24104 (CFLAGS-creat.c): Likewise.
24105 (CFLAGS-creat64.c): Likewise.
24106 (CFLAGS-fcntl.c): Likewise.
24107 (CFLAGS-poll.c): Likewise.
24108 (CFLAGS-ppoll.c): Likewise.
24109 (CFLAGS-lockf.c): Likewise.
24110 (CFLAGS-statfs.c): Likewise.
24111 (CFLAGS-fstatfs.c): Likewise.
24112 (CFLAGS-statvfs.c): Likewise.
24113 (CFLAGS-fstatvfs.c): Likewise.
24114 (CFLAGS-fts.c): Likewise.
24115 (CFLAGS-fts64.c): Likewise.
24116 (CFLAGS-ftw.c): Likewise.
24117 (CFLAGS-ftw64.c): Likewise.
24118 (CFLAGS-lockf.c): Likewise.
24119 (CFLAGS-posix_fallocate.c): Likewise.
24120 (CFLAGS-posix_fallocate64.c): Likewise.
24121 (CFLAGS-fallocate.c): Likewise.
24122 (CFLAGS-fallocate64.c): Likewise.
24123 (CFLAGS-read.c): Likewise.
24124 (CFLAGS-write.c): Likewise.
24125 (CFLAGS-test-stat.c): Likewise.
24126 (CFLAGS-test-lfs.c): Likewise.
24127 * libio/Makefile (CFLAGS-fileops.c): Likewise.
24128 (CFLAGS-fputc.c): Likewise.
24129 (CFLAGS-fputwc.c): Likewise.
24130 (CFLAGS-freopen64.c): Likewise.
24131 (CFLAGS-freopen.c): Likewise.
24132 (CFLAGS-fseek.c): Likewise.
24133 (CFLAGS-fseeko64.c): Likewise.
24134 (CFLAGS-fseeko.c): Likewise.
24135 (CFLAGS-ftello64.c): Likewise.
24136 (CFLAGS-ftello.c): Likewise.
24137 (CFLAGS-fwide.c): Likewise.
24138 (CFLAGS-genops.c): Likewise.
24139 (CFLAGS-getc.c): Likewise.
24140 (CFLAGS-getchar.c): Likewise.
24141 (CFLAGS-getwc.c): Likewise.
24142 (CFLAGS-getwchar.c): Likewise.
24143 (CFLAGS-iofclose.c): Likewise.
24144 (CFLAGS-iofflush.c): Likewise.
24145 (CFLAGS-iofgetpos64.c): Likewise.
24146 (CFLAGS-iofgetpos.c): Likewise.
24147 (CFLAGS-iofgets.c): Likewise.
24148 (CFLAGS-iofgetws.c): Likewise.
24149 (CFLAGS-iofputs.c): Likewise.
24150 (CFLAGS-iofputws.c): Likewise.
24151 (CFLAGS-iofread.c): Likewise.
24152 (CFLAGS-iofsetpos64.c): Likewise.
24153 (CFLAGS-iofsetpos.c): Likewise.
24154 (CFLAGS-ioftell.c): Likewise.
24155 (CFLAGS-iofwrite.c): Likewise.
24156 (CFLAGS-iogetdelim.c): Likewise.
24157 (CFLAGS-iogetline.c): Likewise.
24158 (CFLAGS-iogets.c): Likewise.
24159 (CFLAGS-iogetwline.c): Likewise.
24160 (CFLAGS-ioputs.c): Likewise.
24161 (CFLAGS-ioseekoff.c): Likewise.
24162 (CFLAGS-ioseekpos.c): Likewise.
24163 (CFLAGS-iosetbuffer.c): Likewise.
24164 (CFLAGS-iosetvbuf.c): Likewise.
24165 (CFLAGS-ioungetc.c): Likewise.
24166 (CFLAGS-ioungetwc.c): Likewise.
24167 (CFLAGS-oldfileops.c): Likewise.
24168 (CFLAGS-oldiofclose.c): Likewise.
24169 (CFLAGS-oldiofgetpos64.c): Likewise.
24170 (CFLAGS-oldiofgetpos.c): Likewise.
24171 (CFLAGS-oldiofsetpos64.c): Likewise.
24172 (CFLAGS-oldiofsetpos.c): Likewise.
24173 (CFLAGS-peekc.c): Likewise.
24174 (CFLAGS-putc.c): Likewise.
24175 (CFLAGS-putchar.c): Likewise.
24176 (CFLAGS-putwc.c): Likewise.
24177 (CFLAGS-putwchar.c): Likewise.
24178 (CFLAGS-rewind.c): Likewise.
24179 (CFLAGS-wfileops.c): Likewise.
24180 (CFLAGS-wgenops.c): Likewise.
24181 (CFLAGS-oldiofopen.c): Likewise.
24182 (CFLAGS-iofopen.c): Likewise.
24183 (CFLAGS-iofopen64.c): Likewise.
24184 (CFLAGS-oldtmpfile.c): Likewise.
24185 (CFLAGS-tst_putwc.c): Likewise.
24186 * locale/Makefile (CFLAGS-md5.c): Likewise.
24187 (CFLAGS-charmap.c): Likewise.
24188 (CFLAGS-locfile.c): Likewise.
24189 (CFLAGS-charmap-dir.c): Likewise.
24190 * login/Makefile (CFLAGS-grantpt.c): Likewise.
24191 (CFLAGS-getpt.c): Likewise.
24192 (CFLAGS-pt_chown.c): Likewise.
24193 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
24194 (CFLAGS-obstack.c): Likewise.
24195 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
24196 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
24197 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
24198 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
24199 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
24200 (CFLAGS-test-tgmath.c): Likewise.
24201 (CFLAGS-test-tgmath2.c): Likewise.
24202 (CFLAGS-test-tgmath-ret.c): Likewise.
24203 (CFLAGS-test-powl.c): Likewise.
24204 (CFLAGS-test-snan.c): Likewise.
24205 (CFLAGS-test-signgam-finite.c): Likewise.
24206 (CFLAGS-test-signgam-finite-c99.c): Likewise.
24207 (CFLAGS-test-signgam-finite-c11.c): Likewise.
24208 (CFLAGS-test-signgam-uchar.c): Likewise.
24209 (CFLAGS-test-signgam-uchar-init.c): Likewise.
24210 (CFLAGS-test-signgam-uchar-static.c): Likewise.
24211 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
24212 (CFLAGS-test-signgam-uint.c): Likewise.
24213 (CFLAGS-test-signgam-uint-init.c): Likewise.
24214 (CFLAGS-test-signgam-uint-static.c): Likewise.
24215 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
24216 (CFLAGS-test-signgam-ullong.c): Likewise.
24217 (CFLAGS-test-signgam-ullong-init.c): Likewise.
24218 (CFLAGS-test-signgam-ullong-static.c): Likewise.
24219 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
24220 (CFLAGS-test-math-cxx11.cc): Likewise.
24221 (CFLAGS-test-math-isinff.cc): Likewise.
24222 (CFLAGS-test-math-iszero.cc): Likewise.
24223 (CFLAGS-test-math-issignaling.cc): Likewise.
24224 (CFLAGS-test-math-iscanonical.cc): Likewise.
24225 (CFLAGS-test-iszero-excess-precision.c): Likewise.
24226 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
24227 (CFLAGS-test-flt-eval-method.c): Likewise.
24228 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
24229 (CFLAGS-test-finite-macros.c): Likewise.
24230 * misc/Makefile (CFLAGS-select.c): Likewise.
24231 (CFLAGS-tsearch.c): Likewise.
24232 (CFLAGS-lsearch.c): Likewise.
24233 (CFLAGS-pselect.c): Likewise.
24234 (CFLAGS-readv.c): Likewise.
24235 (CFLAGS-writev.c): Likewise.
24236 (CFLAGS-preadv.c): Likewise.
24237 (CFLAGS-preadv64.c): Likewise.
24238 (CFLAGS-pwritev.c): Likewise.
24239 (CFLAGS-pwritev64.c): Likewise.
24240 (CFLAGS-preadv2.c): Likewise.
24241 (CFLAGS-preadv64v2.c): Likewise.
24242 (CFLAGS-pwritev2.c): Likewise.
24243 (CFLAGS-pwritev64v2.c): Likewise.
24244 (CFLAGS-usleep.c): Likewise.
24245 (CFLAGS-syslog.c): Likewise.
24246 (CFLAGS-error.c): Likewise.
24247 (CFLAGS-getpass.c): Likewise.
24248 (CFLAGS-mkstemp.c): Likewise.
24249 (CFLAGS-mkstemp64.c): Likewise.
24250 (CFLAGS-getsysstats.c): Likewise.
24251 (CFLAGS-getusershell.c): Likewise.
24252 (CFLAGS-err.c): Likewise.
24253 (CFLAGS-tst-tsearch.c): Likewise.
24254 (CFLAGS-msync.c): Likewise.
24255 (CFLAGS-fdatasync.c): Likewise.
24256 (CFLAGS-fsync.c): Likewise.
24257 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
24258 (CFLAGS-unwind.c): Likewise.
24259 (CFLAGS-unwind-forcedunwind.c): Likewise.
24260 (CFLAGS-pthread_cancel.c): Likewise.
24261 (CFLAGS-pthread_setcancelstate.c): Likewise.
24262 (CFLAGS-pthread_setcanceltype.c): Likewise.
24263 (CFLAGS-cancellation.c): Likewise.
24264 (CFLAGS-libc-cancellation.c): Likewise.
24265 (CFLAGS-pthread_exit.c): Likewise.
24266 (CFLAGS-forward.c): Likewise.
24267 (CFLAGS-pthread_testcancel.c): Likewise.
24268 (CFLAGS-pthread_join.c): Likewise.
24269 (CFLAGS-pthread_timedjoin.c): Likewise.
24270 (CFLAGS-pthread_once.c): Likewise.
24271 (CFLAGS-pthread_cond_wait.c): Likewise.
24272 (CFLAGS-sem_wait.c): Likewise.
24273 (CFLAGS-sem_timedwait.c): Likewise.
24274 (CFLAGS-fcntl.c): Likewise.
24275 (CFLAGS-lockf.c): Likewise.
24276 (CFLAGS-pread.c): Likewise.
24277 (CFLAGS-pread64.c): Likewise.
24278 (CFLAGS-pwrite.c): Likewise.
24279 (CFLAGS-pwrite64.c): Likewise.
24280 (CFLAGS-wait.c): Likewise.
24281 (CFLAGS-waitpid.c): Likewise.
24282 (CFLAGS-sigwait.c): Likewise.
24283 (CFLAGS-msgrcv.c): Likewise.
24284 (CFLAGS-msgsnd.c): Likewise.
24285 (CFLAGS-tcdrain.c): Likewise.
24286 (CFLAGS-open.c): Likewise.
24287 (CFLAGS-open64.c): Likewise.
24288 (CFLAGS-pause.c): Likewise.
24289 (CFLAGS-recv.c): Likewise.
24290 (CFLAGS-send.c): Likewise.
24291 (CFLAGS-accept.c): Likewise.
24292 (CFLAGS-sendto.c): Likewise.
24293 (CFLAGS-connect.c): Likewise.
24294 (CFLAGS-recvfrom.c): Likewise.
24295 (CFLAGS-recvmsg.c): Likewise.
24296 (CFLAGS-sendmsg.c): Likewise.
24297 (CFLAGS-close.c): Likewise.
24298 (CFLAGS-read.c): Likewise.
24299 (CFLAGS-write.c): Likewise.
24300 (CFLAGS-nanosleep.c): Likewise.
24301 (CFLAGS-sigsuspend.c): Likewise.
24302 (CFLAGS-msync.c): Likewise.
24303 (CFLAGS-fdatasync.c): Likewise.
24304 (CFLAGS-fsync.c): Likewise.
24305 (CFLAGS-pt-system.c): Likewise.
24306 (CFLAGS-tst-cleanup2.c): Likewise.
24307 (CFLAGS-tst-cleanupx2.c): Likewise.
24308 (CFLAGS-flockfile.c): Likewise.
24309 (CFLAGS-ftrylockfile.c): Likewise.
24310 (CFLAGS-funlockfile.c): Likewise.
24311 (CFLAGS-tst-initializers1.c): Likewise.
24312 (CFLAGS-tst-initializers1-c89.c): Likewise.
24313 (CFLAGS-tst-initializers1-c99.c): Likewise.
24314 (CFLAGS-tst-initializers1-c11.c): Likewise.
24315 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
24316 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
24317 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
24318 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
24319 (CFLAGS-nscd_getgr_r.c): Likewise.
24320 (CFLAGS-nscd_gethst_r.c): Likewise.
24321 (CFLAGS-nscd_getai.c): Likewise.
24322 (CFLAGS-nscd_initgroups.c): Likewise.
24323 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
24324 (CFLAGS-pause.c): Likewise.
24325 (CFLAGS-pread.c): Likewise.
24326 (CFLAGS-pread64.c): Likewise.
24327 (CFLAGS-pwrite.c): Likewise.
24328 (CFLAGS-pwrite64.c): Likewise.
24329 (CFLAGS-sleep.c): Likewise.
24330 (CFLAGS-wait.c): Likewise.
24331 (CFLAGS-waitid.c): Likewise.
24332 (CFLAGS-waitpid.c): Likewise.
24333 (CFLAGS-getopt.c): Likewise.
24334 (CFLAGS-wordexp.c): Likewise.
24335 (CFLAGS-sysconf.c): Likewise.
24336 (CFLAGS-pathconf.c): Likewise.
24337 (CFLAGS-fpathconf.c): Likewise.
24338 (CFLAGS-spawn.c): Likewise.
24339 (CFLAGS-spawnp.c): Likewise.
24340 (CFLAGS-spawni.c): Likewise.
24341 (CFLAGS-glob.c): Likewise.
24342 (CFLAGS-glob64.c): Likewise.
24343 (CFLAGS-getconf.c): Likewise.
24344 (CFLAGS-nanosleep.c): Likewise.
24345 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
24346 (CFLAGS-getpwent.c): Likewise.
24347 (CFLAGS-getpw.c): Likewise.
24348 (CFLAGS-fgetpwent_r.c): Likewise.
24349 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
24350 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
24351 (CFLAGS-mq_timedreceive.c): Likewise.
24352 (CFLAGS-mq_timedsend.c): Likewise.
24353 (CFLAGS-clock_nanosleep.c): Likewise.
24354 (CFLAGS-librt-cancellation.c): Likewise.
24355 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
24356 (CFLAGS-getspent.c): Likewise.
24357 (CFLAGS-fgetspent.c): Likewise.
24358 (CFLAGS-fgetspent_r.c): Likewise.
24359 (CFLAGS-putspent.c): Likewise.
24360 (CFLAGS-getspnam.c): Likewise.
24361 (CFLAGS-getspnam_r.c): Likewise.
24362 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
24363 (CFLAGS-sigsuspend.c): Likewise.
24364 (CFLAGS-sigtimedwait.c): Likewise.
24365 (CFLAGS-sigwait.c): Likewise.
24366 (CFLAGS-sigwaitinfo.c): Likewise.
24367 (CFLAGS-sigreturn.c): Likewise.
24368 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
24369 (CFLAGS-vfwprintf.c): Likewise.
24370 (CFLAGS-tmpfile.c): Likewise.
24371 (CFLAGS-tmpfile64.c): Likewise.
24372 (CFLAGS-tempname.c): Likewise.
24373 (CFLAGS-psignal.c): Likewise.
24374 (CFLAGS-vprintf.c): Likewise.
24375 (CFLAGS-cuserid.c): Likewise.
24376 (CFLAGS-errlist.c): Likewise.
24377 (CFLAGS-siglist.c): Likewise.
24378 (CFLAGS-scanf15.c): Likewise.
24379 (CFLAGS-scanf17.c): Likewise.
24380 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
24381 (CFLAGS-msort.c): Likewise.
24382 (CFLAGS-qsort.c): Likewise.
24383 (CFLAGS-system.c): Likewise.
24384 (CFLAGS-fmtmsg.c): Likewise.
24385 (CFLAGS-strfmon.c): Likewise.
24386 (CFLAGS-strfmon_l.c): Likewise.
24387 (CFLAGS-strfromd.c): Likewise.
24388 (CFLAGS-strfromf.c): Likewise.
24389 (CFLAGS-strfroml.c): Likewise.
24390 (CFLAGS-tst-bsearch.c): Likewise.
24391 (CFLAGS-tst-qsort.c): Likewise.
24392 (CFLAGS-tst-makecontext2.c): Likewise.
24393 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
24394 (CFLAGS-xnlm_prot.c): Likewise.
24395 (CFLAGS-xrstat.c): Likewise.
24396 (CFLAGS-xyppasswd.c): Likewise.
24397 (CFLAGS-xklm_prot.c): Likewise.
24398 (CFLAGS-xrex.c): Likewise.
24399 (CFLAGS-xsm_inter.c): Likewise.
24400 (CFLAGS-xmount.c): Likewise.
24401 (CFLAGS-xrusers.c): Likewise.
24402 (CFLAGS-xspray.c): Likewise.
24403 (CFLAGS-xnfs_prot.c): Likewise.
24404 (CFLAGS-xrquota.c): Likewise.
24405 (CFLAGS-xkey_prot.c): Likewise.
24406 (CFLAGS-auth_unix.c): Likewise.
24407 (CFLAGS-key_call.c): Likewise.
24408 (CFLAGS-pmap_rmt.c): Likewise.
24409 (CFLAGS-clnt_perr.c): Likewise.
24410 (CFLAGS-openchild.c): Likewise.
24411 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
24412 (CFLAGS-msgsnd.c): Likewise.
24413 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
24414 * time/Makefile (CFLAGS-tzfile.c): Likewise.
24415 (CFLAGS-tzset.c): Likewise.
24416 (CFLAGS-getdate.c): Likewise.
24417 (CFLAGS-test_time.c): Likewise.
24418 (CPPFLAGS-tst-tzname.c): Likewise.
24419 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
24420 (CFLAGS-zic.c): Likewise.
24421 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
24422 (CFLAGS-wcswidth.c): Likewise.
24423 (CFLAGS-wcstol.c): Likewise.
24424 (CFLAGS-wcstoul.c): Likewise.
24425 (CFLAGS-wcstoll.c): Likewise.
24426 (CFLAGS-wcstoull.c): Likewise.
24427 (CFLAGS-wcstod.c): Likewise.
24428 (CFLAGS-wcstold.c): Likewise.
24429 (CFLAGS-wcstof128.c): Likewise.
24430 (CFLAGS-wcstof.c): Likewise.
24431 (CFLAGS-wcstol_l.c): Likewise.
24432 (CFLAGS-wcstoul_l.c): Likewise.
24433 (CFLAGS-wcstoll_l.c): Likewise.
24434 (CFLAGS-wcstoull_l.c): Likewise.
24435 (CFLAGS-wcstod_l.c): Likewise.
24436 (CFLAGS-wcstold_l.c): Likewise.
24437 (CFLAGS-wcstof128_l.c): Likewise.
24438 (CFLAGS-wcstof_l.c): Likewise.
24439 (CPPFLAGS-tst-wchar-h.c): Likewise.
24440 (CPPFLAGS-wcstold_l.c): Likewise.
24442 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
24444 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
24446 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24447 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24449 * manual/tunables.texi (Hardware Capability Tunables): Document
24450 glibc.tune.cached_memopt.
24451 * sysdeps/powerpc/cpu-features.c: New file.
24452 * sysdeps/powerpc/cpu-features.h: New file.
24453 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
24454 _dl_powerpc_cpu_features.
24455 * sysdeps/powerpc/dl-tunables.list: New file.
24456 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
24457 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
24458 (INIT_ARCH): Initialize use_aligned_memopt.
24459 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
24460 IS_IN(rtld))]: Restrict dl_platform_init availability and
24461 initialize CPU features used by tunables.
24462 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
24463 Add memcpy-power8-cached.
24464 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
24465 __memcpy_power8_cached.
24466 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
24467 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
24470 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
24472 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
24473 (CFLAGS-noinl-tester.c): Likewise.
24474 (CFLAGS-tst-strlen.c): Likewise.
24475 (CFLAGS-stratcliff.c): Likewise.
24476 (CFLAGS-test-ffs.c): Likewise.
24477 (CFLAGS-tst-inlcall.c): Likewise.
24478 (CFLAGS-tst-xbzero-opt.c): Likewise.
24479 (CFLAGS-memcpy.c): Likewise.
24480 (CFLAGS-wordcopy.c): Likewise.
24482 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
24484 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
24485 Store r15 on stack and add cfi rule.
24486 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
24489 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
24492 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
24495 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
24497 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24498 Add s_sinf-sse2 and s_sinf-fma.
24499 (CFLAGS-s_sinf-fma.c): New.
24500 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
24501 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
24502 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
24504 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
24506 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
24508 2017-12-07 Joseph Myers <joseph@codesourcery.com>
24511 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
24512 part of result to imaginary part of argument if it is zero and the
24513 real part of the argument is not finite.
24514 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
24515 of result to real part of argument if it is zero and the imaginary
24516 part of the argument is not finite.
24518 2017-12-07 Mike FABIAN <mfabian@redhat.com>
24521 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
24522 and to the list of locales to be built for testing.
24523 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
24524 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
24525 and build the collation rules upon that.
24527 2017-12-07 Joseph Myers <joseph@codesourcery.com>
24529 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
24530 * manual/math.texi (Mathematics): Document support for _Float32.
24531 * math/Makefile (test-types): Add float32.
24532 * math/Versions (GLIBC_2.27): Add _Float32 functions.
24533 * stdlib/Versions (GLIBC_2.27): Likewise.
24534 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24535 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24536 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24537 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24538 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24539 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
24540 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24541 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
24542 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24543 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24544 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24545 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24546 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24547 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
24548 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24549 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
24550 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24551 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
24552 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24553 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
24554 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24555 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
24557 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24558 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24559 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24560 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
24561 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
24564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
24575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24579 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24580 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24581 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24582 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24583 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
24584 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24585 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24586 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24587 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24588 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24589 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
24591 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24593 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
24595 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24597 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24598 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24599 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24600 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24601 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24602 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24603 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24604 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24606 2017-12-06 Joseph Myers <joseph@codesourcery.com>
24608 * stdlib/strtof.c: Include <bits/floatn.h>
24609 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
24610 and later undefine as macro. Define as weak alias if
24612 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
24613 and later undefine as macro. Define as weak alias if
24615 * stdlib/strtof_l.c: Include <bits/floatn.h>
24616 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
24617 and later undefine as macro. Define as weak alias if
24619 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
24620 and later undefine as macro. Define as weak alias if
24623 * stdlib/strfromf.c: Include <bits/floatn.h>.
24624 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
24625 and later undefine as macro and define as weak alias.
24627 * math/test-float32.h: New file.
24629 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
24630 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
24631 (libm_alias_float_other_r): Create f32 alias.
24632 (libm_alias_float_r): Use semicolon before call to
24633 libm_alias_float_other_r.
24635 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
24636 second argument to libm_alias_float_other.
24637 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
24638 second argument to libm_alias_float_other.
24639 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
24640 argument to libm_alias_float_other.
24643 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
24644 real part of result for argument 0 + i * NaN.
24645 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
24646 results for tests of 0 + i * NaN.
24648 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24650 * sysdeps/alpha/fpu/libm-test-ulps: Update.
24652 2017-12-06 David S. Miller <davem@davemloft.net>
24654 * sysdeps/sparc/fpu/libm-test-ulps: Update
24655 exp_{downward,towardzero,upward} ulps.
24657 2017-12-06 Joseph Myers <joseph@codesourcery.com>
24659 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
24662 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
24664 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
24666 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
24668 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
24671 2017-12-06 Mike FABIAN <mfabian@redhat.com>
24674 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
24675 and to the list of locales to be built for testing.
24676 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
24677 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
24678 and build the collation rules upon that.
24680 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24682 * NEWS: Add sinf to list of optimized functions.
24684 2017-12-06 Joseph Myers <joseph@codesourcery.com>
24686 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
24687 (__HAVE_FLOAT32X): Likewise.
24688 * manual/math.texi (Mathematics): Document support for _Float64
24690 * math/Makefile (test-types): Add float64 and float32x.
24691 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
24693 * stdlib/Versions (GLIBC_2.27): Likewise.
24694 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24695 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24696 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24697 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24698 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24699 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
24700 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24701 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
24702 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24703 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24704 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24705 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24706 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24707 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
24708 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24709 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
24710 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24711 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
24712 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24713 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
24714 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24715 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
24717 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24718 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24719 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24720 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
24721 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
24724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
24734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24738 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24739 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24740 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24741 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24742 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
24743 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24744 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24745 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24746 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24747 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24748 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
24750 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24752 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
24754 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24756 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24757 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24758 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24759 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24760 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24761 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24762 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24763 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24765 2017-12-05 Joseph Myers <joseph@codesourcery.com>
24767 * bits/floatn-common.h: Include <bits/long-double.h>.
24768 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
24769 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
24770 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
24771 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
24772 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
24773 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
24774 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
24775 (__builtin_huge_valf64): Use __builtin_huge_vall.
24776 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
24777 (__builtin_inff64): Use __builtin_infl.
24778 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
24779 (__builtin_nanf64): Use __builtin_nanl.
24780 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
24781 (__builtin_nansf64): Use __builtin_nansl.
24783 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
24784 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24785 Carlos O'Donell <carlos@redhat.com>
24787 * elf/dl-tunables.list: Add elision parameters.
24788 * manual/tunables.texi: Add entries about elision tunable.
24789 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
24790 Add callback functions to dynamically enable/disable elision.
24791 Add multiple callbacks functions to set elision parameters.
24792 Deleted __libc_enable_secure check.
24793 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
24794 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
24795 * configure: Regenerated.
24796 * configure.ac: Option enable_lock_elision was deleted.
24797 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
24798 * config.make.in: Remove references to enable_lock_elision.
24799 * manual/install.texi: Elision configure option was removed.
24800 * INSTALL: Regenerated to remove enable_lock_elision.
24802 Disable elision so it can verify error case for destroying a mutex.
24803 * sysdeps/powerpc/nptl/elide.h:
24804 Cleanup ENABLE_LOCK_ELISION check.
24805 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
24806 * sysdeps/s390/configure: Regenerated.
24807 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
24808 * nptl/tst-mutex8.c:
24809 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
24810 * sysdeps/powerpc/powerpc32/sysdep.h:
24811 Deleted all ENABLE_LOCK_ELISION checks.
24812 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24813 * sysdeps/powerpc/sysdep.h: Likewise.
24814 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
24815 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
24816 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
24817 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
24818 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24819 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
24820 enable-lock-elision.
24822 2017-12-05 Joseph Myers <joseph@codesourcery.com>
24824 * stdlib/strtod.c: Include <bits/floatn.h>.
24825 (BUILD_DOUBLE): New macro.
24826 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24827 (strtof64): Define and later undefine as macro. Define as weak
24828 alias if [!USE_WIDE_CHAR].
24829 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24830 (wcstof64): Define and later undefine as macro. Define as weak
24831 alias if [USE_WIDE_CHAR].
24832 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24833 (strtof32x): Define and later undefine as macro. Define as weak
24834 alias if [!USE_WIDE_CHAR].
24835 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24836 (wcstof32x): Define and later undefine as macro. Define as weak
24837 alias if [USE_WIDE_CHAR].
24838 * stdlib/strtod_l.c: Include <bits/floatn.h>.
24839 (BUILD_DOUBLE): New macro.
24840 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24841 (strtof64_l): Define and later undefine as macro. Define as weak
24842 alias if [!USE_WIDE_CHAR].
24843 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24844 (wcstof64_l): Define and later undefine as macro. Define as weak
24845 alias if [USE_WIDE_CHAR].
24846 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24847 (strtof32x_l): Define and later undefine as macro. Define as weak
24848 alias if [!USE_WIDE_CHAR].
24849 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24850 (wcstof32x_l): Define and later undefine as macro. Define as weak
24851 alias if [USE_WIDE_CHAR].
24853 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24855 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
24856 (reduced): Use ones as double instead of integer.
24858 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
24860 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
24862 2017-12-05 Joseph Myers <joseph@codesourcery.com>
24864 * stdlib/strfromd.c: Include <bits/floatn.h>.
24865 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
24866 and later undefine as macro and define as weak alias.
24867 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
24870 * math/test-float32x.h: New file.
24871 * math/test-float64.h: Likewise.
24873 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
24874 (libm_alias_double_other_r_f64): New macro.
24875 (libm_alias_double_other_r_f32x): Likewise.
24876 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
24877 libm_alias_double_other_r_f32x.
24878 (libm_alias_double_r): Use semicolon before call to
24879 libm_alias_double_other_r.
24880 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
24882 (libm_alias_double_other_r_f64): New macro.
24883 (libm_alias_double_other_r_f32x): Likewise.
24884 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
24885 libm_alias_double_other_r_f32x.
24887 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
24889 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
24891 (SINF_FUNC): Likewise. Replace floor with simple casts.
24893 2017-12-05 Mike FABIAN <mfabian@redhat.com>
24896 * localedata/Makefile: Add et_EE.UTF-8 to test-input
24897 and to the list of locales to be built for testing.
24898 * localedata/et_EE.UTF-8.in: New file for testing the collation.
24899 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
24900 and build the collation rules upon that.
24902 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
24904 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
24905 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
24906 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
24907 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
24908 instead of __insn__xxx.
24909 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
24910 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
24911 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
24912 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
24913 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
24914 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
24916 2017-12-05 Florian Weimer <fweimer@redhat.com>
24918 Linux: Implement interfaces for memory protection keys
24919 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
24921 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
24922 * support/xunistd.h (xsysconf): Declare.
24923 * support/xraise.c: New file.
24924 * support/xsigaction.c: Likewise.
24925 * support/xsignal.c: Likewise.
24926 * support/xsysconf.c: Likewise.
24927 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
24928 pkey_set, pkey_get, pkey_mprotect.
24929 [misc] (tests): Add tst-pkey.
24930 (tst-pkey): Link with -lpthread.
24931 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
24932 pkey_free, pkey_set, pkey_get, pkey_mprotect.
24933 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
24934 (PKEY_DISABLE_WRITE): Define.
24935 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
24937 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
24938 (SEGV_PKUERR): Add.
24939 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
24940 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
24941 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
24942 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
24944 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
24945 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
24946 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
24947 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
24948 * sysdeps/unix/sysv/linux/**.abilist: Update.
24950 2017-12-05 Florian Weimer <fweimer@redhat.com>
24952 * support/tst-test_compare.c (subprocess): Use long long instead
24953 of long argument for consistent type width across 32-bit and
24954 64-bit architectures.
24955 (do_test): Adjust expected output.
24957 2017-12-05 Joseph Myers <joseph@codesourcery.com>
24959 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
24960 (cosf): Define using libm_alias_float.
24961 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
24962 (fabsf): Define using libm_alias_float.
24963 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
24964 (fmaf): Define using libm_alias_float.
24965 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
24966 (rintf): Define using libm_alias_float.
24967 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
24968 (sinf): Define using libm_alias_float.
24969 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
24970 <libm-alias-float.h>.
24971 (modff): Define using libm_alias_float.
24972 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
24973 <libm-alias-float.h>.
24974 (logbf): Define using libm_alias_float.
24975 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
24976 <libm-alias-float.h>.
24977 (ceilf): Define using libm_alias_float.
24978 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
24979 <libm-alias-float.h>.
24980 (copysignf): Define using libm_alias_float.
24981 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
24982 <libm-alias-float.h>.
24983 (floorf): Define using libm_alias_float.
24984 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
24985 <libm-alias-float.h>.
24986 (llrintf): Define using libm_alias_float.
24987 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
24988 <libm-alias-float.h>.
24989 (llroundf): Define using libm_alias_float.
24990 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
24991 <libm-alias-float.h>.
24992 (lrintf): Define using libm_alias_float.
24993 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
24994 <libm-alias-float.h>.
24995 (lroundf): Define using libm_alias_float.
24996 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
24997 <libm-alias-float.h>.
24998 (nearbyintf): Define using libm_alias_float.
24999 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
25000 <libm-alias-float.h>.
25001 (rintf): Define using libm_alias_float.
25002 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
25003 <libm-alias-float.h>.
25004 (roundf): Define using libm_alias_float.
25005 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
25006 <libm-alias-float.h>.
25007 (truncf): Define using libm_alias_float.
25008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
25009 Include <libm-alias-float.h>.
25010 (ceilf): Define using libm_alias_float.
25011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
25012 Include <libm-alias-float.h>.
25013 (copysignf): Define using libm_alias_float.
25014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
25015 Include <libm-alias-float.h>.
25016 (floorf): Define using libm_alias_float.
25017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
25018 Include <libm-alias-float.h>.
25019 (llrintf): Define using libm_alias_float.
25020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
25021 Include <libm-alias-float.h>.
25022 (llroundf): Define using libm_alias_float.
25023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
25024 Include <libm-alias-float.h>.
25025 (logbf): Define using libm_alias_float.
25026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
25027 Include <libm-alias-float.h>.
25028 (lrintf): Define using libm_alias_float.
25029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
25030 Include <libm-alias-float.h>.
25031 (lroundf): Define using libm_alias_float.
25032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
25033 Include <libm-alias-float.h>.
25034 (modff): Define using libm_alias_float.
25035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
25036 Include <libm-alias-float.h>.
25037 (roundf): Define using libm_alias_float.
25038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
25039 Include <libm-alias-float.h>.
25040 (truncf): Define using libm_alias_float.
25041 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
25042 <libm-alias-float.h>.
25043 (llrintf): Define using libm_alias_float.
25044 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
25045 <libm-alias-float.h>.
25046 (llroundf): Define using libm_alias_float.
25047 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
25048 <libm-alias-float.h>.
25049 (ceilf): Define using libm_alias_float.
25050 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
25051 <libm-alias-float.h>.
25052 (floorf): Define using libm_alias_float.
25053 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
25054 <libm-alias-float.h>.
25055 (llroundf): Define using libm_alias_float.
25056 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
25057 <libm-alias-float.h>.
25058 (lroundf): Define using libm_alias_float.
25059 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
25060 <libm-alias-float.h>.
25061 (roundf): Define using libm_alias_float.
25062 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
25063 <libm-alias-float.h>.
25064 (truncf): Define using libm_alias_float.
25065 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25066 <libm-alias-float.h>.
25067 (copysignf): Define using libm_alias_float.
25068 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
25069 <libm-alias-float.h>.
25070 (llrintf): Define using libm_alias_float.
25071 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25072 <libm-alias-float.h>.
25073 (llroundf): Define using libm_alias_float.
25074 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25075 <libm-alias-float.h>.
25076 (lrintf): Define using libm_alias_float.
25077 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25078 <libm-alias-float.h>.
25079 (lroundf): Define using libm_alias_float.
25080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
25081 <libm-alias-float.h>.
25082 (ceilf): Define using libm_alias_float.
25083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
25084 <libm-alias-float.h>.
25085 (copysignf): Define using libm_alias_float.
25086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
25087 <libm-alias-float.h>.
25088 (cosf): Define using libm_alias_float.
25089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
25090 <libm-alias-float.h>.
25091 (floorf): Define using libm_alias_float.
25092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
25093 <libm-alias-float.h>.
25094 (llrintf): Define using libm_alias_float.
25095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
25096 <libm-alias-float.h>.
25097 (llroundf): Define using libm_alias_float.
25098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
25099 <libm-alias-float.h>.
25100 (logbf): Define using libm_alias_float.
25101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
25102 <libm-alias-float.h>.
25103 (modff): Define using libm_alias_float.
25104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
25105 <libm-alias-float.h>.
25106 (roundf): Define using libm_alias_float.
25107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
25108 <libm-alias-float.h>.
25109 (sinf): Define using libm_alias_float.
25110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
25111 <libm-alias-float.h>.
25112 (truncf): Define using libm_alias_float.
25113 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
25114 <libm-alias-float.h>.
25115 (ceilf): Define using libm_alias_float.
25116 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25117 <libm-alias-float.h>.
25118 (copysignf): Define using libm_alias_float.
25119 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
25120 <libm-alias-float.h>.
25121 (floorf): Define using libm_alias_float.
25122 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25123 <libm-alias-float.h>.
25124 (llrintf): Define using libm_alias_float.
25125 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
25126 <libm-alias-float.h>.
25127 (llroundf): Define using libm_alias_float.
25128 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
25129 <libm-alias-float.h>.
25130 (nearbyintf): Define using libm_alias_float.
25131 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
25132 <libm-alias-float.h>.
25133 (rintf): Define using libm_alias_float.
25134 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
25135 <libm-alias-float.h>.
25136 (roundf): Define using libm_alias_float.
25137 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
25138 <libm-alias-float.h>.
25139 (truncf): Define using libm_alias_float.
25140 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
25141 <libm-alias-float.h>.
25142 (ceilf): Define using libm_alias_float.
25143 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
25144 <libm-alias-float.h>.
25145 (floorf): Define using libm_alias_float.
25146 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25147 <libm-alias-float.h>.
25148 (llroundf): Define using libm_alias_float.
25149 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
25150 <libm-alias-float.h>.
25151 (roundf): Define using libm_alias_float.
25152 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
25153 <libm-alias-float.h>.
25154 (truncf): Define using libm_alias_float.
25155 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25156 <libm-alias-float.h>.
25157 (copysignf): Define using libm_alias_float.
25158 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25159 <libm-alias-float.h>.
25160 (llrintf): Define using libm_alias_float.
25161 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25162 <libm-alias-float.h>.
25163 (llroundf): Define using libm_alias_float.
25164 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
25165 <libm-alias-float.h>.
25166 (cosf): Define using libm_alias_float.
25167 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25168 <libm-alias-float.h>.
25169 (llrintf): Define using libm_alias_float.
25170 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25171 <libm-alias-float.h>.
25172 (llroundf): Define using libm_alias_float.
25173 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
25174 <libm-alias-float.h>.
25175 (sinf): Define using libm_alias_float.
25177 2017-12-04 Florian Weimer <fweimer@redhat.com>
25179 * support/check.h (TEST_COMPARE): Define.
25180 (support_test_compare_failure): Declare.
25181 * support/Makefile (libsupport-routines): Add
25182 support_test_compare_failure.
25183 (tests): Add tst-test_compare.
25184 * support /support_test_compare_failure.c: New file.
25185 * support/tst-test_compare.c: Likewise.
25187 2017-12-04 Mike FABIAN <mfabian@redhat.com>
25190 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
25191 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
25192 available, this rewrite of the collation rules does reproduce
25193 the test file in the same order.
25195 2017-12-04 Mike FABIAN <mfabian@redhat.com>
25198 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
25199 digraphs in the month and day names. Using single code points for
25200 digraphs is deprecated. While there are dedicated Unicode
25201 codepoints, for the digraphs, these are included for backwards
25202 compatibility and modern texts use a sequence of Basic Latin
25203 characters. See: https://www.unicode.org/faq/ligature_digraph.html
25204 This makes the month and day names agree exactly with CLDR now,
25205 CLDR does not use the single code points for the digraphs either.
25207 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
25209 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
25211 2017-12-04 Joseph Myers <joseph@codesourcery.com>
25213 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
25216 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
25218 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
25219 Define only for libc.so.
25221 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
25223 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25224 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
25225 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
25226 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
25227 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25229 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25232 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
25234 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
25237 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
25238 PREINIT_FUNCTION_WEAK is nonzero.
25239 (gmon_initializer): New function. Put procedure label for it in
25240 .init_array section.
25241 (_init): Don't call PREINIT_FUNCTION.
25242 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
25243 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
25244 value when map argument is null.
25246 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
25247 depi instruction from PIC pc-relative sequence.
25248 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
25249 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
25250 (elf_machine_load_address): Likewise.
25251 (elf_machine_runtime_setup): Likewise.
25253 2017-12-02 Joseph Myers <joseph@codesourcery.com>
25255 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
25256 <libm-alias-double.h>.
25257 (logb): Define using libm_alias_double.
25258 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
25259 <libm-alias-double.h>.
25260 (copysign): Define using libm_alias_double.
25261 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
25262 <libm-alias-double.h>.
25263 (llrint): Define using libm_alias_double.
25264 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
25265 <libm-alias-double.h>.
25266 (llround): Define using libm_alias_double.
25267 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
25268 <libm-alias-double.h>.
25269 (lrint): Define using libm_alias_double.
25270 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
25271 <libm-alias-double.h>.
25272 (lround): Define using libm_alias_double.
25273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
25274 Include <libm-alias-double.h>.
25275 (copysign): Define using libm_alias_double.
25276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
25277 Include <libm-alias-double.h>.
25278 (llrint): Define using libm_alias_double.
25279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
25280 Include <libm-alias-double.h>.
25281 (llround): Define using libm_alias_double.
25282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
25283 <libm-alias-double.h>.
25284 (logb): Define using libm_alias_double.
25285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
25286 Include <libm-alias-double.h>.
25287 (lrint): Define using libm_alias_double.
25288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
25289 Include <libm-alias-double.h>.
25290 (lround): Define using libm_alias_double.
25291 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
25292 <libm-alias-double.h>.
25293 (llrint): Define using libm_alias_double.
25294 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
25295 <libm-alias-double.h>.
25296 (llround): Define using libm_alias_double.
25297 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
25298 <libm-alias-double.h>.
25299 (llround): Define using libm_alias_double.
25300 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
25301 <libm-alias-double.h>.
25302 (lround): Define using libm_alias_double.
25303 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25304 <libm-alias-double.h>.
25305 (copysign): Define using libm_alias_double.
25306 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
25307 <libm-alias-double.h>.
25308 (llrint): Define using libm_alias_double.
25309 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25310 <libm-alias-double.h>.
25311 (llround): Define using libm_alias_double.
25312 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25313 <libm-alias-double.h>.
25314 (lrint): Define using libm_alias_double.
25315 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25316 <libm-alias-double.h>.
25317 (lround): Define using libm_alias_double.
25318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
25319 <libm-alias-double.h>.
25320 (copysign): Define using libm_alias_double.
25321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
25322 <libm-alias-double.h>.
25323 (llrint): Define using libm_alias_double.
25325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
25326 <libm-alias-double.h>.
25327 (llround): Define using libm_alias_double.
25328 (lround): Likewise.
25329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
25330 <libm-alias-double.h>.
25331 (logb): Define using libm_alias_double.
25332 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25333 <libm-alias-double.h>.
25334 (copysign): Define using libm_alias_double.
25335 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25336 <libm-alias-double.h>.
25337 (llrint): Define using libm_alias_double.
25339 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
25340 <libm-alias-double.h>.
25341 (llround): Define using libm_alias_double.
25342 (lround): Likewise.
25343 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25344 <libm-alias-double.h>.
25345 (llround): Define using libm_alias_double.
25346 (lround): Likewise.
25347 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25348 <libm-alias-double.h>.
25349 (copysign): Define using libm_alias_double.
25350 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25351 <libm-alias-double.h>.
25352 (llrint): Define using libm_alias_double.
25354 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25355 <libm-alias-double.h>.
25356 (llround): Define using libm_alias_double.
25357 (lround): Likewise.
25358 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25359 <libm-alias-double.h>.
25360 (llrint): Define using libm_alias_double.
25362 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25363 <libm-alias-double.h>.
25364 (llround): Define using libm_alias_double.
25365 (lround): Likewise.
25367 2017-12-01 Joseph Myers <joseph@codesourcery.com>
25369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
25370 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
25371 compat symbol based on llround.
25373 * sysdeps/powerpc/power7/fpu/s_logb.c
25374 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
25375 symbol based on __logb, not on logb.
25376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
25377 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
25379 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25381 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
25382 (rint): Define using libm_alias_double.
25383 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
25384 <libm-alias-double.h>.
25385 (modf): Define using libm_alias_double.
25386 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
25387 <libm-alias-double.h>.
25388 (ceil): Define using libm_alias_double.
25389 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
25390 <libm-alias-double.h>.
25391 (floor): Define using libm_alias_double.
25392 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
25393 <libm-alias-double.h>.
25394 (nearbyint): Define using libm_alias_double.
25395 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
25396 <libm-alias-double.h>.
25397 (rint): Define using libm_alias_double.
25398 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
25399 <libm-alias-double.h>.
25400 (round): Define using libm_alias_double.
25401 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
25402 <libm-alias-double.h>.
25403 (trunc): Define using libm_alias_double.
25404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
25405 <libm-alias-double.h>.
25406 (ceil): Define using libm_alias_double.
25407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
25408 Include <libm-alias-double.h>.
25409 (floor): Define using libm_alias_double.
25410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
25411 <libm-alias-double.h>.
25412 (modf): Define using libm_alias_double.
25413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
25414 Include <libm-alias-double.h>.
25415 (round): Define using libm_alias_double.
25416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
25417 Include <libm-alias-double.h>.
25418 (trunc): Define using libm_alias_double.
25419 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
25420 <libm-alias-double.h>.
25421 (ceil): Define using libm_alias_double.
25422 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
25423 <libm-alias-double.h>.
25424 (floor): Define using libm_alias_double.
25425 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
25426 <libm-alias-double.h>.
25427 (round): Define using libm_alias_double.
25428 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
25429 <libm-alias-double.h>.
25430 (trunc): Define using libm_alias_double.
25431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
25432 <libm-alias-double.h>.
25433 (ceil): Define using libm_alias_double.
25434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
25435 <libm-alias-double.h>.
25436 (floor): Define using libm_alias_double.
25437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
25438 <libm-alias-double.h>.
25439 (modf): Define using libm_alias_double.
25440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
25441 <libm-alias-double.h>.
25442 (round): Define using libm_alias_double.
25443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
25444 <libm-alias-double.h>.
25445 (trunc): Define using libm_alias_double.
25446 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
25447 <libm-alias-double.h>.
25448 (ceil): Define using libm_alias_double.
25449 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
25450 <libm-alias-double.h>.
25451 (floor): Define using libm_alias_double.
25452 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
25453 <libm-alias-double.h>.
25454 (nearbyint): Define using libm_alias_double.
25455 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
25456 <libm-alias-double.h>.
25457 (rint): Define using libm_alias_double.
25458 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
25459 <libm-alias-double.h>.
25460 (round): Define using libm_alias_double.
25461 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
25462 <libm-alias-double.h>.
25463 (trunc): Define using libm_alias_double.
25464 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
25465 <libm-alias-double.h>.
25466 (ceil): Define using libm_alias_double.
25467 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
25468 <libm-alias-double.h>.
25469 (floor): Define using libm_alias_double.
25470 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
25471 <libm-alias-double.h>.
25472 (round): Define using libm_alias_double.
25473 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
25474 <libm-alias-double.h>.
25475 (trunc): Define using libm_alias_double.
25477 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
25478 (fabs): Define using libm_alias_double.
25479 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
25480 (fma): Define using libm_alias_double.
25481 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
25482 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
25483 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
25484 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
25486 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25488 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
25490 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
25491 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
25492 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
25494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
25495 due redirect macro.
25497 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
25499 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
25501 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25503 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
25504 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
25505 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
25506 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
25508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25509 (libm-sysdep_routines): Add s_nearbyintf-generic and
25510 s_nearbyint-generic.
25511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
25513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
25514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
25516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
25518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
25520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
25523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25524 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
25525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
25527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
25528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
25530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
25531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
25532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25535 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
25536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
25538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
25539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
25541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
25542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
25543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
25545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25546 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
25547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
25549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
25550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
25552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
25553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
25554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25557 (sysdep_calls): New rule.
25558 (sysdep_routines): Use sysdep_calls as base.
25559 (libm-sysdep_routines): Add generic rule for symbols shared with
25560 libc. Add s_copysign-generic and s_copysign-generic objects.
25561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
25563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
25564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
25566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
25567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
25568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
25570 2017-12-01 Mike FABIAN <mfabian@redhat.com>
25573 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
25574 the list of locales to be built for testing.
25575 * localedata/is_IS.UTF-8.in: New file.
25576 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
25579 2017-12-01 Joseph Myers <joseph@codesourcery.com>
25581 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
25582 <libm-alias-float.h>.
25583 (fabsf): Define using libm_alias_float.
25585 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
25587 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
25589 2017-11-30 Joseph Myers <joseph@codesourcery.com>
25591 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
25592 <libm-alias-float.h>.
25593 (fabsf): Define using libm_alias_float.
25594 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
25595 <libm-alias-float.h>.
25596 (lrintf): Define using libm_alias_float.
25597 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
25598 <libm-alias-float.h>.
25599 (rintf): Define using libm_alias_float.
25601 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
25602 <libm-alias-double.h>.
25603 (fabs): Define using libm_alias_double.
25604 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
25605 <libm-alias-double.h>.
25606 (lrint): Define using libm_alias_double.
25607 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
25608 <libm-alias-double.h>.
25609 (rint): Define using libm_alias_double.
25611 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
25612 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
25613 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
25614 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
25615 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
25616 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
25617 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
25618 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
25619 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
25620 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
25621 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
25622 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
25623 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
25624 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
25625 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
25626 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
25627 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
25628 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
25630 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
25631 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
25632 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
25634 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
25635 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
25636 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
25638 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
25639 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
25640 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
25641 s_expm1_template.c.
25642 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
25643 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
25644 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
25646 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
25647 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
25648 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
25649 s_floor_template.c.
25650 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
25651 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
25652 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
25653 s_frexp_template.c.
25654 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
25655 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
25656 s_lrint_template.c.
25657 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
25658 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
25659 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
25661 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
25662 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
25663 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
25664 s_nearbyint_template.c.
25665 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
25666 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
25667 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
25668 s_remquo_template.c.
25669 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
25670 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
25671 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
25673 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
25674 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
25675 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
25677 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
25678 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
25679 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
25680 s_sincos_template.c.
25681 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
25682 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
25683 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
25685 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
25686 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
25687 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
25689 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
25690 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
25691 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
25692 s_trunc_template.c.
25693 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
25694 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
25695 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
25696 s_atan.c instead of including s_atan.c.
25697 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
25698 s_atanf.c instead of including s_atanf.c.
25699 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
25700 s_atanl.c instead of including s_atanl.c.
25701 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
25702 instead of s_atan.c.
25703 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
25704 instead of s_atanf.c.
25705 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
25706 instead of s_atanl.c.
25708 * scripts/update-copyrights: Do not handle intl/plural.c
25711 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
25714 * configure.ac (BISON): Require to be present.
25715 * configure: Regenerated.
25716 * intl/Makefile (generated): Add plural.c.
25717 [$(BISON) != no]: Make code unconditional.
25718 (plural.c): Change rule to $(objpfx)plural.c.
25719 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
25720 * intl/plural.c: Remove.
25721 * manual/install.texi (Tools for Compilation): Document bison as
25723 * INSTALL: Regenerated.
25725 2017-11-30 Joseph Myers <joseph@codesourcery.com>
25727 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
25728 <libm-alias-double.h>.
25729 (llrint): Define using libm_alias_double.
25730 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
25731 <libm-alias-float.h>.
25732 (llrintf): Define using libm_alias_float.
25733 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
25734 <libm-alias-ldouble.h>.
25735 (llrintl): Define using libm_alias_ldouble.
25737 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
25738 declare_mgen_alias instead of weak_alias.
25739 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
25740 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
25741 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
25743 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25745 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25747 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
25748 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
25749 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
25751 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25752 Add submul_1-generic.
25753 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
25754 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
25755 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
25757 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25758 Add addmul_1-generic.
25759 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
25760 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
25761 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
25763 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25765 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
25766 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
25767 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
25769 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25771 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
25772 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
25773 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
25775 2017-11-30 Mike FABIAN <mfabian@redhat.com>
25777 According to CLDR, collation rules for Serbian and Bosnian
25778 should be the same as for Croatian.
25781 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
25782 and to the list of locales to be built for testing.
25783 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
25784 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
25785 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
25786 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
25788 2017-11-30 Mike FABIAN <mfabian@redhat.com>
25790 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
25791 to make test case pass.
25792 * localedata/hr_HR.UTF-8.in: Add more test strings.
25794 2017-11-30 Mike FABIAN <mfabian@redhat.com>
25796 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
25798 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
25800 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
25801 the list of locales to built for testing.
25802 * localedata/hr_HR.UTF-8.in: New file.
25804 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
25807 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
25809 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
25810 CLDR (except use ligatures for the digraphs, CLDR does not use
25811 the ligatures), add first_workday, some fixes in the date and time
25813 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
25815 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
25816 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
25817 Add int_p_cs_precedes and int_n_cs_precedes.
25818 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
25819 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
25821 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
25822 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
25824 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
25825 and lang_lib. Change postal_fmt.
25827 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
25829 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
25831 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
25832 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
25833 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
25834 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
25835 * sysdeps/generic/setjmpP.h: New file.
25836 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
25837 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
25838 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
25839 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
25840 Add jmp_buf-ssp.sym.
25841 (tests): Add tst-saved_mask-1.
25843 2017-11-30 Arjun Shankar <arjun@redhat.com>
25847 * malloc/malloc.c (__libc_malloc): Use checked_request2size
25848 instead of request2size.
25850 2017-11-30 Joseph Myers <joseph@codesourcery.com>
25852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
25853 (__lllrint): Remove alias.
25854 (lllrint): Likewise.
25855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
25856 (__lllrintf): Likewise.
25857 (lllrintf): Likewise.
25859 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
25860 <libm-alias-float.h>.
25861 (copysignf): Define using libm_alias_float.
25862 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
25863 <libm-alias-float.h>.
25864 (fabsf): Define using libm_alias_float.
25865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25866 Include <libm-alias-float.h>.
25867 (copysignf): Define using libm_alias_float.
25868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
25869 <libm-alias-float.h>.
25870 (fabsf): Define using libm_alias_float.
25871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
25872 <libm-alias-float.h>.
25873 (fdimf): Define using libm_alias_float.
25874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
25875 <libm-alias-float.h>.
25876 (fmaf): Define using libm_alias_float.
25877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
25878 <libm-alias-float.h>.
25879 (llrintf): Define using libm_alias_float.
25880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
25881 Include <libm-alias-float.h>.
25882 (nearbyintf): Define using libm_alias_float.
25883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
25884 <libm-alias-float.h>.
25885 (rintf): Define using libm_alias_float.
25886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
25887 <libm-alias-float.h>.
25888 (llrintf): Define using libm_alias_float.
25889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
25890 <libm-alias-float.h>.
25891 (lrintf): Define using libm_alias_float.
25892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
25893 <libm-alias-float.h>.
25894 (nearbyintf): Define using libm_alias_float.
25895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
25896 <libm-alias-float.h>.
25897 (rintf): Define using libm_alias_float.
25898 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
25899 <libm-alias-float.h>.
25900 (ceilf): Define using libm_alias_float.
25901 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
25902 <libm-alias-float.h>.
25903 (floorf): Define using libm_alias_float.
25904 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
25905 <libm-alias-float.h>.
25906 (fmaf): Define using libm_alias_float.
25907 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
25908 <libm-alias-float.h>.
25909 (lrintf): Define using libm_alias_float.
25910 (llrintf): Likewise.
25911 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
25912 <libm-alias-float.h>.
25913 (nearbyintf): Define using libm_alias_float.
25914 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
25915 <libm-alias-float.h>.
25916 (rintf): Define using libm_alias_float.
25917 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
25918 <libm-alias-float.h>.
25919 (truncf): Define using libm_alias_float.
25920 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
25921 <libm-alias-float.h>.
25922 (copysignf): Define using libm_alias_float.
25923 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
25924 <libm-alias-float.h>.
25925 (fabsf): Define using libm_alias_float.
25926 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
25927 <libm-alias-float.h>.
25928 (lrintf): Define using libm_alias_float.
25929 (llrintf): Likewise.
25930 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
25931 <libm-alias-float.h>.
25932 (nearbyintf): Define using libm_alias_float.
25933 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
25934 <libm-alias-float.h>.
25935 (rintf): Define using libm_alias_float.
25937 2017-11-29 Joseph Myers <joseph@codesourcery.com>
25939 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
25940 <libm-alias-double.h>.
25941 (copysign): Define using libm_alias_double.
25942 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
25943 <libm-alias-double.h>.
25944 (fabs): Define using libm_alias_double.
25945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25946 Include <libm-alias-double.h>.
25947 (copysign): Define using libm_alias_double.
25948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
25949 <libm-alias-double.h>.
25950 (fabs): Define using libm_alias_double.
25951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
25952 <libm-alias-double.h>.
25953 (fdim): Define using libm_alias_double.
25954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
25955 <libm-alias-double.h>.
25956 (fma): Define using libm_alias_double.
25957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
25958 <libm-alias-double.h>.
25959 (llrint): Define using libm_alias_double.
25960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
25961 Include <libm-alias-double.h>.
25962 (nearbyint): Define using libm_alias_double.
25963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
25964 <libm-alias-double.h>.
25965 (rint): Define using libm_alias_double.
25966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
25967 <libm-alias-double.h>.
25968 (fabs): Define using libm_alias_double.
25969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
25970 <libm-alias-double.h>.
25971 (llrint): Define using libm_alias_double.
25972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
25973 <libm-alias-double.h>.
25974 (nearbyint): Define using libm_alias_double.
25975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
25976 <libm-alias-double.h>.
25977 (rint): Define using libm_alias_double.
25978 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
25979 <libm-alias-double.h>.
25980 (ceil): Define using libm_alias_double.
25981 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
25982 <libm-alias-double.h>.
25983 (floor): Define using libm_alias_double.
25984 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
25985 <libm-alias-double.h>.
25986 (fma): Define using libm_alias_double.
25987 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
25988 <libm-alias-double.h>.
25989 (lrint): Define using libm_alias_double.
25990 (llrint): Likewise.
25991 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
25992 <libm-alias-double.h>.
25993 (nearbyint): Define using libm_alias_double.
25994 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
25995 <libm-alias-double.h>.
25996 (rint): Define using libm_alias_double.
25997 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
25998 <libm-alias-double.h>.
25999 (trunc): Define using libm_alias_double.
26000 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
26001 <libm-alias-double.h>.
26002 (copysign): Define using libm_alias_double.
26003 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
26004 <libm-alias-double.h>.
26005 (fabs): Define using libm_alias_double.
26006 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
26007 <libm-alias-double.h>.
26008 (lrint): Define using libm_alias_double.
26009 (llrint): Likewise.
26010 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
26011 <libm-alias-double.h>.
26012 (nearbyint): Define using libm_alias_double.
26013 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
26014 <libm-alias-double.h>.
26015 (rint): Define using libm_alias_double.
26018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
26020 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26022 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
26023 SPARC --disable-multi-arch glibc variants.
26025 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
26026 <libm-alias-float.h>.
26027 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26029 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
26030 <libm-alias-float.h>.
26031 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26033 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
26034 <libm-alias-float.h>.
26035 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26037 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
26038 <libm-alias-float.h>.
26039 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26041 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
26042 <libm-alias-float.h>.
26043 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26045 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
26046 <libm-alias-float.h>.
26047 (ceilf): Define using libm_alias_float.
26048 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
26049 <libm-alias-float.h>.
26050 (floorf): Define using libm_alias_float.
26051 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
26052 <libm-alias-float.h>.
26053 (fmaf): Define using libm_alias_float.
26054 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
26055 <libm-alias-float.h>.
26056 (nearbyintf): Define using libm_alias_float.
26057 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
26058 <libm-alias-float.h>.
26059 (rintf): Define using libm_alias_float.
26060 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
26061 <libm-alias-float.h>.
26062 (truncf): Define using libm_alias_float.
26063 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26064 (copysignf): Define using libm_alias_float.
26065 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
26066 (cosf): Define using libm_alias_float.
26067 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
26068 (fabsf): Define using libm_alias_float.
26069 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26070 (fmaxf): Define using libm_alias_float.
26071 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
26072 (fminf): Define using libm_alias_float.
26073 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
26074 (llrintf): Define using libm_alias_float.
26075 [!__ILP32__] (lrintf): Likewise.
26076 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
26077 (sincosf): Define using libm_alias_float.
26078 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
26079 (sinf): Define using libm_alias_float.
26080 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
26081 (lrintf): Define using libm_alias_float.
26083 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
26084 <libm-alias-double.h>.
26085 (atan): Define using libm_alias_double.
26086 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
26087 <libm-alias-double.h>.
26088 (ceil): Define using libm_alias_double.
26089 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
26090 <libm-alias-double.h>.
26091 (floor): Define using libm_alias_double.
26092 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
26093 <libm-alias-double.h>.
26094 (fma): Define using libm_alias_double.
26095 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
26096 <libm-alias-double.h>.
26097 (nearbyint): Define using libm_alias_double.
26098 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
26099 <libm-alias-double.h>.
26100 (rint): Define using libm_alias_double.
26101 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
26102 <libm-alias-double.h>.
26103 (sin): Define using libm_alias_double.
26105 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
26106 <libm-alias-double.h>.
26107 (tan): Define using libm_alias_double.
26108 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
26109 <libm-alias-double.h>.
26110 (trunc): Define using libm_alias_double.
26111 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
26112 (copysign): Define using libm_alias_double.
26113 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
26114 (fabs): Define using libm_alias_double.
26115 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
26116 (fmax): Define using libm_alias_double.
26117 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
26118 (fmin): Define using libm_alias_double.
26119 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
26120 (llrint): Define using libm_alias_double.
26121 [!__ILP32__] (lrint): Likewise.
26122 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
26123 (lrint): Define using libm_alias_double.
26125 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26127 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26128 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
26130 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
26131 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
26132 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
26133 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
26134 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
26135 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26137 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26138 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
26140 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
26141 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
26142 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
26143 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
26144 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
26145 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26147 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26148 (libm-sysdep_routines): Add s_nearbyint-generic and
26149 s_nearbyintf-generic objects.
26150 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
26151 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
26152 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
26153 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
26154 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
26155 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
26157 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26158 Add s_finitef-generic and s_finite-generic objects.
26159 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
26160 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
26161 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
26162 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
26163 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
26164 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
26166 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26167 Add s_isinff-generic and s_isinf-generic objects.
26168 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
26169 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
26170 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
26171 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
26172 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
26173 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26175 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26176 Add s_isnanf-generic and s_isnan-generic objects.
26177 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
26178 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
26179 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
26180 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
26181 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
26182 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26184 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
26186 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
26188 (sysdep_routines): Use sysdep_calls as base.
26189 (libm-sysdep_routines): Add generic rule for symbols shared with
26190 libc. Add s_signbit-generic and s_signbitf-generic objects.
26191 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
26192 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
26193 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
26194 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
26195 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
26196 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26198 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26200 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
26201 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
26202 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
26203 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
26204 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
26205 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
26206 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
26207 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
26208 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
26209 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
26210 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
26211 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
26212 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
26213 libm_alias_float_r.
26214 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
26215 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
26217 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
26218 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
26219 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
26220 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
26221 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
26222 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
26223 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
26224 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
26225 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
26226 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
26228 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
26230 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
26231 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
26232 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
26233 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
26234 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
26235 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
26236 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
26237 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
26238 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
26239 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
26240 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
26241 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
26242 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
26243 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
26244 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
26245 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
26246 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
26247 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
26248 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
26250 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
26251 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
26252 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
26253 * sysdeps/ia64/fpu/w_lgammaf_main.c
26254 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
26255 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
26257 2017-11-28 Mike FABIAN <mfabian@redhat.com>
26258 Alexandre Oliva <aoliva@redhat.com>
26261 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
26262 * localedata/fr_CA.UTF-8.in: New file with test data for backward
26264 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
26266 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
26267 * localedata/locales/de_DE (LC_COLLATE): Likewise.
26268 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
26269 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
26270 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
26271 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
26272 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
26273 instead of “ifdef DIACRIT_BACKWARD”.
26275 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26277 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
26278 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
26279 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
26280 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
26281 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
26282 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
26283 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
26284 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
26285 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
26286 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
26287 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
26288 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
26289 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
26290 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
26291 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
26292 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
26293 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
26294 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
26295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26296 ($(have-as-vis3) == yes): Remove conditional.
26297 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
26299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
26301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
26303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
26305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
26307 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
26308 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
26309 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
26310 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
26311 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
26312 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
26313 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
26314 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
26316 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26318 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
26319 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
26320 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
26321 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
26322 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
26323 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
26324 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
26325 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
26326 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
26327 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
26328 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
26329 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
26330 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
26331 libm_alias_double_r.
26332 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
26334 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
26335 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
26336 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
26337 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
26338 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
26339 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
26340 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
26341 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
26342 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
26343 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
26344 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
26346 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
26348 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
26349 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
26350 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
26351 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
26352 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
26353 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
26354 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
26355 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
26356 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
26357 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
26358 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
26359 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
26360 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
26361 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
26362 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
26363 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
26364 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
26365 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
26367 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
26368 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
26369 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
26370 * sysdeps/ia64/fpu/w_lgamma_main.c
26371 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
26372 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
26374 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
26376 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
26377 address of $global$ into %dp register earlier. Use pc-relative
26378 instruction sequence for PIC case.
26380 2017-11-28 Joseph Myers <joseph@codesourcery.com>
26382 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
26383 (asinhf): Define using libm_alias_float.
26384 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
26385 (atanf): Define using libm_alias_float.
26386 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
26387 (cbrtf): Define using libm_alias_float.
26388 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
26389 (ceilf): Define using libm_alias_float.
26390 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26391 (copysignf): Define using libm_alias_float.
26392 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
26393 (expm1f): Define using libm_alias_float.
26394 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
26395 (fabsf): Define using libm_alias_float.
26396 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
26397 (floorf): Define using libm_alias_float.
26398 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26399 (fmaxf): Define using libm_alias_float.
26400 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
26401 (fminf): Define using libm_alias_float.
26402 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
26403 (frexpf): Define using libm_alias_float.
26404 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
26405 (llrintf): Define using libm_alias_float.
26406 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
26407 (logbf): Define using libm_alias_float.
26408 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
26409 (lrintf): Define using libm_alias_float.
26410 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
26411 (nearbyintf): Define using libm_alias_float.
26412 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
26413 (remquof): Define using libm_alias_float.
26414 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
26415 (rintf): Define using libm_alias_float.
26416 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
26417 (truncf): Define using libm_alias_float.
26418 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
26419 <libm-alias-float.h>.
26420 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26422 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
26423 <libm-alias-float.h>.
26424 (expf): Define using libm_alias_float, or libm_alias_float_other
26426 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
26427 <libm-alias-float.h>.
26428 (log2f): Define using libm_alias_float, or libm_alias_float_other
26430 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
26431 <libm-alias-float.h>.
26432 (logf): Define using libm_alias_float, or libm_alias_float_other
26434 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
26435 <libm-alias-float.h>.
26436 (powf): Define using libm_alias_float, or libm_alias_float_other
26438 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
26439 <libm-alias-float.h>.
26440 (cosf): Define using libm_alias_float.
26441 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
26442 <libm-alias-float.h>.
26443 (sincosf): Define using libm_alias_float.
26444 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
26445 <libm-alias-float.h>.
26446 (sinf): Define using libm_alias_float.
26447 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26448 (fmaxf): Define using libm_alias_float.
26449 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
26450 (fminf): Define using libm_alias_float.
26451 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26452 <libm-alias-float.h>.
26453 (fmaf): Define using libm_alias_float.
26455 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
26456 (asinh): Define using libm_alias_double.
26457 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
26458 (atan): Define using libm_alias_double.
26459 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
26460 (cbrt): Define using libm_alias_double.
26461 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
26462 (ceil): Define using libm_alias_double.
26463 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
26464 (copysign): Define using libm_alias_double.
26465 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
26466 (expm1): Define using libm_alias_double.
26467 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
26468 (fabs): Define using libm_alias_double.
26469 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
26470 (fdim): Define using libm_alias_double.
26471 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
26472 (floor): Define using libm_alias_double.
26473 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
26474 (fmax): Define using libm_alias_double.
26475 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
26476 (fmin): Define using libm_alias_double.
26477 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
26478 (frexp): Define using libm_alias_double.
26479 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
26480 (llrint): Define using libm_alias_double.
26481 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
26482 (logb): Define using libm_alias_double.
26483 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
26484 (lrint): Define using libm_alias_double.
26485 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
26486 (nearbyint): Define using libm_alias_double.
26487 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
26488 (remquo): Define using libm_alias_double.
26489 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
26490 (rint): Define using libm_alias_double.
26491 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
26492 (trunc): Define using libm_alias_double.
26493 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
26494 (fmax): Define using libm_alias_double.
26495 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
26496 (fmin): Define using libm_alias_double.
26497 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
26498 (fma): Define using libm_alias_double.
26500 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
26503 * elf/dl-hwcaps.c (ROUND): Removed.
26504 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
26505 and ELF_NOTE_NEXT_OFFSET.
26506 * elf/dl-load.c (ROUND): Removed.
26507 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
26508 * elf/readelflib.c (ROUND): Removed.
26509 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
26510 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
26511 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
26512 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
26514 2017-11-28 Joseph Myers <joseph@codesourcery.com>
26516 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
26517 [!__fmaf] (fmaf): Define using libm_alias_float.
26519 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
26520 [!__fma] (fma): Define using libm_alias_double.
26521 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
26523 2017-11-28 Mike FABIAN <mfabian@redhat.com>
26526 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
26527 and implement the collation rules for cs from CLDR on top of that.
26528 * Makefile: Add cs_CZ.UTF-8 to test-input.
26529 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
26531 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
26533 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
26535 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
26536 Icarus Sparry <icarus.w.sparry@intel.com>
26538 * benchtests/Makefile:Add BENCHSET to allow subsets of
26539 benchmarks to be run.
26540 * benchtests/README: Add documentation for: Running subsets of
26543 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
26545 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
26546 range of tests names.
26548 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
26549 result from property and remove "max", min" and "mean" from
26550 required properties based on benchtests/bench-skeleton.c.
26552 2017-11-28 Florian Weimer <fweimer@redhat.com>
26555 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
26556 due to Internet requirement.
26557 * posix/Makefile (tests): Remove tst-getaddrinfo4,
26559 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
26561 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26563 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
26564 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
26565 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
26566 (sysdep_routines): Add memset-ultra1.
26567 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
26569 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
26570 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
26571 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
26572 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
26573 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
26574 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
26575 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
26576 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26578 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
26580 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
26581 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
26582 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
26583 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
26584 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
26585 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
26586 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
26588 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
26589 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
26590 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
26591 (sysdep_routines): Add memcpy-ultra1.
26592 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
26593 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
26595 2017-11-28 Joseph Myers <joseph@codesourcery.com>
26597 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
26598 (cfloat_versions): Take function argument without trailing 'f'.
26599 Call libm_alias_float_other.
26600 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
26601 * sysdeps/alpha/fpu/cargf.c: Likewise.
26602 * sysdeps/alpha/fpu/cimagf.c: Likewise.
26603 * sysdeps/alpha/fpu/conjf.c: Likewise.
26604 * sysdeps/alpha/fpu/crealf.c: Likewise.
26605 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
26606 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
26607 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
26608 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
26609 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
26610 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
26611 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
26612 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
26613 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
26614 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
26615 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
26616 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
26617 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
26618 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
26619 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
26620 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
26621 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
26622 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
26623 (clog10f): Use libm_alias_float_other.
26624 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
26625 (ceilf): Define using libm_alias_float.
26626 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
26627 (copysignf): Define using libm_alias_float.
26628 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
26629 (fabsf): Define using libm_alias_float.
26630 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
26631 (floorf): Define using libm_alias_float.
26632 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
26633 (fmaxf): Define using libm_alias_float.
26634 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
26635 (fminf): Define using libm_alias_float.
26636 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
26637 (lrintf): Define using libm_alias_float.
26638 (llrintf): Likewise.
26639 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
26640 (lroundf): Define using libm_alias_float.
26641 (llroundf): Likewise.
26642 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
26643 (rintf): Define using libm_alias_float.
26644 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
26645 (truncf): Define using libm_alias_float.
26647 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
26648 (ceilf): Define using libm_alias_float.
26649 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
26650 (floorf): Define using libm_alias_float.
26651 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
26652 (fmaf): Define using libm_alias_float.
26653 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
26654 (fmaxf): Define using libm_alias_float.
26655 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
26656 (fminf): Define using libm_alias_float.
26657 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
26658 (llrintf): Define using libm_alias_float.
26659 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
26660 (llroundf): Define using libm_alias_float.
26661 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
26662 (lrintf): Define using libm_alias_float.
26663 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
26664 (lroundf): Define using libm_alias_float.
26665 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
26666 <libm-alias-float.h>.
26667 (nearbyintf): Define using libm_alias_float.
26668 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
26669 (rintf): Define using libm_alias_float.
26670 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
26671 (roundf): Define using libm_alias_float.
26672 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
26673 (truncf): Define using libm_alias_float.
26675 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
26676 (ceil): Define using libm_alias_double.
26677 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
26678 (copysign): Define using libm_alias_double.
26679 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
26680 (fabs): Define using libm_alias_double.
26681 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
26682 (floor): Define using libm_alias_double.
26683 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
26684 (fmax): Define using libm_alias_double.
26685 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
26686 (fmin): Define using libm_alias_double.
26687 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
26688 (lrint): Define using libm_alias_double.
26689 (llrint): Likewise.
26690 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
26691 (lround): Define using libm_alias_double.
26692 (llround): Likewise.
26693 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
26694 (rint): Define using libm_alias_double.
26695 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
26696 (trunc): Define using libm_alias_double.
26698 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
26699 (libm_alias_double_r): Add semicolon after weak_alias call.
26701 2017-11-27 Joseph Myers <joseph@codesourcery.com>
26703 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
26704 (ceil): Define using libm_alias_double.
26705 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
26706 (floor): Define using libm_alias_double.
26707 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
26708 (fma): Define using libm_alias_double.
26709 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
26710 (fmax): Define using libm_alias_double.
26711 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
26712 (fmin): Define using libm_alias_double.
26713 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
26714 (llrint): Define using libm_alias_double.
26715 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
26716 (llround): Define using libm_alias_double.
26717 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
26718 (lrint): Define using libm_alias_double.
26719 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
26720 (lround): Define using libm_alias_double.
26721 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
26722 (nearbyint): Define using libm_alias_double.
26723 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
26724 (rint): Define using libm_alias_double.
26725 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
26726 (round): Define using libm_alias_double.
26727 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
26728 (trunc): Define using libm_alias_double.
26730 2017-11-27 Florian Weimer <fweimer@redhat.com>
26732 * sysdeps/unix/sysv/linux/mlock2.c: New file.
26733 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
26734 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
26735 (tests): Add tst-mlock2.
26736 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
26737 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
26738 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
26739 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
26740 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
26741 for mlock. Document mlock2.
26743 2017-11-27 Joseph Myers <joseph@codesourcery.com>
26745 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
26746 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
26748 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
26750 * sysdeps/x86/Makeconfig: New file.
26751 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
26752 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26753 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
26754 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26755 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
26756 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26757 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
26759 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26760 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
26761 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26762 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
26763 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26764 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
26765 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26766 * manual/math.texi (Mathematics): Document support for _Float64x.
26767 * math/Versions (GLIBC_2.27): Add _Float64x functions.
26768 * stdlib/Versions (GLIBC_2.27): Likewise.
26769 * wcsmbs/Versions (GLIBC_2.27): Likewise.
26770 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
26771 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26772 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26773 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26774 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26775 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26776 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26777 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26778 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26779 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26780 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
26783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26785 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26786 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26787 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26788 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26789 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26790 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26791 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26792 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26793 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26794 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26795 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26796 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26797 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
26798 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26800 2017-11-27 Andreas Schwab <schwab@suse.de>
26802 * elf/Makefile (dl-routines): Add dl-sort-maps.
26803 * elf/dl-sort-maps.c: New file.
26804 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
26805 (_dl_sort_maps): Declare.
26806 * elf/dl-fini.c (_dl_sort_fini): Remove.
26807 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
26808 * elf/dl-close.c (_dl_close_worker): Likewise.
26809 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
26811 * elf/dl-open.c (dl_open_worker): Likewise.
26813 2017-11-24 Joseph Myers <joseph@codesourcery.com>
26815 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
26816 using libm_alias_float128.
26817 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
26819 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
26821 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
26822 (setpayloadsigf128): Likewise.
26823 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
26825 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
26828 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
26829 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
26830 -mfloat128 to CFLAGS.
26832 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
26834 (CFLAGS-libm-test-support-float64x.c): New variable.
26835 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
26836 $(f128-loader-link) to gnulib-tests.
26838 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
26839 (libm_alias_float128_other_r): If
26840 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
26842 (libm_alias_float128_r): Add semicolon after weak_alias call.
26843 * sysdeps/generic/libm-alias-ldouble.h
26844 (libm_alias_ldouble_other_r_f128): New macro.
26845 (libm_alias_ldouble_other_r_f64x): Likewise.
26846 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
26847 and libm_alias_ldouble_other_r_f64x.
26848 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
26849 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
26850 (libm_alias_ldouble_other_r_f128): New macro.
26851 (libm_alias_ldouble_other_r_f64x): Likewise.
26852 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
26853 and libm_alias_ldouble_other_r_f64x.
26855 * stdlib/strfroml.c: Always include <stdlib.h>.
26856 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
26857 undefine as macro and define as weak alias.
26858 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
26859 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
26861 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
26862 Define and later undefine as macro and define as weak alias.
26864 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
26865 Define and later undefine as macro. Define as weak alias if
26867 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
26868 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
26869 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
26870 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
26871 Define and later undefine as macro. Define as weak alias if
26873 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
26874 Define and later undefine as macro. Define as weak alias if
26876 * sysdeps/ieee754/float128/strtof128_l.c
26877 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
26878 Define and later undefine as macro. Define as weak alias if
26880 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
26881 Define and later undefine as macro. Define as weak alias if
26883 * sysdeps/ieee754/ldbl-128/strtold_l.c
26884 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
26885 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26886 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
26887 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
26888 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
26889 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
26890 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26891 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
26892 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
26893 * sysdeps/ieee754/ldbl-96/strtold_l.c
26894 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
26895 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26896 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
26897 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
26899 * math/test-float64x.h: New file.
26900 * math/Makefile (type-float64x-yes): New variable.
26901 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
26903 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
26904 function-like macro.
26905 (min_of_type_): Likewise.
26906 (min_of_type_l): Likewise.
26907 (min_of_type_f128): Likewise.
26908 (min_of_type): Pass () as last argument of __MATH_TG.
26910 * stdlib/tst-strtod-round-skeleton.c
26911 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
26914 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
26915 for combinations of long double with _Float64 and _Float64x.
26917 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
26918 (__DECL_SIMD_cosf32): Likewise.
26919 (__DECL_SIMD_cosf64): Likewise.
26920 (__DECL_SIMD_cosf32x): Likewise.
26921 (__DECL_SIMD_cosf64x): Likewise.
26922 (__DECL_SIMD_cosf128x): Likewise.
26923 (__DECL_SIMD_sinf16): Likewise.
26924 (__DECL_SIMD_sinf32): Likewise.
26925 (__DECL_SIMD_sinf64): Likewise.
26926 (__DECL_SIMD_sinf32x): Likewise.
26927 (__DECL_SIMD_sinf64x): Likewise.
26928 (__DECL_SIMD_sinf128x): Likewise.
26929 (__DECL_SIMD_sincosf16): Likewise.
26930 (__DECL_SIMD_sincosf32): Likewise.
26931 (__DECL_SIMD_sincosf64): Likewise.
26932 (__DECL_SIMD_sincosf32x): Likewise.
26933 (__DECL_SIMD_sincosf64x): Likewise.
26934 (__DECL_SIMD_sincosf128x): Likewise.
26935 (__DECL_SIMD_logf16): Likewise.
26936 (__DECL_SIMD_logf32): Likewise.
26937 (__DECL_SIMD_logf64): Likewise.
26938 (__DECL_SIMD_logf32x): Likewise.
26939 (__DECL_SIMD_logf64x): Likewise.
26940 (__DECL_SIMD_logf128x): Likewise.
26941 (__DECL_SIMD_expf16): Likewise.
26942 (__DECL_SIMD_expf32): Likewise.
26943 (__DECL_SIMD_expf64): Likewise.
26944 (__DECL_SIMD_expf32x): Likewise.
26945 (__DECL_SIMD_expf64x): Likewise.
26946 (__DECL_SIMD_expf128x): Likewise.
26947 (__DECL_SIMD_powf16): Likewise.
26948 (__DECL_SIMD_powf32): Likewise.
26949 (__DECL_SIMD_powf64): Likewise.
26950 (__DECL_SIMD_powf32x): Likewise.
26951 (__DECL_SIMD_powf64x): Likewise.
26952 (__DECL_SIMD_powf128x): Likewise.
26954 * stdlib/Versions (libc): Move entries for wcstof128 and
26955 wcstof128_l to ....
26956 * wcsmbs/Versions (libc): ... here.
26957 Include <float128-abi.h>.
26959 2017-11-24 Florian Weimer <fweimer@redhat.com>
26961 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26962 bits/mman-shared.h.
26963 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
26964 <bits/mman-shared.h>.
26965 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
26967 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
26968 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
26969 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
26970 <bits/mman-shared.h>.
26972 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26975 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
26976 posix_memalign/free.
26977 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
26979 2017-11-22 Mike FABIAN <mfabian@redhat.com>
26982 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
26983 and implement the collation rules for pl from CLDR on top of that.
26984 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
26985 of locales to be built for testing.
26986 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
26988 2017-11-23 Joseph Myers <joseph@codesourcery.com>
26990 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
26991 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
26992 libm_alias_ldouble_other.
26993 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
26994 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
26995 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
26996 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
26997 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
26998 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
26999 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
27000 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
27001 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
27002 libm_alias_ldouble_r.
27003 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
27004 libm_alias_ldouble_other.
27005 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
27006 (log10l): Likewise.
27007 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
27008 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
27009 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
27010 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
27011 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
27012 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
27013 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
27014 (atan2l): Likewise.
27015 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
27016 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
27017 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
27018 libm_alias_ldouble.
27019 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
27021 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
27022 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
27023 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
27025 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
27026 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
27027 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
27028 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
27029 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
27030 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
27031 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
27032 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
27033 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
27034 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
27035 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
27036 libm_alias_ldouble.
27037 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
27038 libm_alias_ldouble_other.
27039 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
27040 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
27041 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
27042 libm_alias_ldouble.
27043 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
27044 libm_alias_ldouble_other.
27045 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
27046 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
27047 * sysdeps/ia64/fpu/w_lgammal_main.c
27048 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
27049 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
27051 2017-11-23 Florian Weimer <fweimer@redhat.com>
27053 * malloc/malloc.c (tcache_thread_shutdown): Rename from
27054 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
27055 alike. Remove freeres marker.
27056 * malloc/arena.c (arena_thread_freeres): Call
27057 tcache_thread_shutdown.
27059 2017-11-23 Florian Weimer <fweimer@redhat.com>
27062 Export nscd hash function as __nss_hash.
27063 * include/nss.h (__nss_hash): Declare.
27064 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
27066 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
27067 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
27069 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
27070 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
27071 * nss/Makefiles (routines): Add nss_hash.
27072 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
27073 * nss/nss_hash.c: Rename from nis/nis_hash.c.
27074 (__nss_hash): Rename from __nis_hash. Define hidden alias.
27075 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
27077 2017-11-23 Florian Weimer <fweimer@redhat.com>
27080 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
27081 Return error code, not -1.
27082 * signal/tst-sigwait-eintr.c: New file.
27083 * signal/Makefile (tests): Add tst-sigwait-eintr.
27085 2017-11-23 Florian Weimer <fweimer@redhat.com>
27087 Linux: Add memfd_create system call wrapper
27088 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
27090 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
27091 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
27092 [__USE_GNU] (memfd_create): Declare.
27093 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
27094 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
27095 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
27096 * sysdeps/unix/sysv/linux/**.abilist: Update.
27097 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
27099 2017-11-22 Joseph Myers <joseph@codesourcery.com>
27101 * localedata/gen-locale.sh: Fix typo in variable name.
27103 * resolv/res_debug.c (p_secstodate): Condition definition on
27104 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
27105 directly as __p_secstodate, and as a compat symbol. Do not use
27106 libresolv_hidden_def.
27107 * resolv/resolv.h (p_secstodate): Remove macro and function
27109 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
27110 using p_secstodate.
27111 * include/resolv.h (__p_secstodate): Do not use
27112 libresolv_hidden_proto.
27113 * resolv/Makefile (tests): Move tst-p_secstodate to ....
27114 (tests-internal): ... here.
27115 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
27116 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
27117 and declare and use __p_secstodate and use compat_symbol_reference
27119 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
27120 implementation returning 77.
27123 * resolv/res_debug.c: Include <libc-diag.h>.
27124 (p_secstodate): Assert time_t at least as wide as u_long. On
27125 overflow, use integer seconds since the epoch as output, or use
27126 "<overflow>" as output and set errno to EOVERFLOW if integer
27127 seconds since the epoch would be 14 or more characters.
27128 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
27130 * resolv/tst-p_secstodate.c: New file.
27131 * resolv/Makefile (tests): Add tst-p_secstodate.
27132 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
27134 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
27135 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
27136 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
27138 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
27140 * posix/regcomp.c (init_word_char): Add comments.
27142 2017-11-22 Joseph Myers <joseph@codesourcery.com>
27145 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
27146 strlen to compute length of ut_user and set trailing NUL byte of
27149 2017-11-21 Mike FABIAN <mfabian@redhat.com>
27152 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
27153 using “copy "iso14651_t1"” and then implementing the
27154 collation rules for lv from CLDR on top of that.
27155 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
27156 of locales to be built for testing.
27157 * lv_LV.UTF-8.in: New file with test data to test the Latvian
27160 2017-11-21 Joseph Myers <joseph@codesourcery.com>
27162 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
27163 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
27164 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
27165 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
27166 [__USE_MISC] (MADV_HWPOISON): New macro.
27167 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
27169 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27171 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
27172 -Wmissing-braces on GCC 4.9.
27174 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
27176 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
27177 * sysdeps/s390/s390-32/start.S (_start): Likewise
27178 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
27179 (thread_start): Likewise.
27180 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
27181 (thread_start): Likewise.
27182 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
27183 (__makecontext_ret): Likewise.
27184 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
27185 (__makecontext_ret): Likewise.
27187 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
27189 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
27190 __wcschrnul): Remove attribute_hidden.
27192 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
27194 regex: don't assume uint64_t or uint32_t
27195 This avoids -Werror=overflow errors for 32-bit systems in
27196 the 64-bit case. Problem reported by Joseph Myers in:
27197 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
27198 Also, when this code is used in Gnulib it ports to platforms
27199 that lack uint64_t and uint32_t. The C standard doesn't guarantee
27200 them, and on some 32-bit compilers there is no uint64_t.
27201 Problem reported by Gianluigi Tiesi in:
27202 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
27203 * posix/regcomp.c (init_word_char): Don't assume that the types
27204 uint64_t and uint32_t exist. Adapted from Gnulib patch
27205 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
27206 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
27208 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
27210 * sysdeps/aarch64/memset-reg.h: New file.
27211 * sysdeps/aarch64/memset.S: Use it.
27212 (__memset): Rename to MEMSET macro.
27213 [ZVA_MACRO]: Use zva_macro.
27214 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
27215 Add memset_generic and memset_falkor.
27216 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27217 (__libc_ifunc_impl_list): Add memset ifuncs.
27218 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
27219 local variable zva_size.
27220 * sysdeps/aarch64/multiarch/memset.c: New file.
27221 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
27222 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
27223 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
27224 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
27225 (DCZID_DZP_MASK): New macro.
27226 (DCZID_BS_MASK): Likewise.
27227 (init_cpu_features): Read and set zva_size.
27228 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
27229 (struct cpu_features): New member zva_size.
27231 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
27232 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
27233 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
27235 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
27236 backwards. Fix timing computation.
27237 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
27238 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
27239 on memset by N at a time. Fix timing computation.
27241 2017-11-20 Florian Weimer <fweimer@redhat.com>
27243 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
27244 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
27246 2017-11-19 Florian Weimer <fweimer@redhat.com>
27248 manual: Document mprotect
27249 * manual/memory.texi (Memory Protection): New section.
27250 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
27251 documentation of PROT_* flags and reference the Memory Protection
27254 2017-11-19 Florian Weimer <fweimer@redhat.com>
27256 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
27257 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
27258 (Scatter-Gather): ... to here. Remove misleading comment.
27260 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
27262 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
27265 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
27266 when /proc/<pid>/setgroups does not exist.
27268 2017-11-18 Florian Weimer <fweimer@redhat.com>
27270 * sysdeps/unix/sysv/linux/tst-ttyname.c
27271 (become_root_in_mount_ns): Remove.
27272 (do_in_chroot_1): Call support_enter_mount_namespace.
27273 (do_in_chroot_2): Likewise.
27274 (do_test): Call support_become_root early.
27276 2017-11-18 Florian Weimer <fweimer@redhat.com>
27278 * support/namespace.h (support_enter_mount_namespace): Declare.
27279 * support/support_enter_mount_namespace.c: New file.
27280 * support/Makefile (libsupport-routines): Add
27281 support_enter_mount_namespace.
27283 2017-11-18 Florian Weimer <fweimer@redhat.com>
27285 * support/temp_file.c (support_create_temp_directory): Use
27286 test_dir and do not rely on the presence of the XXXXXX suffix.
27287 * support/temp_file.h (support_create_temp_directory): Update
27289 * support/tst-xreadlink.c (do_test): Adjust.
27290 * support/support_chroot.c (support_chroot_create): Likewise.
27292 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27294 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
27296 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
27299 2017-11-17 Joseph Myers <joseph@codesourcery.com>
27301 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27302 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27303 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27304 (ceill): Define using libm_alias_ldouble.
27305 * sysdeps/x86_64/fpu/s_copysignl.S: Include
27306 <libm-alias-ldouble.h>.
27307 (copysignl): Define using libm_alias_ldouble.
27308 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27309 (fabsl): Define using libm_alias_ldouble.
27310 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27311 (floorl): Define using libm_alias_ldouble.
27312 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27313 (fmaxl): Define using libm_alias_ldouble.
27314 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27315 (fminl): Define using libm_alias_ldouble.
27316 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27317 (llrintl): Define using libm_alias_ldouble.
27318 (lrintl): Likewise.
27319 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
27320 <libm-alias-ldouble.h>.
27321 (nearbyintl): Define using libm_alias_ldouble.
27322 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27323 (truncl): Define using libm_alias_ldouble.
27324 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
27325 <libm-alias-ldouble.h>.
27326 (lrintl): Define using libm_alias_ldouble.
27328 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27329 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27330 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
27331 (asinhl): Define using libm_alias_ldouble.
27332 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
27333 (atanl): Define using libm_alias_ldouble.
27334 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
27335 (cbrtl): Define using libm_alias_ldouble.
27336 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27337 (ceill): Define using libm_alias_ldouble.
27338 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
27339 (copysignl): Define using libm_alias_ldouble.
27340 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27341 (fabsl): Define using libm_alias_ldouble.
27342 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27343 (floorl): Define using libm_alias_ldouble.
27344 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27345 (fmaxl): Define using libm_alias_ldouble.
27346 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27347 (fminl): Define using libm_alias_ldouble.
27348 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
27349 (frexpl): Define using libm_alias_ldouble.
27350 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27351 (llrintl): Define using libm_alias_ldouble.
27352 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
27353 (logbl): Define using libm_alias_ldouble.
27354 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
27355 (lrintl): Define using libm_alias_ldouble.
27356 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
27357 (nearbyintl): Define using libm_alias_ldouble.
27358 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
27359 (nextafterl): Define using libm_alias_ldouble.
27360 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
27361 (remquol): Define using libm_alias_ldouble.
27362 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
27363 (rintl): Define using libm_alias_ldouble.
27364 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27365 (truncl): Define using libm_alias_ldouble.
27366 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27367 (fmaxl): Define using libm_alias_ldouble.
27368 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27369 (fminl): Define using libm_alias_ldouble.
27371 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
27372 to C syntax instead of availability and properties of types.
27373 * bits/floatn.h [!__ASSEMBLER]: Likewise.
27374 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
27375 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
27376 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
27377 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
27378 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
27380 2017-11-17 Florian Weimer <fweimer@redhat.com>
27382 support_become_root: Enable file creation in namespaces.
27383 * support/support_become_root.c (setup_mapping): New function.
27384 (support_become_root): Call it.
27386 2017-11-17 Joseph Myers <joseph@codesourcery.com>
27388 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
27391 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27393 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
27394 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
27396 2017-11-16 Joseph Myers <joseph@codesourcery.com>
27398 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
27400 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
27403 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
27405 * INSTALL: Fix botched up regeneration.
27407 * NEWS: Update sourceare link to https.
27408 * configure.ac: Likewise.
27409 * crypt/md5test-giant.c: Likewise.
27410 * dlfcn/bug-atexit1.c: Likewise.
27411 * dlfcn/bug-atexit2.c: Likewise.
27412 * localedata/README: Likewise.
27413 * malloc/tst-mallocfork.c: Likewise.
27414 * manual/install.texi: Likewise.
27415 * nptl/tst-pthread-getattr.c: Likewise.
27416 * stdio-common/tst-fgets.c: Likewise.
27417 * stdio-common/tst-fwrite.c: Likewise.
27418 * sunrpc/Makefile: Likewise.
27419 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
27420 * wcsmbs/tst-mbrtowc2.c: Likewise.
27421 * configure: Regenerate.
27422 * INSTALL: Regenerate.
27424 2017-11-15 Martin Sebor <msebor@redhat.com>
27426 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
27427 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
27428 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
27430 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
27433 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
27434 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
27437 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
27438 Defer is_pty check until end of the function.
27439 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27442 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
27443 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
27444 (ttyname): Likewise.
27445 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
27446 (__ttyname_r): Likewise.
27448 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
27451 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
27453 * manual/terminal.texi (Is It a Terminal):
27454 Mention ENODEV for ttyname and ttyname_r.
27456 2017-11-15 Joseph Myers <joseph@codesourcery.com>
27458 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
27459 constant and macro.
27461 * sysdeps/unix/sysv/linux/bits/mman-linux.h
27462 [__USE_MISC] (MADV_WIPEONFORK): New macro.
27463 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
27464 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
27465 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
27466 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
27468 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27470 * signal/sigrelse.c (sigrelse): Optimize implementation.
27472 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
27473 (__sigpause): Rely on __sigsuspend to implement single thread
27474 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
27476 2017-11-15 Joseph Myers <joseph@codesourcery.com>
27478 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
27479 kernel version to 4.14.
27481 2017-11-15 Steve Ellcey <sellcey@cavium.com>
27484 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
27485 Check if ifname is too long.
27487 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
27489 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
27491 2017-11-15 Mike FABIAN <mfabian@redhat.com>
27493 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
27494 was accidentally lost.
27496 2017-11-15 Mike FABIAN <mfabian@redhat.com>
27498 * localedata/locales/az_IR: Add standard copyright header.
27500 2017-11-15 Florian Weimer <fweimer@redhat.com>
27503 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
27504 not just the top one. Output a new "subheaps" statistic.
27506 2017-11-15 Florian Weimer <fweimer@redhat.com>
27509 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
27510 under the per-arena lock.
27511 * malloc/Makefile (tests): Add tst-malloc_info.
27512 (tst-malloc_info): Link with libpthread.
27513 * malloc/tst-malloc_info.c: New file.
27515 2017-11-15 Joseph Myers <joseph@codesourcery.com>
27518 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
27519 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
27520 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
27521 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
27522 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
27523 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
27524 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
27525 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
27526 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
27527 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
27528 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
27529 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
27530 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
27531 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
27532 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
27533 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
27534 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
27535 (__floating_type): Likewise.
27536 (__real_integer_type): Likewise.
27537 (__complex_integer_type): Likewise.
27538 (__expr_is_real): Likewise.
27539 (__tgmath_real_type_sub): Likewise.
27540 (__tgmath_real_type): Likewise.
27541 (__tgmath_complex_type_sub): Likewise.
27542 (__tgmath_complex_type): Likewise.
27543 (__TGMATH_F128): Likewise.
27544 (__TGMATH_CF128): Likewise.
27545 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
27547 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
27548 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
27550 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
27552 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
27553 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
27554 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
27555 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
27557 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
27558 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
27560 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
27561 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
27562 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
27564 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
27565 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
27566 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
27570 2017-11-14 Joseph Myers <joseph@codesourcery.com>
27572 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
27573 for stpncpy calls for GCC 8.
27574 (test_strncat): Disable -Wstringop-truncation warning for strncat
27575 calls for GCC 8. Disable -Wstringop-overflow= warning for one
27576 strncat call for GCC 7.
27577 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
27579 (test_memcmp): Use memcpy instead of strncpy for calls not copying
27582 * string/bug-strncat1.c: Include <libc-diag.h>.
27583 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
27585 2017-11-13 Claude Paroz <claude@2xlibre.net>
27588 * localedata/locales/aa_DJ: Improved readibility by replacing
27589 <Uxxxx> sequences in the ASCII printable range by their ASCII
27590 character equivalents.
27591 * localedata/locales/aa_ER: Likewise.
27592 * localedata/locales/aa_ER@saaho: Likewise.
27593 * localedata/locales/aa_ET: Likewise.
27594 * localedata/locales/af_ZA: Likewise.
27595 * localedata/locales/agr_PE: Likewise.
27596 * localedata/locales/ak_GH: Likewise.
27597 * localedata/locales/am_ET: Likewise.
27598 * localedata/locales/anp_IN: Likewise.
27599 * localedata/locales/ar_AE: Likewise.
27600 * localedata/locales/ar_BH: Likewise.
27601 * localedata/locales/ar_DZ: Likewise.
27602 * localedata/locales/ar_EG: Likewise.
27603 * localedata/locales/ar_IN: Likewise.
27604 * localedata/locales/ar_IQ: Likewise.
27605 * localedata/locales/ar_JO: Likewise.
27606 * localedata/locales/ar_KW: Likewise.
27607 * localedata/locales/ar_LB: Likewise.
27608 * localedata/locales/ar_LY: Likewise.
27609 * localedata/locales/ar_MA: Likewise.
27610 * localedata/locales/ar_OM: Likewise.
27611 * localedata/locales/ar_QA: Likewise.
27612 * localedata/locales/ar_SA: Likewise.
27613 * localedata/locales/ar_SD: Likewise.
27614 * localedata/locales/ar_SS: Likewise.
27615 * localedata/locales/ar_SY: Likewise.
27616 * localedata/locales/ar_TN: Likewise.
27617 * localedata/locales/ar_YE: Likewise.
27618 * localedata/locales/as_IN: Likewise.
27619 * localedata/locales/ast_ES: Likewise.
27620 * localedata/locales/ayc_PE: Likewise.
27621 * localedata/locales/az_AZ: Likewise.
27622 * localedata/locales/az_IR: Likewise.
27623 * localedata/locales/be_BY: Likewise.
27624 * localedata/locales/be_BY@latin: Likewise.
27625 * localedata/locales/bem_ZM: Likewise.
27626 * localedata/locales/ber_DZ: Likewise.
27627 * localedata/locales/ber_MA: Likewise.
27628 * localedata/locales/bg_BG: Likewise.
27629 * localedata/locales/bhb_IN: Likewise.
27630 * localedata/locales/bho_IN: Likewise.
27631 * localedata/locales/bi_VU: Likewise.
27632 * localedata/locales/bn_BD: Likewise.
27633 * localedata/locales/bn_IN: Likewise.
27634 * localedata/locales/bo_CN: Likewise.
27635 * localedata/locales/bo_IN: Likewise.
27636 * localedata/locales/br_FR: Likewise.
27637 * localedata/locales/brx_IN: Likewise.
27638 * localedata/locales/bs_BA: Likewise.
27639 * localedata/locales/byn_ER: Likewise.
27640 * localedata/locales/ca_AD: Likewise.
27641 * localedata/locales/ca_ES: Likewise.
27642 * localedata/locales/ca_FR: Likewise.
27643 * localedata/locales/ca_IT: Likewise.
27644 * localedata/locales/ce_RU: Likewise.
27645 * localedata/locales/chr_US: Likewise.
27646 * localedata/locales/cmn_TW: Likewise.
27647 * localedata/locales/crh_UA: Likewise.
27648 * localedata/locales/cs_CZ: Likewise.
27649 * localedata/locales/csb_PL: Likewise.
27650 * localedata/locales/cv_RU: Likewise.
27651 * localedata/locales/cy_GB: Likewise.
27652 * localedata/locales/da_DK: Likewise.
27653 * localedata/locales/de_AT: Likewise.
27654 * localedata/locales/de_BE: Likewise.
27655 * localedata/locales/de_CH: Likewise.
27656 * localedata/locales/de_DE: Likewise.
27657 * localedata/locales/de_IT: Likewise.
27658 * localedata/locales/de_LI: Likewise.
27659 * localedata/locales/de_LU: Likewise.
27660 * localedata/locales/doi_IN: Likewise.
27661 * localedata/locales/dv_MV: Likewise.
27662 * localedata/locales/dz_BT: Likewise.
27663 * localedata/locales/el_CY: Likewise.
27664 * localedata/locales/el_GR: Likewise.
27665 * localedata/locales/en_AG: Likewise.
27666 * localedata/locales/en_AU: Likewise.
27667 * localedata/locales/en_BW: Likewise.
27668 * localedata/locales/en_CA: Likewise.
27669 * localedata/locales/en_DK: Likewise.
27670 * localedata/locales/en_GB: Likewise.
27671 * localedata/locales/en_HK: Likewise.
27672 * localedata/locales/en_IE: Likewise.
27673 * localedata/locales/en_IL: Likewise.
27674 * localedata/locales/en_IN: Likewise.
27675 * localedata/locales/en_NG: Likewise.
27676 * localedata/locales/en_NZ: Likewise.
27677 * localedata/locales/en_PH: Likewise.
27678 * localedata/locales/en_SG: Likewise.
27679 * localedata/locales/en_US: Likewise.
27680 * localedata/locales/en_ZA: Likewise.
27681 * localedata/locales/en_ZM: Likewise.
27682 * localedata/locales/en_ZW: Likewise.
27683 * localedata/locales/eo: Likewise.
27684 * localedata/locales/es_AR: Likewise.
27685 * localedata/locales/es_BO: Likewise.
27686 * localedata/locales/es_CL: Likewise.
27687 * localedata/locales/es_CO: Likewise.
27688 * localedata/locales/es_CR: Likewise.
27689 * localedata/locales/es_CU: Likewise.
27690 * localedata/locales/es_DO: Likewise.
27691 * localedata/locales/es_EC: Likewise.
27692 * localedata/locales/es_ES: Likewise.
27693 * localedata/locales/es_GT: Likewise.
27694 * localedata/locales/es_HN: Likewise.
27695 * localedata/locales/es_MX: Likewise.
27696 * localedata/locales/es_NI: Likewise.
27697 * localedata/locales/es_PA: Likewise.
27698 * localedata/locales/es_PE: Likewise.
27699 * localedata/locales/es_PR: Likewise.
27700 * localedata/locales/es_PY: Likewise.
27701 * localedata/locales/es_SV: Likewise.
27702 * localedata/locales/es_US: Likewise.
27703 * localedata/locales/es_UY: Likewise.
27704 * localedata/locales/es_VE: Likewise.
27705 * localedata/locales/et_EE: Likewise.
27706 * localedata/locales/eu_ES: Likewise.
27707 * localedata/locales/eu_ES@euro: Likewise.
27708 * localedata/locales/fa_IR: Likewise.
27709 * localedata/locales/ff_SN: Likewise.
27710 * localedata/locales/fi_FI: Likewise.
27711 * localedata/locales/fil_PH: Likewise.
27712 * localedata/locales/fo_FO: Likewise.
27713 * localedata/locales/fr_BE: Likewise.
27714 * localedata/locales/fr_CA: Likewise.
27715 * localedata/locales/fr_CH: Likewise.
27716 * localedata/locales/fr_FR: Likewise.
27717 * localedata/locales/fr_LU: Likewise.
27718 * localedata/locales/fur_IT: Likewise.
27719 * localedata/locales/fy_DE: Likewise.
27720 * localedata/locales/fy_NL: Likewise.
27721 * localedata/locales/ga_IE: Likewise.
27722 * localedata/locales/gd_GB: Likewise.
27723 * localedata/locales/gez_ER: Likewise.
27724 * localedata/locales/gez_ET: Likewise.
27725 * localedata/locales/gl_ES: Likewise.
27726 * localedata/locales/gu_IN: Likewise.
27727 * localedata/locales/gv_GB: Likewise.
27728 * localedata/locales/ha_NG: Likewise.
27729 * localedata/locales/hak_TW: Likewise.
27730 * localedata/locales/he_IL: Likewise.
27731 * localedata/locales/hi_IN: Likewise.
27732 * localedata/locales/hif_FJ: Likewise.
27733 * localedata/locales/hne_IN: Likewise.
27734 * localedata/locales/hr_HR: Likewise.
27735 * localedata/locales/hsb_DE: Likewise.
27736 * localedata/locales/ht_HT: Likewise.
27737 * localedata/locales/hu_HU: Likewise.
27738 * localedata/locales/hy_AM: Likewise.
27739 * localedata/locales/i18n: Likewise.
27740 * localedata/locales/ia_FR: Likewise.
27741 * localedata/locales/id_ID: Likewise.
27742 * localedata/locales/ig_NG: Likewise.
27743 * localedata/locales/ik_CA: Likewise.
27744 * localedata/locales/is_IS: Likewise.
27745 * localedata/locales/it_CH: Likewise.
27746 * localedata/locales/it_IT: Likewise.
27747 * localedata/locales/iu_CA: Likewise.
27748 * localedata/locales/ja_JP: Likewise.
27749 * localedata/locales/ka_GE: Likewise.
27750 * localedata/locales/kk_KZ: Likewise.
27751 * localedata/locales/kl_GL: Likewise.
27752 * localedata/locales/kn_IN: Likewise.
27753 * localedata/locales/ko_KR: Likewise.
27754 * localedata/locales/kok_IN: Likewise.
27755 * localedata/locales/ks_IN: Likewise.
27756 * localedata/locales/ks_IN@devanagari: Likewise.
27757 * localedata/locales/ku_TR: Likewise.
27758 * localedata/locales/kw_GB: Likewise.
27759 * localedata/locales/ky_KG: Likewise.
27760 * localedata/locales/lb_LU: Likewise.
27761 * localedata/locales/lg_UG: Likewise.
27762 * localedata/locales/li_BE: Likewise.
27763 * localedata/locales/li_NL: Likewise.
27764 * localedata/locales/lij_IT: Likewise.
27765 * localedata/locales/ln_CD: Likewise.
27766 * localedata/locales/lo_LA: Likewise.
27767 * localedata/locales/lt_LT: Likewise.
27768 * localedata/locales/lv_LV: Likewise.
27769 * localedata/locales/lzh_TW: Likewise.
27770 * localedata/locales/mag_IN: Likewise.
27771 * localedata/locales/mai_IN: Likewise.
27772 * localedata/locales/mg_MG: Likewise.
27773 * localedata/locales/mhr_RU: Likewise.
27774 * localedata/locales/mi_NZ: Likewise.
27775 * localedata/locales/mk_MK: Likewise.
27776 * localedata/locales/ml_IN: Likewise.
27777 * localedata/locales/mn_MN: Likewise.
27778 * localedata/locales/mni_IN: Likewise.
27779 * localedata/locales/mr_IN: Likewise.
27780 * localedata/locales/ms_MY: Likewise.
27781 * localedata/locales/mt_MT: Likewise.
27782 * localedata/locales/my_MM: Likewise.
27783 * localedata/locales/nan_TW: Likewise.
27784 * localedata/locales/nan_TW@latin: Likewise.
27785 * localedata/locales/nb_NO: Likewise.
27786 * localedata/locales/nds_DE: Likewise.
27787 * localedata/locales/nds_NL: Likewise.
27788 * localedata/locales/ne_NP: Likewise.
27789 * localedata/locales/nhn_MX: Likewise.
27790 * localedata/locales/niu_NU: Likewise.
27791 * localedata/locales/niu_NZ: Likewise.
27792 * localedata/locales/nl_AW: Likewise.
27793 * localedata/locales/nl_BE: Likewise.
27794 * localedata/locales/nl_NL: Likewise.
27795 * localedata/locales/nn_NO: Likewise.
27796 * localedata/locales/nr_ZA: Likewise.
27797 * localedata/locales/nso_ZA: Likewise.
27798 * localedata/locales/oc_FR: Likewise.
27799 * localedata/locales/om_ET: Likewise.
27800 * localedata/locales/om_KE: Likewise.
27801 * localedata/locales/or_IN: Likewise.
27802 * localedata/locales/os_RU: Likewise.
27803 * localedata/locales/pa_IN: Likewise.
27804 * localedata/locales/pa_PK: Likewise.
27805 * localedata/locales/pap_AW: Likewise.
27806 * localedata/locales/pap_CW: Likewise.
27807 * localedata/locales/pl_PL: Likewise.
27808 * localedata/locales/ps_AF: Likewise.
27809 * localedata/locales/pt_BR: Likewise.
27810 * localedata/locales/pt_PT: Likewise.
27811 * localedata/locales/quz_PE: Likewise.
27812 * localedata/locales/raj_IN: Likewise.
27813 * localedata/locales/ro_RO: Likewise.
27814 * localedata/locales/ru_RU: Likewise.
27815 * localedata/locales/ru_UA: Likewise.
27816 * localedata/locales/rw_RW: Likewise.
27817 * localedata/locales/sa_IN: Likewise.
27818 * localedata/locales/sat_IN: Likewise.
27819 * localedata/locales/sc_IT: Likewise.
27820 * localedata/locales/sd_IN: Likewise.
27821 * localedata/locales/sd_IN@devanagari: Likewise.
27822 * localedata/locales/se_NO: Likewise.
27823 * localedata/locales/sgs_LT: Likewise.
27824 * localedata/locales/shs_CA: Likewise.
27825 * localedata/locales/si_LK: Likewise.
27826 * localedata/locales/sid_ET: Likewise.
27827 * localedata/locales/sk_SK: Likewise.
27828 * localedata/locales/sl_SI: Likewise.
27829 * localedata/locales/sm_WS: Likewise.
27830 * localedata/locales/so_DJ: Likewise.
27831 * localedata/locales/so_ET: Likewise.
27832 * localedata/locales/so_KE: Likewise.
27833 * localedata/locales/so_SO: Likewise.
27834 * localedata/locales/sq_AL: Likewise.
27835 * localedata/locales/sq_MK: Likewise.
27836 * localedata/locales/sr_ME: Likewise.
27837 * localedata/locales/sr_RS: Likewise.
27838 * localedata/locales/sr_RS@latin: Likewise.
27839 * localedata/locales/ss_ZA: Likewise.
27840 * localedata/locales/st_ZA: Likewise.
27841 * localedata/locales/sv_FI: Likewise.
27842 * localedata/locales/sv_SE: Likewise.
27843 * localedata/locales/sw_KE: Likewise.
27844 * localedata/locales/sw_TZ: Likewise.
27845 * localedata/locales/szl_PL: Likewise.
27846 * localedata/locales/ta_IN: Likewise.
27847 * localedata/locales/ta_LK: Likewise.
27848 * localedata/locales/tcy_IN: Likewise.
27849 * localedata/locales/te_IN: Likewise.
27850 * localedata/locales/tg_TJ: Likewise.
27851 * localedata/locales/th_TH: Likewise.
27852 * localedata/locales/the_NP: Likewise.
27853 * localedata/locales/ti_ER: Likewise.
27854 * localedata/locales/ti_ET: Likewise.
27855 * localedata/locales/tig_ER: Likewise.
27856 * localedata/locales/tk_TM: Likewise.
27857 * localedata/locales/tl_PH: Likewise.
27858 * localedata/locales/tn_ZA: Likewise.
27859 * localedata/locales/to_TO: Likewise.
27860 * localedata/locales/tpi_PG: Likewise.
27861 * localedata/locales/tr_CY: Likewise.
27862 * localedata/locales/tr_TR: Likewise.
27863 * localedata/locales/ts_ZA: Likewise.
27864 * localedata/locales/tt_RU: Likewise.
27865 * localedata/locales/tt_RU@iqtelif: Likewise.
27866 * localedata/locales/ug_CN: Likewise.
27867 * localedata/locales/uk_UA: Likewise.
27868 * localedata/locales/unm_US: Likewise.
27869 * localedata/locales/ur_IN: Likewise.
27870 * localedata/locales/ur_PK: Likewise.
27871 * localedata/locales/uz_UZ: Likewise.
27872 * localedata/locales/uz_UZ@cyrillic: Likewise.
27873 * localedata/locales/ve_ZA: Likewise.
27874 * localedata/locales/vi_VN: Likewise.
27875 * localedata/locales/wa_BE: Likewise.
27876 * localedata/locales/wae_CH: Likewise.
27877 * localedata/locales/wal_ET: Likewise.
27878 * localedata/locales/wo_SN: Likewise.
27879 * localedata/locales/xh_ZA: Likewise.
27880 * localedata/locales/yi_US: Likewise.
27881 * localedata/locales/yo_NG: Likewise.
27882 * localedata/locales/yue_HK: Likewise.
27883 * localedata/locales/yuw_PG: Likewise.
27884 * localedata/locales/zh_CN: Likewise.
27885 * localedata/locales/zh_HK: Likewise.
27886 * localedata/locales/zh_SG: Likewise.
27887 * localedata/locales/zh_TW: Likewise.
27888 * localedata/locales/zu_ZA: Likewise.
27890 2017-11-13 Florian Weimer <fweimer@redhat.com>
27892 * support/next_to_fault.h, support/next_to_fault.c: New files.
27893 * support/Makefile (libsupport-routines): Add next_to_fault.
27894 * resolv/tst-inet_pton.c (struct next_to_fault)
27895 (next_to_fault_allocate, next_to_fault_free): Remove.
27896 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
27898 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
27900 * elf/dl-support.c: Include <dl-procruntime.c>.
27901 * include/link.h: Include <link_map.h>.
27902 * sysdeps/generic/dl-procruntime.c: New file.
27903 * sysdeps/generic/link_map.h: Likewise.
27904 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
27905 the writable ld.so namespace.
27907 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
27909 timezone: pacify GCC -Wstringop-truncation
27910 Problem reported by Martin Sebor in:
27911 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
27912 * timezone/zic.c (writezone): Use memcpy, not strncpy.
27914 2017-11-12 Florian Weimer <fweimer@redhat.com>
27916 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
27918 (tests): Add tst-xreadlink.
27919 * support/support.h (xstrndup): Declare.
27920 * support/xunistd.h (xunlink, xreadlink): Declare.
27921 * support/temp_file.h (support_create_temp_directory): Declare.
27922 * support/temp_file.c (support_create_temp_directory): New function.
27923 * support/support_chroot.c (support_chroot_create): Use it.
27924 * support/xreadlink.c: New file.
27925 * support/xstrndup.c: Likewise.
27926 * support/xunlink.c: Likewise.
27927 * support/tst-xreadlink.c: Likewise.
27929 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
27931 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
27933 2017-11-11 Florian Weimer <fweimer@redhat.com>
27937 * resolv/res_comp.c (printable_string, binary_hnok)
27938 (binary_leading_dash): New functions.
27939 (res_hnok): Reimplement using these functions and ns_name_pton.
27940 (res_ownok): Likewise.
27941 (res_mailok): Reimplement using printable_string, ns_name_pton and
27943 (res_dnok): Reimplement using printable_string and ns_name_pton.
27944 * resolv/tst-res_hnok.c (tests): Add additional tests.
27945 (LETTERDIGITS, PRINTABLE): Define.
27946 (do_test): Adjust one_char results.
27948 2017-11-11 Florian Weimer <fweimer@redhat.com>
27951 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
27952 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
27954 2017-11-11 Florian Weimer <fweimer@redhat.com>
27956 * resolv/tst-ns_name_pton.c: New file.
27957 * resolv/Makefile (tests): Add tst-ns_name_pton.
27958 (tst-ns_name_pton): Link against libresolv.
27960 2017-11-11 Florian Weimer <fweimer@redhat.com>
27962 * resolv/tst-res_hnok.c: New file.
27963 * resolv/Makefile (tests): Add tst-res_hnok.
27964 (tst-res_hnok): Link against libresolv.
27966 2017-11-11 Florian Weimer <fweimer@redhat.com>
27968 * resolv/tst-resolv-network.c: Use test framework instead explicit
27971 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
27973 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
27974 <jmp_buf-macros.h>.
27975 [!_ISOMAC] (STR_HELPER): New.
27976 [!_ISOMAC] (STR): Likewise.
27977 [!_ISOMAC] (TEST_SIZE): Likewise.
27978 [!_ISOMAC] (TEST_ALIGN): Likewise.
27979 [!_ISOMAC] (TEST_OFFSET): Likewise.
27980 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
27981 field offsets of jmp_buf as well as sigjmp_buf.
27982 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
27983 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
27984 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
27985 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
27986 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
27987 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
27988 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
27989 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
27990 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
27991 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
27993 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
27995 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
27996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
27998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
28000 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
28001 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
28002 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
28003 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
28004 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
28005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
28007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
28009 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
28010 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
28011 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
28013 2017-11-07 Joseph Myers <joseph@codesourcery.com>
28016 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28017 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
28018 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28019 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
28020 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28021 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
28022 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28023 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
28024 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28025 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
28026 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28027 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
28028 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28029 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
28030 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28031 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
28032 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28033 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
28034 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28035 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
28036 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28037 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
28038 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28039 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
28040 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28041 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
28042 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28043 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
28044 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28045 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
28046 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28047 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
28048 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28049 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
28050 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28051 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
28052 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28053 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
28054 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28055 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
28056 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28057 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
28058 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28059 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
28060 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28061 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
28062 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28063 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
28064 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28065 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
28066 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28067 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
28068 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28069 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
28070 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28071 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
28072 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28073 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
28074 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28075 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
28076 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28077 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
28078 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28079 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
28080 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28081 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
28082 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28083 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
28084 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28085 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
28086 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28087 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
28088 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28089 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
28090 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28091 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
28092 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28093 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
28094 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28095 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
28096 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28097 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
28098 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28099 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
28100 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28101 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
28102 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28103 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
28105 * stdlib/tst-strtod.h (F16): New macro.
28111 (IF_FLOAT16): Likewise.
28112 (IF_FLOAT32): Likewise.
28113 (IF_FLOAT64): Likewise.
28114 (IF_FLOAT32X): Likewise.
28115 (IF_FLOAT64X): Likewise.
28116 (IF_FLOAT128X): Likewise.
28117 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
28118 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
28119 (STRTOD_TEST_FOREACH): Likewise.
28120 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
28121 (CHOOSE_f64): Likewise.
28122 (CHOOSE_f32x): Likewise.
28123 (CHOOSE_f64x): Likewise.
28125 2017-11-07 Andreas Schwab <schwab@suse.de>
28127 * nptl/Makefile (tests-internal): Remove tst-typesizes.
28129 2017-11-07 Mike FABIAN <mfabian@redhat.com>
28132 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
28134 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
28137 2017-11-07 Claude Paroz <claude@2xlibre.net>
28140 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
28142 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
28144 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
28147 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28150 * nptl/allocatestack.c (allocate_stack): Check if
28151 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
28152 __PTHREAD_MUTEX_HAVE_PREV is defined.
28153 * nptl/descr.h (pthread): Likewise.
28154 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28156 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
28157 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
28158 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
28159 * sysdeps/nptl/bits/thread-shared-types.h
28160 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28162 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
28163 of __WORDSIZE for internal layout.
28164 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
28165 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
28166 instead of __WORDSIZE whether to use an union for __spins and __list
28168 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
28170 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
28171 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28173 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
28174 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28176 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
28177 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28179 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
28180 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28182 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
28183 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28185 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
28186 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28188 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
28189 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28191 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
28192 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28194 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
28195 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28197 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
28198 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28200 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
28201 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28203 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
28204 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28206 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
28207 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28209 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
28210 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28212 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
28213 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28216 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
28218 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
28219 checks for expected input type size.
28220 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
28221 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28223 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28224 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
28225 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
28226 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
28227 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
28228 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
28229 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
28230 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
28231 superflous runtime assert check.
28232 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
28234 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
28236 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
28238 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
28240 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
28242 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
28244 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
28245 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
28246 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
28248 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
28250 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
28252 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
28254 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
28256 * nptl/pthread_attr_setinheritsched.c
28257 (__pthread_attr_setinheritsched): Likewise.
28258 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
28260 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
28262 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
28263 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
28264 __old_pthread_attr_setstack): Likewise.
28265 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
28267 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
28269 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
28271 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
28272 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
28274 * nptl/tst-typesizes.c: Remove file.
28276 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
28277 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
28278 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
28279 checks for internal pthread_mutex_t offsets.
28280 * sysdeps/aarch64/nptl/pthread-offsets.h
28281 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
28282 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
28283 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
28284 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
28285 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
28286 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
28287 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
28288 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
28289 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
28290 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
28291 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
28292 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
28293 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
28294 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
28295 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
28296 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
28297 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
28298 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
28300 2017-11-07 Florian Weimer <fweimer@redhat.com>
28302 * bits/mman-linux.h: Move ...
28303 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
28305 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
28308 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28310 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
28311 Redefine STRNLEN as __strnlen_power8.
28313 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28315 * signal/sighold.c (sighold): Optimize implementation.
28317 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
28318 __NR_rt_sigqueueinfo.
28320 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
28322 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
28323 assume __NR_rt_sigtimedwait.
28324 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
28325 and add LIBC_CANCEL_HANDLED for cancellation marking.
28326 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
28328 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28329 (sysdeps_routines): Add memchr_noneon.
28330 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
28331 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
28332 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
28333 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
28334 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
28335 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
28336 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
28338 * sysdeps/arm/arm-ifunc.h: New file.
28339 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
28340 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
28341 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
28342 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
28343 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
28344 (__memcpy_neon): Avoid create hidden alias.
28345 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
28346 (__memcpy_vfp): Likewise.
28347 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28348 (sysdep_routines): Add memcpy_arm.
28349 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
28351 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
28354 * Makerules (make-link-multidir): New.
28355 * config.make.in (multidir): New.
28356 * configure.ac (libc_cv_multidir): New. AC_SUBST.
28357 * configure: Regenerated.
28358 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
28359 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
28360 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
28363 2017-11-06 Joseph Myers <joseph@codesourcery.com>
28366 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
28367 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
28369 2017-11-04 Mike FABIAN <mfabian@redhat.com>
28371 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
28374 2017-11-04 Florian Weimer <fweimer@redhat.com>
28376 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
28378 2017-11-03 Joseph Myers <joseph@codesourcery.com>
28380 * math/math.h [__HAVE_DISTINCT_FLOAT16
28381 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
28382 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
28383 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
28384 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
28385 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
28386 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
28387 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28388 (__MATH_TG_F32): New macro.
28389 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28390 (__MATH_TG_F64X): Likewise.
28391 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28392 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
28394 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
28396 * po/de.po: Update translations.
28397 * po/ru.po: Likewise.
28399 2017-11-03 Florian Weimer <fweimer@redhat.com>
28401 * manual/filesys.texi (Hard Links): Document linkat.
28403 2017-11-03 Joseph Myers <joseph@codesourcery.com>
28405 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
28406 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
28407 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
28408 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
28409 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
28410 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
28411 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
28412 the same as _Float128.
28413 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
28414 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
28415 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
28418 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
28420 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
28422 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
28424 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28425 (strtof32x): Likewise.
28426 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28427 (strtof64x): Likewise.
28428 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28429 (strtof128x): Likewise.
28430 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28431 (strfromf16): Likewise.
28432 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28433 (strfromf32): Likewise.
28434 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28435 (strfromf64): Likewise.
28436 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28437 (strfromf32x): Likewise.
28438 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28439 (strfromf64x): Likewise.
28440 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28441 (strfromf128x): Likewise.
28442 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
28443 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
28444 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
28445 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
28446 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
28447 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
28449 2017-11-03 Richard Henderson <rth@twiddle.net>
28451 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
28453 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28455 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
28457 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28459 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
28460 DT_TLSDESC_GOT initialization.
28461 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
28462 (_dl_tlsdesc_resolve_hold): Likewise.
28463 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
28464 (_dl_tlsdesc_resolve_hold): Likewise.
28465 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
28466 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
28468 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28470 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
28472 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28475 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
28476 non-lazily for R_ARM_TLS_DESC.
28478 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28481 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
28482 R_ARM_TLS_DESC case.
28483 (elf_machine_lazy_rel): Remove the prelink check.
28485 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28487 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
28488 DT_TLSDESC_GOT initialization.
28489 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
28490 (_dl_tlsdesc_resolve_rela): Likewise.
28491 (_dl_tlsdesc_resolve_hold): Likewise.
28492 (_dl_tlsdesc_undefweak): Remove ldar.
28493 (_dl_tlsdesc_dynamic): Likewise.
28494 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
28495 (_dl_tlsdesc_resolve_rela): Likewise.
28496 (_dl_tlsdesc_resolve_hold): Likewise.
28497 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
28498 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
28499 (_dl_tlsdesc_resolve_rela): Likewise.
28500 (_dl_tlsdesc_resolve_hold): Likewise.
28502 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28504 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
28505 binding and initialization non-lazily for R_AARCH64_TLSDESC.
28507 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28509 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
28510 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
28512 2017-11-02 Joseph Myers <joseph@codesourcery.com>
28514 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
28516 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
28517 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
28518 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
28519 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
28520 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
28521 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
28522 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
28523 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
28524 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
28525 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
28526 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
28528 2017-11-02 Mike FABIAN <mfabian@redhat.com>
28531 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
28532 * localedata/locales/tpi_PG: Add standard header.
28534 2017-11-02 Florian Weimer <fweimer@redhat.com>
28536 test-errno-linux: quotactl can fail with EPERM in containers.
28537 * sysdeps/unix/sysv/linux/test-errno-linux.c
28538 (LIST, LIST_FORWARD): New macros.
28539 (check_error_in_list): New function.
28540 (test_wrp_rv): Accept list of permitted error codes.
28541 (test_wrp_rv2): Remove.
28542 (test_wrp): Call test_wrp_rv with list of error codes.
28543 (test_wrp2): Accept list of error codes.
28544 (do_test): Adjust. Allow EPERM for quotactl.
28546 2017-11-02 Florian Weimer <fweimer@redhat.com>
28548 * stdio-common/bug16.c (do_test): Use array_length.
28549 * stdio-common/errlist.c (_sys_nerr): Likewise.
28550 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
28551 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
28552 * stdio-common/psiginfo.c (psiginfo): Use array_length.
28553 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
28554 (do_test): Use array_length.
28555 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
28556 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
28557 * stdio-common/tst-printf-round.c (do_test): Likewise.
28558 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
28559 (CHECK): Use array_length.
28560 * stdio-common/tstdiomisc.c (t3, F): Likewise.
28561 * stdio-common/tstscanf.c (main): Likewise.
28562 * stdio-common/vfprintf.c (process_string_arg): Likewise.
28564 2017-11-02 Florian Weimer <fweimer@redhat.com>
28566 Add array_length and array_end macros.
28567 * include/array_length.h: New file.
28569 2017-11-02 Florian Weimer <fweimer@redhat.com>
28572 * posix/tst-glob-tilde.c (do_noescape): New variable.
28573 (one_test): Process it.
28574 (do_test): Set do_noescape. Add unescaping test case.
28576 2017-11-01 Joseph Myers <joseph@codesourcery.com>
28579 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
28580 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
28581 with appropriate macros defined and undefined.
28582 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
28583 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28584 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
28585 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28586 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
28587 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28588 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
28589 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28590 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
28591 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28594 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
28595 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
28596 that for long double. Do not condition define and undefine of
28597 _Mdouble_complex_ on [__CFLOAT128].
28599 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
28601 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
28602 of <sysdeps/generic/sysdep.h>.
28603 (ALIGNARG): Removed.
28604 (ASM_SIZE_DIRECTIVE): Likewise.
28607 (ENTRY_CHK): Likewise.
28608 (END_CHK): Likewise.
28609 (syscall_error): Likewise.
28610 (mcount): Likewise.
28611 (PSEUDO_END): Likewise.
28613 (atom_text_section): Likewise.
28614 * sysdeps/x86/sysdep.h: New file.
28615 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
28616 of <sysdeps/generic/sysdep.h>.
28617 (ALIGNARG): Removed.
28618 (ASM_SIZE_DIRECTIVE): Likewise.
28621 (ENTRY_CHK): Likewise.
28622 (END_CHK): Likewise.
28623 (syscall_error): Likewise.
28624 (mcount): Likewise.
28625 (PSEUDO_END): Likewise.
28627 (atom_text_section): Likewise.
28629 2017-10-31 Rafał Lużyński <digitalfreak@lingonborough.com>
28631 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
28632 category of LC_CTYPE set to "i18n:2012".
28633 * localedata/locales/i18n_ctype: Regenerate.
28635 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
28637 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
28638 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
28639 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
28640 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
28642 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
28643 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
28644 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
28645 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
28647 2017-10-31 Joseph Myers <joseph@codesourcery.com>
28650 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
28652 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
28654 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
28656 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28657 (CMPLXF32X): Likewise.
28658 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28659 (CMPLXF64X): Likewise.
28660 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28661 (CMPLXF128X): Likewise.
28664 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
28665 (__MATH_EVAL_FMT2): Define to add 0.0f.
28667 2017-10-31 Alan Modra <amodra@gmail.com>
28669 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
28671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
28672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
28673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
28674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
28675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
28676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
28677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
28678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
28679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
28680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
28681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
28682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
28683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
28684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
28685 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
28686 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
28687 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
28688 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
28689 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
28690 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
28691 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
28692 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
28693 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
28694 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
28695 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
28696 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
28697 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
28698 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
28699 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
28700 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
28701 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
28702 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
28703 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
28704 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
28705 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
28706 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
28707 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
28708 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
28709 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
28710 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
28711 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
28712 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
28713 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
28714 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
28715 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
28716 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
28717 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
28718 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
28719 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
28720 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
28721 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
28722 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
28723 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
28724 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
28725 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
28726 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
28727 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
28728 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
28729 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
28730 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
28731 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
28732 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
28733 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
28734 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
28735 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
28736 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
28737 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
28738 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
28739 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
28741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
28742 include sysdep.h and math_ldbl_opt.h.
28744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
28745 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
28746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
28747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
28748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
28749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
28750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
28751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
28752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
28753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
28754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
28755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
28756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
28757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
28758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
28759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
28760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
28761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
28762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
28763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
28764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
28765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
28766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
28767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
28768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
28769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
28771 2017-10-31 Alan Modra <amodra@gmail.com>
28773 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
28774 string/strncase_l.c, not string/strncase.c.
28775 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
28776 (libc_hidden_def): Redefine.
28778 2017-10-31 Alan Modra <amodra@gmail.com>
28780 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
28781 (__STRCMP, STRCMP, __strcasecmp_l): Define.
28782 (__strcasecmp): Don't define.
28784 2017-10-31 Alan Modra <amodra@gmail.com>
28786 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
28788 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
28789 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
28790 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
28792 2017-10-31 Alan Modra <amodra@gmail.com>
28794 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
28797 2017-10-31 Alan Modra <amodra@gmail.com>
28799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
28800 Redefine only when SHARED.
28802 2017-10-30 Joseph Myers <joseph@codesourcery.com>
28804 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
28805 Include <bits/math-finite.h> with appropriate macros defined and
28807 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
28808 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
28809 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
28810 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
28811 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
28813 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
28814 [!_Mlong_double_] (_Mlong_double_): Likewise.
28815 [!_Mfloat16_] (_Mfloat16_): Likewise.
28816 [!_Mfloat32_] (_Mfloat32_): Likewise.
28817 [!_Mfloat64_] (_Mfloat64_): Likewise.
28818 [!_Mfloat128_] (_Mfloat128_): Likewise.
28819 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
28820 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
28821 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
28822 (_Mdouble_): Define without indirection through those macros.
28823 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
28824 [!_Mfloat128_] (_Mfloat128_): Likewise.
28825 [_Mlong_double_] (_Mlong_double_): Likewise.
28826 (_Mdouble_): Define without indirection through those macros.
28827 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
28828 not add -D_Mlong_double_=double.
28829 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
28830 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
28832 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
28834 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
28836 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
28838 * sysdeps/x86/libc-start.c: Reformat.
28840 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
28843 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
28844 (1): Renamed to ...
28847 (L(Src2)): Likewise.
28848 (L(1)): Renamed to ...
28851 2017-10-30 Joseph Myers <joseph@codesourcery.com>
28853 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
28854 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
28855 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
28856 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
28857 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
28858 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
28859 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
28860 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
28861 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
28862 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
28863 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
28864 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
28865 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
28866 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
28867 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
28868 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
28869 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
28870 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
28871 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
28872 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
28873 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
28874 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
28875 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
28876 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
28877 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
28878 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
28879 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
28880 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
28881 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
28882 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
28883 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
28884 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
28885 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
28886 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
28887 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
28888 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
28889 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
28890 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
28891 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
28892 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
28893 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
28894 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
28895 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
28896 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
28897 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
28898 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
28899 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
28900 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
28901 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
28902 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
28903 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
28904 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
28905 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
28906 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
28907 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
28908 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
28909 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
28910 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
28911 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
28912 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
28913 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
28914 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
28915 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
28916 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
28917 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
28918 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
28920 2017-10-30 Florian Weimer <fweimer@redhat.com>
28922 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
28924 * io/tst-mkdirat.c (do_test): Likewise.
28925 * io/tst-mkfifoat.c (do_test): Likewise.
28926 * io/tst-mknodat.c (do_test): Likewise.
28927 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
28928 * locale/programs/locale.c (select_dirs): Likewise.
28929 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
28930 * posix/bug-glob2.c (my_readdir): Likewise.
28931 * posix/tst-dir.c (main): Likewise.
28932 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
28933 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
28935 2017-10-30 Florian Weimer <fweimer@redhat.com>
28937 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
28940 2017-10-30 Florian Weimer <fweimer@redhat.com>
28942 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
28943 Convert to support/test-driver.c.
28944 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
28945 New macro parameters.
28946 (PRINTF): Remove macro. Use test_verbose conditionals instead.
28947 * posix/tst-gnuglob.c: New file.
28948 * posix/tst-gnuglob64.c: Likewise.
28949 * posix/Makefile (tests): Add tst-gnuglob64.
28951 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
28954 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
28955 and use a better translation for March in “mon”.
28956 * localedata/locales/csb_PL: Use more ASCII to improve the
28957 readability of the source.
28959 2017-10-30 Mike FABIAN <mfabian@redhat.com>
28962 * localedata/locales/km_KH: Use ASCII as much
28963 as possible for better readability of the source and
28964 remove useless comments.
28965 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
28966 was commented out and apparently wrong anyway because it was
28967 using Lao characters. If Buddhist era should be used
28968 for km_KH, a native speaker should write the correct formaat
28970 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
28971 (According to CLDR, the first weekday for Cambodia is Sunday).
28972 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
28973 (These were using Lao characters which must be wrong. If we get
28974 the correct data from a native speaker, we could add it back, until
28975 then it is better not to have name_mr and name_mrs at all than
28978 2017-10-27 Rafał Lużyński <digitalfreak@lingonborough.com>
28980 * locale/loadlocale.c: Correct size of
28981 _nl_value_type_LC_<category> arrays.
28983 2017-10-27 Joseph Myers <joseph@codesourcery.com>
28985 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
28986 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
28987 with appropriate macros defined and undefined.
28988 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
28989 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
28990 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
28991 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
28992 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
28994 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
28996 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
28999 2017-10-27 Mike FABIAN <mfabian@redhat.com>
29001 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
29002 with lowercase letters to make it agree with CLDR.
29004 2017-10-27 Mike FABIAN <mfabian@redhat.com>
29007 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
29008 first letters of yesstr and nostr in yesexpr and noexpr,
29009 not for the full words.
29010 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29011 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
29012 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
29013 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
29014 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
29015 first letters of yesstr and nostr in yesexpr and noexpr,
29016 until now only English was matched in yesexpr and noexpr.
29017 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
29018 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
29019 fil but not for tl. As tl and fil are very similar, using fil
29020 is probably better than using English.
29022 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
29025 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
29026 in yesstr and nostr.
29028 2017-10-26 Joseph Myers <joseph@codesourcery.com>
29030 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
29031 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
29032 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
29034 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
29036 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
29038 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
29040 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29041 (SNANF128X): Likewise.
29043 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
29044 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
29045 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29046 (HUGE_VAL_F32): Likewise.
29047 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29048 (HUGE_VAL_F64): Likewise.
29049 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29050 (HUGE_VAL_F32X): Likewise.
29051 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29052 (HUGE_VAL_F64X): Likewise.
29053 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29054 (HUGE_VAL_F128X): Likewise.
29056 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
29058 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
29059 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
29060 for the br_FR locale.
29062 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
29065 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
29067 2017-10-25 Carlos O'Donell <carlos@redhat.com>
29069 * locale/programs/record-status.h: Define globals, and function
29070 prototypes. Move function bodies...
29071 * locale/programs/record-status.c: ... to here. New file.
29072 * iconv/Makefile (iconv_prog-modules): Add record-status.
29073 * locale/Makefile (lib-modules): Likewise.
29074 * iconv/iconv_prog.c: Remove verbose.
29075 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
29076 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
29077 record a warning about ASCII compatibility.
29078 * locale/programs/ld-monetary.c (monetary_finish): If
29079 warn_int_curr_symbol is true then record a warning about the symbol
29080 not being in our ISO 4217 list.
29081 * locale/programs/locale.c: Include record-status.h. Remove verbose.
29082 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
29083 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
29084 (OPT_NO_WARN): Define.
29085 (OPT_WARN): Define.
29086 (options): Add entry for --no-warnings, and --warnings.
29087 (set_warnings): New function to enable/disable warnings.
29088 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
29089 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
29090 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
29091 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
29092 Pass flags to generate_locale.
29093 (generate_locale): Accept new flag argument and pass it to localedef
29095 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
29096 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
29098 * localedata/Makefile (test-input-data): Use full file name.
29099 * localedata/da_DK.in: Rename to...
29100 * localedata/da_DK.ISO-8859-1.in: ...this.
29101 * localedata/de_DE.in: Rename to...
29102 * localedata/de_DE.ISO-8859-1.in: ...this.
29103 * localedata/en_US.in: Rename to...
29104 * localedata/en_US.ISO-8859-1.in: ...this.
29105 * localedata/fr_FR.in: Rename to...
29106 * localedata/fr_FR.UTF-8.in: ... this.
29107 * localedata/hr_HR.in: Rename to...
29108 * localedata/hr_HR.ISO-8859-2.in: ...this.
29109 * localedata/hu_HU.in: Rename to...
29110 * localedata/hu_HU.UTF-8.in: ...this.
29111 * localedata/si_LK.in: Rename to...
29112 * localedata/si_LK.UTF-8.in: ...this.
29113 * localedata/sv_SE.in: Rename to...
29114 * localedata/sv_SE.ISO-8859-1.in: ...this.
29115 * localedata/tr_TR.in: Rename to...
29116 * localedata/tr_TR.UTF-8.in: ...this.
29117 * localedata/uk_UA.in: Rename to...
29118 * localedata/uk_UA.UTF-8.in: ...this.
29119 * localedata/sort-test.sh: Test file is locale name with the
29122 * localedata/unicode-gen/Makefile (check_i18n): Rename to
29123 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
29125 * localedata/locales/i18n_ctype: Regenerate.
29126 * localedata/locales/tr_TR: Likewise.
29127 * localedata/locales/translit_circle: Likewise.
29128 * localedata/locales/translit_cjk_compat: Likewise.
29129 * localedata/locales/translit_combining: Likewise.
29130 * localedata/locales/translit_compat: Likewise.
29131 * localedata/locales/translit_font: Likewise.
29132 * localedata/locales/translit_fraction: Likewise.
29134 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29136 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
29137 lxvd2x/stxvd2x with lvx/stvx.
29138 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
29140 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
29142 * include/alloc_buffer.h: Replace "if if " with "if " in
29144 * sysdeps/mips/memcpy.S: Likkewise.
29145 * sysdeps/mips/memset.S: Likewise.
29146 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
29148 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
29150 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
29153 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29156 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
29157 yesexpr and noexpr.
29158 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29159 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29160 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29161 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29162 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29163 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29164 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29166 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29168 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
29169 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
29170 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
29171 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29172 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29173 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
29174 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29175 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29176 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
29177 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29178 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29179 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29181 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29183 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
29184 as possible for better readability of the source.
29185 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
29186 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
29187 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
29188 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
29189 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
29190 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
29191 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
29192 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
29193 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
29194 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
29195 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
29196 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
29197 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
29198 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
29199 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
29200 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
29201 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
29202 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
29203 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
29204 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
29205 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
29206 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
29207 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
29208 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
29209 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
29210 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
29211 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
29212 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
29213 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
29214 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
29215 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
29216 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
29217 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
29218 * localedata/locales/en_US (LC_MESSAGES): Likewise.
29219 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
29220 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
29221 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
29222 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
29223 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
29224 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
29225 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
29226 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
29227 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
29228 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
29229 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
29230 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
29231 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
29232 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
29233 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
29234 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
29235 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
29236 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
29237 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
29238 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29239 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29240 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
29241 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
29242 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29243 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
29244 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
29245 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
29246 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
29247 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
29248 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
29249 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
29250 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
29251 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
29252 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
29253 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
29254 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
29255 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
29256 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
29257 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
29258 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
29259 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29260 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
29261 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
29262 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
29263 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
29264 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
29265 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
29266 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
29267 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
29268 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29269 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
29270 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
29271 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
29272 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29273 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
29274 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
29275 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
29276 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
29277 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29278 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
29279 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
29280 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29281 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
29282 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29283 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
29284 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
29285 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
29286 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
29287 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
29288 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
29289 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
29290 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
29291 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
29292 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
29293 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
29294 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
29295 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
29296 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
29297 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
29298 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
29299 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
29300 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
29301 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
29302 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
29303 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
29304 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
29305 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
29306 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
29307 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
29308 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
29309 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
29310 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
29311 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
29312 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
29313 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
29314 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
29315 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
29316 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
29317 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
29318 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
29319 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
29320 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
29321 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
29322 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
29323 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
29324 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
29325 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
29326 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
29327 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
29328 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
29329 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
29330 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29331 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
29332 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
29333 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
29334 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
29335 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
29336 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
29337 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
29338 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
29339 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29340 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
29341 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
29342 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
29343 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
29344 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
29345 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
29346 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
29347 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
29348 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
29349 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
29350 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29351 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
29352 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
29353 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
29354 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
29355 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29356 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29357 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29358 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
29360 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29362 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
29363 (Use first letters of yesstr and nostr correctly instead of using
29366 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29368 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
29369 (Use first letters of yesstr and nostr correctly).
29371 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29373 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
29374 also check for the first characters of yesstr and nostr.
29375 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
29376 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
29378 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29380 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
29381 also check for Chinese characters.
29383 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29385 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
29386 match also for the contents of yesstr and nostr. As the first letter
29387 of yesstr and nostr is equal, checking only for the first letter
29390 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29392 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
29393 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
29395 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29397 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
29398 of main contributor.
29400 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29402 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
29403 instead of using English.
29405 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29407 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
29408 by including the first letters of nostr and yesexpr in the regexp.
29409 Also make it more readable by using ASCII where possible.
29411 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29413 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
29414 the first letter of nostr in the regexp. It agrees with CLDR now.
29415 Also make it more readable by using ASCII where possible.
29417 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29419 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
29420 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
29421 these strings contain a U+17D6 (which somewhat looks like a colon)
29422 instead of a real colon to separate the full words for “yes”
29423 and “no” from the single letter responses.
29425 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29427 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
29428 it agree with CLDR (include the first letter of yesstr).
29429 Also make it more readable by using ASCII where possible.
29431 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29433 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
29434 and improve yesexpr and noexpr. The yesstr and nostr apparently
29435 came from CLDR. And CLDR has a bug there: these strings contain
29436 a U+0903 (which looks like a colon) instead of a real colon
29437 to separate the full words for “yes” and “no” from the single
29440 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29442 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
29443 letters of the full yesstr and nostr in yesexpr and noexpr.
29445 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29447 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
29448 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
29449 * localedata/locales/an_ES: Make source more readable by using ASCII
29452 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29455 * localedata/locales/yuw_PG: New file.
29456 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
29457 * locale/iso-639.def: Add Yau (Uruwa).
29459 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
29461 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
29463 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
29465 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
29466 (__libc_realloc): Likewise.
29467 (_mid_memalign): Likewise.
29468 (__libc_calloc): Likewise.
29470 2017-10-23 Mike FABIAN <mfabian@redhat.com>
29472 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
29473 by adding the generic +1 and -0 as in all other locales.
29474 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
29475 day names and make it more readable by using ASCII where possible.
29477 2017-10-24 Joseph Myers <joseph@codesourcery.com>
29479 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
29480 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
29482 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29484 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
29485 WNOHANG in waitpid call.
29487 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
29489 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
29490 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
29492 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
29493 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
29494 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
29495 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
29496 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
29497 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
29498 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
29499 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
29502 2017-10-23 Michael Collison <michael.collison@arm.com>
29504 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
29505 with __builtin_sqrt.
29506 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
29507 with __builtin_sqrtf.
29508 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
29509 with __builtin_ceil.
29510 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
29511 with __builtin_ceilf.
29512 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
29513 with __builtin_floor.
29514 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
29515 with __builtin_floorf.
29516 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
29517 with __builtin_fma.
29518 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
29519 with __builtin_fmaf.
29520 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
29521 with __builtin_fmax.
29522 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
29523 with __builtin_fmaxf.
29524 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
29525 with __builtin_fmin.
29526 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
29527 with __builtin_fminf.
29528 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
29529 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
29530 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
29531 with builtin_rint and conversion to int.
29532 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
29533 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
29534 with builtin_llround.
29535 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
29536 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
29537 with builtin_rint and conversion to long int.
29538 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
29539 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
29540 with builtin_lround.
29541 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
29542 with builtin_lroundf.
29543 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
29544 statements with __builtin_nearbyint.
29545 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
29546 statements with __builtin_nearbyintf.
29547 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
29548 with __builtin_rint.
29549 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
29550 with __builtin_rintf.
29551 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
29552 with __builtin_round.
29553 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
29554 with __builtin_roundf.
29555 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
29556 with __builtin_trunc.
29557 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
29558 with __builtin_truncf.
29559 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
29560 and s_l[l]round[f].c too.
29562 2017-10-23 Alan Modra <amodra@gmail.com>
29564 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
29565 Adjust stack after restoring regs. Add missing LR cfi_restore.
29567 2017-10-23 Alan Modra <amodra@gmail.com>
29569 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
29570 Move LR save and frame setup/teardown and LR restore to
29571 immediately around memset call. Provide cfi.
29573 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29575 * sysdeps/i386/fpu/e_powf.S: Removed.
29576 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
29577 * sysdeps/i386/fpu/w_powf.c: Likewise.
29578 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
29579 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29580 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29582 (CFLAGS-e_powf-sse2.c): New.
29583 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
29584 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
29586 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29588 * sysdeps/i386/fpu/e_log2f.S: Removed.
29589 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
29590 * sysdeps/i386/fpu/w_log2f.c: Likewise.
29591 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
29592 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29593 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29595 (CFLAGS-e_log2f-sse2.c): New.
29596 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
29597 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
29599 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29601 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29603 (CFLAGS-e_powf-fma.c): New.
29604 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
29605 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
29607 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29609 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29611 (CFLAGS-e_log2f-fma.c): New.
29612 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
29613 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
29615 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29617 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29619 (CFLAGS-e_logf-fma.c): New.
29620 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
29621 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
29623 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29625 * sysdeps/i386/fpu/e_logf.S: Removed.
29626 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
29627 * sysdeps/i386/fpu/w_logf.c: Likewise.
29628 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
29629 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
29630 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29631 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29633 (CFLAGS-e_logf-sse2.c): New.
29634 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
29635 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
29637 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29639 * sysdeps/i386/fpu/e_exp2f.S: Removed.
29640 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
29641 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
29642 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29643 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29645 (CFLAGS-e_exp2f-sse2.c): New.
29646 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
29647 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
29649 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29651 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29653 (CFLAGS-e_exp2f-fma.c): New.
29654 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
29655 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
29657 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29659 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
29660 * sysdeps/i386/fpu/e_expf.S: Likewise.
29661 * sysdeps/i386/fpu/math_errf.c: Likewise.
29662 * sysdeps/i386/fpu/w_expf.c: Likewise.
29663 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
29664 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29665 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
29666 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
29667 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29668 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29669 Remove e_expf-ia32.
29670 (CFLAGS-e_expf-sse2.c): New.
29671 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
29672 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
29674 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29676 * sysdeps/x86_64/fpu/e_expf.S: Removed.
29677 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
29678 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
29679 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
29681 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
29683 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
29684 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
29686 (__redirect_expf): This.
29687 (SYMBOL_NAME): Changed to expf.
29688 (__ieee754_expf): Renamed to ...
29690 (__GI___expf): This.
29691 (__ieee754_expf): Add strong_alias.
29692 (__expf_finite): Likewise.
29694 Include <sysdeps/ieee754/flt-32/e_expf.c>.
29696 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
29699 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
29702 2017-10-21 Florian Weimer <fweimer@redhat.com>
29704 * posix/Makefile (tests): Add tst-glob-tilde.
29705 (tests-special): Add tst-glob-tilde-mem.out
29706 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
29707 (tst-glob-tilde-mem.out): Add mtrace check.
29708 * posix/tst-glob-tilde.c: New file.
29710 2017-10-20 Joseph Myers <joseph@codesourcery.com>
29712 * bits/floatn-common.h: New file.
29713 * math/Makefile (headers): Add bits/floatn-common.h.
29714 * bits/floatn.h: Include <bits/floatn-common.h>.
29715 * sysdeps/ia64/bits/floatn.h: Likewise.
29716 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
29717 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
29718 * sysdeps/powerpc/bits/floatn.h: Likewise.
29719 * sysdeps/x86/bits/floatn.h: Likewise.
29721 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29723 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
29724 indicates whether compiler emits an warning for alias for
29725 functions with incompatible types.
29728 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
29729 the auxiliary process is terminated by a signal before calling _exit
29732 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
29735 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
29737 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
29738 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
29739 and bit_arch_XSAVEC_Usable if needed.
29740 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
29741 and bit_arch_Use_dl_runtime_resolve_opt.
29742 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
29744 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
29745 (bit_arch_Prefer_No_AVX512): Updated.
29746 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
29747 (bit_arch_XSAVEC_Usable): New.
29748 (STATE_SAVE_OFFSET): Likewise.
29749 (STATE_SAVE_MASK): Likewise.
29750 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
29751 (cpu_features): Add xsave_state_size and xsave_state_full_size.
29752 (index_arch_Use_dl_runtime_resolve_opt): Removed.
29753 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
29754 (index_arch_XSAVEC_Usable): New.
29755 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
29756 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
29757 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
29759 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
29760 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
29761 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
29762 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
29763 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
29764 _dl_runtime_resolve_xsavec.
29765 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
29767 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
29768 instead of VEC_SIZE.
29769 (REGISTER_SAVE_BND0): Removed.
29770 (REGISTER_SAVE_BND1): Likewise.
29771 (REGISTER_SAVE_BND3): Likewise.
29772 (REGISTER_SAVE_RAX): Always defined to 0.
29774 (_dl_runtime_resolve_avx): Likewise.
29775 (_dl_runtime_resolve_avx_slow): Likewise.
29776 (_dl_runtime_resolve_avx_opt): Likewise.
29777 (_dl_runtime_resolve_avx512): Likewise.
29778 (_dl_runtime_resolve_avx512_opt): Likewise.
29779 (_dl_runtime_resolve_sse): Likewise.
29780 (_dl_runtime_resolve_sse_vex): Likewise.
29782 (_dl_runtime_resolve_fxsave): Likewise.
29783 (USE_XSAVE): Likewise.
29784 (_dl_runtime_resolve_xsave): Likewise.
29785 (USE_XSAVEC): Likewise.
29786 (_dl_runtime_resolve_xsavec): Likewise.
29787 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
29789 (_dl_runtime_resolve_avx512_opt): Likewise.
29790 (_dl_runtime_resolve_avx): Likewise.
29791 (_dl_runtime_resolve_avx_opt): Likewise.
29792 (_dl_runtime_resolve_sse): Likewise.
29793 (_dl_runtime_resolve_sse_vex): Likewise.
29794 (_dl_runtime_resolve_fxsave): New.
29795 (_dl_runtime_resolve_xsave): Likewise.
29796 (_dl_runtime_resolve_xsavec): Likewise.
29798 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
29802 * posix/glob.c (__glob): Fix one-byte overflow.
29804 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
29806 * malloc/malloc.c (sysdep-cancel.h): Add include.
29808 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
29810 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
29812 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
29814 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
29815 (tests): Remove $(objpfx)ga_test depdendency.
29816 * resolv/ga_test.c: Remove file.
29818 2017-10-20 Mike FABIAN <mfabian@redhat.com>
29821 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
29822 * localedata/locales/kab_DZ: New file.
29824 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
29826 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
29827 _dl_relocate_static_pie instead of _dl_start to compute load
29828 address in static PIE.
29830 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
29832 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
29834 2017-10-20 Mike FABIAN <mfabian@redhat.com>
29837 * localedata/SUPPORTED: Add shn_MM/UTF-8.
29838 * localedata/locales/shn_MM: New file.
29840 2017-10-20 Florian Weimer <fweimer@redhat.com>
29843 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
29844 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
29845 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
29846 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
29847 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
29848 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
29850 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
29852 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29854 2017-10-19 Joseph Myers <joseph@codesourcery.com>
29856 * sysdeps/mips/ieee754/bits/floatn.h: New file.
29859 * sysdeps/mips/bits/long-double.h: Move to ....
29860 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
29862 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
29864 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
29866 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
29867 H.J. Lu <hongjiu.lu@intel.com>
29870 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
29871 GLRO(dl_platform) to NULL.
29872 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
29873 (modules-names): Add tst-platformmod-1 and
29874 x86_64/tst-platformmod-2.
29875 (CFLAGS-tst-platform-1.c): New.
29876 (CFLAGS-tst-platformmod-1.c): Likewise.
29877 (CFLAGS-tst-platformmod-2.c): Likewise.
29878 (LDFLAGS-tst-platformmod-2.so): Likewise.
29879 ($(objpfx)tst-platform-1): Likewise.
29880 ($(objpfx)tst-platform-1.out): Likewise.
29881 (tst-platform-1-ENV): Likewise.
29882 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
29883 * sysdeps/x86_64/tst-platform-1.c: New file.
29884 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
29885 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
29887 2017-10-19 Mike FABIAN <mfabian@redhat.com>
29890 * locale/iso-639.def: Add Karbi.
29891 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
29892 * localedata/locales/mjw_IN: New file.
29894 2017-10-18 Joseph Myers <joseph@codesourcery.com>
29896 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
29897 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
29898 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
29899 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
29900 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
29901 (libm_alias_ldouble_other_r): Also create _Float128 alias.
29902 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
29904 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
29905 (libm_alias_ldouble_other_r): Also create _Float128 alias.
29906 * manual/math.texi (Mathematics): Document additional architecture
29907 support for _Float128.
29908 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
29909 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
29910 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
29911 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29912 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29913 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
29914 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
29915 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
29916 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29917 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
29918 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29919 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
29920 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29921 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
29922 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29924 2017-10-18 Renlin Li <renlin.li@arm.com>
29926 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
29927 _DYNAMIC symbol to calculate load address.
29929 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
29931 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
29932 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
29934 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
29935 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
29937 2017-10-18 Mike FABIAN <mfabian@redhat.com>
29940 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
29941 and improve readability by using more ASCII.
29942 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
29943 and improve readability by using more ASCII.
29945 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
29947 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
29948 not all targets support atomics on bool.
29950 2017-10-17 Joseph Myers <joseph@codesourcery.com>
29952 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
29953 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
29955 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
29956 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
29957 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
29958 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
29959 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
29960 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
29962 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29964 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
29967 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
29970 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
29971 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
29972 (do_check_remalloced_chunk): Fix build bug.
29973 (do_check_malloc_state): Add assert that checks arena->top.
29974 (malloc_consolidate): Remove initialization.
29975 (int_mallinfo): Remove call to malloc_consolidate.
29976 (__libc_mallopt): Clarify why malloc_consolidate is needed.
29978 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
29980 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
29981 (have_fastchunks): Remove.
29982 (clear_fastchunks): Remove.
29983 (set_fastchunks): Remove.
29984 (malloc_state): Add have_fastchunks.
29985 (malloc_init_state): Use have_fastchunks.
29986 (do_check_malloc_state): Remove incorrect invariant checks.
29987 (_int_malloc): Use have_fastchunks.
29988 (_int_free): Likewise.
29989 (malloc_consolidate): Likewise.
29991 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
29993 * malloc/malloc.c (tcache_put): Inline.
29994 (tcache_get): Inline.
29996 2017-10-17 Jordi Mallach <jordi@gnu.org>
29998 Aurelien Jarno <aurelien@aurel32.net>
30000 * localedata/locales/ca_ES@valencia: New file.
30001 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
30003 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
30006 * math/math.h: Let signbit use the builtin in C++ mode with gcc
30009 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30011 * scripts/build-many-glibcs.py (Context.add_all_configs):
30012 Add arm-linux-gnueabihf multiarch extra_glibcs.
30014 * sysdeps/generic/ifunc-init.h: New file.
30015 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
30017 2017-10-17 Mike FABIAN <mfabian@redhat.com>
30020 * localedata/locales/el_GR: Set n_cs_precedes to 0.
30021 * localedata/locales/el_CY: copy "el_GR" because it is identical.
30022 * stdlib/tst-strfmon_l.c: adapt test case.
30024 2017-10-16 Joseph Myers <joseph@codesourcery.com>
30026 * sysdeps/generic/float128-abi.h: New file.
30027 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
30028 non-__prefixed symbols to ....
30029 * math/Versions: ... here. Include <float128-abi.h>.
30030 * stdlib/Versions ... and here. Include <float128-abi.h>
30032 2017-10-16 Florian Weimer <fweimer@redhat.com>
30034 * version.h (VERSION): Switch to ".9000" as the development
30037 2017-10-16 Florian Weimer <fweimer@redhat.com>
30040 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
30041 compat_symbol_reference to access non-default version.
30043 2017-10-16 Florian Weimer <fweimer@redhat.com>
30045 * malloc/Makefile (others-extras): Set to mcheck-init.o.
30047 2017-10-16 Carlos O'Donell <carlos@redhat.com>
30049 * include/shlib-compat.h (compat_symbol_reference): Update
30052 2017-10-16 Joseph Myers <joseph@codesourcery.com>
30054 * math/Makefile (test-types): Add
30055 $(type-float128-$(float128-alias-fcts)).
30056 * math/test-float128.h (TYPE_STR): Define conditional on
30057 [FLT128_MANT_DIG == LDBL_MANT_DIG].
30058 (ULP_IDX): Likewise.
30059 (ULP_I_IDX): Likewise.
30061 * stdlib/strtold.c: Include <bits/floatn.h>
30062 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
30063 and later undefine as macro. Define as weak alias if
30065 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
30066 and later undefine as macro. Define as weak alias if
30068 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
30069 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
30070 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
30071 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30072 Define and later undefine as macro. Define as weak alias if
30074 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
30076 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
30077 Define and later undefine as macro. Define as weak alias if
30079 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30080 Define and later undefine as macro. Define as weak alias if
30083 2017-10-15 Carlos O'Donell <carlos@redhat.com>
30085 * localedata/collate-test.c (allocate_arrays): Don't use \n in
30086 record_verbose messages.
30088 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
30091 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
30092 to silence -O3 -Wall warning with GCC 7.
30094 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
30096 * Makeconfig (+link-static-before-libc): Use the first of
30097 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
30098 * gmon/Makefile (tests): Add tst-gmon-static.
30099 (tests-static): Likewise.
30100 (CFLAGS-tst-gmon-static.c): New.
30101 (CRT-tst-gmon-static): Likewise.
30102 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
30103 (tst-gmon-static-ENV): Likewise.
30104 (tests-special): Likewise.
30105 ($(objpfx)tst-gmon-static.out): Likewise.
30106 (clean-tst-gmon-static-data): Likewise.
30107 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
30108 * gmon/tst-gmon-static-gprof.sh: New file.
30109 * gmon/tst-gmon-static.c: Likewise.
30111 2017-10-13 Carlos O'Donell <carlos@redhat.com>
30114 * locale/programs/linereader.c (get_string): Don't warn on
30115 non-symbolic character.
30118 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
30122 * locale/programs/record-status.h: New file
30123 * locale/programs/locale.c: Add comment.
30124 * locale/programs/charmap-dir.c: Don't include error.h.
30125 (charmap_opendir): Use record_error.
30126 * locale/programs/charmap.c: Don't include error.h.
30127 (charmap_read): Use record_error, and record_warning.
30128 (parse_charmap): Likewise.
30129 * locale/programs/ld-address.c: Don't include error.h.
30130 (address_finish): Use record_error, and record_warning.
30131 * locale/programs/ld-collate.c: Don't include error.h.
30132 (collate_finish): Use record_error, and record_error_at_line.
30133 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
30134 (ctype_class_new): Likewise.
30135 (ctype_map_new): Likewise.
30136 (set_one_default): Likewise.
30137 (set_class_defaults): Likewise.
30138 (translit_flatten): Likewise.
30139 (allocate_arrays): Use record_error, and record_verbose.
30140 * locale/programs/ld-identification.c: Don't include error.h.
30141 (indentation_finish): Use record_error and record_warning.
30142 * locale/programs/ld-measurement.c: Don't include error.h.
30143 (measurement_finish): Use record_error.
30144 * locale/programs/ld-messages.c
30145 (message_finish): Likewise.
30146 * locale/programs/ld-monetary.c
30147 (monetary_finish): Likewise.
30148 * locale/programs/ld-name.c (name_finish): Use record_error
30149 and record_warning.
30150 * locale/programs/ld-numeric.c
30151 (numeric_finish): Use record_error.
30152 * locale/programs/ld-paper.c: Don't include error.h.
30153 (paper_finish): Use record_error.
30154 * locale/programs/ld-telephone.c: Don't include error.h.
30155 (telephone_finish): Use record_error.
30156 * locale/programs/ld-time.c (time_finish): Likewise.
30157 * locale/programs/linereader.h (lr_error): Make inline func.
30158 * locale/programs/localedef.c: Define recorded_warning_count,
30159 and recorded_error_count.
30160 (main): Use record_error. Use recorded_error_count and
30161 recorded_warning_count to issue correct error returns.
30162 (add_to_readlist): Use record_error.
30163 (find_locale): Likewise.
30164 (load_locale): Likewise.
30165 * locale/programs/localedef.h: Remove be_quiet
30166 and WITH_CUR_LOCALE.
30167 * locale/programs/locarchive.c (compare_from_file): Use
30169 * locale/programs/locfile.c (write_locale_data): Use
30171 * locale/programs/repertoire.c: Dont include error.h.
30172 (repertoire_complain): Use record_error.
30173 * localedata/tst-fmon.sh: Expect failures from localedef.
30174 * localedata/tst-locale.sh: Likewise.
30175 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
30177 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
30178 (REPORTS): Likewise.
30180 (i18n): Rename to...
30181 (i18n_ctype): ...this.
30182 (i18n-report): Rename to...
30183 (i18n_ctype-report): ...this.
30184 * localedata/locales/i18n_ctype: Regenerate.
30185 * localedata/locales/i18n: copy i18n_ctype.
30187 2017-10-13 Joseph Myers <joseph@codesourcery.com>
30189 * stdlib/strfroml.c: Include <bits/floatn.h>.
30190 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
30191 Define before include of <stdlib.h> and undefine afterwards, then
30192 define as weak alias.
30194 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
30195 Undefine and restore default definition. Use
30196 libm_alias_ldouble_other.
30198 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
30201 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
30204 2017-10-13 James Clarke <jrtc27@jrtc27.com>
30206 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30207 Assign sym_map to be map for local symbols, as TLS relocations
30208 use sym_map to determine whether the symbol is defined and to
30209 extract the TLS information.
30210 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30211 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30213 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30216 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
30217 (math_force_eval): Add powerpc version.
30220 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
30222 (do_test): Likewise.
30223 * stdio-common/tst-printf.sh: Likewise.
30224 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
30225 ifdef clause in order to set the carry bit right. Replace r0 by
30226 0 without changing the behavior.
30228 2017-10-13 Joseph Myers <joseph@codesourcery.com>
30230 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
30231 <libm-alias-ldouble.h>.
30232 (fabsl): Define using libm_alias_ldouble.
30233 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
30234 <libm-alias-ldouble.h>.
30235 (fabsl): Define using libm_alias_ldouble.
30237 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
30238 Remove conditional code.
30240 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
30241 Rename to __clog10_internal_l.
30242 (__clog10_internal_l): Define aliases using
30243 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
30246 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30248 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
30249 * benchtests/sincosf-inputs: New file.
30250 * benchtests/cosf-inputs: New file.
30251 * benchtests/sinf-inputs: New file.
30253 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
30255 * posix/tst-spawn.c (do_test): Wait for both children.
30257 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
30260 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
30261 tests-pie): Add tst-gmon-pie.
30262 (CFLAGS-tst-gmon-pie.c): New.
30263 (CRT-tst-gmon-pie): Likewise.
30264 (tst-gmon-pie-ENV): Likewise.
30265 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
30266 ($(objpfx)tst-gmon-pie.out): Likewise.
30267 (clean-tst-gmon-pie-data): Likewise.
30268 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
30269 * gmon/gmon.c [PIC]: Include <link.h>.
30270 [PIC] (callback): New function.
30271 (write_hist): Add an argument for load address. Subtract load
30273 (write_call_graph): Likewise.
30274 (write_gmon): Call __dl_iterate_phdr to get load address, pass
30275 it to write_hist and write_call_graph.
30276 * gmon/tst-gmon-pie.c: New file.
30278 2017-10-11 Joseph Myers <joseph@codesourcery.com>
30280 * math/Makefile (test-types-basic): New variable.
30281 (test-types): Likewise.
30282 (libm-test-support): Use $(test-types) instead of $(types).
30283 (libm-tests-base-normal): Likewise.
30284 (libm-tests-base-finite): Likewise.
30285 (libm-tests-base-inline): Likewise.
30286 (generated): Likewise.
30287 ($(objpfx)libm-test-support-$(t).c): Likewise.
30288 (libm-tests-for-type iterator): Likewise.
30289 (libm-test-support iterator): Likewise.
30290 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
30291 (ulp_idx): Use ULP_IDX.
30292 * math/test-ldouble.h: Include <float.h>.
30293 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
30294 (ULP_IDX): New macro.
30295 (ULP_I_IDX): Likewise.
30296 * math/test-double.h (ULP_IDX): Likewise.
30297 (ULP_I_IDX): Likewise.
30298 * math/test-float.h (ULP_IDX): Likewise.
30299 (ULP_I_IDX): Likewise.
30300 * math/test-float128.h (ULP_IDX): Likewise.
30301 (ULP_I_IDX): Likewise.
30303 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30305 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
30306 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30307 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30308 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
30309 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30310 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
30311 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
30312 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30313 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30314 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30315 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
30316 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30317 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30318 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30319 (SINGLE_THREAD_BY_GLOBAL): Define.
30320 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30322 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30324 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30326 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30328 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
30329 (SINGLE_THREAD_BY_GLOBAL): Likewise.
30330 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30333 2017-10-11 Andreas Schwab <schwab@suse.de>
30335 * nis/Makefile (aux): Remove.
30336 * nscd/Makefile (aux): Add nscd_hash.
30337 (nscd-modules): Likewise.
30338 ($(objpfx)nscd): Don't depend on libnsl.
30339 * nscd/nscd_hash.c: New file.
30340 * nscd/nscd_hash.h: Likewise.
30341 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
30342 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
30343 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
30344 instead of <nis/rpcsvc/nis.h>.
30345 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
30347 2017-10-11 Florian Weimer <fweimer@redhat.com>
30350 Avoid large NSS buffers with many addresses, aliases.
30351 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
30352 using dynarrays and struct alloc_buffer.
30353 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
30354 (tst-nss-files-hosts-multi): Link with -ldl.
30355 * nss/tst-nss-files-hosts-multi.c: New file.
30357 2017-10-11 Florian Weimer <fweimer@redhat.com>
30360 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
30361 scratch_buffer. Eliminate gotos.
30363 2017-10-11 Joseph Myers <joseph@codesourcery.com>
30365 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
30366 libm_alias_ldouble_other.
30367 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
30368 undefine and redefine.
30369 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
30370 (exp10l): Do not define here.
30371 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
30372 (weak_alias): Undefine and redefine.
30373 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
30374 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30375 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
30376 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
30378 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
30379 [!__fma] (fma): Define using libm_alias_double.
30380 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
30381 [!__fmaf] (fmaf): Define using libm_alias_float.
30382 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
30383 (fmal): Define using libm_alias_ldouble.
30385 2017-10-10 Joseph Myers <joseph@codesourcery.com>
30387 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
30389 (libm_alias_double_other): Likewise.
30390 (libm_alias_double_r): Use libm_alias_double_other_r.
30391 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
30393 (libm_alias_float_other): Likewise.
30394 (libm_alias_float_r): Use libm_alias_float_other_r.
30395 * sysdeps/generic/libm-alias-float128.h
30396 (libm_alias_float128_other_r): New macro.
30397 (libm_alias_float128_other): Likewise.
30398 (libm_alias_float128_r): Use libm_alias_float128_other_r.
30399 * sysdeps/generic/libm-alias-ldouble.h
30400 (libm_alias_ldouble_other_r): New macro.
30401 (libm_alias_ldouble_other): Likewise.
30402 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
30403 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
30404 (libm_alias_double_other_r): New macro.
30405 (libm_alias_double_other): Likewise.
30406 (libm_alias_double_r): Use libm_alias_double_other_r.
30407 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
30408 (libm_alias_ldouble_other_r): New macro.
30409 (libm_alias_ldouble_other): Likewise.
30410 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
30411 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
30412 [!USE_AS_COMPAT]: Use libm_alias_double_other.
30413 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
30414 [!USE_AS_COMPAT]: Use libm_alias_float_other.
30415 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
30416 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
30417 * math/w_exp2f.c: Use libm_alias_float_other.
30418 * math/w_expf.c: Likewise.
30419 * math/w_log2f.c: Likewise.
30420 * math/w_logf.c: Likewise.
30421 * math/w_powf.c: Likewise.
30422 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
30423 [!__exp2f]: Use libm_alias_float_other.
30424 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
30425 [!__expf]: Use libm_alias_float_other.
30426 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
30427 [!__log2f]: Use libm_alias_float_other.
30428 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
30429 [!__logf]: Use libm_alias_float_other.
30430 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
30431 [!__powf]: Use libm_alias_float_other.
30433 2017-10-10 Florian Weimer <fweimer@redhat.com>
30435 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
30437 (_nss_files_gethostbyname3_r): Call it.
30439 2017-10-09 Joseph Myers <joseph@codesourcery.com>
30441 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
30442 error. Remove default definition of declare_mgen_alias.
30443 [!declare_mgen_alias_r]: Likewise.
30444 * sysdeps/generic/math-type-macros-double.h
30445 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
30446 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
30447 (declare_mgen_alias_r): Likewise.
30448 * sysdeps/generic/math-type-macros-float128.h
30449 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
30450 * sysdeps/generic/math-type-macros-ldouble.h
30451 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
30452 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
30454 (declare_mgen_alias_r_s): Likewise.
30455 (declare_mgen_alias_r): Likewise.
30456 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
30457 (lgamma_r): Define using libm_alias_double_r.
30458 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
30459 (lgammaf_r): Define using libm_alias_float_r.
30460 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
30461 (lgammal_r): Define using libm_alias_ldouble_r.
30462 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
30463 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
30465 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30467 * lib/glob.c (__glob_pattern_type): Remove now-spurious
30468 extern declaration.
30470 2017-10-09 Joseph Myers <joseph@codesourcery.com>
30472 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
30474 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
30477 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
30478 [__cplusplus >= 201103] (__USE_ISOC99): Define.
30479 * math/Makefile (test-math-cxx11): New test.
30480 * math/test-math-cxx11.cc: New file.
30482 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
30484 * login/openpty.c (openpty): Close slave pty file descriptor on error.
30486 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
30487 call to allocate the slave pty file descriptor.
30489 2017-10-06 Joseph Myers <joseph@codesourcery.com>
30491 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
30492 [!__fma] (fma): Define using libm_alias_double.
30493 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
30494 [!__fma] (fma): Define using libm_alias_double.
30496 * sysdeps/ieee754/float128/float128_private.h: Include
30497 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
30498 (libm_alias_ldouble_r): Undefine and redefine.
30499 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
30500 <libm-alias-ldouble.h>.
30501 (asinhl): Define using libm_alias_ldouble.
30502 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
30503 <libm-alias-ldouble.h>.
30504 (atanl): Define using libm_alias_ldouble.
30505 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
30506 <libm-alias-ldouble.h>.
30507 (cbrtl): Define using libm_alias_ldouble.
30508 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
30509 <libm-alias-ldouble.h>.
30510 (ceill): Define using libm_alias_ldouble.
30511 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
30512 <libm-alias-ldouble.h>.
30513 (copysignl): Define using libm_alias_ldouble.
30514 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
30515 <libm-alias-ldouble.h>.
30516 (cosl): Define using libm_alias_ldouble.
30517 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
30518 <libm-alias-ldouble.h>.
30519 (erfl): Define using libm_alias_ldouble.
30521 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
30522 <libm-alias-ldouble.h>.
30523 (expm1l): Define using libm_alias_ldouble.
30524 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
30525 <libm-alias-ldouble.h>.
30526 (fabsl): Define using libm_alias_ldouble.
30527 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
30528 <libm-alias-ldouble.h>.
30529 (floorl): Define using libm_alias_ldouble.
30530 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
30531 <libm-alias-ldouble.h>.
30532 (fmal): Define using libm_alias_ldouble.
30533 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
30534 <libm-alias-ldouble.h>.
30535 (frexpl): Define using libm_alias_ldouble.
30536 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
30537 libm_alias_ldouble.
30538 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
30539 <libm-alias-ldouble.h>.
30540 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
30541 libm_alias_ldouble.
30542 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
30543 <libm-alias-ldouble.h>.
30544 (getpayloadl): Define using libm_alias_ldouble.
30545 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
30546 <libm-alias-ldouble.h>.
30547 (llrintl): Define using libm_alias_ldouble.
30548 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
30549 <libm-alias-ldouble.h>.
30550 (llroundl): Define using libm_alias_ldouble.
30551 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
30552 <libm-alias-ldouble.h>.
30553 (logbl): Define using libm_alias_ldouble.
30554 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
30555 <libm-alias-ldouble.h>.
30556 (lrintl): Define using libm_alias_ldouble.
30557 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
30558 <libm-alias-ldouble.h>.
30559 (lroundl): Define using libm_alias_ldouble.
30560 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
30561 <libm-alias-ldouble.h>.
30562 (modfl): Define using libm_alias_ldouble.
30563 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
30564 <libm-alias-ldouble.h>.
30565 (nearbyintl): Define using libm_alias_ldouble.
30566 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
30567 <libm-alias-ldouble.h>.
30568 (nextafterl): Define using libm_alias_ldouble.
30569 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
30570 <libm-alias-ldouble.h>.
30571 (nextupl): Define using libm_alias_ldouble.
30572 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
30573 <libm-alias-ldouble.h>.
30574 (remquol): Define using libm_alias_ldouble.
30575 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
30576 <libm-alias-ldouble.h>.
30577 (rintl): Define using libm_alias_ldouble.
30578 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
30579 <libm-alias-ldouble.h>.
30580 (roundevenl): Define using libm_alias_ldouble.
30581 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
30582 <libm-alias-ldouble.h>.
30583 (roundl): Define using libm_alias_ldouble.
30584 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
30585 using libm_alias_ldouble.
30586 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
30587 <libm-alias-ldouble.h>.
30588 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
30589 Define using libm_alias_ldouble.
30590 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
30591 <libm-alias-ldouble.h>.
30592 (sincosl): Define using libm_alias_ldouble.
30593 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
30594 <libm-alias-ldouble.h>.
30595 (sinl): Define using libm_alias_ldouble.
30596 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
30597 <libm-alias-ldouble.h>.
30598 (tanhl): Define using libm_alias_ldouble.
30599 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
30600 <libm-alias-ldouble.h>.
30601 (tanl): Define using libm_alias_ldouble.
30602 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
30603 <libm-alias-ldouble.h>.
30604 (totalorderl): Define using libm_alias_ldouble.
30605 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
30606 <libm-alias-ldouble.h>.
30607 (totalordermagl): Define using libm_alias_ldouble.
30608 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
30609 <libm-alias-ldouble.h>.
30610 (truncl): Define using libm_alias_ldouble.
30611 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
30612 libm_alias_ldouble.
30613 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
30614 libm_alias_ldouble.
30615 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
30616 <libm-alias-ldouble.h>.
30617 (weak_alias): Do not undefine and redefine.
30618 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
30619 (copysignl): Define with long_double_symbol only if [IS_IN
30621 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
30622 <libm-alias-ldouble.h>.
30623 (weak_alias): Do not undefine and redefine.
30624 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
30625 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
30626 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
30627 <libm-alias-ldouble.h>.
30628 (weak_alias): Do not undefine and redefine.
30629 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
30630 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
30631 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
30632 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
30633 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
30634 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
30635 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
30636 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
30637 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
30638 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
30639 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
30640 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
30641 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
30642 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
30643 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
30644 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
30645 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
30646 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
30647 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
30648 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
30649 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
30650 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
30651 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
30652 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
30653 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
30654 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
30656 2017-10-06 Carlos O'Donell <carlos@redhat.com>
30659 * malloc/malloc.c (tcache_shutting_down): Use bool type.
30660 (tcache_thread_freeres): Set tcache_shutting_down before
30661 freeing the tcache.
30662 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
30663 * malloc/tst-malloc-tcache-leak.c: New file.
30665 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30667 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
30668 back to powerpc32 file.
30669 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
30670 (memrchr): Add __memrchr_power8 to ifunc list.
30671 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
30672 extra bytes for unaligned inputs.
30674 2017-10-06 Joseph Myers <joseph@codesourcery.com>
30676 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
30677 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
30678 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
30679 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
30680 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
30682 2017-10-05 Joseph Myers <joseph@codesourcery.com>
30684 * sysdeps/arm/libm-test-ulps: Update.
30686 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
30687 <libm-alias-ldouble.h>.
30688 (asinhl): Define using libm_alias_ldouble.
30689 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
30690 <libm-alias-ldouble.h>.
30691 (cbrtl): Define using libm_alias_ldouble.
30692 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
30693 <libm-alias-ldouble.h>.
30694 (copysignl): Define using libm_alias_ldouble.
30695 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
30696 <libm-alias-ldouble.h>.
30697 (cosl): Define using libm_alias_ldouble.
30698 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
30699 <libm-alias-ldouble.h>.
30700 (erfl): Define using libm_alias_ldouble.
30702 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
30703 <libm-alias-ldouble.h>.
30704 (fmal): Define using libm_alias_ldouble.
30705 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
30706 <libm-alias-ldouble.h>.
30707 (frexpl): Define using libm_alias_ldouble.
30708 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
30709 libm_alias_ldouble.
30710 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
30711 <libm-alias-ldouble.h>.
30712 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
30713 libm_alias_ldouble.
30714 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
30715 <libm-alias-ldouble.h>.
30716 (getpayloadl): Define using libm_alias_ldouble.
30717 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
30718 <libm-alias-ldouble.h>.
30719 (llrintl): Define using libm_alias_ldouble.
30720 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
30721 <libm-alias-ldouble.h>.
30722 (llroundl): Define using libm_alias_ldouble.
30723 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
30724 <libm-alias-ldouble.h>.
30725 (lrintl): Define using libm_alias_ldouble.
30726 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
30727 <libm-alias-ldouble.h>.
30728 (lroundl): Define using libm_alias_ldouble.
30729 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
30730 <libm-alias-ldouble.h>.
30731 (modfl): Define using libm_alias_ldouble.
30732 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
30733 <libm-alias-ldouble.h>.
30734 (nextupl): Define using libm_alias_ldouble.
30735 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
30736 <libm-alias-ldouble.h>.
30737 (remquol): Define using libm_alias_ldouble.
30738 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
30739 <libm-alias-ldouble.h>.
30740 (roundevenl): Define using libm_alias_ldouble.
30741 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
30742 <libm-alias-ldouble.h>.
30743 (roundl): Define using libm_alias_ldouble.
30744 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
30745 using libm_alias_ldouble.
30746 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
30747 <libm-alias-ldouble.h>.
30748 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
30749 <libm-alias-ldouble.h>.
30750 (setpayloadsigl): Define using libm_alias_ldouble.
30751 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
30752 <libm-alias-ldouble.h>.
30753 (sincosl): Define using libm_alias_ldouble.
30754 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
30755 <libm-alias-ldouble.h>.
30756 (sinl): Define using libm_alias_ldouble.
30757 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
30758 <libm-alias-ldouble.h>.
30759 (tanhl): Define using libm_alias_ldouble.
30760 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
30761 <libm-alias-ldouble.h>.
30762 (tanl): Define using libm_alias_ldouble.
30763 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
30764 <libm-alias-ldouble.h>.
30765 (totalorderl): Define using libm_alias_ldouble.
30766 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
30767 <libm-alias-ldouble.h>.
30768 (totalordermagl): Define using libm_alias_ldouble.
30769 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
30770 libm_alias_ldouble.
30771 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
30772 libm_alias_ldouble.
30774 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
30776 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
30778 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
30779 (__libc_ifunc_impl_list): Likewise.
30780 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
30781 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
30783 * benchtests/bench-memmove-walk.c: New file.
30784 * benchtests/Makefile (string-benchset): Add it.
30786 * benchtests/bench-memset-walk.c: New file.
30787 * benchtests/Makefile (string-benchset): Add it.
30789 * benchtests/bench-memcpy-walk.c: New file.
30790 * benchtests/Makefile (string-benchset): Add it.
30792 2017-10-05 Florian Weimer <fweimer@redhat.com>
30794 nscd: Eliminate compilation time dependency in the build output.
30795 * nscd/nscd_stat.c (STATDATA_VERSION)
30796 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
30797 (STATDATA_VERSION_FULL): New macro definitions.
30798 (compilation): Remove.
30799 (struct statdata): Adjust version member.
30800 (send_stats): Set version from STATDATA_VERSION_FULL.
30801 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
30803 2017-10-05 Joseph Myers <joseph@codesourcery.com>
30805 * configure.ac (--enable-add-ons): Remove option.
30806 (machine): Do not mention add-ons in comment.
30807 (LIBC_PRECONFIGURE): Likewise.
30808 (add_ons): Remove variable and sanity checks and logic to locate
30810 (add_ons_automatic): Remove variable.
30811 (configured_add_ons): Likewise.
30812 (add_ons_sfx): Likewise.
30813 (add_ons_pfx): Likewise.
30814 (add_on_subdirs): Likewise.
30815 (sysnames_add_ons): Likewise. Remove loop over add-ons and
30816 consideration of add-ons in Implies handling.
30817 (sysdeps_add_ons): Likewise.
30818 * configure: Regenerated.
30819 * libidn/configure.ac: Remove.
30820 * libidn/configure: Likewise.
30821 * sysdeps/unix/inet/configure.ac: New file.
30822 * sysdeps/unix/inet/configure: New generated file.
30823 * sysdeps/unix/inet/Subdirs: Add libidn.
30824 * Makeconfig (sysdeps-srcdirs): Remove variable.
30825 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
30826 ($(common-objpfx)config.status): Do not depend on add-on files.
30827 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
30829 (all-subdirs): Do not include $(add-on-subdirs).
30830 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
30831 * config.make.in (add-ons): Remove variable.
30832 (add-on-subdirs): Likewise.
30833 (sysdeps-add-ons): Likewise.
30834 * manual/Makefile (add-chapters): Remove.
30835 ($(objpfx)texis): Do not depend on $(add-chapters).
30836 (nonexamples): Do not handle $(add-chapters).
30837 (examples): Do not handle $(add-ons).
30838 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
30840 * manual/install.texi (Installation): Do not mention add-ons.
30841 (--enable-add-ons): Do not document configure option.
30842 * INSTALL: Regenerated.
30843 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
30844 * manual/maint.texi (Hierarchy Conventions): Do not mention
30846 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
30848 * scripts/gen-sorted.awk: Do not handle Subdirs files from
30850 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
30851 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
30853 2017-10-05 Andreas Schwab <schwab@suse.de>
30856 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
30857 (_IO_flush_all_lockp): Always lock list_all_lock.
30858 (_IO_flush_all_linebuffered): Likewise.
30859 (_IO_unbuffer_all): Likewise.
30861 2017-10-05 Florian Weimer <fweimer@redhat.com>
30864 Do not flush stdio streams on abort.
30865 * stdlib/abort.c (fflush): Remove macro definition.
30866 (abort): Remove stages related to stdio flushing.
30868 2017-10-05 Florian Weimer <fweimer@redhat.com>
30870 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
30872 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
30874 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
30876 2017-10-05 Florian Weimer <fweimer@redhat.com>
30878 * support/support_format_hostent.c (support_format_hostent): Add
30879 more error information for NETDB_INTERNAL.
30881 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
30883 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
30884 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
30885 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
30886 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
30887 AC_DEFINE if multi-arch is enabled.
30888 * sysdeps/i386/configure: Regenerated.
30890 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
30892 * Makeconfig (+link-static-before-libc): Use
30893 $(DEFAULT-LDFLAGS-$(@F)).
30894 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
30895 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
30896 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
30898 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
30900 * elf/Makefile (tests): Add tst-main1.
30901 (modules-names): Add tst-main1mod.
30902 ($(objpfx)tst-main1): New.
30903 (CRT-tst-main1): Likewise.
30904 (LDFLAGS-tst-main1): Likewise.
30905 (LDLIBS-tst-main1): Likewise.
30906 (tst-main1mod.so-no-z-defs): Likewise.
30907 * elf/tst-main1.c: New file.
30908 * elf/tst-main1mod.c: Likewise.
30910 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
30912 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
30914 2017-10-04 Joseph Myers <joseph@codesourcery.com>
30916 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
30917 (fma): Define using libm_alias_double.
30918 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
30919 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
30921 (fmal): Do not define as compat symbol here.
30922 * sysdeps/alpha/fpu/s_fma.c: New file.
30924 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
30926 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
30928 2017-10-04 Joseph Myers <joseph@codesourcery.com>
30931 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
30933 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
30935 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
30936 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
30937 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
30938 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
30939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
30940 Include <math_ldbl_opt.h>
30941 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
30943 (compat_symbol): Undefine and redefine.
30944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
30946 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
30947 (compat_symbol): Undefine and redefine.
30948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
30949 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
30950 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
30951 GLIBC_2_1 for libm.
30952 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
30953 GLIBC_2.0 copysignl symbol.
30954 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
30955 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
30957 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
30959 2017-10-04 Florian Weimer <fweimer@redhat.com>
30961 * scripts/check-local-headers.sh: Ignore nspr4 header file
30962 directory in addition to nspr.
30964 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
30967 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
30968 * configure: Regenerate.
30969 * crypt/Makefile (nss-cpp-flags): New variable.
30970 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
30971 (CPPFLAGS-md5-crypt.c): Use it.
30972 * scripts/check-local-headers.sh: Ignore nspr header file
30975 2017-10-04 Andreas Schwab <schwab@suse.de>
30977 * nis/Makefile (services): Remove compat.
30978 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
30979 ($(objpfx)libnss_compat.so): Remove rule.
30980 * nis/Versions (libnss_compat): Remove.
30981 * nss/Makefile (services): Add compat.
30982 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
30983 * nss/Versions (libnss_compat): Define.
30984 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
30985 Don't include <rpc/types.h>. Replace bool_t by bool.
30986 * nss/nss_compat/compat-initgroups.c: Likewise.
30987 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
30988 instead of <rpcsrv/ypclnt.h>.
30989 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
30990 yp_get_default_domain.
30991 * nss/nss_compat/compat-pwd.c: Likewise.
30992 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
30993 yp_get_default_domain.
30994 * nss/nss_compat/nisdomain.c: New file.
30995 * nss/nss_compat/nisdomain.h: Likewise.
30997 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31000 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
31001 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31003 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31006 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
31007 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
31009 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31011 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
31012 "movl main@GOTOFF(%ebx), %eax".
31014 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31016 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
31017 allow undefined _DYNAMIC in PIE libc.a.
31018 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
31021 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31023 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
31026 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31028 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
31031 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31033 * math/test-math-iscanonical.cc (error): Replace bool with int.
31035 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31037 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
31038 (modf): Define using libm_alias_double, only if [!__modf].
31039 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
31040 <libm-alias-double.h>.
31041 (modf): Define using libm_alias_double, only if [!__modf].
31042 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
31043 compat symbol here.
31044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
31045 (weak_alias): Do not undefine and redefine.
31046 (strong_alias): Likewise.
31047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
31048 (weak_alias): Likewise.
31049 (strong_alias): Likewise.
31051 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
31052 (logb): Define using libm_alias_double, only if [!__logb].
31053 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
31054 <libm-alias-double.h>.
31055 (logb): Define using libm_alias_double, only if [!__logb].
31056 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
31057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
31058 (weak_alias): Do not undefine and redefine.
31059 (strong_alias): Likewise.
31060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
31061 (weak_alias): Likewise.
31062 (strong_alias): Likewise.
31064 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31066 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
31067 Check SHARED instead PIC.
31069 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31071 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
31072 [!__fmaf] (fmaf): Define using libm_alias_float.
31074 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
31075 (frexp): Define using libm_alias_double.
31076 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
31077 <libm-alias-double.h>.
31078 (frexp): Define using libm_alias_double.
31079 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
31080 compat symbol here.
31082 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31085 * math/math.h: Trivial fix for unbalanced parentheses in comment.
31086 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
31087 (CFLAGS-test-math-iscanonical.cc): New variable.
31088 * math/test-math-iscanonical.cc: New file.
31089 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
31090 Provide a C++ implementation based on function overloading,
31091 rather than using __MATH_TG, which uses C-only builtins.
31092 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
31094 * sysdeps/powerpc/powerpc64le/Makefile
31095 (CFLAGS-test-math-iscanonical.cc): New variable.
31097 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31099 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
31100 (ceil): Define using libm_alias_double.
31101 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
31102 (floor): Define using libm_alias_double.
31103 * sysdeps/ieee754/dbl-64/s_llround.c: Include
31104 <libm-alias-double.h>.
31105 (llround): Define using libm_alias_double.
31106 * sysdeps/ieee754/dbl-64/s_lround.c: Include
31107 <libm-alias-double.h>.
31108 (lround): Define using libm_alias_double.
31109 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
31110 <libm-alias-double.h>.
31111 (nearbyint): Define using libm_alias_double.
31112 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
31113 <libm-alias-double.h>.
31114 (remquo): Define using libm_alias_double.
31115 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
31116 (rint): Define using libm_alias_double.
31117 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
31118 (round): Define using libm_alias_double.
31119 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
31120 (trunc): Define using libm_alias_double.
31121 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
31122 <libm-alias-double.h>.
31123 (ceil): Define using libm_alias_double.
31124 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
31125 <libm-alias-double.h>.
31126 (floor): Define using libm_alias_double.
31127 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
31128 <libm-alias-double.h>.
31129 (llround): Define using libm_alias_double.
31130 [_LP64] (lround): Likewise.
31131 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
31132 <libm-alias-double.h>.
31133 [!_LP64] (lround): Define using libm_alias_double.
31134 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
31135 <libm-alias-double.h>.
31136 (nearbyint): Define using libm_alias_double.
31137 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
31138 <libm-alias-double.h>.
31139 (remquo): Define using libm_alias_double.
31140 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
31141 <libm-alias-double.h>.
31142 (rint): Define using libm_alias_double.
31143 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
31144 <libm-alias-double.h>.
31145 (round): Define using libm_alias_double.
31146 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
31147 <libm-alias-double.h>.
31148 (trunc): Define using libm_alias_double.
31149 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
31150 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
31151 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
31152 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
31153 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
31154 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
31155 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
31156 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
31157 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
31159 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
31161 * math/w_remainder.c: New file.
31162 * math/w_remainderf.c: New file.
31163 * math/w_remainderl.c: New file.
31165 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31167 * elf/rtld.c (BOOTSTRAP_MAP): New.
31168 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
31169 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31171 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31173 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31176 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31178 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
31179 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
31180 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
31181 rtld_hidden_data_ver): Define to empty.
31182 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
31183 __assert_perror_fail): Likewise.
31184 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31185 (__rewinddir): Likewise.
31186 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31187 (__profile_frequency): Likewise.
31188 * include/setjmp.h (__sigsetjmp): Likewise.
31189 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
31190 __libc_sigaction): Likewise.
31191 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
31192 not set hidden attribute.
31193 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
31194 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
31195 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
31196 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
31197 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
31198 __fxstatat64): Likewise.
31199 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31200 (__uname): Likewise.
31201 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31202 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
31203 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
31204 (NO_RTLD_HIDDEN): Set.
31205 * sysdeps/mach/hurd/configure: Refresh.
31206 * config.h.in: Refresh.
31208 2017-10-02 Joseph Myers <joseph@codesourcery.com>
31210 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
31211 (atan): Define using libm_alias_double.
31212 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
31213 (tan): Define using libm_alias_double.
31214 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
31215 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
31217 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
31218 define as weak alias of __atan. Do not define any aliases if
31220 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
31221 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
31222 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
31223 as weak alias of __tan. Do not define any aliases if [__tan].
31224 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
31225 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
31226 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
31228 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
31229 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
31230 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
31231 and define as weak alias of __atan.
31232 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
31234 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
31235 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
31236 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
31237 define as weak alias of __tan.
31239 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31241 * math/w_lgamma.c: New file.
31242 * math/w_lgammaf.c: New file.
31243 * math/w_lgammal.c: New file.
31245 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31247 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
31248 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
31249 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
31250 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
31251 * sysdeps/ieee754/flt-32/w_logf.c: New file.
31252 * sysdeps/ieee754/flt-32/w_powf.c: New file.
31253 * sysdeps/i386/fpu/w_log2f.c: New file.
31254 * sysdeps/i386/fpu/w_logf.c: New file.
31255 * sysdeps/i386/fpu/w_powf.c: New file.
31256 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
31257 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
31258 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
31260 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31261 H.J. Lu <hongjiu.lu@intel.com>
31263 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
31264 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
31265 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
31266 * sysdeps/ieee754/flt-32/w_expf.c: New file.
31267 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
31269 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
31270 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
31271 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
31272 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
31273 * sysdeps/i386/fpu/w_exp2f.c: New file.
31274 * sysdeps/i386/fpu/w_expf.c: New file.
31275 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
31276 * sysdeps/x86_64/fpu/w_expf.c: New file.
31278 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31280 * math/Versions (logf): New libm symbol at GLIBC_2.27.
31283 * math/w_log2f.c: New file.
31284 * math/w_logf.c: New file.
31285 * math/w_powf.c: New file.
31286 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
31287 * math/w_logf_compat.c (__logf_compat): Likewise.
31288 * math/w_powf_compat.c (__powf_compat): Likewise.
31289 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
31290 * sysdeps/ia64/fpu/e_logf.S: Likewise.
31291 * sysdeps/ia64/fpu/e_powf.S: Likewise.
31292 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
31293 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
31294 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
31295 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
31296 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
31297 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
31298 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
31299 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
31300 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
31301 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
31302 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
31303 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
31304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
31306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
31310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
31312 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
31313 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
31314 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
31315 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
31316 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
31317 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
31319 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
31321 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
31322 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
31323 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
31325 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31327 * sysdeps/powerpc/powerpc64/multiarch/Makefile
31328 (sysdep_routines): Add memrchr_power8.
31329 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31330 (memrchr): Add __memrchr_power8 to list of memrchr functions.
31331 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
31333 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
31334 (memrchr): Add __memrchr_power8 to ifunc list.
31335 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
31337 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31340 * sysdeps/unix/sysv/linux/posix_fadvise64.c
31341 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
31343 * sysdeps/unix/sysv/linux/posix_fallocate64.c
31344 (__posix_fallocate64_l64): Likewise.
31346 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31349 * sysdeps/unix/sysv/linux/sched_setaffinity.c
31350 (__sched_setaffinity_new): Add libc_hidden_proto and
31353 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31356 * include/glob.h (__glob64): Add libc_hidden_proto.
31357 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
31360 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31363 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
31366 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31369 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
31371 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31374 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
31377 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31380 * csu/version.c (__libc_print_version): Add attribute_hidden.
31382 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31385 * include/libc-internal.h (__init_misc): Add attribute_hidden.
31387 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31390 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
31392 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31395 * nscd/nscd_helper.c (__nis_hash): New prototype.
31397 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31400 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
31401 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
31403 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
31404 * termios/tcgetattr.c (__tcgetattr): Likewise.
31406 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31409 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
31410 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
31411 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
31412 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
31413 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
31415 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31418 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
31420 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31423 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
31424 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
31426 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31429 * intl/hash-string.h (__hash_string): Add attribute_hidden.
31431 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31434 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
31435 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
31437 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31440 * include/ifreq.h: New file.
31441 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
31442 (__ifreq): Likewise.
31443 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
31444 (__ifreq): Likewise.
31446 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31449 * include/idna.h: New file.
31450 * inet/getnameinfo.c: Include <idna.h> instead of
31452 (__idna_to_unicode_lzlz): Removed.
31453 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
31455 (__idna_to_ascii_lz): Removed.
31456 (__idna_to_unicode_lzlz): Likewise.
31458 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31461 * include/plural-exp.h: New file.
31462 * intl/plural-exp.c: Include <plural-exp.h> instead of
31465 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31468 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
31469 "getsourcefilter.h".
31470 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
31471 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
31472 "getsourcefilter.h".
31473 (__get_sol): Removed.
31475 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31478 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
31480 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
31482 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31485 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
31488 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31491 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
31493 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31496 * include/search.h (__tdestroy): Add libc_hidden_proto.
31497 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
31499 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31502 * include/assert.h (__assert_fail_base): Add attribute_hidden.
31504 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31507 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
31510 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31513 * include/signal.h (__kill): Add libc_hidden_proto.
31514 (__sigblock): Likewise.
31515 (__sigprocmask): Likewise.
31516 (__sigaltstack): Likewise.
31517 * signal/kill.c (__kill): Add libc_hidden_def.
31518 * signal/sigblock.c (__sigblock): Likewise.
31519 * signal/sigprocmask.c (__sigprocmask): Likewise.
31520 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
31521 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
31522 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
31523 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
31524 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
31526 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
31528 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
31529 (__sigprocmask): Likewise.
31530 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
31532 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
31533 (__sigprocmask): Likewise.
31534 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
31537 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31540 * include/string.h (__strsep): Add libc_hidden_proto.
31541 * string/strsep.c (__strsep): Add libc_hidden_def.
31543 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31546 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
31548 (__spawni): Likewise.
31550 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31553 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
31554 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
31557 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31560 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
31562 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31565 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
31566 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
31567 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
31568 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
31569 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
31571 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
31572 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
31574 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31577 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
31578 (__dcigettext): Likewise.
31580 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31583 * include/sys/sysinfo.h (__get_nprocs_conf): Add
31585 (__get_nprocs): Likewise.
31586 (__get_phys_pages): Likewise.
31587 (__get_avphys_pages): Likewise.
31588 (__get_child_max): Add attribute_hidden.
31589 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
31590 (__get_nprocs): Likewise.
31591 (__get_phys_pages): Likewise.
31592 (__get_avphys_pages): Likewise.
31593 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
31595 (__get_nprocs): Likewise.
31596 (__get_phys_pages): Likewise.
31597 (__get_avphys_pages): Likewise.
31598 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
31600 (__get_nprocs_conf): Likewise.
31601 (__get_phys_pages): Likewise.
31602 (__get_avphys_pages): Likewise.
31604 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31607 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
31609 (__netlink_close): Likewise.
31610 (__netlink_free_handle): Likewise.
31611 (__netlink_request): Likewise.
31613 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31616 * include/rpc/rpc.h (__rpc_thread_variables): Add
31618 (__rpc_thread_svc_cleanup): Likewise.
31619 (__rpc_thread_clnt_cleanup): Likewise.
31620 (__rpc_thread_key_cleanup): Likewise.
31622 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31625 * include/sys/uio.h (__readv): Add libc_hidden_proto.
31626 (__writev): Likewise.
31627 * misc/readv.c (__readv): Add libc_hidden_def.
31628 * misc/writev.c (__writev): Likewise.
31629 * sysdeps/posix/readv.c (__readv): Likewise.
31630 * sysdeps/posix/writev.c (__writev): Likewise.
31631 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
31632 (__readv): Likewise.
31633 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
31634 (__writev): Likewise.
31636 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31639 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
31640 (__regcomp): Add libc_hidden_proto.
31641 (__regexec): Likewise.
31642 (__regfree): Likewise.
31643 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
31644 (__regfree): Likewise.
31645 * posix/regexec.c (__regexec): Likewise.
31647 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31650 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
31651 (__getutent): Likewise.
31652 (__getutid): Likewise.
31653 (__getutline): Likewise.
31654 (__pututline): Likewise.
31655 (__getutent_r): Likewise.
31656 (__getutid_r): Likewise.
31657 (__getutline_r): Likewise.
31658 (__utmpname): Add attribute_hidden.
31659 (__setutent): Likewise.
31660 (__endutent): Likewise.
31661 * login/getutent.c (__getutent): Add libc_hidden_def.
31662 * login/getutent_r.c (__getutent_r): Likewise.
31663 (__pututline): Likewise.
31664 * login/getutid.c (__getutid): Likewise.
31665 * login/getutid_r.c (__getutid_r): Likewise.
31666 * login/getutline.c (__getutline): Likewise.
31667 * login/getutline_r.c (__getutline_r): Likewise.
31668 * login/updwtmp.c (__updwtmp): Likewise.
31670 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31673 * include/dirent.h (__opendir): Always add attribute_hidden.
31674 (__fdopendir): Likewise.
31675 (__closedir): Likewise.
31676 (__readdir): Likewise.
31677 (__readdir64): Add libc_hidden_proto.
31678 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
31679 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
31680 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
31681 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
31684 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31687 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
31688 * include/netdb.h (__gethostbyaddr_r): Likewise.
31689 (__gethostbyname_r): Likewise.
31690 (__gethostbyname2_r): Likewise.
31691 (__getnetbyaddr_r): Likewise.
31692 (__getnetbyname_r): Likewise.
31693 (__getservbyname_r): Likewise.
31694 (__getservbyport_r): Likewise.
31695 (__getprotobyname_r): Likewise.
31696 (__getprotobynumber_r): Likewise.
31697 (__getnetgrent_r): Likewise.
31698 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
31699 (__getrpcbynumber_r): Likewise.
31700 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
31702 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31705 * include/stdio.h (__fcloseall): Add attribute_hidden.
31706 (__getline): Likewise.
31707 (__path_search): Likewise.
31708 (__gen_tempname): Likewise.
31709 (__libc_message): Likewise.
31710 (__flockfile): Likewise.
31711 (__funlockfile): Likewise.
31712 (__fxprintf): Likewise.
31713 (__fxprintf_nocancel): Likewise.
31715 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31718 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
31719 (__sgetsgent_r): Likewise.
31721 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31724 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
31725 (__statfs64): Likewise.
31726 (__fstatfs64): Likewise.
31727 * include/sys/statvfs.h (__statvfs64): Likewise.
31728 (__fstatvfs64): Likewise.
31729 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
31730 (__statfs_filesize_max): Likewise.
31731 (__statfs_symlinks): Likewise.
31732 (__statfs_chown_restricted): Likewise.
31734 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31737 * include/time.h (__tzstring): Add attribute_hidden.
31738 (__tzfile_read): Likewise.
31739 (__tzfile_compute): Likewise.
31740 (__tzfile_default): Likewise.
31741 (__tzset_parse_tz): Likewise.
31742 (__offtime): Likewise.
31743 (__asctime_r): Likewise.
31744 (__tzset): Likewise.
31745 (__tz_convert): Likewise.
31746 (__getdate_r): Likewise.
31747 (__getclktck): Likewise.
31749 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31752 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
31753 (__nscd_unmap): Likewise.
31754 (__nscd_cache_search): Likewise.
31755 (__nscd_get_nl_timestamp): Likewise.
31756 (__nscd_getpwnam_r): Likewise.
31757 (__nscd_getpwuid_r): Likewise.
31758 (__nscd_getgrnam_r): Likewise.
31759 (__nscd_getgrgid_r): Likewise.
31760 (__nscd_gethostbyname_r): Likewise.
31761 (__nscd_gethostbyname2_r): Likewise.
31762 (__nscd_gethostbyaddr_r): Likewise.
31763 (__nscd_getai): Likewise.
31764 (__nscd_getgrouplist): Likewise.
31765 (__nscd_getservbyname_r): Likewise.
31766 (__nscd_getservbyport_r): Likewise.
31767 (__nscd_innetgr): Likewise.
31768 (__nscd_setnetgrent): Likewise.
31770 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31773 * include/gmp.h: Declare internal functions only if _ISOMAC is
31775 (__mpn_extract_double): Add attribute_hidden.
31776 (__mpn_extract_long_double): Likewise.
31777 (__mpn_extract_float128): Likewise.
31778 (__mpn_construct_float): Likewise.
31779 (__mpn_construct_double): Likewise.
31780 (__mpn_construct_long_double): Likewise.
31781 (__mpn_construct_float128): Likewise.
31782 (mpn_add_1): Likewise.
31783 (mpn_addmul_1): Likewise.
31784 (mpn_add_n): Likewise.
31785 (mpn_cmp): Likewise.
31786 (mpn_divrem): Likewise.
31787 (mpn_lshift): Likewise.
31788 (mpn_mul): Likewise.
31789 (mpn_mul_1): Likewise.
31790 (mpn_rshift): Likewise.
31791 (mpn_sub_1): Likewise.
31792 (mpn_submul_1): Likewise.
31793 (mpn_sub_n): Likewise.
31795 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31798 * include/wchar.h (__wcsnlen): Add attribute_hidden.
31799 (__wcscat): Likewise.
31800 (__btowc): Likewise.
31801 (__wcrtomb): Likewise.
31802 (__mbsrtowcs): Likewise.
31803 (__wcsrtombs): Likewise.
31804 (__mbsnrtowcs): Likewise.
31805 (__wcsnrtombs): Likewise.
31806 (__wcsncpy): Likewise.
31807 (__wcpncpy): Likewise.
31808 (__wmemcpy): Likewise.
31809 (__wmempcpy): Likewise.
31810 (__wmemmove): Likewise.
31811 (__wcschrnul): Likewise.
31812 (__vfwscanf): Likewise.
31813 (__vswprintf): Likewise.
31814 (__fwprintf): Likewise.
31815 (__vfwprintf): Likewise.
31817 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31820 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
31821 (__getgrgid_r): Likewise.
31822 (__getgrnam_r): Likewise.
31823 * include/pwd.h (__getpwuid_r): Likewise.
31824 (__getpwnam_r): Likewise.
31825 (__fgetpwent_r): Likewise.
31826 * include/shadow.h (__getspnam_r): Likewise.
31827 (__sgetspent_r): Likewise.
31828 (__fgetspent_r): Likewise.
31830 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31833 * include/unistd.h (__access): Add attribute_hidden.
31834 (__lseek64): Likewise.
31835 (__libc_pread64): Likewise.
31836 (__pipe2): Likewise.
31837 (__sleep): Likewise.
31838 (__chdir): Likewise.
31839 (__fchdir): Likewise.
31840 (__getcwd): Likewise.
31841 (__rmdir): Likewise.
31842 (__execvpe): Likewise.
31843 (__execve): Likewise.
31844 (__setsid): Likewise.
31845 (__getuid): Likewise.
31846 (__geteuid): Likewise.
31847 (__getgid): Likewise.
31848 (__getegid): Likewise.
31849 (__getgroups): Likewise.
31850 (__group_member): Likewise.
31851 (__ttyname_r): Likewise.
31852 (__isatty): Likewise.
31853 (__readlink): Likewise.
31854 (__unlink): Likewise.
31855 (__gethostname): Likewise.
31856 (__profil): Likewise.
31857 (__getdtablesize): Likewise.
31859 (__ftruncate): Likewise.
31860 (__ftruncate64): Likewise.
31862 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31865 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
31866 * argp/argp-fs-xinl.c: Likewise.
31867 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
31868 * argp/argp-parse.c: Include <argp.h>.
31869 * argp/argp-xinl.c: Likewise.
31870 * include/argp-fmtstream.h: New file.
31871 * include/argp.h (__argp_error): Add attribute_hidden.
31872 (__argp_failure): Likewise.
31873 (__argp_input): Likewise.
31874 (__argp_state_help): Likewise.
31876 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31879 * include/wchar.h (____wcstof_l_internal): New prototype.
31880 (____wcstod_l_internal): Likewise.
31881 (____wcstold_l_internal): Likewise.
31882 (____wcstol_l_internal): Likewise.
31883 (____wcstoul_l_internal): Likewise.
31884 (____wcstoll_l_internal): Likewise.
31885 (____wcstoull_l_internal): Likewise.
31886 (____wcstof128_l_internal): Likewise.
31887 * sysdeps/ieee754/float128/wcstof128.c
31888 (____wcstof128_l_internal): Removed.
31889 * sysdeps/ieee754/float128/wcstof128_l.c
31890 (____wcstof128_l_internal): Likewise.
31891 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
31892 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
31893 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
31894 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
31895 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
31896 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
31897 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
31898 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
31899 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
31900 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
31902 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31905 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
31906 instead of <sys/statvfs.h>.
31907 (__internal_statvfs): Removed.
31908 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
31909 instead of <sys/statvfs.h>.
31910 (__internal_statvfs64): Removed.
31911 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
31912 "internal_statvfs.h" instead of <sys/statvfs.h>.
31913 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
31914 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
31915 instead of <sys/statvfs.h>.
31916 (__internal_statvfs): Removed.
31917 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
31918 instead of <sys/statvfs.h>.
31919 (__internal_statvfs64): Removed.
31921 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31924 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
31925 (__gconv_close): Likewise.
31926 (__gconv): Likewise.
31927 (__gconv_find_transform): Likewise.
31928 (__gconv_lookup_cache): Likewise.
31929 (__gconv_compare_alias_cache): Likewise.
31930 (__gconv_load_cache): Likewise.
31931 (__gconv_get_path): Likewise.
31932 (__gconv_close_transform): Likewise.
31933 (__gconv_release_cache): Likewise.
31934 (__gconv_find_shlib): Likewise.
31935 (__gconv_release_shlib): Likewise.
31936 (__gconv_get_builtin_trans): Likewise.
31937 (__gconv_compare_alias): Likewise.
31938 * include/dlfcn.h (_dlerror_run): Likewise.
31939 * include/stdio.h (__fortify_fail_abort): Likewise.
31940 * include/time.h (__tz_compute): Likewise.
31941 (__strptime_internal): Likewise.
31942 * intl/gettextP.h (_nl_find_domain): Likewise.
31943 (_nl_load_domain): Likewise.
31944 (_nl_find_msg): Likewise.
31945 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
31946 (EXTRACT_PLURAL_EXPRESSION): Likewise.
31947 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
31948 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
31949 (__gai_find_request): Likewise.
31950 (__gai_remove_request): Likewise.
31951 (__gai_notify): Likewise.
31952 (__gai_notify_only): Likewise.
31953 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
31954 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
31955 (_dl_non_dynamic_init): Likewise.
31956 (_dl_aux_init): Likewise.
31957 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
31958 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
31960 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
31961 (__wcsmbs_clone_conv): Likewise.
31962 (__wcsmbs_named_conv): Likewise.
31964 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31967 * include/stdlib.h (__random): Add attribute_hidden.
31968 (__random_r): Likewise.
31969 (__srandom_r): Likewise.
31970 (__initstate_r): Likewise.
31971 (__setstate_r): Likewise.
31972 (__erand48_r): Likewise.
31973 (__nrand48_r): Likewise.
31974 (__jrand48_r): Likewise.
31975 (__srand48_r): Likewise.
31976 (__seed48_r): Likewise.
31977 (__lcong48_r): Likewise.
31978 (__drand48_iterate): Likewise.
31979 (__setenv): Likewise.
31980 (__unsetenv): Likewise.
31981 (__clearenv): Likewise.
31982 (__ptsname_r): Likewise.
31983 (__posix_openpt): Likewise.
31984 (__add_to_environ): Likewise.
31985 (__realpath): Add libc_hidden_proto.
31986 (__ecvt_r): Likewise.
31987 (__fcvt_r): Likewise.
31988 (__qecvt_r): Likewise.
31989 (__qfcvt_r): Likewise.
31990 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
31991 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
31993 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31996 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
31997 * include/time.h (__mktime_internal): Likewise.
31998 * libio/iolibio.h (__fopen_internal): Likewise.
32000 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
32002 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
32004 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
32005 Correct offset used to restore PIC register.
32007 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
32010 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
32011 code to load address of __getcontext_ret when generating PIC code.
32013 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
32015 * elf/Makefile (tests-static-internal): Add
32016 tst-tls1-static-non-pie.
32017 (LDFLAGS-tst-tls1-static-non-pie): New.
32018 * elf/tst-tls1-static-non-pie.c: New file.
32020 2017-09-29 Joseph Myers <joseph@codesourcery.com>
32022 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
32023 (asinh): Define using libm_alias_double.
32024 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
32025 (cbrt): Define using libm_alias_double.
32026 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
32027 <libm-alias-double.h>.
32028 (copysign): Define using libm_alias_double.
32029 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
32030 (erf): Define using libm_alias_double.
32032 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
32033 (expm1): Define using libm_alias_double.
32034 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
32035 (fabs): Define using libm_alias_double.
32036 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
32038 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
32039 <libm-alias-double.h>.
32040 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
32042 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
32043 <libm-alias-double.h>.
32044 (getpayload): Define using libm_alias_double.
32045 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
32046 <libm-alias-double.h>.
32047 (llrint): Define using libm_alias_double.
32048 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
32049 (lrint): Define using libm_alias_double.
32050 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
32051 <libm-alias-double.h>.
32052 (nextup): Define using libm_alias_double.
32053 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
32054 <libm-alias-double.h>.
32055 (roundeven): Define using libm_alias_double.
32056 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
32058 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
32059 <libm-alias-double.h>.
32060 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
32061 using libm_alias_double.
32062 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
32063 (cos): Define using libm_alias_double.
32065 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
32066 <libm-alias-double.h>.
32067 (sincos): Define using libm_alias_double.
32068 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
32069 (tanh): Define using libm_alias_double.
32070 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
32071 <libm-alias-double.h>.
32072 (totalorder): Define using libm_alias_double.
32073 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
32074 <libm-alias-double.h>.
32075 (totalordermag): Define using libm_alias_double.
32076 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
32078 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
32080 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
32081 <libm-alias-double.h>.
32082 (getpayload): Define using libm_alias_double.
32083 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
32084 <libm-alias-double.h>.
32085 (roundeven): Define using libm_alias_double.
32086 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
32087 <libm-alias-double.h>.
32088 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
32089 <libm-alias-double.h>.
32090 (totalorder): Define using libm_alias_double.
32091 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
32092 <libm-alias-double.h>.
32093 (totalordermag): Define using libm_alias_double.
32094 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
32095 libc compat symbol here.
32096 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
32097 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
32098 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
32099 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
32100 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
32101 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
32102 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
32103 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
32104 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
32105 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
32107 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32109 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
32110 _dl_relocate_static_pie instead of _dl_start to compute load
32111 address in static PIE. Return 0 if _DYNAMIC is undefined for
32114 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32116 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
32117 _DYNAMIC is undefined for static executable.
32119 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32121 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
32123 2017-09-29 Joseph Myers <joseph@codesourcery.com>
32125 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32127 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32129 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
32130 (__ieee754_lgamma_r): Use fabs rather than __fabs.
32131 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32132 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32133 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
32134 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
32135 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
32136 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
32137 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
32138 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32139 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
32140 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
32141 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
32142 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32143 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
32144 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
32145 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
32147 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32149 * math/bits/cmathcalls.h (cimag): Remove inline.
32150 (creal): Remove inline.
32151 (conj): Remove inline.
32153 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32155 * math/Makefile (type-float-routines): Add e_powf_log2_data.
32156 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
32157 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
32158 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
32159 (issignalingf_inline): Likewise.
32160 (POWF_LOG2_TABLE_BITS): Likewise.
32161 (POWF_LOG2_POLY_ORDER): Likewise.
32162 (POWF_SCALE_BITS): Likewise.
32163 (POWF_SCALE): Likewise.
32164 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
32165 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
32166 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
32168 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32170 * math/Makefile (type-float-routines): Add e_log2f_data.
32171 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
32172 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
32173 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
32174 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
32175 * sysdeps/i386/fpu/e_log2f_data.c: New file.
32176 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
32177 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
32179 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32181 * math/Makefile (type-float-routines): Add e_logf_data.
32182 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
32183 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
32184 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
32185 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
32186 * sysdeps/i386/fpu/e_logf_data.c: New file.
32187 * sysdeps/ia64/fpu/e_logf_data.c: New file.
32188 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
32190 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
32192 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
32193 undefined _DYNAMIC in PIE libc.a.
32194 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
32197 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32199 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
32200 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
32201 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
32202 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
32203 (__signbit): Remove.
32204 (__signbitl): Remove.
32205 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
32206 (__signbit): Remove.
32207 (__signbitl): Remove.
32208 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
32209 (__signbit): Remove.
32210 (__signbitl): Remove.
32211 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
32212 (__signbit): Remove.
32213 (__signbitl): Remove.
32214 * sysdeps/tile/bits/mathinline.h: Delete file.
32215 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
32216 (__signbit): Remove.
32217 (__signbitl): Remove.
32219 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32221 * math/math.h: Improve handling of C99 isgreater macros.
32222 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
32223 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
32224 * sysdeps/powerpc/bits/mathinline.h: Likewise.
32225 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32226 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
32228 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
32230 * sysdeps/aarch64/libm-test-ulps: Update.
32232 2017-09-28 Joseph Myers <joseph@codesourcery.com>
32235 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32236 math_opt_barrier on argument when doing arithmetic on it.
32237 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32238 Likewise. Use math_force_eval not math_opt_barrier after
32240 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
32241 math_opt_barrier on argument when doing arithmetic on it.
32242 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32245 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
32247 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
32249 (__freeifaddrs): Likewise.
32251 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32253 * include/dirent.h (__dirfd): New declaration.
32254 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
32256 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
32257 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
32258 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
32259 * include/unistd.h (__revoke): New declaration.
32260 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
32262 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
32263 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
32265 * include/dirent.h (__seekdir): New declaration.
32266 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
32267 redefine as weak alias.
32268 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
32270 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
32271 and use libc_hidden_def on them.
32272 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
32274 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
32275 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
32276 instead of getifaddrs and freeifaddrs.
32278 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32281 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
32282 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
32283 (__dso_handle): Remove declaration.
32284 * dlfcn/tstatexit.c (__dso_handle): Removed.
32285 (main): Don't check __dso_handle.
32286 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
32287 (main): Don't check __dso_handle.
32288 * include/dso_handle.h: New file.
32289 * malloc/mtrace.c: Include <dso_handle.h>.
32290 (mtrace): Pass __dso_handle directly.
32291 * nptl/pthread_atfork.c: Include <dso_handle.h>.
32292 (__dso_handle): Remove declaration.
32293 (__pthread_atfork): Pass __dso_handle directly.
32294 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
32295 (__dso_handle): Removed.
32296 * posix/wordexp-test.c: Include <dso_handle.h>.
32297 (__dso_handle): Remove declaration.
32298 (__app_register_atfork): Pass __dso_handle directly.
32299 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
32300 (__dso_handle): Remove declaration.
32301 (at_quick_exit): Pass __dso_handle directly.
32302 * stdlib/atexit.c: Include <dso_handle.h>.
32303 (__dso_handle): Remove declaration.
32304 (atexit): Pass __dso_handle directly.
32305 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
32306 (__dso_handle): Removed.
32308 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32310 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
32313 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
32315 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
32316 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
32317 values to correct default value for given type.
32319 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32322 * elf/Makefile (tests): Add tst-debug1.
32323 ($(objpfx)tst-debug1): New.
32324 ($(objpfx)tst-debug1.out): Likewise.
32325 ($(objpfx)tst-debug1mod1.so): Likewise.
32326 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
32327 with p_filesz == 0.
32328 * elf/tst-debug1.c: New file.
32330 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32332 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
32333 Define using __ifunc.
32335 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32337 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
32340 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32343 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
32345 2017-09-26 Florian Weimer <fweimer@redhat.com>
32347 * resolv/Makefile (tests-internal): Fix typo in comment.
32349 2017-09-26 Florian Weimer <fweimer@redhat.com>
32351 * resolv/nss_dns/dns-host.c: Fix typo in comment.
32353 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32355 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
32356 Use an union instead of a max_align_t array for __space,
32357 so that __space is the same size on all platforms.
32358 * malloc/scratch_buffer_grow_preserve.c
32359 (__libc_scratch_buffer_grow_preserve): Likewise.
32362 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
32364 * posix/Makefile (routines): Add glob-lstat-compat and
32365 glob64-lstat-compat.
32366 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
32367 * posix/glob-lstat-compat.c: New file.
32368 * posix/glob64-lstat-compat.c: Likewise.
32369 * posix/tst-glob_lstat_compat.c: Likewise.
32370 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
32371 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
32372 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
32373 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
32375 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
32376 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
32377 * posix/glob.c (glob_lstat): New function.
32378 (glob): Rename to __glob and add versioned symbol to 2.27.
32379 (glob_in_dir): Use glob_lstat.
32380 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
32381 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
32382 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
32384 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
32385 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
32386 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
32387 gl_lstat on glob call.
32388 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
32389 and glob64 symbols.
32390 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
32391 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
32392 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
32393 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
32394 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
32395 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
32396 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
32397 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
32398 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
32399 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
32400 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
32401 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
32402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
32404 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
32405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
32406 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
32407 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
32408 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
32409 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
32410 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
32411 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
32412 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
32413 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
32414 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
32415 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
32417 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
32419 * configure.ac (AS): Require binutils 2.25 or later.
32420 * configure: Regenerated.
32422 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
32425 * stdlib/test-atexit-race-common.c (do_test): Minimize required
32428 2017-09-25 DJ Delorie <dj@redhat.com>
32431 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
32434 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
32436 * sysdeps/ieee754/dbl-64/sincos32.h
32437 [SINCCOS32_H]: Remove define.
32438 [SINCOS32_H]: Define.
32440 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32442 * math/Versions (expf): New libm symbol at GLIBC_2.27.
32444 * math/w_exp2f.c: New file.
32445 * math/w_expf.c: New file.
32446 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
32447 * math/w_expf_compat.c (__expf_compat): Likewise.
32448 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
32449 * sysdeps/ia64/fpu/e_expf.S: Likewise.
32450 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
32451 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
32452 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
32453 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
32454 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
32455 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
32456 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
32457 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
32458 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
32459 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
32460 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
32461 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
32462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
32464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
32466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
32468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
32470 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
32471 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
32472 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
32473 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
32474 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
32475 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
32477 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
32479 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
32480 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
32481 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
32483 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32485 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
32486 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
32487 (roundtoint, converttoint): Likewise.
32488 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
32489 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
32490 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
32491 * sysdeps/ieee754/flt-32/math_config.h: New file.
32492 * sysdeps/ieee754/flt-32/math_errf.c: New file.
32493 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
32494 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
32495 * sysdeps/i386/fpu/math_errf.c: New file.
32496 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
32497 * sysdeps/ia64/fpu/math_errf.c: New file.
32498 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
32499 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
32501 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
32503 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
32504 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
32505 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
32506 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
32507 to make sure that these symbols are defined.
32508 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
32510 (__need_NULL): Do not define.
32511 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
32513 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
32514 CMGROUP_MAX, cmsgcred): Do not define.
32515 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
32517 * bits/socket.h: Likewise.
32518 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
32519 __gettimeofday instead of gettimeofday.
32520 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
32521 instead of settimeofday.
32523 2017-09-22 Joseph Myers <joseph@codesourcery.com>
32525 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
32526 (asinhf): Define using libm_alias_float.
32527 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
32528 (atanf): Define using libm_alias_float.
32529 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
32530 (cbrtf): Define using libm_alias_float.
32531 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
32532 (ceilf): Define using libm_alias_float.
32533 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
32534 <libm-alias-float.h>.
32535 (copysignf): Define using libm_alias_float.
32536 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
32537 (cosf): Define using libm_alias_float.
32538 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
32539 (erff): Define using libm_alias_float.
32541 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
32542 (expm1f): Define using libm_alias_float.
32543 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
32544 (fabsf): Define using libm_alias_float.
32545 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
32546 (floorf): Define using libm_alias_float.
32547 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
32548 (frexpf): Define using libm_alias_float.
32549 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
32551 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
32552 <libm-alias-float.h>.
32553 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
32555 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
32556 <libm-alias-float.h>.
32557 (getpayloadf): Define using libm_alias_float.
32558 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
32559 <libm-alias-float.h>.
32560 (llrintf): Define using libm_alias_float.
32561 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
32562 <libm-alias-float.h>.
32563 (llroundf): Define using libm_alias_float.
32564 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
32565 (logbf): Define using libm_alias_float.
32566 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
32567 (lrintf): Define using libm_alias_float.
32568 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
32569 (lroundf): Define using libm_alias_float.
32570 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
32571 (modff): Define using libm_alias_float.
32572 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
32573 <libm-alias-float.h>.
32574 (nearbyintf): Define using libm_alias_float.
32575 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
32576 <libm-alias-float.h>.
32577 (nextafterf): Define using libm_alias_float.
32578 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
32579 <libm-alias-float.h>.
32580 (nextupf): Define using libm_alias_float.
32581 * sysdeps/ieee754/flt-32/s_remquof.c: Include
32582 <libm-alias-float.h>.
32583 (remquof): Define using libm_alias_float.
32584 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
32585 (rintf): Define using libm_alias_float.
32586 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
32587 <libm-alias-float.h>.
32588 (roundevenf): Define using libm_alias_float.
32589 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
32590 (roundf): Define using libm_alias_float.
32591 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
32592 using libm_alias_float.
32593 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
32594 <libm-alias-float.h>.
32595 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
32596 Define using libm_alias_float.
32597 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
32598 <libm-alias-float.h>.
32599 (sincosf): Define using libm_alias_float.
32600 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
32601 (sinf): Define using libm_alias_float.
32602 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
32603 (tanf): Define using libm_alias_float.
32604 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
32605 (tanhf): Define using libm_alias_float.
32606 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
32607 <libm-alias-float.h>.
32608 (totalorderf): Define using libm_alias_float.
32609 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
32610 <libm-alias-float.h>.
32611 (totalordermagf): Define using libm_alias_float.
32612 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
32613 (truncf): Define using libm_alias_float.
32614 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
32616 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
32619 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32622 math/math.h: Let fpclassify use the builtin in C++ mode, even
32623 when optimazing for size.
32625 2017-09-22 Joseph Myers <joseph@codesourcery.com>
32627 * csu/Makefile (generated): Do not add version-info.h.
32628 (before-compile): Likewise.
32629 (all-Banner-files): Remove variable.
32630 ($(objpfx)version-info.h): Remove rule.
32631 * csu/version.c (banner): Do not include "version-info.h".
32632 * libidn/Banner: Remove.
32633 * manual/contrib.texi (Simon Josefsson): New entry.
32635 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32637 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
32638 Remove conditionals on LDBL_MANT_DIG.
32639 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
32640 (__ieee754_lgammal_r): Likewise.
32642 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32644 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
32646 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
32647 _Float128 and L(). Replace _Float128 with long double and L(x)
32648 with xL, throughout the file.
32649 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
32650 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
32651 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
32652 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
32654 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32656 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
32657 sysdeps/ieee754/ldbl-128ibm.
32658 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
32659 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
32660 of including it. Keep _Float128 and L() intact. These will be
32661 reviewed by a separate patch.
32662 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
32663 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
32664 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
32665 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
32667 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
32670 (__finitef128): Define to __redirect___finitef128.
32671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
32672 (__isinff128): Define to __redirect___isinff128.
32673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
32674 (__isnanf128): Define to __redirect___isnanf128.
32676 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32678 * sysdeps/powerpc/powerpc64le/Makefile
32679 (CFLAGS-tst-strtod-nan-locale.c): New variable.
32680 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
32682 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
32683 Carlos O'Donell <carlos@redhat.com>
32686 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
32687 * stdlib/test-dlclose-exit-race.c: New file.
32688 * stdlib/test-dlclose-exit-race-helper.c: New file.
32689 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
32691 2017-09-21 Joseph Myers <joseph@codesourcery.com>
32693 * crypt/Banner: Remove file.
32694 * nptl/Banner: Likewise.
32695 * resolv/Banner: Likewise.
32696 * soft-fp/Banner: Likewise.
32697 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
32698 ($(objpfx)version.d): Remove dependency on banner.h.
32699 ($(objpfx)version.os): Likewise.
32700 * nptl/version.c (banner): Do not include banner.h.
32701 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
32702 Jelinek and BIND code.
32704 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
32705 Carlos O'Donell <carlos@redhat.com>
32707 * support/xdlfcn.h: New file.
32708 * support/xdlfcn.c: New file.
32709 * support/Makefile (libsupport-routines): Add xdlfcn.
32710 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
32712 2017-09-20 Joseph Myers <joseph@codesourcery.com>
32715 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32716 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
32717 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
32718 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
32719 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
32720 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
32721 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
32722 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
32724 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
32725 Ricky Zhou <rickyz@google.com>
32726 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
32729 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
32731 (__new_exitfn): Fail registration when we finished at_exit processing.
32732 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
32733 * stdlib/on_exit.c (__on_exit): Likewise.
32734 * stdlib/exit.c (__exit_funcs_done): New variable.
32735 (__run_exit_handlers): Use __exit_funcs_lock.
32736 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
32738 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
32739 (test-cxa_atexit-race, test-on_exit-race): New tests.
32740 * stdlib/test-atexit-race-common.c: New file.
32741 * stdlib/test-atexit-race.c: New file.
32742 * stdlib/test-at_quick_exit-race.c: New file.
32743 * stdlib/test-cxa_atexit-race.c: New file.
32744 * stdlib/test-on_exit-race.c: New file.
32746 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
32748 * benchtests/Makefile: Add exp2f and log2f benchmarks.
32749 * benchtests/exp2f-inputs: Copy of expf-inputs.
32750 * benchtests/log2f-inputs: Copy of logf-inputs.
32752 2017-09-19 Joseph Myers <joseph@codesourcery.com>
32754 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
32755 Explicitly take address of first element of array arguments in
32756 call to INLINE_SYSCALL.
32758 2017-09-19 Andreas Schwab <schwab@suse.de>
32761 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
32763 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
32765 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
32766 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
32767 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32768 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
32769 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32770 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
32771 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32772 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
32773 * posix/Makefile (tests): Add tst-fexecve.
32774 * posix/tst-fexecve.c: New file.
32776 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
32778 * benchtests/Makefile: Add logf benchmark.
32779 * benchtests/logf-inputs: Add reduced trace from wrf_r.
32781 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
32783 * benchtests/Makefile: Add expf benchmark.
32784 * benchtests/expf-inputs: Add reduced trace from wrf_r.
32786 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
32788 * csu/Makefile: Add -funwind-tables to libc-start.c.
32789 * debug/Makefile: Add -funwind-tables to backtrace.c.
32790 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
32791 * sysdeps/arm/Makefile: Likewise.
32792 * sysdeps/i386/Makefile: Likewise.
32793 * sysdeps/m68k/Makefile: Likewise.
32794 * sysdeps/mips/Makefile: Likewise.
32795 * sysdeps/nios2/Makefile: Likewise.
32796 * sysdeps/sh/Makefile: Likewise.
32797 * sysdeps/sparc/Makefile: Likewise.
32799 2017-09-19 Joseph Myers <joseph@codesourcery.com>
32801 * benchtests/Makefile (bench-math): Add trunc and truncf.
32802 (CFLAGS-bench-trunc.c): New variable.
32803 (CFLAGS-bench-truncf.c): Likewise.
32804 * benchtests/trunc-inputs: New file.
32805 * benchtests/truncf-inputs: Likewise.
32807 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32809 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
32811 2017-09-18 Joseph Myers <joseph@codesourcery.com>
32813 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
32814 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
32816 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
32817 (exp10l): Define as weak alias.
32818 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
32819 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
32821 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
32822 (remainderl): Define as weak alias.
32824 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
32825 (fmal): Define using libm_alias_ldouble.
32826 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
32827 (acoshl): Define using libm_alias_ldouble.
32828 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
32829 (acosl): Define using libm_alias_ldouble.
32830 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
32831 (asinl): Define using libm_alias_ldouble.
32832 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
32833 (atan2l): Define using libm_alias_ldouble.
32834 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
32835 (atanhl): Define using libm_alias_ldouble.
32836 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
32837 (coshl): Define using libm_alias_ldouble.
32838 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
32839 (exp10l): Define using libm_alias_ldouble.
32840 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
32841 (exp2l): Define using libm_alias_ldouble.
32842 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
32843 (expl): Define using libm_alias_ldouble.
32844 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
32845 (fmodl): Define using libm_alias_ldouble.
32846 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
32847 (hypotl): Define using libm_alias_ldouble.
32848 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
32849 (j0l): Define using libm_alias_ldouble.
32851 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
32852 (j1l): Define using libm_alias_ldouble.
32854 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
32855 (jnl): Define using libm_alias_ldouble.
32857 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
32858 (log10l): Define using libm_alias_ldouble.
32859 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
32860 (log2l): Define using libm_alias_ldouble.
32861 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
32862 (logl): Define using libm_alias_ldouble.
32863 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
32864 (powl): Define using libm_alias_ldouble.
32865 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
32866 (remainderl): Define using libm_alias_ldouble.
32867 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
32868 (sinhl): Define using libm_alias_ldouble.
32869 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
32870 (sqrtl): Define using libm_alias_ldouble.
32871 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
32872 (tgammal): Define using libm_alias_ldouble.
32873 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
32874 (exp10l): Do not use long_double_symbol here.
32875 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
32876 [LIBM_SVID_COMPAT] (remainderl): Likewise.
32877 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
32878 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
32879 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
32880 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
32881 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
32882 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
32883 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
32884 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
32885 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
32886 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
32887 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
32888 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
32889 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
32890 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
32891 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
32892 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
32893 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
32894 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
32895 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
32896 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
32898 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
32900 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
32901 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
32903 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
32905 * io/read.c (read): Add libc_hidden_weak.
32906 * sysdeps/mach/hurd/read.c (read): Likewise.
32907 * io/write.c (write): Likewise.
32908 * sysdeps/mach/hurd/write.c (write): Likewise.
32909 * io/pread64.c (__pread64): Likewise.
32910 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
32911 * posix/pread64.c (__pread64): Add libc_hidden_def.
32913 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
32915 * benchtests/scripts/compare_strings.py: New option -g.
32916 (draw_graph): Print a message that a graph is being generated.
32917 (process_results): Generate graph only if -g is passed.
32918 (main): Process option -g.
32920 * benchtests/scripts/compare_strings.py (process_results):
32921 Better spacing for output.
32923 * benchtests/scripts/compare_strings.py: Use argparse.
32924 * benchtests/README: Document existence of compare_strings.py.
32926 2017-09-15 Joseph Myers <joseph@codesourcery.com>
32928 * math/s_fma.c: Include <libm-alias-double.h>.
32929 (fma): Define using libm_alias_double.
32930 * math/s_nextafter.c: Include <libm-alias-double.h>.
32931 (nextafter): Define using libm_alias_double.
32932 * math/w_acos_compat.c: Include <libm-alias-double.h>.
32933 (acos): Define using libm_alias_double.
32934 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
32935 (aocsh): Define using libm_alias_double.
32936 * math/w_asin_compat.c: Include <libm-alias-double.h>.
32937 (asin): Define using libm_alias_double.
32938 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
32939 (atan2): Define using libm_alias_double.
32940 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
32941 (atanh): Define using libm_alias_double.
32942 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
32943 (cosh): Define using libm_alias_double.
32944 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
32945 (exp10): Define using libm_alias_double.
32946 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
32947 (exp2): Define using libm_alias_double.
32948 * math/w_exp_compat.c: Include <libm-alias-double.h>.
32949 (exp): Define using libm_alias_double.
32950 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
32951 (fmod): Define using libm_alias_double.
32952 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
32953 (hypot): Define using libm_alias_double.
32954 * math/w_j0_compat.c: Include <libm-alias-double.h>.
32955 (j0): Define using libm_alias_double.
32957 * math/w_j1_compat.c: Include <libm-alias-double.h>.
32958 (j1): Define using libm_alias_double.
32960 * math/w_jn_compat.c: Include <libm-alias-double.h>.
32961 (jn): Define using libm_alias_double.
32963 * math/w_log10_compat.c: Include <libm-alias-double.h>.
32964 (log10): Define using libm_alias_double.
32965 * math/w_log2_compat.c: Include <libm-alias-double.h>.
32966 (log2): Define using libm_alias_double.
32967 * math/w_log_compat.c: Include <libm-alias-double.h>.
32968 (log): Define using libm_alias_double.
32969 * math/w_pow_compat.c: Include <libm-alias-double.h>.
32970 (pow): Define using libm_alias_double.
32971 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
32972 (remainder): Define using libm_alias_double.
32973 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
32974 (sinh): Define using libm_alias_double.
32975 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
32976 (sqrt): Define using libm_alias_double.
32977 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
32978 (tgamma): Define using libm_alias_double.
32979 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
32980 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
32981 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
32982 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
32983 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
32984 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
32985 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
32986 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
32987 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
32988 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
32989 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
32990 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
32991 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
32992 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
32993 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
32994 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
32995 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
32996 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
32997 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
32998 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
32999 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
33000 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
33001 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
33002 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
33003 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
33005 * math/e_acoshl.c: Remove.
33006 * math/e_acosl.c: Likewise.
33007 * math/e_asinl.c: Likewise.
33008 * math/e_atan2l.c: Likewise.
33009 * math/e_atanhl.c: Likewise.
33010 * math/e_coshl.c: Likewise.
33011 * math/e_expl.c: Likewise.
33012 * math/e_fmodl.c: Likewise.
33013 * math/e_gammal_r.c: Likewise.
33014 * math/e_hypotl.c: Likewise.
33015 * math/e_j0l.c: Likewise.
33016 * math/e_j1l.c: Likewise.
33017 * math/e_jnl.c: Likewise.
33018 * math/e_lgammal_r.c: Likewise.
33019 * math/e_log10l.c: Likewise.
33020 * math/e_log2l.c: Likewise.
33021 * math/e_logl.c: Likewise.
33022 * math/e_powl.c: Likewise.
33023 * math/e_rem_pio2l.c: Likewise.
33024 * math/e_sinhl.c: Likewise.
33025 * math/e_sqrtf128.c: Likewise.
33026 * math/e_sqrtl.c: Likewise.
33027 * math/k_cosl.c: Likewise.
33028 * math/k_sinl.c: Likewise.
33029 * math/k_tanl.c: Likewise.
33030 * math/s_asinhl.c: Likewise.
33031 * math/s_atanl.c: Likewise.
33032 * math/s_cbrtl.c: Likewise.
33033 * math/s_erfl.c: Likewise.
33034 * math/s_expm1l.c: Likewise.
33035 * math/s_log1pl.c: Likewise.
33036 * math/s_tanhl.c: Likewise.
33038 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33041 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
33042 [$(subdir) = math] (sysdep_calls): New variable. Has the
33043 previous contents of sysdep_routines, but re-sorted..
33044 [$(subdir) = math] (sysdep_routines): Re-use the contents from
33046 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
33047 defined in sysdep_calls and replace by the respective m_* names.
33048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
33049 (compat_symbol): Undefine to avoid duplicated compat symbols in
33052 2017-09-15 Joseph Myers <joseph@codesourcery.com>
33054 * math/s_fmaf.c: Include <libm-alias-float.h>.
33055 (fmaf): Define using libm_alias_float.
33056 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
33057 (acosf): Define using libm_alias_float.
33058 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
33059 (acoshf): Define using libm_alias_float.
33060 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
33061 (asinf): Define using libm_alias_float.
33062 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
33063 (atan2f): Define using libm_alias_float.
33064 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
33065 (atanhf): Define using libm_alias_float.
33066 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
33067 (coshf): Define using libm_alias_float.
33068 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
33069 (exp10f): Define using libm_alias_float.
33070 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
33071 (fmodf): Define using libm_alias_float.
33072 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
33073 (hypotf): Define using libm_alias_float.
33074 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
33075 (j0f): Define using libm_alias_float.
33077 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
33078 (j1f): Define using libm_alias_float.
33080 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
33081 (jnf): Define using libm_alias_float.
33083 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
33084 (log10f): Define using libm_alias_float.
33085 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
33086 (log2f): Define using libm_alias_float.
33087 * math/w_logf_compat.c: Include <libm-alias-float.h>.
33088 (logf): Define using libm_alias_float.
33089 * math/w_powf_compat.c: Include <libm-alias-float.h>.
33090 (powf): Define using libm_alias_float.
33091 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
33092 (remainderf): Define using libm_alias_float.
33093 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
33094 (sinhf): Define using libm_alias_float.
33095 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
33096 (sqrtf): Define using libm_alias_float.
33097 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
33098 (tgammaf): Define using libm_alias_float.
33100 2017-09-14 Joseph Myers <joseph@codesourcery.com>
33102 * include/math.h (roundeven): Change hidden_proto call to
33104 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
33106 [NO_LONG_DOUBLE] (__j0l): New strong alias.
33107 (y0): Rename to __y0 and define as weak alias.
33108 [NO_LONG_DOUBLE] (__y0l): New strong alias.
33109 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
33111 (y0f): Rename to __y0f and define as weak alias.
33112 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
33114 [NO_LONG_DOUBLE] (__j1l): New strong alias.
33115 (y1): Rename to __y1 and define as weak alias.
33116 [NO_LONG_DOUBLE] (__y1l): New strong alias.
33117 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
33119 (y1f): Rename to __y1f and define as weak alias.
33120 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
33122 [NO_LONG_DOUBLE] (__jnl): New strong alias.
33123 (yn): Rename to __yn and define as weak alias.
33124 [NO_LONG_DOUBLE] (__ynl): New strong alias.
33125 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
33127 (ynf): Rename to __ynf and define as weak alias.
33128 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
33129 (fromfp): Define as weak alias.
33130 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
33131 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
33132 (fromfpx): Define as weak alias.
33133 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
33134 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
33135 __getpayload and define as weak alias.
33136 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33137 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
33138 __roundeven and define as weak alias.
33139 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33140 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
33142 (setpayload): Define as weak alias.
33143 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
33144 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
33146 (setpayloadsig): Define as weak alias.
33147 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
33148 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
33149 __totalorder and define as weak alias.
33150 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33151 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
33152 to __totalordermag and define as weak alias.
33153 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33154 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
33155 (ufromfp): Define as weak alias.
33156 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
33157 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
33159 (ufromfpx): Define as weak alias.
33160 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
33161 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
33162 Rename to __getpayload and define as weak alias.
33163 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33164 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
33165 Rename to __roundeven and define as weak alias.
33166 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33167 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
33168 Rename to __totalorder and define as weak alias.
33169 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33170 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
33171 (totalordermag): Rename to __totalordermag and define as weak
33173 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33174 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
33176 (__roundevenl): Likewise.
33177 (__totalorderl): Likewise.
33178 (__totalordermagl): Likewise
33179 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
33181 (fromfpf128): Define as weak alias.
33182 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
33184 (fromfpxf128): Define as weak alias.
33185 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
33187 (setpayloadf128): Define as weak alias.
33188 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
33189 __setpayloadsigf128.
33190 (setpayloadsigf128): Define as weak alias.
33191 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
33193 (ufromfpf128): Define as weak alias.
33194 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
33196 (ufromfpxf128): Define as weak alias.
33197 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
33198 (fromfpf): Define as weak alias.
33199 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
33201 (fromfpxf): Define as weak alias.
33202 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
33203 __getpayloadf and define as weak alias.
33204 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
33205 __roundevenf and define as weak alias.
33206 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
33208 (setpayloadf): Define as weak alias.
33209 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
33211 (setpayloadsigf): Define as weak alias.
33212 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
33213 __totalorderf and define as weak alias.
33214 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
33215 Rename to __totalordermagf and define as weak alias.
33216 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
33218 (ufromfpf): Define as weak alias.
33219 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
33221 (ufromfpxf): Define as weak alias.
33222 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
33224 (fromfpl): Define as weak alias.
33225 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
33227 (fromfpxl): Define as weak alias.
33228 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
33229 to __getpayloadl and define as weak alias.
33230 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
33231 __roundevenl and define as weak alias.
33232 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
33234 (setpayloadl): Define as weak alias.
33235 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
33237 (setpayloadsigl): Define as weak alias.
33238 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
33239 to __totalorderl and define as weak alias.
33240 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
33241 Rename to __totalordermagl and define as weak alias.
33242 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
33244 (ufromfpl): Define as weak alias.
33245 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
33247 (ufromfpxl): Define as weak alias.
33248 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
33250 (fromfpl): Define as weak alias.
33251 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
33253 (fromfpxl): Define as weak alias.
33254 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
33255 Rename to __getpayloadl and define as weak alias.
33256 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
33257 to __roundevenl and define as weak alias. Call __roundeven
33258 instead of roundeven.
33259 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
33261 (setpayloadl): Define as weak alias.
33262 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
33264 (setpayloadsigl): Define as weak alias.
33265 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
33266 Rename to __totalorderl and define as weak alias.
33267 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
33268 Rename to __totalordermagl and define as weak alias.
33269 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
33271 (ufromfpl): Define as weak alias.
33272 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
33274 (ufromfpxl): Define as weak alias.
33275 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
33277 (fromfpl): Define as weak alias.
33278 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
33280 (fromfpxl): Define as weak alias.
33281 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
33282 __getpayloadl and define as weak alias.
33283 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
33284 __roundevenl and define as weak alias.
33285 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
33287 (setpayloadl): Define as weak alias.
33288 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
33290 (setpayloadsigl): Define as weak alias.
33291 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
33292 __totalorderl and define as weak alias.
33293 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
33294 Rename to __totalordermagl and define as weak alias.
33295 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
33297 (ufromfpl): Define as weak alias.
33298 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
33300 (ufromfpxl): Define as weak alias.
33302 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
33304 * benchtests/bench-string.h (realloc_bufs): New function.
33305 (test_init): Call it.
33306 * benchtests/bench-memset-large.c (do_test): Likewise.
33307 * benchtests/bench-memset.c (do_test): Likewise.
33309 * benchtests/bench-memset-large.c: Print output in JSON
33311 * benchtests/bench-memset.c: Likewise.
33313 2017-09-14 Mike FABIAN <mfabian@redhat.com>
33316 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
33317 * iconvdata/Makefile: Add IBM858.
33318 * iconvdata/gconv-modules: Likewise.
33319 * iconvdata/tst-tables.sh: Likewise.
33320 * iconvdata/ibm858.c: New file.
33321 * localedata/charmaps/IBM858: Likewise.
33323 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
33326 * locales/niu_NZ (LC_TIME): copy "niu_NU".
33327 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
33329 2017-09-14 Mike FABIAN <mfabian@redhat.com>
33332 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
33333 and add tel_int_fmt.
33335 2017-09-14 Joseph Myers <joseph@codesourcery.com>
33337 * sysdeps/generic/libm-alias-float128.h: New file.
33338 * sysdeps/generic/math-type-macros-float128.h: Include
33339 <libm-alias-float128.h>.
33340 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
33342 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33344 * sysdeps/generic/libm-alias-ldouble.h: New file.
33345 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
33346 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
33347 * sysdeps/generic/math-type-macros-ldouble.h: Include
33348 <libm-alias-ldouble.h>.
33349 [!declare_mgen_alias] (declare_mgen_alias): Define to use
33350 libm_alias_ldouble.
33352 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
33354 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
33355 * math/w_exp_compat.c: ... here.
33356 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
33357 * math/w_expf_compat.c: ... here.
33358 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
33359 * math/w_expl_compat.c: ... here.
33360 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
33361 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
33362 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
33363 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33365 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33367 * math/w_scalbln_template.c (strong_alias): Do not undefine and
33369 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
33371 (ldexpl): Only define as compat symbol for libc, not libm.
33372 (scalbnl): Define as compat symbol for libc here.
33373 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
33374 define for [IS_IN (libc)].
33375 (__ldexpl_2): Remove alias.
33376 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
33377 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
33378 name in long_double_symbol call.
33379 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
33380 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
33381 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
33382 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
33383 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
33385 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
33386 Define as compat symbol.
33388 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33390 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
33391 * sysdeps/unix/sysv/linux/alpha/Makefile
33392 [$(subdir) = csu] (sysdep_routines): Remove rule.
33394 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33396 * sysdeps/generic/libm-alias-double.h: New file.
33397 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
33398 * sysdeps/generic/math-type-macros-double.h: Include
33399 <libm-alias-double.h>.
33400 [declare_mgen_alias] (declare_mgen_alias): Define to use
33402 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
33403 (M_LIBM_NEED_COMPAT): Remove macro.
33404 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
33405 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
33406 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
33408 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33409 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33410 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33411 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33412 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33413 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33414 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33415 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33416 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33417 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33418 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33419 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33420 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33421 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33422 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33423 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33424 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33425 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33426 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33427 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33428 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33429 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33430 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33431 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33432 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33433 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33434 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33435 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
33436 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
33438 (declare_mgen_alias): New macro.
33439 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
33440 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
33441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
33442 (M_LIBM_NEED_COMPAT): Remove macro.
33443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
33444 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
33445 <first-versions.h>.
33446 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
33447 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
33449 2017-09-12 Joseph Myers <joseph@codesourcery.com>
33451 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
33452 (declare_mgen_alias_2): Remove.
33453 * sysdeps/generic/math-type-macros-double.h
33454 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
33456 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
33458 (ldexp): Define with declare_mgen_alias.
33459 (scalbn): Likewise.
33461 2017-09-12 Steve Ellcey <sellcey@cavium.com>
33463 * grp/initgroups.c: Include config.h.
33464 (DEFAULT_CONFIG): New macro.
33465 (internal_getgrouplist): Use DEFAULT_CONFIG.
33466 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33467 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
33468 (DEFAULT_DEFCONFIG): New macro.
33469 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
33470 * nss/grp-lookup.c: Include config.h
33471 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
33472 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
33473 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
33474 * manual/nss.texi: Update default values section.
33476 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
33479 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
33481 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
33482 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
33483 Handle MathVec_Prefer_No_AVX512.
33484 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
33485 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
33488 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
33490 * posix/sched_primax.c (__sched_get_priority_max): Add
33492 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
33493 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
33494 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
33495 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
33496 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
33497 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
33498 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
33499 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
33502 2017-09-11 Joseph Myers <joseph@codesourcery.com>
33504 * sysdeps/generic/libm-alias-float.h: New file.
33505 * sysdeps/generic/math-type-macros-float.h: Include
33506 <libm-alias-float.h>.
33507 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
33509 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
33512 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
33513 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
33514 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
33515 (HWCAP_IMPORTANT): Likewise.
33516 (HWCAP_X86_64): New enum.
33517 (HWCAP_X86_AVX512_1): Updated.
33518 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
33519 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
33520 (modules-names): Add x86_64/tst-x86_64mod-1.
33521 (LDFLAGS-tst-x86_64mod-1.so): New.
33522 ($(objpfx)tst-x86_64-1): Likewise.
33523 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
33524 (tst-x86_64-1-clean): Likewise.
33525 * sysdeps/x86_64/tst-x86_64-1.c: New file.
33526 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
33528 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
33530 * po/sv.po: Update translations.
33531 * po/fr.po: Likewise.
33533 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33535 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
33537 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
33539 * elf/rtld-Rules: Fix $(error) use.
33541 2017-09-09 Mike FABIAN <mfabian@redhat.com>
33544 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
33545 * locale/iso-639.def: Change “Bengali” to “Bangla”.
33546 * localedata/locales/bn_BD: “Bengali” was still used in some
33547 comments. Change it to “Bangla”.
33549 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
33551 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
33553 2017-09-08 Steve Ellcey <sellcey@cavium.com>
33555 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
33556 thunderx2t99p1 to list of cpu names.
33557 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
33558 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
33560 2017-09-08 Steve Ellcey <sellcey@cavium.com>
33562 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
33563 Use strcmp instead of tunable_is_name.
33565 2017-09-08 Joseph Myers <joseph@codesourcery.com>
33567 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33568 (F_GET_RW_HINT): New macro.
33569 [__USE_GNU] (F_SET_RW_HINT): Likewise.
33570 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
33571 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
33572 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
33573 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
33574 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
33575 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
33576 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
33577 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
33579 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33580 (F_ADD_SEALS): New macro.
33581 [__USE_GNU] (F_GET_SEALS): Likewise.
33582 [__USE_GNU] (F_SEAL_SEAL): Likewise.
33583 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
33584 [__USE_GNU] (F_SEAL_GROW): Likewise.
33585 [__USE_GNU] (F_SEAL_WRITE): Likewise.
33587 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33589 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
33590 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
33591 * posix/glob_internal.h (__glob_pattern_type):
33592 * posix/glob.c (glob):
33593 * posix/glob_pattern_p.c (__glob_pattern_p):
33596 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
33597 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
33598 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
33599 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
33600 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
33601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
33602 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
33603 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
33604 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
33605 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33606 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
33607 * sysdeps/wordsize-64/glob.c: Likewise.
33608 * sysdeps/wordsize-64/glob64.c: Likewise.
33609 * sysdeps/wordsize-64/globfree.c: Likewise.
33610 * sysdeps/wordsize-64/globfree64.c: Likewise.
33611 * sysdeps/unix/sysv/linux/glob.c: New file.
33612 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
33613 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
33614 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
33615 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
33616 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
33617 adds !GLOB_NO_OLD_VERSION as an extra condition.
33618 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
33619 using relative path instead of absolute one.
33620 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
33621 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33622 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33623 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
33624 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
33625 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
33628 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
33629 (glob): Use the same scratch buffer for both getlogin_r and
33630 getpwnam_r. Don’t require preallocation of the login name. This
33631 simplifies storage allocation, and corrects the handling of
33635 * posix/glob.c (glob): Port recent patches to platforms
33636 lacking getpwnam_r.
33637 (glob): Fix longstanding misuse of errno after getpwnam_r, which
33638 returns an error number rather than setting errno.
33640 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
33641 instead of GCC extension.
33642 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
33643 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
33644 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
33648 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
33649 * posix/bug-glob1.c: Remove file.
33650 * posix/tst-glob_symlinks.c: New file.
33651 * posix/glob.c (__lstat64): New macro.
33652 (is_dir): New function.
33653 (glob, glob_in_dir): Match symlinks even if they are dangling.
33654 (link_stat, link_exists_p): Remove. All uses removed.
33658 * posix/glob.c (struct readdir_result): Remove skip_entry member.
33659 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
33664 * posix/Makefile (routines): Add globfree, globfree64, and
33666 * posix/flexmember.h: New file.
33667 * posix/glob_internal.h: Likewise.
33668 * posix/glob_pattern_p.c: Likewise.
33669 * posix/globfree.c: Likewise.
33670 * posix/globfree64.c: Likewise.
33671 * sysdeps/gnu/globfree64.c: Likewise.
33672 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
33673 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
33674 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
33675 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
33676 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
33677 * sysdeps/wordsize-64/globfree.c: Likewise.
33678 * sysdeps/wordsize-64/globfree64.c: Likewise.
33679 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
33680 [NDEBUG): Remove comments.
33681 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
33682 (dirent_type): New type. Use uint_fast8_t not
33683 uint8_t, as C99 does not require uint8_t.
33684 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
33685 (struct readdir_result): Use dirent_type. Do not define skip_entry
33686 unless it is needed; this saves a byte on platforms lacking d_ino.
33687 (readdir_result_type, readdir_result_skip_entry):
33688 New functions, replacing ...
33689 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
33690 these functions, which were removed. This makes the callers
33691 easier to read. All callers changed.
33692 (D_INO_TO_RESULT): Now empty if there is no d_ino.
33693 (size_add_wrapv, glob_use_alloca): New static functions.
33694 (glob, glob_in_dir): Check for size_t overflow in several places,
33695 and fix some size_t checks that were not quite right.
33696 Remove old code using SHELL since Bash no longer
33698 (glob, prefix_array): Separate MS code better.
33699 (glob_in_dir): Remove old Amiga and VMS code.
33700 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
33702 (glob_in_dir): Do not rely on undefined behavior in accessing
33703 struct members beyond their bounds. Use a flexible array member
33705 (link_stat): Rename from link_exists2_p and return -1/0 instead of
33706 0/1. Caller changed.
33707 (glob): Fix memory leaks.
33708 * posix/glob64 (globfree64): Move to separate file.
33709 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
33710 (globfree64): Remove hidden alias.
33711 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
33713 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
33715 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
33717 Move compat code to separate file.
33718 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
33721 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
33723 * resolv/tst-resolv-qtypes.c (domain): Changed to
33724 "const char domain[] =".
33726 2017-09-07 Joseph Myers <joseph@codesourcery.com>
33728 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
33731 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
33732 (TCP_MD5SIG_EXT): Likewise.
33733 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
33734 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
33735 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
33737 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
33739 2017-09-07 Mike FABIAN <mfabian@redhat.com>
33741 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
33743 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
33746 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
33748 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
33750 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
33751 before assuming that the file is empty. Avoid testing buffer content
33754 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33757 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
33759 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
33761 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
33763 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
33765 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
33767 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
33769 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
33772 2017-09-06 Florian Weimer <fweimer@redhat.com>
33774 * malloc/dynarray_emplace_enlarge.c
33775 (__libc_dynarray_emplace_enlarge): Add missing else.
33777 2017-09-06 Florian Weimer <fweimer@redhat.com>
33780 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
33781 case of failure to obtain the global conf object.
33783 2017-09-06 Florian Weimer <fweimer@redhat.com>
33786 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
33787 dynarray allocation failure.
33789 2017-09-06 Florian Weimer <fweimer@redhat.com>
33791 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
33792 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
33793 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
33795 (response): Call them. Add 'p', '6' flag processing.
33796 (test_reverse): New function.
33797 (test_get2_any): Call it.
33798 (test_no_inet6): Add 'p' test.
33799 (test_inet6): Likewise.
33801 2017-09-06 Florian Weimer <fweimer@redhat.com>
33803 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
33804 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
33806 (test_gai): Adjust query names. Add additional tests.
33807 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
33808 test_get2. Adjust query names. Add additional tests.
33809 (test_no_inet6): New function, extracted from threadfunc.
33810 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
33811 Add additional tests.
33813 2017-09-06 Mike FABIAN <mfabian@redhat.com>
33816 * localedata/unicode-gen/utf8_gen.py: Set the width for
33817 characters with Prepended_Concatenation_Mark property to 1
33818 * localedata/charmaps/UTF-8: Updated using the improved script.
33820 2017-09-06 Mike FABIAN <mfabian@redhat.com>
33823 * localedata/unicode-gen/utf8_gen.py: Improve the script to
33824 use the range notation for all ranges of neighbouring characters
33825 with the same width.
33827 2017-09-05 Joseph Myers <joseph@codesourcery.com>
33829 * sysdeps/generic/math-type-macros-double.h: Include
33830 <math-svid-compat.h>.
33831 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
33832 * sysdeps/generic/math-type-macros-float.h: Include
33833 <math-svid-compat.h>.
33834 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
33835 * sysdeps/generic/math-type-macros-ldouble.h: Include
33836 <math-svid-compat.h>.
33837 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
33838 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
33840 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
33841 * math/w_acosf_compat.c: Likewise.
33842 * math/w_acosh_compat.c: Likewise.
33843 * math/w_acoshf_compat.c: Likewise.
33844 * math/w_acoshl_compat.c: Likewise.
33845 * math/w_acosl_compat.c: Likewise.
33846 * math/w_asin_compat.c: Likewise.
33847 * math/w_asinf_compat.c: Likewise.
33848 * math/w_asinl_compat.c: Likewise.
33849 * math/w_atan2_compat.c: Likewise.
33850 * math/w_atan2f_compat.c: Likewise.
33851 * math/w_atan2l_compat.c: Likewise.
33852 * math/w_atanh_compat.c: Likewise.
33853 * math/w_atanhf_compat.c: Likewise.
33854 * math/w_atanhl_compat.c: Likewise.
33855 * math/w_cosh_compat.c: Likewise.
33856 * math/w_coshf_compat.c: Likewise.
33857 * math/w_coshl_compat.c: Likewise.
33858 * math/w_exp10_compat.c: Likewise.
33859 * math/w_exp10f_compat.c: Likewise.
33860 * math/w_exp10l_compat.c: Likewise.
33861 * math/w_exp2_compat.c: Likewise.
33862 * math/w_exp2f_compat.c: Likewise.
33863 * math/w_exp2l_compat.c: Likewise.
33864 * math/w_fmod_compat.c: Likewise.
33865 * math/w_fmodf_compat.c: Likewise.
33866 * math/w_fmodl_compat.c: Likewise.
33867 * math/w_hypot_compat.c: Likewise.
33868 * math/w_hypotf_compat.c: Likewise.
33869 * math/w_hypotl_compat.c: Likewise.
33870 * math/w_j0_compat.c: Likewise.
33871 * math/w_j0f_compat.c: Likewise.
33872 * math/w_j0l_compat.c: Likewise.
33873 * math/w_j1_compat.c: Likewise.
33874 * math/w_j1f_compat.c: Likewise.
33875 * math/w_j1l_compat.c: Likewise.
33876 * math/w_jn_compat.c: Likewise.
33877 * math/w_jnf_compat.c: Likewise.
33878 * math/w_jnl_compat.c: Likewise.
33879 * math/w_lgamma_r_compat.c: Likewise.
33880 * math/w_lgammaf_r_compat.c: Likewise.
33881 * math/w_lgammal_r_compat.c: Likewise.
33882 * math/w_log10_compat.c: Likewise.
33883 * math/w_log10f_compat.c: Likewise.
33884 * math/w_log10l_compat.c: Likewise.
33885 * math/w_log2_compat.c: Likewise.
33886 * math/w_log2f_compat.c: Likewise.
33887 * math/w_log2l_compat.c: Likewise.
33888 * math/w_log_compat.c: Likewise.
33889 * math/w_logf_compat.c: Likewise.
33890 * math/w_logl_compat.c: Likewise.
33891 * math/w_pow_compat.c: Likewise.
33892 * math/w_powf_compat.c: Likewise.
33893 * math/w_powl_compat.c: Likewise.
33894 * math/w_remainder_compat.c: Likewise.
33895 * math/w_remainderf_compat.c: Likewise.
33896 * math/w_remainderl_compat.c: Likewise.
33897 * math/w_sinh_compat.c: Likewise.
33898 * math/w_sinhf_compat.c: Likewise.
33899 * math/w_sinhl_compat.c: Likewise.
33900 * math/w_sqrt_compat.c: Likewise.
33901 * math/w_sqrtf_compat.c: Likewise.
33902 * math/w_sqrtl_compat.c: Likewise.
33903 * math/w_tgamma_compat.c: Likewise.
33904 * math/w_tgammaf_compat.c: Likewise.
33905 * math/w_tgammal_compat.c: Likewise.
33906 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
33907 [LIBM_SVID_COMPAT].
33908 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
33909 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
33910 [LIBM_SVID_COMPAT].
33911 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
33912 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
33913 [LIBM_SVID_COMPAT].
33914 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
33915 * sysdeps/i386/fpu/w_sqrt.c: New file.
33916 * sysdeps/ia64/fpu/w_acos.c: Likewise.
33917 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
33918 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
33919 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
33920 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
33921 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
33922 * sysdeps/ia64/fpu/w_asin.c: Likewise.
33923 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
33924 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
33925 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
33926 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
33927 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
33928 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
33929 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
33930 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
33931 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
33932 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
33933 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
33934 * sysdeps/ia64/fpu/w_exp.c: Likewise.
33935 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
33936 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
33937 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
33938 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
33939 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
33940 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
33941 * sysdeps/ia64/fpu/w_expf.c: Likewise.
33942 * sysdeps/ia64/fpu/w_expl.c: Likewise.
33943 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
33944 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
33945 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
33946 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
33947 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
33948 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
33949 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
33950 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
33951 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
33952 * sysdeps/ia64/fpu/w_log.c: Likewise.
33953 * sysdeps/ia64/fpu/w_log10.c: Likewise.
33954 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
33955 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
33956 * sysdeps/ia64/fpu/w_log2.c: Likewise.
33957 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
33958 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
33959 * sysdeps/ia64/fpu/w_logf.c: Likewise.
33960 * sysdeps/ia64/fpu/w_logl.c: Likewise.
33961 * sysdeps/ia64/fpu/w_pow.c: Likewise.
33962 * sysdeps/ia64/fpu/w_powf.c: Likewise.
33963 * sysdeps/ia64/fpu/w_powl.c: Likewise.
33964 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
33965 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
33966 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
33967 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
33968 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
33969 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
33970 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
33971 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
33972 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
33973 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
33974 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
33975 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
33976 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
33977 [LIBM_SVID_COMPAT].
33978 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
33979 * sysdeps/ieee754/k_standard.c: Likewise.
33980 * sysdeps/ieee754/k_standardf.c: Likewise.
33981 * sysdeps/ieee754/k_standardl.c: Likewise.
33982 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
33983 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
33984 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
33985 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
33986 long_double_symbol call on [LIBM_SVID_COMPAT].
33987 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
33988 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
33989 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
33990 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
33991 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
33992 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
33993 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
33994 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
33995 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
33996 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
33997 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
33998 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
33999 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
34000 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
34001 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
34002 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
34003 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
34004 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
34005 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
34006 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
34007 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
34008 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
34010 2017-09-05 Steve Ellcey <sellcey@cavium.com>
34012 * include/shlib-compat.h (TEST_COMPAT): New Macro.
34013 * malloc/tst-mallocstate.c: Convert from test-skeleton
34014 to test-driver. Ifdef code using TEST_COMPAT macro.
34015 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
34016 * math/test-matherr.c: Likewise.
34018 2017-09-05 Joseph Myers <joseph@codesourcery.com>
34021 * debug/pcprofiledump.c (main): Use byte-swapped mask when
34022 comparing word with byte-swapped constant.
34024 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
34027 * locale/iso-639.def: add Miskito.
34028 * localedata/SUPPORTED: Add miq_NI/UTF-8.
34029 * localedata/locales/miq_NI: New file.
34031 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
34034 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
34035 (__mkdir): Likewise.
34036 * io/chmod.c (__chmod): Add libc_hidden_def.
34037 * io/mkdir.c (__mkdir): Likewise.
34038 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
34039 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
34040 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
34041 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
34043 2017-09-04 Joseph Myers <joseph@codesourcery.com>
34045 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
34049 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
34050 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
34052 2017-09-04 Florian Weimer <fweimer@redhat.com>
34054 * math/math.h: Issue warning if log is defined.
34056 2017-09-04 Joseph Myers <joseph@codesourcery.com>
34058 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
34059 kernel version to 4.13.
34061 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
34063 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
34064 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
34066 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
34067 just <bits/types.h>.
34068 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
34069 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
34070 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
34071 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
34072 * misc/preadv2.c: Include <errno.h>.
34073 * misc/preadv64v2.c: Include <errno.h>.
34074 * misc/pwritev2.c: Include <errno.h>.
34075 * misc/pwritev64v2.c: Include <errno.h>.
34076 * sysdeps/posix/preadv2.c: Include <errno.h>.
34077 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
34078 Fix <unistd.h> inclusion.
34079 * sysdeps/posix/pwritev2.c: Include <errno.h>.
34080 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
34081 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
34082 __strtoul_internal): New functions.
34083 * sysdeps/posix/pause.c: Include <sigsetops.h>.
34084 * sysdeps/posix/system.c: Include <sigsetops.h>.
34085 * sysdeps/mach/hurd/i386/Makefile
34086 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
34087 [$(subdir) = csu] (sysdep-only-routines): Likewise.
34088 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
34089 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
34090 __feraiseexcept_renamed to feraiseexcept instead of
34091 __GI_feraiseexcept.
34092 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
34093 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
34094 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
34095 RWF_NOWAIT): Define to 0 if undefined already.
34096 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
34098 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
34099 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
34101 2017-09-01 Joseph Myers <joseph@codesourcery.com>
34103 * manual/math.texi (pow10): Do not document.
34104 (pow10f): Likewise.
34105 (pow10l): Likewise.
34106 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
34107 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
34108 * math/libm-test-exp10.inc (pow10_test): Remove.
34109 (do_test): Do not call pow10.
34110 * math/w_exp10_compat.c (pow10): Make into compat symbol.
34111 [NO_LONG_DOUBLE] (pow10l): Likewise.
34112 * math/w_exp10f_compat.c (pow10f): Likewise.
34113 * math/w_exp10l_compat.c (pow10l): Likewise.
34114 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
34115 (pow10): Make into compat symbol.
34116 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
34117 (pow10f): Make into compat symbol.
34118 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
34119 (pow10l): Make into compat symbol.
34120 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
34122 (CFLAGS-nldbl-pow10.c): Remove variable..
34123 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
34124 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
34125 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
34126 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
34127 Undefine and redefine.
34128 (pow10l): Make into compat symbol.
34129 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
34130 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
34131 * sysdeps/arm/libm-test-ulps: Likewise.
34132 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
34133 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
34134 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
34135 * sysdeps/microblaze/libm-test-ulps: Likewise.
34136 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
34137 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34138 * sysdeps/nios2/libm-test-ulps: Likewise.
34139 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34140 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
34141 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34142 * sysdeps/sh/libm-test-ulps: Likewise.
34143 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34144 * sysdeps/tile/libm-test-ulps: Likewise.
34145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34147 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34149 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
34151 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34153 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
34154 "../ChangeLog.old/ChangeLog.8".
34155 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
34156 "../ChangeLog.old/ChangeLog.14".
34158 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34160 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
34163 2017-09-01 Joseph Myers <joseph@codesourcery.com>
34165 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
34167 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34169 * csu/version.c (banner): Remove "by Roland McGrath et al.".
34170 * nptl/Banner: Remove "by Ulrich Drepper et al.".
34172 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34174 * stdlib/tst-atexit-common.c (do_test): Test support for at least
34175 32 atexit handlers.
34177 2017-09-01 Zack Weinberg <zackw@panix.com>
34179 * math/math.h (HUGE_VAL): Improve commentary.
34181 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34182 Andreas Schwab <schwab@suse.de>
34185 * include/stdio.h (__gen_tempfd): New function.
34186 * stdio-common/Makefile (routines): Add gentempfd.
34187 * stdio-common/gentempfd.c: New file.
34188 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
34189 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
34190 unnamed file first.
34192 2017-09-01 Florian Weimer <fweimer@redhat.com>
34196 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
34197 result to determine success or failure, not the errno value.
34198 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
34199 (tst-nss-files-hosts-erange): Link with -ldl.
34200 * nss/tst-nss-files-hosts-erange.c: New file.
34201 * nss/tst-resolv-basic.c (response): Handle nodata.example.
34202 (do_test): Add NO_DATA tests.
34203 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
34204 (do_test): Call it.
34206 2017-09-01 Florian Weimer <fweimer@redhat.com>
34209 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
34210 coming from gethostbyname2_r.
34212 2017-09-01 Florian Weimer <fweimer@redhat.com>
34214 * support/namespace.h (struct support_chroot_configuration): Add
34216 (struct support_chroot): Add path_hosts, path_host_conf.
34217 * support/support_chroot.c (write_file): New function.
34218 (support_chroot_create): Call it to process /etc/resolv.conf,
34219 /etc/hosts, /etc/host.conf.
34220 (support_chroot_free): Update.
34222 2017-09-01 Florian Weimer <fweimer@redhat.com>
34224 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
34225 status indicates it is set.
34227 2017-09-01 Florian Weimer <fweimer@redhat.com>
34230 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
34231 function lookup failures more reliable.
34233 2017-09-01 Florian Weimer <fweimer@redhat.com>
34235 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
34236 (getcanonname): Likewise.
34237 (gaih_inet): Likewise.
34239 2017-09-01 Florian Weimer <fweimer@redhat.com>
34241 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
34242 (getcanonname): Likewise.
34243 (gaih_inet): Likewise.
34245 2017-08-31 Steve Ellcey <sellcey@cavium.com>
34246 Richard Henderson <rth@twiddle.net>
34248 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
34249 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
34250 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
34251 (IREG_SIZE, OREG_SIZE): New macros.
34252 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
34253 (IREG_SIZE, OREG_SIZE): New macros.
34254 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
34255 (IREG_SIZE): New macro.
34256 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
34257 (IREG_SIZE): New macro.
34258 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
34260 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
34261 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
34262 (__CONCATX): Handle exceptions correctly on large values that may
34264 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
34265 Initialize if not already set.
34266 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
34268 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34270 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
34271 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
34273 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
34275 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
34277 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
34279 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
34281 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
34283 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
34285 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
34286 (NO_CANCELLATION): Likewise.
34287 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
34289 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
34291 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
34293 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
34294 (NO_CANCELLATION): Likewise.
34295 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
34296 (NO_CANCELLATION): Likewise.
34297 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
34299 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
34301 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
34303 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
34305 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
34307 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
34308 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
34310 2017-08-31 Steve Ellcey <sellcey@cavium.com>
34312 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
34315 2017-08-31 Florian Weimer <fweimer@redhat.com>
34317 * include/libc-symbols.h (internal_function): Remove.
34319 2017-08-31 Florian Weimer <fweimer@redhat.com>
34321 * stdlib/fmtmsg.c (internal_addseverity): Remove
34324 2017-08-31 Florian Weimer <fweimer@redhat.com>
34326 * stdio-common/printf_fp.c (group_number): Remove
34328 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
34330 2017-08-31 Florian Weimer <fweimer@redhat.com>
34332 * posix/fnmatch.c (internal_function): Remove definition.
34333 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
34334 * posix/regcomp.c (peek_token, init_word_char)
34335 (duplicate_node_closure, fetch_token, peek_token)
34336 (peek_token_bracket, build_range_exp, build_collating_symbol):
34338 * posix/regex_internal.c (re_string_construct_common)
34339 (create_ci_newstate, create_cd_newstate, re_string_allocate)
34340 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
34341 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
34342 (re_string_translate_buffer, re_string_reconstruct)
34343 (re_string_peek_byte_case, re_string_fetch_byte_case)
34344 (re_string_destruct, re_string_context_at, re_node_set_alloc)
34345 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
34346 (re_node_set_add_intersect, re_node_set_init_union)
34347 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
34348 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
34349 (re_dfa_add_node, calc_state_hash, re_acquire_state)
34350 (re_acquire_state_context): Likewise.
34351 * posix/regex_internal.h (internal_function): Remove definition.
34352 (re_string_realloc_buffers, build_wcs_buffer)
34353 (build_wcs_upper_buffer, build_upper_buffer)
34354 (re_string_translate_buffer, re_string_context_at)
34355 (re_string_char_size_at, re_string_wchar_at)
34356 (re_string_elem_size_at): Likewise.
34357 * posix/regexec.c (match_ctx_init, match_ctx_clean)
34358 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
34359 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
34360 (re_search_internal, re_search_2_stub, re_search_stub)
34361 (re_copy_regs, prune_impossible_nodes, check_matching)
34362 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
34363 (free_fail_stack_return, sift_states_iter_mb)
34364 (sift_states_backward, build_sifted_states)
34365 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
34366 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
34367 (check_subexp_limits, sift_states_bkref, merge_state_array)
34368 (find_recover_state, transit_state, merge_state_with_log)
34369 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
34370 (transit_state_mb, transit_state_bkref, get_subexp)
34371 (get_subexp_sub, find_subexp_node, check_arrival)
34372 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
34373 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
34374 (check_node_accept_bytes, find_collation_sequence_value)
34375 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
34376 (acquire_init_state_context, check_halt_node_context)
34377 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
34378 (sub_epsilon_src_nodes): Likewise.
34379 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
34380 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
34381 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
34382 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
34383 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
34384 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
34385 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
34386 * sysdeps/posix/ttyname.c (getttyname): Likewise.
34387 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
34388 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
34389 (PREADV): Likewise.
34390 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
34391 (PREADV): Likewise.
34392 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
34393 (PWRITEV): Likewise.
34394 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
34395 (PWRITEV): Likewise.
34396 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
34397 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
34399 2017-08-31 Florian Weimer <fweimer@redhat.com>
34401 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
34402 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
34403 Remove internal_function.
34404 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
34405 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
34406 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
34407 (__deallocate_stack, __libc_pthread_init)
34408 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
34409 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
34410 (__libc_disable_asynccancel, __librt_disable_asynccancel):
34412 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
34413 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
34414 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
34416 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
34417 (__pthread_mutex_unlock_usercnt): Likewise.
34419 2017-08-31 Florian Weimer <fweimer@redhat.com>
34421 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
34422 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
34423 (fts_safe_changedir): Remove internal_function.
34424 * io/ftw.c (internal_function): Remove definition.
34425 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
34427 2017-08-31 Florian Weimer <fweimer@redhat.com>
34429 * inet/deadline.c (__deadline_current_time)
34430 (__deadline_from_timeval, __deadline_to_ms): Remove
34432 * inet/getnameinfo.c (nrl_domainname): Likewise.
34433 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
34434 * inet/inet6_option.c (add_pad): Likewise.
34435 * inet/net-internal.h (__deadline_current_time)
34436 (__deadline_from_timeval, __deadline_to_ms): Likewise.
34437 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
34438 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
34439 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
34441 2017-08-31 Joseph Myers <joseph@codesourcery.com>
34443 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
34444 include <bits/nan.h>.
34445 * math/Makefile (headers): Remove bits/nan.h.
34446 * bits/nan.h: Remove.
34447 * sysdeps/ieee754/bits/nan.h: Likewise.
34448 * sysdeps/mips/bits/nan.h: Likewise.
34450 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
34451 not include <bits/inf.h>.
34452 * math/Makefile (headers): Remove bits/inf.h.
34453 * bits/inf.h: Remove.
34454 * sysdeps/ieee754/bits/inf.h: Likewise.
34456 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
34457 bits/huge_vall.h or bits/huge_val_flt128.h.
34458 (HUGE_VAL): Define directly here.
34459 [__USE_ISOC99] (HUGE_VALF): Likewise.
34460 [__USE_ISOC99] (HUGE_VALL): Likewise.
34461 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34462 (HUGE_VAL_F128): Likewise.
34463 * math/Makefile (headers): Remove bits/huge_val.h,
34464 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
34465 * bits/huge_val.h: Remove.
34466 * bits/huge_val_flt128.h: Likewise.
34467 * bits/huge_valf.h: Likewise.
34468 * bits/huge_vall.h: Likewise.
34469 * sysdeps/ia64/bits/huge_vall.h: Likewise.
34470 * sysdeps/ieee754/bits/huge_val.h: Likewise.
34471 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
34472 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
34473 * sysdeps/sh/bits/huge_val.h: Likewise.
34474 * sysdeps/sparc/bits/huge_vall.h: Likewise.
34475 * sysdeps/x86/bits/huge_vall.h: Likewise.
34477 2017-08-31 Florian Weimer <fweimer@redhat.com>
34479 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
34481 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
34483 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
34484 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
34485 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
34486 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
34487 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34488 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
34489 * elf/dl-libc.c (dlerror_run): Likewise.
34490 * elf/dl-load.c (add_name_to_object, decompose_rpath)
34491 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
34492 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
34493 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
34495 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
34496 (_dl_higher_prime_number, _dl_strtoul): Likewise.
34497 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
34498 * elf/dl-profile.c (_dl_start_profile): Likewise.
34499 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
34500 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
34502 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
34503 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
34504 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
34505 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
34506 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
34507 (_dl_allocate_tls_storage): Likewise.
34508 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
34509 (_dl_check_all_versions): Likewise.
34510 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
34511 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
34512 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
34513 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
34514 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
34515 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
34516 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
34517 internal_function from __dl_start.
34518 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
34519 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
34520 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
34521 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
34522 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
34523 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
34524 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
34525 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
34526 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
34527 (_dl_next_ld_env_entry, _dl_important_hwcaps)
34528 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
34529 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
34530 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
34531 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
34532 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
34534 (struct rtld_global_ro): Remove internal_function from the
34535 _dl_lookup_symbol_x member.
34536 (_dl_symbol_value): Remove. No longer defined anywhere.
34537 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
34539 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
34540 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
34541 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
34542 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
34543 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
34544 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
34545 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
34546 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
34547 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
34548 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
34549 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
34550 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
34552 2017-08-31 Florian Weimer <fweimer@redhat.com>
34554 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
34555 Remove internal_function.
34556 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
34558 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
34561 2017-08-31 Florian Weimer <fweimer@redhat.com>
34563 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
34564 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
34565 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
34567 2017-08-31 Florian Weimer <fweimer@redhat.com>
34569 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
34570 (__gai_enqueue_request): Remove internal_function.
34571 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
34572 (__gai_remove_request, __gai_notify, __gai_notify_only)
34573 (__gai_sigqueue): Likewise.
34574 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
34575 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
34576 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
34577 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
34580 2017-08-31 Florian Weimer <fweimer@redhat.com>
34582 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
34583 * include/dirent.h (__opendirat, __getdents, __getdents64)
34584 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
34585 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
34586 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34587 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
34589 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
34591 2017-08-31 Florian Weimer <fweimer@redhat.com>
34593 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
34595 (GETCWD_RETURN_TYPE): Likewise.
34597 2017-08-31 Florian Weimer <fweimer@redhat.com>
34599 * include/time.h (__tz_compute, __strptime_internal): Remove
34601 * time/strptime_l.c (__strptime_internal): Likewise.
34602 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
34604 2017-08-31 Florian Weimer <fweimer@redhat.com>
34606 * iconv/gconv.c (__gconv): Remove internal_function.
34607 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
34608 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
34609 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
34610 (__gconv_release_cache): Likewise.
34611 * iconv/gconv_close.c (__gconv_close): Likewise.
34612 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
34613 (read_conf_file, __gconv_get_path): Likewise.
34614 * iconv/gconv_db.c (derivation_lookup, add_derivation)
34615 (__gconv_release_step, gen_steps, increment_counter)
34616 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
34617 (__gconv_close_transform, free_modules_db): Likewise.
34618 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
34620 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
34621 (__gconv_find_transform, __gconv_lookup_cache)
34622 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
34623 (__gconv_close_transform, __gconv_release_cache)
34624 (__gconv_loaded_object, __gconv_release_shlib)
34625 (__gconv_compare_alias): Likewise.
34626 * iconv/gconv_open.c (__gconv_open): Likewise.
34627 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
34628 * iconv/iconvconfig.c (add_module): Likewise.
34629 * intl/dcigettext.c (plural_lookup, guess_category_value)
34630 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
34631 * intl/eval-plural.h (plural_eval): Likewise.
34632 * intl/finddomain.c (_nl_find_domain): Likewise.
34633 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
34634 (_nl_load_domain, _nl_find_msg): Likewise.
34635 (internal_function): Remove definition.
34636 * intl/loadinfo.h (internal_function): Likewise.
34637 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
34639 * intl/localealias.c (internal_function): Remove definition.
34640 (read_alias_file): Remove internal_function.
34641 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
34642 * intl/plural-exp.h (internal_function): Remove definition.
34643 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
34645 * intl/plural.c: Regenerate.
34646 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
34647 * locale/coll-lookup.c (__collidx_table_lookup)
34648 (__collseq_table_lookup): Likewise.
34649 * locale/coll-lookup.h (__collidx_table_lookup)
34650 (__collseq_table_lookup): Likewise.
34651 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
34652 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34653 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
34654 (_nl_unload_locale): Likewise.
34655 * locale/localeinfo.h (struct __locale_data): Remove
34656 internal_function from cleanup member.
34657 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
34658 (_nl_remove_locale, _nl_load_locale_from_archive)
34659 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
34660 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
34661 (_nl_cleanup_time): Remove internal_function.
34662 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
34663 (_nl_parse_alt_digit): Likewise.
34664 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
34665 (_nl_select_era_entry): Likewise.
34666 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
34667 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
34668 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
34669 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
34670 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
34672 2017-08-31 Florian Weimer <fweimer@redhat.com>
34674 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
34675 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
34676 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
34677 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
34679 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
34680 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
34681 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
34682 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
34684 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
34686 2017-08-31 Florian Weimer <fweimer@redhat.com>
34688 * misc/getttyent.c (skip, value): Remove internal_function.
34689 * misc/syslog.c (openlog_internal): Likewise.
34690 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
34692 2017-08-31 Florian Weimer <fweimer@redhat.com>
34694 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
34695 (__nss_rewrite_field): Remove internal_function.
34696 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34697 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
34698 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34699 * nss/nsswitch.c (nss_parse_file, nss_getline)
34700 (nss_parse_service_list, nss_new_service): Likewise.
34701 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
34702 * nss/valid_field.c (__nss_valid_field): Likewise.
34703 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
34705 2017-08-31 Florian Weimer <fweimer@redhat.com>
34707 * malloc/arena.c (__malloc_fork_lock_parent)
34708 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
34709 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
34710 internal_function from defintions.
34711 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
34712 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
34713 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
34714 internal_function from declarations.
34715 * malloc/malloc.c (internal_function): Do not define.
34716 (mem2mem_check): Remove internal_function from declaration.
34717 (munmap_chunk, mremap_chunk): Remove internal_function.
34718 * malloc/mtrace.c (tr_where): Likewise.
34720 2017-08-31 Florian Weimer <fweimer@redhat.com>
34722 * include/rpc/pmap_clnt.h (__get_socket): Remove
34724 * sunrpc/auth_des.c (synchronize): Likewise.
34725 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
34726 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
34727 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
34728 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
34729 (key_call): Likewise.
34730 * sunrpc/pm_getport.c (__get_socket): Likewise.
34731 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
34732 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
34733 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
34734 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
34735 (invalidate): Likewise.
34736 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
34737 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
34738 (set_input_fragment, get_input_bytes): Likewise.
34740 2017-08-31 Florian Weimer <fweimer@redhat.com>
34742 * malloc/malloc.c (_int_free): Remove locked variable and related
34745 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
34748 * Makerules (build-module-helper-objlist): Filter out
34749 $(elf-objpfx)sofini.os.
34750 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
34753 2017-08-31 Florian Weimer <fweimer@redhat.com>
34755 * libio/fcloseall.c: Assume weak_alias is defined.
34756 * libio/feof.c: Likewise.
34757 * libio/fileno.c: Likewise.
34758 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
34759 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
34761 (_IO_file_open): Call __open directly.
34762 (_IO_new_file_sync): Assume ESPIPE is defined.
34763 (_IO_file_seekoff_maybe_mmap): Call __read directly.
34764 (_IO_new_file_write): Call __write directly.
34765 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
34766 * libio/ftello64.c (__ftello64): Assume EIO is defined.
34767 * libio/genops.c: Assume _LIBC is defined.
34768 (save_for_backup): Remove internal_function.
34769 * libio/getc.c: Assume weak_alias is defined.
34770 * libio/getwc.c: Likewise.
34771 * libio/iofclose.c: Assume _LIBC is defined.
34772 * libio/iofdopen.c: Likewise.
34773 (_IO_fcntl): Remove macro definition.
34774 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
34775 Call __fcntl directly.
34776 * libio/iofflush.c: Assume weak_alias is defined.
34777 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
34779 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
34780 * libio/iofgets.c: Likewise.
34781 * libio/iofopen.c: Assume _LIBC is defined.
34782 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
34783 * libio/iofputs.c: Assume weak_alias is defined.
34784 * libio/iofread.c: Likewise.
34785 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
34786 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
34787 * libio/ioftell.c: Assume weak_alias is defined.
34788 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
34789 * libio/iofwide.c: Assume _LIBC is defined.
34790 (_IO_fwide): Drop SHARED conditional because it is implied by
34792 * libio/iofwrite.c: Assume weak_alias is defined.
34793 * libio/iogetdelim.c: Likewise.
34794 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
34795 * libio/iogetwline.c (wmemcpy): Remove macro definition.
34796 (_IO_getwline): Call __wmemcpy directly.
34797 * libio/iopopen.c: Assume _LIBC is defined.
34798 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
34799 (_IO_close): Remove macro definitions.
34800 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
34802 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
34804 * libio/ioputs.c: Assume weak_alias is defined.
34805 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
34806 * libio/iosetbuffer.c: Assume weak_alias is defined.
34807 * libio/iosetvbuf.c: Likewise.
34808 * libio/ioungetc.c: Likewise.
34809 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
34810 libc_hidden_def, libc_hidden_weak, NULL are defined.
34811 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
34812 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
34814 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
34816 (_IO_old_file_init_internal): Drop SHARED conditional because it
34817 is implied by SHLIB_COMPAT.
34818 (_IO_old_file_fopen): Call __open directly.
34819 (_IO_old_file_sync): Assume ESPIPE is defined.
34820 (_IO_old_file_write): Call __write directly.
34821 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
34822 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
34823 Call __fcntl directly.
34824 * libio/oldiofgetpos.c: Assume weak_alias is defined.
34825 (_IO_old_fgetpos): Assume EIO is defined.
34826 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
34827 (_IO_old_fgetpos64): Assume EIO is defined.
34828 * libio/oldiofsetpos.c: Assume weak_alias is defined.
34829 (_IO_old_fsetpos): Assume EIO is defined.
34830 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
34831 (_IO_old_fsetpos64): Assume EIO is defined.
34832 * libio/oldiopopen.c: Assume _LIBC is defined.
34833 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
34834 (_IO_close): Remove macro definitions.
34835 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
34837 (_IO_old_proc_close): Call __close, __waitpid directly.
34838 * libio/put.c: Assume weak_alias is defined.
34839 * libio/stdfiles.c: Assume _LIBC is defined.
34840 * libio/stdio.c: Likewise.
34841 * libio/wfileops.c: Likewise.
34842 (_IO_wfile_sync): Assume ESPIPE is defined.
34843 * libio/wgenops.c: Assume _LIBC is defined.
34844 (save_for_wbackup): Remove internal_function.
34846 2017-08-31 Florian Weimer <fweimer@redhat.com>
34848 * malloc/malloc.c (top_check): Change return type to void. Remove
34850 * malloc/hooks.c (top_check): Likewise.
34851 (malloc_check, realloc_check, memalign_check): Adjust.
34853 2017-08-30 Joseph Myers <joseph@codesourcery.com>
34856 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
34857 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
34858 sigcontext and namespace requirements.
34859 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
34860 * sysdeps/m68k/sys/ucontext.h: Likewise.
34861 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
34862 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
34863 <bits/sigcontext.h>.
34864 (__ctx): Define earlier.
34865 (mcontext_t): Define structure contents rather than using struct
34867 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
34868 __glibc_reserved1 instead of __reserved.
34869 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
34870 <bits/sigcontext.h>.
34871 (__ctx): Define earlier.
34872 (mcontext_t): Define structure contents rather than using struct
34874 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
34875 mcontext_t instead of struct sigcontext.
34876 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
34877 <bits/sigcontext.h>.
34878 (__ctx): Define earlier.
34879 (mcontext_t): Define structure contents rather than using struct
34881 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
34882 <bits/sigcontext.h>.
34883 (__ctx): Define earlier.
34884 (mcontext_t): Define structure contents rather than using struct
34886 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
34887 mcontext_t instead of struct sigcontext.
34888 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
34889 mcontext_t instead of struct sigcontext.
34890 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
34891 <bits/sigcontext.h>.
34892 (__ctx): New macro.
34893 (struct __ia64_fpreg_mcontext): New type.
34894 (mcontext_t): Define structure contents rather than using struct
34896 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
34897 (uc_sigmask): Define using __ctx.
34898 (uc_stack): Likewise.
34899 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
34900 <bits/sigcontext.h>.
34901 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34902 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
34903 <bits/sigcontext.h>.
34904 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
34905 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
34906 <bits/sigcontext.h>.
34907 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
34908 <bits/sigcontext.h>.
34909 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
34910 <bits/sigcontext.h>.
34911 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
34912 <bits/sigcontext.h>.
34913 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
34914 <bits/sigcontext.h>.
34915 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
34916 <bits/sigcontext.h>.
34917 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
34918 <bits/sigcontext.h>.
34919 (__ctx): Define earlier.
34920 (mcontext_t): Define structure contents rather than using struct
34922 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
34923 <bits/sigcontext.h>. Include <bits/types.h>.
34924 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
34925 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
34926 (test-xfail-XPG42/ucontext.h/conform): Likewise.
34927 (test-xfail-UNIX98/signal.h/conform): Likewise.
34928 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
34929 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
34930 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
34931 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
34932 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
34933 (test-xfail-POSIX2008/signal.h/conform): Likewise.
34934 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
34935 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
34936 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
34938 2017-08-30 Florian Weimer <fweimer@redhat.com>
34940 * malloc/dynarray_emplace_enlarge.c
34941 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
34942 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
34943 * malloc/tst-dynarray.c (test_long_overflow): New function.
34944 (do_test): Call it.
34946 2017-08-30 Florian Weimer <fweimer@redhat.com>
34948 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
34949 (set_arena_corrupt): Remove definitions.
34950 (mtrim): Do not check for corrupt arena.
34951 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
34954 2017-08-30 Florian Weimer <fweimer@redhat.com>
34957 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
34959 (ptmalloc_init): Do not set or use check_action.
34960 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
34961 call to malloc_printerr. Remove return statement.
34962 (free_check): Likewise. Remove arena unlock.
34963 (top_check): Update comment. Adjust call to malloc_printerr.
34964 Remove heap repair code.
34965 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
34966 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
34967 (sysmalloc): Adjust call to malloc_printerr.
34968 (munmap_chunk, __libc_realloc): Likewise. Remove return
34970 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
34971 Remove errout label and corresponding gotos.
34972 (_int_free): Likewise. Remove arena unlock.
34973 (do_set_mallopt_check): Do not set check_action.
34974 (malloc_printerr): Adjust parameter list. Do not mark arena as
34976 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
34978 * manual/probes.texi (Memory Allocation Probes): Remove
34979 memory_mallopt_check_action.
34981 2017-08-30 Steve Ellcey <sellcey@cavium.com>
34983 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
34984 Use pointer to uint64_t instead of long int for sp.
34986 2017-08-30 Florian Weimer <fweimer@redhat.com>
34989 * malloc/malloc.c (malloc_printerr): Always terminate the process,
34990 without printing a backtrace. Do not leak any information in the
34992 * manual/memory.texi (Heap Consistency Checking): Update.
34993 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
34995 2017-08-30 Florian Weimer <fweimer@redhat.com>
34997 Do not scale NPTL tests with available number of CPUs.
34998 * nptl/tst-cond16.c (count): Set to constant value of 8.
34999 * nptl/tst-cond18.c (count): Likewise.
35001 2017-08-29 Joseph Myers <joseph@codesourcery.com>
35004 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
35005 Define to take a second argument that is a macro that
35006 concatentates a suffix, not the suffix itself.
35007 (__CONCAT_d): New macro.
35008 (__CONCAT_f): Likewise.
35009 (__CONCAT_l): Likewise.
35011 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
35013 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
35016 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35017 Aurelien Jarno <aurelien@aurel32.net>
35018 Maciej W. Rozycki <macro@imgtec.com>
35021 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
35022 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
35023 `mips16-syscall6' and `mips16-syscall7'.
35024 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
35025 (CFLAGS-mips16-syscall7.c): Remove.
35026 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
35027 Remove `__mips16_syscall5', `__mips16_syscall6' and
35028 `__mips16_syscall7'.
35029 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
35030 (__mips16_syscall0): Rename `__mips16_syscall_return' to
35031 `__mips_syscall_return'.
35032 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
35033 (__mips16_syscall1): Likewise.
35034 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
35035 (__mips16_syscall2): Likewise.
35036 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
35037 (__mips16_syscall3): Likewise.
35038 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
35039 (__mips16_syscall4): Likewise.
35040 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
35042 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
35044 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
35046 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
35047 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
35048 `__mips16_syscall5'. Remove prototype.
35049 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
35050 `__mips16_syscall6'. Remove prototype.
35051 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
35052 `__mips16_syscall7'. Remove prototype.
35053 (__nomips16, __mips16_syscall_return): Move to...
35054 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
35055 (__nomips16, __mips_syscall_return): ... here.
35056 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
35057 `__mips16_syscall_return' to `__mips_syscall_return'.
35058 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
35059 `internal_syscall##nr'.
35060 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
35061 `internal_syscall##nr'.
35062 (FORCE_FRAME_POINTER): Remove.
35063 (__mips_syscall5): New prototype.
35064 (internal_syscall5): Rewrite to call `__mips_syscall5'.
35065 (__mips_syscall6): New prototype.
35066 (internal_syscall6): Rewrite to call `__mips_syscall6'.
35067 (__mips_syscall7): New prototype.
35068 (internal_syscall7): Rewrite to call `__mips_syscall7'.
35069 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
35070 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
35071 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
35072 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
35073 (sysdep_routines): Add libc-do-syscall.
35074 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
35075 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
35077 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35080 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
35081 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
35082 (advise_stack_range): New function.
35083 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
35084 stack non required to advise_stack_range at allocatestack.c
35086 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
35088 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
35090 2017-08-29 Florian Weimer <fweimer@redhat.com>
35093 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
35094 __end_fct. Mangle __end_fct after setting it to NULL.
35095 * iconv/Makefile (tests): Add tst-gconv-init-failure.
35096 (modules-names, modules-names-tests): Add
35097 tst-gconv-init-failure-mod.
35098 (gconv-modules): New target.
35099 (tst-gconv-init-failure-mod.so): Link against libsupport.
35100 (tst-gconv-init-failure): Depend on gconv-modules,
35101 tst-gconv-init-failure-mod.so.
35102 * iconv/tst-gconv-init-failure-mod.c: New file.
35103 * iconv/tst-gconv-init-failure.c: Likewise.
35104 * iconv/test-gconv-modules: Likewise.
35106 2017-08-29 Florian Weimer <fweimer@redhat.com>
35109 * iconv/gconv_db.c (free_derivation): Remove redundant
35111 (gen_steps): Unconditionally mangle __btowc_fct after
35113 (increment_counter): Likewise. Do not call init_fct for internal
35116 2017-08-29 Joseph Myers <joseph@codesourcery.com>
35119 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35120 (_MSUF_): Remove macro.
35121 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
35123 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35124 (__REDIRFROM_X): New macro.
35125 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
35127 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
35128 (__REDIRTO_X): Likewise.
35129 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
35131 (__MATH_REDIRCALL_2): Likewise.
35132 (__MATH_REDIRCALL_INTERNAL): Likewise.
35133 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35134 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
35135 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
35136 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35137 * math/test-finite-macros.c: New file.
35138 * math/Makefile (tests): Add test-finite-macros.
35139 (CFLAGS-test-finite-macros.c): New variable.
35141 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
35142 Jeff Law <law@redhat.com>
35145 Mangle NULL pointers in iconv/gconv.
35146 * iconv/gconv_cache.c (find_module): Demangle init_fct before
35147 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
35148 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
35149 is non-NULL before demangling the end_fct. Check for NULL
35150 end_fct after demangling.
35151 (__gconv_release_step): Demangle the end_fct before checking
35152 it for NULL. Remove assert on __shlibc_handle != NULL.
35153 (gen_steps): Don't check btowc_fct for NULL before mangling.
35154 Demangle init_fct before checking for NULL.
35155 (increment_counter): Likewise.
35156 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
35157 end_fct for NULL before mangling.
35158 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
35161 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
35164 * locale/iso-639.def: add Morisyen.
35166 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35169 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
35170 (iszero): New C++ implementation that does not use
35171 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
35172 signaling nans are enabled, since __builtin_types_compatible_p
35173 is a C-only feature.
35174 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
35175 defined, include ieee754_float128.h for access to the union and
35176 member ieee854_float128.ieee.
35177 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
35178 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
35179 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
35180 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
35181 options of test-math-zero on powerpc64le.
35183 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
35185 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
35186 Change double to float.
35188 2017-08-28 Joseph Myers <joseph@codesourcery.com>
35190 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
35192 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
35193 conditional code; define contents only for [LIBM_SVID_COMPAT].
35195 2017-08-28 Florian Weimer <fweimer@redhat.com>
35197 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
35198 (abi-lp64_be-options): Remove.
35199 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
35200 (abi-hard-options): Likewise.
35201 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
35202 (abi-o32_hard-options, abi-o32_soft_2008-options)
35203 (abi-o32_hard_2008-options, abi-n32_soft-options)
35204 (abi-n32_hard-options, abi-n32_soft_2008-options)
35205 (abi-n32_hard_2008-options, abi-n64_soft-options)
35206 (abi-n64_hard-options, abi-n64_soft_2008-options)
35207 (abi-n64_hard_2008-options): Likewise.
35208 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
35209 (abi-64-v1-options, abi-64-v2-options): Likewise.
35210 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
35211 (abi-64-options): Likewise.
35212 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
35213 (abi-64-options): Likewise.
35214 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
35215 (abi-64-options): Likewise.
35216 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
35217 (abi-64-options, abi-x32-options): Likewise.
35219 2017-08-28 Florian Weimer <fweimer@redhat.com>
35221 Store supported list of SYS_* system calls in the source tree.
35222 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
35223 (bits/syscall.h): Generate from list file.
35224 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
35225 [$(subdir) = misc] (tests): Add tst-syscall-list.
35226 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
35227 [$(subdir) = misc] (tst-syscall-list-macros.list)
35228 [$(subdir) = misc] (tst-syscall-list-nr.list)
35229 (tst-syscall-list-sys.list): Helper targets for new
35230 tst-syscall-list test.
35231 [$(subdir) = misc] (tst-syscall-list.out): Run test script
35232 tst-syscall-list.sh.
35233 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
35234 target. Do not include bits/syscall.d.
35235 [$(subdir) = misc] (generated): Do not update.
35236 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
35237 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
35238 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
35239 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
35241 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
35243 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
35244 (tst-cxa_atexit, tst-on_exit): Likewise.
35245 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
35246 tst-cxa_atexit, and tst-on_exit.
35247 * stdlib/tst-atexit-common.c: New file.
35248 * stdlib/tst-atexit.c: New file.
35249 * stdlib/tst-at_quick_exit.c: New file.
35250 * stdlib/tst-cxa_atexit.c: New file.
35251 * stdlib/tst-on_exit.c: New file.
35253 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
35255 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
35256 * mach/stack_chk_fail_local.c: New file.
35257 * hurd/stack_chk_fail_local.c: New file.
35258 * mach/Machrules ($(interface-library)-routines): Add
35259 stack_chk_fail_local.
35260 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
35261 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
35262 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
35263 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
35264 * hurd/Makefile (CFLAGS-hurdstartup.o,
35265 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
35267 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
35269 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
35270 (index_cpu_*, index_arch_*): Removed.
35272 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
35274 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
35275 Use uint64_t instead of unsigned long.
35277 2017-08-25 Joseph Myers <joseph@codesourcery.com>
35279 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
35280 [__HAVE_DISTINCT_FLOAT128].
35282 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
35283 of <bits/math-finite.h>.
35284 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
35285 inclusion of <bits/math-finite.h>.
35286 * math/bits/math-finite.h (__REDIRTO_X): Do not define
35287 conditionally on [__MATH_DECLARING_LDOUBLE && defined
35288 __NO_LONG_DOUBLE_MATH].
35289 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
35290 (__MATH_REDIRCALL_2): Likewise.
35291 (__MATH_REDIRCALL_INTERNAL): Likewise.
35292 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35293 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
35294 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
35298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
35300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
35302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
35304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
35306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
35308 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
35309 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
35310 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
35311 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
35312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
35313 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
35314 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
35315 w_sqrtf_compat-ppc32.
35317 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35319 * math/math.h [defined __cplusplus] (issignaling): In the long
35320 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
35321 is not defined. Call __issignaling, otherwise.
35323 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35325 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
35326 syscall definitions and replace __builtin_expect with __glibc_likely.
35327 * sysdeps/unix/syscall-template.S: Update comment about cancellable
35329 (SYSCALL_CANCELLABLE): Removedefinition
35330 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
35332 (PSEUDO_END): Likewise.
35333 [IS_IN (libpthread)] (CENABLE): Likewise.
35334 [IS_IN (libpthread)] (CDISABLE): Likewise.
35335 [IS_IN (libc)] (CENABLE): Likewise.
35336 [IS_IN (libc)] (CENABLE): Likewise.
35337 [IS_IN (librt)] (CDISABLE): Likewise.
35338 [IS_IN (librt)] (CDISABLE): Likewise.
35339 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35340 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
35342 (PSEUDO_END): Likewise.
35343 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
35344 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
35345 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35346 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35347 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35348 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35349 (CENABLE): Likewise.
35350 (CDISABLE): Likewise.
35351 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35352 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
35354 (PSEUDO_END): Likewise.
35355 [IS_IN (libpthread)] (CENABLE): Likewise.
35356 [IS_IN (libpthread)] (CDISABLE): Likewise.
35357 [IS_IN (libc)] (CENABLE): Likewise.
35358 [IS_IN (libc)] (CENABLE): Likewise.
35359 [IS_IN (librt)] (CDISABLE): Likewise.
35360 [IS_IN (librt)] (CDISABLE): Likewise.
35361 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35362 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
35364 (PSEUDO_END): Likewise.
35365 [IS_IN (libpthread)] (CENABLE): Likewise.
35366 [IS_IN (libpthread)] (CDISABLE): Likewise.
35367 [IS_IN (libc)] (CENABLE): Likewise.
35368 [IS_IN (libc)] (CENABLE): Likewise.
35369 [IS_IN (librt)] (CDISABLE): Likewise.
35370 [IS_IN (librt)] (CDISABLE): Likewise.
35371 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35372 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
35374 (PSEUDO_END): Likewise.
35375 [IS_IN (libpthread)] (CENABLE): Likewise.
35376 [IS_IN (libpthread)] (CDISABLE): Likewise.
35377 [IS_IN (libc)] (CENABLE): Likewise.
35378 [IS_IN (libc)] (CENABLE): Likewise.
35379 [IS_IN (librt)] (CDISABLE): Likewise.
35380 [IS_IN (librt)] (CDISABLE): Likewise.
35381 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35382 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
35384 (PSEUDO_END): Likewise.
35385 [IS_IN (libpthread)] (CENABLE): Likewise.
35386 [IS_IN (libpthread)] (CDISABLE): Likewise.
35387 [IS_IN (libc)] (CENABLE): Likewise.
35388 [IS_IN (libc)] (CENABLE): Likewise.
35389 [IS_IN (librt)] (CDISABLE): Likewise.
35390 [IS_IN (librt)] (CDISABLE): Likewise.
35391 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35392 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
35394 (PSEUDO_END): Likewise.
35395 [IS_IN (libpthread)] (CENABLE): Likewise.
35396 [IS_IN (libpthread)] (CDISABLE): Likewise.
35397 [IS_IN (libc)] (CENABLE): Likewise.
35398 [IS_IN (libc)] (CENABLE): Likewise.
35399 [IS_IN (librt)] (CDISABLE): Likewise.
35400 [IS_IN (librt)] (CDISABLE): Likewise.
35401 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35402 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
35404 (PSEUDO_END): Likewise.
35405 [IS_IN (libpthread)] (CENABLE): Likewise.
35406 [IS_IN (libpthread)] (CDISABLE): Likewise.
35407 [IS_IN (libc)] (CENABLE): Likewise.
35408 [IS_IN (libc)] (CENABLE): Likewise.
35409 [IS_IN (librt)] (CDISABLE): Likewise.
35410 [IS_IN (librt)] (CDISABLE): Likewise.
35411 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35412 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
35414 (PSEUDO_END): Likewise.
35415 [IS_IN (libpthread)] (CENABLE): Likewise.
35416 [IS_IN (libpthread)] (CDISABLE): Likewise.
35417 [IS_IN (libc)] (CENABLE): Likewise.
35418 [IS_IN (libc)] (CENABLE): Likewise.
35419 [IS_IN (librt)] (CDISABLE): Likewise.
35420 [IS_IN (librt)] (CDISABLE): Likewise.
35421 (SINGLE_THREAD_P): Likewise.
35422 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
35424 (PSEUDO_END): Likewise.
35425 [IS_IN (libpthread)] (CENABLE): Likewise.
35426 [IS_IN (libpthread)] (CDISABLE): Likewise.
35427 [IS_IN (libc)] (CENABLE): Likewise.
35428 [IS_IN (libc)] (CENABLE): Likewise.
35429 [IS_IN (librt)] (CDISABLE): Likewise.
35430 [IS_IN (librt)] (CDISABLE): Likewise.
35431 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35432 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
35434 (PSEUDO_END): Likewise.
35435 [IS_IN (libpthread)] (CENABLE): Likewise.
35436 [IS_IN (libpthread)] (CDISABLE): Likewise.
35437 [IS_IN (libc)] (CENABLE): Likewise.
35438 [IS_IN (libc)] (CENABLE): Likewise.
35439 [IS_IN (librt)] (CDISABLE): Likewise.
35440 [IS_IN (librt)] (CDISABLE): Likewise.
35441 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35442 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
35443 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
35444 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
35445 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
35447 (PSEUDO_END): Likewise.
35448 [IS_IN (libpthread)] (CENABLE): Likewise.
35449 [IS_IN (libpthread)] (CDISABLE): Likewise.
35450 [IS_IN (libc)] (CENABLE): Likewise.
35451 [IS_IN (libc)] (CENABLE): Likewise.
35452 [IS_IN (librt)] (CDISABLE): Likewise.
35453 [IS_IN (librt)] (CDISABLE): Likewise.
35454 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35455 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
35457 (PSEUDO_END): Likewise.
35458 [IS_IN (libpthread)] (CENABLE): Likewise.
35459 [IS_IN (libpthread)] (CDISABLE): Likewise.
35460 [IS_IN (libc)] (CENABLE): Likewise.
35461 [IS_IN (libc)] (CENABLE): Likewise.
35462 [IS_IN (librt)] (CDISABLE): Likewise.
35463 [IS_IN (librt)] (CDISABLE): Likewise.
35464 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35465 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
35467 (PSEUDO_END): Likewise.
35468 [IS_IN (libpthread)] (CENABLE): Likewise.
35469 [IS_IN (libpthread)] (CDISABLE): Likewise.
35470 [IS_IN (libc)] (CENABLE): Likewise.
35471 [IS_IN (libc)] (CENABLE): Likewise.
35472 [IS_IN (librt)] (CDISABLE): Likewise.
35473 [IS_IN (librt)] (CDISABLE): Likewise.
35474 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35475 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
35476 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
35477 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
35478 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
35480 (PSEUDO_END): Likewise.
35481 [IS_IN (libpthread)] (CENABLE): Likewise.
35482 [IS_IN (libpthread)] (CDISABLE): Likewise.
35483 [IS_IN (libc)] (CENABLE): Likewise.
35484 [IS_IN (libc)] (CENABLE): Likewise.
35485 [IS_IN (librt)] (CDISABLE): Likewise.
35486 [IS_IN (librt)] (CDISABLE): Likewise.
35487 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35488 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
35490 (PSEUDO_END): Likewise.
35491 [IS_IN (libpthread)] (CENABLE): Likewise.
35492 [IS_IN (libpthread)] (CDISABLE): Likewise.
35493 [IS_IN (libc)] (CENABLE): Likewise.
35494 [IS_IN (libc)] (CENABLE): Likewise.
35495 [IS_IN (librt)] (CDISABLE): Likewise.
35496 [IS_IN (librt)] (CDISABLE): Likewise.
35497 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35499 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
35501 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
35503 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
35505 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35507 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
35510 * string/stratcliff.c (do_test): Declare size, nchars, inner,
35511 middle and outer with size_t instead of int. Repleace %d and
35512 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
35513 "MAX (outer, nchars - 64)" to support unsigned outer and
35514 nchars. Also exit loop when outer == 0.
35516 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35518 * include/fcntl.h (__fcntl_nocancel): Remove definition.
35519 * include/signal.h (__sigsuspend_nocancel): Likewise.
35520 * include/time.h (__nanosleep_nocancel): Likewise.
35521 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
35522 * login/utmp_file.c: Include non cancellable syscall header.
35523 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
35526 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
35528 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
35529 .byte sequences with AVX512F instructions.
35530 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
35531 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
35532 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
35533 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
35535 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
35538 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
35539 Steve Ellcey <sellcey@cavium.com>
35541 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
35542 Use PTR_REG macro in cmp instruction.
35544 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35546 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
35547 Change the return type of the ifunc resolver to match the return
35548 type of the target function.
35550 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35552 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
35553 (preadv64): Likewise.
35554 (pwrite64(: Likewise.
35555 (pwritev64): Likewise.
35557 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
35558 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
35559 (LOAD_ARGS_0): Likewise.
35560 (LOAD_ARGS_1): Likewise.
35561 (LOAD_ARGS_2): Likewise.
35562 (LOAD_ARGS_3): Likewise.
35563 (LOAD_ARGS_4): Likewise.
35564 (LOAD_ARGS_5): Likewise.
35565 (LOAD_ARGS_6): Likewise.
35566 (LOAD_REGS_0): Likewise.
35567 (LOAD_REGS_1): Likewise.
35568 (LOAD_REGS_2): Likewise.
35569 (LOAD_REGS_3): Likewise.
35570 (LOAD_REGS_4): Likewise.
35571 (LOAD_REGS_5): Likewise.
35572 (LOAD_REGS_6): Likewise.
35573 (ASM_ARGS_0): Likewise.
35574 (ASM_ARGS_1): Likewise.
35575 (ASM_ARGS_2): Likewise.
35576 (ASM_ARGS_3): Likewise.
35577 (ASM_ARGS_4): Likewise.
35578 (ASM_ARGS_5): Likewise.
35579 (ASM_ARGS_6): Likewise.
35580 (LOAD_ARGS_TYPES_1): Likewise.
35581 (LOAD_ARGS_TYPES_2): Likewise.
35582 (LOAD_ARGS_TYPES_3): Likewise.
35583 (LOAD_ARGS_TYPES_4): Likewise.
35584 (LOAD_ARGS_TYPES_5): Likewise.
35585 (LOAD_ARGS_TYPES_6): Likewise.
35586 (LOAD_REGS_TYPES_1): Likewise.
35587 (LOAD_REGS_TYPES_2): Likewise.
35588 (LOAD_REGS_TYPES_3): Likewise.
35589 (LOAD_REGS_TYPES_4): Likewise.
35590 (LOAD_REGS_TYPES_5): Likewise.
35591 (LOAD_REGS_TYPES_6): Likewise.
35592 (TYPEFY): New define.
35593 (ARGIFY): Likewise.
35594 (internal_syscall0): Likewise.
35595 (internal_syscall1): Likewise.
35596 (internal_syscall2): Likewise.
35597 (internal_syscall3): Likewise.
35598 (internal_syscall4): Likewise.
35599 (internal_syscall5): Likewise.
35600 (internal_syscall6): Likewise.
35601 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
35602 (INTERNAL_SYSCALL_NCS): Remove define.
35603 (internal_syscall1): Add define.
35605 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35607 * math/w_remainder_compat.c: Remove duplicate inclusion of
35608 math-svid-compat.h.
35609 * math/w_remainderf_compat.c: Likewise.
35610 * math/w_remainderl_compat.c: Likewise.
35612 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35614 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35616 2017-08-22 Joseph Myers <joseph@codesourcery.com>
35619 * math/tgmath.h (__floating_type): Simplify definitions.
35620 (__real_integer_type): New macro.
35621 (__complex_integer_type): Likewise.
35622 (__expr_is_real): Likewise.
35623 (__tgmath_real_type_sub): Update comment to describe handling of
35625 (__tgmath_complex_type_sub): New macro.
35626 (__tgmath_complex_type): Likewise.
35627 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35628 (__TGMATH_CF128): Use __expr_is_real.
35629 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
35631 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35632 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
35633 * math/gen-tgmath-tests.py (Type.create_type): Create complex
35636 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35638 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
35640 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
35642 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
35645 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
35646 nanosleep_not_cancel with __nanosleep_nocancel.
35647 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
35648 (__nanosleep_nocancel): New macro.
35649 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
35651 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
35653 (__nanosleep_nocancel): New prototype.
35655 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
35656 pause_not_cancel with __pause_nocancel.
35657 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
35658 (__pause_nocancel): New macro.
35659 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
35661 (__pause_nocancel): New prototype.
35662 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
35664 2017-08-22 Martin Sebor <msebor@redhat.com>
35666 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
35667 to return a pointer to the same type as the target function.
35669 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
35673 * include/printf.h (__printf_fphex): Add attribute_hidden.
35674 (__guess_grouping): New prototype.
35675 * stdio-common/printf_fp.c (__guess_grouping): Removed.
35676 * stdio-common/reg-printf.c (__register_printf_specifier): Add
35677 libc_hidden_proto and libc_hidden_def.
35678 * stdlib/strfmon_l.c (__guess_grouping): Removed.
35679 (__vstrfmon_l): Remove the third argument passed to
35682 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35684 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
35685 definition for issignaling that does not rely on __MATH_TG,
35686 since __MATH_TG uses __builtin_types_compatible_p, which is only
35687 available in C mode.
35688 (CFLAGS-test-math-issignaling.cc): New variable.
35689 * math/Makefile [CXX] (tests): Add test-math-issignaling.
35690 * math/test-math-issignaling.cc: New test for C++ implementation
35691 of type-generic issignaling.
35692 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
35693 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
35694 options of test-math-issignaling on powerpc64le.
35696 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
35698 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
35700 (hidden_proto): Likewise.
35701 (hidden_tls_proto): Likewise.
35702 (__hidden_proto): Likewise.
35704 2017-08-22 Florian Weimer <fweimer@redhat.com>
35706 math: Statically link tests of internal functionality.
35707 * math/Makefile (tests): Remove atest-exp, atest-sincos,
35709 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
35710 (gmp-objs): Remove assignment.
35711 (atest-exp, atest-sincos, atest-exp2): Remove targets.
35713 2017-08-22 Joseph Myers <joseph@codesourcery.com>
35716 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
35718 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
35720 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
35723 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
35724 variable definitions above inclusion of ../Rules.
35726 2017-08-21 Joseph Myers <joseph@codesourcery.com>
35728 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
35729 case calling __builtin_unreachable.
35731 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35733 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
35734 __waitpid_nocancel.
35735 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
35736 (__waitpid_nocancel): New macro.
35737 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
35739 (__waitpid_nocancel): Replace macro with a function.
35740 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
35743 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
35745 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
35746 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
35748 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
35749 __writev_nocancel_nostatus.
35750 (write_call_graph): Likewise.
35751 (write_bb_counts): Likewise.
35752 * resolv/herror.c (herror): Likewise.
35753 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
35755 (__writev_nocancel_nostatus): New macro.
35756 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
35758 (__writev_nocancel_nostatus): New function.
35760 2017-08-21 Joseph Myers <joseph@codesourcery.com>
35763 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35765 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
35767 (hidden_proto): Likewise.
35768 (hidden_tls_proto): Likewise.
35769 (__hidden_proto): Likewise.
35772 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
35773 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
35774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
35776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
35778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
35780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
35782 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
35783 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
35784 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
35785 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
35786 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
35787 GLIBC_2.0 sqrtl symbol.
35789 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
35790 [__USE_MISC] (_LIB_VERSION): Likewise.
35791 [__USE_MISC] (struct exception): Likewise.
35792 [__USE_MISC] (matherr): Likewise.
35793 [__USE_MISC] (DOMAIN): Likewise.
35794 [__USE_MISC] (SING): Likewise.
35795 [__USE_MISC] (OVERFLOW): Likewise.
35796 [__USE_MISC] (UNDERFLOW): Likewise.
35797 [__USE_MISC] (TLOSS): Likewise.
35798 [__USE_MISC] (PLOSS): Likewise.
35799 [__USE_MISC] (HUGE): Likewise.
35800 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
35801 * math/math-svid-compat.h: New file.
35802 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
35804 * include/math.h [!_ISOMAC] (__matherr): Remove.
35805 * manual/arith.texi (FP Exceptions): Do not document matherr.
35806 * math/Makefile (tests): Change test-matherr to test-matherr-3.
35807 (tests-internal): New variable.
35808 (install-lib): Do not add libieee.a.
35809 (non-lib.a): Likewise.
35810 (extra-objs): Do not add libieee.a and ieee-math.o.
35811 (CPPFLAGS-s_lib_version.c): Remove variable.
35812 ($(objpfx)libieee.a): Remove rule.
35813 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
35814 * math/ieee-math.c: Remove.
35815 * math/libm-test-support.c (matherr): Remove.
35816 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
35817 and license notices. Include <math-svid-compat.h> and
35819 (matherr): Undefine as macro. Use compat_symbol_reference.
35820 (_LIB_VERSION): Likewise.
35821 * math/test-matherr-2.c: New file.
35822 * math/test-matherr-3.c: Likewise.
35823 * sysdeps/generic/math_private.h (__kernel_standard): Remove
35825 (__kernel_standard_f): Likewise.
35826 (__kernel_standard_l): Likewise.
35827 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
35828 <math_private.h>. Include <math-svid-compat.h>.
35829 (_LIB_VERSION): Undefine as macro.
35830 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
35831 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
35832 [LIBM_SVID_COMPAT], use compat_symbol.
35833 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
35834 <math_private.h>. Include <math-svid-compat.h>.
35835 (matherr): Undefine as macro.
35836 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
35838 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
35839 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
35840 compat_symbol_reference.
35841 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
35842 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
35843 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
35844 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
35845 (MATHERR_D): Remove declaration.
35846 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
35847 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
35848 [LIBM_BUILD] (pmatherrf): Likewise.
35849 [LIBM_BUILD] (pmatherr): Likewise.
35850 [LIBM_BUILD] (pmatherrl): Likewise.
35851 (DOMAIN): Likewise.
35853 (OVERFLOW): Likewise.
35854 (UNDERFLOW): Likewise.
35857 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
35858 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
35860 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
35861 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
35863 * math/lgamma-compat.h: Include <math-svid-compat.h>.
35864 * math/w_acos_compat.c: Likewise.
35865 * math/w_acosf_compat.c: Likewise.
35866 * math/w_acosh_compat.c: Likewise.
35867 * math/w_acoshf_compat.c: Likewise.
35868 * math/w_acoshl_compat.c: Likewise.
35869 * math/w_acosl_compat.c: Likewise.
35870 * math/w_asin_compat.c: Likewise.
35871 * math/w_asinf_compat.c: Likewise.
35872 * math/w_asinl_compat.c: Likewise.
35873 * math/w_atan2_compat.c: Likewise.
35874 * math/w_atan2f_compat.c: Likewise.
35875 * math/w_atan2l_compat.c: Likewise.
35876 * math/w_atanh_compat.c: Likewise.
35877 * math/w_atanhf_compat.c: Likewise.
35878 * math/w_atanhl_compat.c: Likewise.
35879 * math/w_cosh_compat.c: Likewise.
35880 * math/w_coshf_compat.c: Likewise.
35881 * math/w_coshl_compat.c: Likewise.
35882 * math/w_exp10_compat.c: Likewise.
35883 * math/w_exp10f_compat.c: Likewise.
35884 * math/w_exp10l_compat.c: Likewise.
35885 * math/w_exp2_compat.c: Likewise.
35886 * math/w_exp2f_compat.c: Likewise.
35887 * math/w_exp2l_compat.c: Likewise.
35888 * math/w_fmod_compat.c: Likewise.
35889 * math/w_fmodf_compat.c: Likewise.
35890 * math/w_fmodl_compat.c: Likewise.
35891 * math/w_hypot_compat.c: Likewise.
35892 * math/w_hypotf_compat.c: Likewise.
35893 * math/w_hypotl_compat.c: Likewise.
35894 * math/w_j0_compat.c: Likewise.
35895 * math/w_j0f_compat.c: Likewise.
35896 * math/w_j0l_compat.c: Likewise.
35897 * math/w_j1_compat.c: Likewise.
35898 * math/w_j1f_compat.c: Likewise.
35899 * math/w_j1l_compat.c: Likewise.
35900 * math/w_jn_compat.c: Likewise.
35901 * math/w_jnf_compat.c: Likewise.
35902 * math/w_jnl_compat.c: Likewise.
35903 * math/w_lgamma_main.c: Likewise.
35904 * math/w_lgamma_r_compat.c: Likewise.
35905 * math/w_lgammaf_main.c: Likewise.
35906 * math/w_lgammaf_r_compat.c: Likewise.
35907 * math/w_lgammal_main.c: Likewise.
35908 * math/w_lgammal_r_compat.c: Likewise.
35909 * math/w_log10_compat.c: Likewise.
35910 * math/w_log10f_compat.c: Likewise.
35911 * math/w_log10l_compat.c: Likewise.
35912 * math/w_log2_compat.c: Likewise.
35913 * math/w_log2f_compat.c: Likewise.
35914 * math/w_log2l_compat.c: Likewise.
35915 * math/w_log_compat.c: Likewise.
35916 * math/w_logf_compat.c: Likewise.
35917 * math/w_logl_compat.c: Likewise.
35918 * math/w_pow_compat.c: Likewise.
35919 * math/w_powf_compat.c: Likewise.
35920 * math/w_powl_compat.c: Likewise.
35921 * math/w_remainder_compat.c: Likewise.
35922 * math/w_remainderf_compat.c: Likewise.
35923 * math/w_remainderl_compat.c: Likewise.
35924 * math/w_scalb_compat.c: Likewise.
35925 * math/w_scalbf_compat.c: Likewise.
35926 * math/w_scalbl_compat.c: Likewise.
35927 * math/w_sinh_compat.c: Likewise.
35928 * math/w_sinhf_compat.c: Likewise.
35929 * math/w_sinhl_compat.c: Likewise.
35930 * math/w_sqrt_compat.c: Likewise.
35931 * math/w_sqrtf_compat.c: Likewise.
35932 * math/w_sqrtl_compat.c: Likewise.
35933 * math/w_tgamma_compat.c: Likewise.
35934 * math/w_tgammaf_compat.c: Likewise.
35935 * math/w_tgammal_compat.c: Likewise.
35936 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
35937 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
35938 * sysdeps/ieee754/k_standard.c: Likewise.
35939 * sysdeps/ieee754/k_standardf.c: Likewise.
35940 * sysdeps/ieee754/k_standardl.c: Likewise.
35941 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
35942 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
35943 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
35944 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
35945 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
35946 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
35947 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
35948 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
35949 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
35950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
35952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
35954 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
35955 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
35956 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
35957 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
35959 2017-08-21 Florian Weimer <fweimer@redhat.com>
35962 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
35963 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
35964 Move before inclusion of ../Rules.
35966 2017-08-21 Florian Weimer <fweimer@redhat.com>
35969 * assert/assert.h (assert): Use static_cast (bool) for C++.
35970 Use the ternary operator in the warning branch for GNU C.
35971 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
35972 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
35973 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
35974 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
35975 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
35977 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35980 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35981 (__syscall_clock_gettime): Add attribute_hidden.
35982 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
35983 (__start_context): Likewise.
35985 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35987 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
35989 (hidden_proto): Likewise.
35990 (hidden_tls_proto): Likewise.
35991 (__hidden_proto): Likewise.
35993 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35995 * include/libc-symbols.h (attribute_hidden): Enable hidden
35996 visibility in libc.a compiled with PIE.
35998 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36001 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
36002 Add attribute_hidden.
36004 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36007 * Makerules (all-nonlib): Add $(others-extras).
36008 * catgets/Makefile (others-extras): New.
36009 * elf/Makefile (others-extras): Likewise.
36010 * nss/Makefile (others-extras): Likewise.
36012 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36015 * csu/libc-start.c (__libc_multiple_libcs): Removed.
36016 * elf/dl-open.c: Include <libc-internal.h>.
36017 (__libc_multiple_libcs): Removed.
36018 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
36020 * include/libc-internal.h (__libc_multiple_libcs): New.
36021 * misc/sbrk.c: Include <libc-internal.h>.
36022 (__libc_multiple_libcs): Removed.
36024 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36027 * grp/initgroups.c (__nss_group_database): Removed.
36028 (__nss_initgroups_database): Likewise.
36029 * nscd/gai.c (__nss_hosts_database): Likewise.
36030 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
36031 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
36032 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
36033 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
36034 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
36035 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
36037 * nss/nsswitch.c (__nss_database_custom): Define only if
36038 USE_NSCD is defined.
36039 (__nss_configure_lookup): Use __nss_database_custom only if
36040 USE_NSCD is defined.
36041 * nss/nsswitch.h (__nss_database_custom): Declare only if
36042 USE_NSCD is defined. Add attribute_hidden.
36043 (__nss_setent): Add attribute_hidden.
36044 (__nss_endent): Likewise.
36045 (__nss_getent_r): Likewise.
36046 (__nss_getent): Likewise.
36047 (DEFINE_DATABASE): Declare __nss_##arg##_database.
36049 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36052 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
36053 libc_hidden_proto and libc_hidden_def.
36055 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36058 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
36059 Add libc_hidden_proto.
36060 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
36061 Add libc_hidden_def.
36063 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36066 * gmon/Makefile (routines): Remove bb_init_func and
36068 (elide-routines.os): Removed.
36069 * gmon/bb_exit_func.c: Likewise.
36070 * gmon/bb_init_func.c: Likewise.
36071 * include/sys/gmon.h (__bb): Likewise.
36072 (__bb_init_func): Likewise.
36073 (__bb_exit_func): Likewise.
36074 * sysdeps/alpha/bb_init_func.S: Likewise.
36076 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36078 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
36079 * include/setjmp.h (____longjmp_chk): Here. Add
36082 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
36085 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
36087 (__strspn_sse2): Likewise.
36089 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36091 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
36092 (close_not_cancel_no_status): Likewise.
36093 (__close_nocancel): New macro.
36094 (__close_nocancel_nostatus): Likewise.
36095 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
36097 (close_not_cancel): Likewise.
36098 (close_not_cancel_no_status): Likewise.
36099 (__close_nocancel): New prototype.
36100 (__close_nocancel_nostatus): New function.
36101 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
36102 * catgets/open_catalog.c (__open_catalog): Replace
36103 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
36104 * gmon/gmon.c (write_gmon): Likewise.
36105 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
36106 * intl/loadmsgcat.c (close): Likewise.
36107 * io/ftw.c (open_dir_stream): Likewise.
36108 (ftw_startup): Likewise.
36109 * libio/fileops.c (_IO_file_open): Likewise.
36110 (_IO_file_close_mmap): Likewise.
36111 (_IO_file_close): Likewise.
36112 * libio/iopopen.c (_IO_dup2): Likewise.
36113 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36114 * locale/loadlocale.c (_nl_load_locale): Likewise.
36115 * login/utmp_file.c (pututline_file): Likewise.
36116 (endutent_file): Likewise.
36117 * misc/daemon.c (daemon): Likewise.
36118 * nscd/nscd_getai.c (__nscd_getai): Likewise.
36119 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36120 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
36121 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
36122 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36123 * nscd/nscd_helper.c (open_socket): Likewise.
36124 (__nscd_open_socket): Likewise.
36125 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
36126 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
36127 (__nscd_innetgr): Likewise.
36128 * nss/nss_db/db-open.c (internal_setent): Likewise.
36129 * resolv/res-close.c (__res_iclose): Likewise.
36130 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
36131 * sysdeps/posix/closedir.c (__closedir): Likewise.
36132 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
36133 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36134 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36135 (opendir_tail): Likewise.
36136 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36137 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
36138 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
36139 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36140 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36141 (gethostid): Likewise.
36142 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36143 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36145 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36146 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
36147 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36148 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36150 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
36151 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
36152 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36154 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
36155 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36157 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36159 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36160 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36161 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36164 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
36165 (openat_not_cancel_3): Likewise.
36166 (openat64_not_cancel_3): Likewise).
36167 (openat_not_cancel_3): Likewise).
36168 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
36170 (openat_not_cancel_3): Likewise.
36171 (openat64_not_cancel): Likewise.
36172 (openat64_not_cancel_3): Likewise.
36173 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
36174 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
36175 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
36176 __open{64}_nocancel.
36177 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36178 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36179 * sysdeps/posix/opendir.c (__opendirat): Likewise.
36181 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36184 * include/argz.h (__argz_create_sep): New function prototype.
36185 (__argz_append): Likewise.
36186 (__argz_add): Likewise.
36187 (__argz_add_sep): Likewise.
36188 (__argz_delete): Likewise.
36189 (__argz_insert): Likewise.
36190 (__argz_replace): Likewise.
36191 * string/argz.h (__argz_create_sep): Removed.
36192 (__argz_append): Likewise.
36193 (__argz_add): Likewise.
36194 (__argz_add_sep): Likewise.
36195 (__argz_delete): Likewise.
36196 (__argz_insert): Likewise.
36197 (__argz_replace): Likewise.
36199 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36201 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
36202 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
36203 (GNU_PROPERTY_STACK_SIZE): Likewie.
36204 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
36205 (GNU_PROPERTY_LOPROC): Likewise.
36206 (GNU_PROPERTY_HIPROC): Likewise.
36207 (GNU_PROPERTY_LOUSER): Likewise.
36208 (GNU_PROPERTY_HIUSER): Likewise.
36209 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
36210 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
36211 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
36212 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
36213 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
36214 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
36215 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
36216 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
36217 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
36218 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
36219 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
36220 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
36221 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
36222 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
36223 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
36224 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
36225 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
36226 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
36227 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
36228 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
36229 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
36230 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
36231 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
36233 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36235 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
36238 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36241 * math/math.h (isinf): Check if in C or C++ mode before using
36242 __builtin_types_compatible_p, since this is a C mode feature.
36244 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36246 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
36247 (__write_nocancel): New macro.
36248 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
36249 Rewrite as a function prototype.
36250 (write_not_cancel): Remove macro.
36251 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
36252 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
36253 (write_gmon): Likewise.
36254 * libio/fileops.c (_IO_new_file_write): Likewise.
36255 * login/utmp_file.c (pututline_file): Likewise.
36256 (updwtmp_file): Likewise.
36257 * stdio-common/psiginfo.c (psiginfo): Likewise.
36258 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36259 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36260 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36262 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36265 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
36266 (__read_nocancel): New macro.
36267 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36269 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
36271 (__read_nocancel): New prototype.
36272 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
36273 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
36274 with __read_nocancel.
36275 * intl/loadmsgcat.c (read): Likewise.
36276 * libio/fileops.c (_IO_file_read): Likewise.
36277 * locale/loadlocale.c (_nl_load_locale): Likewise.
36278 * login/utmp_file.c (getutent_r_file): Likewise.
36279 (internal_getut_r): Likewise.
36280 (getutline_r_file): Likewise.
36281 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36282 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
36283 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36284 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36286 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
36287 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36288 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36290 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36292 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36294 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36296 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36298 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36301 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
36302 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
36305 2017-08-17 DJ Delorie <dj@redhat.com>
36307 * bug17079.c: Update to new test harness.
36308 * test-digits-dots.c: Likewise.
36309 * test-netdb.c: Likewise.
36310 * tst-field.c: Likewise.
36311 * tst-nss-getpwent.c: Likewise.
36312 * tst-nss-static.c: Likewise.
36313 * tst-nss-test1.c: Likewise.
36314 * tst-nss-test2.c: Likewise.
36315 * tst-nss-test3.c: Likewise.
36316 * tst-nss-test4.c: Likewise.
36317 * tst-nss-test5.c: Likewise.
36319 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36321 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
36322 (open_not_cancel_2): Likewise.
36323 (open_nocancel): New macro.
36324 (open64_nocancel): Likewise.
36325 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
36326 (open_not_cancel_2): Likewise.
36327 (__open_nocancel): New prototype.
36328 (__open64_nocancel): Likewise.
36329 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36331 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
36332 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
36333 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
36334 with __open_nocancel.
36335 * csu/check_fds.c (check_one_fd): Likewise.
36336 * gmon/gmon.c (write_gmon): Likewise.
36337 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
36338 * intl/loadmsgcat.c (open): Likewise.
36339 * libio/fileops.c (_IO_file_open): Likewise.
36340 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36341 * locale/loadlocale.c (_nl_load_locale): Likewise.
36342 * login/utmp_file.c (setutent_file): Likewise.
36343 * misc/daemon.c (daemon): Likewise.
36344 * nss/nss_db/db-open.c (internal_setent): Likewise.
36345 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36346 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
36347 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36348 (__opendir): Likewise.
36349 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36350 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36351 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36352 (gethostid): Likewise.
36353 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36354 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36356 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36357 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
36358 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36359 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36361 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36363 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36365 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
36367 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36369 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36371 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36372 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36374 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
36376 * benchtests/bench-skeleton.c (main): Add support for
36377 latency benchmarking.
36378 * benchtests/scripts/bench.py: Add support for latency benchmarking.
36380 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
36382 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
36383 the startup object.
36385 2017-08-17 Florian Weimer <fweimer@redhat.com>
36387 * include/sys/socket.h (__opensock): Remove internal_function.
36388 * socket/opensock.c (__opensock): Likewise.
36389 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
36391 2017-08-16 Joseph Myers <joseph@codesourcery.com>
36394 * signal/bits/types/__sigval_t.h: New file.
36395 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
36396 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
36397 and define sigval_t using __sigval_t.
36398 * include/bits/types/__sigval_t.h: New file.
36399 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
36400 instead of <bits/types/__sigval_t.h>.
36401 (struct sigevent): Use __sigval_t instead of sigval_t.
36402 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
36403 instead of <bits/types/__sigval_t.h>.
36404 (siginfo_t): Use __sigval_t instead of sigval_t.
36405 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
36406 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
36407 (struct sigevent): Use __sigval_t instead of sigval_t.
36408 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
36409 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
36410 (siginfo_t): Use __sigval_t instead of sigval_t.
36411 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
36413 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36415 * NEWS: Remove "[Add new features here]" for 2.27.
36417 2017-08-16 Joseph Myers <joseph@codesourcery.com>
36419 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
36422 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36424 * NEWS: Mention x86-64 FMA optimization.
36426 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36429 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36431 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
36432 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
36433 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
36435 2017-08-16 Andreas Schwab <schwab@suse.de>
36439 * elf/ldd.bash.in: Never run file directly.
36441 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
36444 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
36445 (L(SP_INF_0)): Likewise.
36447 2017-08-15 Florian Weimer <fweimer@redhat.com>
36449 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
36452 2017-08-15 Florian Weimer <fweimer@redhat.com>
36454 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
36455 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
36456 BROKEN_THREAD_SIGNALS code.
36457 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
36458 request_list): Remove caller_pid member used for
36459 BROKEN_THREAD_SIGNALS.
36460 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
36461 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
36462 Remove BROKEN_THREAD_SIGNALS support.
36463 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
36464 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
36466 2017-08-15 Florian Weimer <fweimer@redhat.com>
36468 * gmon/Makefile (tests): Add tst-gmon.
36469 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
36471 (tests-special): Add tst-gmon-prof.out.
36472 (tst-gmon.out): Depend on clean-tst-gmon-data.
36473 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
36474 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
36475 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
36477 * aclocal.m4 (GPROF): Set and substitute.
36478 * config.amke.in (GPROF): Set.
36479 * configure: Regenerate.
36481 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
36483 * elf/elf.h A (NT_PPC_TAR): New macro.
36484 (NT_PPC_PPR): Likewise.
36485 (NT_PPC_DSCR): Likewise.
36486 (NT_PPC_EBB): Likewise.
36487 (NT_PPC_PMU): Likewise.
36488 (NT_PPC_TM_CGPR): Likewise.
36489 (NT_PPC_TM_CFPR): Likewise.
36490 (NT_PPC_TM_CVMX): Likewise.
36491 (NT_PPC_TM_CVSX): Likewise.
36492 (NT_PPC_TM_SPR): Likewise.
36493 (NT_PPC_TM_CTAR): Likewise.
36494 (NT_PPC_TM_CPPR): Likewise.
36495 (NT_PPC_TM_CDSCR): Likewise.
36497 2017-08-15 Florian Weimer <fweimer@redhat.com>
36499 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
36500 regparm (2) instead of internal_function.
36501 (_MCOUNT_DECL): Adjust.
36503 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
36505 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
36506 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
36508 2017-08-14 Joseph Myers <joseph@codesourcery.com>
36510 * conform/data/sys/wait.h-data (si_value): Do not expect for
36513 2017-08-14 Florian Weimer <fweimer@redhat.com>
36516 NSS: Create stubs for accidentally exported lookup functions.
36517 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
36518 Remove declaration.
36519 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
36520 (ether_hostton): Call __nss_ethers_lookup2 instead.
36521 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
36522 (ether_ntohost): Call __nss_ethers_lookup2 instead.
36523 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
36524 (setup): Call __nss_netgroup_lookup2 instead.
36525 * nss/Makefile (routines): Add compat-lookup.
36526 * nss/Versions (GLIBC_2.27): Add symbol version.
36527 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
36528 (DB_COMPAT_FCT): Remove.
36529 * nss/compat-lookup.c: New file.
36530 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
36531 from databases.def.
36532 * nss/service-lookup.c (NO_COMPAT): Remove definition.
36533 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
36534 (netname2user): Call __nss_publickey_lookup2 instead.
36535 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
36536 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
36539 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36540 Sergei Trofimovich <slyfox@inbox.ru>
36543 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
36544 Rename to MMAP2_PAGE_UNIT.
36545 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
36546 __OFF_T_MATCHES_OFF64_T is not defined.
36547 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
36549 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
36550 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
36552 2017-08-14 Florian Weimer <fweimer@redhat.com>
36554 i386: Do not set internal_function.
36555 * config.h.in (USE_REGPARMS, internal_function): Remove.
36556 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
36557 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
36559 2017-08-14 Florian Weimer <fweimer@redhat.com>
36561 * elf/dl-init.c (_dl_init): Remove internal_function.
36562 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
36563 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
36565 2017-08-14 Florian Weimer <fweimer@redhat.com>
36567 * elf/rtld.c (_dl_start): Remove internal_function.
36568 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
36571 2017-08-14 Florian Weimer <fweimer@redhat.com>
36573 * elf/dl-fini.c (_dl_fini): Remove internal_function
36574 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
36576 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
36578 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
36579 (bit_cpu_SHSTK): Likewise.
36580 (index_cpu_IBT): Likewise.
36581 (index_cpu_SHSTK): Likewise.
36582 (reg_IBT): Likewise.
36583 (reg_SHSTK): Likewise.
36584 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
36585 Handle index_cpu_IBT and index_cpu_SHSTK.
36587 2017-08-14 Mike FABIAN <mfabian@redhat.com>
36590 * po/fr.po: Fix spelling mistake.
36592 2017-08-13 Florian Weimer <fweimer@redhat.com>
36594 * elf/dl-addr.c (_dl_addr): Remove internal_function.
36595 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
36596 (_dl_catch_error, _dl_receive_error): Likewise.
36597 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
36598 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
36599 (_dl_deallocate_tls): Likewise.
36600 * include/dlfcn.h (_dl_addr): Likewise.
36601 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
36602 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
36603 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
36606 2017-08-13 Florian Weimer <fweimer@redhat.com>
36608 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
36609 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
36611 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
36613 2017-08-13 Florian Weimer <fweimer@redhat.com>
36615 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
36617 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
36618 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
36619 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
36620 internal_function from _dl_make_stack_executable_hook member.
36621 (_dl_make_stack_executable): Remove internal_function.
36622 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
36624 * sysdeps/unix/sysv/linux/dl-execstack.c
36625 (_dl_make_stack_executable): Likewise.
36627 2017-08-13 Florian Weimer <fweimer@redhat.com>
36629 * sysdeps/unix/sysv/linux/netlinkaccess.h
36630 (__netlink_assert_response): Remove internal_function.
36631 * sysdeps/unix/sysv/linux/netlink_assert_response.c
36632 (__netlink_assert_response): Likewise.
36634 2017-08-13 Florian Weimer <fweimer@redhat.com>
36636 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
36638 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
36640 2017-08-13 Florian Weimer <fweimer@redhat.com>
36642 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
36644 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
36645 * inet/netgroup.h (__internal_setnetgrent)
36646 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
36647 * inet/getnetgrent_r.c (__internal_setnetgrent)
36648 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
36649 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
36650 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
36651 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
36652 * nss/nsswitch.h (db_lookup_function): Likewise.
36654 2017-08-13 Florian Weimer <fweimer@redhat.com>
36656 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
36657 Remove internal_function.
36658 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
36659 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
36660 message argument on the stack.
36661 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
36664 2017-08-12 Mike FABIAN <mfabian@redhat.com>
36666 Adapt test case data to the changes in the thousands
36670 * localedata/tst-langinfo.sh: Adapt test case data.
36671 * stdlib/tst-strfmon_l.c: Likewise.
36672 * stdlib/tst-strtod4.c: Likewise.
36673 * stdlib/tst-strtod5i.c: Likewise.
36675 2017-08-11 Florian Weimer <fweimer@redhat.com>
36678 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
36679 Suppress pedantic warning resulting from statement expression.
36680 (__ASSERT_FUNCTION): Add missing __extension__.
36682 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
36684 * benchtests/bench-memmove-large.c: Print output in JSON
36686 * benchtests/bench-memmove.c: Likewise.
36688 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
36689 * benchtests/bench-memchr.c (do_one_test): Likewise.
36690 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
36691 * benchtests/bench-memcpy.c (do_one_test): Likewise.
36692 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
36693 * benchtests/bench-memmove.c (do_one_test): Likewise.
36694 * benchtests/bench-memset-large.c (do_one_test): Likewise.
36695 * benchtests/bench-memset.c (do_one_test): Likewise.
36696 * benchtests/bench-string.h (test_init): Remove memsets.
36698 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
36701 (Computing the Width of an Integer Data Type): Rename section to
36702 "Width of an Integer Type". Remove inaccurate statement regarding
36703 lack of C language facilities for determining width of integer
36704 types, and reorder content to improve flow and context of
36707 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
36709 * lang.texi (va_copy): Change standard from ISO to C99.
36710 (__va_copy): Add standard and header annotation.
36711 Update description for clarity of origins and current use.
36713 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36716 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
36717 xssqrtqp requires operands to be in Vector Registers
36718 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
36719 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
36720 (__ieee754_sqrtf128): Likewise.
36722 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
36724 * sysdeps/aarch64/memcmp.S (memcmp):
36725 Rewrite of optimized memcmp.
36727 2017-08-10 Florian Weimer <fweimer@redhat.com>
36729 Introduce ld.so exceptions.
36730 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
36731 (_dl_exception_create, _dl_exception_create_format)
36732 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
36733 (_dl_catch_exception): Declare.
36734 (_dl_catch_error): Update comment.
36735 * elf/dl-error-skeleton.c (struct catch): Replace objname,
36736 errstring, malloced members with exception member.
36737 (_dl_out_of_memory): Remove.
36738 (fatal_error): New function, extracted from _dl_signal_error.
36739 (_dl_signal_exception, _dl_signal_cexception): New functions.
36740 (_dl_signal_error): Call _dl_exception_create to allocate an
36742 (_dl_catch_exception): New function, based on _dl_catch_error.
36743 (_dl_catch_error): Implement using _dl_catch_exception.
36744 * elf/dl-exception.c: New file.
36745 * elf/Makefile (dl-routines): Add dl-exception.
36746 (elide-routines.os): Likewise.
36747 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
36748 _dl_exception_create_format, _dl_exception_free.
36749 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
36750 _dl_signal_exception.
36751 * elf/dl-lookup.c (make_string): Remove.
36752 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
36753 _dl_signal_cexception, _dl_exception_free.
36754 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
36755 _dl_signal_exception.
36756 * elf/dl-sym.c (do_sym): Likewise.
36757 * elf/dl-version.c (make_string): Remove.
36758 (match_symbol): Use _dl_exception_create_format,
36759 _dl_signal_cexception, _dl_exception_free.
36760 (_dl_check_map_versions): Likewise.
36761 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
36762 _dl_catch_exception.
36763 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
36764 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
36765 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
36766 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
36767 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
36768 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
36769 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
36770 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
36772 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
36773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
36775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
36777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
36779 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
36780 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
36781 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
36783 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
36785 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
36787 2017-08-10 Florian Weimer <fweimer@redhat.com>
36789 * inet/net-internal.h (__inet6_scopeid_pton): Remove
36790 attribute_hidden, internal_function.
36791 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
36794 2017-08-10 Florian Weimer <fweimer@redhat.com>
36796 * malloc/malloc.c (get_max_fast): Reimplement as an inline
36797 function which calls __builtin_unreachable.
36799 2017-08-10 Mike FABIAN <mfabian@redhat.com>
36801 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
36802 Indian monetary formatting
36803 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
36806 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
36808 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
36809 Fix typo in comment.
36812 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
36813 PTRACE_SEIZE_DEVEL): Remove.
36814 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
36815 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36816 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36817 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36818 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36820 2017-08-09 Joseph Myers <joseph@codesourcery.com>
36822 * posix/bits/types.h (__qaddr_t): Remove.
36825 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
36826 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36828 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
36829 (ucontext_t): Use __ctx with uc_flags.
36830 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
36831 (__ctxt): Likewise.
36832 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36834 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
36835 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36837 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
36838 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36840 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
36842 (ucontext_t): Use __ctx with uc_flags.
36843 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
36844 (ucontext_t): Use __ctx with uc_flags.
36845 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
36846 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
36847 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
36848 (ucontext_t): Use __ctx with uc_flags.
36849 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
36850 undefine further down.
36851 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36853 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
36854 undefine further down.
36855 (ucontext_t): Use __ctx with uc_flags.
36856 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
36857 undefine further down.
36858 (ucontext_t): Use __ctx with uc_flags.
36859 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
36860 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
36861 Rename uc_pad to __glibc_reserved1.
36862 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
36863 undefine further down.
36864 (ucontext_t): Use __ctx with uc_flags.
36865 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
36867 (ucontext_t): Use __ctx with uc_flags.
36868 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
36869 __ctx with uc_flags.
36870 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
36871 (ucontext_t): Use __ctx with uc_flags.
36872 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
36873 __ctx with uc_flags.
36875 2017-08-09 Florian Weimer <fweimer@redhat.com>
36878 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
36879 before early return.
36881 2017-08-09 Andreas Schwab <schwab@suse.de>
36884 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
36888 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
36889 tst-compat-forwarder.
36890 (modules-names): Add tst-compat-forwarder-mod.
36891 ($(objpfx)tst-compat-forwarder): Depend on
36892 $(objpfx)tst-compat-forwarder-mod.so.
36893 * nptl/tst-compat-forwarder.c: New file.
36894 * nptl/tst-compat-forwarder-mod.c: New file.
36896 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
36898 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
36901 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
36902 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
36904 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
36906 (__libc_ifunc_impl_list): Add __memcpy_falkor.
36907 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
36908 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
36909 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
36911 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
36914 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36917 * manual/setjmp.texi (getcontex): Document uc_stack value
36918 compatibility differences.
36920 2017-08-08 Joseph Myers <joseph@codesourcery.com>
36922 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
36923 (old_malloc_hook): Likewise.
36924 (old_memalign_hook): Likewise.
36925 (old_realloc_hook): Likewise.
36926 (struct hdr): Likewise.
36928 (freehook): Likewise.
36929 (mallochook): Likewise.
36930 (memalignhook): Likewise.
36931 (reallochook): Likewise.
36932 (mprobe): Likewise.
36933 * malloc/mtrace.c (mallwatch): Likewise.
36934 (tr_old_free_hook): Likewise.
36935 (tr_old_malloc_hook): Likewise.
36936 (tr_old_realloc_hook): Likewise.
36937 (tr_old_memalign_hook): Likewise.
36938 (tr_where): Likewise.
36939 (lock_and_info): Likewise.
36940 (tr_freehook): Likewise.
36941 (tr_mallochook): Likewise.
36942 (tr_reallochook): Likewise.
36943 (tr_memalignhook): Likewise.
36944 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
36945 * misc/mmap.c (__mmap): Likewise.
36946 * misc/mmap64.c (__mmap64): Likewise.
36947 * misc/mprotect.c (__mprotect): Likewise.
36948 * misc/msync.c (msync): Likewise.
36949 * misc/munmap.c (__munmap): Likewise.
36950 * posix/posix_madvise.c (posix_madvise): Likewise.
36951 * socket/send.c (__send): Likewise.
36952 * socket/sendto.c (__sendto): Likewise.
36953 * socket/setsockopt.c (__setsockopt): Likewise.
36954 * string/memcmp.c (__ptr_t): Remove macro.
36955 (MEMCMP): Use void * instead of ptr_t.
36956 * string/memrchr.c (__ptr_t): Remove macro.
36957 (__memrchr): Use void * instead of ptr_t.
36958 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
36959 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
36960 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
36961 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
36962 * sysdeps/mach/msync.c (msync): Likewise.
36963 * sysdeps/mach/munmap.c (__munmap): Likewise.
36964 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
36966 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36967 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
36968 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
36969 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
36970 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
36971 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
36972 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
36973 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
36975 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
36976 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
36977 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
36978 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
36979 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
36980 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
36981 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
36982 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
36983 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
36985 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
36986 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
36987 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
36988 (MEMCMP): Use void * instead of ptr_t.
36989 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
36990 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
36992 2017-08-08 Florian Weimer <fweimer@redhat.com>
36994 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
36997 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
37000 * csu/libc-tls.c: Include <startup.h> first.
37001 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
37002 * elf/dl-tunables.c: Include <startup.h> first.
37003 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
37004 * sysdeps/generic/startup.h: New file.
37005 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
37006 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
37007 (I386_USE_SYSENTER): New. Defined to 0.
37009 2017-08-08 Andreas Schwab <schwab@suse.de>
37012 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
37013 * nptl/pt-system.c (system): Likewise.
37015 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37018 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
37020 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
37021 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
37022 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
37023 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
37024 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
37025 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
37026 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
37028 2017-08-07 Joseph Myers <joseph@codesourcery.com>
37031 * bits/sigaction.h (struct sigaction): Define sa_handler and
37032 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
37033 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37034 [__USE_XOPEN_EXTENDED].
37035 (SA_RESTART): Likewise.
37036 (SA_NODEFER): Likewise.
37037 (SA_RESETHAND): Likewise.
37038 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
37039 (struct sigaction): Define sa_handler and sa_sigaction using union
37040 also for [__USE_XOPEN_EXTENDED].
37041 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37042 [__USE_XOPEN_EXTENDED].
37043 (SA_RESTART): Likewise.
37044 (SA_NODEFER): Likewise.
37045 (SA_RESETHAND): Likewise.
37046 * sysdeps/unix/sysv/linux/bits/sigaction.h
37047 (struct sigaction): Define sa_handler and sa_sigaction using union
37048 also for [__USE_XOPEN_EXTENDED].
37049 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37050 [__USE_XOPEN_EXTENDED].
37051 (SA_RESTART): Likewise.
37052 (SA_NODEFER): Likewise.
37053 (SA_RESETHAND): Likewise.
37054 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
37055 (struct sigaction): Define sa_handler and sa_sigaction using union
37056 also for [__USE_XOPEN_EXTENDED].
37057 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37058 [__USE_XOPEN_EXTENDED].
37059 (SA_RESTART): Likewise.
37060 (SA_NODEFER): Likewise.
37061 (SA_RESETHAND): Likewise.
37062 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
37063 (struct sigaction): Define sa_handler and sa_sigaction using union
37064 also for [__USE_XOPEN_EXTENDED].
37065 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37066 [__USE_XOPEN_EXTENDED].
37067 (SA_RESTART): Likewise.
37068 (SA_NODEFER): Likewise.
37069 (SA_RESETHAND): Likewise.
37070 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
37071 (struct sigaction): Define sa_handler and sa_sigaction using union
37072 also for [__USE_XOPEN_EXTENDED].
37073 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37074 [__USE_XOPEN_EXTENDED].
37075 (SA_RESTART): Likewise.
37076 (SA_NODEFER): Likewise.
37077 (SA_RESETHAND): Likewise.
37078 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
37079 (struct sigaction): Define sa_handler and sa_sigaction using union
37080 also for [__USE_XOPEN_EXTENDED].
37081 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37082 [__USE_XOPEN_EXTENDED].
37083 (SA_RESTART): Likewise.
37084 (SA_NODEFER): Likewise.
37085 (SA_RESETHAND): Likewise.
37086 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
37087 (struct sigaction): Define sa_handler and sa_sigaction using union
37088 also for [__USE_XOPEN_EXTENDED].
37089 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37090 [__USE_XOPEN_EXTENDED].
37091 (SA_RESTART): Likewise.
37092 (SA_NODEFER): Likewise. Define directly rather than as alias.
37093 (SA_RESETHAND): Likewise.
37094 (SA_INTERRUPT): Define only for [__USE_MISC].
37095 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
37096 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
37098 (SA_STACK): Define only for [__USE_MISC].
37099 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
37100 (struct sigaction): Define sa_handler and sa_sigaction using union
37101 also for [__USE_XOPEN_EXTENDED].
37102 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37103 [__USE_XOPEN_EXTENDED].
37104 (SA_RESTART): Likewise.
37105 (SA_NODEFER): Likewise.
37106 (SA_RESETHAND): Likewise.
37107 (SA_NOPTRACE): Define only for [__USE_MISC].
37109 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
37110 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
37111 (struct catalog_info): Likewise.
37112 * inet/htontest.c (lo): Likewise.
37114 * inet/inet_lnaof.c (inet_lnaof): Likewise.
37115 * inet/inet_net.c (inet_network): Likewise.
37116 * inet/inet_netof.c (inet_netof): Likewise.
37117 * inet/rcmd.c (__ivaliduser): Likewise.
37118 (iruserok): Likewise.
37119 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
37120 * locale/programs/locale-spec.c (locale_special): Likewise.
37121 * nis/nis_findserv.c (struct findserv_req): Likewise.
37122 (__nis_findfastest_with_timeout): Likewise.
37123 * nss/test-netdb.c (test_network): Likewise.
37124 * resolv/inet_neta.c (inet_neta): Likewise.
37125 * resolv/ns_date.c (ns_datetosecs): Likewise.
37126 (SECS_PER_DAY): Likewise.
37127 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
37129 * resolv/res_comp.c (__putlong): Likewise.
37130 (__putshort): Likewise.
37131 (_getlong): Likewise.
37132 (_getshort): Likewise.
37133 * resolv/res_debug.c (p_time): Likewise.
37134 (precsize_ntoa): Likewise.
37135 (precsize_aton): Likewise.
37136 (latlon2ul): Likewise.
37137 (loc_aton): Likewise.
37138 (loc_ntoa): Likewise.
37139 * resolv/res_hconf.c (struct netaddr): Likewise.
37140 (_res_hconf_reorder_addrs): Likewise.
37141 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
37142 (clnttcp_control): Likewise.
37143 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37144 (clntudp_control): Likewise.
37145 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
37146 (clntunix_control): Likewise.
37147 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
37148 * sunrpc/rpc/auth.h (union des_block): Likewise.
37149 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
37150 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
37151 (xdrrec_create): Likewise.
37152 (xdrrec_endofrecord): Likewise.
37153 (flush_out): Likewise.
37154 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
37155 (xdrstdio_putlong): Likewise.
37156 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
37159 * misc/sys/cdefs.h (__long_double_t): Remove.
37160 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
37161 instead of __long_double_t,
37162 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
37164 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
37166 * benchtests/scripts/compare_strings.py: Avoid display error when
37167 running on a text terminal.
37169 * benchtests/scripts/compare_strings.py (main): Add an
37170 optional -base option.
37171 (process_results): New argument base_func.
37173 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
37175 * benchtests/bench-memcpy-large.c (test_name): Likewise.
37176 * benchtests/bench-memcpy-random.c (test_name): Likewise.
37178 2017-08-07 Andreas Schwab <schwab@suse.de>
37180 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
37181 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
37182 * intl/Makefile ($(objpfx)tst-gettext.out)
37183 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
37184 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
37185 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
37186 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
37187 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
37188 * posix/Makefile ($(objpfx)globtest.out)
37189 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
37190 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
37191 ($(objpfx)tst-printf.out): Likewise.
37192 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
37193 ($(objpfx)tst-setcontext3.out): Likewise.
37195 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
37197 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37198 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
37199 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
37200 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
37201 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
37203 (CFLAGS-doasin-fma.c): New.
37204 (CFLAGS-dosincos-fma.c): Likewise.
37205 (CFLAGS-e_asin-fma.c): Likewise.
37206 (CFLAGS-e_atan2-fma.c): Likewise.
37207 (CFLAGS-e_exp-fma.c): Likewise.
37208 (CFLAGS-e_log-fma.c): Likewise.
37209 (CFLAGS-e_pow-fma.c): Likewise.
37210 (CFLAGS-halfulp-fma.c): Likewise.
37211 (CFLAGS-mpa-fma.c): Likewise.
37212 (CFLAGS-mpatan-fma.c): Likewise.
37213 (CFLAGS-mpatan2-fma.c): Likewise.
37214 (CFLAGS-mpexp-fma.c): Likewise.
37215 (CFLAGS-mplog-fma.c): Likewise.
37216 (CFLAGS-mpsqrt-fma.c): Likewise.
37217 (CFLAGS-mptan-fma.c): Likewise.
37218 (CFLAGS-s_atan-fma.c): Likewise.
37219 (CFLAGS-sincos32-fma.c): Likewise.
37220 (CFLAGS-slowexp-fma.c): Likewise.
37221 (CFLAGS-slowpow-fma.c): Likewise.
37222 (CFLAGS-s_sin-fma.c): Likewise.
37223 (CFLAGS-s_tan-fma.c): Likewise.
37224 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
37225 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
37226 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
37227 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
37228 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
37229 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
37230 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
37231 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
37232 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
37233 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
37234 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
37235 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
37236 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
37237 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
37238 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
37239 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
37240 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
37241 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
37242 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
37243 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
37244 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
37245 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
37246 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
37247 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
37248 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37249 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37250 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37251 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
37252 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37253 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37254 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37256 2017-08-04 Joseph Myers <joseph@codesourcery.com>
37258 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
37259 (min_of_type_f): New macro.
37260 (min_of_type_): Likewise.
37261 (min_of_type_l): Likewise.
37262 (min_of_type_f128): Likewise.
37263 (min_of_type): Define using __MATH_TG and taking an expression
37265 (math_check_force_underflow): Pass expression instead of type to
37267 (math_check_force_underflow_nonneg): Likewise.
37269 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37271 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
37272 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
37273 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
37275 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37277 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37278 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
37279 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
37280 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
37281 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
37282 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
37283 memcpy_chk-nonshared, mempcpy_chk-nonshared,
37284 memmove_chk-nonshared and memset_chk-nonshared
37285 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
37286 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
37287 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
37288 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
37289 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
37290 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
37291 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
37292 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
37293 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
37294 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
37295 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
37296 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
37297 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
37298 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
37299 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
37300 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
37301 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
37302 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
37303 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
37304 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
37305 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
37306 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
37307 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
37308 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
37309 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
37310 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
37311 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
37312 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
37313 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
37314 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
37315 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
37316 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
37317 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
37318 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37319 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37320 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
37321 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
37322 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
37323 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
37324 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
37325 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
37326 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
37327 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
37328 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
37329 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
37330 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
37331 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
37332 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
37333 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
37334 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
37335 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
37336 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
37337 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
37338 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
37339 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
37340 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
37341 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
37342 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
37343 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
37344 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
37345 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
37346 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
37347 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
37348 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
37349 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
37350 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
37351 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
37352 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
37353 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
37354 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
37355 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
37356 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37357 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37358 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37359 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37360 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37361 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37362 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37363 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37364 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37365 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37366 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37367 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37368 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37369 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37370 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37371 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37372 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37373 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37374 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37375 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37376 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37377 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37378 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37379 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37380 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37381 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37382 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37383 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37384 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37385 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37386 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37387 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37388 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37389 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37390 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37391 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37392 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37394 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37396 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
37397 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
37398 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
37399 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
37400 svml_d_log2_core-sse2, svml_d_log4_core-sse,
37401 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
37402 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
37403 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
37404 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
37405 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
37406 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
37407 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
37408 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
37409 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
37410 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
37411 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
37412 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
37413 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
37414 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
37415 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
37416 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
37417 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
37418 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
37419 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
37420 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
37421 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
37422 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
37423 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
37424 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
37425 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
37426 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
37427 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
37428 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
37429 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
37430 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
37431 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
37432 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
37433 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
37434 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
37435 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
37436 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
37437 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
37438 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
37439 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
37440 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
37441 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
37442 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
37443 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
37444 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
37445 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
37446 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
37447 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
37448 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
37449 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
37450 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
37451 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
37452 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
37453 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
37454 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
37456 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
37457 Don't include <sysdep.h> nor <init-arch.h>.
37458 (_ZGVbN2v_cos): Removed.
37459 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
37461 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
37462 Don't include <sysdep.h> nor <init-arch.h>.
37463 (_ZGVdN4v_cos): Removed.
37464 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
37466 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
37467 Don't include <sysdep.h> nor <init-arch.h>.
37468 (_ZGVeN8v_cos): Removed.
37469 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
37471 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
37472 Don't include <sysdep.h> nor <init-arch.h>.
37473 (_ZGVbN2v_exp): Removed.
37474 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
37476 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
37477 Don't include <sysdep.h> nor <init-arch.h>.
37478 (_ZGVdN4v_exp): Removed.
37479 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
37481 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
37482 Don't include <sysdep.h> nor <init-arch.h>.
37483 (_ZGVeN8v_exp): Removed.
37484 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
37486 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
37487 Don't include <sysdep.h> nor <init-arch.h>.
37488 (_ZGVbN2v_log): Removed.
37489 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
37491 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
37492 Don't include <sysdep.h> nor <init-arch.h>.
37493 (_ZGVdN4v_log): Removed.
37494 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
37496 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
37497 Don't include <sysdep.h> nor <init-arch.h>.
37498 (_ZGVeN8v_log): Removed.
37499 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
37501 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
37502 Don't include <sysdep.h> nor <init-arch.h>.
37503 (_ZGVbN2vv_pow): Removed.
37504 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
37506 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
37507 Don't include <sysdep.h> nor <init-arch.h>.
37508 (_ZGVdN4vv_pow): Removed.
37509 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
37511 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
37512 Don't include <sysdep.h> nor <init-arch.h>.
37513 (_ZGVeN8vv_pow): Removed.
37514 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
37516 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
37517 Don't include <sysdep.h> nor <init-arch.h>.
37518 (_ZGVbN2v_sin): Removed.
37519 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
37521 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
37522 Don't include <sysdep.h> nor <init-arch.h>.
37523 (_ZGVbN4v_sin): Removed.
37524 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
37526 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
37527 Don't include <sysdep.h> nor <init-arch.h>.
37528 (_ZGVbN8v_sin): Removed.
37529 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
37531 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
37532 Don't include <sysdep.h> nor <init-arch.h>.
37533 (_ZGVbN2vvv_sincos): Removed.
37534 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
37536 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
37537 Don't include <sysdep.h> nor <init-arch.h>.
37538 (_ZGVdN4vvv_sincos): Removed.
37539 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
37541 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
37542 Don't include <sysdep.h> nor <init-arch.h>.
37543 (_ZGVeN8vvv_sincos): Removed.
37544 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
37546 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
37547 Don't include <sysdep.h> nor <init-arch.h>.
37548 (_ZGVeN16v_cosf): Removed.
37549 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
37551 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
37552 Don't include <sysdep.h> nor <init-arch.h>.
37553 (_ZGVbN4v_cosf): Removed.
37554 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
37556 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
37557 Don't include <sysdep.h> nor <init-arch.h>.
37558 (_ZGVdN8v_cosf): Removed.
37559 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
37561 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
37562 Don't include <sysdep.h> nor <init-arch.h>.
37563 (_ZGVeN16v_expf): Removed.
37564 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
37566 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
37567 Don't include <sysdep.h> nor <init-arch.h>.
37568 (_ZGVbN4v_expf): Removed.
37569 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
37571 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
37572 Don't include <sysdep.h> nor <init-arch.h>.
37573 (_ZGVdN8v_expf): Removed.
37574 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
37576 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
37577 Don't include <sysdep.h> nor <init-arch.h>.
37578 (_ZGVeN16v_logf): Removed.
37579 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
37581 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
37582 Don't include <sysdep.h> nor <init-arch.h>.
37583 (_ZGVbN4v_logf): Removed.
37584 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
37586 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
37587 Don't include <sysdep.h> nor <init-arch.h>.
37588 (_ZGVdN8v_logf): Removed.
37589 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
37591 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
37592 Don't include <sysdep.h> nor <init-arch.h>.
37593 (_ZGVeN16vv_powf): Removed.
37594 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
37596 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
37597 Don't include <sysdep.h> nor <init-arch.h>.
37598 (_ZGVbN4vv_powf): Removed.
37599 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
37601 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
37602 Don't include <sysdep.h> nor <init-arch.h>.
37603 (_ZGVdN8vv_powf): Removed.
37604 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
37606 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
37607 Don't include <sysdep.h> nor <init-arch.h>.
37608 (_ZGVeN16vvv_sincosf): Removed.
37609 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
37611 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
37612 Don't include <sysdep.h> nor <init-arch.h>.
37613 (_ZGVbN4vvv_sincosf): Removed.
37614 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
37616 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
37617 Don't include <sysdep.h> nor <init-arch.h>.
37618 (_ZGVdN8vvv_sincosf): Removed.
37619 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
37621 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
37622 Don't include <sysdep.h> nor <init-arch.h>.
37623 (_ZGVeN16v_sinf): Removed.
37624 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
37626 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
37627 Don't include <sysdep.h> nor <init-arch.h>.
37628 (_ZGVbN4v_sinf): Removed.
37629 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
37631 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
37632 Don't include <sysdep.h> nor <init-arch.h>.
37633 (_ZGVdN8v_sinf): Removed.
37635 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37637 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37638 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
37639 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
37640 s_rint-sse4_1 and s_rintf-sse4_1.
37641 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
37642 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
37643 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
37644 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
37645 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
37646 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
37647 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
37648 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
37649 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
37650 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
37651 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
37652 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37654 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
37655 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
37656 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37657 (__ceilf): Removed.
37658 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
37659 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
37660 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37661 (__floor): Removed.
37662 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
37663 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
37664 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37665 (__floorf): Removed.
37666 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
37667 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
37668 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37669 (__nearbyint): Removed.
37670 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
37671 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
37672 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37673 (__nearbyintf): Removed.
37674 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
37675 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
37676 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37678 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
37679 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
37680 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37681 (__rintf): Removed.
37683 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37685 * sysdeps/i386/start.S (_start): Check Check PIC instead of
37686 SHARED. Avoid dynamic relocation against main in static PIE.
37688 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37691 * elf/Makefile (CFLAGS-tst-prelink.c): New.
37692 (LDFLAGS-tst-prelink): Likewise.
37694 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37696 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
37697 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
37698 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
37699 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
37700 (INTERNAL_SYSCALL_NCS): Likewise.
37701 (LOADARGS_1): Likewise.
37702 (LOADARGS_5): Likewise.
37703 (RESTOREARGS_1): Likewise.
37704 (RESTOREARGS_5): Likewise.
37706 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37708 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
37709 (MEMPCPY_SYMBOL): Likewise.
37710 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
37711 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
37712 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
37714 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37715 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
37717 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
37718 (__hidden_ver1): Don't use in libc.a.
37719 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
37720 (__mempcpy): Don't create a weak alias in libc.a.
37721 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
37723 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
37724 (__hidden_ver1): Don't use in libc.a.
37726 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37728 * config.make.in (have-insert): New.
37729 * configure.ac (libc_cv_insert): New. Set to yes if linker
37730 supports INSERT in linker script.
37731 (AC_SUBST(libc_cv_insert): New.
37732 * configure: Regenerated.
37733 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
37734 if $(have-insert) == yes.
37736 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37738 * elf/Makefile (tests): Add vismain only if
37739 $(have-protected-data) == yes.
37740 (tests-pie): Likewise.
37742 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37745 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
37746 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
37748 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37751 * sysdeps/i386/i586/memset.S
37752 (__memset_zero_constant_len_parameter): Removed.
37753 * sysdeps/i386/i686/memset.S
37754 (__memset_zero_constant_len_parameter): Likewise.
37755 * sysdeps/i386/i686/multiarch/memset_chk.S
37756 (__memset_zero_constant_len_parameter): Likewise.
37757 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
37760 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
37762 * stdlib/getentropy.c (getentropy): Change return type to int.
37764 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
37766 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
37768 2017-08-03 Joseph Myers <joseph@codesourcery.com>
37770 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
37772 * math/s_nexttowardf.c (__nexttowardf): Likewise.
37773 * sysdeps/generic/math_private.h (ieee_double_shape_type):
37775 (ieee_float_shape_type): Likewise.
37776 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
37777 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
37778 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
37779 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37780 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
37781 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
37782 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
37783 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
37784 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
37786 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
37787 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
37788 (__ieee754_yn): Likewise.
37789 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
37790 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
37791 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
37793 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
37794 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
37795 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
37796 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
37797 (__erfc): Likewise.
37798 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
37799 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
37800 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
37801 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
37802 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
37803 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
37805 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
37806 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
37807 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
37808 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
37809 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
37810 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
37811 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
37812 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
37813 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
37814 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
37815 (__issignaling): Likewise.
37816 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
37817 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
37818 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
37820 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37821 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
37822 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
37823 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
37825 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
37827 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
37828 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
37829 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
37830 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
37831 (__erfcf): Likewise.
37832 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
37833 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
37834 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
37835 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
37837 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
37838 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
37840 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
37841 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
37842 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
37843 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
37844 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
37845 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
37846 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
37847 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
37849 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
37851 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
37853 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
37854 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
37856 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
37858 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
37859 (__ieee754_ynl): Likewise.
37860 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
37861 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
37863 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
37865 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
37866 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
37867 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37869 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
37870 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
37871 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
37872 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
37873 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
37874 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
37875 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
37876 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
37878 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
37879 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
37880 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
37882 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
37883 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
37884 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
37885 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
37886 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
37887 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
37889 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
37891 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37893 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37895 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
37896 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
37897 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37898 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
37899 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
37900 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
37901 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
37903 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
37905 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
37906 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37908 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
37909 (__ieee754_remainderl): Likewise.
37910 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37911 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37912 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
37913 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
37915 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
37916 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37918 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
37919 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
37920 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
37921 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
37922 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
37923 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
37925 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
37926 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
37927 (__ieee754_y0l): Likewise.
37930 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37931 (__ieee754_y1l): Likewise.
37934 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
37935 (__ieee754_ynl): Likewise.
37936 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
37937 (__ieee754_lgammal_r): Likewise.
37938 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
37940 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
37941 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
37942 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
37943 (__erfcl): Likewise.
37944 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
37945 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
37947 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
37948 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
37949 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
37950 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
37951 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
37952 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37953 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37955 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
37956 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
37957 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
37958 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
37959 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37961 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
37962 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
37964 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
37965 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
37966 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
37967 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
37968 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
37970 2017-08-03 Florian Weimer <fweimer@redhat.com>
37973 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
37974 on memory allocation failure.
37976 2017-08-03 Alan Modra <amodra@gmail.com>
37978 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
37979 tst-tlsopt-powerpc.c with function name change and no test harness.
37980 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
37981 Call tls_get_addr_opt_test.
37982 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
37983 (modules-names): Add mod-tlsopt-powerpc.
37984 (mod-tlsopt-powerpc.so-no-z-defs): Define.
37985 (tst-tlsopt-powerpc): Depend on .so.
37986 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
37987 define. Expand use in TLS_GD and TLS_LD.
37989 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37991 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
37993 * sysdeps/posix/shm_open.c: Include <pthread.h>.
37995 2017-08-02 Joseph Myers <joseph@codesourcery.com>
37998 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
37999 comparing size with that of double.
38000 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
38001 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
38002 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
38003 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
38004 (__TGMATH_BINARY_REAL_IMAG): Likewise.
38005 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
38006 unsigned __int128 types.
38008 2017-08-02 Steve Ellcey <sellcey@cavium.com>
38010 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
38011 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
38012 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
38013 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
38014 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
38016 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38018 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
38020 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38022 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
38024 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
38025 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38026 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38027 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38028 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38029 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38030 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38032 2017-08-02 Joseph Myers <joseph@codesourcery.com>
38035 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
38036 bit-field expressions passed to sizeof or typeof.
38037 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
38038 (__TGMATH_F128): Likewise.
38039 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
38040 (__TGMATH_CF128): Likewise.
38041 (__TGMATH_UNARY_REAL_ONLY): Likewise.
38042 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
38043 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
38044 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
38045 (__TGMATH_BINARY_REAL_ONLY): Likewise.
38046 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
38047 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
38048 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
38049 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
38050 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
38051 (__TGMATH_UNARY_REAL_IMAG): Likewise.
38052 (__TGMATH_UNARY_IMAG): Likewise.
38053 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
38054 (__TGMATH_BINARY_REAL_IMAG): Likewise.
38055 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
38057 (define_vars_for_type): Handle bit_field type specially.
38058 (Tests.__init__): Declare structure with bit-field element.
38060 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38063 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
38064 (MEMCPY_CHK): Define only if SHARED is defined.
38065 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
38067 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
38070 See ChangeLog.18 for earlier changes.